@reyaxyz/common 0.380.1 → 0.382.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/trading-api-types.js.map +1 -1
- package/dist/transactions/abis/CoreProxy.json +3476 -2668
- package/dist/transactions/abis/Errors.json +208 -0
- package/dist/transactions/abis/Periphery.json +1041 -1190
- package/dist/types/trading-api-types.d.ts +6 -0
- package/dist/types/trading-api-types.d.ts.map +1 -1
- package/dist/types/types.d.ts +2 -2
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/utils/realized-balance.d.ts +47 -0
- package/dist/types/utils/realized-balance.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/realized-balance.js +61 -1
- package/dist/utils/realized-balance.js.map +1 -1
- package/package.json +2 -2
- package/src/trading-api-types.ts +6 -0
- package/src/transactions/abis/CoreProxy.json +3476 -2668
- package/src/transactions/abis/Errors.json +208 -0
- package/src/transactions/abis/Periphery.json +1041 -1190
- package/src/types.ts +3 -2
- package/src/utils/realized-balance.ts +77 -0
|
@@ -2,275 +2,80 @@
|
|
|
2
2
|
"abi": [
|
|
3
3
|
{
|
|
4
4
|
"type": "function",
|
|
5
|
-
"name": "
|
|
6
|
-
"inputs": [
|
|
7
|
-
|
|
8
|
-
"name": "inputs",
|
|
9
|
-
"type": "tuple",
|
|
10
|
-
"internalType": "struct DepositLiquidityToAccountInputs",
|
|
11
|
-
"components": [
|
|
12
|
-
{
|
|
13
|
-
"name": "accountId",
|
|
14
|
-
"type": "uint128",
|
|
15
|
-
"internalType": "uint128"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"name": "poolId",
|
|
19
|
-
"type": "uint128",
|
|
20
|
-
"internalType": "uint128"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "sharesAmount",
|
|
24
|
-
"type": "uint256",
|
|
25
|
-
"internalType": "uint256"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"name": "sig",
|
|
29
|
-
"type": "tuple",
|
|
30
|
-
"internalType": "struct EIP712Signature",
|
|
31
|
-
"components": [
|
|
32
|
-
{
|
|
33
|
-
"name": "v",
|
|
34
|
-
"type": "uint8",
|
|
35
|
-
"internalType": "uint8"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"name": "r",
|
|
39
|
-
"type": "bytes32",
|
|
40
|
-
"internalType": "bytes32"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "s",
|
|
44
|
-
"type": "bytes32",
|
|
45
|
-
"internalType": "bytes32"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"name": "deadline",
|
|
49
|
-
"type": "uint256",
|
|
50
|
-
"internalType": "uint256"
|
|
51
|
-
}
|
|
52
|
-
]
|
|
53
|
-
}
|
|
54
|
-
]
|
|
55
|
-
}
|
|
56
|
-
],
|
|
57
|
-
"outputs": [],
|
|
58
|
-
"stateMutability": "nonpayable"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"type": "function",
|
|
62
|
-
"name": "withdrawLiquidityFromAccount",
|
|
63
|
-
"inputs": [
|
|
64
|
-
{
|
|
65
|
-
"name": "inputs",
|
|
66
|
-
"type": "tuple",
|
|
67
|
-
"internalType": "struct WithdrawLiquidityFromAccountInputs",
|
|
68
|
-
"components": [
|
|
69
|
-
{
|
|
70
|
-
"name": "accountId",
|
|
71
|
-
"type": "uint128",
|
|
72
|
-
"internalType": "uint128"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"name": "poolId",
|
|
76
|
-
"type": "uint128",
|
|
77
|
-
"internalType": "uint128"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"name": "sharesAmount",
|
|
81
|
-
"type": "uint256",
|
|
82
|
-
"internalType": "uint256"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"name": "sig",
|
|
86
|
-
"type": "tuple",
|
|
87
|
-
"internalType": "struct EIP712Signature",
|
|
88
|
-
"components": [
|
|
89
|
-
{
|
|
90
|
-
"name": "v",
|
|
91
|
-
"type": "uint8",
|
|
92
|
-
"internalType": "uint8"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"name": "r",
|
|
96
|
-
"type": "bytes32",
|
|
97
|
-
"internalType": "bytes32"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"name": "s",
|
|
101
|
-
"type": "bytes32",
|
|
102
|
-
"internalType": "bytes32"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"name": "deadline",
|
|
106
|
-
"type": "uint256",
|
|
107
|
-
"internalType": "uint256"
|
|
108
|
-
}
|
|
109
|
-
]
|
|
110
|
-
}
|
|
111
|
-
]
|
|
112
|
-
}
|
|
113
|
-
],
|
|
114
|
-
"outputs": [],
|
|
115
|
-
"stateMutability": "nonpayable"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
"type": "function",
|
|
119
|
-
"name": "withdrawPassivePoolV2",
|
|
120
|
-
"inputs": [
|
|
5
|
+
"name": "getGlobalConfiguration",
|
|
6
|
+
"inputs": [],
|
|
7
|
+
"outputs": [
|
|
121
8
|
{
|
|
122
|
-
"name": "
|
|
9
|
+
"name": "",
|
|
123
10
|
"type": "tuple",
|
|
124
|
-
"internalType": "struct
|
|
11
|
+
"internalType": "struct GlobalConfiguration.Data",
|
|
125
12
|
"components": [
|
|
126
13
|
{
|
|
127
|
-
"name": "
|
|
14
|
+
"name": "coreProxy",
|
|
128
15
|
"type": "address",
|
|
129
16
|
"internalType": "address"
|
|
130
17
|
},
|
|
131
18
|
{
|
|
132
|
-
"name": "
|
|
19
|
+
"name": "rUSDProxy",
|
|
133
20
|
"type": "address",
|
|
134
21
|
"internalType": "address"
|
|
135
22
|
},
|
|
136
23
|
{
|
|
137
|
-
"name": "
|
|
138
|
-
"type": "uint128",
|
|
139
|
-
"internalType": "uint128"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"name": "sharesAmount",
|
|
143
|
-
"type": "uint256",
|
|
144
|
-
"internalType": "uint256"
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"name": "minOut",
|
|
148
|
-
"type": "uint256",
|
|
149
|
-
"internalType": "uint256"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"name": "sig",
|
|
153
|
-
"type": "tuple",
|
|
154
|
-
"internalType": "struct EIP712Signature",
|
|
155
|
-
"components": [
|
|
156
|
-
{
|
|
157
|
-
"name": "v",
|
|
158
|
-
"type": "uint8",
|
|
159
|
-
"internalType": "uint8"
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"name": "r",
|
|
163
|
-
"type": "bytes32",
|
|
164
|
-
"internalType": "bytes32"
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"name": "s",
|
|
168
|
-
"type": "bytes32",
|
|
169
|
-
"internalType": "bytes32"
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"name": "deadline",
|
|
173
|
-
"type": "uint256",
|
|
174
|
-
"internalType": "uint256"
|
|
175
|
-
}
|
|
176
|
-
]
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"name": "socketMsgGasLimit",
|
|
180
|
-
"type": "uint256",
|
|
181
|
-
"internalType": "uint256"
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
"name": "chainId",
|
|
185
|
-
"type": "uint256",
|
|
186
|
-
"internalType": "uint256"
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
"name": "receiver",
|
|
24
|
+
"name": "passivePoolProxy",
|
|
190
25
|
"type": "address",
|
|
191
26
|
"internalType": "address"
|
|
192
|
-
}
|
|
193
|
-
]
|
|
194
|
-
}
|
|
195
|
-
],
|
|
196
|
-
"outputs": [],
|
|
197
|
-
"stateMutability": "nonpayable"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"type": "function",
|
|
201
|
-
"name": "depositPassivePoolV2",
|
|
202
|
-
"inputs": [
|
|
203
|
-
{
|
|
204
|
-
"name": "inputs",
|
|
205
|
-
"type": "tuple",
|
|
206
|
-
"internalType": "struct DepositPassivePoolInputsV2",
|
|
207
|
-
"components": [
|
|
208
|
-
{
|
|
209
|
-
"name": "poolId",
|
|
210
|
-
"type": "uint128",
|
|
211
|
-
"internalType": "uint128"
|
|
212
27
|
},
|
|
213
28
|
{
|
|
214
|
-
"name": "
|
|
29
|
+
"name": "layerZeroEndpoint",
|
|
215
30
|
"type": "address",
|
|
216
31
|
"internalType": "address"
|
|
217
32
|
},
|
|
218
33
|
{
|
|
219
|
-
"name": "
|
|
34
|
+
"name": "sREYAProxy",
|
|
220
35
|
"type": "address",
|
|
221
36
|
"internalType": "address"
|
|
222
37
|
},
|
|
223
38
|
{
|
|
224
|
-
"name": "
|
|
225
|
-
"type": "
|
|
226
|
-
"internalType": "
|
|
39
|
+
"name": "REYAProxy",
|
|
40
|
+
"type": "address",
|
|
41
|
+
"internalType": "address"
|
|
227
42
|
}
|
|
228
43
|
]
|
|
229
44
|
}
|
|
230
45
|
],
|
|
231
|
-
"
|
|
232
|
-
"stateMutability": "nonpayable"
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"type": "function",
|
|
236
|
-
"name": "acceptOwnership",
|
|
237
|
-
"inputs": [],
|
|
238
|
-
"outputs": [],
|
|
239
|
-
"stateMutability": "nonpayable"
|
|
46
|
+
"stateMutability": "pure"
|
|
240
47
|
},
|
|
241
48
|
{
|
|
242
49
|
"type": "function",
|
|
243
|
-
"name": "
|
|
50
|
+
"name": "getLatestFeeUpdatedEventSequenceNumber",
|
|
244
51
|
"inputs": [],
|
|
245
52
|
"outputs": [
|
|
246
53
|
{
|
|
247
54
|
"name": "",
|
|
248
|
-
"type": "
|
|
249
|
-
"internalType": "
|
|
55
|
+
"type": "uint128",
|
|
56
|
+
"internalType": "uint128"
|
|
250
57
|
}
|
|
251
58
|
],
|
|
252
59
|
"stateMutability": "view"
|
|
253
60
|
},
|
|
254
61
|
{
|
|
255
62
|
"type": "function",
|
|
256
|
-
"name": "
|
|
63
|
+
"name": "getTokenChainConnector",
|
|
257
64
|
"inputs": [
|
|
258
65
|
{
|
|
259
|
-
"name": "
|
|
66
|
+
"name": "token",
|
|
260
67
|
"type": "address",
|
|
261
68
|
"internalType": "address"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "chainId",
|
|
72
|
+
"type": "uint256",
|
|
73
|
+
"internalType": "uint256"
|
|
262
74
|
}
|
|
263
75
|
],
|
|
264
|
-
"outputs": [],
|
|
265
|
-
"stateMutability": "nonpayable"
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
"type": "function",
|
|
269
|
-
"name": "nominatedOwner",
|
|
270
|
-
"inputs": [],
|
|
271
76
|
"outputs": [
|
|
272
77
|
{
|
|
273
|
-
"name": "",
|
|
78
|
+
"name": "connector",
|
|
274
79
|
"type": "address",
|
|
275
80
|
"internalType": "address"
|
|
276
81
|
}
|
|
@@ -279,11 +84,17 @@
|
|
|
279
84
|
},
|
|
280
85
|
{
|
|
281
86
|
"type": "function",
|
|
282
|
-
"name": "
|
|
283
|
-
"inputs": [
|
|
87
|
+
"name": "getTokenController",
|
|
88
|
+
"inputs": [
|
|
89
|
+
{
|
|
90
|
+
"name": "token",
|
|
91
|
+
"type": "address",
|
|
92
|
+
"internalType": "address"
|
|
93
|
+
}
|
|
94
|
+
],
|
|
284
95
|
"outputs": [
|
|
285
96
|
{
|
|
286
|
-
"name": "",
|
|
97
|
+
"name": "controller",
|
|
287
98
|
"type": "address",
|
|
288
99
|
"internalType": "address"
|
|
289
100
|
}
|
|
@@ -292,223 +103,7 @@
|
|
|
292
103
|
},
|
|
293
104
|
{
|
|
294
105
|
"type": "function",
|
|
295
|
-
"name": "
|
|
296
|
-
"inputs": [],
|
|
297
|
-
"outputs": [],
|
|
298
|
-
"stateMutability": "nonpayable"
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
"type": "function",
|
|
302
|
-
"name": "simulateUpgradeTo",
|
|
303
|
-
"inputs": [
|
|
304
|
-
{
|
|
305
|
-
"name": "newImplementation",
|
|
306
|
-
"type": "address",
|
|
307
|
-
"internalType": "address"
|
|
308
|
-
}
|
|
309
|
-
],
|
|
310
|
-
"outputs": [],
|
|
311
|
-
"stateMutability": "nonpayable"
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
"type": "function",
|
|
315
|
-
"name": "upgradeTo",
|
|
316
|
-
"inputs": [
|
|
317
|
-
{
|
|
318
|
-
"name": "newImplementation",
|
|
319
|
-
"type": "address",
|
|
320
|
-
"internalType": "address"
|
|
321
|
-
}
|
|
322
|
-
],
|
|
323
|
-
"outputs": [],
|
|
324
|
-
"stateMutability": "nonpayable"
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
"type": "event",
|
|
328
|
-
"name": "OwnerChanged",
|
|
329
|
-
"inputs": [
|
|
330
|
-
{
|
|
331
|
-
"name": "oldOwner",
|
|
332
|
-
"type": "address",
|
|
333
|
-
"indexed": false,
|
|
334
|
-
"internalType": "address"
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
"name": "newOwner",
|
|
338
|
-
"type": "address",
|
|
339
|
-
"indexed": false,
|
|
340
|
-
"internalType": "address"
|
|
341
|
-
}
|
|
342
|
-
],
|
|
343
|
-
"anonymous": false
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
"type": "event",
|
|
347
|
-
"name": "OwnerNominated",
|
|
348
|
-
"inputs": [
|
|
349
|
-
{
|
|
350
|
-
"name": "newOwner",
|
|
351
|
-
"type": "address",
|
|
352
|
-
"indexed": false,
|
|
353
|
-
"internalType": "address"
|
|
354
|
-
}
|
|
355
|
-
],
|
|
356
|
-
"anonymous": false
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
"type": "event",
|
|
360
|
-
"name": "Upgraded",
|
|
361
|
-
"inputs": [
|
|
362
|
-
{
|
|
363
|
-
"name": "self",
|
|
364
|
-
"type": "address",
|
|
365
|
-
"indexed": true,
|
|
366
|
-
"internalType": "address"
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
"name": "implementation",
|
|
370
|
-
"type": "address",
|
|
371
|
-
"indexed": false,
|
|
372
|
-
"internalType": "address"
|
|
373
|
-
}
|
|
374
|
-
],
|
|
375
|
-
"anonymous": false
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
"type": "error",
|
|
379
|
-
"name": "ImplementationIsSterile",
|
|
380
|
-
"inputs": [
|
|
381
|
-
{
|
|
382
|
-
"name": "implementation",
|
|
383
|
-
"type": "address",
|
|
384
|
-
"internalType": "address"
|
|
385
|
-
}
|
|
386
|
-
]
|
|
387
|
-
},
|
|
388
|
-
{
|
|
389
|
-
"type": "error",
|
|
390
|
-
"name": "NoChange",
|
|
391
|
-
"inputs": []
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
"type": "error",
|
|
395
|
-
"name": "NotAContract",
|
|
396
|
-
"inputs": [
|
|
397
|
-
{
|
|
398
|
-
"name": "contr",
|
|
399
|
-
"type": "address",
|
|
400
|
-
"internalType": "address"
|
|
401
|
-
}
|
|
402
|
-
]
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
"type": "error",
|
|
406
|
-
"name": "NotNominated",
|
|
407
|
-
"inputs": [
|
|
408
|
-
{
|
|
409
|
-
"name": "addr",
|
|
410
|
-
"type": "address",
|
|
411
|
-
"internalType": "address"
|
|
412
|
-
}
|
|
413
|
-
]
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
"type": "error",
|
|
417
|
-
"name": "Unauthorized",
|
|
418
|
-
"inputs": [
|
|
419
|
-
{
|
|
420
|
-
"name": "addr",
|
|
421
|
-
"type": "address",
|
|
422
|
-
"internalType": "address"
|
|
423
|
-
}
|
|
424
|
-
]
|
|
425
|
-
},
|
|
426
|
-
{
|
|
427
|
-
"type": "error",
|
|
428
|
-
"name": "UpgradeSimulationFailed",
|
|
429
|
-
"inputs": []
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
"type": "error",
|
|
433
|
-
"name": "ZeroAddress",
|
|
434
|
-
"inputs": []
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
"type": "function",
|
|
438
|
-
"name": "getGlobalConfiguration",
|
|
439
|
-
"inputs": [],
|
|
440
|
-
"outputs": [
|
|
441
|
-
{
|
|
442
|
-
"name": "",
|
|
443
|
-
"type": "tuple",
|
|
444
|
-
"internalType": "struct GlobalConfiguration.Data",
|
|
445
|
-
"components": [
|
|
446
|
-
{
|
|
447
|
-
"name": "coreProxy",
|
|
448
|
-
"type": "address",
|
|
449
|
-
"internalType": "address"
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
"name": "rUSDProxy",
|
|
453
|
-
"type": "address",
|
|
454
|
-
"internalType": "address"
|
|
455
|
-
},
|
|
456
|
-
{
|
|
457
|
-
"name": "passivePoolProxy",
|
|
458
|
-
"type": "address",
|
|
459
|
-
"internalType": "address"
|
|
460
|
-
}
|
|
461
|
-
]
|
|
462
|
-
}
|
|
463
|
-
],
|
|
464
|
-
"stateMutability": "pure"
|
|
465
|
-
},
|
|
466
|
-
{
|
|
467
|
-
"type": "function",
|
|
468
|
-
"name": "getTokenChainConnector",
|
|
469
|
-
"inputs": [
|
|
470
|
-
{
|
|
471
|
-
"name": "token",
|
|
472
|
-
"type": "address",
|
|
473
|
-
"internalType": "address"
|
|
474
|
-
},
|
|
475
|
-
{
|
|
476
|
-
"name": "chainId",
|
|
477
|
-
"type": "uint256",
|
|
478
|
-
"internalType": "uint256"
|
|
479
|
-
}
|
|
480
|
-
],
|
|
481
|
-
"outputs": [
|
|
482
|
-
{
|
|
483
|
-
"name": "connector",
|
|
484
|
-
"type": "address",
|
|
485
|
-
"internalType": "address"
|
|
486
|
-
}
|
|
487
|
-
],
|
|
488
|
-
"stateMutability": "view"
|
|
489
|
-
},
|
|
490
|
-
{
|
|
491
|
-
"type": "function",
|
|
492
|
-
"name": "getTokenController",
|
|
493
|
-
"inputs": [
|
|
494
|
-
{
|
|
495
|
-
"name": "token",
|
|
496
|
-
"type": "address",
|
|
497
|
-
"internalType": "address"
|
|
498
|
-
}
|
|
499
|
-
],
|
|
500
|
-
"outputs": [
|
|
501
|
-
{
|
|
502
|
-
"name": "controller",
|
|
503
|
-
"type": "address",
|
|
504
|
-
"internalType": "address"
|
|
505
|
-
}
|
|
506
|
-
],
|
|
507
|
-
"stateMutability": "view"
|
|
508
|
-
},
|
|
509
|
-
{
|
|
510
|
-
"type": "function",
|
|
511
|
-
"name": "getTokenExecutionHelper",
|
|
106
|
+
"name": "getTokenExecutionHelper",
|
|
512
107
|
"inputs": [
|
|
513
108
|
{
|
|
514
109
|
"name": "token",
|
|
@@ -620,6 +215,21 @@
|
|
|
620
215
|
"name": "passivePoolProxy",
|
|
621
216
|
"type": "address",
|
|
622
217
|
"internalType": "address"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "layerZeroEndpoint",
|
|
221
|
+
"type": "address",
|
|
222
|
+
"internalType": "address"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "sREYAProxy",
|
|
226
|
+
"type": "address",
|
|
227
|
+
"internalType": "address"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "REYAProxy",
|
|
231
|
+
"type": "address",
|
|
232
|
+
"internalType": "address"
|
|
623
233
|
}
|
|
624
234
|
]
|
|
625
235
|
}
|
|
@@ -773,6 +383,33 @@
|
|
|
773
383
|
}
|
|
774
384
|
]
|
|
775
385
|
},
|
|
386
|
+
{
|
|
387
|
+
"type": "error",
|
|
388
|
+
"name": "InvalidSREYAUnderlying",
|
|
389
|
+
"inputs": [
|
|
390
|
+
{
|
|
391
|
+
"name": "sREYAProxy",
|
|
392
|
+
"type": "address",
|
|
393
|
+
"internalType": "address"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"name": "REYAProxy",
|
|
397
|
+
"type": "address",
|
|
398
|
+
"internalType": "address"
|
|
399
|
+
}
|
|
400
|
+
]
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"type": "error",
|
|
404
|
+
"name": "Unauthorized",
|
|
405
|
+
"inputs": [
|
|
406
|
+
{
|
|
407
|
+
"name": "addr",
|
|
408
|
+
"type": "address",
|
|
409
|
+
"internalType": "address"
|
|
410
|
+
}
|
|
411
|
+
]
|
|
412
|
+
},
|
|
776
413
|
{
|
|
777
414
|
"type": "function",
|
|
778
415
|
"name": "deposit",
|
|
@@ -825,20 +462,77 @@
|
|
|
825
462
|
},
|
|
826
463
|
{
|
|
827
464
|
"type": "function",
|
|
828
|
-
"name": "
|
|
465
|
+
"name": "depositLiquidityToAccount",
|
|
829
466
|
"inputs": [
|
|
830
467
|
{
|
|
831
468
|
"name": "inputs",
|
|
832
469
|
"type": "tuple",
|
|
833
|
-
"internalType": "struct
|
|
470
|
+
"internalType": "struct DepositLiquidityToAccountInputs",
|
|
834
471
|
"components": [
|
|
835
472
|
{
|
|
836
|
-
"name": "
|
|
837
|
-
"type": "
|
|
838
|
-
"internalType": "
|
|
473
|
+
"name": "accountId",
|
|
474
|
+
"type": "uint128",
|
|
475
|
+
"internalType": "uint128"
|
|
839
476
|
},
|
|
840
477
|
{
|
|
841
|
-
"name": "
|
|
478
|
+
"name": "poolId",
|
|
479
|
+
"type": "uint128",
|
|
480
|
+
"internalType": "uint128"
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"name": "sharesAmount",
|
|
484
|
+
"type": "uint256",
|
|
485
|
+
"internalType": "uint256"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"name": "sig",
|
|
489
|
+
"type": "tuple",
|
|
490
|
+
"internalType": "struct EIP712Signature",
|
|
491
|
+
"components": [
|
|
492
|
+
{
|
|
493
|
+
"name": "v",
|
|
494
|
+
"type": "uint8",
|
|
495
|
+
"internalType": "uint8"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"name": "r",
|
|
499
|
+
"type": "bytes32",
|
|
500
|
+
"internalType": "bytes32"
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"name": "s",
|
|
504
|
+
"type": "bytes32",
|
|
505
|
+
"internalType": "bytes32"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"name": "deadline",
|
|
509
|
+
"type": "uint256",
|
|
510
|
+
"internalType": "uint256"
|
|
511
|
+
}
|
|
512
|
+
]
|
|
513
|
+
}
|
|
514
|
+
]
|
|
515
|
+
}
|
|
516
|
+
],
|
|
517
|
+
"outputs": [],
|
|
518
|
+
"stateMutability": "nonpayable"
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"type": "function",
|
|
522
|
+
"name": "depositNewMA",
|
|
523
|
+
"inputs": [
|
|
524
|
+
{
|
|
525
|
+
"name": "inputs",
|
|
526
|
+
"type": "tuple",
|
|
527
|
+
"internalType": "struct DepositNewMAInputs",
|
|
528
|
+
"components": [
|
|
529
|
+
{
|
|
530
|
+
"name": "accountOwner",
|
|
531
|
+
"type": "address",
|
|
532
|
+
"internalType": "address"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"name": "token",
|
|
842
536
|
"type": "address",
|
|
843
537
|
"internalType": "address"
|
|
844
538
|
}
|
|
@@ -943,88 +637,53 @@
|
|
|
943
637
|
}
|
|
944
638
|
]
|
|
945
639
|
},
|
|
640
|
+
{
|
|
641
|
+
"type": "error",
|
|
642
|
+
"name": "ZeroAmount",
|
|
643
|
+
"inputs": []
|
|
644
|
+
},
|
|
946
645
|
{
|
|
947
646
|
"type": "function",
|
|
948
|
-
"name": "
|
|
647
|
+
"name": "onERC721Received",
|
|
949
648
|
"inputs": [
|
|
950
649
|
{
|
|
951
|
-
"name": "
|
|
952
|
-
"type": "
|
|
953
|
-
"internalType": "
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
},
|
|
970
|
-
{
|
|
971
|
-
"name": "inputs",
|
|
972
|
-
"type": "bytes",
|
|
973
|
-
"internalType": "bytes"
|
|
974
|
-
},
|
|
975
|
-
{
|
|
976
|
-
"name": "marketId",
|
|
977
|
-
"type": "uint128",
|
|
978
|
-
"internalType": "uint128"
|
|
979
|
-
},
|
|
980
|
-
{
|
|
981
|
-
"name": "exchangeId",
|
|
982
|
-
"type": "uint128",
|
|
983
|
-
"internalType": "uint128"
|
|
984
|
-
}
|
|
985
|
-
]
|
|
986
|
-
},
|
|
987
|
-
{
|
|
988
|
-
"name": "sig",
|
|
989
|
-
"type": "tuple",
|
|
990
|
-
"internalType": "struct EIP712Signature",
|
|
991
|
-
"components": [
|
|
992
|
-
{
|
|
993
|
-
"name": "v",
|
|
994
|
-
"type": "uint8",
|
|
995
|
-
"internalType": "uint8"
|
|
996
|
-
},
|
|
997
|
-
{
|
|
998
|
-
"name": "r",
|
|
999
|
-
"type": "bytes32",
|
|
1000
|
-
"internalType": "bytes32"
|
|
1001
|
-
},
|
|
1002
|
-
{
|
|
1003
|
-
"name": "s",
|
|
1004
|
-
"type": "bytes32",
|
|
1005
|
-
"internalType": "bytes32"
|
|
1006
|
-
},
|
|
1007
|
-
{
|
|
1008
|
-
"name": "deadline",
|
|
1009
|
-
"type": "uint256",
|
|
1010
|
-
"internalType": "uint256"
|
|
1011
|
-
}
|
|
1012
|
-
]
|
|
1013
|
-
}
|
|
1014
|
-
]
|
|
650
|
+
"name": "operator",
|
|
651
|
+
"type": "address",
|
|
652
|
+
"internalType": "address"
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"name": "from",
|
|
656
|
+
"type": "address",
|
|
657
|
+
"internalType": "address"
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"name": "tokenId",
|
|
661
|
+
"type": "uint256",
|
|
662
|
+
"internalType": "uint256"
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"name": "data",
|
|
666
|
+
"type": "bytes",
|
|
667
|
+
"internalType": "bytes"
|
|
1015
668
|
}
|
|
1016
669
|
],
|
|
1017
|
-
"outputs": [
|
|
1018
|
-
|
|
670
|
+
"outputs": [
|
|
671
|
+
{
|
|
672
|
+
"name": "",
|
|
673
|
+
"type": "bytes4",
|
|
674
|
+
"internalType": "bytes4"
|
|
675
|
+
}
|
|
676
|
+
],
|
|
677
|
+
"stateMutability": "pure"
|
|
1019
678
|
},
|
|
1020
679
|
{
|
|
1021
680
|
"type": "function",
|
|
1022
|
-
"name": "
|
|
681
|
+
"name": "execute",
|
|
1023
682
|
"inputs": [
|
|
1024
683
|
{
|
|
1025
684
|
"name": "inputs",
|
|
1026
685
|
"type": "tuple",
|
|
1027
|
-
"internalType": "struct
|
|
686
|
+
"internalType": "struct PeripheryExecutionInputs",
|
|
1028
687
|
"components": [
|
|
1029
688
|
{
|
|
1030
689
|
"name": "accountId",
|
|
@@ -1084,33 +743,6 @@
|
|
|
1084
743
|
"internalType": "uint256"
|
|
1085
744
|
}
|
|
1086
745
|
]
|
|
1087
|
-
},
|
|
1088
|
-
{
|
|
1089
|
-
"name": "publisherSig",
|
|
1090
|
-
"type": "tuple",
|
|
1091
|
-
"internalType": "struct EIP712Signature",
|
|
1092
|
-
"components": [
|
|
1093
|
-
{
|
|
1094
|
-
"name": "v",
|
|
1095
|
-
"type": "uint8",
|
|
1096
|
-
"internalType": "uint8"
|
|
1097
|
-
},
|
|
1098
|
-
{
|
|
1099
|
-
"name": "r",
|
|
1100
|
-
"type": "bytes32",
|
|
1101
|
-
"internalType": "bytes32"
|
|
1102
|
-
},
|
|
1103
|
-
{
|
|
1104
|
-
"name": "s",
|
|
1105
|
-
"type": "bytes32",
|
|
1106
|
-
"internalType": "bytes32"
|
|
1107
|
-
},
|
|
1108
|
-
{
|
|
1109
|
-
"name": "deadline",
|
|
1110
|
-
"type": "uint256",
|
|
1111
|
-
"internalType": "uint256"
|
|
1112
|
-
}
|
|
1113
|
-
]
|
|
1114
746
|
}
|
|
1115
747
|
]
|
|
1116
748
|
}
|
|
@@ -1144,68 +776,17 @@
|
|
|
1144
776
|
},
|
|
1145
777
|
{
|
|
1146
778
|
"type": "function",
|
|
1147
|
-
"name": "
|
|
779
|
+
"name": "addToFeatureFlagAllowlist",
|
|
1148
780
|
"inputs": [
|
|
1149
781
|
{
|
|
1150
|
-
"name": "
|
|
1151
|
-
"type": "
|
|
1152
|
-
"internalType": "
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
},
|
|
1159
|
-
{
|
|
1160
|
-
"name": "transfer",
|
|
1161
|
-
"type": "tuple",
|
|
1162
|
-
"internalType": "struct TransferInput",
|
|
1163
|
-
"components": [
|
|
1164
|
-
{
|
|
1165
|
-
"name": "destAccountId",
|
|
1166
|
-
"type": "uint128",
|
|
1167
|
-
"internalType": "uint128"
|
|
1168
|
-
},
|
|
1169
|
-
{
|
|
1170
|
-
"name": "collateral",
|
|
1171
|
-
"type": "address",
|
|
1172
|
-
"internalType": "address"
|
|
1173
|
-
},
|
|
1174
|
-
{
|
|
1175
|
-
"name": "collateralAmount",
|
|
1176
|
-
"type": "uint256",
|
|
1177
|
-
"internalType": "uint256"
|
|
1178
|
-
}
|
|
1179
|
-
]
|
|
1180
|
-
},
|
|
1181
|
-
{
|
|
1182
|
-
"name": "sig",
|
|
1183
|
-
"type": "tuple",
|
|
1184
|
-
"internalType": "struct EIP712Signature",
|
|
1185
|
-
"components": [
|
|
1186
|
-
{
|
|
1187
|
-
"name": "v",
|
|
1188
|
-
"type": "uint8",
|
|
1189
|
-
"internalType": "uint8"
|
|
1190
|
-
},
|
|
1191
|
-
{
|
|
1192
|
-
"name": "r",
|
|
1193
|
-
"type": "bytes32",
|
|
1194
|
-
"internalType": "bytes32"
|
|
1195
|
-
},
|
|
1196
|
-
{
|
|
1197
|
-
"name": "s",
|
|
1198
|
-
"type": "bytes32",
|
|
1199
|
-
"internalType": "bytes32"
|
|
1200
|
-
},
|
|
1201
|
-
{
|
|
1202
|
-
"name": "deadline",
|
|
1203
|
-
"type": "uint256",
|
|
1204
|
-
"internalType": "uint256"
|
|
1205
|
-
}
|
|
1206
|
-
]
|
|
1207
|
-
}
|
|
1208
|
-
]
|
|
782
|
+
"name": "feature",
|
|
783
|
+
"type": "bytes32",
|
|
784
|
+
"internalType": "bytes32"
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
"name": "account",
|
|
788
|
+
"type": "address",
|
|
789
|
+
"internalType": "address"
|
|
1209
790
|
}
|
|
1210
791
|
],
|
|
1211
792
|
"outputs": [],
|
|
@@ -1213,645 +794,651 @@
|
|
|
1213
794
|
},
|
|
1214
795
|
{
|
|
1215
796
|
"type": "function",
|
|
1216
|
-
"name": "
|
|
797
|
+
"name": "getAdmins",
|
|
1217
798
|
"inputs": [
|
|
1218
799
|
{
|
|
1219
|
-
"name": "
|
|
1220
|
-
"type": "
|
|
1221
|
-
"internalType": "
|
|
1222
|
-
"components": [
|
|
1223
|
-
{
|
|
1224
|
-
"name": "accountId",
|
|
1225
|
-
"type": "uint128",
|
|
1226
|
-
"internalType": "uint128"
|
|
1227
|
-
},
|
|
1228
|
-
{
|
|
1229
|
-
"name": "amount",
|
|
1230
|
-
"type": "uint256",
|
|
1231
|
-
"internalType": "uint256"
|
|
1232
|
-
},
|
|
1233
|
-
{
|
|
1234
|
-
"name": "sig",
|
|
1235
|
-
"type": "tuple",
|
|
1236
|
-
"internalType": "struct EIP712Signature",
|
|
1237
|
-
"components": [
|
|
1238
|
-
{
|
|
1239
|
-
"name": "v",
|
|
1240
|
-
"type": "uint8",
|
|
1241
|
-
"internalType": "uint8"
|
|
1242
|
-
},
|
|
1243
|
-
{
|
|
1244
|
-
"name": "r",
|
|
1245
|
-
"type": "bytes32",
|
|
1246
|
-
"internalType": "bytes32"
|
|
1247
|
-
},
|
|
1248
|
-
{
|
|
1249
|
-
"name": "s",
|
|
1250
|
-
"type": "bytes32",
|
|
1251
|
-
"internalType": "bytes32"
|
|
1252
|
-
},
|
|
1253
|
-
{
|
|
1254
|
-
"name": "deadline",
|
|
1255
|
-
"type": "uint256",
|
|
1256
|
-
"internalType": "uint256"
|
|
1257
|
-
}
|
|
1258
|
-
]
|
|
1259
|
-
},
|
|
1260
|
-
{
|
|
1261
|
-
"name": "poolId",
|
|
1262
|
-
"type": "uint128",
|
|
1263
|
-
"internalType": "uint128"
|
|
1264
|
-
},
|
|
1265
|
-
{
|
|
1266
|
-
"name": "minShares",
|
|
1267
|
-
"type": "uint256",
|
|
1268
|
-
"internalType": "uint256"
|
|
1269
|
-
},
|
|
1270
|
-
{
|
|
1271
|
-
"name": "receiver",
|
|
1272
|
-
"type": "address",
|
|
1273
|
-
"internalType": "address"
|
|
1274
|
-
}
|
|
1275
|
-
]
|
|
800
|
+
"name": "feature",
|
|
801
|
+
"type": "bytes32",
|
|
802
|
+
"internalType": "bytes32"
|
|
1276
803
|
}
|
|
1277
804
|
],
|
|
1278
|
-
"outputs": [
|
|
1279
|
-
"stateMutability": "nonpayable"
|
|
1280
|
-
},
|
|
1281
|
-
{
|
|
1282
|
-
"type": "function",
|
|
1283
|
-
"name": "transferFromPoolToMA",
|
|
1284
|
-
"inputs": [
|
|
805
|
+
"outputs": [
|
|
1285
806
|
{
|
|
1286
|
-
"name": "
|
|
1287
|
-
"type": "
|
|
1288
|
-
"internalType": "
|
|
1289
|
-
"components": [
|
|
1290
|
-
{
|
|
1291
|
-
"name": "owner",
|
|
1292
|
-
"type": "address",
|
|
1293
|
-
"internalType": "address"
|
|
1294
|
-
},
|
|
1295
|
-
{
|
|
1296
|
-
"name": "sig",
|
|
1297
|
-
"type": "tuple",
|
|
1298
|
-
"internalType": "struct EIP712Signature",
|
|
1299
|
-
"components": [
|
|
1300
|
-
{
|
|
1301
|
-
"name": "v",
|
|
1302
|
-
"type": "uint8",
|
|
1303
|
-
"internalType": "uint8"
|
|
1304
|
-
},
|
|
1305
|
-
{
|
|
1306
|
-
"name": "r",
|
|
1307
|
-
"type": "bytes32",
|
|
1308
|
-
"internalType": "bytes32"
|
|
1309
|
-
},
|
|
1310
|
-
{
|
|
1311
|
-
"name": "s",
|
|
1312
|
-
"type": "bytes32",
|
|
1313
|
-
"internalType": "bytes32"
|
|
1314
|
-
},
|
|
1315
|
-
{
|
|
1316
|
-
"name": "deadline",
|
|
1317
|
-
"type": "uint256",
|
|
1318
|
-
"internalType": "uint256"
|
|
1319
|
-
}
|
|
1320
|
-
]
|
|
1321
|
-
},
|
|
1322
|
-
{
|
|
1323
|
-
"name": "sharesAmount",
|
|
1324
|
-
"type": "uint256",
|
|
1325
|
-
"internalType": "uint256"
|
|
1326
|
-
},
|
|
1327
|
-
{
|
|
1328
|
-
"name": "poolId",
|
|
1329
|
-
"type": "uint128",
|
|
1330
|
-
"internalType": "uint128"
|
|
1331
|
-
},
|
|
1332
|
-
{
|
|
1333
|
-
"name": "minOut",
|
|
1334
|
-
"type": "uint256",
|
|
1335
|
-
"internalType": "uint256"
|
|
1336
|
-
},
|
|
1337
|
-
{
|
|
1338
|
-
"name": "accountId",
|
|
1339
|
-
"type": "uint128",
|
|
1340
|
-
"internalType": "uint128"
|
|
1341
|
-
}
|
|
1342
|
-
]
|
|
807
|
+
"name": "",
|
|
808
|
+
"type": "address[]",
|
|
809
|
+
"internalType": "address[]"
|
|
1343
810
|
}
|
|
1344
811
|
],
|
|
1345
|
-
"
|
|
1346
|
-
"stateMutability": "nonpayable"
|
|
812
|
+
"stateMutability": "view"
|
|
1347
813
|
},
|
|
1348
814
|
{
|
|
1349
815
|
"type": "function",
|
|
1350
|
-
"name": "
|
|
816
|
+
"name": "getDeniers",
|
|
1351
817
|
"inputs": [
|
|
1352
818
|
{
|
|
1353
|
-
"name": "
|
|
1354
|
-
"type": "
|
|
1355
|
-
"internalType": "
|
|
1356
|
-
"components": [
|
|
1357
|
-
{
|
|
1358
|
-
"name": "tokenAmount",
|
|
1359
|
-
"type": "uint256",
|
|
1360
|
-
"internalType": "uint256"
|
|
1361
|
-
},
|
|
1362
|
-
{
|
|
1363
|
-
"name": "token",
|
|
1364
|
-
"type": "address",
|
|
1365
|
-
"internalType": "address"
|
|
1366
|
-
},
|
|
1367
|
-
{
|
|
1368
|
-
"name": "socketMsgGasLimit",
|
|
1369
|
-
"type": "uint256",
|
|
1370
|
-
"internalType": "uint256"
|
|
1371
|
-
},
|
|
1372
|
-
{
|
|
1373
|
-
"name": "chainId",
|
|
1374
|
-
"type": "uint256",
|
|
1375
|
-
"internalType": "uint256"
|
|
1376
|
-
},
|
|
1377
|
-
{
|
|
1378
|
-
"name": "receiver",
|
|
1379
|
-
"type": "address",
|
|
1380
|
-
"internalType": "address"
|
|
1381
|
-
}
|
|
1382
|
-
]
|
|
819
|
+
"name": "feature",
|
|
820
|
+
"type": "bytes32",
|
|
821
|
+
"internalType": "bytes32"
|
|
1383
822
|
}
|
|
1384
823
|
],
|
|
1385
|
-
"outputs": [
|
|
1386
|
-
|
|
824
|
+
"outputs": [
|
|
825
|
+
{
|
|
826
|
+
"name": "",
|
|
827
|
+
"type": "address[]",
|
|
828
|
+
"internalType": "address[]"
|
|
829
|
+
}
|
|
830
|
+
],
|
|
831
|
+
"stateMutability": "view"
|
|
1387
832
|
},
|
|
1388
833
|
{
|
|
1389
834
|
"type": "function",
|
|
1390
|
-
"name": "
|
|
835
|
+
"name": "getFeatureFlagAllowAll",
|
|
1391
836
|
"inputs": [
|
|
1392
837
|
{
|
|
1393
|
-
"name": "
|
|
1394
|
-
"type": "
|
|
1395
|
-
"internalType": "
|
|
1396
|
-
"components": [
|
|
1397
|
-
{
|
|
1398
|
-
"name": "accountId",
|
|
1399
|
-
"type": "uint128",
|
|
1400
|
-
"internalType": "uint128"
|
|
1401
|
-
},
|
|
1402
|
-
{
|
|
1403
|
-
"name": "token",
|
|
1404
|
-
"type": "address",
|
|
1405
|
-
"internalType": "address"
|
|
1406
|
-
},
|
|
1407
|
-
{
|
|
1408
|
-
"name": "tokenAmount",
|
|
1409
|
-
"type": "uint256",
|
|
1410
|
-
"internalType": "uint256"
|
|
1411
|
-
},
|
|
1412
|
-
{
|
|
1413
|
-
"name": "sig",
|
|
1414
|
-
"type": "tuple",
|
|
1415
|
-
"internalType": "struct EIP712Signature",
|
|
1416
|
-
"components": [
|
|
1417
|
-
{
|
|
1418
|
-
"name": "v",
|
|
1419
|
-
"type": "uint8",
|
|
1420
|
-
"internalType": "uint8"
|
|
1421
|
-
},
|
|
1422
|
-
{
|
|
1423
|
-
"name": "r",
|
|
1424
|
-
"type": "bytes32",
|
|
1425
|
-
"internalType": "bytes32"
|
|
1426
|
-
},
|
|
1427
|
-
{
|
|
1428
|
-
"name": "s",
|
|
1429
|
-
"type": "bytes32",
|
|
1430
|
-
"internalType": "bytes32"
|
|
1431
|
-
},
|
|
1432
|
-
{
|
|
1433
|
-
"name": "deadline",
|
|
1434
|
-
"type": "uint256",
|
|
1435
|
-
"internalType": "uint256"
|
|
1436
|
-
}
|
|
1437
|
-
]
|
|
1438
|
-
},
|
|
1439
|
-
{
|
|
1440
|
-
"name": "socketMsgGasLimit",
|
|
1441
|
-
"type": "uint256",
|
|
1442
|
-
"internalType": "uint256"
|
|
1443
|
-
},
|
|
1444
|
-
{
|
|
1445
|
-
"name": "chainId",
|
|
1446
|
-
"type": "uint256",
|
|
1447
|
-
"internalType": "uint256"
|
|
1448
|
-
},
|
|
1449
|
-
{
|
|
1450
|
-
"name": "receiver",
|
|
1451
|
-
"type": "address",
|
|
1452
|
-
"internalType": "address"
|
|
1453
|
-
}
|
|
1454
|
-
]
|
|
838
|
+
"name": "feature",
|
|
839
|
+
"type": "bytes32",
|
|
840
|
+
"internalType": "bytes32"
|
|
1455
841
|
}
|
|
1456
842
|
],
|
|
1457
|
-
"outputs": [
|
|
1458
|
-
|
|
843
|
+
"outputs": [
|
|
844
|
+
{
|
|
845
|
+
"name": "",
|
|
846
|
+
"type": "bool",
|
|
847
|
+
"internalType": "bool"
|
|
848
|
+
}
|
|
849
|
+
],
|
|
850
|
+
"stateMutability": "view"
|
|
1459
851
|
},
|
|
1460
852
|
{
|
|
1461
853
|
"type": "function",
|
|
1462
|
-
"name": "
|
|
854
|
+
"name": "getFeatureFlagAllowlist",
|
|
1463
855
|
"inputs": [
|
|
1464
856
|
{
|
|
1465
|
-
"name": "
|
|
1466
|
-
"type": "
|
|
1467
|
-
"internalType": "
|
|
1468
|
-
"components": [
|
|
1469
|
-
{
|
|
1470
|
-
"name": "accountId",
|
|
1471
|
-
"type": "uint128",
|
|
1472
|
-
"internalType": "uint128"
|
|
1473
|
-
},
|
|
1474
|
-
{
|
|
1475
|
-
"name": "token",
|
|
1476
|
-
"type": "address",
|
|
1477
|
-
"internalType": "address"
|
|
1478
|
-
},
|
|
1479
|
-
{
|
|
1480
|
-
"name": "tokenAmount",
|
|
1481
|
-
"type": "uint256",
|
|
1482
|
-
"internalType": "uint256"
|
|
1483
|
-
},
|
|
1484
|
-
{
|
|
1485
|
-
"name": "sig",
|
|
1486
|
-
"type": "tuple",
|
|
1487
|
-
"internalType": "struct EIP712Signature",
|
|
1488
|
-
"components": [
|
|
1489
|
-
{
|
|
1490
|
-
"name": "v",
|
|
1491
|
-
"type": "uint8",
|
|
1492
|
-
"internalType": "uint8"
|
|
1493
|
-
},
|
|
1494
|
-
{
|
|
1495
|
-
"name": "r",
|
|
1496
|
-
"type": "bytes32",
|
|
1497
|
-
"internalType": "bytes32"
|
|
1498
|
-
},
|
|
1499
|
-
{
|
|
1500
|
-
"name": "s",
|
|
1501
|
-
"type": "bytes32",
|
|
1502
|
-
"internalType": "bytes32"
|
|
1503
|
-
},
|
|
1504
|
-
{
|
|
1505
|
-
"name": "deadline",
|
|
1506
|
-
"type": "uint256",
|
|
1507
|
-
"internalType": "uint256"
|
|
1508
|
-
}
|
|
1509
|
-
]
|
|
1510
|
-
},
|
|
1511
|
-
{
|
|
1512
|
-
"name": "dstEid",
|
|
1513
|
-
"type": "uint32",
|
|
1514
|
-
"internalType": "uint32"
|
|
1515
|
-
},
|
|
1516
|
-
{
|
|
1517
|
-
"name": "receiver",
|
|
1518
|
-
"type": "address",
|
|
1519
|
-
"internalType": "address"
|
|
1520
|
-
}
|
|
1521
|
-
]
|
|
857
|
+
"name": "feature",
|
|
858
|
+
"type": "bytes32",
|
|
859
|
+
"internalType": "bytes32"
|
|
1522
860
|
}
|
|
1523
861
|
],
|
|
1524
862
|
"outputs": [
|
|
1525
863
|
{
|
|
1526
864
|
"name": "",
|
|
1527
|
-
"type": "
|
|
1528
|
-
"internalType": "
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
865
|
+
"type": "address[]",
|
|
866
|
+
"internalType": "address[]"
|
|
867
|
+
}
|
|
868
|
+
],
|
|
869
|
+
"stateMutability": "view"
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
"type": "function",
|
|
873
|
+
"name": "getFeatureFlagDenyAll",
|
|
874
|
+
"inputs": [
|
|
875
|
+
{
|
|
876
|
+
"name": "feature",
|
|
877
|
+
"type": "bytes32",
|
|
878
|
+
"internalType": "bytes32"
|
|
879
|
+
}
|
|
880
|
+
],
|
|
881
|
+
"outputs": [
|
|
882
|
+
{
|
|
883
|
+
"name": "",
|
|
884
|
+
"type": "bool",
|
|
885
|
+
"internalType": "bool"
|
|
886
|
+
}
|
|
887
|
+
],
|
|
888
|
+
"stateMutability": "view"
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"type": "function",
|
|
892
|
+
"name": "isFeatureAllowed",
|
|
893
|
+
"inputs": [
|
|
894
|
+
{
|
|
895
|
+
"name": "feature",
|
|
896
|
+
"type": "bytes32",
|
|
897
|
+
"internalType": "bytes32"
|
|
1558
898
|
},
|
|
899
|
+
{
|
|
900
|
+
"name": "account",
|
|
901
|
+
"type": "address",
|
|
902
|
+
"internalType": "address"
|
|
903
|
+
}
|
|
904
|
+
],
|
|
905
|
+
"outputs": [
|
|
1559
906
|
{
|
|
1560
907
|
"name": "",
|
|
1561
|
-
"type": "
|
|
1562
|
-
"internalType": "
|
|
1563
|
-
"components": [
|
|
1564
|
-
{
|
|
1565
|
-
"name": "amountSentLD",
|
|
1566
|
-
"type": "uint256",
|
|
1567
|
-
"internalType": "uint256"
|
|
1568
|
-
},
|
|
1569
|
-
{
|
|
1570
|
-
"name": "amountReceivedLD",
|
|
1571
|
-
"type": "uint256",
|
|
1572
|
-
"internalType": "uint256"
|
|
1573
|
-
}
|
|
1574
|
-
]
|
|
908
|
+
"type": "bool",
|
|
909
|
+
"internalType": "bool"
|
|
1575
910
|
}
|
|
1576
911
|
],
|
|
912
|
+
"stateMutability": "view"
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
"type": "function",
|
|
916
|
+
"name": "removeFromFeatureFlagAllowlist",
|
|
917
|
+
"inputs": [
|
|
918
|
+
{
|
|
919
|
+
"name": "feature",
|
|
920
|
+
"type": "bytes32",
|
|
921
|
+
"internalType": "bytes32"
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
"name": "account",
|
|
925
|
+
"type": "address",
|
|
926
|
+
"internalType": "address"
|
|
927
|
+
}
|
|
928
|
+
],
|
|
929
|
+
"outputs": [],
|
|
1577
930
|
"stateMutability": "nonpayable"
|
|
1578
931
|
},
|
|
1579
932
|
{
|
|
1580
933
|
"type": "function",
|
|
1581
|
-
"name": "
|
|
934
|
+
"name": "setAdmins",
|
|
1582
935
|
"inputs": [
|
|
1583
936
|
{
|
|
1584
|
-
"name": "
|
|
1585
|
-
"type": "
|
|
1586
|
-
"internalType": "
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
},
|
|
1593
|
-
{
|
|
1594
|
-
"name": "poolId",
|
|
1595
|
-
"type": "uint128",
|
|
1596
|
-
"internalType": "uint128"
|
|
1597
|
-
},
|
|
1598
|
-
{
|
|
1599
|
-
"name": "sharesAmount",
|
|
1600
|
-
"type": "uint256",
|
|
1601
|
-
"internalType": "uint256"
|
|
1602
|
-
},
|
|
1603
|
-
{
|
|
1604
|
-
"name": "minOut",
|
|
1605
|
-
"type": "uint256",
|
|
1606
|
-
"internalType": "uint256"
|
|
1607
|
-
},
|
|
1608
|
-
{
|
|
1609
|
-
"name": "sig",
|
|
1610
|
-
"type": "tuple",
|
|
1611
|
-
"internalType": "struct EIP712Signature",
|
|
1612
|
-
"components": [
|
|
1613
|
-
{
|
|
1614
|
-
"name": "v",
|
|
1615
|
-
"type": "uint8",
|
|
1616
|
-
"internalType": "uint8"
|
|
1617
|
-
},
|
|
1618
|
-
{
|
|
1619
|
-
"name": "r",
|
|
1620
|
-
"type": "bytes32",
|
|
1621
|
-
"internalType": "bytes32"
|
|
1622
|
-
},
|
|
1623
|
-
{
|
|
1624
|
-
"name": "s",
|
|
1625
|
-
"type": "bytes32",
|
|
1626
|
-
"internalType": "bytes32"
|
|
1627
|
-
},
|
|
1628
|
-
{
|
|
1629
|
-
"name": "deadline",
|
|
1630
|
-
"type": "uint256",
|
|
1631
|
-
"internalType": "uint256"
|
|
1632
|
-
}
|
|
1633
|
-
]
|
|
1634
|
-
},
|
|
1635
|
-
{
|
|
1636
|
-
"name": "socketMsgGasLimit",
|
|
1637
|
-
"type": "uint256",
|
|
1638
|
-
"internalType": "uint256"
|
|
1639
|
-
},
|
|
1640
|
-
{
|
|
1641
|
-
"name": "chainId",
|
|
1642
|
-
"type": "uint256",
|
|
1643
|
-
"internalType": "uint256"
|
|
1644
|
-
},
|
|
1645
|
-
{
|
|
1646
|
-
"name": "receiver",
|
|
1647
|
-
"type": "address",
|
|
1648
|
-
"internalType": "address"
|
|
1649
|
-
}
|
|
1650
|
-
]
|
|
937
|
+
"name": "feature",
|
|
938
|
+
"type": "bytes32",
|
|
939
|
+
"internalType": "bytes32"
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"name": "admins",
|
|
943
|
+
"type": "address[]",
|
|
944
|
+
"internalType": "address[]"
|
|
1651
945
|
}
|
|
1652
946
|
],
|
|
1653
947
|
"outputs": [],
|
|
1654
948
|
"stateMutability": "nonpayable"
|
|
1655
949
|
},
|
|
1656
950
|
{
|
|
1657
|
-
"type": "
|
|
1658
|
-
"name": "
|
|
951
|
+
"type": "function",
|
|
952
|
+
"name": "setDeniers",
|
|
1659
953
|
"inputs": [
|
|
1660
954
|
{
|
|
1661
|
-
"name": "
|
|
1662
|
-
"type": "
|
|
1663
|
-
"internalType": "
|
|
955
|
+
"name": "feature",
|
|
956
|
+
"type": "bytes32",
|
|
957
|
+
"internalType": "bytes32"
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
"name": "deniers",
|
|
961
|
+
"type": "address[]",
|
|
962
|
+
"internalType": "address[]"
|
|
963
|
+
}
|
|
964
|
+
],
|
|
965
|
+
"outputs": [],
|
|
966
|
+
"stateMutability": "nonpayable"
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
"type": "function",
|
|
970
|
+
"name": "setFeatureFlagAllowAll",
|
|
971
|
+
"inputs": [
|
|
972
|
+
{
|
|
973
|
+
"name": "feature",
|
|
974
|
+
"type": "bytes32",
|
|
975
|
+
"internalType": "bytes32"
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
"name": "allowAll",
|
|
979
|
+
"type": "bool",
|
|
980
|
+
"internalType": "bool"
|
|
981
|
+
}
|
|
982
|
+
],
|
|
983
|
+
"outputs": [],
|
|
984
|
+
"stateMutability": "nonpayable"
|
|
985
|
+
},
|
|
986
|
+
{
|
|
987
|
+
"type": "function",
|
|
988
|
+
"name": "setFeatureFlagDenyAll",
|
|
989
|
+
"inputs": [
|
|
990
|
+
{
|
|
991
|
+
"name": "feature",
|
|
992
|
+
"type": "bytes32",
|
|
993
|
+
"internalType": "bytes32"
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
"name": "denyAll",
|
|
997
|
+
"type": "bool",
|
|
998
|
+
"internalType": "bool"
|
|
999
|
+
}
|
|
1000
|
+
],
|
|
1001
|
+
"outputs": [],
|
|
1002
|
+
"stateMutability": "nonpayable"
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
"type": "event",
|
|
1006
|
+
"name": "FeatureFlagAdminsReset",
|
|
1007
|
+
"inputs": [
|
|
1008
|
+
{
|
|
1009
|
+
"name": "feature",
|
|
1010
|
+
"type": "bytes32",
|
|
1011
|
+
"indexed": true,
|
|
1012
|
+
"internalType": "bytes32"
|
|
1013
|
+
},
|
|
1014
|
+
{
|
|
1015
|
+
"name": "admins",
|
|
1016
|
+
"type": "address[]",
|
|
1017
|
+
"indexed": false,
|
|
1018
|
+
"internalType": "address[]"
|
|
1019
|
+
}
|
|
1020
|
+
],
|
|
1021
|
+
"anonymous": false
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
"type": "event",
|
|
1025
|
+
"name": "FeatureFlagAllowAllSet",
|
|
1026
|
+
"inputs": [
|
|
1027
|
+
{
|
|
1028
|
+
"name": "feature",
|
|
1029
|
+
"type": "bytes32",
|
|
1030
|
+
"indexed": true,
|
|
1031
|
+
"internalType": "bytes32"
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
"name": "allowAll",
|
|
1035
|
+
"type": "bool",
|
|
1036
|
+
"indexed": false,
|
|
1037
|
+
"internalType": "bool"
|
|
1038
|
+
}
|
|
1039
|
+
],
|
|
1040
|
+
"anonymous": false
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
"type": "event",
|
|
1044
|
+
"name": "FeatureFlagAllowlistAdded",
|
|
1045
|
+
"inputs": [
|
|
1046
|
+
{
|
|
1047
|
+
"name": "feature",
|
|
1048
|
+
"type": "bytes32",
|
|
1049
|
+
"indexed": true,
|
|
1050
|
+
"internalType": "bytes32"
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
"name": "account",
|
|
1054
|
+
"type": "address",
|
|
1055
|
+
"indexed": false,
|
|
1056
|
+
"internalType": "address"
|
|
1057
|
+
}
|
|
1058
|
+
],
|
|
1059
|
+
"anonymous": false
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
"type": "event",
|
|
1063
|
+
"name": "FeatureFlagAllowlistRemoved",
|
|
1064
|
+
"inputs": [
|
|
1065
|
+
{
|
|
1066
|
+
"name": "feature",
|
|
1067
|
+
"type": "bytes32",
|
|
1068
|
+
"indexed": true,
|
|
1069
|
+
"internalType": "bytes32"
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
"name": "account",
|
|
1073
|
+
"type": "address",
|
|
1074
|
+
"indexed": false,
|
|
1075
|
+
"internalType": "address"
|
|
1076
|
+
}
|
|
1077
|
+
],
|
|
1078
|
+
"anonymous": false
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
"type": "event",
|
|
1082
|
+
"name": "FeatureFlagDeniersReset",
|
|
1083
|
+
"inputs": [
|
|
1084
|
+
{
|
|
1085
|
+
"name": "feature",
|
|
1086
|
+
"type": "bytes32",
|
|
1087
|
+
"indexed": true,
|
|
1088
|
+
"internalType": "bytes32"
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
"name": "deniers",
|
|
1092
|
+
"type": "address[]",
|
|
1093
|
+
"indexed": false,
|
|
1094
|
+
"internalType": "address[]"
|
|
1095
|
+
}
|
|
1096
|
+
],
|
|
1097
|
+
"anonymous": false
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
"type": "event",
|
|
1101
|
+
"name": "FeatureFlagDenyAllSet",
|
|
1102
|
+
"inputs": [
|
|
1103
|
+
{
|
|
1104
|
+
"name": "feature",
|
|
1105
|
+
"type": "bytes32",
|
|
1106
|
+
"indexed": true,
|
|
1107
|
+
"internalType": "bytes32"
|
|
1664
1108
|
},
|
|
1665
1109
|
{
|
|
1666
|
-
"name": "
|
|
1667
|
-
"type": "
|
|
1668
|
-
"
|
|
1110
|
+
"name": "denyAll",
|
|
1111
|
+
"type": "bool",
|
|
1112
|
+
"indexed": false,
|
|
1113
|
+
"internalType": "bool"
|
|
1669
1114
|
}
|
|
1670
|
-
]
|
|
1115
|
+
],
|
|
1116
|
+
"anonymous": false
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
"type": "error",
|
|
1120
|
+
"name": "AddressZero",
|
|
1121
|
+
"inputs": []
|
|
1122
|
+
},
|
|
1123
|
+
{
|
|
1124
|
+
"type": "error",
|
|
1125
|
+
"name": "ValueAlreadyInSet",
|
|
1126
|
+
"inputs": []
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
"type": "error",
|
|
1130
|
+
"name": "ValueNotInSet",
|
|
1131
|
+
"inputs": []
|
|
1671
1132
|
},
|
|
1672
1133
|
{
|
|
1673
1134
|
"type": "function",
|
|
1674
|
-
"name": "
|
|
1135
|
+
"name": "lzCompose",
|
|
1675
1136
|
"inputs": [
|
|
1676
1137
|
{
|
|
1677
|
-
"name": "
|
|
1138
|
+
"name": "oApp",
|
|
1678
1139
|
"type": "address",
|
|
1679
1140
|
"internalType": "address"
|
|
1680
1141
|
},
|
|
1681
1142
|
{
|
|
1682
|
-
"name": "
|
|
1683
|
-
"type": "
|
|
1684
|
-
"internalType": "
|
|
1143
|
+
"name": "",
|
|
1144
|
+
"type": "bytes32",
|
|
1145
|
+
"internalType": "bytes32"
|
|
1685
1146
|
},
|
|
1686
1147
|
{
|
|
1687
|
-
"name": "
|
|
1688
|
-
"type": "
|
|
1689
|
-
"internalType": "
|
|
1148
|
+
"name": "message",
|
|
1149
|
+
"type": "bytes",
|
|
1150
|
+
"internalType": "bytes"
|
|
1690
1151
|
},
|
|
1691
1152
|
{
|
|
1692
|
-
"name": "
|
|
1153
|
+
"name": "",
|
|
1154
|
+
"type": "address",
|
|
1155
|
+
"internalType": "address"
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
"name": "",
|
|
1693
1159
|
"type": "bytes",
|
|
1694
1160
|
"internalType": "bytes"
|
|
1695
1161
|
}
|
|
1696
1162
|
],
|
|
1697
|
-
"outputs": [
|
|
1163
|
+
"outputs": [],
|
|
1164
|
+
"stateMutability": "payable"
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
"type": "error",
|
|
1168
|
+
"name": "CallerIsNotLayerZeroEndpoint",
|
|
1169
|
+
"inputs": [
|
|
1698
1170
|
{
|
|
1699
|
-
"name": "",
|
|
1700
|
-
"type": "
|
|
1701
|
-
"internalType": "
|
|
1171
|
+
"name": "caller",
|
|
1172
|
+
"type": "address",
|
|
1173
|
+
"internalType": "address"
|
|
1702
1174
|
}
|
|
1703
|
-
]
|
|
1704
|
-
"stateMutability": "pure"
|
|
1175
|
+
]
|
|
1705
1176
|
},
|
|
1706
1177
|
{
|
|
1707
|
-
"type": "
|
|
1708
|
-
"name": "
|
|
1178
|
+
"type": "error",
|
|
1179
|
+
"name": "LzComposerInvalidOperationType",
|
|
1709
1180
|
"inputs": [
|
|
1710
1181
|
{
|
|
1711
|
-
"name": "
|
|
1712
|
-
"type": "
|
|
1713
|
-
"internalType": "
|
|
1714
|
-
}
|
|
1182
|
+
"name": "opType",
|
|
1183
|
+
"type": "uint8",
|
|
1184
|
+
"internalType": "enum LzComposerOperationType"
|
|
1185
|
+
}
|
|
1186
|
+
]
|
|
1187
|
+
},
|
|
1188
|
+
{
|
|
1189
|
+
"type": "error",
|
|
1190
|
+
"name": "UnauthorizedOFT",
|
|
1191
|
+
"inputs": [
|
|
1715
1192
|
{
|
|
1716
|
-
"name": "
|
|
1193
|
+
"name": "oApp",
|
|
1717
1194
|
"type": "address",
|
|
1718
1195
|
"internalType": "address"
|
|
1719
1196
|
}
|
|
1720
|
-
]
|
|
1197
|
+
]
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
"type": "function",
|
|
1201
|
+
"name": "acceptOwnership",
|
|
1202
|
+
"inputs": [],
|
|
1721
1203
|
"outputs": [],
|
|
1722
1204
|
"stateMutability": "nonpayable"
|
|
1723
1205
|
},
|
|
1724
1206
|
{
|
|
1725
1207
|
"type": "function",
|
|
1726
|
-
"name": "
|
|
1727
|
-
"inputs": [
|
|
1728
|
-
{
|
|
1729
|
-
"name": "feature",
|
|
1730
|
-
"type": "bytes32",
|
|
1731
|
-
"internalType": "bytes32"
|
|
1732
|
-
}
|
|
1733
|
-
],
|
|
1208
|
+
"name": "getImplementation",
|
|
1209
|
+
"inputs": [],
|
|
1734
1210
|
"outputs": [
|
|
1735
1211
|
{
|
|
1736
1212
|
"name": "",
|
|
1737
|
-
"type": "address
|
|
1738
|
-
"internalType": "address
|
|
1213
|
+
"type": "address",
|
|
1214
|
+
"internalType": "address"
|
|
1739
1215
|
}
|
|
1740
1216
|
],
|
|
1741
1217
|
"stateMutability": "view"
|
|
1742
1218
|
},
|
|
1743
1219
|
{
|
|
1744
1220
|
"type": "function",
|
|
1745
|
-
"name": "
|
|
1221
|
+
"name": "nominateNewOwner",
|
|
1746
1222
|
"inputs": [
|
|
1747
1223
|
{
|
|
1748
|
-
"name": "
|
|
1749
|
-
"type": "
|
|
1750
|
-
"internalType": "
|
|
1224
|
+
"name": "newNominatedOwner",
|
|
1225
|
+
"type": "address",
|
|
1226
|
+
"internalType": "address"
|
|
1751
1227
|
}
|
|
1752
1228
|
],
|
|
1229
|
+
"outputs": [],
|
|
1230
|
+
"stateMutability": "nonpayable"
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
"type": "function",
|
|
1234
|
+
"name": "nominatedOwner",
|
|
1235
|
+
"inputs": [],
|
|
1753
1236
|
"outputs": [
|
|
1754
1237
|
{
|
|
1755
1238
|
"name": "",
|
|
1756
|
-
"type": "
|
|
1757
|
-
"internalType": "
|
|
1239
|
+
"type": "address",
|
|
1240
|
+
"internalType": "address"
|
|
1758
1241
|
}
|
|
1759
1242
|
],
|
|
1760
1243
|
"stateMutability": "view"
|
|
1761
1244
|
},
|
|
1762
1245
|
{
|
|
1763
1246
|
"type": "function",
|
|
1764
|
-
"name": "
|
|
1765
|
-
"inputs": [
|
|
1766
|
-
{
|
|
1767
|
-
"name": "feature",
|
|
1768
|
-
"type": "bytes32",
|
|
1769
|
-
"internalType": "bytes32"
|
|
1770
|
-
}
|
|
1771
|
-
],
|
|
1247
|
+
"name": "owner",
|
|
1248
|
+
"inputs": [],
|
|
1772
1249
|
"outputs": [
|
|
1773
1250
|
{
|
|
1774
1251
|
"name": "",
|
|
1775
|
-
"type": "address
|
|
1776
|
-
"internalType": "address
|
|
1252
|
+
"type": "address",
|
|
1253
|
+
"internalType": "address"
|
|
1777
1254
|
}
|
|
1778
1255
|
],
|
|
1779
1256
|
"stateMutability": "view"
|
|
1780
1257
|
},
|
|
1781
1258
|
{
|
|
1782
1259
|
"type": "function",
|
|
1783
|
-
"name": "
|
|
1260
|
+
"name": "renounceNomination",
|
|
1261
|
+
"inputs": [],
|
|
1262
|
+
"outputs": [],
|
|
1263
|
+
"stateMutability": "nonpayable"
|
|
1264
|
+
},
|
|
1265
|
+
{
|
|
1266
|
+
"type": "function",
|
|
1267
|
+
"name": "simulateUpgradeTo",
|
|
1784
1268
|
"inputs": [
|
|
1785
1269
|
{
|
|
1786
|
-
"name": "
|
|
1787
|
-
"type": "
|
|
1788
|
-
"internalType": "
|
|
1270
|
+
"name": "newImplementation",
|
|
1271
|
+
"type": "address",
|
|
1272
|
+
"internalType": "address"
|
|
1789
1273
|
}
|
|
1790
1274
|
],
|
|
1791
|
-
"outputs": [
|
|
1275
|
+
"outputs": [],
|
|
1276
|
+
"stateMutability": "nonpayable"
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
"type": "function",
|
|
1280
|
+
"name": "upgradeTo",
|
|
1281
|
+
"inputs": [
|
|
1792
1282
|
{
|
|
1793
|
-
"name": "",
|
|
1794
|
-
"type": "
|
|
1795
|
-
"internalType": "
|
|
1283
|
+
"name": "newImplementation",
|
|
1284
|
+
"type": "address",
|
|
1285
|
+
"internalType": "address"
|
|
1796
1286
|
}
|
|
1797
1287
|
],
|
|
1798
|
-
"
|
|
1288
|
+
"outputs": [],
|
|
1289
|
+
"stateMutability": "nonpayable"
|
|
1799
1290
|
},
|
|
1800
1291
|
{
|
|
1801
|
-
"type": "
|
|
1802
|
-
"name": "
|
|
1292
|
+
"type": "event",
|
|
1293
|
+
"name": "OwnerChanged",
|
|
1803
1294
|
"inputs": [
|
|
1804
1295
|
{
|
|
1805
|
-
"name": "
|
|
1806
|
-
"type": "
|
|
1807
|
-
"
|
|
1296
|
+
"name": "oldOwner",
|
|
1297
|
+
"type": "address",
|
|
1298
|
+
"indexed": false,
|
|
1299
|
+
"internalType": "address"
|
|
1808
1300
|
},
|
|
1809
1301
|
{
|
|
1810
|
-
"name": "
|
|
1302
|
+
"name": "newOwner",
|
|
1811
1303
|
"type": "address",
|
|
1304
|
+
"indexed": false,
|
|
1812
1305
|
"internalType": "address"
|
|
1813
1306
|
}
|
|
1814
1307
|
],
|
|
1815
|
-
"
|
|
1308
|
+
"anonymous": false
|
|
1309
|
+
},
|
|
1310
|
+
{
|
|
1311
|
+
"type": "event",
|
|
1312
|
+
"name": "OwnerNominated",
|
|
1313
|
+
"inputs": [
|
|
1816
1314
|
{
|
|
1817
|
-
"name": "",
|
|
1818
|
-
"type": "
|
|
1819
|
-
"
|
|
1315
|
+
"name": "newOwner",
|
|
1316
|
+
"type": "address",
|
|
1317
|
+
"indexed": false,
|
|
1318
|
+
"internalType": "address"
|
|
1820
1319
|
}
|
|
1821
1320
|
],
|
|
1822
|
-
"
|
|
1321
|
+
"anonymous": false
|
|
1823
1322
|
},
|
|
1824
1323
|
{
|
|
1825
|
-
"type": "
|
|
1826
|
-
"name": "
|
|
1324
|
+
"type": "event",
|
|
1325
|
+
"name": "Upgraded",
|
|
1827
1326
|
"inputs": [
|
|
1828
1327
|
{
|
|
1829
|
-
"name": "
|
|
1830
|
-
"type": "
|
|
1831
|
-
"
|
|
1328
|
+
"name": "self",
|
|
1329
|
+
"type": "address",
|
|
1330
|
+
"indexed": true,
|
|
1331
|
+
"internalType": "address"
|
|
1832
1332
|
},
|
|
1833
1333
|
{
|
|
1834
|
-
"name": "
|
|
1334
|
+
"name": "implementation",
|
|
1835
1335
|
"type": "address",
|
|
1336
|
+
"indexed": false,
|
|
1836
1337
|
"internalType": "address"
|
|
1837
1338
|
}
|
|
1838
1339
|
],
|
|
1839
|
-
"
|
|
1840
|
-
|
|
1340
|
+
"anonymous": false
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
"type": "error",
|
|
1344
|
+
"name": "ImplementationIsSterile",
|
|
1345
|
+
"inputs": [
|
|
1346
|
+
{
|
|
1347
|
+
"name": "implementation",
|
|
1348
|
+
"type": "address",
|
|
1349
|
+
"internalType": "address"
|
|
1350
|
+
}
|
|
1351
|
+
]
|
|
1352
|
+
},
|
|
1353
|
+
{
|
|
1354
|
+
"type": "error",
|
|
1355
|
+
"name": "NoChange",
|
|
1356
|
+
"inputs": []
|
|
1357
|
+
},
|
|
1358
|
+
{
|
|
1359
|
+
"type": "error",
|
|
1360
|
+
"name": "NotAContract",
|
|
1361
|
+
"inputs": [
|
|
1362
|
+
{
|
|
1363
|
+
"name": "contr",
|
|
1364
|
+
"type": "address",
|
|
1365
|
+
"internalType": "address"
|
|
1366
|
+
}
|
|
1367
|
+
]
|
|
1368
|
+
},
|
|
1369
|
+
{
|
|
1370
|
+
"type": "error",
|
|
1371
|
+
"name": "NotNominated",
|
|
1372
|
+
"inputs": [
|
|
1373
|
+
{
|
|
1374
|
+
"name": "addr",
|
|
1375
|
+
"type": "address",
|
|
1376
|
+
"internalType": "address"
|
|
1377
|
+
}
|
|
1378
|
+
]
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
"type": "error",
|
|
1382
|
+
"name": "UpgradeSimulationFailed",
|
|
1383
|
+
"inputs": []
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
"type": "error",
|
|
1387
|
+
"name": "ZeroAddress",
|
|
1388
|
+
"inputs": []
|
|
1841
1389
|
},
|
|
1842
1390
|
{
|
|
1843
1391
|
"type": "function",
|
|
1844
|
-
"name": "
|
|
1392
|
+
"name": "stakeReya",
|
|
1845
1393
|
"inputs": [
|
|
1846
1394
|
{
|
|
1847
|
-
"name": "
|
|
1848
|
-
"type": "
|
|
1849
|
-
"internalType": "
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1395
|
+
"name": "inputs",
|
|
1396
|
+
"type": "tuple",
|
|
1397
|
+
"internalType": "struct StakeReyaInputs",
|
|
1398
|
+
"components": [
|
|
1399
|
+
{
|
|
1400
|
+
"name": "accountId",
|
|
1401
|
+
"type": "uint128",
|
|
1402
|
+
"internalType": "uint128"
|
|
1403
|
+
},
|
|
1404
|
+
{
|
|
1405
|
+
"name": "assetAmount",
|
|
1406
|
+
"type": "uint256",
|
|
1407
|
+
"internalType": "uint256"
|
|
1408
|
+
},
|
|
1409
|
+
{
|
|
1410
|
+
"name": "minShareAmount",
|
|
1411
|
+
"type": "uint256",
|
|
1412
|
+
"internalType": "uint256"
|
|
1413
|
+
},
|
|
1414
|
+
{
|
|
1415
|
+
"name": "withdrawSig",
|
|
1416
|
+
"type": "tuple",
|
|
1417
|
+
"internalType": "struct EIP712Signature",
|
|
1418
|
+
"components": [
|
|
1419
|
+
{
|
|
1420
|
+
"name": "v",
|
|
1421
|
+
"type": "uint8",
|
|
1422
|
+
"internalType": "uint8"
|
|
1423
|
+
},
|
|
1424
|
+
{
|
|
1425
|
+
"name": "r",
|
|
1426
|
+
"type": "bytes32",
|
|
1427
|
+
"internalType": "bytes32"
|
|
1428
|
+
},
|
|
1429
|
+
{
|
|
1430
|
+
"name": "s",
|
|
1431
|
+
"type": "bytes32",
|
|
1432
|
+
"internalType": "bytes32"
|
|
1433
|
+
},
|
|
1434
|
+
{
|
|
1435
|
+
"name": "deadline",
|
|
1436
|
+
"type": "uint256",
|
|
1437
|
+
"internalType": "uint256"
|
|
1438
|
+
}
|
|
1439
|
+
]
|
|
1440
|
+
}
|
|
1441
|
+
]
|
|
1855
1442
|
}
|
|
1856
1443
|
],
|
|
1857
1444
|
"outputs": [],
|
|
@@ -1859,143 +1446,303 @@
|
|
|
1859
1446
|
},
|
|
1860
1447
|
{
|
|
1861
1448
|
"type": "function",
|
|
1862
|
-
"name": "
|
|
1449
|
+
"name": "unstakeStakedReya",
|
|
1863
1450
|
"inputs": [
|
|
1864
1451
|
{
|
|
1865
|
-
"name": "
|
|
1866
|
-
"type": "
|
|
1867
|
-
"internalType": "
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1452
|
+
"name": "inputs",
|
|
1453
|
+
"type": "tuple",
|
|
1454
|
+
"internalType": "struct UnstakeStakedReyaInputs",
|
|
1455
|
+
"components": [
|
|
1456
|
+
{
|
|
1457
|
+
"name": "accountId",
|
|
1458
|
+
"type": "uint128",
|
|
1459
|
+
"internalType": "uint128"
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
"name": "shareAmount",
|
|
1463
|
+
"type": "uint256",
|
|
1464
|
+
"internalType": "uint256"
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
"name": "minAssetAmount",
|
|
1468
|
+
"type": "uint256",
|
|
1469
|
+
"internalType": "uint256"
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
"name": "withdrawSig",
|
|
1473
|
+
"type": "tuple",
|
|
1474
|
+
"internalType": "struct EIP712Signature",
|
|
1475
|
+
"components": [
|
|
1476
|
+
{
|
|
1477
|
+
"name": "v",
|
|
1478
|
+
"type": "uint8",
|
|
1479
|
+
"internalType": "uint8"
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
"name": "r",
|
|
1483
|
+
"type": "bytes32",
|
|
1484
|
+
"internalType": "bytes32"
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"name": "s",
|
|
1488
|
+
"type": "bytes32",
|
|
1489
|
+
"internalType": "bytes32"
|
|
1490
|
+
},
|
|
1491
|
+
{
|
|
1492
|
+
"name": "deadline",
|
|
1493
|
+
"type": "uint256",
|
|
1494
|
+
"internalType": "uint256"
|
|
1495
|
+
}
|
|
1496
|
+
]
|
|
1497
|
+
}
|
|
1498
|
+
]
|
|
1873
1499
|
}
|
|
1874
1500
|
],
|
|
1875
1501
|
"outputs": [],
|
|
1876
1502
|
"stateMutability": "nonpayable"
|
|
1877
1503
|
},
|
|
1878
1504
|
{
|
|
1879
|
-
"type": "
|
|
1880
|
-
"name": "
|
|
1505
|
+
"type": "error",
|
|
1506
|
+
"name": "UnacceptableAssetAmount",
|
|
1881
1507
|
"inputs": [
|
|
1882
1508
|
{
|
|
1883
|
-
"name": "
|
|
1884
|
-
"type": "
|
|
1885
|
-
"internalType": "
|
|
1509
|
+
"name": "assetAmount",
|
|
1510
|
+
"type": "uint256",
|
|
1511
|
+
"internalType": "uint256"
|
|
1886
1512
|
},
|
|
1887
1513
|
{
|
|
1888
|
-
"name": "
|
|
1889
|
-
"type": "
|
|
1890
|
-
"internalType": "
|
|
1514
|
+
"name": "minAssetAmount",
|
|
1515
|
+
"type": "uint256",
|
|
1516
|
+
"internalType": "uint256"
|
|
1891
1517
|
}
|
|
1892
|
-
]
|
|
1893
|
-
"outputs": [],
|
|
1894
|
-
"stateMutability": "nonpayable"
|
|
1518
|
+
]
|
|
1895
1519
|
},
|
|
1896
1520
|
{
|
|
1897
|
-
"type": "
|
|
1898
|
-
"name": "
|
|
1521
|
+
"type": "error",
|
|
1522
|
+
"name": "UnacceptableShareAmount",
|
|
1899
1523
|
"inputs": [
|
|
1900
1524
|
{
|
|
1901
|
-
"name": "
|
|
1902
|
-
"type": "
|
|
1903
|
-
"
|
|
1904
|
-
"internalType": "bytes32"
|
|
1525
|
+
"name": "shareAmount",
|
|
1526
|
+
"type": "uint256",
|
|
1527
|
+
"internalType": "uint256"
|
|
1905
1528
|
},
|
|
1906
1529
|
{
|
|
1907
|
-
"name": "
|
|
1908
|
-
"type": "
|
|
1909
|
-
"
|
|
1910
|
-
"internalType": "bool"
|
|
1530
|
+
"name": "minShareAmount",
|
|
1531
|
+
"type": "uint256",
|
|
1532
|
+
"internalType": "uint256"
|
|
1911
1533
|
}
|
|
1912
|
-
]
|
|
1913
|
-
"anonymous": false
|
|
1534
|
+
]
|
|
1914
1535
|
},
|
|
1915
1536
|
{
|
|
1916
|
-
"type": "
|
|
1917
|
-
"name": "
|
|
1537
|
+
"type": "error",
|
|
1538
|
+
"name": "UnsupportedCooldownUnstake",
|
|
1539
|
+
"inputs": []
|
|
1540
|
+
},
|
|
1541
|
+
{
|
|
1542
|
+
"type": "error",
|
|
1543
|
+
"name": "WithdrawalReceiverNotAllowed",
|
|
1918
1544
|
"inputs": [
|
|
1919
1545
|
{
|
|
1920
|
-
"name": "
|
|
1921
|
-
"type": "
|
|
1922
|
-
"
|
|
1923
|
-
"internalType": "bytes32"
|
|
1546
|
+
"name": "accountId",
|
|
1547
|
+
"type": "uint128",
|
|
1548
|
+
"internalType": "uint128"
|
|
1924
1549
|
},
|
|
1925
1550
|
{
|
|
1926
|
-
"name": "
|
|
1551
|
+
"name": "receiver",
|
|
1927
1552
|
"type": "address",
|
|
1928
|
-
"indexed": false,
|
|
1929
1553
|
"internalType": "address"
|
|
1930
1554
|
}
|
|
1931
|
-
]
|
|
1932
|
-
"anonymous": false
|
|
1555
|
+
]
|
|
1933
1556
|
},
|
|
1934
1557
|
{
|
|
1935
|
-
"type": "
|
|
1936
|
-
"name": "
|
|
1558
|
+
"type": "function",
|
|
1559
|
+
"name": "transferFromMAToMA",
|
|
1937
1560
|
"inputs": [
|
|
1938
1561
|
{
|
|
1939
|
-
"name": "
|
|
1940
|
-
"type": "
|
|
1941
|
-
"
|
|
1942
|
-
"
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1562
|
+
"name": "inputs",
|
|
1563
|
+
"type": "tuple",
|
|
1564
|
+
"internalType": "struct TransferFromMAToMAInputs",
|
|
1565
|
+
"components": [
|
|
1566
|
+
{
|
|
1567
|
+
"name": "accountId",
|
|
1568
|
+
"type": "uint128",
|
|
1569
|
+
"internalType": "uint128"
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
"name": "transfer",
|
|
1573
|
+
"type": "tuple",
|
|
1574
|
+
"internalType": "struct TransferInput",
|
|
1575
|
+
"components": [
|
|
1576
|
+
{
|
|
1577
|
+
"name": "destAccountId",
|
|
1578
|
+
"type": "uint128",
|
|
1579
|
+
"internalType": "uint128"
|
|
1580
|
+
},
|
|
1581
|
+
{
|
|
1582
|
+
"name": "collateral",
|
|
1583
|
+
"type": "address",
|
|
1584
|
+
"internalType": "address"
|
|
1585
|
+
},
|
|
1586
|
+
{
|
|
1587
|
+
"name": "collateralAmount",
|
|
1588
|
+
"type": "uint256",
|
|
1589
|
+
"internalType": "uint256"
|
|
1590
|
+
}
|
|
1591
|
+
]
|
|
1592
|
+
},
|
|
1593
|
+
{
|
|
1594
|
+
"name": "sig",
|
|
1595
|
+
"type": "tuple",
|
|
1596
|
+
"internalType": "struct EIP712Signature",
|
|
1597
|
+
"components": [
|
|
1598
|
+
{
|
|
1599
|
+
"name": "v",
|
|
1600
|
+
"type": "uint8",
|
|
1601
|
+
"internalType": "uint8"
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
"name": "r",
|
|
1605
|
+
"type": "bytes32",
|
|
1606
|
+
"internalType": "bytes32"
|
|
1607
|
+
},
|
|
1608
|
+
{
|
|
1609
|
+
"name": "s",
|
|
1610
|
+
"type": "bytes32",
|
|
1611
|
+
"internalType": "bytes32"
|
|
1612
|
+
},
|
|
1613
|
+
{
|
|
1614
|
+
"name": "deadline",
|
|
1615
|
+
"type": "uint256",
|
|
1616
|
+
"internalType": "uint256"
|
|
1617
|
+
}
|
|
1618
|
+
]
|
|
1619
|
+
}
|
|
1620
|
+
]
|
|
1949
1621
|
}
|
|
1950
1622
|
],
|
|
1951
|
-
"
|
|
1623
|
+
"outputs": [],
|
|
1624
|
+
"stateMutability": "nonpayable"
|
|
1952
1625
|
},
|
|
1953
1626
|
{
|
|
1954
|
-
"type": "
|
|
1955
|
-
"name": "
|
|
1956
|
-
"inputs": [
|
|
1957
|
-
{
|
|
1958
|
-
"name": "feature",
|
|
1959
|
-
"type": "bytes32",
|
|
1960
|
-
"indexed": true,
|
|
1961
|
-
"internalType": "bytes32"
|
|
1962
|
-
},
|
|
1627
|
+
"type": "function",
|
|
1628
|
+
"name": "withdraw",
|
|
1629
|
+
"inputs": [
|
|
1963
1630
|
{
|
|
1964
|
-
"name": "
|
|
1965
|
-
"type": "
|
|
1966
|
-
"
|
|
1967
|
-
"
|
|
1631
|
+
"name": "inputs",
|
|
1632
|
+
"type": "tuple",
|
|
1633
|
+
"internalType": "struct WithdrawInputs",
|
|
1634
|
+
"components": [
|
|
1635
|
+
{
|
|
1636
|
+
"name": "tokenAmount",
|
|
1637
|
+
"type": "uint256",
|
|
1638
|
+
"internalType": "uint256"
|
|
1639
|
+
},
|
|
1640
|
+
{
|
|
1641
|
+
"name": "token",
|
|
1642
|
+
"type": "address",
|
|
1643
|
+
"internalType": "address"
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
"name": "socketMsgGasLimit",
|
|
1647
|
+
"type": "uint256",
|
|
1648
|
+
"internalType": "uint256"
|
|
1649
|
+
},
|
|
1650
|
+
{
|
|
1651
|
+
"name": "chainId",
|
|
1652
|
+
"type": "uint256",
|
|
1653
|
+
"internalType": "uint256"
|
|
1654
|
+
},
|
|
1655
|
+
{
|
|
1656
|
+
"name": "receiver",
|
|
1657
|
+
"type": "address",
|
|
1658
|
+
"internalType": "address"
|
|
1659
|
+
}
|
|
1660
|
+
]
|
|
1968
1661
|
}
|
|
1969
1662
|
],
|
|
1970
|
-
"
|
|
1663
|
+
"outputs": [],
|
|
1664
|
+
"stateMutability": "payable"
|
|
1971
1665
|
},
|
|
1972
1666
|
{
|
|
1973
|
-
"type": "
|
|
1974
|
-
"name": "
|
|
1667
|
+
"type": "function",
|
|
1668
|
+
"name": "withdrawMA",
|
|
1975
1669
|
"inputs": [
|
|
1976
1670
|
{
|
|
1977
|
-
"name": "
|
|
1978
|
-
"type": "
|
|
1979
|
-
"
|
|
1980
|
-
"
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1671
|
+
"name": "inputs",
|
|
1672
|
+
"type": "tuple",
|
|
1673
|
+
"internalType": "struct WithdrawMAInputs",
|
|
1674
|
+
"components": [
|
|
1675
|
+
{
|
|
1676
|
+
"name": "accountId",
|
|
1677
|
+
"type": "uint128",
|
|
1678
|
+
"internalType": "uint128"
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
"name": "token",
|
|
1682
|
+
"type": "address",
|
|
1683
|
+
"internalType": "address"
|
|
1684
|
+
},
|
|
1685
|
+
{
|
|
1686
|
+
"name": "tokenAmount",
|
|
1687
|
+
"type": "uint256",
|
|
1688
|
+
"internalType": "uint256"
|
|
1689
|
+
},
|
|
1690
|
+
{
|
|
1691
|
+
"name": "sig",
|
|
1692
|
+
"type": "tuple",
|
|
1693
|
+
"internalType": "struct EIP712Signature",
|
|
1694
|
+
"components": [
|
|
1695
|
+
{
|
|
1696
|
+
"name": "v",
|
|
1697
|
+
"type": "uint8",
|
|
1698
|
+
"internalType": "uint8"
|
|
1699
|
+
},
|
|
1700
|
+
{
|
|
1701
|
+
"name": "r",
|
|
1702
|
+
"type": "bytes32",
|
|
1703
|
+
"internalType": "bytes32"
|
|
1704
|
+
},
|
|
1705
|
+
{
|
|
1706
|
+
"name": "s",
|
|
1707
|
+
"type": "bytes32",
|
|
1708
|
+
"internalType": "bytes32"
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
"name": "deadline",
|
|
1712
|
+
"type": "uint256",
|
|
1713
|
+
"internalType": "uint256"
|
|
1714
|
+
}
|
|
1715
|
+
]
|
|
1716
|
+
},
|
|
1717
|
+
{
|
|
1718
|
+
"name": "socketMsgGasLimit",
|
|
1719
|
+
"type": "uint256",
|
|
1720
|
+
"internalType": "uint256"
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
"name": "chainId",
|
|
1724
|
+
"type": "uint256",
|
|
1725
|
+
"internalType": "uint256"
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
"name": "receiver",
|
|
1729
|
+
"type": "address",
|
|
1730
|
+
"internalType": "address"
|
|
1731
|
+
}
|
|
1732
|
+
]
|
|
1987
1733
|
}
|
|
1988
1734
|
],
|
|
1989
|
-
"
|
|
1735
|
+
"outputs": [],
|
|
1736
|
+
"stateMutability": "nonpayable"
|
|
1990
1737
|
},
|
|
1991
1738
|
{
|
|
1992
1739
|
"type": "function",
|
|
1993
|
-
"name": "
|
|
1740
|
+
"name": "withdrawMALZ",
|
|
1994
1741
|
"inputs": [
|
|
1995
1742
|
{
|
|
1996
1743
|
"name": "inputs",
|
|
1997
1744
|
"type": "tuple",
|
|
1998
|
-
"internalType": "struct
|
|
1745
|
+
"internalType": "struct WithdrawMALZInputs",
|
|
1999
1746
|
"components": [
|
|
2000
1747
|
{
|
|
2001
1748
|
"name": "accountId",
|
|
@@ -2003,17 +1750,17 @@
|
|
|
2003
1750
|
"internalType": "uint128"
|
|
2004
1751
|
},
|
|
2005
1752
|
{
|
|
2006
|
-
"name": "
|
|
2007
|
-
"type": "
|
|
2008
|
-
"internalType": "
|
|
1753
|
+
"name": "token",
|
|
1754
|
+
"type": "address",
|
|
1755
|
+
"internalType": "address"
|
|
2009
1756
|
},
|
|
2010
1757
|
{
|
|
2011
|
-
"name": "
|
|
1758
|
+
"name": "tokenAmount",
|
|
2012
1759
|
"type": "uint256",
|
|
2013
1760
|
"internalType": "uint256"
|
|
2014
1761
|
},
|
|
2015
1762
|
{
|
|
2016
|
-
"name": "
|
|
1763
|
+
"name": "sig",
|
|
2017
1764
|
"type": "tuple",
|
|
2018
1765
|
"internalType": "struct EIP712Signature",
|
|
2019
1766
|
"components": [
|
|
@@ -2038,39 +1785,106 @@
|
|
|
2038
1785
|
"internalType": "uint256"
|
|
2039
1786
|
}
|
|
2040
1787
|
]
|
|
1788
|
+
},
|
|
1789
|
+
{
|
|
1790
|
+
"name": "dstEid",
|
|
1791
|
+
"type": "uint32",
|
|
1792
|
+
"internalType": "uint32"
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
"name": "receiver",
|
|
1796
|
+
"type": "address",
|
|
1797
|
+
"internalType": "address"
|
|
1798
|
+
}
|
|
1799
|
+
]
|
|
1800
|
+
}
|
|
1801
|
+
],
|
|
1802
|
+
"outputs": [
|
|
1803
|
+
{
|
|
1804
|
+
"name": "",
|
|
1805
|
+
"type": "tuple",
|
|
1806
|
+
"internalType": "struct MessagingReceipt",
|
|
1807
|
+
"components": [
|
|
1808
|
+
{
|
|
1809
|
+
"name": "guid",
|
|
1810
|
+
"type": "bytes32",
|
|
1811
|
+
"internalType": "bytes32"
|
|
1812
|
+
},
|
|
1813
|
+
{
|
|
1814
|
+
"name": "nonce",
|
|
1815
|
+
"type": "uint64",
|
|
1816
|
+
"internalType": "uint64"
|
|
1817
|
+
},
|
|
1818
|
+
{
|
|
1819
|
+
"name": "fee",
|
|
1820
|
+
"type": "tuple",
|
|
1821
|
+
"internalType": "struct MessagingFee",
|
|
1822
|
+
"components": [
|
|
1823
|
+
{
|
|
1824
|
+
"name": "nativeFee",
|
|
1825
|
+
"type": "uint256",
|
|
1826
|
+
"internalType": "uint256"
|
|
1827
|
+
},
|
|
1828
|
+
{
|
|
1829
|
+
"name": "lzTokenFee",
|
|
1830
|
+
"type": "uint256",
|
|
1831
|
+
"internalType": "uint256"
|
|
1832
|
+
}
|
|
1833
|
+
]
|
|
1834
|
+
}
|
|
1835
|
+
]
|
|
1836
|
+
},
|
|
1837
|
+
{
|
|
1838
|
+
"name": "",
|
|
1839
|
+
"type": "tuple",
|
|
1840
|
+
"internalType": "struct OFTReceipt",
|
|
1841
|
+
"components": [
|
|
1842
|
+
{
|
|
1843
|
+
"name": "amountSentLD",
|
|
1844
|
+
"type": "uint256",
|
|
1845
|
+
"internalType": "uint256"
|
|
1846
|
+
},
|
|
1847
|
+
{
|
|
1848
|
+
"name": "amountReceivedLD",
|
|
1849
|
+
"type": "uint256",
|
|
1850
|
+
"internalType": "uint256"
|
|
2041
1851
|
}
|
|
2042
1852
|
]
|
|
2043
1853
|
}
|
|
2044
1854
|
],
|
|
2045
|
-
"outputs": [],
|
|
2046
1855
|
"stateMutability": "nonpayable"
|
|
2047
1856
|
},
|
|
2048
1857
|
{
|
|
2049
1858
|
"type": "function",
|
|
2050
|
-
"name": "
|
|
1859
|
+
"name": "withdrawPassivePool",
|
|
2051
1860
|
"inputs": [
|
|
2052
1861
|
{
|
|
2053
1862
|
"name": "inputs",
|
|
2054
1863
|
"type": "tuple",
|
|
2055
|
-
"internalType": "struct
|
|
1864
|
+
"internalType": "struct WithdrawPassivePoolInputs",
|
|
2056
1865
|
"components": [
|
|
2057
1866
|
{
|
|
2058
|
-
"name": "
|
|
1867
|
+
"name": "owner",
|
|
1868
|
+
"type": "address",
|
|
1869
|
+
"internalType": "address"
|
|
1870
|
+
},
|
|
1871
|
+
{
|
|
1872
|
+
"name": "poolId",
|
|
2059
1873
|
"type": "uint128",
|
|
2060
1874
|
"internalType": "uint128"
|
|
2061
1875
|
},
|
|
2062
1876
|
{
|
|
2063
|
-
"name": "
|
|
1877
|
+
"name": "sharesAmount",
|
|
2064
1878
|
"type": "uint256",
|
|
2065
1879
|
"internalType": "uint256"
|
|
2066
1880
|
},
|
|
2067
1881
|
{
|
|
2068
|
-
"name": "
|
|
1882
|
+
"name": "minOut",
|
|
2069
1883
|
"type": "uint256",
|
|
2070
1884
|
"internalType": "uint256"
|
|
2071
1885
|
},
|
|
2072
1886
|
{
|
|
2073
|
-
"name": "
|
|
1887
|
+
"name": "sig",
|
|
2074
1888
|
"type": "tuple",
|
|
2075
1889
|
"internalType": "struct EIP712Signature",
|
|
2076
1890
|
"components": [
|
|
@@ -2095,6 +1909,21 @@
|
|
|
2095
1909
|
"internalType": "uint256"
|
|
2096
1910
|
}
|
|
2097
1911
|
]
|
|
1912
|
+
},
|
|
1913
|
+
{
|
|
1914
|
+
"name": "socketMsgGasLimit",
|
|
1915
|
+
"type": "uint256",
|
|
1916
|
+
"internalType": "uint256"
|
|
1917
|
+
},
|
|
1918
|
+
{
|
|
1919
|
+
"name": "chainId",
|
|
1920
|
+
"type": "uint256",
|
|
1921
|
+
"internalType": "uint256"
|
|
1922
|
+
},
|
|
1923
|
+
{
|
|
1924
|
+
"name": "receiver",
|
|
1925
|
+
"type": "address",
|
|
1926
|
+
"internalType": "address"
|
|
2098
1927
|
}
|
|
2099
1928
|
]
|
|
2100
1929
|
}
|
|
@@ -2104,13 +1933,35 @@
|
|
|
2104
1933
|
},
|
|
2105
1934
|
{
|
|
2106
1935
|
"type": "error",
|
|
2107
|
-
"name": "
|
|
2108
|
-
"inputs": [
|
|
1936
|
+
"name": "FeeNotSet",
|
|
1937
|
+
"inputs": [
|
|
1938
|
+
{
|
|
1939
|
+
"name": "token",
|
|
1940
|
+
"type": "address",
|
|
1941
|
+
"internalType": "address"
|
|
1942
|
+
},
|
|
1943
|
+
{
|
|
1944
|
+
"name": "connector",
|
|
1945
|
+
"type": "address",
|
|
1946
|
+
"internalType": "address"
|
|
1947
|
+
}
|
|
1948
|
+
]
|
|
2109
1949
|
},
|
|
2110
1950
|
{
|
|
2111
1951
|
"type": "error",
|
|
2112
|
-
"name": "
|
|
2113
|
-
"inputs": [
|
|
1952
|
+
"name": "NotEnoughFees",
|
|
1953
|
+
"inputs": [
|
|
1954
|
+
{
|
|
1955
|
+
"name": "tokenAmount",
|
|
1956
|
+
"type": "uint256",
|
|
1957
|
+
"internalType": "uint256"
|
|
1958
|
+
},
|
|
1959
|
+
{
|
|
1960
|
+
"name": "tokenFees",
|
|
1961
|
+
"type": "uint256",
|
|
1962
|
+
"internalType": "uint256"
|
|
1963
|
+
}
|
|
1964
|
+
]
|
|
2114
1965
|
}
|
|
2115
1966
|
]
|
|
2116
1967
|
}
|