@bouncetech/contracts 1.2.1 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abis/erc20-abi.js +88 -86
- package/dist/abis/factory-abi.js +115 -115
- package/dist/abis/global-storage-abi.js +733 -733
- package/dist/abis/global-storage-helper-abi.js +75 -75
- package/dist/abis/hyperliquid-handler-abi.d.ts +0 -16
- package/dist/abis/hyperliquid-handler-abi.js +75 -95
- package/dist/abis/leveraged-token-abi.js +812 -812
- package/dist/abis/leveraged-token-helper-abi.d.ts +16 -2
- package/dist/abis/leveraged-token-helper-abi.js +293 -274
- package/dist/abis/referrals-abi.js +253 -253
- package/dist/index.d.ts +19 -21
- package/dist/index.js +3 -3
- package/package.json +6 -3
|
@@ -3,1345 +3,1345 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.leveragedTokenAbi = void 0;
|
|
4
4
|
exports.leveragedTokenAbi = [
|
|
5
5
|
{
|
|
6
|
-
type: "constructor",
|
|
7
|
-
inputs: [],
|
|
8
|
-
stateMutability: "nonpayable",
|
|
6
|
+
"type": "constructor",
|
|
7
|
+
"inputs": [],
|
|
8
|
+
"stateMutability": "nonpayable",
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
|
-
type: "function",
|
|
12
|
-
name: "agentCreatedAt",
|
|
13
|
-
inputs: [
|
|
11
|
+
"type": "function",
|
|
12
|
+
"name": "agentCreatedAt",
|
|
13
|
+
"inputs": [
|
|
14
14
|
{
|
|
15
|
-
name: "agent_",
|
|
16
|
-
type: "address",
|
|
17
|
-
internalType: "address",
|
|
15
|
+
"name": "agent_",
|
|
16
|
+
"type": "address",
|
|
17
|
+
"internalType": "address",
|
|
18
18
|
},
|
|
19
19
|
],
|
|
20
|
-
outputs: [
|
|
20
|
+
"outputs": [
|
|
21
21
|
{
|
|
22
|
-
name: "",
|
|
23
|
-
type: "uint256",
|
|
24
|
-
internalType: "uint256",
|
|
22
|
+
"name": "",
|
|
23
|
+
"type": "uint256",
|
|
24
|
+
"internalType": "uint256",
|
|
25
25
|
},
|
|
26
26
|
],
|
|
27
|
-
stateMutability: "view",
|
|
27
|
+
"stateMutability": "view",
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
|
-
type: "function",
|
|
31
|
-
name: "agents",
|
|
32
|
-
inputs: [],
|
|
33
|
-
outputs: [
|
|
30
|
+
"type": "function",
|
|
31
|
+
"name": "agents",
|
|
32
|
+
"inputs": [],
|
|
33
|
+
"outputs": [
|
|
34
34
|
{
|
|
35
|
-
name: "",
|
|
36
|
-
type: "address[3]",
|
|
37
|
-
internalType: "address[3]",
|
|
35
|
+
"name": "",
|
|
36
|
+
"type": "address[3]",
|
|
37
|
+
"internalType": "address[3]",
|
|
38
38
|
},
|
|
39
39
|
],
|
|
40
|
-
stateMutability: "view",
|
|
40
|
+
"stateMutability": "view",
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
|
-
type: "function",
|
|
44
|
-
name: "allowance",
|
|
45
|
-
inputs: [
|
|
43
|
+
"type": "function",
|
|
44
|
+
"name": "allowance",
|
|
45
|
+
"inputs": [
|
|
46
46
|
{
|
|
47
|
-
name: "owner",
|
|
48
|
-
type: "address",
|
|
49
|
-
internalType: "address",
|
|
47
|
+
"name": "owner",
|
|
48
|
+
"type": "address",
|
|
49
|
+
"internalType": "address",
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
|
-
name: "spender",
|
|
53
|
-
type: "address",
|
|
54
|
-
internalType: "address",
|
|
52
|
+
"name": "spender",
|
|
53
|
+
"type": "address",
|
|
54
|
+
"internalType": "address",
|
|
55
55
|
},
|
|
56
56
|
],
|
|
57
|
-
outputs: [
|
|
57
|
+
"outputs": [
|
|
58
58
|
{
|
|
59
|
-
name: "",
|
|
60
|
-
type: "uint256",
|
|
61
|
-
internalType: "uint256",
|
|
59
|
+
"name": "",
|
|
60
|
+
"type": "uint256",
|
|
61
|
+
"internalType": "uint256",
|
|
62
62
|
},
|
|
63
63
|
],
|
|
64
|
-
stateMutability: "view",
|
|
64
|
+
"stateMutability": "view",
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
|
-
type: "function",
|
|
68
|
-
name: "approve",
|
|
69
|
-
inputs: [
|
|
67
|
+
"type": "function",
|
|
68
|
+
"name": "approve",
|
|
69
|
+
"inputs": [
|
|
70
70
|
{
|
|
71
|
-
name: "spender",
|
|
72
|
-
type: "address",
|
|
73
|
-
internalType: "address",
|
|
71
|
+
"name": "spender",
|
|
72
|
+
"type": "address",
|
|
73
|
+
"internalType": "address",
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
|
-
name: "value",
|
|
77
|
-
type: "uint256",
|
|
78
|
-
internalType: "uint256",
|
|
76
|
+
"name": "value",
|
|
77
|
+
"type": "uint256",
|
|
78
|
+
"internalType": "uint256",
|
|
79
79
|
},
|
|
80
80
|
],
|
|
81
|
-
outputs: [
|
|
81
|
+
"outputs": [
|
|
82
82
|
{
|
|
83
|
-
name: "",
|
|
84
|
-
type: "bool",
|
|
85
|
-
internalType: "bool",
|
|
83
|
+
"name": "",
|
|
84
|
+
"type": "bool",
|
|
85
|
+
"internalType": "bool",
|
|
86
86
|
},
|
|
87
87
|
],
|
|
88
|
-
stateMutability: "nonpayable",
|
|
88
|
+
"stateMutability": "nonpayable",
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
|
-
type: "function",
|
|
92
|
-
name: "balanceOf",
|
|
93
|
-
inputs: [
|
|
91
|
+
"type": "function",
|
|
92
|
+
"name": "balanceOf",
|
|
93
|
+
"inputs": [
|
|
94
94
|
{
|
|
95
|
-
name: "account",
|
|
96
|
-
type: "address",
|
|
97
|
-
internalType: "address",
|
|
95
|
+
"name": "account",
|
|
96
|
+
"type": "address",
|
|
97
|
+
"internalType": "address",
|
|
98
98
|
},
|
|
99
99
|
],
|
|
100
|
-
outputs: [
|
|
100
|
+
"outputs": [
|
|
101
101
|
{
|
|
102
|
-
name: "",
|
|
103
|
-
type: "uint256",
|
|
104
|
-
internalType: "uint256",
|
|
102
|
+
"name": "",
|
|
103
|
+
"type": "uint256",
|
|
104
|
+
"internalType": "uint256",
|
|
105
105
|
},
|
|
106
106
|
],
|
|
107
|
-
stateMutability: "view",
|
|
107
|
+
"stateMutability": "view",
|
|
108
108
|
},
|
|
109
109
|
{
|
|
110
|
-
type: "function",
|
|
111
|
-
name: "baseAssetBalance",
|
|
112
|
-
inputs: [],
|
|
113
|
-
outputs: [
|
|
110
|
+
"type": "function",
|
|
111
|
+
"name": "baseAssetBalance",
|
|
112
|
+
"inputs": [],
|
|
113
|
+
"outputs": [
|
|
114
114
|
{
|
|
115
|
-
name: "",
|
|
116
|
-
type: "uint256",
|
|
117
|
-
internalType: "uint256",
|
|
115
|
+
"name": "",
|
|
116
|
+
"type": "uint256",
|
|
117
|
+
"internalType": "uint256",
|
|
118
118
|
},
|
|
119
119
|
],
|
|
120
|
-
stateMutability: "view",
|
|
120
|
+
"stateMutability": "view",
|
|
121
121
|
},
|
|
122
122
|
{
|
|
123
|
-
type: "function",
|
|
124
|
-
name: "baseToLtAmount",
|
|
125
|
-
inputs: [
|
|
123
|
+
"type": "function",
|
|
124
|
+
"name": "baseToLtAmount",
|
|
125
|
+
"inputs": [
|
|
126
126
|
{
|
|
127
|
-
name: "baseAmount_",
|
|
128
|
-
type: "uint256",
|
|
129
|
-
internalType: "uint256",
|
|
127
|
+
"name": "baseAmount_",
|
|
128
|
+
"type": "uint256",
|
|
129
|
+
"internalType": "uint256",
|
|
130
130
|
},
|
|
131
131
|
],
|
|
132
|
-
outputs: [
|
|
132
|
+
"outputs": [
|
|
133
133
|
{
|
|
134
|
-
name: "",
|
|
135
|
-
type: "uint256",
|
|
136
|
-
internalType: "uint256",
|
|
134
|
+
"name": "",
|
|
135
|
+
"type": "uint256",
|
|
136
|
+
"internalType": "uint256",
|
|
137
137
|
},
|
|
138
138
|
],
|
|
139
|
-
stateMutability: "view",
|
|
139
|
+
"stateMutability": "view",
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
|
-
type: "function",
|
|
143
|
-
name: "bridgeFromPerp",
|
|
144
|
-
inputs: [
|
|
142
|
+
"type": "function",
|
|
143
|
+
"name": "bridgeFromPerp",
|
|
144
|
+
"inputs": [
|
|
145
145
|
{
|
|
146
|
-
name: "amount_",
|
|
147
|
-
type: "uint256",
|
|
148
|
-
internalType: "uint256",
|
|
146
|
+
"name": "amount_",
|
|
147
|
+
"type": "uint256",
|
|
148
|
+
"internalType": "uint256",
|
|
149
149
|
},
|
|
150
150
|
],
|
|
151
|
-
outputs: [],
|
|
152
|
-
stateMutability: "nonpayable",
|
|
151
|
+
"outputs": [],
|
|
152
|
+
"stateMutability": "nonpayable",
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
|
-
type: "function",
|
|
156
|
-
name: "bridgeFromSpot",
|
|
157
|
-
inputs: [
|
|
155
|
+
"type": "function",
|
|
156
|
+
"name": "bridgeFromSpot",
|
|
157
|
+
"inputs": [
|
|
158
158
|
{
|
|
159
|
-
name: "amount_",
|
|
160
|
-
type: "uint256",
|
|
161
|
-
internalType: "uint256",
|
|
159
|
+
"name": "amount_",
|
|
160
|
+
"type": "uint256",
|
|
161
|
+
"internalType": "uint256",
|
|
162
162
|
},
|
|
163
163
|
],
|
|
164
|
-
outputs: [],
|
|
165
|
-
stateMutability: "nonpayable",
|
|
164
|
+
"outputs": [],
|
|
165
|
+
"stateMutability": "nonpayable",
|
|
166
166
|
},
|
|
167
167
|
{
|
|
168
|
-
type: "function",
|
|
169
|
-
name: "bridgeToPerp",
|
|
170
|
-
inputs: [
|
|
168
|
+
"type": "function",
|
|
169
|
+
"name": "bridgeToPerp",
|
|
170
|
+
"inputs": [
|
|
171
171
|
{
|
|
172
|
-
name: "amount_",
|
|
173
|
-
type: "uint256",
|
|
174
|
-
internalType: "uint256",
|
|
172
|
+
"name": "amount_",
|
|
173
|
+
"type": "uint256",
|
|
174
|
+
"internalType": "uint256",
|
|
175
175
|
},
|
|
176
176
|
],
|
|
177
|
-
outputs: [],
|
|
178
|
-
stateMutability: "nonpayable",
|
|
177
|
+
"outputs": [],
|
|
178
|
+
"stateMutability": "nonpayable",
|
|
179
179
|
},
|
|
180
180
|
{
|
|
181
|
-
type: "function",
|
|
182
|
-
name: "bridgeToSpot",
|
|
183
|
-
inputs: [
|
|
181
|
+
"type": "function",
|
|
182
|
+
"name": "bridgeToSpot",
|
|
183
|
+
"inputs": [
|
|
184
184
|
{
|
|
185
|
-
name: "amount_",
|
|
186
|
-
type: "uint256",
|
|
187
|
-
internalType: "uint256",
|
|
185
|
+
"name": "amount_",
|
|
186
|
+
"type": "uint256",
|
|
187
|
+
"internalType": "uint256",
|
|
188
188
|
},
|
|
189
189
|
],
|
|
190
|
-
outputs: [],
|
|
191
|
-
stateMutability: "nonpayable",
|
|
190
|
+
"outputs": [],
|
|
191
|
+
"stateMutability": "nonpayable",
|
|
192
192
|
},
|
|
193
193
|
{
|
|
194
|
-
type: "function",
|
|
195
|
-
name: "cancelRedeem",
|
|
196
|
-
inputs: [],
|
|
197
|
-
outputs: [],
|
|
198
|
-
stateMutability: "nonpayable",
|
|
194
|
+
"type": "function",
|
|
195
|
+
"name": "cancelRedeem",
|
|
196
|
+
"inputs": [],
|
|
197
|
+
"outputs": [],
|
|
198
|
+
"stateMutability": "nonpayable",
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
|
-
type: "function",
|
|
202
|
-
name: "checkpoint",
|
|
203
|
-
inputs: [],
|
|
204
|
-
outputs: [],
|
|
205
|
-
stateMutability: "nonpayable",
|
|
201
|
+
"type": "function",
|
|
202
|
+
"name": "checkpoint",
|
|
203
|
+
"inputs": [],
|
|
204
|
+
"outputs": [],
|
|
205
|
+
"stateMutability": "nonpayable",
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
|
-
type: "function",
|
|
209
|
-
name: "checkpoint",
|
|
210
|
-
inputs: [
|
|
208
|
+
"type": "function",
|
|
209
|
+
"name": "checkpoint",
|
|
210
|
+
"inputs": [
|
|
211
211
|
{
|
|
212
|
-
name: "to_",
|
|
213
|
-
type: "uint256",
|
|
214
|
-
internalType: "uint256",
|
|
212
|
+
"name": "to_",
|
|
213
|
+
"type": "uint256",
|
|
214
|
+
"internalType": "uint256",
|
|
215
215
|
},
|
|
216
216
|
],
|
|
217
|
-
outputs: [],
|
|
218
|
-
stateMutability: "nonpayable",
|
|
217
|
+
"outputs": [],
|
|
218
|
+
"stateMutability": "nonpayable",
|
|
219
219
|
},
|
|
220
220
|
{
|
|
221
|
-
type: "function",
|
|
222
|
-
name: "credit",
|
|
223
|
-
inputs: [],
|
|
224
|
-
outputs: [
|
|
221
|
+
"type": "function",
|
|
222
|
+
"name": "credit",
|
|
223
|
+
"inputs": [],
|
|
224
|
+
"outputs": [
|
|
225
225
|
{
|
|
226
|
-
name: "",
|
|
227
|
-
type: "uint256",
|
|
228
|
-
internalType: "uint256",
|
|
226
|
+
"name": "",
|
|
227
|
+
"type": "uint256",
|
|
228
|
+
"internalType": "uint256",
|
|
229
229
|
},
|
|
230
230
|
],
|
|
231
|
-
stateMutability: "view",
|
|
231
|
+
"stateMutability": "view",
|
|
232
232
|
},
|
|
233
233
|
{
|
|
234
|
-
type: "function",
|
|
235
|
-
name: "decimals",
|
|
236
|
-
inputs: [],
|
|
237
|
-
outputs: [
|
|
234
|
+
"type": "function",
|
|
235
|
+
"name": "decimals",
|
|
236
|
+
"inputs": [],
|
|
237
|
+
"outputs": [
|
|
238
238
|
{
|
|
239
|
-
name: "",
|
|
240
|
-
type: "uint8",
|
|
241
|
-
internalType: "uint8",
|
|
239
|
+
"name": "",
|
|
240
|
+
"type": "uint8",
|
|
241
|
+
"internalType": "uint8",
|
|
242
242
|
},
|
|
243
243
|
],
|
|
244
|
-
stateMutability: "view",
|
|
244
|
+
"stateMutability": "view",
|
|
245
245
|
},
|
|
246
246
|
{
|
|
247
|
-
type: "function",
|
|
248
|
-
name: "exchangeRate",
|
|
249
|
-
inputs: [],
|
|
250
|
-
outputs: [
|
|
247
|
+
"type": "function",
|
|
248
|
+
"name": "exchangeRate",
|
|
249
|
+
"inputs": [],
|
|
250
|
+
"outputs": [
|
|
251
251
|
{
|
|
252
|
-
name: "",
|
|
253
|
-
type: "uint256",
|
|
254
|
-
internalType: "uint256",
|
|
252
|
+
"name": "",
|
|
253
|
+
"type": "uint256",
|
|
254
|
+
"internalType": "uint256",
|
|
255
255
|
},
|
|
256
256
|
],
|
|
257
|
-
stateMutability: "view",
|
|
257
|
+
"stateMutability": "view",
|
|
258
258
|
},
|
|
259
259
|
{
|
|
260
|
-
type: "function",
|
|
261
|
-
name: "executeRedemptions",
|
|
262
|
-
inputs: [
|
|
260
|
+
"type": "function",
|
|
261
|
+
"name": "executeRedemptions",
|
|
262
|
+
"inputs": [
|
|
263
263
|
{
|
|
264
|
-
name: "users_",
|
|
265
|
-
type: "address[]",
|
|
266
|
-
internalType: "address[]",
|
|
264
|
+
"name": "users_",
|
|
265
|
+
"type": "address[]",
|
|
266
|
+
"internalType": "address[]",
|
|
267
267
|
},
|
|
268
268
|
],
|
|
269
|
-
outputs: [
|
|
269
|
+
"outputs": [
|
|
270
270
|
{
|
|
271
|
-
name: "executeRedemptionData_",
|
|
272
|
-
type: "tuple[]",
|
|
273
|
-
internalType: "struct ILeveragedToken.ExecuteRedemptionData[]",
|
|
274
|
-
components: [
|
|
271
|
+
"name": "executeRedemptionData_",
|
|
272
|
+
"type": "tuple[]",
|
|
273
|
+
"internalType": "struct ILeveragedToken.ExecuteRedemptionData[]",
|
|
274
|
+
"components": [
|
|
275
275
|
{
|
|
276
|
-
name: "user",
|
|
277
|
-
type: "address",
|
|
278
|
-
internalType: "address",
|
|
276
|
+
"name": "user",
|
|
277
|
+
"type": "address",
|
|
278
|
+
"internalType": "address",
|
|
279
279
|
},
|
|
280
280
|
{
|
|
281
|
-
name: "wasExecuted",
|
|
282
|
-
type: "bool",
|
|
283
|
-
internalType: "bool",
|
|
281
|
+
"name": "wasExecuted",
|
|
282
|
+
"type": "bool",
|
|
283
|
+
"internalType": "bool",
|
|
284
284
|
},
|
|
285
285
|
],
|
|
286
286
|
},
|
|
287
287
|
],
|
|
288
|
-
stateMutability: "nonpayable",
|
|
288
|
+
"stateMutability": "nonpayable",
|
|
289
289
|
},
|
|
290
290
|
{
|
|
291
|
-
type: "function",
|
|
292
|
-
name: "getAgentSlot",
|
|
293
|
-
inputs: [
|
|
291
|
+
"type": "function",
|
|
292
|
+
"name": "getAgentSlot",
|
|
293
|
+
"inputs": [
|
|
294
294
|
{
|
|
295
|
-
name: "agent_",
|
|
296
|
-
type: "address",
|
|
297
|
-
internalType: "address",
|
|
295
|
+
"name": "agent_",
|
|
296
|
+
"type": "address",
|
|
297
|
+
"internalType": "address",
|
|
298
298
|
},
|
|
299
299
|
],
|
|
300
|
-
outputs: [
|
|
300
|
+
"outputs": [
|
|
301
301
|
{
|
|
302
|
-
name: "",
|
|
303
|
-
type: "uint8",
|
|
304
|
-
internalType: "uint8",
|
|
302
|
+
"name": "",
|
|
303
|
+
"type": "uint8",
|
|
304
|
+
"internalType": "uint8",
|
|
305
305
|
},
|
|
306
306
|
],
|
|
307
|
-
stateMutability: "view",
|
|
307
|
+
"stateMutability": "view",
|
|
308
308
|
},
|
|
309
309
|
{
|
|
310
|
-
type: "function",
|
|
311
|
-
name: "initialize",
|
|
312
|
-
inputs: [
|
|
310
|
+
"type": "function",
|
|
311
|
+
"name": "initialize",
|
|
312
|
+
"inputs": [
|
|
313
313
|
{
|
|
314
|
-
name: "globalStorage_",
|
|
315
|
-
type: "address",
|
|
316
|
-
internalType: "address",
|
|
314
|
+
"name": "globalStorage_",
|
|
315
|
+
"type": "address",
|
|
316
|
+
"internalType": "address",
|
|
317
317
|
},
|
|
318
318
|
{
|
|
319
|
-
name: "marketId_",
|
|
320
|
-
type: "uint32",
|
|
321
|
-
internalType: "uint32",
|
|
319
|
+
"name": "marketId_",
|
|
320
|
+
"type": "uint32",
|
|
321
|
+
"internalType": "uint32",
|
|
322
322
|
},
|
|
323
323
|
{
|
|
324
|
-
name: "targetAsset_",
|
|
325
|
-
type: "string",
|
|
326
|
-
internalType: "string",
|
|
324
|
+
"name": "targetAsset_",
|
|
325
|
+
"type": "string",
|
|
326
|
+
"internalType": "string",
|
|
327
327
|
},
|
|
328
328
|
{
|
|
329
|
-
name: "targetLeverage_",
|
|
330
|
-
type: "uint256",
|
|
331
|
-
internalType: "uint256",
|
|
329
|
+
"name": "targetLeverage_",
|
|
330
|
+
"type": "uint256",
|
|
331
|
+
"internalType": "uint256",
|
|
332
332
|
},
|
|
333
333
|
{
|
|
334
|
-
name: "isLong_",
|
|
335
|
-
type: "bool",
|
|
336
|
-
internalType: "bool",
|
|
334
|
+
"name": "isLong_",
|
|
335
|
+
"type": "bool",
|
|
336
|
+
"internalType": "bool",
|
|
337
337
|
},
|
|
338
338
|
{
|
|
339
|
-
name: "name_",
|
|
340
|
-
type: "string",
|
|
341
|
-
internalType: "string",
|
|
339
|
+
"name": "name_",
|
|
340
|
+
"type": "string",
|
|
341
|
+
"internalType": "string",
|
|
342
342
|
},
|
|
343
343
|
{
|
|
344
|
-
name: "symbol_",
|
|
345
|
-
type: "string",
|
|
346
|
-
internalType: "string",
|
|
344
|
+
"name": "symbol_",
|
|
345
|
+
"type": "string",
|
|
346
|
+
"internalType": "string",
|
|
347
347
|
},
|
|
348
348
|
],
|
|
349
|
-
outputs: [],
|
|
350
|
-
stateMutability: "nonpayable",
|
|
349
|
+
"outputs": [],
|
|
350
|
+
"stateMutability": "nonpayable",
|
|
351
351
|
},
|
|
352
352
|
{
|
|
353
|
-
type: "function",
|
|
354
|
-
name: "isAgent",
|
|
355
|
-
inputs: [
|
|
353
|
+
"type": "function",
|
|
354
|
+
"name": "isAgent",
|
|
355
|
+
"inputs": [
|
|
356
356
|
{
|
|
357
|
-
name: "agent_",
|
|
358
|
-
type: "address",
|
|
359
|
-
internalType: "address",
|
|
357
|
+
"name": "agent_",
|
|
358
|
+
"type": "address",
|
|
359
|
+
"internalType": "address",
|
|
360
360
|
},
|
|
361
361
|
],
|
|
362
|
-
outputs: [
|
|
362
|
+
"outputs": [
|
|
363
363
|
{
|
|
364
|
-
name: "",
|
|
365
|
-
type: "bool",
|
|
366
|
-
internalType: "bool",
|
|
364
|
+
"name": "",
|
|
365
|
+
"type": "bool",
|
|
366
|
+
"internalType": "bool",
|
|
367
367
|
},
|
|
368
368
|
],
|
|
369
|
-
stateMutability: "view",
|
|
369
|
+
"stateMutability": "view",
|
|
370
370
|
},
|
|
371
371
|
{
|
|
372
|
-
type: "function",
|
|
373
|
-
name: "isLong",
|
|
374
|
-
inputs: [],
|
|
375
|
-
outputs: [
|
|
372
|
+
"type": "function",
|
|
373
|
+
"name": "isLong",
|
|
374
|
+
"inputs": [],
|
|
375
|
+
"outputs": [
|
|
376
376
|
{
|
|
377
|
-
name: "",
|
|
378
|
-
type: "bool",
|
|
379
|
-
internalType: "bool",
|
|
377
|
+
"name": "",
|
|
378
|
+
"type": "bool",
|
|
379
|
+
"internalType": "bool",
|
|
380
380
|
},
|
|
381
381
|
],
|
|
382
|
-
stateMutability: "view",
|
|
382
|
+
"stateMutability": "view",
|
|
383
383
|
},
|
|
384
384
|
{
|
|
385
|
-
type: "function",
|
|
386
|
-
name: "lastCheckpoint",
|
|
387
|
-
inputs: [],
|
|
388
|
-
outputs: [
|
|
385
|
+
"type": "function",
|
|
386
|
+
"name": "lastCheckpoint",
|
|
387
|
+
"inputs": [],
|
|
388
|
+
"outputs": [
|
|
389
389
|
{
|
|
390
|
-
name: "",
|
|
391
|
-
type: "uint256",
|
|
392
|
-
internalType: "uint256",
|
|
390
|
+
"name": "",
|
|
391
|
+
"type": "uint256",
|
|
392
|
+
"internalType": "uint256",
|
|
393
393
|
},
|
|
394
394
|
],
|
|
395
|
-
stateMutability: "view",
|
|
395
|
+
"stateMutability": "view",
|
|
396
396
|
},
|
|
397
397
|
{
|
|
398
|
-
type: "function",
|
|
399
|
-
name: "ltToBaseAmount",
|
|
400
|
-
inputs: [
|
|
398
|
+
"type": "function",
|
|
399
|
+
"name": "ltToBaseAmount",
|
|
400
|
+
"inputs": [
|
|
401
401
|
{
|
|
402
|
-
name: "ltAmount_",
|
|
403
|
-
type: "uint256",
|
|
404
|
-
internalType: "uint256",
|
|
402
|
+
"name": "ltAmount_",
|
|
403
|
+
"type": "uint256",
|
|
404
|
+
"internalType": "uint256",
|
|
405
405
|
},
|
|
406
406
|
],
|
|
407
|
-
outputs: [
|
|
407
|
+
"outputs": [
|
|
408
408
|
{
|
|
409
|
-
name: "",
|
|
410
|
-
type: "uint256",
|
|
411
|
-
internalType: "uint256",
|
|
409
|
+
"name": "",
|
|
410
|
+
"type": "uint256",
|
|
411
|
+
"internalType": "uint256",
|
|
412
412
|
},
|
|
413
413
|
],
|
|
414
|
-
stateMutability: "view",
|
|
414
|
+
"stateMutability": "view",
|
|
415
415
|
},
|
|
416
416
|
{
|
|
417
|
-
type: "function",
|
|
418
|
-
name: "marketId",
|
|
419
|
-
inputs: [],
|
|
420
|
-
outputs: [
|
|
417
|
+
"type": "function",
|
|
418
|
+
"name": "marketId",
|
|
419
|
+
"inputs": [],
|
|
420
|
+
"outputs": [
|
|
421
421
|
{
|
|
422
|
-
name: "",
|
|
423
|
-
type: "uint32",
|
|
424
|
-
internalType: "uint32",
|
|
422
|
+
"name": "",
|
|
423
|
+
"type": "uint32",
|
|
424
|
+
"internalType": "uint32",
|
|
425
425
|
},
|
|
426
426
|
],
|
|
427
|
-
stateMutability: "view",
|
|
427
|
+
"stateMutability": "view",
|
|
428
428
|
},
|
|
429
429
|
{
|
|
430
|
-
type: "function",
|
|
431
|
-
name: "mint",
|
|
432
|
-
inputs: [
|
|
430
|
+
"type": "function",
|
|
431
|
+
"name": "mint",
|
|
432
|
+
"inputs": [
|
|
433
433
|
{
|
|
434
|
-
name: "to_",
|
|
435
|
-
type: "address",
|
|
436
|
-
internalType: "address",
|
|
434
|
+
"name": "to_",
|
|
435
|
+
"type": "address",
|
|
436
|
+
"internalType": "address",
|
|
437
437
|
},
|
|
438
438
|
{
|
|
439
|
-
name: "baseAmount_",
|
|
440
|
-
type: "uint256",
|
|
441
|
-
internalType: "uint256",
|
|
439
|
+
"name": "baseAmount_",
|
|
440
|
+
"type": "uint256",
|
|
441
|
+
"internalType": "uint256",
|
|
442
442
|
},
|
|
443
443
|
{
|
|
444
|
-
name: "minOut_",
|
|
445
|
-
type: "uint256",
|
|
446
|
-
internalType: "uint256",
|
|
444
|
+
"name": "minOut_",
|
|
445
|
+
"type": "uint256",
|
|
446
|
+
"internalType": "uint256",
|
|
447
447
|
},
|
|
448
448
|
],
|
|
449
|
-
outputs: [
|
|
449
|
+
"outputs": [
|
|
450
450
|
{
|
|
451
|
-
name: "",
|
|
452
|
-
type: "uint256",
|
|
453
|
-
internalType: "uint256",
|
|
451
|
+
"name": "",
|
|
452
|
+
"type": "uint256",
|
|
453
|
+
"internalType": "uint256",
|
|
454
454
|
},
|
|
455
455
|
],
|
|
456
|
-
stateMutability: "nonpayable",
|
|
456
|
+
"stateMutability": "nonpayable",
|
|
457
457
|
},
|
|
458
458
|
{
|
|
459
|
-
type: "function",
|
|
460
|
-
name: "mintPaused",
|
|
461
|
-
inputs: [],
|
|
462
|
-
outputs: [
|
|
459
|
+
"type": "function",
|
|
460
|
+
"name": "mintPaused",
|
|
461
|
+
"inputs": [],
|
|
462
|
+
"outputs": [
|
|
463
463
|
{
|
|
464
|
-
name: "",
|
|
465
|
-
type: "bool",
|
|
466
|
-
internalType: "bool",
|
|
464
|
+
"name": "",
|
|
465
|
+
"type": "bool",
|
|
466
|
+
"internalType": "bool",
|
|
467
467
|
},
|
|
468
468
|
],
|
|
469
|
-
stateMutability: "view",
|
|
469
|
+
"stateMutability": "view",
|
|
470
470
|
},
|
|
471
471
|
{
|
|
472
|
-
type: "function",
|
|
473
|
-
name: "name",
|
|
474
|
-
inputs: [],
|
|
475
|
-
outputs: [
|
|
472
|
+
"type": "function",
|
|
473
|
+
"name": "name",
|
|
474
|
+
"inputs": [],
|
|
475
|
+
"outputs": [
|
|
476
476
|
{
|
|
477
|
-
name: "",
|
|
478
|
-
type: "string",
|
|
479
|
-
internalType: "string",
|
|
477
|
+
"name": "",
|
|
478
|
+
"type": "string",
|
|
479
|
+
"internalType": "string",
|
|
480
480
|
},
|
|
481
481
|
],
|
|
482
|
-
stateMutability: "view",
|
|
482
|
+
"stateMutability": "view",
|
|
483
483
|
},
|
|
484
484
|
{
|
|
485
|
-
type: "function",
|
|
486
|
-
name: "pendingRedemptions",
|
|
487
|
-
inputs: [],
|
|
488
|
-
outputs: [
|
|
485
|
+
"type": "function",
|
|
486
|
+
"name": "pendingRedemptions",
|
|
487
|
+
"inputs": [],
|
|
488
|
+
"outputs": [
|
|
489
489
|
{
|
|
490
|
-
name: "",
|
|
491
|
-
type: "address[]",
|
|
492
|
-
internalType: "address[]",
|
|
490
|
+
"name": "",
|
|
491
|
+
"type": "address[]",
|
|
492
|
+
"internalType": "address[]",
|
|
493
493
|
},
|
|
494
494
|
],
|
|
495
|
-
stateMutability: "view",
|
|
495
|
+
"stateMutability": "view",
|
|
496
496
|
},
|
|
497
497
|
{
|
|
498
|
-
type: "function",
|
|
499
|
-
name: "prepareRedeem",
|
|
500
|
-
inputs: [
|
|
498
|
+
"type": "function",
|
|
499
|
+
"name": "prepareRedeem",
|
|
500
|
+
"inputs": [
|
|
501
501
|
{
|
|
502
|
-
name: "ltAmount_",
|
|
503
|
-
type: "uint256",
|
|
504
|
-
internalType: "uint256",
|
|
502
|
+
"name": "ltAmount_",
|
|
503
|
+
"type": "uint256",
|
|
504
|
+
"internalType": "uint256",
|
|
505
505
|
},
|
|
506
506
|
],
|
|
507
|
-
outputs: [],
|
|
508
|
-
stateMutability: "nonpayable",
|
|
507
|
+
"outputs": [],
|
|
508
|
+
"stateMutability": "nonpayable",
|
|
509
509
|
},
|
|
510
510
|
{
|
|
511
|
-
type: "function",
|
|
512
|
-
name: "redeem",
|
|
513
|
-
inputs: [
|
|
511
|
+
"type": "function",
|
|
512
|
+
"name": "redeem",
|
|
513
|
+
"inputs": [
|
|
514
514
|
{
|
|
515
|
-
name: "to_",
|
|
516
|
-
type: "address",
|
|
517
|
-
internalType: "address",
|
|
515
|
+
"name": "to_",
|
|
516
|
+
"type": "address",
|
|
517
|
+
"internalType": "address",
|
|
518
518
|
},
|
|
519
519
|
{
|
|
520
|
-
name: "ltAmount_",
|
|
521
|
-
type: "uint256",
|
|
522
|
-
internalType: "uint256",
|
|
520
|
+
"name": "ltAmount_",
|
|
521
|
+
"type": "uint256",
|
|
522
|
+
"internalType": "uint256",
|
|
523
523
|
},
|
|
524
524
|
{
|
|
525
|
-
name: "minBaseAmount_",
|
|
526
|
-
type: "uint256",
|
|
527
|
-
internalType: "uint256",
|
|
525
|
+
"name": "minBaseAmount_",
|
|
526
|
+
"type": "uint256",
|
|
527
|
+
"internalType": "uint256",
|
|
528
528
|
},
|
|
529
529
|
],
|
|
530
|
-
outputs: [
|
|
530
|
+
"outputs": [
|
|
531
531
|
{
|
|
532
|
-
name: "",
|
|
533
|
-
type: "uint256",
|
|
534
|
-
internalType: "uint256",
|
|
532
|
+
"name": "",
|
|
533
|
+
"type": "uint256",
|
|
534
|
+
"internalType": "uint256",
|
|
535
535
|
},
|
|
536
536
|
],
|
|
537
|
-
stateMutability: "nonpayable",
|
|
537
|
+
"stateMutability": "nonpayable",
|
|
538
538
|
},
|
|
539
539
|
{
|
|
540
|
-
type: "function",
|
|
541
|
-
name: "setAgent",
|
|
542
|
-
inputs: [
|
|
540
|
+
"type": "function",
|
|
541
|
+
"name": "setAgent",
|
|
542
|
+
"inputs": [
|
|
543
543
|
{
|
|
544
|
-
name: "slot_",
|
|
545
|
-
type: "uint8",
|
|
546
|
-
internalType: "uint8",
|
|
544
|
+
"name": "slot_",
|
|
545
|
+
"type": "uint8",
|
|
546
|
+
"internalType": "uint8",
|
|
547
547
|
},
|
|
548
548
|
{
|
|
549
|
-
name: "agent_",
|
|
550
|
-
type: "address",
|
|
551
|
-
internalType: "address",
|
|
549
|
+
"name": "agent_",
|
|
550
|
+
"type": "address",
|
|
551
|
+
"internalType": "address",
|
|
552
552
|
},
|
|
553
553
|
],
|
|
554
|
-
outputs: [],
|
|
555
|
-
stateMutability: "nonpayable",
|
|
554
|
+
"outputs": [],
|
|
555
|
+
"stateMutability": "nonpayable",
|
|
556
556
|
},
|
|
557
557
|
{
|
|
558
|
-
type: "function",
|
|
559
|
-
name: "setMintPaused",
|
|
560
|
-
inputs: [
|
|
558
|
+
"type": "function",
|
|
559
|
+
"name": "setMintPaused",
|
|
560
|
+
"inputs": [
|
|
561
561
|
{
|
|
562
|
-
name: "mintPaused_",
|
|
563
|
-
type: "bool",
|
|
564
|
-
internalType: "bool",
|
|
562
|
+
"name": "mintPaused_",
|
|
563
|
+
"type": "bool",
|
|
564
|
+
"internalType": "bool",
|
|
565
565
|
},
|
|
566
566
|
],
|
|
567
|
-
outputs: [],
|
|
568
|
-
stateMutability: "nonpayable",
|
|
567
|
+
"outputs": [],
|
|
568
|
+
"stateMutability": "nonpayable",
|
|
569
569
|
},
|
|
570
570
|
{
|
|
571
|
-
type: "function",
|
|
572
|
-
name: "symbol",
|
|
573
|
-
inputs: [],
|
|
574
|
-
outputs: [
|
|
571
|
+
"type": "function",
|
|
572
|
+
"name": "symbol",
|
|
573
|
+
"inputs": [],
|
|
574
|
+
"outputs": [
|
|
575
575
|
{
|
|
576
|
-
name: "",
|
|
577
|
-
type: "string",
|
|
578
|
-
internalType: "string",
|
|
576
|
+
"name": "",
|
|
577
|
+
"type": "string",
|
|
578
|
+
"internalType": "string",
|
|
579
579
|
},
|
|
580
580
|
],
|
|
581
|
-
stateMutability: "view",
|
|
581
|
+
"stateMutability": "view",
|
|
582
582
|
},
|
|
583
583
|
{
|
|
584
|
-
type: "function",
|
|
585
|
-
name: "targetAsset",
|
|
586
|
-
inputs: [],
|
|
587
|
-
outputs: [
|
|
584
|
+
"type": "function",
|
|
585
|
+
"name": "targetAsset",
|
|
586
|
+
"inputs": [],
|
|
587
|
+
"outputs": [
|
|
588
588
|
{
|
|
589
|
-
name: "",
|
|
590
|
-
type: "string",
|
|
591
|
-
internalType: "string",
|
|
589
|
+
"name": "",
|
|
590
|
+
"type": "string",
|
|
591
|
+
"internalType": "string",
|
|
592
592
|
},
|
|
593
593
|
],
|
|
594
|
-
stateMutability: "view",
|
|
594
|
+
"stateMutability": "view",
|
|
595
595
|
},
|
|
596
596
|
{
|
|
597
|
-
type: "function",
|
|
598
|
-
name: "targetLeverage",
|
|
599
|
-
inputs: [],
|
|
600
|
-
outputs: [
|
|
597
|
+
"type": "function",
|
|
598
|
+
"name": "targetLeverage",
|
|
599
|
+
"inputs": [],
|
|
600
|
+
"outputs": [
|
|
601
601
|
{
|
|
602
|
-
name: "",
|
|
603
|
-
type: "uint256",
|
|
604
|
-
internalType: "uint256",
|
|
602
|
+
"name": "",
|
|
603
|
+
"type": "uint256",
|
|
604
|
+
"internalType": "uint256",
|
|
605
605
|
},
|
|
606
606
|
],
|
|
607
|
-
stateMutability: "view",
|
|
607
|
+
"stateMutability": "view",
|
|
608
608
|
},
|
|
609
609
|
{
|
|
610
|
-
type: "function",
|
|
611
|
-
name: "totalAssets",
|
|
612
|
-
inputs: [],
|
|
613
|
-
outputs: [
|
|
610
|
+
"type": "function",
|
|
611
|
+
"name": "totalAssets",
|
|
612
|
+
"inputs": [],
|
|
613
|
+
"outputs": [
|
|
614
614
|
{
|
|
615
|
-
name: "",
|
|
616
|
-
type: "uint256",
|
|
617
|
-
internalType: "uint256",
|
|
615
|
+
"name": "",
|
|
616
|
+
"type": "uint256",
|
|
617
|
+
"internalType": "uint256",
|
|
618
618
|
},
|
|
619
619
|
],
|
|
620
|
-
stateMutability: "view",
|
|
620
|
+
"stateMutability": "view",
|
|
621
621
|
},
|
|
622
622
|
{
|
|
623
|
-
type: "function",
|
|
624
|
-
name: "totalSupply",
|
|
625
|
-
inputs: [],
|
|
626
|
-
outputs: [
|
|
623
|
+
"type": "function",
|
|
624
|
+
"name": "totalSupply",
|
|
625
|
+
"inputs": [],
|
|
626
|
+
"outputs": [
|
|
627
627
|
{
|
|
628
|
-
name: "",
|
|
629
|
-
type: "uint256",
|
|
630
|
-
internalType: "uint256",
|
|
628
|
+
"name": "",
|
|
629
|
+
"type": "uint256",
|
|
630
|
+
"internalType": "uint256",
|
|
631
631
|
},
|
|
632
632
|
],
|
|
633
|
-
stateMutability: "view",
|
|
633
|
+
"stateMutability": "view",
|
|
634
634
|
},
|
|
635
635
|
{
|
|
636
|
-
type: "function",
|
|
637
|
-
name: "transfer",
|
|
638
|
-
inputs: [
|
|
636
|
+
"type": "function",
|
|
637
|
+
"name": "transfer",
|
|
638
|
+
"inputs": [
|
|
639
639
|
{
|
|
640
|
-
name: "to",
|
|
641
|
-
type: "address",
|
|
642
|
-
internalType: "address",
|
|
640
|
+
"name": "to",
|
|
641
|
+
"type": "address",
|
|
642
|
+
"internalType": "address",
|
|
643
643
|
},
|
|
644
644
|
{
|
|
645
|
-
name: "value",
|
|
646
|
-
type: "uint256",
|
|
647
|
-
internalType: "uint256",
|
|
645
|
+
"name": "value",
|
|
646
|
+
"type": "uint256",
|
|
647
|
+
"internalType": "uint256",
|
|
648
648
|
},
|
|
649
649
|
],
|
|
650
|
-
outputs: [
|
|
650
|
+
"outputs": [
|
|
651
651
|
{
|
|
652
|
-
name: "",
|
|
653
|
-
type: "bool",
|
|
654
|
-
internalType: "bool",
|
|
652
|
+
"name": "",
|
|
653
|
+
"type": "bool",
|
|
654
|
+
"internalType": "bool",
|
|
655
655
|
},
|
|
656
656
|
],
|
|
657
|
-
stateMutability: "nonpayable",
|
|
657
|
+
"stateMutability": "nonpayable",
|
|
658
658
|
},
|
|
659
659
|
{
|
|
660
|
-
type: "function",
|
|
661
|
-
name: "transferFrom",
|
|
662
|
-
inputs: [
|
|
660
|
+
"type": "function",
|
|
661
|
+
"name": "transferFrom",
|
|
662
|
+
"inputs": [
|
|
663
663
|
{
|
|
664
|
-
name: "from",
|
|
665
|
-
type: "address",
|
|
666
|
-
internalType: "address",
|
|
664
|
+
"name": "from",
|
|
665
|
+
"type": "address",
|
|
666
|
+
"internalType": "address",
|
|
667
667
|
},
|
|
668
668
|
{
|
|
669
|
-
name: "to",
|
|
670
|
-
type: "address",
|
|
671
|
-
internalType: "address",
|
|
669
|
+
"name": "to",
|
|
670
|
+
"type": "address",
|
|
671
|
+
"internalType": "address",
|
|
672
672
|
},
|
|
673
673
|
{
|
|
674
|
-
name: "value",
|
|
675
|
-
type: "uint256",
|
|
676
|
-
internalType: "uint256",
|
|
674
|
+
"name": "value",
|
|
675
|
+
"type": "uint256",
|
|
676
|
+
"internalType": "uint256",
|
|
677
677
|
},
|
|
678
678
|
],
|
|
679
|
-
outputs: [
|
|
679
|
+
"outputs": [
|
|
680
680
|
{
|
|
681
|
-
name: "",
|
|
682
|
-
type: "bool",
|
|
683
|
-
internalType: "bool",
|
|
681
|
+
"name": "",
|
|
682
|
+
"type": "bool",
|
|
683
|
+
"internalType": "bool",
|
|
684
684
|
},
|
|
685
685
|
],
|
|
686
|
-
stateMutability: "nonpayable",
|
|
686
|
+
"stateMutability": "nonpayable",
|
|
687
687
|
},
|
|
688
688
|
{
|
|
689
|
-
type: "function",
|
|
690
|
-
name: "usdClassTransfer",
|
|
691
|
-
inputs: [
|
|
689
|
+
"type": "function",
|
|
690
|
+
"name": "usdClassTransfer",
|
|
691
|
+
"inputs": [
|
|
692
692
|
{
|
|
693
|
-
name: "amount_",
|
|
694
|
-
type: "uint64",
|
|
695
|
-
internalType: "uint64",
|
|
693
|
+
"name": "amount_",
|
|
694
|
+
"type": "uint64",
|
|
695
|
+
"internalType": "uint64",
|
|
696
696
|
},
|
|
697
697
|
{
|
|
698
|
-
name: "toPerp_",
|
|
699
|
-
type: "bool",
|
|
700
|
-
internalType: "bool",
|
|
698
|
+
"name": "toPerp_",
|
|
699
|
+
"type": "bool",
|
|
700
|
+
"internalType": "bool",
|
|
701
701
|
},
|
|
702
702
|
],
|
|
703
|
-
outputs: [],
|
|
704
|
-
stateMutability: "nonpayable",
|
|
703
|
+
"outputs": [],
|
|
704
|
+
"stateMutability": "nonpayable",
|
|
705
705
|
},
|
|
706
706
|
{
|
|
707
|
-
type: "function",
|
|
708
|
-
name: "userCredit",
|
|
709
|
-
inputs: [
|
|
707
|
+
"type": "function",
|
|
708
|
+
"name": "userCredit",
|
|
709
|
+
"inputs": [
|
|
710
710
|
{
|
|
711
|
-
name: "user_",
|
|
712
|
-
type: "address",
|
|
713
|
-
internalType: "address",
|
|
711
|
+
"name": "user_",
|
|
712
|
+
"type": "address",
|
|
713
|
+
"internalType": "address",
|
|
714
714
|
},
|
|
715
715
|
],
|
|
716
|
-
outputs: [
|
|
716
|
+
"outputs": [
|
|
717
717
|
{
|
|
718
|
-
name: "",
|
|
719
|
-
type: "uint256",
|
|
720
|
-
internalType: "uint256",
|
|
718
|
+
"name": "",
|
|
719
|
+
"type": "uint256",
|
|
720
|
+
"internalType": "uint256",
|
|
721
721
|
},
|
|
722
722
|
],
|
|
723
|
-
stateMutability: "view",
|
|
723
|
+
"stateMutability": "view",
|
|
724
724
|
},
|
|
725
725
|
{
|
|
726
|
-
type: "function",
|
|
727
|
-
name: "version",
|
|
728
|
-
inputs: [],
|
|
729
|
-
outputs: [
|
|
726
|
+
"type": "function",
|
|
727
|
+
"name": "version",
|
|
728
|
+
"inputs": [],
|
|
729
|
+
"outputs": [
|
|
730
730
|
{
|
|
731
|
-
name: "",
|
|
732
|
-
type: "string",
|
|
733
|
-
internalType: "string",
|
|
731
|
+
"name": "",
|
|
732
|
+
"type": "string",
|
|
733
|
+
"internalType": "string",
|
|
734
734
|
},
|
|
735
735
|
],
|
|
736
|
-
stateMutability: "pure",
|
|
736
|
+
"stateMutability": "pure",
|
|
737
737
|
},
|
|
738
738
|
{
|
|
739
|
-
type: "event",
|
|
740
|
-
name: "Approval",
|
|
741
|
-
inputs: [
|
|
739
|
+
"type": "event",
|
|
740
|
+
"name": "Approval",
|
|
741
|
+
"inputs": [
|
|
742
742
|
{
|
|
743
|
-
name: "owner",
|
|
744
|
-
type: "address",
|
|
745
|
-
indexed: true,
|
|
746
|
-
internalType: "address",
|
|
743
|
+
"name": "owner",
|
|
744
|
+
"type": "address",
|
|
745
|
+
"indexed": true,
|
|
746
|
+
"internalType": "address",
|
|
747
747
|
},
|
|
748
748
|
{
|
|
749
|
-
name: "spender",
|
|
750
|
-
type: "address",
|
|
751
|
-
indexed: true,
|
|
752
|
-
internalType: "address",
|
|
749
|
+
"name": "spender",
|
|
750
|
+
"type": "address",
|
|
751
|
+
"indexed": true,
|
|
752
|
+
"internalType": "address",
|
|
753
753
|
},
|
|
754
754
|
{
|
|
755
|
-
name: "value",
|
|
756
|
-
type: "uint256",
|
|
757
|
-
indexed: false,
|
|
758
|
-
internalType: "uint256",
|
|
755
|
+
"name": "value",
|
|
756
|
+
"type": "uint256",
|
|
757
|
+
"indexed": false,
|
|
758
|
+
"internalType": "uint256",
|
|
759
759
|
},
|
|
760
760
|
],
|
|
761
|
-
anonymous: false,
|
|
761
|
+
"anonymous": false,
|
|
762
762
|
},
|
|
763
763
|
{
|
|
764
|
-
type: "event",
|
|
765
|
-
name: "BridgeFromPerp",
|
|
766
|
-
inputs: [
|
|
764
|
+
"type": "event",
|
|
765
|
+
"name": "BridgeFromPerp",
|
|
766
|
+
"inputs": [
|
|
767
767
|
{
|
|
768
|
-
name: "sender",
|
|
769
|
-
type: "address",
|
|
770
|
-
indexed: true,
|
|
771
|
-
internalType: "address",
|
|
768
|
+
"name": "sender",
|
|
769
|
+
"type": "address",
|
|
770
|
+
"indexed": true,
|
|
771
|
+
"internalType": "address",
|
|
772
772
|
},
|
|
773
773
|
{
|
|
774
|
-
name: "amount",
|
|
775
|
-
type: "uint256",
|
|
776
|
-
indexed: false,
|
|
777
|
-
internalType: "uint256",
|
|
774
|
+
"name": "amount",
|
|
775
|
+
"type": "uint256",
|
|
776
|
+
"indexed": false,
|
|
777
|
+
"internalType": "uint256",
|
|
778
778
|
},
|
|
779
779
|
],
|
|
780
|
-
anonymous: false,
|
|
780
|
+
"anonymous": false,
|
|
781
781
|
},
|
|
782
782
|
{
|
|
783
|
-
type: "event",
|
|
784
|
-
name: "BridgeFromSpot",
|
|
785
|
-
inputs: [
|
|
783
|
+
"type": "event",
|
|
784
|
+
"name": "BridgeFromSpot",
|
|
785
|
+
"inputs": [
|
|
786
786
|
{
|
|
787
|
-
name: "sender",
|
|
788
|
-
type: "address",
|
|
789
|
-
indexed: true,
|
|
790
|
-
internalType: "address",
|
|
787
|
+
"name": "sender",
|
|
788
|
+
"type": "address",
|
|
789
|
+
"indexed": true,
|
|
790
|
+
"internalType": "address",
|
|
791
791
|
},
|
|
792
792
|
{
|
|
793
|
-
name: "amount",
|
|
794
|
-
type: "uint256",
|
|
795
|
-
indexed: false,
|
|
796
|
-
internalType: "uint256",
|
|
793
|
+
"name": "amount",
|
|
794
|
+
"type": "uint256",
|
|
795
|
+
"indexed": false,
|
|
796
|
+
"internalType": "uint256",
|
|
797
797
|
},
|
|
798
798
|
],
|
|
799
|
-
anonymous: false,
|
|
799
|
+
"anonymous": false,
|
|
800
800
|
},
|
|
801
801
|
{
|
|
802
|
-
type: "event",
|
|
803
|
-
name: "BridgeToPerp",
|
|
804
|
-
inputs: [
|
|
802
|
+
"type": "event",
|
|
803
|
+
"name": "BridgeToPerp",
|
|
804
|
+
"inputs": [
|
|
805
805
|
{
|
|
806
|
-
name: "sender",
|
|
807
|
-
type: "address",
|
|
808
|
-
indexed: true,
|
|
809
|
-
internalType: "address",
|
|
806
|
+
"name": "sender",
|
|
807
|
+
"type": "address",
|
|
808
|
+
"indexed": true,
|
|
809
|
+
"internalType": "address",
|
|
810
810
|
},
|
|
811
811
|
{
|
|
812
|
-
name: "amount",
|
|
813
|
-
type: "uint256",
|
|
814
|
-
indexed: false,
|
|
815
|
-
internalType: "uint256",
|
|
812
|
+
"name": "amount",
|
|
813
|
+
"type": "uint256",
|
|
814
|
+
"indexed": false,
|
|
815
|
+
"internalType": "uint256",
|
|
816
816
|
},
|
|
817
817
|
],
|
|
818
|
-
anonymous: false,
|
|
818
|
+
"anonymous": false,
|
|
819
819
|
},
|
|
820
820
|
{
|
|
821
|
-
type: "event",
|
|
822
|
-
name: "BridgeToSpot",
|
|
823
|
-
inputs: [
|
|
821
|
+
"type": "event",
|
|
822
|
+
"name": "BridgeToSpot",
|
|
823
|
+
"inputs": [
|
|
824
824
|
{
|
|
825
|
-
name: "sender",
|
|
826
|
-
type: "address",
|
|
827
|
-
indexed: true,
|
|
828
|
-
internalType: "address",
|
|
825
|
+
"name": "sender",
|
|
826
|
+
"type": "address",
|
|
827
|
+
"indexed": true,
|
|
828
|
+
"internalType": "address",
|
|
829
829
|
},
|
|
830
830
|
{
|
|
831
|
-
name: "amount",
|
|
832
|
-
type: "uint256",
|
|
833
|
-
indexed: false,
|
|
834
|
-
internalType: "uint256",
|
|
831
|
+
"name": "amount",
|
|
832
|
+
"type": "uint256",
|
|
833
|
+
"indexed": false,
|
|
834
|
+
"internalType": "uint256",
|
|
835
835
|
},
|
|
836
836
|
],
|
|
837
|
-
anonymous: false,
|
|
837
|
+
"anonymous": false,
|
|
838
838
|
},
|
|
839
839
|
{
|
|
840
|
-
type: "event",
|
|
841
|
-
name: "CancelRedeem",
|
|
842
|
-
inputs: [
|
|
840
|
+
"type": "event",
|
|
841
|
+
"name": "CancelRedeem",
|
|
842
|
+
"inputs": [
|
|
843
843
|
{
|
|
844
|
-
name: "user",
|
|
845
|
-
type: "address",
|
|
846
|
-
indexed: true,
|
|
847
|
-
internalType: "address",
|
|
844
|
+
"name": "user",
|
|
845
|
+
"type": "address",
|
|
846
|
+
"indexed": true,
|
|
847
|
+
"internalType": "address",
|
|
848
848
|
},
|
|
849
849
|
{
|
|
850
|
-
name: "credit",
|
|
851
|
-
type: "uint256",
|
|
852
|
-
indexed: false,
|
|
853
|
-
internalType: "uint256",
|
|
850
|
+
"name": "credit",
|
|
851
|
+
"type": "uint256",
|
|
852
|
+
"indexed": false,
|
|
853
|
+
"internalType": "uint256",
|
|
854
854
|
},
|
|
855
855
|
],
|
|
856
|
-
anonymous: false,
|
|
856
|
+
"anonymous": false,
|
|
857
857
|
},
|
|
858
858
|
{
|
|
859
|
-
type: "event",
|
|
860
|
-
name: "ExecuteRedeem",
|
|
861
|
-
inputs: [
|
|
859
|
+
"type": "event",
|
|
860
|
+
"name": "ExecuteRedeem",
|
|
861
|
+
"inputs": [
|
|
862
862
|
{
|
|
863
|
-
name: "user",
|
|
864
|
-
type: "address",
|
|
865
|
-
indexed: true,
|
|
866
|
-
internalType: "address",
|
|
863
|
+
"name": "user",
|
|
864
|
+
"type": "address",
|
|
865
|
+
"indexed": true,
|
|
866
|
+
"internalType": "address",
|
|
867
867
|
},
|
|
868
868
|
{
|
|
869
|
-
name: "ltAmount",
|
|
870
|
-
type: "uint256",
|
|
871
|
-
indexed: false,
|
|
872
|
-
internalType: "uint256",
|
|
869
|
+
"name": "ltAmount",
|
|
870
|
+
"type": "uint256",
|
|
871
|
+
"indexed": false,
|
|
872
|
+
"internalType": "uint256",
|
|
873
873
|
},
|
|
874
874
|
{
|
|
875
|
-
name: "baseAmount",
|
|
876
|
-
type: "uint256",
|
|
877
|
-
indexed: false,
|
|
878
|
-
internalType: "uint256",
|
|
875
|
+
"name": "baseAmount",
|
|
876
|
+
"type": "uint256",
|
|
877
|
+
"indexed": false,
|
|
878
|
+
"internalType": "uint256",
|
|
879
879
|
},
|
|
880
880
|
],
|
|
881
|
-
anonymous: false,
|
|
881
|
+
"anonymous": false,
|
|
882
882
|
},
|
|
883
883
|
{
|
|
884
|
-
type: "event",
|
|
885
|
-
name: "Initialized",
|
|
886
|
-
inputs: [
|
|
884
|
+
"type": "event",
|
|
885
|
+
"name": "Initialized",
|
|
886
|
+
"inputs": [
|
|
887
887
|
{
|
|
888
|
-
name: "version",
|
|
889
|
-
type: "uint64",
|
|
890
|
-
indexed: false,
|
|
891
|
-
internalType: "uint64",
|
|
888
|
+
"name": "version",
|
|
889
|
+
"type": "uint64",
|
|
890
|
+
"indexed": false,
|
|
891
|
+
"internalType": "uint64",
|
|
892
892
|
},
|
|
893
893
|
],
|
|
894
|
-
anonymous: false,
|
|
894
|
+
"anonymous": false,
|
|
895
895
|
},
|
|
896
896
|
{
|
|
897
|
-
type: "event",
|
|
898
|
-
name: "Mint",
|
|
899
|
-
inputs: [
|
|
897
|
+
"type": "event",
|
|
898
|
+
"name": "Mint",
|
|
899
|
+
"inputs": [
|
|
900
900
|
{
|
|
901
|
-
name: "minter",
|
|
902
|
-
type: "address",
|
|
903
|
-
indexed: true,
|
|
904
|
-
internalType: "address",
|
|
901
|
+
"name": "minter",
|
|
902
|
+
"type": "address",
|
|
903
|
+
"indexed": true,
|
|
904
|
+
"internalType": "address",
|
|
905
905
|
},
|
|
906
906
|
{
|
|
907
|
-
name: "to",
|
|
908
|
-
type: "address",
|
|
909
|
-
indexed: true,
|
|
910
|
-
internalType: "address",
|
|
907
|
+
"name": "to",
|
|
908
|
+
"type": "address",
|
|
909
|
+
"indexed": true,
|
|
910
|
+
"internalType": "address",
|
|
911
911
|
},
|
|
912
912
|
{
|
|
913
|
-
name: "baseAmount",
|
|
914
|
-
type: "uint256",
|
|
915
|
-
indexed: false,
|
|
916
|
-
internalType: "uint256",
|
|
913
|
+
"name": "baseAmount",
|
|
914
|
+
"type": "uint256",
|
|
915
|
+
"indexed": false,
|
|
916
|
+
"internalType": "uint256",
|
|
917
917
|
},
|
|
918
918
|
{
|
|
919
|
-
name: "ltAmount",
|
|
920
|
-
type: "uint256",
|
|
921
|
-
indexed: false,
|
|
922
|
-
internalType: "uint256",
|
|
919
|
+
"name": "ltAmount",
|
|
920
|
+
"type": "uint256",
|
|
921
|
+
"indexed": false,
|
|
922
|
+
"internalType": "uint256",
|
|
923
923
|
},
|
|
924
924
|
],
|
|
925
|
-
anonymous: false,
|
|
925
|
+
"anonymous": false,
|
|
926
926
|
},
|
|
927
927
|
{
|
|
928
|
-
type: "event",
|
|
929
|
-
name: "PrepareRedeem",
|
|
930
|
-
inputs: [
|
|
928
|
+
"type": "event",
|
|
929
|
+
"name": "PrepareRedeem",
|
|
930
|
+
"inputs": [
|
|
931
931
|
{
|
|
932
|
-
name: "sender",
|
|
933
|
-
type: "address",
|
|
934
|
-
indexed: true,
|
|
935
|
-
internalType: "address",
|
|
932
|
+
"name": "sender",
|
|
933
|
+
"type": "address",
|
|
934
|
+
"indexed": true,
|
|
935
|
+
"internalType": "address",
|
|
936
936
|
},
|
|
937
937
|
{
|
|
938
|
-
name: "ltAmount",
|
|
939
|
-
type: "uint256",
|
|
940
|
-
indexed: false,
|
|
941
|
-
internalType: "uint256",
|
|
938
|
+
"name": "ltAmount",
|
|
939
|
+
"type": "uint256",
|
|
940
|
+
"indexed": false,
|
|
941
|
+
"internalType": "uint256",
|
|
942
942
|
},
|
|
943
943
|
],
|
|
944
|
-
anonymous: false,
|
|
944
|
+
"anonymous": false,
|
|
945
945
|
},
|
|
946
946
|
{
|
|
947
|
-
type: "event",
|
|
948
|
-
name: "Redeem",
|
|
949
|
-
inputs: [
|
|
947
|
+
"type": "event",
|
|
948
|
+
"name": "Redeem",
|
|
949
|
+
"inputs": [
|
|
950
950
|
{
|
|
951
|
-
name: "sender",
|
|
952
|
-
type: "address",
|
|
953
|
-
indexed: true,
|
|
954
|
-
internalType: "address",
|
|
951
|
+
"name": "sender",
|
|
952
|
+
"type": "address",
|
|
953
|
+
"indexed": true,
|
|
954
|
+
"internalType": "address",
|
|
955
955
|
},
|
|
956
956
|
{
|
|
957
|
-
name: "to",
|
|
958
|
-
type: "address",
|
|
959
|
-
indexed: true,
|
|
960
|
-
internalType: "address",
|
|
957
|
+
"name": "to",
|
|
958
|
+
"type": "address",
|
|
959
|
+
"indexed": true,
|
|
960
|
+
"internalType": "address",
|
|
961
961
|
},
|
|
962
962
|
{
|
|
963
|
-
name: "ltAmount",
|
|
964
|
-
type: "uint256",
|
|
965
|
-
indexed: false,
|
|
966
|
-
internalType: "uint256",
|
|
963
|
+
"name": "ltAmount",
|
|
964
|
+
"type": "uint256",
|
|
965
|
+
"indexed": false,
|
|
966
|
+
"internalType": "uint256",
|
|
967
967
|
},
|
|
968
968
|
{
|
|
969
|
-
name: "baseAmount",
|
|
970
|
-
type: "uint256",
|
|
971
|
-
indexed: false,
|
|
972
|
-
internalType: "uint256",
|
|
969
|
+
"name": "baseAmount",
|
|
970
|
+
"type": "uint256",
|
|
971
|
+
"indexed": false,
|
|
972
|
+
"internalType": "uint256",
|
|
973
973
|
},
|
|
974
974
|
],
|
|
975
|
-
anonymous: false,
|
|
975
|
+
"anonymous": false,
|
|
976
976
|
},
|
|
977
977
|
{
|
|
978
|
-
type: "event",
|
|
979
|
-
name: "RemoveAgent",
|
|
980
|
-
inputs: [
|
|
978
|
+
"type": "event",
|
|
979
|
+
"name": "RemoveAgent",
|
|
980
|
+
"inputs": [
|
|
981
981
|
{
|
|
982
|
-
name: "agent",
|
|
983
|
-
type: "address",
|
|
984
|
-
indexed: true,
|
|
985
|
-
internalType: "address",
|
|
982
|
+
"name": "agent",
|
|
983
|
+
"type": "address",
|
|
984
|
+
"indexed": true,
|
|
985
|
+
"internalType": "address",
|
|
986
986
|
},
|
|
987
987
|
],
|
|
988
|
-
anonymous: false,
|
|
988
|
+
"anonymous": false,
|
|
989
989
|
},
|
|
990
990
|
{
|
|
991
|
-
type: "event",
|
|
992
|
-
name: "SendFeesToTreasury",
|
|
993
|
-
inputs: [
|
|
991
|
+
"type": "event",
|
|
992
|
+
"name": "SendFeesToTreasury",
|
|
993
|
+
"inputs": [
|
|
994
994
|
{
|
|
995
|
-
name: "amount",
|
|
996
|
-
type: "uint256",
|
|
997
|
-
indexed: false,
|
|
998
|
-
internalType: "uint256",
|
|
995
|
+
"name": "amount",
|
|
996
|
+
"type": "uint256",
|
|
997
|
+
"indexed": false,
|
|
998
|
+
"internalType": "uint256",
|
|
999
999
|
},
|
|
1000
1000
|
],
|
|
1001
|
-
anonymous: false,
|
|
1001
|
+
"anonymous": false,
|
|
1002
1002
|
},
|
|
1003
1003
|
{
|
|
1004
|
-
type: "event",
|
|
1005
|
-
name: "SetAgent",
|
|
1006
|
-
inputs: [
|
|
1004
|
+
"type": "event",
|
|
1005
|
+
"name": "SetAgent",
|
|
1006
|
+
"inputs": [
|
|
1007
1007
|
{
|
|
1008
|
-
name: "slot",
|
|
1009
|
-
type: "uint8",
|
|
1010
|
-
indexed: true,
|
|
1011
|
-
internalType: "uint8",
|
|
1008
|
+
"name": "slot",
|
|
1009
|
+
"type": "uint8",
|
|
1010
|
+
"indexed": true,
|
|
1011
|
+
"internalType": "uint8",
|
|
1012
1012
|
},
|
|
1013
1013
|
{
|
|
1014
|
-
name: "agent",
|
|
1015
|
-
type: "address",
|
|
1016
|
-
indexed: true,
|
|
1017
|
-
internalType: "address",
|
|
1014
|
+
"name": "agent",
|
|
1015
|
+
"type": "address",
|
|
1016
|
+
"indexed": true,
|
|
1017
|
+
"internalType": "address",
|
|
1018
1018
|
},
|
|
1019
1019
|
{
|
|
1020
|
-
name: "name",
|
|
1021
|
-
type: "string",
|
|
1022
|
-
indexed: false,
|
|
1023
|
-
internalType: "string",
|
|
1020
|
+
"name": "name",
|
|
1021
|
+
"type": "string",
|
|
1022
|
+
"indexed": false,
|
|
1023
|
+
"internalType": "string",
|
|
1024
1024
|
},
|
|
1025
1025
|
],
|
|
1026
|
-
anonymous: false,
|
|
1026
|
+
"anonymous": false,
|
|
1027
1027
|
},
|
|
1028
1028
|
{
|
|
1029
|
-
type: "event",
|
|
1030
|
-
name: "SetMintPaused",
|
|
1031
|
-
inputs: [
|
|
1029
|
+
"type": "event",
|
|
1030
|
+
"name": "SetMintPaused",
|
|
1031
|
+
"inputs": [
|
|
1032
1032
|
{
|
|
1033
|
-
name: "mintPaused",
|
|
1034
|
-
type: "bool",
|
|
1035
|
-
indexed: false,
|
|
1036
|
-
internalType: "bool",
|
|
1033
|
+
"name": "mintPaused",
|
|
1034
|
+
"type": "bool",
|
|
1035
|
+
"indexed": false,
|
|
1036
|
+
"internalType": "bool",
|
|
1037
1037
|
},
|
|
1038
1038
|
],
|
|
1039
|
-
anonymous: false,
|
|
1039
|
+
"anonymous": false,
|
|
1040
1040
|
},
|
|
1041
1041
|
{
|
|
1042
|
-
type: "event",
|
|
1043
|
-
name: "Transfer",
|
|
1044
|
-
inputs: [
|
|
1042
|
+
"type": "event",
|
|
1043
|
+
"name": "Transfer",
|
|
1044
|
+
"inputs": [
|
|
1045
1045
|
{
|
|
1046
|
-
name: "from",
|
|
1047
|
-
type: "address",
|
|
1048
|
-
indexed: true,
|
|
1049
|
-
internalType: "address",
|
|
1046
|
+
"name": "from",
|
|
1047
|
+
"type": "address",
|
|
1048
|
+
"indexed": true,
|
|
1049
|
+
"internalType": "address",
|
|
1050
1050
|
},
|
|
1051
1051
|
{
|
|
1052
|
-
name: "to",
|
|
1053
|
-
type: "address",
|
|
1054
|
-
indexed: true,
|
|
1055
|
-
internalType: "address",
|
|
1052
|
+
"name": "to",
|
|
1053
|
+
"type": "address",
|
|
1054
|
+
"indexed": true,
|
|
1055
|
+
"internalType": "address",
|
|
1056
1056
|
},
|
|
1057
1057
|
{
|
|
1058
|
-
name: "value",
|
|
1059
|
-
type: "uint256",
|
|
1060
|
-
indexed: false,
|
|
1061
|
-
internalType: "uint256",
|
|
1058
|
+
"name": "value",
|
|
1059
|
+
"type": "uint256",
|
|
1060
|
+
"indexed": false,
|
|
1061
|
+
"internalType": "uint256",
|
|
1062
1062
|
},
|
|
1063
1063
|
],
|
|
1064
|
-
anonymous: false,
|
|
1064
|
+
"anonymous": false,
|
|
1065
1065
|
},
|
|
1066
1066
|
{
|
|
1067
|
-
type: "event",
|
|
1068
|
-
name: "UsdClassTransfer",
|
|
1069
|
-
inputs: [
|
|
1067
|
+
"type": "event",
|
|
1068
|
+
"name": "UsdClassTransfer",
|
|
1069
|
+
"inputs": [
|
|
1070
1070
|
{
|
|
1071
|
-
name: "sender",
|
|
1072
|
-
type: "address",
|
|
1073
|
-
indexed: true,
|
|
1074
|
-
internalType: "address",
|
|
1071
|
+
"name": "sender",
|
|
1072
|
+
"type": "address",
|
|
1073
|
+
"indexed": true,
|
|
1074
|
+
"internalType": "address",
|
|
1075
1075
|
},
|
|
1076
1076
|
{
|
|
1077
|
-
name: "amount",
|
|
1078
|
-
type: "uint256",
|
|
1079
|
-
indexed: false,
|
|
1080
|
-
internalType: "uint256",
|
|
1077
|
+
"name": "amount",
|
|
1078
|
+
"type": "uint256",
|
|
1079
|
+
"indexed": false,
|
|
1080
|
+
"internalType": "uint256",
|
|
1081
1081
|
},
|
|
1082
1082
|
{
|
|
1083
|
-
name: "toPerp",
|
|
1084
|
-
type: "bool",
|
|
1085
|
-
indexed: false,
|
|
1086
|
-
internalType: "bool",
|
|
1083
|
+
"name": "toPerp",
|
|
1084
|
+
"type": "bool",
|
|
1085
|
+
"indexed": false,
|
|
1086
|
+
"internalType": "bool",
|
|
1087
1087
|
},
|
|
1088
1088
|
],
|
|
1089
|
-
anonymous: false,
|
|
1089
|
+
"anonymous": false,
|
|
1090
1090
|
},
|
|
1091
1091
|
{
|
|
1092
|
-
type: "error",
|
|
1093
|
-
name: "AlreadyCreated",
|
|
1094
|
-
inputs: [],
|
|
1092
|
+
"type": "error",
|
|
1093
|
+
"name": "AlreadyCreated",
|
|
1094
|
+
"inputs": [],
|
|
1095
1095
|
},
|
|
1096
1096
|
{
|
|
1097
|
-
type: "error",
|
|
1098
|
-
name: "AlreadyRedeeming",
|
|
1099
|
-
inputs: [],
|
|
1097
|
+
"type": "error",
|
|
1098
|
+
"name": "AlreadyRedeeming",
|
|
1099
|
+
"inputs": [],
|
|
1100
1100
|
},
|
|
1101
1101
|
{
|
|
1102
|
-
type: "error",
|
|
1103
|
-
name: "BelowMinTransactionSize",
|
|
1104
|
-
inputs: [],
|
|
1102
|
+
"type": "error",
|
|
1103
|
+
"name": "BelowMinTransactionSize",
|
|
1104
|
+
"inputs": [],
|
|
1105
1105
|
},
|
|
1106
1106
|
{
|
|
1107
|
-
type: "error",
|
|
1108
|
-
name: "CancelDelayNotElapsed",
|
|
1109
|
-
inputs: [],
|
|
1107
|
+
"type": "error",
|
|
1108
|
+
"name": "CancelDelayNotElapsed",
|
|
1109
|
+
"inputs": [],
|
|
1110
1110
|
},
|
|
1111
1111
|
{
|
|
1112
|
-
type: "error",
|
|
1113
|
-
name: "CoreWriterLib__CannotSelfTransfer",
|
|
1114
|
-
inputs: [],
|
|
1112
|
+
"type": "error",
|
|
1113
|
+
"name": "CoreWriterLib__CannotSelfTransfer",
|
|
1114
|
+
"inputs": [],
|
|
1115
1115
|
},
|
|
1116
1116
|
{
|
|
1117
|
-
type: "error",
|
|
1118
|
-
name: "CoreWriterLib__CoreAmountTooLarge",
|
|
1119
|
-
inputs: [
|
|
1117
|
+
"type": "error",
|
|
1118
|
+
"name": "CoreWriterLib__CoreAmountTooLarge",
|
|
1119
|
+
"inputs": [
|
|
1120
1120
|
{
|
|
1121
|
-
name: "amount",
|
|
1122
|
-
type: "uint256",
|
|
1123
|
-
internalType: "uint256",
|
|
1121
|
+
"name": "amount",
|
|
1122
|
+
"type": "uint256",
|
|
1123
|
+
"internalType": "uint256",
|
|
1124
1124
|
},
|
|
1125
1125
|
],
|
|
1126
1126
|
},
|
|
1127
1127
|
{
|
|
1128
|
-
type: "error",
|
|
1129
|
-
name: "CoreWriterLib__EvmAmountTooSmall",
|
|
1130
|
-
inputs: [
|
|
1128
|
+
"type": "error",
|
|
1129
|
+
"name": "CoreWriterLib__EvmAmountTooSmall",
|
|
1130
|
+
"inputs": [
|
|
1131
1131
|
{
|
|
1132
|
-
name: "amount",
|
|
1133
|
-
type: "uint256",
|
|
1134
|
-
internalType: "uint256",
|
|
1132
|
+
"name": "amount",
|
|
1133
|
+
"type": "uint256",
|
|
1134
|
+
"internalType": "uint256",
|
|
1135
1135
|
},
|
|
1136
1136
|
],
|
|
1137
1137
|
},
|
|
1138
1138
|
{
|
|
1139
|
-
type: "error",
|
|
1140
|
-
name: "CoreWriterLib__HypeTransferFailed",
|
|
1141
|
-
inputs: [],
|
|
1139
|
+
"type": "error",
|
|
1140
|
+
"name": "CoreWriterLib__HypeTransferFailed",
|
|
1141
|
+
"inputs": [],
|
|
1142
1142
|
},
|
|
1143
1143
|
{
|
|
1144
|
-
type: "error",
|
|
1145
|
-
name: "DivisionByZero",
|
|
1146
|
-
inputs: [],
|
|
1144
|
+
"type": "error",
|
|
1145
|
+
"name": "DivisionByZero",
|
|
1146
|
+
"inputs": [],
|
|
1147
1147
|
},
|
|
1148
1148
|
{
|
|
1149
|
-
type: "error",
|
|
1150
|
-
name: "ERC20InsufficientAllowance",
|
|
1151
|
-
inputs: [
|
|
1149
|
+
"type": "error",
|
|
1150
|
+
"name": "ERC20InsufficientAllowance",
|
|
1151
|
+
"inputs": [
|
|
1152
1152
|
{
|
|
1153
|
-
name: "spender",
|
|
1154
|
-
type: "address",
|
|
1155
|
-
internalType: "address",
|
|
1153
|
+
"name": "spender",
|
|
1154
|
+
"type": "address",
|
|
1155
|
+
"internalType": "address",
|
|
1156
1156
|
},
|
|
1157
1157
|
{
|
|
1158
|
-
name: "allowance",
|
|
1159
|
-
type: "uint256",
|
|
1160
|
-
internalType: "uint256",
|
|
1158
|
+
"name": "allowance",
|
|
1159
|
+
"type": "uint256",
|
|
1160
|
+
"internalType": "uint256",
|
|
1161
1161
|
},
|
|
1162
1162
|
{
|
|
1163
|
-
name: "needed",
|
|
1164
|
-
type: "uint256",
|
|
1165
|
-
internalType: "uint256",
|
|
1163
|
+
"name": "needed",
|
|
1164
|
+
"type": "uint256",
|
|
1165
|
+
"internalType": "uint256",
|
|
1166
1166
|
},
|
|
1167
1167
|
],
|
|
1168
1168
|
},
|
|
1169
1169
|
{
|
|
1170
|
-
type: "error",
|
|
1171
|
-
name: "ERC20InsufficientBalance",
|
|
1172
|
-
inputs: [
|
|
1170
|
+
"type": "error",
|
|
1171
|
+
"name": "ERC20InsufficientBalance",
|
|
1172
|
+
"inputs": [
|
|
1173
1173
|
{
|
|
1174
|
-
name: "sender",
|
|
1175
|
-
type: "address",
|
|
1176
|
-
internalType: "address",
|
|
1174
|
+
"name": "sender",
|
|
1175
|
+
"type": "address",
|
|
1176
|
+
"internalType": "address",
|
|
1177
1177
|
},
|
|
1178
1178
|
{
|
|
1179
|
-
name: "balance",
|
|
1180
|
-
type: "uint256",
|
|
1181
|
-
internalType: "uint256",
|
|
1179
|
+
"name": "balance",
|
|
1180
|
+
"type": "uint256",
|
|
1181
|
+
"internalType": "uint256",
|
|
1182
1182
|
},
|
|
1183
1183
|
{
|
|
1184
|
-
name: "needed",
|
|
1185
|
-
type: "uint256",
|
|
1186
|
-
internalType: "uint256",
|
|
1184
|
+
"name": "needed",
|
|
1185
|
+
"type": "uint256",
|
|
1186
|
+
"internalType": "uint256",
|
|
1187
1187
|
},
|
|
1188
1188
|
],
|
|
1189
1189
|
},
|
|
1190
1190
|
{
|
|
1191
|
-
type: "error",
|
|
1192
|
-
name: "ERC20InvalidApprover",
|
|
1193
|
-
inputs: [
|
|
1191
|
+
"type": "error",
|
|
1192
|
+
"name": "ERC20InvalidApprover",
|
|
1193
|
+
"inputs": [
|
|
1194
1194
|
{
|
|
1195
|
-
name: "approver",
|
|
1196
|
-
type: "address",
|
|
1197
|
-
internalType: "address",
|
|
1195
|
+
"name": "approver",
|
|
1196
|
+
"type": "address",
|
|
1197
|
+
"internalType": "address",
|
|
1198
1198
|
},
|
|
1199
1199
|
],
|
|
1200
1200
|
},
|
|
1201
1201
|
{
|
|
1202
|
-
type: "error",
|
|
1203
|
-
name: "ERC20InvalidReceiver",
|
|
1204
|
-
inputs: [
|
|
1202
|
+
"type": "error",
|
|
1203
|
+
"name": "ERC20InvalidReceiver",
|
|
1204
|
+
"inputs": [
|
|
1205
1205
|
{
|
|
1206
|
-
name: "receiver",
|
|
1207
|
-
type: "address",
|
|
1208
|
-
internalType: "address",
|
|
1206
|
+
"name": "receiver",
|
|
1207
|
+
"type": "address",
|
|
1208
|
+
"internalType": "address",
|
|
1209
1209
|
},
|
|
1210
1210
|
],
|
|
1211
1211
|
},
|
|
1212
1212
|
{
|
|
1213
|
-
type: "error",
|
|
1214
|
-
name: "ERC20InvalidSender",
|
|
1215
|
-
inputs: [
|
|
1213
|
+
"type": "error",
|
|
1214
|
+
"name": "ERC20InvalidSender",
|
|
1215
|
+
"inputs": [
|
|
1216
1216
|
{
|
|
1217
|
-
name: "sender",
|
|
1218
|
-
type: "address",
|
|
1219
|
-
internalType: "address",
|
|
1217
|
+
"name": "sender",
|
|
1218
|
+
"type": "address",
|
|
1219
|
+
"internalType": "address",
|
|
1220
1220
|
},
|
|
1221
1221
|
],
|
|
1222
1222
|
},
|
|
1223
1223
|
{
|
|
1224
|
-
type: "error",
|
|
1225
|
-
name: "ERC20InvalidSpender",
|
|
1226
|
-
inputs: [
|
|
1224
|
+
"type": "error",
|
|
1225
|
+
"name": "ERC20InvalidSpender",
|
|
1226
|
+
"inputs": [
|
|
1227
1227
|
{
|
|
1228
|
-
name: "spender",
|
|
1229
|
-
type: "address",
|
|
1230
|
-
internalType: "address",
|
|
1228
|
+
"name": "spender",
|
|
1229
|
+
"type": "address",
|
|
1230
|
+
"internalType": "address",
|
|
1231
1231
|
},
|
|
1232
1232
|
],
|
|
1233
1233
|
},
|
|
1234
1234
|
{
|
|
1235
|
-
type: "error",
|
|
1236
|
-
name: "HLConversions__InvalidToken",
|
|
1237
|
-
inputs: [
|
|
1235
|
+
"type": "error",
|
|
1236
|
+
"name": "HLConversions__InvalidToken",
|
|
1237
|
+
"inputs": [
|
|
1238
1238
|
{
|
|
1239
|
-
name: "token",
|
|
1240
|
-
type: "uint64",
|
|
1241
|
-
internalType: "uint64",
|
|
1239
|
+
"name": "token",
|
|
1240
|
+
"type": "uint64",
|
|
1241
|
+
"internalType": "uint64",
|
|
1242
1242
|
},
|
|
1243
1243
|
],
|
|
1244
1244
|
},
|
|
1245
1245
|
{
|
|
1246
|
-
type: "error",
|
|
1247
|
-
name: "InsufficientBalance",
|
|
1248
|
-
inputs: [],
|
|
1246
|
+
"type": "error",
|
|
1247
|
+
"name": "InsufficientBalance",
|
|
1248
|
+
"inputs": [],
|
|
1249
1249
|
},
|
|
1250
1250
|
{
|
|
1251
|
-
type: "error",
|
|
1252
|
-
name: "InvalidAddress",
|
|
1253
|
-
inputs: [],
|
|
1251
|
+
"type": "error",
|
|
1252
|
+
"name": "InvalidAddress",
|
|
1253
|
+
"inputs": [],
|
|
1254
1254
|
},
|
|
1255
1255
|
{
|
|
1256
|
-
type: "error",
|
|
1257
|
-
name: "InvalidAgentSlot",
|
|
1258
|
-
inputs: [],
|
|
1256
|
+
"type": "error",
|
|
1257
|
+
"name": "InvalidAgentSlot",
|
|
1258
|
+
"inputs": [],
|
|
1259
1259
|
},
|
|
1260
1260
|
{
|
|
1261
|
-
type: "error",
|
|
1262
|
-
name: "InvalidAmount",
|
|
1263
|
-
inputs: [],
|
|
1261
|
+
"type": "error",
|
|
1262
|
+
"name": "InvalidAmount",
|
|
1263
|
+
"inputs": [],
|
|
1264
1264
|
},
|
|
1265
1265
|
{
|
|
1266
|
-
type: "error",
|
|
1267
|
-
name: "InvalidInitialization",
|
|
1268
|
-
inputs: [],
|
|
1266
|
+
"type": "error",
|
|
1267
|
+
"name": "InvalidInitialization",
|
|
1268
|
+
"inputs": [],
|
|
1269
1269
|
},
|
|
1270
1270
|
{
|
|
1271
|
-
type: "error",
|
|
1272
|
-
name: "LeveragedTokenNotActivated",
|
|
1273
|
-
inputs: [],
|
|
1271
|
+
"type": "error",
|
|
1272
|
+
"name": "LeveragedTokenNotActivated",
|
|
1273
|
+
"inputs": [],
|
|
1274
1274
|
},
|
|
1275
1275
|
{
|
|
1276
|
-
type: "error",
|
|
1277
|
-
name: "MintPaused",
|
|
1278
|
-
inputs: [],
|
|
1276
|
+
"type": "error",
|
|
1277
|
+
"name": "MintPaused",
|
|
1278
|
+
"inputs": [],
|
|
1279
1279
|
},
|
|
1280
1280
|
{
|
|
1281
|
-
type: "error",
|
|
1282
|
-
name: "NotAgent",
|
|
1283
|
-
inputs: [],
|
|
1281
|
+
"type": "error",
|
|
1282
|
+
"name": "NotAgent",
|
|
1283
|
+
"inputs": [],
|
|
1284
1284
|
},
|
|
1285
1285
|
{
|
|
1286
|
-
type: "error",
|
|
1287
|
-
name: "NotExecutor",
|
|
1288
|
-
inputs: [],
|
|
1286
|
+
"type": "error",
|
|
1287
|
+
"name": "NotExecutor",
|
|
1288
|
+
"inputs": [],
|
|
1289
1289
|
},
|
|
1290
1290
|
{
|
|
1291
|
-
type: "error",
|
|
1292
|
-
name: "NotInitializing",
|
|
1293
|
-
inputs: [],
|
|
1291
|
+
"type": "error",
|
|
1292
|
+
"name": "NotInitializing",
|
|
1293
|
+
"inputs": [],
|
|
1294
1294
|
},
|
|
1295
1295
|
{
|
|
1296
|
-
type: "error",
|
|
1297
|
-
name: "NotOwner",
|
|
1298
|
-
inputs: [],
|
|
1296
|
+
"type": "error",
|
|
1297
|
+
"name": "NotOwner",
|
|
1298
|
+
"inputs": [],
|
|
1299
1299
|
},
|
|
1300
1300
|
{
|
|
1301
|
-
type: "error",
|
|
1302
|
-
name: "NotRedeeming",
|
|
1303
|
-
inputs: [],
|
|
1301
|
+
"type": "error",
|
|
1302
|
+
"name": "NotRedeeming",
|
|
1303
|
+
"inputs": [],
|
|
1304
1304
|
},
|
|
1305
1305
|
{
|
|
1306
|
-
type: "error",
|
|
1307
|
-
name: "PrecompileLib__TokenInfoPrecompileFailed",
|
|
1308
|
-
inputs: [],
|
|
1306
|
+
"type": "error",
|
|
1307
|
+
"name": "PrecompileLib__TokenInfoPrecompileFailed",
|
|
1308
|
+
"inputs": [],
|
|
1309
1309
|
},
|
|
1310
1310
|
{
|
|
1311
|
-
type: "error",
|
|
1312
|
-
name: "SafeCastOverflowedUintDowncast",
|
|
1313
|
-
inputs: [
|
|
1311
|
+
"type": "error",
|
|
1312
|
+
"name": "SafeCastOverflowedUintDowncast",
|
|
1313
|
+
"inputs": [
|
|
1314
1314
|
{
|
|
1315
|
-
name: "bits",
|
|
1316
|
-
type: "uint8",
|
|
1317
|
-
internalType: "uint8",
|
|
1315
|
+
"name": "bits",
|
|
1316
|
+
"type": "uint8",
|
|
1317
|
+
"internalType": "uint8",
|
|
1318
1318
|
},
|
|
1319
1319
|
{
|
|
1320
|
-
name: "value",
|
|
1321
|
-
type: "uint256",
|
|
1322
|
-
internalType: "uint256",
|
|
1320
|
+
"name": "value",
|
|
1321
|
+
"type": "uint256",
|
|
1322
|
+
"internalType": "uint256",
|
|
1323
1323
|
},
|
|
1324
1324
|
],
|
|
1325
1325
|
},
|
|
1326
1326
|
{
|
|
1327
|
-
type: "error",
|
|
1328
|
-
name: "SafeERC20FailedOperation",
|
|
1329
|
-
inputs: [
|
|
1327
|
+
"type": "error",
|
|
1328
|
+
"name": "SafeERC20FailedOperation",
|
|
1329
|
+
"inputs": [
|
|
1330
1330
|
{
|
|
1331
|
-
name: "token",
|
|
1332
|
-
type: "address",
|
|
1333
|
-
internalType: "address",
|
|
1331
|
+
"name": "token",
|
|
1332
|
+
"type": "address",
|
|
1333
|
+
"internalType": "address",
|
|
1334
1334
|
},
|
|
1335
1335
|
],
|
|
1336
1336
|
},
|
|
1337
1337
|
{
|
|
1338
|
-
type: "error",
|
|
1339
|
-
name: "SameAsCurrent",
|
|
1340
|
-
inputs: [],
|
|
1338
|
+
"type": "error",
|
|
1339
|
+
"name": "SameAsCurrent",
|
|
1340
|
+
"inputs": [],
|
|
1341
1341
|
},
|
|
1342
1342
|
{
|
|
1343
|
-
type: "error",
|
|
1344
|
-
name: "SlippageExceeded",
|
|
1345
|
-
inputs: [],
|
|
1343
|
+
"type": "error",
|
|
1344
|
+
"name": "SlippageExceeded",
|
|
1345
|
+
"inputs": [],
|
|
1346
1346
|
},
|
|
1347
1347
|
];
|