Skip to content

@gala-chain/chaincodeAPI


API > ensureQuantityCanBeMinted

Function: ensureQuantityCanBeMinted()

ensureQuantityCanBeMinted(tokenClass, quantity, totalKnownMintAllowanceCount?, totalKnownBurnsCount?): boolean

Parameters

tokenClass: TokenClass

quantity: BigNumber

totalKnownMintAllowanceCount?: BigNumber

totalKnownBurnsCount?: BigNumber

Source

chaincode/src/allowances/grantAllowance.ts:232