@gitmyabi/vault 1.0.0 → 1.0.2
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/README.md +3 -3
- package/contracts/Vault_json.d.ts +963 -2318
- package/contracts/Vault_json.js +1149 -2882
- package/contracts/Vault_json.ts +1206 -3157
- package/package.json +3 -3
package/contracts/Vault_json.js
CHANGED
|
@@ -11,13 +11,8 @@ exports.Vault_jsonAbi = [
|
|
|
11
11
|
{
|
|
12
12
|
"inputs": [
|
|
13
13
|
{
|
|
14
|
-
"internalType": "
|
|
15
|
-
"name": "
|
|
16
|
-
"type": "address"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"internalType": "address",
|
|
20
|
-
"name": "vaultFactory_",
|
|
14
|
+
"internalType": "contract IKeyManager",
|
|
15
|
+
"name": "keyManager",
|
|
21
16
|
"type": "address"
|
|
22
17
|
}
|
|
23
18
|
],
|
|
@@ -25,2028 +20,583 @@ exports.Vault_jsonAbi = [
|
|
|
25
20
|
"type": "constructor"
|
|
26
21
|
},
|
|
27
22
|
{
|
|
28
|
-
"
|
|
29
|
-
"name": "AccessControlBadConfirmation",
|
|
30
|
-
"type": "error"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
23
|
+
"anonymous": false,
|
|
33
24
|
"inputs": [
|
|
34
25
|
{
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"name": "AccessControlEnforcedDefaultAdminDelay",
|
|
41
|
-
"type": "error"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"inputs": [],
|
|
45
|
-
"name": "AccessControlEnforcedDefaultAdminRules",
|
|
46
|
-
"type": "error"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"inputs": [
|
|
26
|
+
"indexed": false,
|
|
27
|
+
"internalType": "bytes32",
|
|
28
|
+
"name": "swapID",
|
|
29
|
+
"type": "bytes32"
|
|
30
|
+
},
|
|
50
31
|
{
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
32
|
+
"indexed": false,
|
|
33
|
+
"internalType": "uint256",
|
|
34
|
+
"name": "amount",
|
|
35
|
+
"type": "uint256"
|
|
54
36
|
}
|
|
55
37
|
],
|
|
56
|
-
"name": "
|
|
57
|
-
"type": "
|
|
38
|
+
"name": "AddGasNative",
|
|
39
|
+
"type": "event"
|
|
58
40
|
},
|
|
59
41
|
{
|
|
42
|
+
"anonymous": false,
|
|
60
43
|
"inputs": [
|
|
61
44
|
{
|
|
62
|
-
"
|
|
63
|
-
"name": "account",
|
|
64
|
-
"type": "address"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
45
|
+
"indexed": false,
|
|
67
46
|
"internalType": "bytes32",
|
|
68
|
-
"name": "
|
|
47
|
+
"name": "swapID",
|
|
69
48
|
"type": "bytes32"
|
|
70
|
-
}
|
|
71
|
-
],
|
|
72
|
-
"name": "AccessControlUnauthorizedAccount",
|
|
73
|
-
"type": "error"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"inputs": [
|
|
49
|
+
},
|
|
77
50
|
{
|
|
51
|
+
"indexed": false,
|
|
52
|
+
"internalType": "uint256",
|
|
53
|
+
"name": "amount",
|
|
54
|
+
"type": "uint256"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"indexed": false,
|
|
78
58
|
"internalType": "address",
|
|
79
|
-
"name": "
|
|
59
|
+
"name": "token",
|
|
80
60
|
"type": "address"
|
|
81
61
|
}
|
|
82
62
|
],
|
|
83
|
-
"name": "
|
|
84
|
-
"type": "
|
|
63
|
+
"name": "AddGasToken",
|
|
64
|
+
"type": "event"
|
|
85
65
|
},
|
|
86
66
|
{
|
|
67
|
+
"anonymous": false,
|
|
87
68
|
"inputs": [
|
|
88
69
|
{
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
70
|
+
"indexed": false,
|
|
71
|
+
"internalType": "bool",
|
|
72
|
+
"name": "communityGuardDisabled",
|
|
73
|
+
"type": "bool"
|
|
92
74
|
}
|
|
93
75
|
],
|
|
94
|
-
"name": "
|
|
95
|
-
"type": "
|
|
76
|
+
"name": "CommunityGuardDisabled",
|
|
77
|
+
"type": "event"
|
|
96
78
|
},
|
|
97
79
|
{
|
|
80
|
+
"anonymous": false,
|
|
98
81
|
"inputs": [
|
|
99
82
|
{
|
|
83
|
+
"indexed": true,
|
|
84
|
+
"internalType": "address payable",
|
|
85
|
+
"name": "multicallAddress",
|
|
86
|
+
"type": "address"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"indexed": false,
|
|
90
|
+
"internalType": "uint256",
|
|
91
|
+
"name": "amount",
|
|
92
|
+
"type": "uint256"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"indexed": true,
|
|
100
96
|
"internalType": "address",
|
|
101
|
-
"name": "
|
|
97
|
+
"name": "token",
|
|
102
98
|
"type": "address"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"indexed": false,
|
|
102
|
+
"internalType": "bytes",
|
|
103
|
+
"name": "reason",
|
|
104
|
+
"type": "bytes"
|
|
103
105
|
}
|
|
104
106
|
],
|
|
105
|
-
"name": "
|
|
106
|
-
"type": "
|
|
107
|
+
"name": "ExecuteActionsFailed",
|
|
108
|
+
"type": "event"
|
|
107
109
|
},
|
|
108
110
|
{
|
|
111
|
+
"anonymous": false,
|
|
109
112
|
"inputs": [
|
|
110
113
|
{
|
|
114
|
+
"indexed": true,
|
|
111
115
|
"internalType": "address",
|
|
112
|
-
"name": "
|
|
116
|
+
"name": "sender",
|
|
113
117
|
"type": "address"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"indexed": false,
|
|
121
|
+
"internalType": "uint256",
|
|
122
|
+
"name": "amount",
|
|
123
|
+
"type": "uint256"
|
|
114
124
|
}
|
|
115
125
|
],
|
|
116
|
-
"name": "
|
|
117
|
-
"type": "
|
|
126
|
+
"name": "FetchedNative",
|
|
127
|
+
"type": "event"
|
|
118
128
|
},
|
|
119
129
|
{
|
|
130
|
+
"anonymous": false,
|
|
120
131
|
"inputs": [
|
|
121
132
|
{
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
133
|
+
"indexed": false,
|
|
134
|
+
"internalType": "bool",
|
|
135
|
+
"name": "suspended",
|
|
136
|
+
"type": "bool"
|
|
125
137
|
}
|
|
126
138
|
],
|
|
127
|
-
"name": "
|
|
128
|
-
"type": "
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"inputs": [],
|
|
132
|
-
"name": "AmountZero",
|
|
133
|
-
"type": "error"
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"inputs": [],
|
|
137
|
-
"name": "DepositPaused",
|
|
138
|
-
"type": "error"
|
|
139
|
+
"name": "Suspended",
|
|
140
|
+
"type": "event"
|
|
139
141
|
},
|
|
140
142
|
{
|
|
143
|
+
"anonymous": false,
|
|
141
144
|
"inputs": [
|
|
142
145
|
{
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
+
"indexed": false,
|
|
147
|
+
"internalType": "uint32",
|
|
148
|
+
"name": "dstChain",
|
|
149
|
+
"type": "uint32"
|
|
146
150
|
},
|
|
147
151
|
{
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"
|
|
152
|
+
"indexed": false,
|
|
153
|
+
"internalType": "bytes",
|
|
154
|
+
"name": "dstAddress",
|
|
155
|
+
"type": "bytes"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"indexed": false,
|
|
159
|
+
"internalType": "uint32",
|
|
160
|
+
"name": "dstToken",
|
|
161
|
+
"type": "uint32"
|
|
151
162
|
},
|
|
152
163
|
{
|
|
164
|
+
"indexed": false,
|
|
153
165
|
"internalType": "uint256",
|
|
154
|
-
"name": "
|
|
166
|
+
"name": "amount",
|
|
155
167
|
"type": "uint256"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"indexed": true,
|
|
171
|
+
"internalType": "address",
|
|
172
|
+
"name": "sender",
|
|
173
|
+
"type": "address"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"indexed": false,
|
|
177
|
+
"internalType": "bytes",
|
|
178
|
+
"name": "cfParameters",
|
|
179
|
+
"type": "bytes"
|
|
156
180
|
}
|
|
157
181
|
],
|
|
158
|
-
"name": "
|
|
159
|
-
"type": "
|
|
182
|
+
"name": "SwapNative",
|
|
183
|
+
"type": "event"
|
|
160
184
|
},
|
|
161
185
|
{
|
|
186
|
+
"anonymous": false,
|
|
162
187
|
"inputs": [
|
|
163
188
|
{
|
|
189
|
+
"indexed": false,
|
|
190
|
+
"internalType": "uint32",
|
|
191
|
+
"name": "dstChain",
|
|
192
|
+
"type": "uint32"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"indexed": false,
|
|
196
|
+
"internalType": "bytes",
|
|
197
|
+
"name": "dstAddress",
|
|
198
|
+
"type": "bytes"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"indexed": false,
|
|
202
|
+
"internalType": "uint32",
|
|
203
|
+
"name": "dstToken",
|
|
204
|
+
"type": "uint32"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"indexed": false,
|
|
164
208
|
"internalType": "address",
|
|
165
|
-
"name": "
|
|
209
|
+
"name": "srcToken",
|
|
166
210
|
"type": "address"
|
|
167
211
|
},
|
|
168
212
|
{
|
|
213
|
+
"indexed": false,
|
|
169
214
|
"internalType": "uint256",
|
|
170
|
-
"name": "
|
|
215
|
+
"name": "amount",
|
|
171
216
|
"type": "uint256"
|
|
172
217
|
},
|
|
173
218
|
{
|
|
174
|
-
"
|
|
175
|
-
"name": "needed",
|
|
176
|
-
"type": "uint256"
|
|
177
|
-
}
|
|
178
|
-
],
|
|
179
|
-
"name": "ERC20InsufficientBalance",
|
|
180
|
-
"type": "error"
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"inputs": [
|
|
184
|
-
{
|
|
219
|
+
"indexed": true,
|
|
185
220
|
"internalType": "address",
|
|
186
|
-
"name": "
|
|
221
|
+
"name": "sender",
|
|
187
222
|
"type": "address"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"indexed": false,
|
|
226
|
+
"internalType": "bytes",
|
|
227
|
+
"name": "cfParameters",
|
|
228
|
+
"type": "bytes"
|
|
188
229
|
}
|
|
189
230
|
],
|
|
190
|
-
"name": "
|
|
191
|
-
"type": "
|
|
231
|
+
"name": "SwapToken",
|
|
232
|
+
"type": "event"
|
|
192
233
|
},
|
|
193
234
|
{
|
|
235
|
+
"anonymous": false,
|
|
194
236
|
"inputs": [
|
|
195
237
|
{
|
|
196
|
-
"
|
|
197
|
-
"
|
|
238
|
+
"indexed": true,
|
|
239
|
+
"internalType": "address payable",
|
|
240
|
+
"name": "recipient",
|
|
198
241
|
"type": "address"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"indexed": false,
|
|
245
|
+
"internalType": "uint256",
|
|
246
|
+
"name": "amount",
|
|
247
|
+
"type": "uint256"
|
|
199
248
|
}
|
|
200
249
|
],
|
|
201
|
-
"name": "
|
|
202
|
-
"type": "
|
|
250
|
+
"name": "TransferNativeFailed",
|
|
251
|
+
"type": "event"
|
|
203
252
|
},
|
|
204
253
|
{
|
|
254
|
+
"anonymous": false,
|
|
205
255
|
"inputs": [
|
|
206
256
|
{
|
|
257
|
+
"indexed": true,
|
|
258
|
+
"internalType": "address payable",
|
|
259
|
+
"name": "recipient",
|
|
260
|
+
"type": "address"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"indexed": false,
|
|
264
|
+
"internalType": "uint256",
|
|
265
|
+
"name": "amount",
|
|
266
|
+
"type": "uint256"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"indexed": true,
|
|
207
270
|
"internalType": "address",
|
|
208
|
-
"name": "
|
|
271
|
+
"name": "token",
|
|
209
272
|
"type": "address"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"indexed": false,
|
|
276
|
+
"internalType": "bytes",
|
|
277
|
+
"name": "reason",
|
|
278
|
+
"type": "bytes"
|
|
210
279
|
}
|
|
211
280
|
],
|
|
212
|
-
"name": "
|
|
213
|
-
"type": "
|
|
281
|
+
"name": "TransferTokenFailed",
|
|
282
|
+
"type": "event"
|
|
214
283
|
},
|
|
215
284
|
{
|
|
285
|
+
"anonymous": false,
|
|
216
286
|
"inputs": [
|
|
217
287
|
{
|
|
288
|
+
"indexed": false,
|
|
218
289
|
"internalType": "address",
|
|
219
|
-
"name": "
|
|
290
|
+
"name": "keyManager",
|
|
220
291
|
"type": "address"
|
|
221
292
|
}
|
|
222
293
|
],
|
|
223
|
-
"name": "
|
|
224
|
-
"type": "
|
|
294
|
+
"name": "UpdatedKeyManager",
|
|
295
|
+
"type": "event"
|
|
225
296
|
},
|
|
226
297
|
{
|
|
298
|
+
"anonymous": false,
|
|
227
299
|
"inputs": [
|
|
228
300
|
{
|
|
229
|
-
"
|
|
230
|
-
"
|
|
231
|
-
"
|
|
301
|
+
"indexed": false,
|
|
302
|
+
"internalType": "uint32",
|
|
303
|
+
"name": "dstChain",
|
|
304
|
+
"type": "uint32"
|
|
232
305
|
},
|
|
233
306
|
{
|
|
234
|
-
"
|
|
235
|
-
"
|
|
236
|
-
"
|
|
307
|
+
"indexed": false,
|
|
308
|
+
"internalType": "bytes",
|
|
309
|
+
"name": "dstAddress",
|
|
310
|
+
"type": "bytes"
|
|
237
311
|
},
|
|
238
312
|
{
|
|
313
|
+
"indexed": false,
|
|
314
|
+
"internalType": "uint32",
|
|
315
|
+
"name": "dstToken",
|
|
316
|
+
"type": "uint32"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"indexed": false,
|
|
239
320
|
"internalType": "uint256",
|
|
240
|
-
"name": "
|
|
321
|
+
"name": "amount",
|
|
241
322
|
"type": "uint256"
|
|
242
|
-
}
|
|
243
|
-
],
|
|
244
|
-
"name": "ERC4626ExceededMaxDeposit",
|
|
245
|
-
"type": "error"
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
"inputs": [
|
|
323
|
+
},
|
|
249
324
|
{
|
|
325
|
+
"indexed": true,
|
|
250
326
|
"internalType": "address",
|
|
251
|
-
"name": "
|
|
327
|
+
"name": "sender",
|
|
252
328
|
"type": "address"
|
|
253
329
|
},
|
|
254
330
|
{
|
|
255
|
-
"
|
|
256
|
-
"
|
|
257
|
-
"
|
|
331
|
+
"indexed": false,
|
|
332
|
+
"internalType": "bytes",
|
|
333
|
+
"name": "message",
|
|
334
|
+
"type": "bytes"
|
|
258
335
|
},
|
|
259
336
|
{
|
|
337
|
+
"indexed": false,
|
|
260
338
|
"internalType": "uint256",
|
|
261
|
-
"name": "
|
|
339
|
+
"name": "gasAmount",
|
|
262
340
|
"type": "uint256"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"indexed": false,
|
|
344
|
+
"internalType": "bytes",
|
|
345
|
+
"name": "cfParameters",
|
|
346
|
+
"type": "bytes"
|
|
263
347
|
}
|
|
264
348
|
],
|
|
265
|
-
"name": "
|
|
266
|
-
"type": "
|
|
349
|
+
"name": "XCallNative",
|
|
350
|
+
"type": "event"
|
|
267
351
|
},
|
|
268
352
|
{
|
|
353
|
+
"anonymous": false,
|
|
269
354
|
"inputs": [
|
|
270
355
|
{
|
|
356
|
+
"indexed": false,
|
|
357
|
+
"internalType": "uint32",
|
|
358
|
+
"name": "dstChain",
|
|
359
|
+
"type": "uint32"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"indexed": false,
|
|
363
|
+
"internalType": "bytes",
|
|
364
|
+
"name": "dstAddress",
|
|
365
|
+
"type": "bytes"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"indexed": false,
|
|
369
|
+
"internalType": "uint32",
|
|
370
|
+
"name": "dstToken",
|
|
371
|
+
"type": "uint32"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"indexed": false,
|
|
271
375
|
"internalType": "address",
|
|
272
|
-
"name": "
|
|
376
|
+
"name": "srcToken",
|
|
273
377
|
"type": "address"
|
|
274
378
|
},
|
|
275
379
|
{
|
|
380
|
+
"indexed": false,
|
|
276
381
|
"internalType": "uint256",
|
|
277
|
-
"name": "
|
|
382
|
+
"name": "amount",
|
|
278
383
|
"type": "uint256"
|
|
279
384
|
},
|
|
280
385
|
{
|
|
281
|
-
"
|
|
282
|
-
"name": "max",
|
|
283
|
-
"type": "uint256"
|
|
284
|
-
}
|
|
285
|
-
],
|
|
286
|
-
"name": "ERC4626ExceededMaxRedeem",
|
|
287
|
-
"type": "error"
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
"inputs": [
|
|
291
|
-
{
|
|
386
|
+
"indexed": true,
|
|
292
387
|
"internalType": "address",
|
|
293
|
-
"name": "
|
|
388
|
+
"name": "sender",
|
|
294
389
|
"type": "address"
|
|
295
390
|
},
|
|
296
391
|
{
|
|
297
|
-
"
|
|
298
|
-
"
|
|
299
|
-
"
|
|
392
|
+
"indexed": false,
|
|
393
|
+
"internalType": "bytes",
|
|
394
|
+
"name": "message",
|
|
395
|
+
"type": "bytes"
|
|
300
396
|
},
|
|
301
397
|
{
|
|
398
|
+
"indexed": false,
|
|
302
399
|
"internalType": "uint256",
|
|
303
|
-
"name": "
|
|
400
|
+
"name": "gasAmount",
|
|
304
401
|
"type": "uint256"
|
|
305
|
-
}
|
|
306
|
-
],
|
|
307
|
-
"name": "ERC4626ExceededMaxWithdraw",
|
|
308
|
-
"type": "error"
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"inputs": [],
|
|
312
|
-
"name": "FailedInnerCall",
|
|
313
|
-
"type": "error"
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
"inputs": [],
|
|
317
|
-
"name": "InsufficientLiquidity",
|
|
318
|
-
"type": "error"
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
"inputs": [
|
|
322
|
-
{
|
|
323
|
-
"internalType": "bytes32",
|
|
324
|
-
"name": "name",
|
|
325
|
-
"type": "bytes32"
|
|
326
|
-
}
|
|
327
|
-
],
|
|
328
|
-
"name": "InvalidConnectorName",
|
|
329
|
-
"type": "error"
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
"inputs": [],
|
|
333
|
-
"name": "InvalidInitialization",
|
|
334
|
-
"type": "error"
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
"inputs": [],
|
|
338
|
-
"name": "MathOverflowedMulDiv",
|
|
339
|
-
"type": "error"
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
"inputs": [],
|
|
343
|
-
"name": "MinimumTotalSupplyNotReached",
|
|
344
|
-
"type": "error"
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
"inputs": [],
|
|
348
|
-
"name": "NoAdditionalRewardsClaimed",
|
|
349
|
-
"type": "error"
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
"inputs": [],
|
|
353
|
-
"name": "NoAdditionalRewardsStrategy",
|
|
354
|
-
"type": "error"
|
|
355
|
-
},
|
|
356
|
-
{
|
|
357
|
-
"inputs": [
|
|
358
|
-
{
|
|
359
|
-
"internalType": "address",
|
|
360
|
-
"name": "addr",
|
|
361
|
-
"type": "address"
|
|
362
|
-
}
|
|
363
|
-
],
|
|
364
|
-
"name": "NotConfiguredFactory",
|
|
365
|
-
"type": "error"
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
"inputs": [],
|
|
369
|
-
"name": "NotInitializing",
|
|
370
|
-
"type": "error"
|
|
371
|
-
},
|
|
372
|
-
{
|
|
373
|
-
"inputs": [],
|
|
374
|
-
"name": "NotTransferable",
|
|
375
|
-
"type": "error"
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
"inputs": [],
|
|
379
|
-
"name": "NothingToCollect",
|
|
380
|
-
"type": "error"
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
"inputs": [
|
|
384
|
-
{
|
|
385
|
-
"internalType": "uint8",
|
|
386
|
-
"name": "offset",
|
|
387
|
-
"type": "uint8"
|
|
388
|
-
}
|
|
389
|
-
],
|
|
390
|
-
"name": "OffsetTooHigh",
|
|
391
|
-
"type": "error"
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
"inputs": [],
|
|
395
|
-
"name": "PreviewZero",
|
|
396
|
-
"type": "error"
|
|
397
|
-
},
|
|
398
|
-
{
|
|
399
|
-
"inputs": [],
|
|
400
|
-
"name": "ReentrancyGuardReentrantCall",
|
|
401
|
-
"type": "error"
|
|
402
|
-
},
|
|
403
|
-
{
|
|
404
|
-
"inputs": [
|
|
405
|
-
{
|
|
406
|
-
"internalType": "uint256",
|
|
407
|
-
"name": "shares",
|
|
408
|
-
"type": "uint256"
|
|
409
|
-
}
|
|
410
|
-
],
|
|
411
|
-
"name": "RemainderNotZero",
|
|
412
|
-
"type": "error"
|
|
413
|
-
},
|
|
414
|
-
{
|
|
415
|
-
"inputs": [
|
|
416
|
-
{
|
|
417
|
-
"internalType": "uint8",
|
|
418
|
-
"name": "bits",
|
|
419
|
-
"type": "uint8"
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
"internalType": "uint256",
|
|
423
|
-
"name": "value",
|
|
424
|
-
"type": "uint256"
|
|
425
|
-
}
|
|
426
|
-
],
|
|
427
|
-
"name": "SafeCastOverflowedUintDowncast",
|
|
428
|
-
"type": "error"
|
|
429
|
-
},
|
|
430
|
-
{
|
|
431
|
-
"inputs": [
|
|
432
|
-
{
|
|
433
|
-
"internalType": "address",
|
|
434
|
-
"name": "token",
|
|
435
|
-
"type": "address"
|
|
436
|
-
}
|
|
437
|
-
],
|
|
438
|
-
"name": "SafeERC20FailedOperation",
|
|
439
|
-
"type": "error"
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
"inputs": [
|
|
443
|
-
{
|
|
444
|
-
"internalType": "uint256",
|
|
445
|
-
"name": "totalAssets",
|
|
446
|
-
"type": "uint256"
|
|
447
|
-
},
|
|
448
|
-
{
|
|
449
|
-
"internalType": "uint256",
|
|
450
|
-
"name": "newTotalAssets",
|
|
451
|
-
"type": "uint256"
|
|
452
|
-
}
|
|
453
|
-
],
|
|
454
|
-
"name": "TotalAssetsDecreased",
|
|
455
|
-
"type": "error"
|
|
456
|
-
},
|
|
457
|
-
{
|
|
458
|
-
"inputs": [
|
|
459
|
-
{
|
|
460
|
-
"internalType": "uint256",
|
|
461
|
-
"name": "depositFee",
|
|
462
|
-
"type": "uint256"
|
|
463
|
-
}
|
|
464
|
-
],
|
|
465
|
-
"name": "WrongDepositFee",
|
|
466
|
-
"type": "error"
|
|
467
|
-
},
|
|
468
|
-
{
|
|
469
|
-
"inputs": [
|
|
470
|
-
{
|
|
471
|
-
"internalType": "uint256",
|
|
472
|
-
"name": "rewardFee",
|
|
473
|
-
"type": "uint256"
|
|
474
|
-
}
|
|
475
|
-
],
|
|
476
|
-
"name": "WrongRewardFee",
|
|
477
|
-
"type": "error"
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
"anonymous": false,
|
|
481
|
-
"inputs": [
|
|
482
|
-
{
|
|
483
|
-
"indexed": false,
|
|
484
|
-
"internalType": "enum Vault.AdditionalRewardsStrategy",
|
|
485
|
-
"name": "newAdditionalRewardsStrategy",
|
|
486
|
-
"type": "uint8"
|
|
487
|
-
}
|
|
488
|
-
],
|
|
489
|
-
"name": "AdditionalRewardsStrategyUpdated",
|
|
490
|
-
"type": "event"
|
|
491
|
-
},
|
|
492
|
-
{
|
|
493
|
-
"anonymous": false,
|
|
494
|
-
"inputs": [
|
|
495
|
-
{
|
|
496
|
-
"indexed": true,
|
|
497
|
-
"internalType": "address",
|
|
498
|
-
"name": "owner",
|
|
499
|
-
"type": "address"
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
"indexed": true,
|
|
503
|
-
"internalType": "address",
|
|
504
|
-
"name": "spender",
|
|
505
|
-
"type": "address"
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
"indexed": false,
|
|
509
|
-
"internalType": "uint256",
|
|
510
|
-
"name": "value",
|
|
511
|
-
"type": "uint256"
|
|
512
|
-
}
|
|
513
|
-
],
|
|
514
|
-
"name": "Approval",
|
|
515
|
-
"type": "event"
|
|
516
|
-
},
|
|
517
|
-
{
|
|
518
|
-
"anonymous": false,
|
|
519
|
-
"inputs": [
|
|
520
|
-
{
|
|
521
|
-
"indexed": false,
|
|
522
|
-
"internalType": "contract IERC20",
|
|
523
|
-
"name": "asset",
|
|
524
|
-
"type": "address"
|
|
525
|
-
}
|
|
526
|
-
],
|
|
527
|
-
"name": "AssetInitialized",
|
|
528
|
-
"type": "event"
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
"anonymous": false,
|
|
532
|
-
"inputs": [
|
|
533
|
-
{
|
|
534
|
-
"indexed": false,
|
|
535
|
-
"internalType": "contract BlockList",
|
|
536
|
-
"name": "newBlockList",
|
|
537
|
-
"type": "address"
|
|
538
|
-
}
|
|
539
|
-
],
|
|
540
|
-
"name": "BlockListUpdated",
|
|
541
|
-
"type": "event"
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
"anonymous": false,
|
|
545
|
-
"inputs": [
|
|
546
|
-
{
|
|
547
|
-
"indexed": false,
|
|
548
|
-
"internalType": "bytes32",
|
|
549
|
-
"name": "newConnectorName",
|
|
550
|
-
"type": "bytes32"
|
|
551
|
-
}
|
|
552
|
-
],
|
|
553
|
-
"name": "ConnectorNameUpdated",
|
|
554
|
-
"type": "event"
|
|
555
|
-
},
|
|
556
|
-
{
|
|
557
|
-
"anonymous": false,
|
|
558
|
-
"inputs": [
|
|
559
|
-
{
|
|
560
|
-
"indexed": false,
|
|
561
|
-
"internalType": "contract IConnectorRegistry",
|
|
562
|
-
"name": "newConnectorRegistry",
|
|
563
|
-
"type": "address"
|
|
564
|
-
}
|
|
565
|
-
],
|
|
566
|
-
"name": "ConnectorRegistryUpdated",
|
|
567
|
-
"type": "event"
|
|
568
|
-
},
|
|
569
|
-
{
|
|
570
|
-
"anonymous": false,
|
|
571
|
-
"inputs": [],
|
|
572
|
-
"name": "DefaultAdminDelayChangeCanceled",
|
|
573
|
-
"type": "event"
|
|
574
|
-
},
|
|
575
|
-
{
|
|
576
|
-
"anonymous": false,
|
|
577
|
-
"inputs": [
|
|
578
|
-
{
|
|
579
|
-
"indexed": false,
|
|
580
|
-
"internalType": "uint48",
|
|
581
|
-
"name": "newDelay",
|
|
582
|
-
"type": "uint48"
|
|
583
|
-
},
|
|
584
|
-
{
|
|
585
|
-
"indexed": false,
|
|
586
|
-
"internalType": "uint48",
|
|
587
|
-
"name": "effectSchedule",
|
|
588
|
-
"type": "uint48"
|
|
589
|
-
}
|
|
590
|
-
],
|
|
591
|
-
"name": "DefaultAdminDelayChangeScheduled",
|
|
592
|
-
"type": "event"
|
|
593
|
-
},
|
|
594
|
-
{
|
|
595
|
-
"anonymous": false,
|
|
596
|
-
"inputs": [],
|
|
597
|
-
"name": "DefaultAdminTransferCanceled",
|
|
598
|
-
"type": "event"
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
"anonymous": false,
|
|
602
|
-
"inputs": [
|
|
603
|
-
{
|
|
604
|
-
"indexed": true,
|
|
605
|
-
"internalType": "address",
|
|
606
|
-
"name": "newAdmin",
|
|
607
|
-
"type": "address"
|
|
608
|
-
},
|
|
609
|
-
{
|
|
610
|
-
"indexed": false,
|
|
611
|
-
"internalType": "uint48",
|
|
612
|
-
"name": "acceptSchedule",
|
|
613
|
-
"type": "uint48"
|
|
614
|
-
}
|
|
615
|
-
],
|
|
616
|
-
"name": "DefaultAdminTransferScheduled",
|
|
617
|
-
"type": "event"
|
|
618
|
-
},
|
|
619
|
-
{
|
|
620
|
-
"anonymous": false,
|
|
621
|
-
"inputs": [
|
|
622
|
-
{
|
|
623
|
-
"indexed": true,
|
|
624
|
-
"internalType": "address",
|
|
625
|
-
"name": "sender",
|
|
626
|
-
"type": "address"
|
|
627
|
-
},
|
|
628
|
-
{
|
|
629
|
-
"indexed": true,
|
|
630
|
-
"internalType": "address",
|
|
631
|
-
"name": "owner",
|
|
632
|
-
"type": "address"
|
|
633
|
-
},
|
|
634
|
-
{
|
|
635
|
-
"indexed": false,
|
|
636
|
-
"internalType": "uint256",
|
|
637
|
-
"name": "assets",
|
|
638
|
-
"type": "uint256"
|
|
639
|
-
},
|
|
640
|
-
{
|
|
641
|
-
"indexed": false,
|
|
642
|
-
"internalType": "uint256",
|
|
643
|
-
"name": "shares",
|
|
644
|
-
"type": "uint256"
|
|
645
|
-
}
|
|
646
|
-
],
|
|
647
|
-
"name": "Deposit",
|
|
648
|
-
"type": "event"
|
|
649
|
-
},
|
|
650
|
-
{
|
|
651
|
-
"anonymous": false,
|
|
652
|
-
"inputs": [
|
|
653
|
-
{
|
|
654
|
-
"indexed": false,
|
|
655
|
-
"internalType": "uint256",
|
|
656
|
-
"name": "newDepositFee",
|
|
657
|
-
"type": "uint256"
|
|
658
|
-
}
|
|
659
|
-
],
|
|
660
|
-
"name": "DepositFeeUpdated",
|
|
661
|
-
"type": "event"
|
|
662
|
-
},
|
|
663
|
-
{
|
|
664
|
-
"anonymous": false,
|
|
665
|
-
"inputs": [
|
|
666
|
-
{
|
|
667
|
-
"indexed": false,
|
|
668
|
-
"internalType": "address",
|
|
669
|
-
"name": "feeDispatcher",
|
|
670
|
-
"type": "address"
|
|
671
|
-
}
|
|
672
|
-
],
|
|
673
|
-
"name": "FeeDispatcherInitialized",
|
|
674
|
-
"type": "event"
|
|
675
|
-
},
|
|
676
|
-
{
|
|
677
|
-
"anonymous": false,
|
|
678
|
-
"inputs": [
|
|
679
|
-
{
|
|
680
|
-
"indexed": false,
|
|
681
|
-
"internalType": "uint64",
|
|
682
|
-
"name": "version",
|
|
683
|
-
"type": "uint64"
|
|
684
|
-
}
|
|
685
|
-
],
|
|
686
|
-
"name": "Initialized",
|
|
687
|
-
"type": "event"
|
|
688
|
-
},
|
|
689
|
-
{
|
|
690
|
-
"anonymous": false,
|
|
691
|
-
"inputs": [
|
|
692
|
-
{
|
|
693
|
-
"indexed": false,
|
|
694
|
-
"internalType": "uint256",
|
|
695
|
-
"name": "newMinTotalSupply",
|
|
696
|
-
"type": "uint256"
|
|
697
|
-
}
|
|
698
|
-
],
|
|
699
|
-
"name": "MinTotalSupplyInitialized",
|
|
700
|
-
"type": "event"
|
|
701
|
-
},
|
|
702
|
-
{
|
|
703
|
-
"anonymous": false,
|
|
704
|
-
"inputs": [
|
|
705
|
-
{
|
|
706
|
-
"indexed": false,
|
|
707
|
-
"internalType": "string",
|
|
708
|
-
"name": "name",
|
|
709
|
-
"type": "string"
|
|
710
|
-
}
|
|
711
|
-
],
|
|
712
|
-
"name": "NameInitialized",
|
|
713
|
-
"type": "event"
|
|
714
|
-
},
|
|
715
|
-
{
|
|
716
|
-
"anonymous": false,
|
|
717
|
-
"inputs": [
|
|
718
|
-
{
|
|
719
|
-
"indexed": false,
|
|
720
|
-
"internalType": "uint8",
|
|
721
|
-
"name": "offset",
|
|
722
|
-
"type": "uint8"
|
|
723
|
-
}
|
|
724
|
-
],
|
|
725
|
-
"name": "OffsetInitialized",
|
|
726
|
-
"type": "event"
|
|
727
|
-
},
|
|
728
|
-
{
|
|
729
|
-
"anonymous": false,
|
|
730
|
-
"inputs": [
|
|
731
|
-
{
|
|
732
|
-
"indexed": false,
|
|
733
|
-
"internalType": "uint256",
|
|
734
|
-
"name": "newRewardFee",
|
|
735
|
-
"type": "uint256"
|
|
736
|
-
}
|
|
737
|
-
],
|
|
738
|
-
"name": "RewardFeeUpdated",
|
|
739
|
-
"type": "event"
|
|
740
|
-
},
|
|
741
|
-
{
|
|
742
|
-
"anonymous": false,
|
|
743
|
-
"inputs": [
|
|
744
|
-
{
|
|
745
|
-
"indexed": true,
|
|
746
|
-
"internalType": "address",
|
|
747
|
-
"name": "rewardsAsset",
|
|
748
|
-
"type": "address"
|
|
749
|
-
},
|
|
750
|
-
{
|
|
751
|
-
"indexed": false,
|
|
752
|
-
"internalType": "uint256",
|
|
753
|
-
"name": "amount",
|
|
754
|
-
"type": "uint256"
|
|
755
|
-
}
|
|
756
|
-
],
|
|
757
|
-
"name": "RewardsClaimed",
|
|
758
|
-
"type": "event"
|
|
759
|
-
},
|
|
760
|
-
{
|
|
761
|
-
"anonymous": false,
|
|
762
|
-
"inputs": [
|
|
763
|
-
{
|
|
764
|
-
"indexed": true,
|
|
765
|
-
"internalType": "bytes32",
|
|
766
|
-
"name": "role",
|
|
767
|
-
"type": "bytes32"
|
|
768
|
-
},
|
|
769
|
-
{
|
|
770
|
-
"indexed": true,
|
|
771
|
-
"internalType": "bytes32",
|
|
772
|
-
"name": "previousAdminRole",
|
|
773
|
-
"type": "bytes32"
|
|
774
|
-
},
|
|
775
|
-
{
|
|
776
|
-
"indexed": true,
|
|
777
|
-
"internalType": "bytes32",
|
|
778
|
-
"name": "newAdminRole",
|
|
779
|
-
"type": "bytes32"
|
|
780
|
-
}
|
|
781
|
-
],
|
|
782
|
-
"name": "RoleAdminChanged",
|
|
783
|
-
"type": "event"
|
|
784
|
-
},
|
|
785
|
-
{
|
|
786
|
-
"anonymous": false,
|
|
787
|
-
"inputs": [
|
|
788
|
-
{
|
|
789
|
-
"indexed": true,
|
|
790
|
-
"internalType": "bytes32",
|
|
791
|
-
"name": "role",
|
|
792
|
-
"type": "bytes32"
|
|
793
|
-
},
|
|
794
|
-
{
|
|
795
|
-
"indexed": true,
|
|
796
|
-
"internalType": "address",
|
|
797
|
-
"name": "account",
|
|
798
|
-
"type": "address"
|
|
799
|
-
},
|
|
800
|
-
{
|
|
801
|
-
"indexed": true,
|
|
802
|
-
"internalType": "address",
|
|
803
|
-
"name": "sender",
|
|
804
|
-
"type": "address"
|
|
805
|
-
}
|
|
806
|
-
],
|
|
807
|
-
"name": "RoleGranted",
|
|
808
|
-
"type": "event"
|
|
809
|
-
},
|
|
810
|
-
{
|
|
811
|
-
"anonymous": false,
|
|
812
|
-
"inputs": [
|
|
813
|
-
{
|
|
814
|
-
"indexed": true,
|
|
815
|
-
"internalType": "bytes32",
|
|
816
|
-
"name": "role",
|
|
817
|
-
"type": "bytes32"
|
|
818
|
-
},
|
|
819
|
-
{
|
|
820
|
-
"indexed": true,
|
|
821
|
-
"internalType": "address",
|
|
822
|
-
"name": "account",
|
|
823
|
-
"type": "address"
|
|
824
|
-
},
|
|
825
|
-
{
|
|
826
|
-
"indexed": true,
|
|
827
|
-
"internalType": "address",
|
|
828
|
-
"name": "sender",
|
|
829
|
-
"type": "address"
|
|
830
|
-
}
|
|
831
|
-
],
|
|
832
|
-
"name": "RoleRevoked",
|
|
833
|
-
"type": "event"
|
|
834
|
-
},
|
|
835
|
-
{
|
|
836
|
-
"anonymous": false,
|
|
837
|
-
"inputs": [
|
|
838
|
-
{
|
|
839
|
-
"indexed": false,
|
|
840
|
-
"internalType": "string",
|
|
841
|
-
"name": "symbol",
|
|
842
|
-
"type": "string"
|
|
843
|
-
}
|
|
844
|
-
],
|
|
845
|
-
"name": "SymbolInitialized",
|
|
846
|
-
"type": "event"
|
|
847
|
-
},
|
|
848
|
-
{
|
|
849
|
-
"anonymous": false,
|
|
850
|
-
"inputs": [
|
|
851
|
-
{
|
|
852
|
-
"indexed": true,
|
|
853
|
-
"internalType": "address",
|
|
854
|
-
"name": "from",
|
|
855
|
-
"type": "address"
|
|
856
|
-
},
|
|
857
|
-
{
|
|
858
|
-
"indexed": true,
|
|
859
|
-
"internalType": "address",
|
|
860
|
-
"name": "to",
|
|
861
|
-
"type": "address"
|
|
862
|
-
},
|
|
863
|
-
{
|
|
864
|
-
"indexed": false,
|
|
865
|
-
"internalType": "uint256",
|
|
866
|
-
"name": "value",
|
|
867
|
-
"type": "uint256"
|
|
868
|
-
}
|
|
869
|
-
],
|
|
870
|
-
"name": "Transfer",
|
|
871
|
-
"type": "event"
|
|
872
|
-
},
|
|
873
|
-
{
|
|
874
|
-
"anonymous": false,
|
|
875
|
-
"inputs": [
|
|
876
|
-
{
|
|
877
|
-
"indexed": false,
|
|
878
|
-
"internalType": "bool",
|
|
879
|
-
"name": "newTransferableFlag",
|
|
880
|
-
"type": "bool"
|
|
881
|
-
}
|
|
882
|
-
],
|
|
883
|
-
"name": "TransferableUpdated",
|
|
884
|
-
"type": "event"
|
|
885
|
-
},
|
|
886
|
-
{
|
|
887
|
-
"anonymous": false,
|
|
888
|
-
"inputs": [
|
|
889
|
-
{
|
|
890
|
-
"indexed": true,
|
|
891
|
-
"internalType": "address",
|
|
892
|
-
"name": "sender",
|
|
893
|
-
"type": "address"
|
|
894
|
-
},
|
|
895
|
-
{
|
|
896
|
-
"indexed": true,
|
|
897
|
-
"internalType": "address",
|
|
898
|
-
"name": "receiver",
|
|
899
|
-
"type": "address"
|
|
900
|
-
},
|
|
901
|
-
{
|
|
902
|
-
"indexed": true,
|
|
903
|
-
"internalType": "address",
|
|
904
|
-
"name": "owner",
|
|
905
|
-
"type": "address"
|
|
906
|
-
},
|
|
907
|
-
{
|
|
908
|
-
"indexed": false,
|
|
909
|
-
"internalType": "uint256",
|
|
910
|
-
"name": "assets",
|
|
911
|
-
"type": "uint256"
|
|
912
|
-
},
|
|
913
|
-
{
|
|
914
|
-
"indexed": false,
|
|
915
|
-
"internalType": "uint256",
|
|
916
|
-
"name": "shares",
|
|
917
|
-
"type": "uint256"
|
|
918
|
-
}
|
|
919
|
-
],
|
|
920
|
-
"name": "Withdraw",
|
|
921
|
-
"type": "event"
|
|
922
|
-
},
|
|
923
|
-
{
|
|
924
|
-
"inputs": [],
|
|
925
|
-
"name": "CLAIM_MANAGER_ROLE",
|
|
926
|
-
"outputs": [
|
|
927
|
-
{
|
|
928
|
-
"internalType": "bytes32",
|
|
929
|
-
"name": "",
|
|
930
|
-
"type": "bytes32"
|
|
931
|
-
}
|
|
932
|
-
],
|
|
933
|
-
"stateMutability": "view",
|
|
934
|
-
"type": "function"
|
|
935
|
-
},
|
|
936
|
-
{
|
|
937
|
-
"inputs": [],
|
|
938
|
-
"name": "DEFAULT_ADMIN_ROLE",
|
|
939
|
-
"outputs": [
|
|
940
|
-
{
|
|
941
|
-
"internalType": "bytes32",
|
|
942
|
-
"name": "",
|
|
943
|
-
"type": "bytes32"
|
|
944
|
-
}
|
|
945
|
-
],
|
|
946
|
-
"stateMutability": "view",
|
|
947
|
-
"type": "function"
|
|
948
|
-
},
|
|
949
|
-
{
|
|
950
|
-
"inputs": [],
|
|
951
|
-
"name": "FEE_COLLECTOR_ROLE",
|
|
952
|
-
"outputs": [
|
|
953
|
-
{
|
|
954
|
-
"internalType": "bytes32",
|
|
955
|
-
"name": "",
|
|
956
|
-
"type": "bytes32"
|
|
957
|
-
}
|
|
958
|
-
],
|
|
959
|
-
"stateMutability": "view",
|
|
960
|
-
"type": "function"
|
|
961
|
-
},
|
|
962
|
-
{
|
|
963
|
-
"inputs": [],
|
|
964
|
-
"name": "FEE_MANAGER_ROLE",
|
|
965
|
-
"outputs": [
|
|
966
|
-
{
|
|
967
|
-
"internalType": "bytes32",
|
|
968
|
-
"name": "",
|
|
969
|
-
"type": "bytes32"
|
|
970
|
-
}
|
|
971
|
-
],
|
|
972
|
-
"stateMutability": "view",
|
|
973
|
-
"type": "function"
|
|
974
|
-
},
|
|
975
|
-
{
|
|
976
|
-
"inputs": [],
|
|
977
|
-
"name": "PAUSER_ROLE",
|
|
978
|
-
"outputs": [
|
|
979
|
-
{
|
|
980
|
-
"internalType": "bytes32",
|
|
981
|
-
"name": "",
|
|
982
|
-
"type": "bytes32"
|
|
983
|
-
}
|
|
984
|
-
],
|
|
985
|
-
"stateMutability": "view",
|
|
986
|
-
"type": "function"
|
|
987
|
-
},
|
|
988
|
-
{
|
|
989
|
-
"inputs": [],
|
|
990
|
-
"name": "SANCTIONS_MANAGER_ROLE",
|
|
991
|
-
"outputs": [
|
|
992
|
-
{
|
|
993
|
-
"internalType": "bytes32",
|
|
994
|
-
"name": "",
|
|
995
|
-
"type": "bytes32"
|
|
996
|
-
}
|
|
997
|
-
],
|
|
998
|
-
"stateMutability": "view",
|
|
999
|
-
"type": "function"
|
|
1000
|
-
},
|
|
1001
|
-
{
|
|
1002
|
-
"inputs": [],
|
|
1003
|
-
"name": "SPENDER_ROLE",
|
|
1004
|
-
"outputs": [
|
|
1005
|
-
{
|
|
1006
|
-
"internalType": "bytes32",
|
|
1007
|
-
"name": "",
|
|
1008
|
-
"type": "bytes32"
|
|
1009
|
-
}
|
|
1010
|
-
],
|
|
1011
|
-
"stateMutability": "view",
|
|
1012
|
-
"type": "function"
|
|
1013
|
-
},
|
|
1014
|
-
{
|
|
1015
|
-
"inputs": [],
|
|
1016
|
-
"name": "UNPAUSER_ROLE",
|
|
1017
|
-
"outputs": [
|
|
1018
|
-
{
|
|
1019
|
-
"internalType": "bytes32",
|
|
1020
|
-
"name": "",
|
|
1021
|
-
"type": "bytes32"
|
|
1022
|
-
}
|
|
1023
|
-
],
|
|
1024
|
-
"stateMutability": "view",
|
|
1025
|
-
"type": "function"
|
|
1026
|
-
},
|
|
1027
|
-
{
|
|
1028
|
-
"inputs": [],
|
|
1029
|
-
"name": "acceptDefaultAdminTransfer",
|
|
1030
|
-
"outputs": [],
|
|
1031
|
-
"stateMutability": "nonpayable",
|
|
1032
|
-
"type": "function"
|
|
1033
|
-
},
|
|
1034
|
-
{
|
|
1035
|
-
"inputs": [],
|
|
1036
|
-
"name": "additionalRewardsStrategy",
|
|
1037
|
-
"outputs": [
|
|
1038
|
-
{
|
|
1039
|
-
"internalType": "enum Vault.AdditionalRewardsStrategy",
|
|
1040
|
-
"name": "",
|
|
1041
|
-
"type": "uint8"
|
|
1042
|
-
}
|
|
1043
|
-
],
|
|
1044
|
-
"stateMutability": "view",
|
|
1045
|
-
"type": "function"
|
|
1046
|
-
},
|
|
1047
|
-
{
|
|
1048
|
-
"inputs": [
|
|
1049
|
-
{
|
|
1050
|
-
"internalType": "address",
|
|
1051
|
-
"name": "owner",
|
|
1052
|
-
"type": "address"
|
|
1053
|
-
},
|
|
1054
|
-
{
|
|
1055
|
-
"internalType": "address",
|
|
1056
|
-
"name": "spender",
|
|
1057
|
-
"type": "address"
|
|
1058
|
-
}
|
|
1059
|
-
],
|
|
1060
|
-
"name": "allowance",
|
|
1061
|
-
"outputs": [
|
|
1062
|
-
{
|
|
1063
|
-
"internalType": "uint256",
|
|
1064
|
-
"name": "",
|
|
1065
|
-
"type": "uint256"
|
|
1066
|
-
}
|
|
1067
|
-
],
|
|
1068
|
-
"stateMutability": "view",
|
|
1069
|
-
"type": "function"
|
|
1070
|
-
},
|
|
1071
|
-
{
|
|
1072
|
-
"inputs": [
|
|
1073
|
-
{
|
|
1074
|
-
"internalType": "address",
|
|
1075
|
-
"name": "spender",
|
|
1076
|
-
"type": "address"
|
|
1077
|
-
},
|
|
1078
|
-
{
|
|
1079
|
-
"internalType": "uint256",
|
|
1080
|
-
"name": "value",
|
|
1081
|
-
"type": "uint256"
|
|
1082
|
-
}
|
|
1083
|
-
],
|
|
1084
|
-
"name": "approve",
|
|
1085
|
-
"outputs": [
|
|
1086
|
-
{
|
|
1087
|
-
"internalType": "bool",
|
|
1088
|
-
"name": "",
|
|
1089
|
-
"type": "bool"
|
|
1090
|
-
}
|
|
1091
|
-
],
|
|
1092
|
-
"stateMutability": "nonpayable",
|
|
1093
|
-
"type": "function"
|
|
1094
|
-
},
|
|
1095
|
-
{
|
|
1096
|
-
"inputs": [],
|
|
1097
|
-
"name": "asset",
|
|
1098
|
-
"outputs": [
|
|
1099
|
-
{
|
|
1100
|
-
"internalType": "address",
|
|
1101
|
-
"name": "",
|
|
1102
|
-
"type": "address"
|
|
1103
|
-
}
|
|
1104
|
-
],
|
|
1105
|
-
"stateMutability": "view",
|
|
1106
|
-
"type": "function"
|
|
1107
|
-
},
|
|
1108
|
-
{
|
|
1109
|
-
"inputs": [
|
|
1110
|
-
{
|
|
1111
|
-
"internalType": "address",
|
|
1112
|
-
"name": "account",
|
|
1113
|
-
"type": "address"
|
|
1114
|
-
}
|
|
1115
|
-
],
|
|
1116
|
-
"name": "balanceOf",
|
|
1117
|
-
"outputs": [
|
|
1118
|
-
{
|
|
1119
|
-
"internalType": "uint256",
|
|
1120
|
-
"name": "",
|
|
1121
|
-
"type": "uint256"
|
|
1122
|
-
}
|
|
1123
|
-
],
|
|
1124
|
-
"stateMutability": "view",
|
|
1125
|
-
"type": "function"
|
|
1126
|
-
},
|
|
1127
|
-
{
|
|
1128
|
-
"inputs": [
|
|
1129
|
-
{
|
|
1130
|
-
"internalType": "address",
|
|
1131
|
-
"name": "newAdmin",
|
|
1132
|
-
"type": "address"
|
|
1133
|
-
}
|
|
1134
|
-
],
|
|
1135
|
-
"name": "beginDefaultAdminTransfer",
|
|
1136
|
-
"outputs": [],
|
|
1137
|
-
"stateMutability": "nonpayable",
|
|
1138
|
-
"type": "function"
|
|
1139
|
-
},
|
|
1140
|
-
{
|
|
1141
|
-
"inputs": [],
|
|
1142
|
-
"name": "blockList",
|
|
1143
|
-
"outputs": [
|
|
1144
|
-
{
|
|
1145
|
-
"internalType": "contract BlockList",
|
|
1146
|
-
"name": "",
|
|
1147
|
-
"type": "address"
|
|
1148
|
-
}
|
|
1149
|
-
],
|
|
1150
|
-
"stateMutability": "view",
|
|
1151
|
-
"type": "function"
|
|
1152
|
-
},
|
|
1153
|
-
{
|
|
1154
|
-
"inputs": [],
|
|
1155
|
-
"name": "cancelDefaultAdminTransfer",
|
|
1156
|
-
"outputs": [],
|
|
1157
|
-
"stateMutability": "nonpayable",
|
|
1158
|
-
"type": "function"
|
|
1159
|
-
},
|
|
1160
|
-
{
|
|
1161
|
-
"inputs": [
|
|
1162
|
-
{
|
|
1163
|
-
"internalType": "uint48",
|
|
1164
|
-
"name": "newDelay",
|
|
1165
|
-
"type": "uint48"
|
|
1166
|
-
}
|
|
1167
|
-
],
|
|
1168
|
-
"name": "changeDefaultAdminDelay",
|
|
1169
|
-
"outputs": [],
|
|
1170
|
-
"stateMutability": "nonpayable",
|
|
1171
|
-
"type": "function"
|
|
1172
|
-
},
|
|
1173
|
-
{
|
|
1174
|
-
"inputs": [
|
|
1175
|
-
{
|
|
1176
|
-
"internalType": "address",
|
|
1177
|
-
"name": "rewardsAsset",
|
|
1178
|
-
"type": "address"
|
|
1179
|
-
},
|
|
1180
|
-
{
|
|
1181
|
-
"internalType": "bytes",
|
|
1182
|
-
"name": "payload",
|
|
1183
|
-
"type": "bytes"
|
|
1184
|
-
}
|
|
1185
|
-
],
|
|
1186
|
-
"name": "claimAdditionalRewards",
|
|
1187
|
-
"outputs": [],
|
|
1188
|
-
"stateMutability": "nonpayable",
|
|
1189
|
-
"type": "function"
|
|
1190
|
-
},
|
|
1191
|
-
{
|
|
1192
|
-
"inputs": [],
|
|
1193
|
-
"name": "collectRewardFees",
|
|
1194
|
-
"outputs": [],
|
|
1195
|
-
"stateMutability": "nonpayable",
|
|
1196
|
-
"type": "function"
|
|
1197
|
-
},
|
|
1198
|
-
{
|
|
1199
|
-
"inputs": [],
|
|
1200
|
-
"name": "collectableRewardFees",
|
|
1201
|
-
"outputs": [
|
|
1202
|
-
{
|
|
1203
|
-
"internalType": "uint256",
|
|
1204
|
-
"name": "",
|
|
1205
|
-
"type": "uint256"
|
|
1206
|
-
}
|
|
1207
|
-
],
|
|
1208
|
-
"stateMutability": "view",
|
|
1209
|
-
"type": "function"
|
|
1210
|
-
},
|
|
1211
|
-
{
|
|
1212
|
-
"inputs": [],
|
|
1213
|
-
"name": "connectorName",
|
|
1214
|
-
"outputs": [
|
|
1215
|
-
{
|
|
1216
|
-
"internalType": "bytes32",
|
|
1217
|
-
"name": "",
|
|
1218
|
-
"type": "bytes32"
|
|
1219
|
-
}
|
|
1220
|
-
],
|
|
1221
|
-
"stateMutability": "view",
|
|
1222
|
-
"type": "function"
|
|
1223
|
-
},
|
|
1224
|
-
{
|
|
1225
|
-
"inputs": [],
|
|
1226
|
-
"name": "connectorRegistry",
|
|
1227
|
-
"outputs": [
|
|
1228
|
-
{
|
|
1229
|
-
"internalType": "contract IConnectorRegistry",
|
|
1230
|
-
"name": "",
|
|
1231
|
-
"type": "address"
|
|
1232
|
-
}
|
|
1233
|
-
],
|
|
1234
|
-
"stateMutability": "view",
|
|
1235
|
-
"type": "function"
|
|
1236
|
-
},
|
|
1237
|
-
{
|
|
1238
|
-
"inputs": [
|
|
1239
|
-
{
|
|
1240
|
-
"internalType": "uint256",
|
|
1241
|
-
"name": "shares",
|
|
1242
|
-
"type": "uint256"
|
|
1243
|
-
}
|
|
1244
|
-
],
|
|
1245
|
-
"name": "convertToAssets",
|
|
1246
|
-
"outputs": [
|
|
1247
|
-
{
|
|
1248
|
-
"internalType": "uint256",
|
|
1249
|
-
"name": "",
|
|
1250
|
-
"type": "uint256"
|
|
1251
|
-
}
|
|
1252
|
-
],
|
|
1253
|
-
"stateMutability": "view",
|
|
1254
|
-
"type": "function"
|
|
1255
|
-
},
|
|
1256
|
-
{
|
|
1257
|
-
"inputs": [
|
|
1258
|
-
{
|
|
1259
|
-
"internalType": "uint256",
|
|
1260
|
-
"name": "assets",
|
|
1261
|
-
"type": "uint256"
|
|
1262
|
-
}
|
|
1263
|
-
],
|
|
1264
|
-
"name": "convertToShares",
|
|
1265
|
-
"outputs": [
|
|
1266
|
-
{
|
|
1267
|
-
"internalType": "uint256",
|
|
1268
|
-
"name": "",
|
|
1269
|
-
"type": "uint256"
|
|
1270
|
-
}
|
|
1271
|
-
],
|
|
1272
|
-
"stateMutability": "view",
|
|
1273
|
-
"type": "function"
|
|
1274
|
-
},
|
|
1275
|
-
{
|
|
1276
|
-
"inputs": [],
|
|
1277
|
-
"name": "decimals",
|
|
1278
|
-
"outputs": [
|
|
1279
|
-
{
|
|
1280
|
-
"internalType": "uint8",
|
|
1281
|
-
"name": "",
|
|
1282
|
-
"type": "uint8"
|
|
1283
|
-
}
|
|
1284
|
-
],
|
|
1285
|
-
"stateMutability": "view",
|
|
1286
|
-
"type": "function"
|
|
1287
|
-
},
|
|
1288
|
-
{
|
|
1289
|
-
"inputs": [],
|
|
1290
|
-
"name": "defaultAdmin",
|
|
1291
|
-
"outputs": [
|
|
1292
|
-
{
|
|
1293
|
-
"internalType": "address",
|
|
1294
|
-
"name": "",
|
|
1295
|
-
"type": "address"
|
|
1296
|
-
}
|
|
1297
|
-
],
|
|
1298
|
-
"stateMutability": "view",
|
|
1299
|
-
"type": "function"
|
|
1300
|
-
},
|
|
1301
|
-
{
|
|
1302
|
-
"inputs": [],
|
|
1303
|
-
"name": "defaultAdminDelay",
|
|
1304
|
-
"outputs": [
|
|
1305
|
-
{
|
|
1306
|
-
"internalType": "uint48",
|
|
1307
|
-
"name": "",
|
|
1308
|
-
"type": "uint48"
|
|
1309
|
-
}
|
|
1310
|
-
],
|
|
1311
|
-
"stateMutability": "view",
|
|
1312
|
-
"type": "function"
|
|
1313
|
-
},
|
|
1314
|
-
{
|
|
1315
|
-
"inputs": [],
|
|
1316
|
-
"name": "defaultAdminDelayIncreaseWait",
|
|
1317
|
-
"outputs": [
|
|
1318
|
-
{
|
|
1319
|
-
"internalType": "uint48",
|
|
1320
|
-
"name": "",
|
|
1321
|
-
"type": "uint48"
|
|
1322
|
-
}
|
|
1323
|
-
],
|
|
1324
|
-
"stateMutability": "view",
|
|
1325
|
-
"type": "function"
|
|
1326
|
-
},
|
|
1327
|
-
{
|
|
1328
|
-
"inputs": [
|
|
1329
|
-
{
|
|
1330
|
-
"internalType": "bytes",
|
|
1331
|
-
"name": "data",
|
|
1332
|
-
"type": "bytes"
|
|
1333
|
-
}
|
|
1334
|
-
],
|
|
1335
|
-
"name": "delegateToFactory",
|
|
1336
|
-
"outputs": [
|
|
1337
|
-
{
|
|
1338
|
-
"internalType": "bytes",
|
|
1339
|
-
"name": "",
|
|
1340
|
-
"type": "bytes"
|
|
1341
|
-
}
|
|
1342
|
-
],
|
|
1343
|
-
"stateMutability": "nonpayable",
|
|
1344
|
-
"type": "function"
|
|
1345
|
-
},
|
|
1346
|
-
{
|
|
1347
|
-
"inputs": [
|
|
1348
|
-
{
|
|
1349
|
-
"internalType": "uint256",
|
|
1350
|
-
"name": "assets",
|
|
1351
|
-
"type": "uint256"
|
|
1352
|
-
},
|
|
1353
|
-
{
|
|
1354
|
-
"internalType": "address",
|
|
1355
|
-
"name": "receiver",
|
|
1356
|
-
"type": "address"
|
|
1357
|
-
}
|
|
1358
|
-
],
|
|
1359
|
-
"name": "deposit",
|
|
1360
|
-
"outputs": [
|
|
1361
|
-
{
|
|
1362
|
-
"internalType": "uint256",
|
|
1363
|
-
"name": "",
|
|
1364
|
-
"type": "uint256"
|
|
1365
|
-
}
|
|
1366
|
-
],
|
|
1367
|
-
"stateMutability": "nonpayable",
|
|
1368
|
-
"type": "function"
|
|
1369
|
-
},
|
|
1370
|
-
{
|
|
1371
|
-
"inputs": [],
|
|
1372
|
-
"name": "depositFee",
|
|
1373
|
-
"outputs": [
|
|
1374
|
-
{
|
|
1375
|
-
"internalType": "uint256",
|
|
1376
|
-
"name": "",
|
|
1377
|
-
"type": "uint256"
|
|
1378
|
-
}
|
|
1379
|
-
],
|
|
1380
|
-
"stateMutability": "view",
|
|
1381
|
-
"type": "function"
|
|
1382
|
-
},
|
|
1383
|
-
{
|
|
1384
|
-
"inputs": [],
|
|
1385
|
-
"name": "dispatchFees",
|
|
1386
|
-
"outputs": [],
|
|
1387
|
-
"stateMutability": "nonpayable",
|
|
1388
|
-
"type": "function"
|
|
1389
|
-
},
|
|
1390
|
-
{
|
|
1391
|
-
"inputs": [
|
|
1392
|
-
{
|
|
1393
|
-
"internalType": "address",
|
|
1394
|
-
"name": "recipient",
|
|
1395
|
-
"type": "address"
|
|
1396
|
-
}
|
|
1397
|
-
],
|
|
1398
|
-
"name": "feeRecipient",
|
|
1399
|
-
"outputs": [
|
|
1400
|
-
{
|
|
1401
|
-
"components": [
|
|
1402
|
-
{
|
|
1403
|
-
"internalType": "address",
|
|
1404
|
-
"name": "recipient",
|
|
1405
|
-
"type": "address"
|
|
1406
|
-
},
|
|
1407
|
-
{
|
|
1408
|
-
"internalType": "uint256",
|
|
1409
|
-
"name": "depositFeeSplit",
|
|
1410
|
-
"type": "uint256"
|
|
1411
|
-
},
|
|
1412
|
-
{
|
|
1413
|
-
"internalType": "uint256",
|
|
1414
|
-
"name": "rewardFeeSplit",
|
|
1415
|
-
"type": "uint256"
|
|
1416
|
-
}
|
|
1417
|
-
],
|
|
1418
|
-
"internalType": "struct IFeeDispatcher.FeeRecipient",
|
|
1419
|
-
"name": "",
|
|
1420
|
-
"type": "tuple"
|
|
1421
|
-
}
|
|
1422
|
-
],
|
|
1423
|
-
"stateMutability": "view",
|
|
1424
|
-
"type": "function"
|
|
1425
|
-
},
|
|
1426
|
-
{
|
|
1427
|
-
"inputs": [
|
|
1428
|
-
{
|
|
1429
|
-
"internalType": "uint256",
|
|
1430
|
-
"name": "index",
|
|
1431
|
-
"type": "uint256"
|
|
1432
|
-
}
|
|
1433
|
-
],
|
|
1434
|
-
"name": "feeRecipientAt",
|
|
1435
|
-
"outputs": [
|
|
1436
|
-
{
|
|
1437
|
-
"components": [
|
|
1438
|
-
{
|
|
1439
|
-
"internalType": "address",
|
|
1440
|
-
"name": "recipient",
|
|
1441
|
-
"type": "address"
|
|
1442
|
-
},
|
|
1443
|
-
{
|
|
1444
|
-
"internalType": "uint256",
|
|
1445
|
-
"name": "depositFeeSplit",
|
|
1446
|
-
"type": "uint256"
|
|
1447
|
-
},
|
|
1448
|
-
{
|
|
1449
|
-
"internalType": "uint256",
|
|
1450
|
-
"name": "rewardFeeSplit",
|
|
1451
|
-
"type": "uint256"
|
|
1452
|
-
}
|
|
1453
|
-
],
|
|
1454
|
-
"internalType": "struct IFeeDispatcher.FeeRecipient",
|
|
1455
|
-
"name": "",
|
|
1456
|
-
"type": "tuple"
|
|
1457
|
-
}
|
|
1458
|
-
],
|
|
1459
|
-
"stateMutability": "view",
|
|
1460
|
-
"type": "function"
|
|
1461
|
-
},
|
|
1462
|
-
{
|
|
1463
|
-
"inputs": [],
|
|
1464
|
-
"name": "feeRecipients",
|
|
1465
|
-
"outputs": [
|
|
1466
|
-
{
|
|
1467
|
-
"components": [
|
|
1468
|
-
{
|
|
1469
|
-
"internalType": "address",
|
|
1470
|
-
"name": "recipient",
|
|
1471
|
-
"type": "address"
|
|
1472
|
-
},
|
|
1473
|
-
{
|
|
1474
|
-
"internalType": "uint256",
|
|
1475
|
-
"name": "depositFeeSplit",
|
|
1476
|
-
"type": "uint256"
|
|
1477
|
-
},
|
|
1478
|
-
{
|
|
1479
|
-
"internalType": "uint256",
|
|
1480
|
-
"name": "rewardFeeSplit",
|
|
1481
|
-
"type": "uint256"
|
|
1482
|
-
}
|
|
1483
|
-
],
|
|
1484
|
-
"internalType": "struct IFeeDispatcher.FeeRecipient[]",
|
|
1485
|
-
"name": "",
|
|
1486
|
-
"type": "tuple[]"
|
|
1487
|
-
}
|
|
1488
|
-
],
|
|
1489
|
-
"stateMutability": "view",
|
|
1490
|
-
"type": "function"
|
|
1491
|
-
},
|
|
1492
|
-
{
|
|
1493
|
-
"inputs": [
|
|
1494
|
-
{
|
|
1495
|
-
"internalType": "address",
|
|
1496
|
-
"name": "blockedUser",
|
|
1497
|
-
"type": "address"
|
|
1498
|
-
}
|
|
1499
|
-
],
|
|
1500
|
-
"name": "forceWithdraw",
|
|
1501
|
-
"outputs": [
|
|
1502
|
-
{
|
|
1503
|
-
"internalType": "uint256",
|
|
1504
|
-
"name": "",
|
|
1505
|
-
"type": "uint256"
|
|
1506
|
-
}
|
|
1507
|
-
],
|
|
1508
|
-
"stateMutability": "nonpayable",
|
|
1509
|
-
"type": "function"
|
|
1510
|
-
},
|
|
1511
|
-
{
|
|
1512
|
-
"inputs": [
|
|
1513
|
-
{
|
|
1514
|
-
"internalType": "bytes32",
|
|
1515
|
-
"name": "role",
|
|
1516
|
-
"type": "bytes32"
|
|
1517
|
-
}
|
|
1518
|
-
],
|
|
1519
|
-
"name": "getRoleAdmin",
|
|
1520
|
-
"outputs": [
|
|
1521
|
-
{
|
|
1522
|
-
"internalType": "bytes32",
|
|
1523
|
-
"name": "",
|
|
1524
|
-
"type": "bytes32"
|
|
1525
|
-
}
|
|
1526
|
-
],
|
|
1527
|
-
"stateMutability": "view",
|
|
1528
|
-
"type": "function"
|
|
1529
|
-
},
|
|
1530
|
-
{
|
|
1531
|
-
"inputs": [
|
|
1532
|
-
{
|
|
1533
|
-
"internalType": "bytes32",
|
|
1534
|
-
"name": "role",
|
|
1535
|
-
"type": "bytes32"
|
|
1536
|
-
},
|
|
1537
|
-
{
|
|
1538
|
-
"internalType": "address",
|
|
1539
|
-
"name": "account",
|
|
1540
|
-
"type": "address"
|
|
1541
|
-
}
|
|
1542
|
-
],
|
|
1543
|
-
"name": "grantRole",
|
|
1544
|
-
"outputs": [],
|
|
1545
|
-
"stateMutability": "nonpayable",
|
|
1546
|
-
"type": "function"
|
|
1547
|
-
},
|
|
1548
|
-
{
|
|
1549
|
-
"inputs": [
|
|
1550
|
-
{
|
|
1551
|
-
"internalType": "bytes32",
|
|
1552
|
-
"name": "role",
|
|
1553
|
-
"type": "bytes32"
|
|
1554
|
-
},
|
|
1555
|
-
{
|
|
1556
|
-
"internalType": "address",
|
|
1557
|
-
"name": "account",
|
|
1558
|
-
"type": "address"
|
|
1559
|
-
}
|
|
1560
|
-
],
|
|
1561
|
-
"name": "hasRole",
|
|
1562
|
-
"outputs": [
|
|
1563
|
-
{
|
|
1564
|
-
"internalType": "bool",
|
|
1565
|
-
"name": "",
|
|
1566
|
-
"type": "bool"
|
|
1567
|
-
}
|
|
1568
|
-
],
|
|
1569
|
-
"stateMutability": "view",
|
|
1570
|
-
"type": "function"
|
|
1571
|
-
},
|
|
1572
|
-
{
|
|
1573
|
-
"inputs": [
|
|
1574
|
-
{
|
|
1575
|
-
"components": [
|
|
1576
|
-
{
|
|
1577
|
-
"internalType": "contract IERC20",
|
|
1578
|
-
"name": "asset_",
|
|
1579
|
-
"type": "address"
|
|
1580
|
-
},
|
|
1581
|
-
{
|
|
1582
|
-
"internalType": "string",
|
|
1583
|
-
"name": "name_",
|
|
1584
|
-
"type": "string"
|
|
1585
|
-
},
|
|
1586
|
-
{
|
|
1587
|
-
"internalType": "string",
|
|
1588
|
-
"name": "symbol_",
|
|
1589
|
-
"type": "string"
|
|
1590
|
-
},
|
|
1591
|
-
{
|
|
1592
|
-
"internalType": "bool",
|
|
1593
|
-
"name": "transferable_",
|
|
1594
|
-
"type": "bool"
|
|
1595
|
-
},
|
|
1596
|
-
{
|
|
1597
|
-
"internalType": "contract IConnectorRegistry",
|
|
1598
|
-
"name": "connectorRegistry_",
|
|
1599
|
-
"type": "address"
|
|
1600
|
-
},
|
|
1601
|
-
{
|
|
1602
|
-
"internalType": "bytes32",
|
|
1603
|
-
"name": "connectorName_",
|
|
1604
|
-
"type": "bytes32"
|
|
1605
|
-
},
|
|
1606
|
-
{
|
|
1607
|
-
"internalType": "uint256",
|
|
1608
|
-
"name": "depositFee_",
|
|
1609
|
-
"type": "uint256"
|
|
1610
|
-
},
|
|
1611
|
-
{
|
|
1612
|
-
"internalType": "uint256",
|
|
1613
|
-
"name": "rewardFee_",
|
|
1614
|
-
"type": "uint256"
|
|
1615
|
-
},
|
|
1616
|
-
{
|
|
1617
|
-
"internalType": "address",
|
|
1618
|
-
"name": "initialDefaultAdmin_",
|
|
1619
|
-
"type": "address"
|
|
1620
|
-
},
|
|
1621
|
-
{
|
|
1622
|
-
"internalType": "address",
|
|
1623
|
-
"name": "initialFeeManager_",
|
|
1624
|
-
"type": "address"
|
|
1625
|
-
},
|
|
1626
|
-
{
|
|
1627
|
-
"internalType": "address",
|
|
1628
|
-
"name": "initialSanctionsManager_",
|
|
1629
|
-
"type": "address"
|
|
1630
|
-
},
|
|
1631
|
-
{
|
|
1632
|
-
"internalType": "address",
|
|
1633
|
-
"name": "initialClaimManager_",
|
|
1634
|
-
"type": "address"
|
|
1635
|
-
},
|
|
1636
|
-
{
|
|
1637
|
-
"internalType": "address",
|
|
1638
|
-
"name": "initialPauser_",
|
|
1639
|
-
"type": "address"
|
|
1640
|
-
},
|
|
1641
|
-
{
|
|
1642
|
-
"internalType": "address",
|
|
1643
|
-
"name": "initialUnpauser_",
|
|
1644
|
-
"type": "address"
|
|
1645
|
-
},
|
|
1646
|
-
{
|
|
1647
|
-
"internalType": "uint48",
|
|
1648
|
-
"name": "initialDelay_",
|
|
1649
|
-
"type": "uint48"
|
|
1650
|
-
},
|
|
1651
|
-
{
|
|
1652
|
-
"internalType": "uint8",
|
|
1653
|
-
"name": "offset_",
|
|
1654
|
-
"type": "uint8"
|
|
1655
|
-
},
|
|
1656
|
-
{
|
|
1657
|
-
"internalType": "uint256",
|
|
1658
|
-
"name": "minTotalSupply_",
|
|
1659
|
-
"type": "uint256"
|
|
1660
|
-
}
|
|
1661
|
-
],
|
|
1662
|
-
"internalType": "struct Vault.InitializationParams",
|
|
1663
|
-
"name": "initializationParams",
|
|
1664
|
-
"type": "tuple"
|
|
1665
|
-
},
|
|
1666
|
-
{
|
|
1667
|
-
"components": [
|
|
1668
|
-
{
|
|
1669
|
-
"components": [
|
|
1670
|
-
{
|
|
1671
|
-
"internalType": "address",
|
|
1672
|
-
"name": "recipient",
|
|
1673
|
-
"type": "address"
|
|
1674
|
-
},
|
|
1675
|
-
{
|
|
1676
|
-
"internalType": "uint256",
|
|
1677
|
-
"name": "depositFeeSplit",
|
|
1678
|
-
"type": "uint256"
|
|
1679
|
-
},
|
|
1680
|
-
{
|
|
1681
|
-
"internalType": "uint256",
|
|
1682
|
-
"name": "rewardFeeSplit",
|
|
1683
|
-
"type": "uint256"
|
|
1684
|
-
}
|
|
1685
|
-
],
|
|
1686
|
-
"internalType": "struct IFeeDispatcher.FeeRecipient[]",
|
|
1687
|
-
"name": "recipients_",
|
|
1688
|
-
"type": "tuple[]"
|
|
1689
|
-
},
|
|
1690
|
-
{
|
|
1691
|
-
"internalType": "address",
|
|
1692
|
-
"name": "feeDispatcher_",
|
|
1693
|
-
"type": "address"
|
|
1694
|
-
},
|
|
1695
|
-
{
|
|
1696
|
-
"internalType": "enum Vault.AdditionalRewardsStrategy",
|
|
1697
|
-
"name": "additionalRewardsStrategy_",
|
|
1698
|
-
"type": "uint8"
|
|
1699
|
-
},
|
|
1700
|
-
{
|
|
1701
|
-
"internalType": "contract BlockList",
|
|
1702
|
-
"name": "blockList_",
|
|
1703
|
-
"type": "address"
|
|
1704
|
-
},
|
|
1705
|
-
{
|
|
1706
|
-
"internalType": "uint256",
|
|
1707
|
-
"name": "pendingDepositFee_",
|
|
1708
|
-
"type": "uint256"
|
|
1709
|
-
},
|
|
1710
|
-
{
|
|
1711
|
-
"internalType": "uint256",
|
|
1712
|
-
"name": "pendingRewardFee_",
|
|
1713
|
-
"type": "uint256"
|
|
1714
|
-
},
|
|
1715
|
-
{
|
|
1716
|
-
"internalType": "contract IConnectorRegistry",
|
|
1717
|
-
"name": "connectorRegistry_",
|
|
1718
|
-
"type": "address"
|
|
1719
|
-
},
|
|
1720
|
-
{
|
|
1721
|
-
"internalType": "address",
|
|
1722
|
-
"name": "initialFeeCollector_",
|
|
1723
|
-
"type": "address"
|
|
1724
|
-
}
|
|
1725
|
-
],
|
|
1726
|
-
"internalType": "struct Vault.UpgradeParams",
|
|
1727
|
-
"name": "upgradeParams",
|
|
1728
|
-
"type": "tuple"
|
|
1729
|
-
}
|
|
1730
|
-
],
|
|
1731
|
-
"name": "initialize",
|
|
1732
|
-
"outputs": [],
|
|
1733
|
-
"stateMutability": "nonpayable",
|
|
1734
|
-
"type": "function"
|
|
1735
|
-
},
|
|
1736
|
-
{
|
|
1737
|
-
"inputs": [
|
|
1738
|
-
{
|
|
1739
|
-
"internalType": "address",
|
|
1740
|
-
"name": "",
|
|
1741
|
-
"type": "address"
|
|
1742
|
-
}
|
|
1743
|
-
],
|
|
1744
|
-
"name": "maxDeposit",
|
|
1745
|
-
"outputs": [
|
|
1746
|
-
{
|
|
1747
|
-
"internalType": "uint256",
|
|
1748
|
-
"name": "",
|
|
1749
|
-
"type": "uint256"
|
|
1750
|
-
}
|
|
1751
|
-
],
|
|
1752
|
-
"stateMutability": "view",
|
|
1753
|
-
"type": "function"
|
|
1754
|
-
},
|
|
1755
|
-
{
|
|
1756
|
-
"inputs": [
|
|
1757
|
-
{
|
|
1758
|
-
"internalType": "address",
|
|
1759
|
-
"name": "",
|
|
1760
|
-
"type": "address"
|
|
1761
|
-
}
|
|
1762
|
-
],
|
|
1763
|
-
"name": "maxMint",
|
|
1764
|
-
"outputs": [
|
|
1765
|
-
{
|
|
1766
|
-
"internalType": "uint256",
|
|
1767
|
-
"name": "",
|
|
1768
|
-
"type": "uint256"
|
|
1769
|
-
}
|
|
1770
|
-
],
|
|
1771
|
-
"stateMutability": "view",
|
|
1772
|
-
"type": "function"
|
|
1773
|
-
},
|
|
1774
|
-
{
|
|
1775
|
-
"inputs": [
|
|
1776
|
-
{
|
|
1777
|
-
"internalType": "address",
|
|
1778
|
-
"name": "owner",
|
|
1779
|
-
"type": "address"
|
|
1780
|
-
}
|
|
1781
|
-
],
|
|
1782
|
-
"name": "maxRedeem",
|
|
1783
|
-
"outputs": [
|
|
402
|
+
},
|
|
1784
403
|
{
|
|
1785
|
-
"
|
|
1786
|
-
"
|
|
1787
|
-
"
|
|
404
|
+
"indexed": false,
|
|
405
|
+
"internalType": "bytes",
|
|
406
|
+
"name": "cfParameters",
|
|
407
|
+
"type": "bytes"
|
|
1788
408
|
}
|
|
1789
409
|
],
|
|
1790
|
-
"
|
|
1791
|
-
"type": "
|
|
410
|
+
"name": "XCallToken",
|
|
411
|
+
"type": "event"
|
|
1792
412
|
},
|
|
1793
413
|
{
|
|
1794
414
|
"inputs": [
|
|
1795
415
|
{
|
|
1796
|
-
"internalType": "
|
|
1797
|
-
"name": "
|
|
1798
|
-
"type": "
|
|
1799
|
-
}
|
|
1800
|
-
],
|
|
1801
|
-
"name": "maxWithdraw",
|
|
1802
|
-
"outputs": [
|
|
1803
|
-
{
|
|
1804
|
-
"internalType": "uint256",
|
|
1805
|
-
"name": "",
|
|
1806
|
-
"type": "uint256"
|
|
416
|
+
"internalType": "bytes32",
|
|
417
|
+
"name": "swapID",
|
|
418
|
+
"type": "bytes32"
|
|
1807
419
|
}
|
|
1808
420
|
],
|
|
1809
|
-
"
|
|
421
|
+
"name": "addGasNative",
|
|
422
|
+
"outputs": [],
|
|
423
|
+
"stateMutability": "payable",
|
|
1810
424
|
"type": "function"
|
|
1811
425
|
},
|
|
1812
426
|
{
|
|
1813
427
|
"inputs": [
|
|
1814
428
|
{
|
|
1815
|
-
"internalType": "
|
|
1816
|
-
"name": "
|
|
1817
|
-
"type": "
|
|
429
|
+
"internalType": "bytes32",
|
|
430
|
+
"name": "swapID",
|
|
431
|
+
"type": "bytes32"
|
|
1818
432
|
},
|
|
1819
|
-
{
|
|
1820
|
-
"internalType": "address",
|
|
1821
|
-
"name": "receiver",
|
|
1822
|
-
"type": "address"
|
|
1823
|
-
}
|
|
1824
|
-
],
|
|
1825
|
-
"name": "mint",
|
|
1826
|
-
"outputs": [
|
|
1827
433
|
{
|
|
1828
434
|
"internalType": "uint256",
|
|
1829
|
-
"name": "",
|
|
435
|
+
"name": "amount",
|
|
1830
436
|
"type": "uint256"
|
|
1831
|
-
}
|
|
1832
|
-
],
|
|
1833
|
-
"stateMutability": "nonpayable",
|
|
1834
|
-
"type": "function"
|
|
1835
|
-
},
|
|
1836
|
-
{
|
|
1837
|
-
"inputs": [],
|
|
1838
|
-
"name": "name",
|
|
1839
|
-
"outputs": [
|
|
1840
|
-
{
|
|
1841
|
-
"internalType": "string",
|
|
1842
|
-
"name": "",
|
|
1843
|
-
"type": "string"
|
|
1844
|
-
}
|
|
1845
|
-
],
|
|
1846
|
-
"stateMutability": "view",
|
|
1847
|
-
"type": "function"
|
|
1848
|
-
},
|
|
1849
|
-
{
|
|
1850
|
-
"inputs": [],
|
|
1851
|
-
"name": "owner",
|
|
1852
|
-
"outputs": [
|
|
437
|
+
},
|
|
1853
438
|
{
|
|
1854
|
-
"internalType": "
|
|
1855
|
-
"name": "",
|
|
439
|
+
"internalType": "contract IERC20",
|
|
440
|
+
"name": "token",
|
|
1856
441
|
"type": "address"
|
|
1857
442
|
}
|
|
1858
443
|
],
|
|
1859
|
-
"
|
|
1860
|
-
"type": "function"
|
|
1861
|
-
},
|
|
1862
|
-
{
|
|
1863
|
-
"inputs": [],
|
|
1864
|
-
"name": "pauseDeposit",
|
|
444
|
+
"name": "addGasToken",
|
|
1865
445
|
"outputs": [],
|
|
1866
446
|
"stateMutability": "nonpayable",
|
|
1867
447
|
"type": "function"
|
|
1868
448
|
},
|
|
1869
|
-
{
|
|
1870
|
-
"inputs": [],
|
|
1871
|
-
"name": "pendingDefaultAdmin",
|
|
1872
|
-
"outputs": [
|
|
1873
|
-
{
|
|
1874
|
-
"internalType": "address",
|
|
1875
|
-
"name": "newAdmin",
|
|
1876
|
-
"type": "address"
|
|
1877
|
-
},
|
|
1878
|
-
{
|
|
1879
|
-
"internalType": "uint48",
|
|
1880
|
-
"name": "schedule",
|
|
1881
|
-
"type": "uint48"
|
|
1882
|
-
}
|
|
1883
|
-
],
|
|
1884
|
-
"stateMutability": "view",
|
|
1885
|
-
"type": "function"
|
|
1886
|
-
},
|
|
1887
|
-
{
|
|
1888
|
-
"inputs": [],
|
|
1889
|
-
"name": "pendingDefaultAdminDelay",
|
|
1890
|
-
"outputs": [
|
|
1891
|
-
{
|
|
1892
|
-
"internalType": "uint48",
|
|
1893
|
-
"name": "newDelay",
|
|
1894
|
-
"type": "uint48"
|
|
1895
|
-
},
|
|
1896
|
-
{
|
|
1897
|
-
"internalType": "uint48",
|
|
1898
|
-
"name": "schedule",
|
|
1899
|
-
"type": "uint48"
|
|
1900
|
-
}
|
|
1901
|
-
],
|
|
1902
|
-
"stateMutability": "view",
|
|
1903
|
-
"type": "function"
|
|
1904
|
-
},
|
|
1905
|
-
{
|
|
1906
|
-
"inputs": [],
|
|
1907
|
-
"name": "pendingDepositFee",
|
|
1908
|
-
"outputs": [
|
|
1909
|
-
{
|
|
1910
|
-
"internalType": "uint256",
|
|
1911
|
-
"name": "",
|
|
1912
|
-
"type": "uint256"
|
|
1913
|
-
}
|
|
1914
|
-
],
|
|
1915
|
-
"stateMutability": "view",
|
|
1916
|
-
"type": "function"
|
|
1917
|
-
},
|
|
1918
|
-
{
|
|
1919
|
-
"inputs": [],
|
|
1920
|
-
"name": "pendingRewardFee",
|
|
1921
|
-
"outputs": [
|
|
1922
|
-
{
|
|
1923
|
-
"internalType": "uint256",
|
|
1924
|
-
"name": "",
|
|
1925
|
-
"type": "uint256"
|
|
1926
|
-
}
|
|
1927
|
-
],
|
|
1928
|
-
"stateMutability": "view",
|
|
1929
|
-
"type": "function"
|
|
1930
|
-
},
|
|
1931
|
-
{
|
|
1932
|
-
"inputs": [
|
|
1933
|
-
{
|
|
1934
|
-
"internalType": "uint256",
|
|
1935
|
-
"name": "assets",
|
|
1936
|
-
"type": "uint256"
|
|
1937
|
-
}
|
|
1938
|
-
],
|
|
1939
|
-
"name": "previewDeposit",
|
|
1940
|
-
"outputs": [
|
|
1941
|
-
{
|
|
1942
|
-
"internalType": "uint256",
|
|
1943
|
-
"name": "",
|
|
1944
|
-
"type": "uint256"
|
|
1945
|
-
}
|
|
1946
|
-
],
|
|
1947
|
-
"stateMutability": "view",
|
|
1948
|
-
"type": "function"
|
|
1949
|
-
},
|
|
1950
|
-
{
|
|
1951
|
-
"inputs": [
|
|
1952
|
-
{
|
|
1953
|
-
"internalType": "uint256",
|
|
1954
|
-
"name": "shares",
|
|
1955
|
-
"type": "uint256"
|
|
1956
|
-
}
|
|
1957
|
-
],
|
|
1958
|
-
"name": "previewMint",
|
|
1959
|
-
"outputs": [
|
|
1960
|
-
{
|
|
1961
|
-
"internalType": "uint256",
|
|
1962
|
-
"name": "",
|
|
1963
|
-
"type": "uint256"
|
|
1964
|
-
}
|
|
1965
|
-
],
|
|
1966
|
-
"stateMutability": "view",
|
|
1967
|
-
"type": "function"
|
|
1968
|
-
},
|
|
1969
|
-
{
|
|
1970
|
-
"inputs": [
|
|
1971
|
-
{
|
|
1972
|
-
"internalType": "uint256",
|
|
1973
|
-
"name": "shares",
|
|
1974
|
-
"type": "uint256"
|
|
1975
|
-
}
|
|
1976
|
-
],
|
|
1977
|
-
"name": "previewRedeem",
|
|
1978
|
-
"outputs": [
|
|
1979
|
-
{
|
|
1980
|
-
"internalType": "uint256",
|
|
1981
|
-
"name": "",
|
|
1982
|
-
"type": "uint256"
|
|
1983
|
-
}
|
|
1984
|
-
],
|
|
1985
|
-
"stateMutability": "view",
|
|
1986
|
-
"type": "function"
|
|
1987
|
-
},
|
|
1988
|
-
{
|
|
1989
|
-
"inputs": [
|
|
1990
|
-
{
|
|
1991
|
-
"internalType": "uint256",
|
|
1992
|
-
"name": "assets",
|
|
1993
|
-
"type": "uint256"
|
|
1994
|
-
}
|
|
1995
|
-
],
|
|
1996
|
-
"name": "previewWithdraw",
|
|
1997
|
-
"outputs": [
|
|
1998
|
-
{
|
|
1999
|
-
"internalType": "uint256",
|
|
2000
|
-
"name": "",
|
|
2001
|
-
"type": "uint256"
|
|
2002
|
-
}
|
|
2003
|
-
],
|
|
2004
|
-
"stateMutability": "view",
|
|
2005
|
-
"type": "function"
|
|
2006
|
-
},
|
|
2007
449
|
{
|
|
2008
450
|
"inputs": [
|
|
2009
451
|
{
|
|
2010
|
-
"
|
|
2011
|
-
|
|
2012
|
-
|
|
452
|
+
"components": [
|
|
453
|
+
{
|
|
454
|
+
"internalType": "uint256",
|
|
455
|
+
"name": "sig",
|
|
456
|
+
"type": "uint256"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"internalType": "uint256",
|
|
460
|
+
"name": "nonce",
|
|
461
|
+
"type": "uint256"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"internalType": "address",
|
|
465
|
+
"name": "kTimesGAddress",
|
|
466
|
+
"type": "address"
|
|
467
|
+
}
|
|
468
|
+
],
|
|
469
|
+
"internalType": "struct IShared.SigData",
|
|
470
|
+
"name": "sigData",
|
|
471
|
+
"type": "tuple"
|
|
2013
472
|
},
|
|
2014
473
|
{
|
|
2015
|
-
"
|
|
2016
|
-
|
|
2017
|
-
|
|
474
|
+
"components": [
|
|
475
|
+
{
|
|
476
|
+
"internalType": "bytes32",
|
|
477
|
+
"name": "swapID",
|
|
478
|
+
"type": "bytes32"
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"internalType": "address",
|
|
482
|
+
"name": "token",
|
|
483
|
+
"type": "address"
|
|
484
|
+
}
|
|
485
|
+
],
|
|
486
|
+
"internalType": "struct IShared.DeployFetchParams[]",
|
|
487
|
+
"name": "deployFetchParamsArray",
|
|
488
|
+
"type": "tuple[]"
|
|
2018
489
|
},
|
|
2019
490
|
{
|
|
2020
|
-
"
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
491
|
+
"components": [
|
|
492
|
+
{
|
|
493
|
+
"internalType": "address payable",
|
|
494
|
+
"name": "fetchContract",
|
|
495
|
+
"type": "address"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"internalType": "address",
|
|
499
|
+
"name": "token",
|
|
500
|
+
"type": "address"
|
|
501
|
+
}
|
|
502
|
+
],
|
|
503
|
+
"internalType": "struct IShared.FetchParams[]",
|
|
504
|
+
"name": "fetchParamsArray",
|
|
505
|
+
"type": "tuple[]"
|
|
506
|
+
},
|
|
2027
507
|
{
|
|
2028
|
-
"
|
|
2029
|
-
|
|
2030
|
-
|
|
508
|
+
"components": [
|
|
509
|
+
{
|
|
510
|
+
"internalType": "address",
|
|
511
|
+
"name": "token",
|
|
512
|
+
"type": "address"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"internalType": "address payable",
|
|
516
|
+
"name": "recipient",
|
|
517
|
+
"type": "address"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"internalType": "uint256",
|
|
521
|
+
"name": "amount",
|
|
522
|
+
"type": "uint256"
|
|
523
|
+
}
|
|
524
|
+
],
|
|
525
|
+
"internalType": "struct IShared.TransferParams[]",
|
|
526
|
+
"name": "transferParamsArray",
|
|
527
|
+
"type": "tuple[]"
|
|
2031
528
|
}
|
|
2032
529
|
],
|
|
530
|
+
"name": "allBatch",
|
|
531
|
+
"outputs": [],
|
|
2033
532
|
"stateMutability": "nonpayable",
|
|
2034
533
|
"type": "function"
|
|
2035
534
|
},
|
|
2036
535
|
{
|
|
2037
536
|
"inputs": [
|
|
2038
537
|
{
|
|
2039
|
-
"
|
|
2040
|
-
|
|
2041
|
-
|
|
538
|
+
"components": [
|
|
539
|
+
{
|
|
540
|
+
"internalType": "uint256",
|
|
541
|
+
"name": "sig",
|
|
542
|
+
"type": "uint256"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"internalType": "uint256",
|
|
546
|
+
"name": "nonce",
|
|
547
|
+
"type": "uint256"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"internalType": "address",
|
|
551
|
+
"name": "kTimesGAddress",
|
|
552
|
+
"type": "address"
|
|
553
|
+
}
|
|
554
|
+
],
|
|
555
|
+
"internalType": "struct IShared.SigData",
|
|
556
|
+
"name": "sigData",
|
|
557
|
+
"type": "tuple"
|
|
2042
558
|
},
|
|
2043
559
|
{
|
|
2044
|
-
"
|
|
2045
|
-
|
|
2046
|
-
|
|
560
|
+
"components": [
|
|
561
|
+
{
|
|
562
|
+
"internalType": "address payable",
|
|
563
|
+
"name": "fetchContract",
|
|
564
|
+
"type": "address"
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"internalType": "address",
|
|
568
|
+
"name": "token",
|
|
569
|
+
"type": "address"
|
|
570
|
+
}
|
|
571
|
+
],
|
|
572
|
+
"internalType": "struct IShared.FetchParams[]",
|
|
573
|
+
"name": "fetchParamsArray",
|
|
574
|
+
"type": "tuple[]"
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"components": [
|
|
578
|
+
{
|
|
579
|
+
"internalType": "address",
|
|
580
|
+
"name": "token",
|
|
581
|
+
"type": "address"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"internalType": "address payable",
|
|
585
|
+
"name": "recipient",
|
|
586
|
+
"type": "address"
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"internalType": "uint256",
|
|
590
|
+
"name": "amount",
|
|
591
|
+
"type": "uint256"
|
|
592
|
+
}
|
|
593
|
+
],
|
|
594
|
+
"internalType": "struct IShared.TransferParams[]",
|
|
595
|
+
"name": "transferParamsArray",
|
|
596
|
+
"type": "tuple[]"
|
|
2047
597
|
}
|
|
2048
598
|
],
|
|
2049
|
-
"name": "
|
|
599
|
+
"name": "allBatchV2",
|
|
2050
600
|
"outputs": [],
|
|
2051
601
|
"stateMutability": "nonpayable",
|
|
2052
602
|
"type": "function"
|
|
@@ -2054,37 +604,60 @@ exports.Vault_jsonAbi = [
|
|
|
2054
604
|
{
|
|
2055
605
|
"inputs": [
|
|
2056
606
|
{
|
|
2057
|
-
"
|
|
2058
|
-
|
|
2059
|
-
|
|
607
|
+
"components": [
|
|
608
|
+
{
|
|
609
|
+
"internalType": "uint256",
|
|
610
|
+
"name": "sig",
|
|
611
|
+
"type": "uint256"
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
"internalType": "uint256",
|
|
615
|
+
"name": "nonce",
|
|
616
|
+
"type": "uint256"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"internalType": "address",
|
|
620
|
+
"name": "kTimesGAddress",
|
|
621
|
+
"type": "address"
|
|
622
|
+
}
|
|
623
|
+
],
|
|
624
|
+
"internalType": "struct IShared.SigData",
|
|
625
|
+
"name": "sigData",
|
|
626
|
+
"type": "tuple"
|
|
2060
627
|
},
|
|
2061
628
|
{
|
|
2062
|
-
"
|
|
2063
|
-
|
|
2064
|
-
|
|
629
|
+
"components": [
|
|
630
|
+
{
|
|
631
|
+
"internalType": "bytes32",
|
|
632
|
+
"name": "swapID",
|
|
633
|
+
"type": "bytes32"
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"internalType": "address",
|
|
637
|
+
"name": "token",
|
|
638
|
+
"type": "address"
|
|
639
|
+
}
|
|
640
|
+
],
|
|
641
|
+
"internalType": "struct IShared.DeployFetchParams[]",
|
|
642
|
+
"name": "deployFetchParamsArray",
|
|
643
|
+
"type": "tuple[]"
|
|
2065
644
|
}
|
|
2066
645
|
],
|
|
2067
|
-
"name": "
|
|
646
|
+
"name": "deployAndFetchBatch",
|
|
2068
647
|
"outputs": [],
|
|
2069
648
|
"stateMutability": "nonpayable",
|
|
2070
649
|
"type": "function"
|
|
2071
650
|
},
|
|
2072
651
|
{
|
|
2073
652
|
"inputs": [],
|
|
2074
|
-
"name": "
|
|
2075
|
-
"outputs": [
|
|
2076
|
-
|
|
2077
|
-
"internalType": "uint256",
|
|
2078
|
-
"name": "",
|
|
2079
|
-
"type": "uint256"
|
|
2080
|
-
}
|
|
2081
|
-
],
|
|
2082
|
-
"stateMutability": "view",
|
|
653
|
+
"name": "disableCommunityGuard",
|
|
654
|
+
"outputs": [],
|
|
655
|
+
"stateMutability": "nonpayable",
|
|
2083
656
|
"type": "function"
|
|
2084
657
|
},
|
|
2085
658
|
{
|
|
2086
659
|
"inputs": [],
|
|
2087
|
-
"name": "
|
|
660
|
+
"name": "enableCommunityGuard",
|
|
2088
661
|
"outputs": [],
|
|
2089
662
|
"stateMutability": "nonpayable",
|
|
2090
663
|
"type": "function"
|
|
@@ -2092,12 +665,88 @@ exports.Vault_jsonAbi = [
|
|
|
2092
665
|
{
|
|
2093
666
|
"inputs": [
|
|
2094
667
|
{
|
|
2095
|
-
"
|
|
2096
|
-
|
|
2097
|
-
|
|
668
|
+
"components": [
|
|
669
|
+
{
|
|
670
|
+
"internalType": "uint256",
|
|
671
|
+
"name": "sig",
|
|
672
|
+
"type": "uint256"
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"internalType": "uint256",
|
|
676
|
+
"name": "nonce",
|
|
677
|
+
"type": "uint256"
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"internalType": "address",
|
|
681
|
+
"name": "kTimesGAddress",
|
|
682
|
+
"type": "address"
|
|
683
|
+
}
|
|
684
|
+
],
|
|
685
|
+
"internalType": "struct IShared.SigData",
|
|
686
|
+
"name": "sigData",
|
|
687
|
+
"type": "tuple"
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"components": [
|
|
691
|
+
{
|
|
692
|
+
"internalType": "address",
|
|
693
|
+
"name": "token",
|
|
694
|
+
"type": "address"
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"internalType": "address payable",
|
|
698
|
+
"name": "recipient",
|
|
699
|
+
"type": "address"
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"internalType": "uint256",
|
|
703
|
+
"name": "amount",
|
|
704
|
+
"type": "uint256"
|
|
705
|
+
}
|
|
706
|
+
],
|
|
707
|
+
"internalType": "struct IShared.TransferParams",
|
|
708
|
+
"name": "transferParams",
|
|
709
|
+
"type": "tuple"
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"components": [
|
|
713
|
+
{
|
|
714
|
+
"internalType": "enum IMulticall.CallType",
|
|
715
|
+
"name": "callType",
|
|
716
|
+
"type": "uint8"
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
"internalType": "address",
|
|
720
|
+
"name": "target",
|
|
721
|
+
"type": "address"
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"internalType": "uint256",
|
|
725
|
+
"name": "value",
|
|
726
|
+
"type": "uint256"
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
"internalType": "bytes",
|
|
730
|
+
"name": "callData",
|
|
731
|
+
"type": "bytes"
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"internalType": "bytes",
|
|
735
|
+
"name": "payload",
|
|
736
|
+
"type": "bytes"
|
|
737
|
+
}
|
|
738
|
+
],
|
|
739
|
+
"internalType": "struct IMulticall.Call[]",
|
|
740
|
+
"name": "calls",
|
|
741
|
+
"type": "tuple[]"
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"internalType": "uint256",
|
|
745
|
+
"name": "gasMulticall",
|
|
746
|
+
"type": "uint256"
|
|
2098
747
|
}
|
|
2099
748
|
],
|
|
2100
|
-
"name": "
|
|
749
|
+
"name": "executeActions",
|
|
2101
750
|
"outputs": [],
|
|
2102
751
|
"stateMutability": "nonpayable",
|
|
2103
752
|
"type": "function"
|
|
@@ -2105,12 +754,49 @@ exports.Vault_jsonAbi = [
|
|
|
2105
754
|
{
|
|
2106
755
|
"inputs": [
|
|
2107
756
|
{
|
|
2108
|
-
"
|
|
2109
|
-
|
|
757
|
+
"components": [
|
|
758
|
+
{
|
|
759
|
+
"internalType": "uint256",
|
|
760
|
+
"name": "sig",
|
|
761
|
+
"type": "uint256"
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
"internalType": "uint256",
|
|
765
|
+
"name": "nonce",
|
|
766
|
+
"type": "uint256"
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
"internalType": "address",
|
|
770
|
+
"name": "kTimesGAddress",
|
|
771
|
+
"type": "address"
|
|
772
|
+
}
|
|
773
|
+
],
|
|
774
|
+
"internalType": "struct IShared.SigData",
|
|
775
|
+
"name": "sigData",
|
|
776
|
+
"type": "tuple"
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"internalType": "address",
|
|
780
|
+
"name": "recipient",
|
|
2110
781
|
"type": "address"
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"internalType": "uint32",
|
|
785
|
+
"name": "srcChain",
|
|
786
|
+
"type": "uint32"
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"internalType": "bytes",
|
|
790
|
+
"name": "srcAddress",
|
|
791
|
+
"type": "bytes"
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
"internalType": "bytes",
|
|
795
|
+
"name": "message",
|
|
796
|
+
"type": "bytes"
|
|
2111
797
|
}
|
|
2112
798
|
],
|
|
2113
|
-
"name": "
|
|
799
|
+
"name": "executexCall",
|
|
2114
800
|
"outputs": [],
|
|
2115
801
|
"stateMutability": "nonpayable",
|
|
2116
802
|
"type": "function"
|
|
@@ -2118,12 +804,66 @@ exports.Vault_jsonAbi = [
|
|
|
2118
804
|
{
|
|
2119
805
|
"inputs": [
|
|
2120
806
|
{
|
|
2121
|
-
"
|
|
2122
|
-
|
|
2123
|
-
|
|
807
|
+
"components": [
|
|
808
|
+
{
|
|
809
|
+
"internalType": "uint256",
|
|
810
|
+
"name": "sig",
|
|
811
|
+
"type": "uint256"
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
"internalType": "uint256",
|
|
815
|
+
"name": "nonce",
|
|
816
|
+
"type": "uint256"
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"internalType": "address",
|
|
820
|
+
"name": "kTimesGAddress",
|
|
821
|
+
"type": "address"
|
|
822
|
+
}
|
|
823
|
+
],
|
|
824
|
+
"internalType": "struct IShared.SigData",
|
|
825
|
+
"name": "sigData",
|
|
826
|
+
"type": "tuple"
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
"components": [
|
|
830
|
+
{
|
|
831
|
+
"internalType": "address",
|
|
832
|
+
"name": "token",
|
|
833
|
+
"type": "address"
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"internalType": "address payable",
|
|
837
|
+
"name": "recipient",
|
|
838
|
+
"type": "address"
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
"internalType": "uint256",
|
|
842
|
+
"name": "amount",
|
|
843
|
+
"type": "uint256"
|
|
844
|
+
}
|
|
845
|
+
],
|
|
846
|
+
"internalType": "struct IShared.TransferParams",
|
|
847
|
+
"name": "transferParams",
|
|
848
|
+
"type": "tuple"
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
"internalType": "uint32",
|
|
852
|
+
"name": "srcChain",
|
|
853
|
+
"type": "uint32"
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
"internalType": "bytes",
|
|
857
|
+
"name": "srcAddress",
|
|
858
|
+
"type": "bytes"
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
"internalType": "bytes",
|
|
862
|
+
"name": "message",
|
|
863
|
+
"type": "bytes"
|
|
2124
864
|
}
|
|
2125
865
|
],
|
|
2126
|
-
"name": "
|
|
866
|
+
"name": "executexSwapAndCall",
|
|
2127
867
|
"outputs": [],
|
|
2128
868
|
"stateMutability": "nonpayable",
|
|
2129
869
|
"type": "function"
|
|
@@ -2133,53 +873,51 @@ exports.Vault_jsonAbi = [
|
|
|
2133
873
|
{
|
|
2134
874
|
"components": [
|
|
2135
875
|
{
|
|
2136
|
-
"internalType": "
|
|
2137
|
-
"name": "
|
|
2138
|
-
"type": "
|
|
876
|
+
"internalType": "uint256",
|
|
877
|
+
"name": "sig",
|
|
878
|
+
"type": "uint256"
|
|
2139
879
|
},
|
|
2140
880
|
{
|
|
2141
881
|
"internalType": "uint256",
|
|
2142
|
-
"name": "
|
|
882
|
+
"name": "nonce",
|
|
2143
883
|
"type": "uint256"
|
|
2144
884
|
},
|
|
2145
885
|
{
|
|
2146
|
-
"internalType": "
|
|
2147
|
-
"name": "
|
|
2148
|
-
"type": "
|
|
886
|
+
"internalType": "address",
|
|
887
|
+
"name": "kTimesGAddress",
|
|
888
|
+
"type": "address"
|
|
889
|
+
}
|
|
890
|
+
],
|
|
891
|
+
"internalType": "struct IShared.SigData",
|
|
892
|
+
"name": "sigData",
|
|
893
|
+
"type": "tuple"
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
"components": [
|
|
897
|
+
{
|
|
898
|
+
"internalType": "address payable",
|
|
899
|
+
"name": "fetchContract",
|
|
900
|
+
"type": "address"
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
"internalType": "address",
|
|
904
|
+
"name": "token",
|
|
905
|
+
"type": "address"
|
|
2149
906
|
}
|
|
2150
907
|
],
|
|
2151
|
-
"internalType": "struct
|
|
2152
|
-
"name": "
|
|
908
|
+
"internalType": "struct IShared.FetchParams[]",
|
|
909
|
+
"name": "fetchParamsArray",
|
|
2153
910
|
"type": "tuple[]"
|
|
2154
911
|
}
|
|
2155
912
|
],
|
|
2156
|
-
"name": "
|
|
2157
|
-
"outputs": [],
|
|
2158
|
-
"stateMutability": "nonpayable",
|
|
2159
|
-
"type": "function"
|
|
2160
|
-
},
|
|
2161
|
-
{
|
|
2162
|
-
"inputs": [
|
|
2163
|
-
{
|
|
2164
|
-
"internalType": "uint256",
|
|
2165
|
-
"name": "newRewardFee",
|
|
2166
|
-
"type": "uint256"
|
|
2167
|
-
}
|
|
2168
|
-
],
|
|
2169
|
-
"name": "setRewardFee",
|
|
913
|
+
"name": "fetchBatch",
|
|
2170
914
|
"outputs": [],
|
|
2171
915
|
"stateMutability": "nonpayable",
|
|
2172
916
|
"type": "function"
|
|
2173
917
|
},
|
|
2174
918
|
{
|
|
2175
|
-
"inputs": [
|
|
2176
|
-
|
|
2177
|
-
"internalType": "bytes4",
|
|
2178
|
-
"name": "interfaceId",
|
|
2179
|
-
"type": "bytes4"
|
|
2180
|
-
}
|
|
2181
|
-
],
|
|
2182
|
-
"name": "supportsInterface",
|
|
919
|
+
"inputs": [],
|
|
920
|
+
"name": "getCommunityGuardDisabled",
|
|
2183
921
|
"outputs": [
|
|
2184
922
|
{
|
|
2185
923
|
"internalType": "bool",
|
|
@@ -2192,12 +930,12 @@ exports.Vault_jsonAbi = [
|
|
|
2192
930
|
},
|
|
2193
931
|
{
|
|
2194
932
|
"inputs": [],
|
|
2195
|
-
"name": "
|
|
933
|
+
"name": "getCommunityKey",
|
|
2196
934
|
"outputs": [
|
|
2197
935
|
{
|
|
2198
|
-
"internalType": "
|
|
936
|
+
"internalType": "address",
|
|
2199
937
|
"name": "",
|
|
2200
|
-
"type": "
|
|
938
|
+
"type": "address"
|
|
2201
939
|
}
|
|
2202
940
|
],
|
|
2203
941
|
"stateMutability": "view",
|
|
@@ -2205,12 +943,12 @@ exports.Vault_jsonAbi = [
|
|
|
2205
943
|
},
|
|
2206
944
|
{
|
|
2207
945
|
"inputs": [],
|
|
2208
|
-
"name": "
|
|
946
|
+
"name": "getGovernor",
|
|
2209
947
|
"outputs": [
|
|
2210
948
|
{
|
|
2211
|
-
"internalType": "
|
|
949
|
+
"internalType": "address",
|
|
2212
950
|
"name": "",
|
|
2213
|
-
"type": "
|
|
951
|
+
"type": "address"
|
|
2214
952
|
}
|
|
2215
953
|
],
|
|
2216
954
|
"stateMutability": "view",
|
|
@@ -2218,31 +956,20 @@ exports.Vault_jsonAbi = [
|
|
|
2218
956
|
},
|
|
2219
957
|
{
|
|
2220
958
|
"inputs": [],
|
|
2221
|
-
"name": "
|
|
959
|
+
"name": "getKeyManager",
|
|
2222
960
|
"outputs": [
|
|
2223
961
|
{
|
|
2224
|
-
"internalType": "
|
|
962
|
+
"internalType": "contract IKeyManager",
|
|
2225
963
|
"name": "",
|
|
2226
|
-
"type": "
|
|
964
|
+
"type": "address"
|
|
2227
965
|
}
|
|
2228
966
|
],
|
|
2229
967
|
"stateMutability": "view",
|
|
2230
968
|
"type": "function"
|
|
2231
969
|
},
|
|
2232
970
|
{
|
|
2233
|
-
"inputs": [
|
|
2234
|
-
|
|
2235
|
-
"internalType": "address",
|
|
2236
|
-
"name": "to",
|
|
2237
|
-
"type": "address"
|
|
2238
|
-
},
|
|
2239
|
-
{
|
|
2240
|
-
"internalType": "uint256",
|
|
2241
|
-
"name": "value",
|
|
2242
|
-
"type": "uint256"
|
|
2243
|
-
}
|
|
2244
|
-
],
|
|
2245
|
-
"name": "transfer",
|
|
971
|
+
"inputs": [],
|
|
972
|
+
"name": "getSuspendedState",
|
|
2246
973
|
"outputs": [
|
|
2247
974
|
{
|
|
2248
975
|
"internalType": "bool",
|
|
@@ -2250,54 +977,32 @@ exports.Vault_jsonAbi = [
|
|
|
2250
977
|
"type": "bool"
|
|
2251
978
|
}
|
|
2252
979
|
],
|
|
2253
|
-
"stateMutability": "
|
|
980
|
+
"stateMutability": "view",
|
|
2254
981
|
"type": "function"
|
|
2255
982
|
},
|
|
2256
983
|
{
|
|
2257
984
|
"inputs": [
|
|
2258
985
|
{
|
|
2259
|
-
"internalType": "address",
|
|
2260
|
-
"name": "
|
|
2261
|
-
"type": "address"
|
|
2262
|
-
},
|
|
2263
|
-
{
|
|
2264
|
-
"internalType": "address",
|
|
2265
|
-
"name": "to",
|
|
2266
|
-
"type": "address"
|
|
2267
|
-
},
|
|
2268
|
-
{
|
|
2269
|
-
"internalType": "uint256",
|
|
2270
|
-
"name": "value",
|
|
2271
|
-
"type": "uint256"
|
|
2272
|
-
}
|
|
2273
|
-
],
|
|
2274
|
-
"name": "transferFrom",
|
|
2275
|
-
"outputs": [
|
|
2276
|
-
{
|
|
2277
|
-
"internalType": "bool",
|
|
2278
|
-
"name": "",
|
|
2279
|
-
"type": "bool"
|
|
986
|
+
"internalType": "address[]",
|
|
987
|
+
"name": "tokens",
|
|
988
|
+
"type": "address[]"
|
|
2280
989
|
}
|
|
2281
990
|
],
|
|
991
|
+
"name": "govWithdraw",
|
|
992
|
+
"outputs": [],
|
|
2282
993
|
"stateMutability": "nonpayable",
|
|
2283
994
|
"type": "function"
|
|
2284
995
|
},
|
|
2285
996
|
{
|
|
2286
997
|
"inputs": [],
|
|
2287
|
-
"name": "
|
|
2288
|
-
"outputs": [
|
|
2289
|
-
|
|
2290
|
-
"internalType": "bool",
|
|
2291
|
-
"name": "",
|
|
2292
|
-
"type": "bool"
|
|
2293
|
-
}
|
|
2294
|
-
],
|
|
2295
|
-
"stateMutability": "view",
|
|
998
|
+
"name": "resume",
|
|
999
|
+
"outputs": [],
|
|
1000
|
+
"stateMutability": "nonpayable",
|
|
2296
1001
|
"type": "function"
|
|
2297
1002
|
},
|
|
2298
1003
|
{
|
|
2299
1004
|
"inputs": [],
|
|
2300
|
-
"name": "
|
|
1005
|
+
"name": "suspend",
|
|
2301
1006
|
"outputs": [],
|
|
2302
1007
|
"stateMutability": "nonpayable",
|
|
2303
1008
|
"type": "function"
|
|
@@ -2307,114 +1012,352 @@ exports.Vault_jsonAbi = [
|
|
|
2307
1012
|
{
|
|
2308
1013
|
"components": [
|
|
2309
1014
|
{
|
|
2310
|
-
"
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
"name": "depositFeeSplit",
|
|
2319
|
-
"type": "uint256"
|
|
2320
|
-
},
|
|
2321
|
-
{
|
|
2322
|
-
"internalType": "uint256",
|
|
2323
|
-
"name": "rewardFeeSplit",
|
|
2324
|
-
"type": "uint256"
|
|
2325
|
-
}
|
|
2326
|
-
],
|
|
2327
|
-
"internalType": "struct IFeeDispatcher.FeeRecipient[]",
|
|
2328
|
-
"name": "recipients_",
|
|
2329
|
-
"type": "tuple[]"
|
|
1015
|
+
"internalType": "uint256",
|
|
1016
|
+
"name": "sig",
|
|
1017
|
+
"type": "uint256"
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"internalType": "uint256",
|
|
1021
|
+
"name": "nonce",
|
|
1022
|
+
"type": "uint256"
|
|
2330
1023
|
},
|
|
2331
1024
|
{
|
|
2332
1025
|
"internalType": "address",
|
|
2333
|
-
"name": "
|
|
1026
|
+
"name": "kTimesGAddress",
|
|
1027
|
+
"type": "address"
|
|
1028
|
+
}
|
|
1029
|
+
],
|
|
1030
|
+
"internalType": "struct IShared.SigData",
|
|
1031
|
+
"name": "sigData",
|
|
1032
|
+
"type": "tuple"
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
"components": [
|
|
1036
|
+
{
|
|
1037
|
+
"internalType": "address",
|
|
1038
|
+
"name": "token",
|
|
2334
1039
|
"type": "address"
|
|
2335
1040
|
},
|
|
2336
1041
|
{
|
|
2337
|
-
"internalType": "
|
|
2338
|
-
"name": "
|
|
2339
|
-
"type": "
|
|
1042
|
+
"internalType": "address payable",
|
|
1043
|
+
"name": "recipient",
|
|
1044
|
+
"type": "address"
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
"internalType": "uint256",
|
|
1048
|
+
"name": "amount",
|
|
1049
|
+
"type": "uint256"
|
|
1050
|
+
}
|
|
1051
|
+
],
|
|
1052
|
+
"internalType": "struct IShared.TransferParams",
|
|
1053
|
+
"name": "transferParams",
|
|
1054
|
+
"type": "tuple"
|
|
1055
|
+
}
|
|
1056
|
+
],
|
|
1057
|
+
"name": "transfer",
|
|
1058
|
+
"outputs": [],
|
|
1059
|
+
"stateMutability": "nonpayable",
|
|
1060
|
+
"type": "function"
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
"inputs": [
|
|
1064
|
+
{
|
|
1065
|
+
"components": [
|
|
1066
|
+
{
|
|
1067
|
+
"internalType": "uint256",
|
|
1068
|
+
"name": "sig",
|
|
1069
|
+
"type": "uint256"
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
"internalType": "uint256",
|
|
1073
|
+
"name": "nonce",
|
|
1074
|
+
"type": "uint256"
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
"internalType": "address",
|
|
1078
|
+
"name": "kTimesGAddress",
|
|
1079
|
+
"type": "address"
|
|
1080
|
+
}
|
|
1081
|
+
],
|
|
1082
|
+
"internalType": "struct IShared.SigData",
|
|
1083
|
+
"name": "sigData",
|
|
1084
|
+
"type": "tuple"
|
|
1085
|
+
},
|
|
1086
|
+
{
|
|
1087
|
+
"components": [
|
|
1088
|
+
{
|
|
1089
|
+
"internalType": "address",
|
|
1090
|
+
"name": "token",
|
|
1091
|
+
"type": "address"
|
|
2340
1092
|
},
|
|
2341
1093
|
{
|
|
2342
|
-
"internalType": "
|
|
2343
|
-
"name": "
|
|
1094
|
+
"internalType": "address payable",
|
|
1095
|
+
"name": "recipient",
|
|
2344
1096
|
"type": "address"
|
|
2345
1097
|
},
|
|
2346
1098
|
{
|
|
2347
1099
|
"internalType": "uint256",
|
|
2348
|
-
"name": "
|
|
1100
|
+
"name": "amount",
|
|
1101
|
+
"type": "uint256"
|
|
1102
|
+
}
|
|
1103
|
+
],
|
|
1104
|
+
"internalType": "struct IShared.TransferParams[]",
|
|
1105
|
+
"name": "transferParamsArray",
|
|
1106
|
+
"type": "tuple[]"
|
|
1107
|
+
}
|
|
1108
|
+
],
|
|
1109
|
+
"name": "transferBatch",
|
|
1110
|
+
"outputs": [],
|
|
1111
|
+
"stateMutability": "nonpayable",
|
|
1112
|
+
"type": "function"
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
"inputs": [
|
|
1116
|
+
{
|
|
1117
|
+
"components": [
|
|
1118
|
+
{
|
|
1119
|
+
"internalType": "uint256",
|
|
1120
|
+
"name": "sig",
|
|
2349
1121
|
"type": "uint256"
|
|
2350
1122
|
},
|
|
2351
1123
|
{
|
|
2352
1124
|
"internalType": "uint256",
|
|
2353
|
-
"name": "
|
|
1125
|
+
"name": "nonce",
|
|
2354
1126
|
"type": "uint256"
|
|
2355
1127
|
},
|
|
2356
1128
|
{
|
|
2357
|
-
"internalType": "
|
|
2358
|
-
"name": "
|
|
1129
|
+
"internalType": "address",
|
|
1130
|
+
"name": "kTimesGAddress",
|
|
1131
|
+
"type": "address"
|
|
1132
|
+
}
|
|
1133
|
+
],
|
|
1134
|
+
"internalType": "struct IShared.SigData",
|
|
1135
|
+
"name": "sigData",
|
|
1136
|
+
"type": "tuple"
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
"components": [
|
|
1140
|
+
{
|
|
1141
|
+
"internalType": "address",
|
|
1142
|
+
"name": "token",
|
|
1143
|
+
"type": "address"
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
"internalType": "address payable",
|
|
1147
|
+
"name": "recipient",
|
|
2359
1148
|
"type": "address"
|
|
2360
1149
|
},
|
|
1150
|
+
{
|
|
1151
|
+
"internalType": "uint256",
|
|
1152
|
+
"name": "amount",
|
|
1153
|
+
"type": "uint256"
|
|
1154
|
+
}
|
|
1155
|
+
],
|
|
1156
|
+
"internalType": "struct IShared.TransferParams",
|
|
1157
|
+
"name": "transferParams",
|
|
1158
|
+
"type": "tuple"
|
|
1159
|
+
}
|
|
1160
|
+
],
|
|
1161
|
+
"name": "transferFallback",
|
|
1162
|
+
"outputs": [],
|
|
1163
|
+
"stateMutability": "nonpayable",
|
|
1164
|
+
"type": "function"
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
"inputs": [
|
|
1168
|
+
{
|
|
1169
|
+
"components": [
|
|
1170
|
+
{
|
|
1171
|
+
"internalType": "uint256",
|
|
1172
|
+
"name": "sig",
|
|
1173
|
+
"type": "uint256"
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
"internalType": "uint256",
|
|
1177
|
+
"name": "nonce",
|
|
1178
|
+
"type": "uint256"
|
|
1179
|
+
},
|
|
2361
1180
|
{
|
|
2362
1181
|
"internalType": "address",
|
|
2363
|
-
"name": "
|
|
1182
|
+
"name": "kTimesGAddress",
|
|
2364
1183
|
"type": "address"
|
|
2365
1184
|
}
|
|
2366
1185
|
],
|
|
2367
|
-
"internalType": "struct
|
|
2368
|
-
"name": "
|
|
1186
|
+
"internalType": "struct IShared.SigData",
|
|
1187
|
+
"name": "sigData",
|
|
2369
1188
|
"type": "tuple"
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
"internalType": "contract IKeyManager",
|
|
1192
|
+
"name": "keyManager",
|
|
1193
|
+
"type": "address"
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
"internalType": "bool",
|
|
1197
|
+
"name": "omitChecks",
|
|
1198
|
+
"type": "bool"
|
|
2370
1199
|
}
|
|
2371
1200
|
],
|
|
2372
|
-
"name": "
|
|
1201
|
+
"name": "updateKeyManager",
|
|
2373
1202
|
"outputs": [],
|
|
2374
1203
|
"stateMutability": "nonpayable",
|
|
2375
1204
|
"type": "function"
|
|
2376
1205
|
},
|
|
2377
1206
|
{
|
|
2378
|
-
"inputs": [
|
|
2379
|
-
|
|
2380
|
-
|
|
1207
|
+
"inputs": [
|
|
1208
|
+
{
|
|
1209
|
+
"internalType": "uint32",
|
|
1210
|
+
"name": "dstChain",
|
|
1211
|
+
"type": "uint32"
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
"internalType": "bytes",
|
|
1215
|
+
"name": "dstAddress",
|
|
1216
|
+
"type": "bytes"
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
"internalType": "uint32",
|
|
1220
|
+
"name": "dstToken",
|
|
1221
|
+
"type": "uint32"
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
"internalType": "bytes",
|
|
1225
|
+
"name": "message",
|
|
1226
|
+
"type": "bytes"
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
"internalType": "uint256",
|
|
1230
|
+
"name": "gasAmount",
|
|
1231
|
+
"type": "uint256"
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
"internalType": "bytes",
|
|
1235
|
+
"name": "cfParameters",
|
|
1236
|
+
"type": "bytes"
|
|
1237
|
+
}
|
|
1238
|
+
],
|
|
1239
|
+
"name": "xCallNative",
|
|
1240
|
+
"outputs": [],
|
|
1241
|
+
"stateMutability": "payable",
|
|
1242
|
+
"type": "function"
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
"inputs": [
|
|
1246
|
+
{
|
|
1247
|
+
"internalType": "uint32",
|
|
1248
|
+
"name": "dstChain",
|
|
1249
|
+
"type": "uint32"
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
"internalType": "bytes",
|
|
1253
|
+
"name": "dstAddress",
|
|
1254
|
+
"type": "bytes"
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
"internalType": "uint32",
|
|
1258
|
+
"name": "dstToken",
|
|
1259
|
+
"type": "uint32"
|
|
1260
|
+
},
|
|
1261
|
+
{
|
|
1262
|
+
"internalType": "bytes",
|
|
1263
|
+
"name": "message",
|
|
1264
|
+
"type": "bytes"
|
|
1265
|
+
},
|
|
1266
|
+
{
|
|
1267
|
+
"internalType": "uint256",
|
|
1268
|
+
"name": "gasAmount",
|
|
1269
|
+
"type": "uint256"
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
"internalType": "contract IERC20",
|
|
1273
|
+
"name": "srcToken",
|
|
1274
|
+
"type": "address"
|
|
1275
|
+
},
|
|
1276
|
+
{
|
|
1277
|
+
"internalType": "uint256",
|
|
1278
|
+
"name": "amount",
|
|
1279
|
+
"type": "uint256"
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
"internalType": "bytes",
|
|
1283
|
+
"name": "cfParameters",
|
|
1284
|
+
"type": "bytes"
|
|
1285
|
+
}
|
|
1286
|
+
],
|
|
1287
|
+
"name": "xCallToken",
|
|
1288
|
+
"outputs": [],
|
|
1289
|
+
"stateMutability": "nonpayable",
|
|
1290
|
+
"type": "function"
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
"inputs": [
|
|
1294
|
+
{
|
|
1295
|
+
"internalType": "uint32",
|
|
1296
|
+
"name": "dstChain",
|
|
1297
|
+
"type": "uint32"
|
|
1298
|
+
},
|
|
2381
1299
|
{
|
|
2382
|
-
"internalType": "
|
|
2383
|
-
"name": "",
|
|
2384
|
-
"type": "
|
|
1300
|
+
"internalType": "bytes",
|
|
1301
|
+
"name": "dstAddress",
|
|
1302
|
+
"type": "bytes"
|
|
1303
|
+
},
|
|
1304
|
+
{
|
|
1305
|
+
"internalType": "uint32",
|
|
1306
|
+
"name": "dstToken",
|
|
1307
|
+
"type": "uint32"
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
"internalType": "bytes",
|
|
1311
|
+
"name": "cfParameters",
|
|
1312
|
+
"type": "bytes"
|
|
2385
1313
|
}
|
|
2386
1314
|
],
|
|
2387
|
-
"
|
|
1315
|
+
"name": "xSwapNative",
|
|
1316
|
+
"outputs": [],
|
|
1317
|
+
"stateMutability": "payable",
|
|
2388
1318
|
"type": "function"
|
|
2389
1319
|
},
|
|
2390
1320
|
{
|
|
2391
1321
|
"inputs": [
|
|
2392
1322
|
{
|
|
2393
|
-
"internalType": "
|
|
2394
|
-
"name": "
|
|
2395
|
-
"type": "
|
|
1323
|
+
"internalType": "uint32",
|
|
1324
|
+
"name": "dstChain",
|
|
1325
|
+
"type": "uint32"
|
|
2396
1326
|
},
|
|
2397
1327
|
{
|
|
2398
|
-
"internalType": "
|
|
2399
|
-
"name": "
|
|
2400
|
-
"type": "
|
|
1328
|
+
"internalType": "bytes",
|
|
1329
|
+
"name": "dstAddress",
|
|
1330
|
+
"type": "bytes"
|
|
2401
1331
|
},
|
|
2402
1332
|
{
|
|
2403
|
-
"internalType": "
|
|
2404
|
-
"name": "
|
|
1333
|
+
"internalType": "uint32",
|
|
1334
|
+
"name": "dstToken",
|
|
1335
|
+
"type": "uint32"
|
|
1336
|
+
},
|
|
1337
|
+
{
|
|
1338
|
+
"internalType": "contract IERC20",
|
|
1339
|
+
"name": "srcToken",
|
|
2405
1340
|
"type": "address"
|
|
2406
|
-
}
|
|
2407
|
-
],
|
|
2408
|
-
"name": "withdraw",
|
|
2409
|
-
"outputs": [
|
|
1341
|
+
},
|
|
2410
1342
|
{
|
|
2411
1343
|
"internalType": "uint256",
|
|
2412
|
-
"name": "",
|
|
1344
|
+
"name": "amount",
|
|
2413
1345
|
"type": "uint256"
|
|
1346
|
+
},
|
|
1347
|
+
{
|
|
1348
|
+
"internalType": "bytes",
|
|
1349
|
+
"name": "cfParameters",
|
|
1350
|
+
"type": "bytes"
|
|
2414
1351
|
}
|
|
2415
1352
|
],
|
|
1353
|
+
"name": "xSwapToken",
|
|
1354
|
+
"outputs": [],
|
|
2416
1355
|
"stateMutability": "nonpayable",
|
|
2417
1356
|
"type": "function"
|
|
1357
|
+
},
|
|
1358
|
+
{
|
|
1359
|
+
"stateMutability": "payable",
|
|
1360
|
+
"type": "receive"
|
|
2418
1361
|
}
|
|
2419
1362
|
];
|
|
2420
1363
|
/**
|
|
@@ -2475,666 +1418,281 @@ class Vault_json {
|
|
|
2475
1418
|
return this.contract;
|
|
2476
1419
|
}
|
|
2477
1420
|
/**
|
|
2478
|
-
*
|
|
2479
|
-
* view
|
|
2480
|
-
*/
|
|
2481
|
-
async CLAIM_MANAGER_ROLE() {
|
|
2482
|
-
return this.contract.read.CLAIM_MANAGER_ROLE();
|
|
2483
|
-
}
|
|
2484
|
-
/**
|
|
2485
|
-
* DEFAULT_ADMIN_ROLE
|
|
2486
|
-
* view
|
|
2487
|
-
*/
|
|
2488
|
-
async DEFAULT_ADMIN_ROLE() {
|
|
2489
|
-
return this.contract.read.DEFAULT_ADMIN_ROLE();
|
|
2490
|
-
}
|
|
2491
|
-
/**
|
|
2492
|
-
* FEE_COLLECTOR_ROLE
|
|
2493
|
-
* view
|
|
2494
|
-
*/
|
|
2495
|
-
async FEE_COLLECTOR_ROLE() {
|
|
2496
|
-
return this.contract.read.FEE_COLLECTOR_ROLE();
|
|
2497
|
-
}
|
|
2498
|
-
/**
|
|
2499
|
-
* FEE_MANAGER_ROLE
|
|
2500
|
-
* view
|
|
2501
|
-
*/
|
|
2502
|
-
async FEE_MANAGER_ROLE() {
|
|
2503
|
-
return this.contract.read.FEE_MANAGER_ROLE();
|
|
2504
|
-
}
|
|
2505
|
-
/**
|
|
2506
|
-
* PAUSER_ROLE
|
|
2507
|
-
* view
|
|
2508
|
-
*/
|
|
2509
|
-
async PAUSER_ROLE() {
|
|
2510
|
-
return this.contract.read.PAUSER_ROLE();
|
|
2511
|
-
}
|
|
2512
|
-
/**
|
|
2513
|
-
* SANCTIONS_MANAGER_ROLE
|
|
2514
|
-
* view
|
|
2515
|
-
*/
|
|
2516
|
-
async SANCTIONS_MANAGER_ROLE() {
|
|
2517
|
-
return this.contract.read.SANCTIONS_MANAGER_ROLE();
|
|
2518
|
-
}
|
|
2519
|
-
/**
|
|
2520
|
-
* SPENDER_ROLE
|
|
2521
|
-
* view
|
|
2522
|
-
*/
|
|
2523
|
-
async SPENDER_ROLE() {
|
|
2524
|
-
return this.contract.read.SPENDER_ROLE();
|
|
2525
|
-
}
|
|
2526
|
-
/**
|
|
2527
|
-
* UNPAUSER_ROLE
|
|
2528
|
-
* view
|
|
2529
|
-
*/
|
|
2530
|
-
async UNPAUSER_ROLE() {
|
|
2531
|
-
return this.contract.read.UNPAUSER_ROLE();
|
|
2532
|
-
}
|
|
2533
|
-
/**
|
|
2534
|
-
* additionalRewardsStrategy
|
|
2535
|
-
* view
|
|
2536
|
-
*/
|
|
2537
|
-
async additionalRewardsStrategy() {
|
|
2538
|
-
return this.contract.read.additionalRewardsStrategy();
|
|
2539
|
-
}
|
|
2540
|
-
/**
|
|
2541
|
-
* allowance
|
|
2542
|
-
* view
|
|
2543
|
-
*/
|
|
2544
|
-
async allowance(owner, spender) {
|
|
2545
|
-
return this.contract.read.allowance([owner, spender]);
|
|
2546
|
-
}
|
|
2547
|
-
/**
|
|
2548
|
-
* asset
|
|
2549
|
-
* view
|
|
2550
|
-
*/
|
|
2551
|
-
async asset() {
|
|
2552
|
-
return this.contract.read.asset();
|
|
2553
|
-
}
|
|
2554
|
-
/**
|
|
2555
|
-
* balanceOf
|
|
2556
|
-
* view
|
|
2557
|
-
*/
|
|
2558
|
-
async balanceOf(account) {
|
|
2559
|
-
return this.contract.read.balanceOf([account]);
|
|
2560
|
-
}
|
|
2561
|
-
/**
|
|
2562
|
-
* blockList
|
|
2563
|
-
* view
|
|
2564
|
-
*/
|
|
2565
|
-
async blockList() {
|
|
2566
|
-
return this.contract.read.blockList();
|
|
2567
|
-
}
|
|
2568
|
-
/**
|
|
2569
|
-
* collectableRewardFees
|
|
2570
|
-
* view
|
|
2571
|
-
*/
|
|
2572
|
-
async collectableRewardFees() {
|
|
2573
|
-
return this.contract.read.collectableRewardFees();
|
|
2574
|
-
}
|
|
2575
|
-
/**
|
|
2576
|
-
* connectorName
|
|
2577
|
-
* view
|
|
2578
|
-
*/
|
|
2579
|
-
async connectorName() {
|
|
2580
|
-
return this.contract.read.connectorName();
|
|
2581
|
-
}
|
|
2582
|
-
/**
|
|
2583
|
-
* connectorRegistry
|
|
2584
|
-
* view
|
|
2585
|
-
*/
|
|
2586
|
-
async connectorRegistry() {
|
|
2587
|
-
return this.contract.read.connectorRegistry();
|
|
2588
|
-
}
|
|
2589
|
-
/**
|
|
2590
|
-
* convertToAssets
|
|
2591
|
-
* view
|
|
2592
|
-
*/
|
|
2593
|
-
async convertToAssets(shares) {
|
|
2594
|
-
return this.contract.read.convertToAssets([shares]);
|
|
2595
|
-
}
|
|
2596
|
-
/**
|
|
2597
|
-
* convertToShares
|
|
2598
|
-
* view
|
|
2599
|
-
*/
|
|
2600
|
-
async convertToShares(assets) {
|
|
2601
|
-
return this.contract.read.convertToShares([assets]);
|
|
2602
|
-
}
|
|
2603
|
-
/**
|
|
2604
|
-
* decimals
|
|
2605
|
-
* view
|
|
2606
|
-
*/
|
|
2607
|
-
async decimals() {
|
|
2608
|
-
return this.contract.read.decimals();
|
|
2609
|
-
}
|
|
2610
|
-
/**
|
|
2611
|
-
* defaultAdmin
|
|
2612
|
-
* view
|
|
2613
|
-
*/
|
|
2614
|
-
async defaultAdmin() {
|
|
2615
|
-
return this.contract.read.defaultAdmin();
|
|
2616
|
-
}
|
|
2617
|
-
/**
|
|
2618
|
-
* defaultAdminDelay
|
|
2619
|
-
* view
|
|
2620
|
-
*/
|
|
2621
|
-
async defaultAdminDelay() {
|
|
2622
|
-
return this.contract.read.defaultAdminDelay();
|
|
2623
|
-
}
|
|
2624
|
-
/**
|
|
2625
|
-
* defaultAdminDelayIncreaseWait
|
|
2626
|
-
* view
|
|
2627
|
-
*/
|
|
2628
|
-
async defaultAdminDelayIncreaseWait() {
|
|
2629
|
-
return this.contract.read.defaultAdminDelayIncreaseWait();
|
|
2630
|
-
}
|
|
2631
|
-
/**
|
|
2632
|
-
* depositFee
|
|
2633
|
-
* view
|
|
2634
|
-
*/
|
|
2635
|
-
async depositFee() {
|
|
2636
|
-
return this.contract.read.depositFee();
|
|
2637
|
-
}
|
|
2638
|
-
/**
|
|
2639
|
-
* feeRecipient
|
|
1421
|
+
* getCommunityGuardDisabled
|
|
2640
1422
|
* view
|
|
2641
1423
|
*/
|
|
2642
|
-
async
|
|
2643
|
-
return this.contract.read.
|
|
1424
|
+
async getCommunityGuardDisabled() {
|
|
1425
|
+
return this.contract.read.getCommunityGuardDisabled();
|
|
2644
1426
|
}
|
|
2645
1427
|
/**
|
|
2646
|
-
*
|
|
1428
|
+
* getCommunityKey
|
|
2647
1429
|
* view
|
|
2648
1430
|
*/
|
|
2649
|
-
async
|
|
2650
|
-
return this.contract.read.
|
|
2651
|
-
}
|
|
2652
|
-
/**
|
|
2653
|
-
* feeRecipients
|
|
2654
|
-
* view
|
|
2655
|
-
*/
|
|
2656
|
-
async feeRecipients() {
|
|
2657
|
-
return this.contract.read.feeRecipients();
|
|
2658
|
-
}
|
|
2659
|
-
/**
|
|
2660
|
-
* getRoleAdmin
|
|
2661
|
-
* view
|
|
2662
|
-
*/
|
|
2663
|
-
async getRoleAdmin(role) {
|
|
2664
|
-
return this.contract.read.getRoleAdmin([role]);
|
|
2665
|
-
}
|
|
2666
|
-
/**
|
|
2667
|
-
* hasRole
|
|
2668
|
-
* view
|
|
2669
|
-
*/
|
|
2670
|
-
async hasRole(role, account) {
|
|
2671
|
-
return this.contract.read.hasRole([role, account]);
|
|
2672
|
-
}
|
|
2673
|
-
/**
|
|
2674
|
-
* maxDeposit
|
|
2675
|
-
* view
|
|
2676
|
-
*/
|
|
2677
|
-
async maxDeposit(arg0) {
|
|
2678
|
-
return this.contract.read.maxDeposit([arg0]);
|
|
2679
|
-
}
|
|
2680
|
-
/**
|
|
2681
|
-
* maxMint
|
|
2682
|
-
* view
|
|
2683
|
-
*/
|
|
2684
|
-
async maxMint(arg0) {
|
|
2685
|
-
return this.contract.read.maxMint([arg0]);
|
|
2686
|
-
}
|
|
2687
|
-
/**
|
|
2688
|
-
* maxRedeem
|
|
2689
|
-
* view
|
|
2690
|
-
*/
|
|
2691
|
-
async maxRedeem(owner) {
|
|
2692
|
-
return this.contract.read.maxRedeem([owner]);
|
|
2693
|
-
}
|
|
2694
|
-
/**
|
|
2695
|
-
* maxWithdraw
|
|
2696
|
-
* view
|
|
2697
|
-
*/
|
|
2698
|
-
async maxWithdraw(owner) {
|
|
2699
|
-
return this.contract.read.maxWithdraw([owner]);
|
|
2700
|
-
}
|
|
2701
|
-
/**
|
|
2702
|
-
* name
|
|
2703
|
-
* view
|
|
2704
|
-
*/
|
|
2705
|
-
async name() {
|
|
2706
|
-
return this.contract.read.name();
|
|
2707
|
-
}
|
|
2708
|
-
/**
|
|
2709
|
-
* owner
|
|
2710
|
-
* view
|
|
2711
|
-
*/
|
|
2712
|
-
async owner() {
|
|
2713
|
-
return this.contract.read.owner();
|
|
2714
|
-
}
|
|
2715
|
-
/**
|
|
2716
|
-
* pendingDefaultAdmin
|
|
2717
|
-
* view
|
|
2718
|
-
*/
|
|
2719
|
-
async pendingDefaultAdmin() {
|
|
2720
|
-
return this.contract.read.pendingDefaultAdmin();
|
|
2721
|
-
}
|
|
2722
|
-
/**
|
|
2723
|
-
* pendingDefaultAdminDelay
|
|
2724
|
-
* view
|
|
2725
|
-
*/
|
|
2726
|
-
async pendingDefaultAdminDelay() {
|
|
2727
|
-
return this.contract.read.pendingDefaultAdminDelay();
|
|
2728
|
-
}
|
|
2729
|
-
/**
|
|
2730
|
-
* pendingDepositFee
|
|
2731
|
-
* view
|
|
2732
|
-
*/
|
|
2733
|
-
async pendingDepositFee() {
|
|
2734
|
-
return this.contract.read.pendingDepositFee();
|
|
2735
|
-
}
|
|
2736
|
-
/**
|
|
2737
|
-
* pendingRewardFee
|
|
2738
|
-
* view
|
|
2739
|
-
*/
|
|
2740
|
-
async pendingRewardFee() {
|
|
2741
|
-
return this.contract.read.pendingRewardFee();
|
|
2742
|
-
}
|
|
2743
|
-
/**
|
|
2744
|
-
* previewDeposit
|
|
2745
|
-
* view
|
|
2746
|
-
*/
|
|
2747
|
-
async previewDeposit(assets) {
|
|
2748
|
-
return this.contract.read.previewDeposit([assets]);
|
|
2749
|
-
}
|
|
2750
|
-
/**
|
|
2751
|
-
* previewMint
|
|
2752
|
-
* view
|
|
2753
|
-
*/
|
|
2754
|
-
async previewMint(shares) {
|
|
2755
|
-
return this.contract.read.previewMint([shares]);
|
|
2756
|
-
}
|
|
2757
|
-
/**
|
|
2758
|
-
* previewRedeem
|
|
2759
|
-
* view
|
|
2760
|
-
*/
|
|
2761
|
-
async previewRedeem(shares) {
|
|
2762
|
-
return this.contract.read.previewRedeem([shares]);
|
|
2763
|
-
}
|
|
2764
|
-
/**
|
|
2765
|
-
* previewWithdraw
|
|
2766
|
-
* view
|
|
2767
|
-
*/
|
|
2768
|
-
async previewWithdraw(assets) {
|
|
2769
|
-
return this.contract.read.previewWithdraw([assets]);
|
|
2770
|
-
}
|
|
2771
|
-
/**
|
|
2772
|
-
* rewardFee
|
|
2773
|
-
* view
|
|
2774
|
-
*/
|
|
2775
|
-
async rewardFee() {
|
|
2776
|
-
return this.contract.read.rewardFee();
|
|
2777
|
-
}
|
|
2778
|
-
/**
|
|
2779
|
-
* supportsInterface
|
|
2780
|
-
* view
|
|
2781
|
-
*/
|
|
2782
|
-
async supportsInterface(interfaceId) {
|
|
2783
|
-
return this.contract.read.supportsInterface([interfaceId]);
|
|
2784
|
-
}
|
|
2785
|
-
/**
|
|
2786
|
-
* symbol
|
|
2787
|
-
* view
|
|
2788
|
-
*/
|
|
2789
|
-
async symbol() {
|
|
2790
|
-
return this.contract.read.symbol();
|
|
2791
|
-
}
|
|
2792
|
-
/**
|
|
2793
|
-
* totalAssets
|
|
2794
|
-
* view
|
|
2795
|
-
*/
|
|
2796
|
-
async totalAssets() {
|
|
2797
|
-
return this.contract.read.totalAssets();
|
|
2798
|
-
}
|
|
2799
|
-
/**
|
|
2800
|
-
* totalSupply
|
|
2801
|
-
* view
|
|
2802
|
-
*/
|
|
2803
|
-
async totalSupply() {
|
|
2804
|
-
return this.contract.read.totalSupply();
|
|
2805
|
-
}
|
|
2806
|
-
/**
|
|
2807
|
-
* transferable
|
|
2808
|
-
* view
|
|
2809
|
-
*/
|
|
2810
|
-
async transferable() {
|
|
2811
|
-
return this.contract.read.transferable();
|
|
2812
|
-
}
|
|
2813
|
-
/**
|
|
2814
|
-
* vaultFactory
|
|
2815
|
-
* view
|
|
2816
|
-
*/
|
|
2817
|
-
async vaultFactory() {
|
|
2818
|
-
return this.contract.read.vaultFactory();
|
|
2819
|
-
}
|
|
2820
|
-
/**
|
|
2821
|
-
* acceptDefaultAdminTransfer
|
|
2822
|
-
* nonpayable
|
|
2823
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2824
|
-
*/
|
|
2825
|
-
async acceptDefaultAdminTransfer(options) {
|
|
2826
|
-
if (!this.contract.write) {
|
|
2827
|
-
throw new Error('Wallet client is required for write operations');
|
|
2828
|
-
}
|
|
2829
|
-
return this.contract.write.acceptDefaultAdminTransfer(options);
|
|
2830
|
-
}
|
|
2831
|
-
/**
|
|
2832
|
-
* approve
|
|
2833
|
-
* nonpayable
|
|
2834
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2835
|
-
*/
|
|
2836
|
-
async approve(spender, value, options) {
|
|
2837
|
-
if (!this.contract.write) {
|
|
2838
|
-
throw new Error('Wallet client is required for write operations');
|
|
2839
|
-
}
|
|
2840
|
-
return this.contract.write.approve([spender, value], options);
|
|
2841
|
-
}
|
|
2842
|
-
/**
|
|
2843
|
-
* beginDefaultAdminTransfer
|
|
2844
|
-
* nonpayable
|
|
2845
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2846
|
-
*/
|
|
2847
|
-
async beginDefaultAdminTransfer(newAdmin, options) {
|
|
2848
|
-
if (!this.contract.write) {
|
|
2849
|
-
throw new Error('Wallet client is required for write operations');
|
|
2850
|
-
}
|
|
2851
|
-
return this.contract.write.beginDefaultAdminTransfer([newAdmin], options);
|
|
2852
|
-
}
|
|
2853
|
-
/**
|
|
2854
|
-
* cancelDefaultAdminTransfer
|
|
2855
|
-
* nonpayable
|
|
2856
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2857
|
-
*/
|
|
2858
|
-
async cancelDefaultAdminTransfer(options) {
|
|
2859
|
-
if (!this.contract.write) {
|
|
2860
|
-
throw new Error('Wallet client is required for write operations');
|
|
2861
|
-
}
|
|
2862
|
-
return this.contract.write.cancelDefaultAdminTransfer(options);
|
|
1431
|
+
async getCommunityKey() {
|
|
1432
|
+
return this.contract.read.getCommunityKey();
|
|
2863
1433
|
}
|
|
2864
1434
|
/**
|
|
2865
|
-
*
|
|
2866
|
-
*
|
|
2867
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1435
|
+
* getGovernor
|
|
1436
|
+
* view
|
|
2868
1437
|
*/
|
|
2869
|
-
async
|
|
2870
|
-
|
|
2871
|
-
throw new Error('Wallet client is required for write operations');
|
|
2872
|
-
}
|
|
2873
|
-
return this.contract.write.changeDefaultAdminDelay([newDelay], options);
|
|
1438
|
+
async getGovernor() {
|
|
1439
|
+
return this.contract.read.getGovernor();
|
|
2874
1440
|
}
|
|
2875
1441
|
/**
|
|
2876
|
-
*
|
|
2877
|
-
*
|
|
2878
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1442
|
+
* getKeyManager
|
|
1443
|
+
* view
|
|
2879
1444
|
*/
|
|
2880
|
-
async
|
|
2881
|
-
|
|
2882
|
-
throw new Error('Wallet client is required for write operations');
|
|
2883
|
-
}
|
|
2884
|
-
return this.contract.write.claimAdditionalRewards([rewardsAsset, payload], options);
|
|
1445
|
+
async getKeyManager() {
|
|
1446
|
+
return this.contract.read.getKeyManager();
|
|
2885
1447
|
}
|
|
2886
1448
|
/**
|
|
2887
|
-
*
|
|
2888
|
-
*
|
|
2889
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1449
|
+
* getSuspendedState
|
|
1450
|
+
* view
|
|
2890
1451
|
*/
|
|
2891
|
-
async
|
|
2892
|
-
|
|
2893
|
-
throw new Error('Wallet client is required for write operations');
|
|
2894
|
-
}
|
|
2895
|
-
return this.contract.write.collectRewardFees(options);
|
|
1452
|
+
async getSuspendedState() {
|
|
1453
|
+
return this.contract.read.getSuspendedState();
|
|
2896
1454
|
}
|
|
2897
1455
|
/**
|
|
2898
|
-
*
|
|
2899
|
-
*
|
|
1456
|
+
* addGasNative
|
|
1457
|
+
* payable
|
|
2900
1458
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2901
1459
|
*/
|
|
2902
|
-
async
|
|
1460
|
+
async addGasNative(swapID, options) {
|
|
2903
1461
|
if (!this.contract.write) {
|
|
2904
1462
|
throw new Error('Wallet client is required for write operations');
|
|
2905
1463
|
}
|
|
2906
|
-
return this.contract.write.
|
|
1464
|
+
return this.contract.write.addGasNative([swapID], options);
|
|
2907
1465
|
}
|
|
2908
1466
|
/**
|
|
2909
|
-
*
|
|
1467
|
+
* addGasToken
|
|
2910
1468
|
* nonpayable
|
|
2911
1469
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2912
1470
|
*/
|
|
2913
|
-
async
|
|
1471
|
+
async addGasToken(swapID, amount, token, options) {
|
|
2914
1472
|
if (!this.contract.write) {
|
|
2915
1473
|
throw new Error('Wallet client is required for write operations');
|
|
2916
1474
|
}
|
|
2917
|
-
return this.contract.write.
|
|
1475
|
+
return this.contract.write.addGasToken([swapID, amount, token], options);
|
|
2918
1476
|
}
|
|
2919
1477
|
/**
|
|
2920
|
-
*
|
|
1478
|
+
* allBatch
|
|
2921
1479
|
* nonpayable
|
|
2922
1480
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2923
1481
|
*/
|
|
2924
|
-
async
|
|
1482
|
+
async allBatch(sigData, deployFetchParamsArray, fetchParamsArray, transferParamsArray, options) {
|
|
2925
1483
|
if (!this.contract.write) {
|
|
2926
1484
|
throw new Error('Wallet client is required for write operations');
|
|
2927
1485
|
}
|
|
2928
|
-
return this.contract.write.
|
|
1486
|
+
return this.contract.write.allBatch([sigData, deployFetchParamsArray, fetchParamsArray, transferParamsArray], options);
|
|
2929
1487
|
}
|
|
2930
1488
|
/**
|
|
2931
|
-
*
|
|
1489
|
+
* allBatchV2
|
|
2932
1490
|
* nonpayable
|
|
2933
1491
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2934
1492
|
*/
|
|
2935
|
-
async
|
|
1493
|
+
async allBatchV2(sigData, fetchParamsArray, transferParamsArray, options) {
|
|
2936
1494
|
if (!this.contract.write) {
|
|
2937
1495
|
throw new Error('Wallet client is required for write operations');
|
|
2938
1496
|
}
|
|
2939
|
-
return this.contract.write.
|
|
1497
|
+
return this.contract.write.allBatchV2([sigData, fetchParamsArray, transferParamsArray], options);
|
|
2940
1498
|
}
|
|
2941
1499
|
/**
|
|
2942
|
-
*
|
|
1500
|
+
* deployAndFetchBatch
|
|
2943
1501
|
* nonpayable
|
|
2944
1502
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2945
1503
|
*/
|
|
2946
|
-
async
|
|
1504
|
+
async deployAndFetchBatch(sigData, deployFetchParamsArray, options) {
|
|
2947
1505
|
if (!this.contract.write) {
|
|
2948
1506
|
throw new Error('Wallet client is required for write operations');
|
|
2949
1507
|
}
|
|
2950
|
-
return this.contract.write.
|
|
1508
|
+
return this.contract.write.deployAndFetchBatch([sigData, deployFetchParamsArray], options);
|
|
2951
1509
|
}
|
|
2952
1510
|
/**
|
|
2953
|
-
*
|
|
1511
|
+
* disableCommunityGuard
|
|
2954
1512
|
* nonpayable
|
|
2955
1513
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2956
1514
|
*/
|
|
2957
|
-
async
|
|
1515
|
+
async disableCommunityGuard(options) {
|
|
2958
1516
|
if (!this.contract.write) {
|
|
2959
1517
|
throw new Error('Wallet client is required for write operations');
|
|
2960
1518
|
}
|
|
2961
|
-
return this.contract.write.
|
|
1519
|
+
return this.contract.write.disableCommunityGuard(options);
|
|
2962
1520
|
}
|
|
2963
1521
|
/**
|
|
2964
|
-
*
|
|
1522
|
+
* enableCommunityGuard
|
|
2965
1523
|
* nonpayable
|
|
2966
1524
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2967
1525
|
*/
|
|
2968
|
-
async
|
|
1526
|
+
async enableCommunityGuard(options) {
|
|
2969
1527
|
if (!this.contract.write) {
|
|
2970
1528
|
throw new Error('Wallet client is required for write operations');
|
|
2971
1529
|
}
|
|
2972
|
-
return this.contract.write.
|
|
1530
|
+
return this.contract.write.enableCommunityGuard(options);
|
|
2973
1531
|
}
|
|
2974
1532
|
/**
|
|
2975
|
-
*
|
|
1533
|
+
* executeActions
|
|
2976
1534
|
* nonpayable
|
|
2977
1535
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2978
1536
|
*/
|
|
2979
|
-
async
|
|
1537
|
+
async executeActions(sigData, transferParams, calls, gasMulticall, options) {
|
|
2980
1538
|
if (!this.contract.write) {
|
|
2981
1539
|
throw new Error('Wallet client is required for write operations');
|
|
2982
1540
|
}
|
|
2983
|
-
return this.contract.write.
|
|
1541
|
+
return this.contract.write.executeActions([sigData, transferParams, calls, gasMulticall], options);
|
|
2984
1542
|
}
|
|
2985
1543
|
/**
|
|
2986
|
-
*
|
|
1544
|
+
* executexCall
|
|
2987
1545
|
* nonpayable
|
|
2988
1546
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2989
1547
|
*/
|
|
2990
|
-
async
|
|
1548
|
+
async executexCall(sigData, recipient, srcChain, srcAddress, message, options) {
|
|
2991
1549
|
if (!this.contract.write) {
|
|
2992
1550
|
throw new Error('Wallet client is required for write operations');
|
|
2993
1551
|
}
|
|
2994
|
-
return this.contract.write.
|
|
1552
|
+
return this.contract.write.executexCall([sigData, recipient, srcChain, srcAddress, message], options);
|
|
2995
1553
|
}
|
|
2996
1554
|
/**
|
|
2997
|
-
*
|
|
1555
|
+
* executexSwapAndCall
|
|
2998
1556
|
* nonpayable
|
|
2999
1557
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3000
1558
|
*/
|
|
3001
|
-
async
|
|
1559
|
+
async executexSwapAndCall(sigData, transferParams, srcChain, srcAddress, message, options) {
|
|
3002
1560
|
if (!this.contract.write) {
|
|
3003
1561
|
throw new Error('Wallet client is required for write operations');
|
|
3004
1562
|
}
|
|
3005
|
-
return this.contract.write.
|
|
1563
|
+
return this.contract.write.executexSwapAndCall([sigData, transferParams, srcChain, srcAddress, message], options);
|
|
3006
1564
|
}
|
|
3007
1565
|
/**
|
|
3008
|
-
*
|
|
1566
|
+
* fetchBatch
|
|
3009
1567
|
* nonpayable
|
|
3010
1568
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3011
1569
|
*/
|
|
3012
|
-
async
|
|
1570
|
+
async fetchBatch(sigData, fetchParamsArray, options) {
|
|
3013
1571
|
if (!this.contract.write) {
|
|
3014
1572
|
throw new Error('Wallet client is required for write operations');
|
|
3015
1573
|
}
|
|
3016
|
-
return this.contract.write.
|
|
1574
|
+
return this.contract.write.fetchBatch([sigData, fetchParamsArray], options);
|
|
3017
1575
|
}
|
|
3018
1576
|
/**
|
|
3019
|
-
*
|
|
1577
|
+
* govWithdraw
|
|
3020
1578
|
* nonpayable
|
|
3021
1579
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3022
1580
|
*/
|
|
3023
|
-
async
|
|
1581
|
+
async govWithdraw(tokens, options) {
|
|
3024
1582
|
if (!this.contract.write) {
|
|
3025
1583
|
throw new Error('Wallet client is required for write operations');
|
|
3026
1584
|
}
|
|
3027
|
-
return this.contract.write.
|
|
1585
|
+
return this.contract.write.govWithdraw([tokens], options);
|
|
3028
1586
|
}
|
|
3029
1587
|
/**
|
|
3030
|
-
*
|
|
1588
|
+
* resume
|
|
3031
1589
|
* nonpayable
|
|
3032
1590
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3033
1591
|
*/
|
|
3034
|
-
async
|
|
1592
|
+
async resume(options) {
|
|
3035
1593
|
if (!this.contract.write) {
|
|
3036
1594
|
throw new Error('Wallet client is required for write operations');
|
|
3037
1595
|
}
|
|
3038
|
-
return this.contract.write.
|
|
1596
|
+
return this.contract.write.resume(options);
|
|
3039
1597
|
}
|
|
3040
1598
|
/**
|
|
3041
|
-
*
|
|
1599
|
+
* suspend
|
|
3042
1600
|
* nonpayable
|
|
3043
1601
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3044
1602
|
*/
|
|
3045
|
-
async
|
|
1603
|
+
async suspend(options) {
|
|
3046
1604
|
if (!this.contract.write) {
|
|
3047
1605
|
throw new Error('Wallet client is required for write operations');
|
|
3048
1606
|
}
|
|
3049
|
-
return this.contract.write.
|
|
1607
|
+
return this.contract.write.suspend(options);
|
|
3050
1608
|
}
|
|
3051
1609
|
/**
|
|
3052
|
-
*
|
|
1610
|
+
* transfer
|
|
3053
1611
|
* nonpayable
|
|
3054
1612
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3055
1613
|
*/
|
|
3056
|
-
async
|
|
1614
|
+
async transfer(sigData, transferParams, options) {
|
|
3057
1615
|
if (!this.contract.write) {
|
|
3058
1616
|
throw new Error('Wallet client is required for write operations');
|
|
3059
1617
|
}
|
|
3060
|
-
return this.contract.write.
|
|
1618
|
+
return this.contract.write.transfer([sigData, transferParams], options);
|
|
3061
1619
|
}
|
|
3062
1620
|
/**
|
|
3063
|
-
*
|
|
1621
|
+
* transferBatch
|
|
3064
1622
|
* nonpayable
|
|
3065
1623
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3066
1624
|
*/
|
|
3067
|
-
async
|
|
1625
|
+
async transferBatch(sigData, transferParamsArray, options) {
|
|
3068
1626
|
if (!this.contract.write) {
|
|
3069
1627
|
throw new Error('Wallet client is required for write operations');
|
|
3070
1628
|
}
|
|
3071
|
-
return this.contract.write.
|
|
1629
|
+
return this.contract.write.transferBatch([sigData, transferParamsArray], options);
|
|
3072
1630
|
}
|
|
3073
1631
|
/**
|
|
3074
|
-
*
|
|
1632
|
+
* transferFallback
|
|
3075
1633
|
* nonpayable
|
|
3076
1634
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3077
1635
|
*/
|
|
3078
|
-
async
|
|
1636
|
+
async transferFallback(sigData, transferParams, options) {
|
|
3079
1637
|
if (!this.contract.write) {
|
|
3080
1638
|
throw new Error('Wallet client is required for write operations');
|
|
3081
1639
|
}
|
|
3082
|
-
return this.contract.write.
|
|
1640
|
+
return this.contract.write.transferFallback([sigData, transferParams], options);
|
|
3083
1641
|
}
|
|
3084
1642
|
/**
|
|
3085
|
-
*
|
|
1643
|
+
* updateKeyManager
|
|
3086
1644
|
* nonpayable
|
|
3087
1645
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3088
1646
|
*/
|
|
3089
|
-
async
|
|
1647
|
+
async updateKeyManager(sigData, keyManager, omitChecks, options) {
|
|
3090
1648
|
if (!this.contract.write) {
|
|
3091
1649
|
throw new Error('Wallet client is required for write operations');
|
|
3092
1650
|
}
|
|
3093
|
-
return this.contract.write.
|
|
1651
|
+
return this.contract.write.updateKeyManager([sigData, keyManager, omitChecks], options);
|
|
3094
1652
|
}
|
|
3095
1653
|
/**
|
|
3096
|
-
*
|
|
3097
|
-
*
|
|
1654
|
+
* xCallNative
|
|
1655
|
+
* payable
|
|
3098
1656
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3099
1657
|
*/
|
|
3100
|
-
async
|
|
1658
|
+
async xCallNative(dstChain, dstAddress, dstToken, message, gasAmount, cfParameters, options) {
|
|
3101
1659
|
if (!this.contract.write) {
|
|
3102
1660
|
throw new Error('Wallet client is required for write operations');
|
|
3103
1661
|
}
|
|
3104
|
-
return this.contract.write.
|
|
1662
|
+
return this.contract.write.xCallNative([dstChain, dstAddress, dstToken, message, gasAmount, cfParameters], options);
|
|
3105
1663
|
}
|
|
3106
1664
|
/**
|
|
3107
|
-
*
|
|
1665
|
+
* xCallToken
|
|
3108
1666
|
* nonpayable
|
|
3109
1667
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3110
1668
|
*/
|
|
3111
|
-
async
|
|
1669
|
+
async xCallToken(dstChain, dstAddress, dstToken, message, gasAmount, srcToken, amount, cfParameters, options) {
|
|
3112
1670
|
if (!this.contract.write) {
|
|
3113
1671
|
throw new Error('Wallet client is required for write operations');
|
|
3114
1672
|
}
|
|
3115
|
-
return this.contract.write.
|
|
1673
|
+
return this.contract.write.xCallToken([dstChain, dstAddress, dstToken, message, gasAmount, srcToken, amount, cfParameters], options);
|
|
3116
1674
|
}
|
|
3117
1675
|
/**
|
|
3118
|
-
*
|
|
3119
|
-
*
|
|
1676
|
+
* xSwapNative
|
|
1677
|
+
* payable
|
|
3120
1678
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3121
1679
|
*/
|
|
3122
|
-
async
|
|
1680
|
+
async xSwapNative(dstChain, dstAddress, dstToken, cfParameters, options) {
|
|
3123
1681
|
if (!this.contract.write) {
|
|
3124
1682
|
throw new Error('Wallet client is required for write operations');
|
|
3125
1683
|
}
|
|
3126
|
-
return this.contract.write.
|
|
1684
|
+
return this.contract.write.xSwapNative([dstChain, dstAddress, dstToken, cfParameters], options);
|
|
3127
1685
|
}
|
|
3128
1686
|
/**
|
|
3129
|
-
*
|
|
1687
|
+
* xSwapToken
|
|
3130
1688
|
* nonpayable
|
|
3131
1689
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3132
1690
|
*/
|
|
3133
|
-
async
|
|
1691
|
+
async xSwapToken(dstChain, dstAddress, dstToken, srcToken, amount, cfParameters, options) {
|
|
3134
1692
|
if (!this.contract.write) {
|
|
3135
1693
|
throw new Error('Wallet client is required for write operations');
|
|
3136
1694
|
}
|
|
3137
|
-
return this.contract.write.
|
|
1695
|
+
return this.contract.write.xSwapToken([dstChain, dstAddress, dstToken, srcToken, amount, cfParameters], options);
|
|
3138
1696
|
}
|
|
3139
1697
|
/**
|
|
3140
1698
|
* Simulate contract write operations (dry-run without sending transaction)
|
|
@@ -3151,236 +1709,180 @@ class Vault_json {
|
|
|
3151
1709
|
}
|
|
3152
1710
|
return {
|
|
3153
1711
|
/**
|
|
3154
|
-
* Simulate
|
|
3155
|
-
* Returns gas estimate and result without sending transaction
|
|
3156
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3157
|
-
*/
|
|
3158
|
-
async acceptDefaultAdminTransfer(options) {
|
|
3159
|
-
return contract.simulate.acceptDefaultAdminTransfer(options);
|
|
3160
|
-
},
|
|
3161
|
-
/**
|
|
3162
|
-
* Simulate approve
|
|
3163
|
-
* Returns gas estimate and result without sending transaction
|
|
3164
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3165
|
-
*/
|
|
3166
|
-
async approve(spender, value, options) {
|
|
3167
|
-
return contract.simulate.approve([spender, value], options);
|
|
3168
|
-
},
|
|
3169
|
-
/**
|
|
3170
|
-
* Simulate beginDefaultAdminTransfer
|
|
3171
|
-
* Returns gas estimate and result without sending transaction
|
|
3172
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3173
|
-
*/
|
|
3174
|
-
async beginDefaultAdminTransfer(newAdmin, options) {
|
|
3175
|
-
return contract.simulate.beginDefaultAdminTransfer([newAdmin], options);
|
|
3176
|
-
},
|
|
3177
|
-
/**
|
|
3178
|
-
* Simulate cancelDefaultAdminTransfer
|
|
3179
|
-
* Returns gas estimate and result without sending transaction
|
|
3180
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3181
|
-
*/
|
|
3182
|
-
async cancelDefaultAdminTransfer(options) {
|
|
3183
|
-
return contract.simulate.cancelDefaultAdminTransfer(options);
|
|
3184
|
-
},
|
|
3185
|
-
/**
|
|
3186
|
-
* Simulate changeDefaultAdminDelay
|
|
3187
|
-
* Returns gas estimate and result without sending transaction
|
|
3188
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3189
|
-
*/
|
|
3190
|
-
async changeDefaultAdminDelay(newDelay, options) {
|
|
3191
|
-
return contract.simulate.changeDefaultAdminDelay([newDelay], options);
|
|
3192
|
-
},
|
|
3193
|
-
/**
|
|
3194
|
-
* Simulate claimAdditionalRewards
|
|
1712
|
+
* Simulate addGasNative
|
|
3195
1713
|
* Returns gas estimate and result without sending transaction
|
|
3196
1714
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3197
1715
|
*/
|
|
3198
|
-
async
|
|
3199
|
-
return contract.simulate.
|
|
1716
|
+
async addGasNative(swapID, options) {
|
|
1717
|
+
return contract.simulate.addGasNative([swapID], options);
|
|
3200
1718
|
},
|
|
3201
1719
|
/**
|
|
3202
|
-
* Simulate
|
|
1720
|
+
* Simulate addGasToken
|
|
3203
1721
|
* Returns gas estimate and result without sending transaction
|
|
3204
1722
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3205
1723
|
*/
|
|
3206
|
-
async
|
|
3207
|
-
return contract.simulate.
|
|
1724
|
+
async addGasToken(swapID, amount, token, options) {
|
|
1725
|
+
return contract.simulate.addGasToken([swapID, amount, token], options);
|
|
3208
1726
|
},
|
|
3209
1727
|
/**
|
|
3210
|
-
* Simulate
|
|
1728
|
+
* Simulate allBatch
|
|
3211
1729
|
* Returns gas estimate and result without sending transaction
|
|
3212
1730
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3213
1731
|
*/
|
|
3214
|
-
async
|
|
3215
|
-
return contract.simulate.
|
|
1732
|
+
async allBatch(sigData, deployFetchParamsArray, fetchParamsArray, transferParamsArray, options) {
|
|
1733
|
+
return contract.simulate.allBatch([sigData, deployFetchParamsArray, fetchParamsArray, transferParamsArray], options);
|
|
3216
1734
|
},
|
|
3217
1735
|
/**
|
|
3218
|
-
* Simulate
|
|
1736
|
+
* Simulate allBatchV2
|
|
3219
1737
|
* Returns gas estimate and result without sending transaction
|
|
3220
1738
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3221
1739
|
*/
|
|
3222
|
-
async
|
|
3223
|
-
return contract.simulate.
|
|
1740
|
+
async allBatchV2(sigData, fetchParamsArray, transferParamsArray, options) {
|
|
1741
|
+
return contract.simulate.allBatchV2([sigData, fetchParamsArray, transferParamsArray], options);
|
|
3224
1742
|
},
|
|
3225
1743
|
/**
|
|
3226
|
-
* Simulate
|
|
1744
|
+
* Simulate deployAndFetchBatch
|
|
3227
1745
|
* Returns gas estimate and result without sending transaction
|
|
3228
1746
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3229
1747
|
*/
|
|
3230
|
-
async
|
|
3231
|
-
return contract.simulate.
|
|
1748
|
+
async deployAndFetchBatch(sigData, deployFetchParamsArray, options) {
|
|
1749
|
+
return contract.simulate.deployAndFetchBatch([sigData, deployFetchParamsArray], options);
|
|
3232
1750
|
},
|
|
3233
1751
|
/**
|
|
3234
|
-
* Simulate
|
|
1752
|
+
* Simulate disableCommunityGuard
|
|
3235
1753
|
* Returns gas estimate and result without sending transaction
|
|
3236
1754
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3237
1755
|
*/
|
|
3238
|
-
async
|
|
3239
|
-
return contract.simulate.
|
|
1756
|
+
async disableCommunityGuard(options) {
|
|
1757
|
+
return contract.simulate.disableCommunityGuard(options);
|
|
3240
1758
|
},
|
|
3241
1759
|
/**
|
|
3242
|
-
* Simulate
|
|
1760
|
+
* Simulate enableCommunityGuard
|
|
3243
1761
|
* Returns gas estimate and result without sending transaction
|
|
3244
1762
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3245
1763
|
*/
|
|
3246
|
-
async
|
|
3247
|
-
return contract.simulate.
|
|
1764
|
+
async enableCommunityGuard(options) {
|
|
1765
|
+
return contract.simulate.enableCommunityGuard(options);
|
|
3248
1766
|
},
|
|
3249
1767
|
/**
|
|
3250
|
-
* Simulate
|
|
1768
|
+
* Simulate executeActions
|
|
3251
1769
|
* Returns gas estimate and result without sending transaction
|
|
3252
1770
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3253
1771
|
*/
|
|
3254
|
-
async
|
|
3255
|
-
return contract.simulate.
|
|
1772
|
+
async executeActions(sigData, transferParams, calls, gasMulticall, options) {
|
|
1773
|
+
return contract.simulate.executeActions([sigData, transferParams, calls, gasMulticall], options);
|
|
3256
1774
|
},
|
|
3257
1775
|
/**
|
|
3258
|
-
* Simulate
|
|
1776
|
+
* Simulate executexCall
|
|
3259
1777
|
* Returns gas estimate and result without sending transaction
|
|
3260
1778
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3261
1779
|
*/
|
|
3262
|
-
async
|
|
3263
|
-
return contract.simulate.
|
|
1780
|
+
async executexCall(sigData, recipient, srcChain, srcAddress, message, options) {
|
|
1781
|
+
return contract.simulate.executexCall([sigData, recipient, srcChain, srcAddress, message], options);
|
|
3264
1782
|
},
|
|
3265
1783
|
/**
|
|
3266
|
-
* Simulate
|
|
1784
|
+
* Simulate executexSwapAndCall
|
|
3267
1785
|
* Returns gas estimate and result without sending transaction
|
|
3268
1786
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3269
1787
|
*/
|
|
3270
|
-
async
|
|
3271
|
-
return contract.simulate.
|
|
1788
|
+
async executexSwapAndCall(sigData, transferParams, srcChain, srcAddress, message, options) {
|
|
1789
|
+
return contract.simulate.executexSwapAndCall([sigData, transferParams, srcChain, srcAddress, message], options);
|
|
3272
1790
|
},
|
|
3273
1791
|
/**
|
|
3274
|
-
* Simulate
|
|
1792
|
+
* Simulate fetchBatch
|
|
3275
1793
|
* Returns gas estimate and result without sending transaction
|
|
3276
1794
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3277
1795
|
*/
|
|
3278
|
-
async
|
|
3279
|
-
return contract.simulate.
|
|
1796
|
+
async fetchBatch(sigData, fetchParamsArray, options) {
|
|
1797
|
+
return contract.simulate.fetchBatch([sigData, fetchParamsArray], options);
|
|
3280
1798
|
},
|
|
3281
1799
|
/**
|
|
3282
|
-
* Simulate
|
|
1800
|
+
* Simulate govWithdraw
|
|
3283
1801
|
* Returns gas estimate and result without sending transaction
|
|
3284
1802
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3285
1803
|
*/
|
|
3286
|
-
async
|
|
3287
|
-
return contract.simulate.
|
|
1804
|
+
async govWithdraw(tokens, options) {
|
|
1805
|
+
return contract.simulate.govWithdraw([tokens], options);
|
|
3288
1806
|
},
|
|
3289
1807
|
/**
|
|
3290
|
-
* Simulate
|
|
1808
|
+
* Simulate resume
|
|
3291
1809
|
* Returns gas estimate and result without sending transaction
|
|
3292
1810
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3293
1811
|
*/
|
|
3294
|
-
async
|
|
3295
|
-
return contract.simulate.
|
|
1812
|
+
async resume(options) {
|
|
1813
|
+
return contract.simulate.resume(options);
|
|
3296
1814
|
},
|
|
3297
1815
|
/**
|
|
3298
|
-
* Simulate
|
|
1816
|
+
* Simulate suspend
|
|
3299
1817
|
* Returns gas estimate and result without sending transaction
|
|
3300
1818
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3301
1819
|
*/
|
|
3302
|
-
async
|
|
3303
|
-
return contract.simulate.
|
|
1820
|
+
async suspend(options) {
|
|
1821
|
+
return contract.simulate.suspend(options);
|
|
3304
1822
|
},
|
|
3305
1823
|
/**
|
|
3306
|
-
* Simulate
|
|
3307
|
-
* Returns gas estimate and result without sending transaction
|
|
3308
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3309
|
-
*/
|
|
3310
|
-
async setAdditionalRewardsStrategy(strategy, options) {
|
|
3311
|
-
return contract.simulate.setAdditionalRewardsStrategy([strategy], options);
|
|
3312
|
-
},
|
|
3313
|
-
/**
|
|
3314
|
-
* Simulate setBlockList
|
|
3315
|
-
* Returns gas estimate and result without sending transaction
|
|
3316
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3317
|
-
*/
|
|
3318
|
-
async setBlockList(newBlockList, options) {
|
|
3319
|
-
return contract.simulate.setBlockList([newBlockList], options);
|
|
3320
|
-
},
|
|
3321
|
-
/**
|
|
3322
|
-
* Simulate setDepositFee
|
|
1824
|
+
* Simulate transfer
|
|
3323
1825
|
* Returns gas estimate and result without sending transaction
|
|
3324
1826
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3325
1827
|
*/
|
|
3326
|
-
async
|
|
3327
|
-
return contract.simulate.
|
|
1828
|
+
async transfer(sigData, transferParams, options) {
|
|
1829
|
+
return contract.simulate.transfer([sigData, transferParams], options);
|
|
3328
1830
|
},
|
|
3329
1831
|
/**
|
|
3330
|
-
* Simulate
|
|
1832
|
+
* Simulate transferBatch
|
|
3331
1833
|
* Returns gas estimate and result without sending transaction
|
|
3332
1834
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3333
1835
|
*/
|
|
3334
|
-
async
|
|
3335
|
-
return contract.simulate.
|
|
1836
|
+
async transferBatch(sigData, transferParamsArray, options) {
|
|
1837
|
+
return contract.simulate.transferBatch([sigData, transferParamsArray], options);
|
|
3336
1838
|
},
|
|
3337
1839
|
/**
|
|
3338
|
-
* Simulate
|
|
1840
|
+
* Simulate transferFallback
|
|
3339
1841
|
* Returns gas estimate and result without sending transaction
|
|
3340
1842
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3341
1843
|
*/
|
|
3342
|
-
async
|
|
3343
|
-
return contract.simulate.
|
|
1844
|
+
async transferFallback(sigData, transferParams, options) {
|
|
1845
|
+
return contract.simulate.transferFallback([sigData, transferParams], options);
|
|
3344
1846
|
},
|
|
3345
1847
|
/**
|
|
3346
|
-
* Simulate
|
|
1848
|
+
* Simulate updateKeyManager
|
|
3347
1849
|
* Returns gas estimate and result without sending transaction
|
|
3348
1850
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3349
1851
|
*/
|
|
3350
|
-
async
|
|
3351
|
-
return contract.simulate.
|
|
1852
|
+
async updateKeyManager(sigData, keyManager, omitChecks, options) {
|
|
1853
|
+
return contract.simulate.updateKeyManager([sigData, keyManager, omitChecks], options);
|
|
3352
1854
|
},
|
|
3353
1855
|
/**
|
|
3354
|
-
* Simulate
|
|
1856
|
+
* Simulate xCallNative
|
|
3355
1857
|
* Returns gas estimate and result without sending transaction
|
|
3356
1858
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3357
1859
|
*/
|
|
3358
|
-
async
|
|
3359
|
-
return contract.simulate.
|
|
1860
|
+
async xCallNative(dstChain, dstAddress, dstToken, message, gasAmount, cfParameters, options) {
|
|
1861
|
+
return contract.simulate.xCallNative([dstChain, dstAddress, dstToken, message, gasAmount, cfParameters], options);
|
|
3360
1862
|
},
|
|
3361
1863
|
/**
|
|
3362
|
-
* Simulate
|
|
1864
|
+
* Simulate xCallToken
|
|
3363
1865
|
* Returns gas estimate and result without sending transaction
|
|
3364
1866
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3365
1867
|
*/
|
|
3366
|
-
async
|
|
3367
|
-
return contract.simulate.
|
|
1868
|
+
async xCallToken(dstChain, dstAddress, dstToken, message, gasAmount, srcToken, amount, cfParameters, options) {
|
|
1869
|
+
return contract.simulate.xCallToken([dstChain, dstAddress, dstToken, message, gasAmount, srcToken, amount, cfParameters], options);
|
|
3368
1870
|
},
|
|
3369
1871
|
/**
|
|
3370
|
-
* Simulate
|
|
1872
|
+
* Simulate xSwapNative
|
|
3371
1873
|
* Returns gas estimate and result without sending transaction
|
|
3372
1874
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3373
1875
|
*/
|
|
3374
|
-
async
|
|
3375
|
-
return contract.simulate.
|
|
1876
|
+
async xSwapNative(dstChain, dstAddress, dstToken, cfParameters, options) {
|
|
1877
|
+
return contract.simulate.xSwapNative([dstChain, dstAddress, dstToken, cfParameters], options);
|
|
3376
1878
|
},
|
|
3377
1879
|
/**
|
|
3378
|
-
* Simulate
|
|
1880
|
+
* Simulate xSwapToken
|
|
3379
1881
|
* Returns gas estimate and result without sending transaction
|
|
3380
1882
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3381
1883
|
*/
|
|
3382
|
-
async
|
|
3383
|
-
return contract.simulate.
|
|
1884
|
+
async xSwapToken(dstChain, dstAddress, dstToken, srcToken, amount, cfParameters, options) {
|
|
1885
|
+
return contract.simulate.xSwapToken([dstChain, dstAddress, dstToken, srcToken, amount, cfParameters], options);
|
|
3384
1886
|
}
|
|
3385
1887
|
};
|
|
3386
1888
|
}
|
|
@@ -3399,125 +1901,16 @@ class Vault_json {
|
|
|
3399
1901
|
get watch() {
|
|
3400
1902
|
return {
|
|
3401
1903
|
/**
|
|
3402
|
-
* Watch
|
|
3403
|
-
* @param callback Function to call when event is emitted
|
|
3404
|
-
* @param filter Optional filter for indexed parameters
|
|
3405
|
-
* @returns Unwatch function to stop listening
|
|
3406
|
-
*/
|
|
3407
|
-
AdditionalRewardsStrategyUpdated: (callback) => {
|
|
3408
|
-
return this.publicClient.watchContractEvent({
|
|
3409
|
-
address: this.contractAddress,
|
|
3410
|
-
abi: exports.Vault_jsonAbi,
|
|
3411
|
-
eventName: 'AdditionalRewardsStrategyUpdated',
|
|
3412
|
-
onLogs: (logs) => {
|
|
3413
|
-
logs.forEach((log) => {
|
|
3414
|
-
callback(log.args);
|
|
3415
|
-
});
|
|
3416
|
-
},
|
|
3417
|
-
});
|
|
3418
|
-
},
|
|
3419
|
-
/**
|
|
3420
|
-
* Watch Approval events
|
|
3421
|
-
* @param callback Function to call when event is emitted
|
|
3422
|
-
* @param filter Optional filter for indexed parameters
|
|
3423
|
-
* @returns Unwatch function to stop listening
|
|
3424
|
-
*/
|
|
3425
|
-
Approval: (callback, filter) => {
|
|
3426
|
-
return this.publicClient.watchContractEvent({
|
|
3427
|
-
address: this.contractAddress,
|
|
3428
|
-
abi: exports.Vault_jsonAbi,
|
|
3429
|
-
eventName: 'Approval',
|
|
3430
|
-
args: filter,
|
|
3431
|
-
onLogs: (logs) => {
|
|
3432
|
-
logs.forEach((log) => {
|
|
3433
|
-
callback(log.args);
|
|
3434
|
-
});
|
|
3435
|
-
},
|
|
3436
|
-
});
|
|
3437
|
-
},
|
|
3438
|
-
/**
|
|
3439
|
-
* Watch AssetInitialized events
|
|
3440
|
-
* @param callback Function to call when event is emitted
|
|
3441
|
-
* @param filter Optional filter for indexed parameters
|
|
3442
|
-
* @returns Unwatch function to stop listening
|
|
3443
|
-
*/
|
|
3444
|
-
AssetInitialized: (callback) => {
|
|
3445
|
-
return this.publicClient.watchContractEvent({
|
|
3446
|
-
address: this.contractAddress,
|
|
3447
|
-
abi: exports.Vault_jsonAbi,
|
|
3448
|
-
eventName: 'AssetInitialized',
|
|
3449
|
-
onLogs: (logs) => {
|
|
3450
|
-
logs.forEach((log) => {
|
|
3451
|
-
callback(log.args);
|
|
3452
|
-
});
|
|
3453
|
-
},
|
|
3454
|
-
});
|
|
3455
|
-
},
|
|
3456
|
-
/**
|
|
3457
|
-
* Watch BlockListUpdated events
|
|
3458
|
-
* @param callback Function to call when event is emitted
|
|
3459
|
-
* @param filter Optional filter for indexed parameters
|
|
3460
|
-
* @returns Unwatch function to stop listening
|
|
3461
|
-
*/
|
|
3462
|
-
BlockListUpdated: (callback) => {
|
|
3463
|
-
return this.publicClient.watchContractEvent({
|
|
3464
|
-
address: this.contractAddress,
|
|
3465
|
-
abi: exports.Vault_jsonAbi,
|
|
3466
|
-
eventName: 'BlockListUpdated',
|
|
3467
|
-
onLogs: (logs) => {
|
|
3468
|
-
logs.forEach((log) => {
|
|
3469
|
-
callback(log.args);
|
|
3470
|
-
});
|
|
3471
|
-
},
|
|
3472
|
-
});
|
|
3473
|
-
},
|
|
3474
|
-
/**
|
|
3475
|
-
* Watch ConnectorNameUpdated events
|
|
3476
|
-
* @param callback Function to call when event is emitted
|
|
3477
|
-
* @param filter Optional filter for indexed parameters
|
|
3478
|
-
* @returns Unwatch function to stop listening
|
|
3479
|
-
*/
|
|
3480
|
-
ConnectorNameUpdated: (callback) => {
|
|
3481
|
-
return this.publicClient.watchContractEvent({
|
|
3482
|
-
address: this.contractAddress,
|
|
3483
|
-
abi: exports.Vault_jsonAbi,
|
|
3484
|
-
eventName: 'ConnectorNameUpdated',
|
|
3485
|
-
onLogs: (logs) => {
|
|
3486
|
-
logs.forEach((log) => {
|
|
3487
|
-
callback(log.args);
|
|
3488
|
-
});
|
|
3489
|
-
},
|
|
3490
|
-
});
|
|
3491
|
-
},
|
|
3492
|
-
/**
|
|
3493
|
-
* Watch ConnectorRegistryUpdated events
|
|
3494
|
-
* @param callback Function to call when event is emitted
|
|
3495
|
-
* @param filter Optional filter for indexed parameters
|
|
3496
|
-
* @returns Unwatch function to stop listening
|
|
3497
|
-
*/
|
|
3498
|
-
ConnectorRegistryUpdated: (callback) => {
|
|
3499
|
-
return this.publicClient.watchContractEvent({
|
|
3500
|
-
address: this.contractAddress,
|
|
3501
|
-
abi: exports.Vault_jsonAbi,
|
|
3502
|
-
eventName: 'ConnectorRegistryUpdated',
|
|
3503
|
-
onLogs: (logs) => {
|
|
3504
|
-
logs.forEach((log) => {
|
|
3505
|
-
callback(log.args);
|
|
3506
|
-
});
|
|
3507
|
-
},
|
|
3508
|
-
});
|
|
3509
|
-
},
|
|
3510
|
-
/**
|
|
3511
|
-
* Watch DefaultAdminDelayChangeCanceled events
|
|
1904
|
+
* Watch AddGasNative events
|
|
3512
1905
|
* @param callback Function to call when event is emitted
|
|
3513
1906
|
* @param filter Optional filter for indexed parameters
|
|
3514
1907
|
* @returns Unwatch function to stop listening
|
|
3515
1908
|
*/
|
|
3516
|
-
|
|
1909
|
+
AddGasNative: (callback) => {
|
|
3517
1910
|
return this.publicClient.watchContractEvent({
|
|
3518
1911
|
address: this.contractAddress,
|
|
3519
1912
|
abi: exports.Vault_jsonAbi,
|
|
3520
|
-
eventName: '
|
|
1913
|
+
eventName: 'AddGasNative',
|
|
3521
1914
|
onLogs: (logs) => {
|
|
3522
1915
|
logs.forEach((log) => {
|
|
3523
1916
|
callback(log.args);
|
|
@@ -3526,16 +1919,16 @@ class Vault_json {
|
|
|
3526
1919
|
});
|
|
3527
1920
|
},
|
|
3528
1921
|
/**
|
|
3529
|
-
* Watch
|
|
1922
|
+
* Watch AddGasToken events
|
|
3530
1923
|
* @param callback Function to call when event is emitted
|
|
3531
1924
|
* @param filter Optional filter for indexed parameters
|
|
3532
1925
|
* @returns Unwatch function to stop listening
|
|
3533
1926
|
*/
|
|
3534
|
-
|
|
1927
|
+
AddGasToken: (callback) => {
|
|
3535
1928
|
return this.publicClient.watchContractEvent({
|
|
3536
1929
|
address: this.contractAddress,
|
|
3537
1930
|
abi: exports.Vault_jsonAbi,
|
|
3538
|
-
eventName: '
|
|
1931
|
+
eventName: 'AddGasToken',
|
|
3539
1932
|
onLogs: (logs) => {
|
|
3540
1933
|
logs.forEach((log) => {
|
|
3541
1934
|
callback(log.args);
|
|
@@ -3544,16 +1937,16 @@ class Vault_json {
|
|
|
3544
1937
|
});
|
|
3545
1938
|
},
|
|
3546
1939
|
/**
|
|
3547
|
-
* Watch
|
|
1940
|
+
* Watch CommunityGuardDisabled events
|
|
3548
1941
|
* @param callback Function to call when event is emitted
|
|
3549
1942
|
* @param filter Optional filter for indexed parameters
|
|
3550
1943
|
* @returns Unwatch function to stop listening
|
|
3551
1944
|
*/
|
|
3552
|
-
|
|
1945
|
+
CommunityGuardDisabled: (callback) => {
|
|
3553
1946
|
return this.publicClient.watchContractEvent({
|
|
3554
1947
|
address: this.contractAddress,
|
|
3555
1948
|
abi: exports.Vault_jsonAbi,
|
|
3556
|
-
eventName: '
|
|
1949
|
+
eventName: 'CommunityGuardDisabled',
|
|
3557
1950
|
onLogs: (logs) => {
|
|
3558
1951
|
logs.forEach((log) => {
|
|
3559
1952
|
callback(log.args);
|
|
@@ -3562,16 +1955,16 @@ class Vault_json {
|
|
|
3562
1955
|
});
|
|
3563
1956
|
},
|
|
3564
1957
|
/**
|
|
3565
|
-
* Watch
|
|
1958
|
+
* Watch ExecuteActionsFailed events
|
|
3566
1959
|
* @param callback Function to call when event is emitted
|
|
3567
1960
|
* @param filter Optional filter for indexed parameters
|
|
3568
1961
|
* @returns Unwatch function to stop listening
|
|
3569
1962
|
*/
|
|
3570
|
-
|
|
1963
|
+
ExecuteActionsFailed: (callback, filter) => {
|
|
3571
1964
|
return this.publicClient.watchContractEvent({
|
|
3572
1965
|
address: this.contractAddress,
|
|
3573
1966
|
abi: exports.Vault_jsonAbi,
|
|
3574
|
-
eventName: '
|
|
1967
|
+
eventName: 'ExecuteActionsFailed',
|
|
3575
1968
|
args: filter,
|
|
3576
1969
|
onLogs: (logs) => {
|
|
3577
1970
|
logs.forEach((log) => {
|
|
@@ -3581,16 +1974,16 @@ class Vault_json {
|
|
|
3581
1974
|
});
|
|
3582
1975
|
},
|
|
3583
1976
|
/**
|
|
3584
|
-
* Watch
|
|
1977
|
+
* Watch FetchedNative events
|
|
3585
1978
|
* @param callback Function to call when event is emitted
|
|
3586
1979
|
* @param filter Optional filter for indexed parameters
|
|
3587
1980
|
* @returns Unwatch function to stop listening
|
|
3588
1981
|
*/
|
|
3589
|
-
|
|
1982
|
+
FetchedNative: (callback, filter) => {
|
|
3590
1983
|
return this.publicClient.watchContractEvent({
|
|
3591
1984
|
address: this.contractAddress,
|
|
3592
1985
|
abi: exports.Vault_jsonAbi,
|
|
3593
|
-
eventName: '
|
|
1986
|
+
eventName: 'FetchedNative',
|
|
3594
1987
|
args: filter,
|
|
3595
1988
|
onLogs: (logs) => {
|
|
3596
1989
|
logs.forEach((log) => {
|
|
@@ -3600,124 +1993,16 @@ class Vault_json {
|
|
|
3600
1993
|
});
|
|
3601
1994
|
},
|
|
3602
1995
|
/**
|
|
3603
|
-
* Watch
|
|
3604
|
-
* @param callback Function to call when event is emitted
|
|
3605
|
-
* @param filter Optional filter for indexed parameters
|
|
3606
|
-
* @returns Unwatch function to stop listening
|
|
3607
|
-
*/
|
|
3608
|
-
DepositFeeUpdated: (callback) => {
|
|
3609
|
-
return this.publicClient.watchContractEvent({
|
|
3610
|
-
address: this.contractAddress,
|
|
3611
|
-
abi: exports.Vault_jsonAbi,
|
|
3612
|
-
eventName: 'DepositFeeUpdated',
|
|
3613
|
-
onLogs: (logs) => {
|
|
3614
|
-
logs.forEach((log) => {
|
|
3615
|
-
callback(log.args);
|
|
3616
|
-
});
|
|
3617
|
-
},
|
|
3618
|
-
});
|
|
3619
|
-
},
|
|
3620
|
-
/**
|
|
3621
|
-
* Watch FeeDispatcherInitialized events
|
|
3622
|
-
* @param callback Function to call when event is emitted
|
|
3623
|
-
* @param filter Optional filter for indexed parameters
|
|
3624
|
-
* @returns Unwatch function to stop listening
|
|
3625
|
-
*/
|
|
3626
|
-
FeeDispatcherInitialized: (callback) => {
|
|
3627
|
-
return this.publicClient.watchContractEvent({
|
|
3628
|
-
address: this.contractAddress,
|
|
3629
|
-
abi: exports.Vault_jsonAbi,
|
|
3630
|
-
eventName: 'FeeDispatcherInitialized',
|
|
3631
|
-
onLogs: (logs) => {
|
|
3632
|
-
logs.forEach((log) => {
|
|
3633
|
-
callback(log.args);
|
|
3634
|
-
});
|
|
3635
|
-
},
|
|
3636
|
-
});
|
|
3637
|
-
},
|
|
3638
|
-
/**
|
|
3639
|
-
* Watch Initialized events
|
|
3640
|
-
* @param callback Function to call when event is emitted
|
|
3641
|
-
* @param filter Optional filter for indexed parameters
|
|
3642
|
-
* @returns Unwatch function to stop listening
|
|
3643
|
-
*/
|
|
3644
|
-
Initialized: (callback) => {
|
|
3645
|
-
return this.publicClient.watchContractEvent({
|
|
3646
|
-
address: this.contractAddress,
|
|
3647
|
-
abi: exports.Vault_jsonAbi,
|
|
3648
|
-
eventName: 'Initialized',
|
|
3649
|
-
onLogs: (logs) => {
|
|
3650
|
-
logs.forEach((log) => {
|
|
3651
|
-
callback(log.args);
|
|
3652
|
-
});
|
|
3653
|
-
},
|
|
3654
|
-
});
|
|
3655
|
-
},
|
|
3656
|
-
/**
|
|
3657
|
-
* Watch MinTotalSupplyInitialized events
|
|
3658
|
-
* @param callback Function to call when event is emitted
|
|
3659
|
-
* @param filter Optional filter for indexed parameters
|
|
3660
|
-
* @returns Unwatch function to stop listening
|
|
3661
|
-
*/
|
|
3662
|
-
MinTotalSupplyInitialized: (callback) => {
|
|
3663
|
-
return this.publicClient.watchContractEvent({
|
|
3664
|
-
address: this.contractAddress,
|
|
3665
|
-
abi: exports.Vault_jsonAbi,
|
|
3666
|
-
eventName: 'MinTotalSupplyInitialized',
|
|
3667
|
-
onLogs: (logs) => {
|
|
3668
|
-
logs.forEach((log) => {
|
|
3669
|
-
callback(log.args);
|
|
3670
|
-
});
|
|
3671
|
-
},
|
|
3672
|
-
});
|
|
3673
|
-
},
|
|
3674
|
-
/**
|
|
3675
|
-
* Watch NameInitialized events
|
|
3676
|
-
* @param callback Function to call when event is emitted
|
|
3677
|
-
* @param filter Optional filter for indexed parameters
|
|
3678
|
-
* @returns Unwatch function to stop listening
|
|
3679
|
-
*/
|
|
3680
|
-
NameInitialized: (callback) => {
|
|
3681
|
-
return this.publicClient.watchContractEvent({
|
|
3682
|
-
address: this.contractAddress,
|
|
3683
|
-
abi: exports.Vault_jsonAbi,
|
|
3684
|
-
eventName: 'NameInitialized',
|
|
3685
|
-
onLogs: (logs) => {
|
|
3686
|
-
logs.forEach((log) => {
|
|
3687
|
-
callback(log.args);
|
|
3688
|
-
});
|
|
3689
|
-
},
|
|
3690
|
-
});
|
|
3691
|
-
},
|
|
3692
|
-
/**
|
|
3693
|
-
* Watch OffsetInitialized events
|
|
3694
|
-
* @param callback Function to call when event is emitted
|
|
3695
|
-
* @param filter Optional filter for indexed parameters
|
|
3696
|
-
* @returns Unwatch function to stop listening
|
|
3697
|
-
*/
|
|
3698
|
-
OffsetInitialized: (callback) => {
|
|
3699
|
-
return this.publicClient.watchContractEvent({
|
|
3700
|
-
address: this.contractAddress,
|
|
3701
|
-
abi: exports.Vault_jsonAbi,
|
|
3702
|
-
eventName: 'OffsetInitialized',
|
|
3703
|
-
onLogs: (logs) => {
|
|
3704
|
-
logs.forEach((log) => {
|
|
3705
|
-
callback(log.args);
|
|
3706
|
-
});
|
|
3707
|
-
},
|
|
3708
|
-
});
|
|
3709
|
-
},
|
|
3710
|
-
/**
|
|
3711
|
-
* Watch RewardFeeUpdated events
|
|
1996
|
+
* Watch Suspended events
|
|
3712
1997
|
* @param callback Function to call when event is emitted
|
|
3713
1998
|
* @param filter Optional filter for indexed parameters
|
|
3714
1999
|
* @returns Unwatch function to stop listening
|
|
3715
2000
|
*/
|
|
3716
|
-
|
|
2001
|
+
Suspended: (callback) => {
|
|
3717
2002
|
return this.publicClient.watchContractEvent({
|
|
3718
2003
|
address: this.contractAddress,
|
|
3719
2004
|
abi: exports.Vault_jsonAbi,
|
|
3720
|
-
eventName: '
|
|
2005
|
+
eventName: 'Suspended',
|
|
3721
2006
|
onLogs: (logs) => {
|
|
3722
2007
|
logs.forEach((log) => {
|
|
3723
2008
|
callback(log.args);
|
|
@@ -3726,16 +2011,16 @@ class Vault_json {
|
|
|
3726
2011
|
});
|
|
3727
2012
|
},
|
|
3728
2013
|
/**
|
|
3729
|
-
* Watch
|
|
2014
|
+
* Watch SwapNative events
|
|
3730
2015
|
* @param callback Function to call when event is emitted
|
|
3731
2016
|
* @param filter Optional filter for indexed parameters
|
|
3732
2017
|
* @returns Unwatch function to stop listening
|
|
3733
2018
|
*/
|
|
3734
|
-
|
|
2019
|
+
SwapNative: (callback, filter) => {
|
|
3735
2020
|
return this.publicClient.watchContractEvent({
|
|
3736
2021
|
address: this.contractAddress,
|
|
3737
2022
|
abi: exports.Vault_jsonAbi,
|
|
3738
|
-
eventName: '
|
|
2023
|
+
eventName: 'SwapNative',
|
|
3739
2024
|
args: filter,
|
|
3740
2025
|
onLogs: (logs) => {
|
|
3741
2026
|
logs.forEach((log) => {
|
|
@@ -3745,16 +2030,16 @@ class Vault_json {
|
|
|
3745
2030
|
});
|
|
3746
2031
|
},
|
|
3747
2032
|
/**
|
|
3748
|
-
* Watch
|
|
2033
|
+
* Watch SwapToken events
|
|
3749
2034
|
* @param callback Function to call when event is emitted
|
|
3750
2035
|
* @param filter Optional filter for indexed parameters
|
|
3751
2036
|
* @returns Unwatch function to stop listening
|
|
3752
2037
|
*/
|
|
3753
|
-
|
|
2038
|
+
SwapToken: (callback, filter) => {
|
|
3754
2039
|
return this.publicClient.watchContractEvent({
|
|
3755
2040
|
address: this.contractAddress,
|
|
3756
2041
|
abi: exports.Vault_jsonAbi,
|
|
3757
|
-
eventName: '
|
|
2042
|
+
eventName: 'SwapToken',
|
|
3758
2043
|
args: filter,
|
|
3759
2044
|
onLogs: (logs) => {
|
|
3760
2045
|
logs.forEach((log) => {
|
|
@@ -3764,16 +2049,16 @@ class Vault_json {
|
|
|
3764
2049
|
});
|
|
3765
2050
|
},
|
|
3766
2051
|
/**
|
|
3767
|
-
* Watch
|
|
2052
|
+
* Watch TransferNativeFailed events
|
|
3768
2053
|
* @param callback Function to call when event is emitted
|
|
3769
2054
|
* @param filter Optional filter for indexed parameters
|
|
3770
2055
|
* @returns Unwatch function to stop listening
|
|
3771
2056
|
*/
|
|
3772
|
-
|
|
2057
|
+
TransferNativeFailed: (callback, filter) => {
|
|
3773
2058
|
return this.publicClient.watchContractEvent({
|
|
3774
2059
|
address: this.contractAddress,
|
|
3775
2060
|
abi: exports.Vault_jsonAbi,
|
|
3776
|
-
eventName: '
|
|
2061
|
+
eventName: 'TransferNativeFailed',
|
|
3777
2062
|
args: filter,
|
|
3778
2063
|
onLogs: (logs) => {
|
|
3779
2064
|
logs.forEach((log) => {
|
|
@@ -3783,16 +2068,16 @@ class Vault_json {
|
|
|
3783
2068
|
});
|
|
3784
2069
|
},
|
|
3785
2070
|
/**
|
|
3786
|
-
* Watch
|
|
2071
|
+
* Watch TransferTokenFailed events
|
|
3787
2072
|
* @param callback Function to call when event is emitted
|
|
3788
2073
|
* @param filter Optional filter for indexed parameters
|
|
3789
2074
|
* @returns Unwatch function to stop listening
|
|
3790
2075
|
*/
|
|
3791
|
-
|
|
2076
|
+
TransferTokenFailed: (callback, filter) => {
|
|
3792
2077
|
return this.publicClient.watchContractEvent({
|
|
3793
2078
|
address: this.contractAddress,
|
|
3794
2079
|
abi: exports.Vault_jsonAbi,
|
|
3795
|
-
eventName: '
|
|
2080
|
+
eventName: 'TransferTokenFailed',
|
|
3796
2081
|
args: filter,
|
|
3797
2082
|
onLogs: (logs) => {
|
|
3798
2083
|
logs.forEach((log) => {
|
|
@@ -3802,16 +2087,16 @@ class Vault_json {
|
|
|
3802
2087
|
});
|
|
3803
2088
|
},
|
|
3804
2089
|
/**
|
|
3805
|
-
* Watch
|
|
2090
|
+
* Watch UpdatedKeyManager events
|
|
3806
2091
|
* @param callback Function to call when event is emitted
|
|
3807
2092
|
* @param filter Optional filter for indexed parameters
|
|
3808
2093
|
* @returns Unwatch function to stop listening
|
|
3809
2094
|
*/
|
|
3810
|
-
|
|
2095
|
+
UpdatedKeyManager: (callback) => {
|
|
3811
2096
|
return this.publicClient.watchContractEvent({
|
|
3812
2097
|
address: this.contractAddress,
|
|
3813
2098
|
abi: exports.Vault_jsonAbi,
|
|
3814
|
-
eventName: '
|
|
2099
|
+
eventName: 'UpdatedKeyManager',
|
|
3815
2100
|
onLogs: (logs) => {
|
|
3816
2101
|
logs.forEach((log) => {
|
|
3817
2102
|
callback(log.args);
|
|
@@ -3820,16 +2105,16 @@ class Vault_json {
|
|
|
3820
2105
|
});
|
|
3821
2106
|
},
|
|
3822
2107
|
/**
|
|
3823
|
-
* Watch
|
|
2108
|
+
* Watch XCallNative events
|
|
3824
2109
|
* @param callback Function to call when event is emitted
|
|
3825
2110
|
* @param filter Optional filter for indexed parameters
|
|
3826
2111
|
* @returns Unwatch function to stop listening
|
|
3827
2112
|
*/
|
|
3828
|
-
|
|
2113
|
+
XCallNative: (callback, filter) => {
|
|
3829
2114
|
return this.publicClient.watchContractEvent({
|
|
3830
2115
|
address: this.contractAddress,
|
|
3831
2116
|
abi: exports.Vault_jsonAbi,
|
|
3832
|
-
eventName: '
|
|
2117
|
+
eventName: 'XCallNative',
|
|
3833
2118
|
args: filter,
|
|
3834
2119
|
onLogs: (logs) => {
|
|
3835
2120
|
logs.forEach((log) => {
|
|
@@ -3839,34 +2124,16 @@ class Vault_json {
|
|
|
3839
2124
|
});
|
|
3840
2125
|
},
|
|
3841
2126
|
/**
|
|
3842
|
-
* Watch
|
|
3843
|
-
* @param callback Function to call when event is emitted
|
|
3844
|
-
* @param filter Optional filter for indexed parameters
|
|
3845
|
-
* @returns Unwatch function to stop listening
|
|
3846
|
-
*/
|
|
3847
|
-
TransferableUpdated: (callback) => {
|
|
3848
|
-
return this.publicClient.watchContractEvent({
|
|
3849
|
-
address: this.contractAddress,
|
|
3850
|
-
abi: exports.Vault_jsonAbi,
|
|
3851
|
-
eventName: 'TransferableUpdated',
|
|
3852
|
-
onLogs: (logs) => {
|
|
3853
|
-
logs.forEach((log) => {
|
|
3854
|
-
callback(log.args);
|
|
3855
|
-
});
|
|
3856
|
-
},
|
|
3857
|
-
});
|
|
3858
|
-
},
|
|
3859
|
-
/**
|
|
3860
|
-
* Watch Withdraw events
|
|
2127
|
+
* Watch XCallToken events
|
|
3861
2128
|
* @param callback Function to call when event is emitted
|
|
3862
2129
|
* @param filter Optional filter for indexed parameters
|
|
3863
2130
|
* @returns Unwatch function to stop listening
|
|
3864
2131
|
*/
|
|
3865
|
-
|
|
2132
|
+
XCallToken: (callback, filter) => {
|
|
3866
2133
|
return this.publicClient.watchContractEvent({
|
|
3867
2134
|
address: this.contractAddress,
|
|
3868
2135
|
abi: exports.Vault_jsonAbi,
|
|
3869
|
-
eventName: '
|
|
2136
|
+
eventName: 'XCallToken',
|
|
3870
2137
|
args: filter,
|
|
3871
2138
|
onLogs: (logs) => {
|
|
3872
2139
|
logs.forEach((log) => {
|