PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/sdk-coin-hbar/node_modules/@hashgraph/sdk/lib/token

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

/**
 * @namespace proto
 * @typedef {import("@hashgraph/proto").proto.ICustomFee} HashgraphProto.proto.ICustomFee
 * @typedef {import("@hashgraph/proto").proto.IFixedFee} HashgraphProto.proto.IFixedFee
 */
export default class CustomFixedFee extends CustomFee {
    /**
     * @param {object} props
     * @param {AccountId | string} [props.feeCollectorAccountId]
     * @param {boolean} [props.allCollectorsAreExempt]
     * @param {TokenId | string} [props.denominatingTokenId]
     * @param {Long | number} [props.amount]
     */
    constructor(props?: {
        feeCollectorAccountId?: string | AccountId | undefined;
        allCollectorsAreExempt?: boolean | undefined;
        denominatingTokenId?: string | TokenId | undefined;
        amount?: number | Long.Long | undefined;
    });
    /**
     * @type {?TokenId}
     */
    _denominatingTokenId: TokenId | null;
    /**
     * @type {?Long}
     */
    _amount: Long | null;
    /**
     * @param {Hbar} amount
     * @returns {CustomFixedFee}
     */
    setHbarAmount(amount: Hbar): CustomFixedFee;
    /**
     * @returns {TokenId | Hbar | null}
     */
    get hbarAmount(): Hbar | TokenId | null;
    /**
     * @returns {CustomFixedFee}
     */
    setDenominatingTokenToSameToken(): CustomFixedFee;
    /**
     * @returns {?TokenId}
     */
    get denominatingTokenId(): TokenId | null;
    /**
     * @param {TokenId | string} denominatingTokenId
     * @returns {CustomFixedFee}
     */
    setDenominatingTokenId(denominatingTokenId: TokenId | string): CustomFixedFee;
    /**
     * @returns {?Long}
     */
    get amount(): Long.Long | null;
    /**
     * @param {Long | number} amount
     * @returns {CustomFixedFee}
     */
    setAmount(amount: Long | number): CustomFixedFee;
}
export namespace HashgraphProto {
    namespace proto {
        type ICustomFee = import("@hashgraph/proto").proto.ICustomFee;
        type IFixedFee = import("@hashgraph/proto").proto.IFixedFee;
    }
}
import CustomFee from "./CustomFee.js";
import TokenId from "./TokenId.js";
import Long from "long";
import Hbar from "../Hbar.js";
import AccountId from "../account/AccountId.js";

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


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