Type alias MintWouldOverflowDetails

MintWouldOverflowDetails: {
    currentSupply: Type;
    index: number;
    maxRepresentableAmount: Type;
    requestedAmount: Type;
}

Details for a reject reason where minting would overflow supply constraints.

See CIS-7: reject-reasons/mintWouldOverflow

Type declaration

  • currentSupply: Type

    The current supply of the token.

  • index: number

    The index in the list of operations of the failing operation.

  • maxRepresentableAmount: Type

    The maximum representable token amount.

  • requestedAmount: Type

    The requested amount to mint.

Generated using TypeDoc