Errors

The list of errors triggered by the 1XMM contract

ERC20ExceededCap

Error is triggered when an allocation brings the total supply above the cap. If an allocation is too big, or if the amount of availableTokens is not enough, the allocation is cancelled and this error is triggered.

ERC20InsufficientAllowance

Error is triggered when a msg.sender tries to act on behalf of another user but the current allowance of msg.sender is not enough to perform the operation.

This error can be triggered when msg.sender tries to burnFrom, or transferFrom.

ERC20InsufficientBalance

Error is triggered when the account impacted by a transaction doesn't have enough tokens to perform the operation.

This error can be triggered when an account tries to transfer to another account, or sell back 1XMM tokens against ETH or another token; if an account tries to burn some tokens, etc.

ERC20InvalidReceiver

Error is triggered when the receiver of an operation is address 0.

ERC20InvalidSender

Error is triggered when the sender of an operation is address 0.

Error Code
Description

E0

Sender is not the owner

E1

Owner tries to burn more than available tokens

E2

ETH deposits are not allowed

E3

Exchange 1XMM for ETH is not allowed

E4

Exchange 1XMM against another token is not allowed

E5

Token is not approved

E101

Error with vesting setup parameters

E102

User cannot transfer due to vesting

E103

Attempt to allocate to address 0x0

E104

Error with mass allocation parameters

E105

Error with number of decimals

E106

No ETH available for buy-back

Last updated