Type alias Amount<T>

Amount<T>: T extends Denomination
    ? {
        amount: (() => BigNumber);
        decimal: number;
        div: ((value, decimal?) => Amount<T>);
        eq: ((value) => boolean);
        gt: ((value) => boolean);
        gte: ((value) => boolean);
        lt: ((value) => boolean);
        lte: ((value) => boolean);
        minus: ((value, decimal?) => Amount<T>);
        plus: ((value, decimal?) => Amount<T>);
        times: ((value, decimal?) => Amount<T>);
        type: T;
    }
    : never

Type Parameters

  • T

Generated using TypeDoc