-
Notifications
You must be signed in to change notification settings - Fork 19
/
errorMessages.json
121 lines (120 loc) · 3.86 KB
/
errorMessages.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"0": "zero address",
"1": "incorrect caller",
"2": "nonexistent perpetual",
"3": "invalid call",
"4": "incorrect value",
"5": "incorrect array length",
"6": "too big array values",
"7": "incorrect x array values",
"8": "incompatible parameters",
"9": "incorrect reference",
"10": "incorrect poolManager",
"11": "invalid oracle base",
"12": "incorrect oracle",
"13": "deployed",
"14": "incorrect feeManager",
"15": "too big slippage",
"16": "too many stablecoins issued",
"17": "stocksUsers too small",
"18": "paused",
"19": "not paused",
"20": "invalid token",
"21": "caller not approved",
"22": "reward too high",
"23": "burn amount exceeds allowance",
"24": "non ERC721Receiver",
"25": "too much collateral hedged",
"26": "transfer to the zero address",
"27": "zero value",
"28": "too big oracle rate",
"29": "too small margin",
"30": "too high leverage",
"31": "invalid timestamp",
"32": "too small cash out amount",
"33": "invalid conditions",
"34": "forceCashOut disabled",
"35": "approval to owner",
"36": "approval to caller",
"37": "incorrect y array values",
"38": "incompatible slippage and slippageFee arrays",
"39": "guardian cannot be governor",
"40": "incorrect address",
"41": "incorrect guardian",
"42": "invalid lists length",
"43": "incorrect governor",
"44": "stableMaster previously deployed",
"45": "incorrect stablecoin",
"46": "governor already added",
"47": "must have at least one governor",
"48": "governor not in the list",
"49": "wrong new guardian",
"50": "incorrect amount to pay",
"51": "oracle required",
"52": "already a reference",
"53": "incorrect start price",
"54": "incorrect amount",
"55": "not enough token left to sell",
"56": "incorrect soldToken balance",
"57": "invalid claim time",
"58": "base amounts not computed",
"59": "settlement already activated",
"60": "invalid proportion",
"61": "too many stablecoins claimed",
"62": "base amounts already computed",
"63": "invalid redeem time",
"64": "perpetual already claimed",
"65": "ratios cannot be modified after start",
"66": "too high amount",
"67": "only the minter can change the minter address",
"68": "only the minter can mint",
"69": "minting not allowed yet",
"70": "exceeded mint cap",
"71": "AccessControl: can only renounce roles for self",
"72": "incorrect freed amount by strategy",
"73": "strategy already added",
"74": "strategy not bound to this PoolManager",
"75": "strategy not linked to the right token",
"76": "debt ratio above one",
"77": "strategy still managing some funds",
"78": "invalid strategy",
"79": "only owner",
"80": "invalid staking contract",
"81": "not passed drip frequency",
"82": "no rewards",
"83": "incompatible reward tokens",
"84": "incorrect rewards distributor",
"85": "null duration",
"86": "too high frequency",
"87": "frequency exceeds duration",
"88": "invalid amount to distribute",
"89": "cannot withdraw 0",
"90": "cannot stake 0",
"91": "provided reward too high",
"92": "incorrect reward address",
"93": "protected token",
"94": "invalid lender",
"95": "invalid shares",
"96": "undocked lender",
"97": "already added",
"98": "withdrawal failed",
"99": "overflow",
"100": "invalid Chainlink rate",
"101": "incorrect guardians",
"102": "too large twap period",
"103": "incorrect Uniswap circuit",
"104": "incompatible lengths",
"105": "incorrect Chainlink pool",
"106": "incorrect Chainlink circuit length",
"107": "invalid size addressInAndOut",
"108": "too soon",
"109": "distributions are off",
"110": "gauge not activated yet or killed",
"111": "invalid path",
"112": "gauge already activated",
"113": "middleman: bridge must be zero address",
"114": "non zero address",
"115": "incorrect governor or guardian",
"116": "non zero value",
"117": "empty error"
}