PHP WebShell

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

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

/**
 * @namespace proto
 * @typedef {import("@hashgraph/proto").proto.ICustomFee} HashgraphProto.proto.ICustomFee
 */
export default class CustomFee {
    /**
     * @internal
     * @abstract
     * @param {HashgraphProto.proto.ICustomFee} info
     * @returns {CustomFee}
     */
    static _fromProtobuf(info: HashgraphProto.proto.ICustomFee): CustomFee;
    /**
     * @param {object} props
     * @param {AccountId | string} [props.feeCollectorAccountId]
     * @param {boolean} [props.allCollectorsAreExempt]
     */
    constructor(props?: {
        feeCollectorAccountId?: string | AccountId | undefined;
        allCollectorsAreExempt?: boolean | undefined;
    });
    /**
     * @type {?AccountId}
     */
    _feeCollectorAccountId: AccountId | null;
    _allCollectorsAreExempt: boolean;
    /**
     * @returns {?AccountId}
     */
    get feeCollectorAccountId(): AccountId | null;
    /**
     * @param {AccountId | string} feeCollectorAccountId
     * @returns {this}
     */
    setFeeCollectorAccountId(feeCollectorAccountId: AccountId | string): this;
    /**
     * @returns {boolean}
     */
    get allCollectorsAreExempt(): boolean;
    /**
     * @param {boolean} allCollectorsAreExempt
     * @returns {this}
     */
    setAllCollectorsAreExempt(allCollectorsAreExempt: boolean): this;
    /**
     * @internal
     * @abstract
     * @returns {HashgraphProto.proto.ICustomFee}
     */
    _toProtobuf(): HashgraphProto.proto.ICustomFee;
}
export namespace HashgraphProto {
    namespace proto {
        type ICustomFee = import("@hashgraph/proto").proto.ICustomFee;
    }
}
import AccountId from "../account/AccountId.js";

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


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