PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/sdk-coin-hbar/node_modules/@hashgraph/sdk/lib/token
Просмотр файла: CustomFractionalFee.d.ts
/**
* @namespace proto
* @typedef {import("@hashgraph/proto").proto.ICustomFee} HashgraphProto.proto.ICustomFee
* @typedef {import("@hashgraph/proto").proto.IFractionalFee} HashgraphProto.proto.IFractionalFee
* @typedef {import("@hashgraph/proto").proto.IFraction} HashgraphProto.proto.IFraction
*/
export default class CustomFractionalFee 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 {Long | number} [props.min]
* @param {Long | number} [props.max]
* @param {FeeAssessmentMethod} [props.assessmentMethod]
*/
constructor(props?: {
feeCollectorAccountId?: string | AccountId | undefined;
allCollectorsAreExempt?: boolean | undefined;
numerator?: number | Long.Long | undefined;
denominator?: number | Long.Long | undefined;
min?: number | Long.Long | undefined;
max?: number | Long.Long | undefined;
assessmentMethod?: FeeAssessmentMethod | undefined;
});
/**
* @type {?Long}
*/
_numerator: Long | null;
/**
* @type {?Long}
*/
_denominator: Long | null;
/**
* @type {?Long}
*/
_min: Long | null;
/**
* @type {?Long}
*/
_max: Long | null;
/**
* @type {?FeeAssessmentMethod}
*/
_assessmentMethod: FeeAssessmentMethod | null;
/**
* @returns {?Long}
*/
get numerator(): Long.Long | null;
/**
* @param {Long | number} numerator
* @returns {CustomFractionalFee}
*/
setNumerator(numerator: Long | number): CustomFractionalFee;
/**
* @returns {?Long}
*/
get denominator(): Long.Long | null;
/**
* @param {Long | number} denominator
* @returns {CustomFractionalFee}
*/
setDenominator(denominator: Long | number): CustomFractionalFee;
/**
* @returns {?Long}
*/
get min(): Long.Long | null;
/**
* @param {Long | number} min
* @returns {CustomFractionalFee}
*/
setMin(min: Long | number): CustomFractionalFee;
/**
* @returns {?Long}
*/
get max(): Long.Long | null;
/**
* @param {Long | number} max
* @returns {CustomFractionalFee}
*/
setMax(max: Long | number): CustomFractionalFee;
/**
* @returns {?FeeAssessmentMethod}
*/
get assessmentMethod(): FeeAssessmentMethod | null;
/**
* @param {FeeAssessmentMethod} assessmentMethod
* @returns {CustomFractionalFee}
*/
setAssessmentMethod(assessmentMethod: FeeAssessmentMethod): CustomFractionalFee;
}
export namespace HashgraphProto {
namespace proto {
type ICustomFee = import("@hashgraph/proto").proto.ICustomFee;
type IFractionalFee = import("@hashgraph/proto").proto.IFractionalFee;
type IFraction = import("@hashgraph/proto").proto.IFraction;
}
}
import CustomFee from "./CustomFee.js";
import Long from "long";
import FeeAssessmentMethod from "./FeeAssessmentMethod.js";
import AccountId from "../account/AccountId.js";
Выполнить команду
Для локальной разработки. Не используйте в интернете!