#
ITokenErrors
Matt Stam (@mattstam)
ITokenErrors
The interface for the errors that may be thrown from IToken.
#
Errors
#
InitialDistributionLengthMismatch
error InitialDistributionLengthMismatch(uint256 ownersLen, uint256 valuesLen)
When distribution owner array length and values array length do not match.
Can occur with initialize()
.
#
Parameters
#
MaxMintablePerHashExceeded
error MaxMintablePerHashExceeded(uint256 value, uint256 maxMintableValue)
When an mint attempt occurs that exceeds the token's maxMintablePerHash()
.
Can occur with addRelease()
. Specifically occurs when a values[i] exists the values array that is greater than the token's maxMintablePerHash()
.
#
Parameters
#
UnauthorizedMinter
error UnauthorizedMinter(address senderAddr, address expectedAddr)
When a mint attempt occurs from a sender other than the token's minter().
Can occur with mint()
.