PHP WebShell

Текущая директория: /opt/BitGoJS/modules/sdk-coin-sol/dist/src

Просмотр файла: solToken.d.ts

import { Sol } from './sol';
import { BitGoBase, CoinConstructor, NamedCoinConstructor } from '@bitgo/sdk-core';
export interface SolTokenConfig {
    name: string;
    type: string;
    coin: string;
    network: string;
    tokenAddress: string;
    decimalPlaces: number;
}
export declare class SolToken extends Sol {
    readonly tokenConfig: SolTokenConfig;
    constructor(bitgo: BitGoBase, tokenConfig: SolTokenConfig);
    static createTokenConstructor(config: SolTokenConfig): CoinConstructor;
    static createTokenConstructors(tokenConfigs?: SolTokenConfig[]): NamedCoinConstructor[];
    get name(): string;
    get coin(): string;
    get network(): string;
    get tokenAddress(): string;
    get decimalPlaces(): number;
    get contractAddress(): string;
    getChain(): string;
    getBaseChain(): string;
    getFullName(): string;
    getBaseFactor(): number;
    /**
     * Flag for sending value of 0
     * @returns {boolean} True if okay to send 0 value, false otherwise
     */
    valuelessTransferAllowed(): boolean;
    /**
     * Flag for sending data along with transactions
     * @returns {boolean} True if okay to send tx data (CELO), false otherwise
     */
    transactionDataAllowed(): boolean;
}
//# sourceMappingURL=solToken.d.ts.map

Выполнить команду


Для локальной разработки. Не используйте в интернете!