Error Codes
Error Codes for the Charged Particles contracts
1
Categories:
2
0. General
3
1. Permission & Control
4
2. Find, Inequalities & Range
5
3. Availability & Time
6
4. Tokens, Funds & Finance
7
8
Codes:
9
0. General
10
E-000 - Failure
11
E-001 - Success
12
E-002 - ALREADY_INIT
13
E-003 - Requires Migration
14
E-004 - Already Migrated
15
16
1. Permission & Control
17
E-100 - [--Unused--]
18
E-101 - PAUSED
19
E-102 - NOT_OWNER, transfer of token that is not own
20
E-103 - NOT_OWNER_OR_ADMIN, NOT FUNDER
21
E-104 - NOT_TOKEN_CREATOR, NOT_CREATOR
22
E-105 - INVALID_OPERATOR, NOT_TOKEN_OPERATOR, NOT_OWNER_OR_OPERATOR, transfer caller is not owner nor approved, approve caller is not owner nor approved for all
23
E-106 - CANNOT_BE_SELF
24
E-107 - charged particles not set
25
E-108 - only charged particles, ONLY_CONTROLLER
26
E-109 - ONLY_WALLET_MGR
27
E-110 - only proton
28
E-111 - approval to current owner, approve to caller
29
E-112 - caller must be source contract
30
E-113 - not minter
31
E-114 - minting not allowed yet
32
E-115 - already activated
33
E-116 - not yet activated
34
35
36
2. Find, Inequalities & Range
37
E-200 - [--Unused--]
38
E-201 - INVALID_INDEX,
39
E-202 - array length mismatch
40
E-203 - TokenID not in posession of smart wallet.
41
E-204 - invalid chronological order
42
E-205 - amount must be positive
43
E-206 -
44
E-207 -
45
E-208 -
46
E-209 -
47
48
3. Availability & Time
49
E-300 - [--Unused--]
50
E-301 - release time is before current time
51
E-302 - TOKEN_TIMELOCKED
52
E-303 - TOKEN_TEMP_LOCKED
53
E-304 - emergency withdraw too soon
54
E-305 - previous epoch not initialized
55
E-306 - epoch is in the future
56
E-307 -
57
E-308 -
58
E-309 -
59
60
4. Tokens, Funds & Finance
61
E-400 - [--Unused--]
62
E-401 - TRANSFER_FAILED, REWARDS_TRANSFER_FAILED, SEND_FAILED
63
E-402 - transfer to non ERC721Receiver implementer
64
E-403 - zero address, invalid token address, INVALID_TOKEN_ID, INVALID_LP_BRIDGE, INVALID_RECEIVER
65
E-404 - no universe or dao
66
E-405 - nonexistent token
67
E-406 - add portions failed (MINT_FAILED)
68
E-407 - token already minted
69
E-408 - cap exceeded
70
E-409 - exceeds locked amount, decreased allowance below zero, lock amount exceeds allowance
71
E-410 - INSUFF_DEPOSIT, EXCESS_DEPOSIT
72
E-411 - INSUFF_ASSETS, INSUFF_BALANCE, insufficient balance, INSUFF_FUNDS
73
E-412 - INSUFF_CHARGE
74
E-413 - INSUFF_SUPPLY
75
E-414 - INSUFF_PAYMENT
76
E-415 - INSUFF_FEE
77
E-416 - TOKEN_NOT_FOR_SALE
78
E-417 - Invalid Token Contract, invalid address,
79
E-418 - INVALID_WALLET_MGR
80
E-419 - INVALID_WALLET_MANAGER, INVALID_BASKET_MANAGER
81
E-420 - INVALID_INTERFACE
82
E-421 - INVALID_PCT
83
E-422 - INVALID_WBOSON
84
E-423 - INVALID_REWARD_TOKEN
85
E-424 - INVALID_ASSET
86
E-425 - token already exists in basket
87
E-426 - token does not exist in basket
88
E-427 - exceeds max allowance
89
E-428 - token type not found
90
E-429 - minting restricted to limited amount
91
E-430 - only 1 lepton per NFT allowed
92
E-431 - portion already claimed
93
E-432 - balance too small
Copied!
Last modified 5mo ago
Copy link