PHP WebShell

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

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

/**
 * @namespace proto
 * @typedef {import("@hashgraph/proto").proto.IFraction} HashgraphProto.proto.IFraction
 * @typedef {import("@hashgraph/proto").proto.IRoyaltyFee} HashgraphProto.proto.IRoyaltyFee
 * @typedef {import("@hashgraph/proto").proto.ICustomFee} HashgraphProto.proto.ICustomFee
 * @typedef {import("@hashgraph/proto").proto.IFixedFee} HashgraphProto.proto.IFixedFee
 */
export default class CustomRoyalyFee extends CustomFee {
    /**
     * @param {object} props
     * @param {AccountId | string} [props.feeCollectorAccountId]
     * @param {boolean} [props.allCollectorsAreExempt]
     * @param {Long | number} [props.numerator]
     * @param {Long | number} [props.denominator]
     * @param {CustomFixedFee} [props.fallbackFee]
     */
    constructor(props?: {
        feeCollectorAccountId?: string | AccountId | undefined;
        allCollectorsAreExempt?: boolean | undefined;
        numerator?: number | Long.Long | undefined;
        denominator?: number | Long.Long | undefined;
        fallbackFee?: CustomFixedFee | undefined;
    });
    /**
     * @type {?CustomFixedFee}
     */
    _fallbackFee: CustomFixedFee | null;
    /**
     * @type {?Long}
     */
    _numerator: Long | null;
    /**
     * @type {?Long}
     */
    _denominator: Long | null;
    /**
     * @returns {?CustomFixedFee}
     */
    get fallbackFee(): CustomFixedFee | null;
    /**
     * @param {CustomFixedFee} fallbackFee
     * @returns {CustomRoyalyFee}
     */
    setFallbackFee(fallbackFee: CustomFixedFee): CustomRoyalyFee;
    /**
     * @returns {?Long}
     */
    get numerator(): Long.Long | null;
    /**
     * @param {Long | number} numerator
     * @returns {CustomRoyalyFee}
     */
    setNumerator(numerator: Long | number): CustomRoyalyFee;
    /**
     * @returns {?Long}
     */
    get denominator(): Long.Long | null;
    /**
     * @param {Long | number} denominator
     * @returns {CustomRoyalyFee}
     */
    setDenominator(denominator: Long | number): CustomRoyalyFee;
}
export namespace HashgraphProto {
    namespace proto {
        type IFraction = import("@hashgraph/proto").proto.IFraction;
        type IRoyaltyFee = import("@hashgraph/proto").proto.IRoyaltyFee;
        type ICustomFee = import("@hashgraph/proto").proto.ICustomFee;
        type IFixedFee = import("@hashgraph/proto").proto.IFixedFee;
    }
}
import CustomFee from "./CustomFee.js";
import CustomFixedFee from "./CustomFixedFee.js";
import Long from "long";
import AccountId from "../account/AccountId.js";

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


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