PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/sdk-coin-polyx/dist/src/lib

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

import { Transaction } from './transaction';
import { PolyxBaseBuilder } from './baseBuilder';
import { DecodedSignedTx, DecodedSigningPayload, UnsignedTransaction } from '@substrate/txwrapper-core';
import { BaseCoin as CoinConfig } from '@bitgo/statics';
import { TransactionType } from '@bitgo/sdk-core';
export declare class BondExtraBuilder extends PolyxBaseBuilder {
    protected _amount: string;
    constructor(_coinConfig: Readonly<CoinConfig>);
    protected get transactionType(): TransactionType;
    /**
     * Build the bondExtra transaction
     */
    protected buildTransaction(): UnsignedTransaction;
    /**
     * Set additional amount to stake
     */
    amount(amount: string): this;
    /**
     * Get the amount to stake
     */
    getAmount(): string;
    /** @inheritdoc */
    validateDecodedTransaction(decodedTxn: DecodedSigningPayload | DecodedSignedTx): void;
    /** @inheritdoc */
    protected fromImplementation(rawTransaction: string): Transaction;
    /** @inheritdoc */
    validateTransaction(tx: Transaction): void;
    /**
     * Validate the bondExtra fields
     */
    private validateFields;
    /**
     * Validate amount
     */
    validateAmount(amount: string): void;
}
//# sourceMappingURL=bondExtraBuilder.d.ts.map

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


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