hermes-swap 0.0.21 → 0.0.23
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/cjs/abis/aggregator.d.ts +264 -235
- package/dist/cjs/abis/aggregator.js +154 -603
- package/dist/cjs/abis/quoter.d.ts +5 -24
- package/dist/cjs/abis/quoter.js +67 -42
- package/dist/cjs/index.d.ts +2 -0
- package/dist/cjs/index.js +103 -4
- package/dist/cjs/types.d.ts +55 -5
- package/dist/cjs/types.js +9 -0
- package/dist/esm/abis/aggregator.d.ts +264 -235
- package/dist/esm/abis/aggregator.js +264 -235
- package/dist/esm/abis/quoter.d.ts +5 -24
- package/dist/esm/abis/quoter.js +54 -35
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.js +202 -13
- package/dist/esm/types.d.ts +55 -5
- package/dist/esm/types.js +9 -0
- package/package.json +1 -1
|
@@ -15,162 +15,82 @@ declare const AggregatorAbi: readonly [{
|
|
|
15
15
|
}];
|
|
16
16
|
readonly stateMutability: "nonpayable";
|
|
17
17
|
}, {
|
|
18
|
-
readonly type: "
|
|
19
|
-
readonly
|
|
20
|
-
readonly inputs: readonly [{
|
|
21
|
-
readonly name: "tokenList";
|
|
22
|
-
readonly type: "address[]";
|
|
23
|
-
readonly indexed: false;
|
|
24
|
-
readonly internalType: "address[]";
|
|
25
|
-
}, {
|
|
26
|
-
readonly name: "spenderList";
|
|
27
|
-
readonly type: "address[]";
|
|
28
|
-
readonly indexed: false;
|
|
29
|
-
readonly internalType: "address[]";
|
|
30
|
-
}];
|
|
31
|
-
readonly anonymous: false;
|
|
18
|
+
readonly type: "receive";
|
|
19
|
+
readonly stateMutability: "payable";
|
|
32
20
|
}, {
|
|
33
|
-
readonly type: "
|
|
34
|
-
readonly name: "
|
|
21
|
+
readonly type: "function";
|
|
22
|
+
readonly name: "addContract";
|
|
35
23
|
readonly inputs: readonly [{
|
|
36
24
|
readonly name: "contractType";
|
|
37
25
|
readonly type: "string";
|
|
38
|
-
readonly indexed: false;
|
|
39
26
|
readonly internalType: "string";
|
|
40
27
|
}, {
|
|
41
28
|
readonly name: "contractAddress";
|
|
42
29
|
readonly type: "address";
|
|
43
|
-
readonly indexed: false;
|
|
44
30
|
readonly internalType: "address";
|
|
45
31
|
}];
|
|
46
|
-
readonly
|
|
47
|
-
|
|
48
|
-
readonly type: "event";
|
|
49
|
-
readonly name: "ContractRemoved";
|
|
50
|
-
readonly inputs: readonly [{
|
|
51
|
-
readonly name: "contractType";
|
|
52
|
-
readonly type: "string";
|
|
53
|
-
readonly indexed: false;
|
|
54
|
-
readonly internalType: "string";
|
|
55
|
-
}];
|
|
56
|
-
readonly anonymous: false;
|
|
32
|
+
readonly outputs: readonly [];
|
|
33
|
+
readonly stateMutability: "nonpayable";
|
|
57
34
|
}, {
|
|
58
|
-
readonly type: "
|
|
59
|
-
readonly name: "
|
|
35
|
+
readonly type: "function";
|
|
36
|
+
readonly name: "approve";
|
|
60
37
|
readonly inputs: readonly [{
|
|
61
|
-
readonly name: "
|
|
62
|
-
readonly type: "
|
|
63
|
-
readonly
|
|
64
|
-
readonly internalType: "string";
|
|
38
|
+
readonly name: "tokenList";
|
|
39
|
+
readonly type: "address[]";
|
|
40
|
+
readonly internalType: "address[]";
|
|
65
41
|
}, {
|
|
66
|
-
readonly name: "
|
|
67
|
-
readonly type: "address";
|
|
68
|
-
readonly
|
|
69
|
-
readonly internalType: "address";
|
|
70
|
-
}];
|
|
71
|
-
readonly anonymous: false;
|
|
72
|
-
}, {
|
|
73
|
-
readonly type: "event";
|
|
74
|
-
readonly name: "ExecutorUpdated";
|
|
75
|
-
readonly inputs: readonly [{
|
|
76
|
-
readonly name: "executor";
|
|
77
|
-
readonly type: "address";
|
|
78
|
-
readonly indexed: false;
|
|
79
|
-
readonly internalType: "address";
|
|
42
|
+
readonly name: "spenderList";
|
|
43
|
+
readonly type: "address[]";
|
|
44
|
+
readonly internalType: "address[]";
|
|
80
45
|
}];
|
|
81
|
-
readonly
|
|
46
|
+
readonly outputs: readonly [];
|
|
47
|
+
readonly stateMutability: "nonpayable";
|
|
82
48
|
}, {
|
|
83
|
-
readonly type: "
|
|
84
|
-
readonly name: "
|
|
49
|
+
readonly type: "function";
|
|
50
|
+
readonly name: "batchMultiSwap";
|
|
85
51
|
readonly inputs: readonly [{
|
|
86
52
|
readonly name: "userList";
|
|
87
53
|
readonly type: "address[]";
|
|
88
|
-
readonly indexed: false;
|
|
89
54
|
readonly internalType: "address[]";
|
|
90
55
|
}, {
|
|
91
56
|
readonly name: "amountInList";
|
|
92
57
|
readonly type: "uint256[]";
|
|
93
|
-
readonly indexed: false;
|
|
94
58
|
readonly internalType: "uint256[]";
|
|
95
59
|
}, {
|
|
60
|
+
readonly name: "swapParamsList";
|
|
61
|
+
readonly type: "tuple[][]";
|
|
62
|
+
readonly internalType: "struct SwapParams[][]";
|
|
63
|
+
readonly components: readonly [{
|
|
64
|
+
readonly name: "dexType";
|
|
65
|
+
readonly type: "string";
|
|
66
|
+
readonly internalType: "string";
|
|
67
|
+
}, {
|
|
68
|
+
readonly name: "pool";
|
|
69
|
+
readonly type: "address";
|
|
70
|
+
readonly internalType: "address";
|
|
71
|
+
}, {
|
|
72
|
+
readonly name: "fromCoin";
|
|
73
|
+
readonly type: "address";
|
|
74
|
+
readonly internalType: "address";
|
|
75
|
+
}, {
|
|
76
|
+
readonly name: "toCoin";
|
|
77
|
+
readonly type: "address";
|
|
78
|
+
readonly internalType: "address";
|
|
79
|
+
}, {
|
|
80
|
+
readonly name: "extra";
|
|
81
|
+
readonly type: "bytes";
|
|
82
|
+
readonly internalType: "bytes";
|
|
83
|
+
}];
|
|
84
|
+
}, {
|
|
85
|
+
readonly name: "minAmountOutList";
|
|
86
|
+
readonly type: "uint256[][]";
|
|
87
|
+
readonly internalType: "uint256[][]";
|
|
88
|
+
}];
|
|
89
|
+
readonly outputs: readonly [{
|
|
96
90
|
readonly name: "amountOutList";
|
|
97
91
|
readonly type: "uint256[]";
|
|
98
|
-
readonly indexed: false;
|
|
99
92
|
readonly internalType: "uint256[]";
|
|
100
93
|
}];
|
|
101
|
-
readonly anonymous: false;
|
|
102
|
-
}, {
|
|
103
|
-
readonly type: "event";
|
|
104
|
-
readonly name: "SwapAndBridge";
|
|
105
|
-
readonly inputs: readonly [{
|
|
106
|
-
readonly name: "user";
|
|
107
|
-
readonly type: "address";
|
|
108
|
-
readonly indexed: false;
|
|
109
|
-
readonly internalType: "address";
|
|
110
|
-
}, {
|
|
111
|
-
readonly name: "amountIn";
|
|
112
|
-
readonly type: "uint256";
|
|
113
|
-
readonly indexed: false;
|
|
114
|
-
readonly internalType: "uint256";
|
|
115
|
-
}, {
|
|
116
|
-
readonly name: "amountOut";
|
|
117
|
-
readonly type: "uint256";
|
|
118
|
-
readonly indexed: false;
|
|
119
|
-
readonly internalType: "uint256";
|
|
120
|
-
}, {
|
|
121
|
-
readonly name: "bridge";
|
|
122
|
-
readonly type: "string";
|
|
123
|
-
readonly indexed: false;
|
|
124
|
-
readonly internalType: "string";
|
|
125
|
-
}];
|
|
126
|
-
readonly anonymous: false;
|
|
127
|
-
}, {
|
|
128
|
-
readonly type: "event";
|
|
129
|
-
readonly name: "Swapped";
|
|
130
|
-
readonly inputs: readonly [{
|
|
131
|
-
readonly name: "user";
|
|
132
|
-
readonly type: "address";
|
|
133
|
-
readonly indexed: false;
|
|
134
|
-
readonly internalType: "address";
|
|
135
|
-
}, {
|
|
136
|
-
readonly name: "amountIn";
|
|
137
|
-
readonly type: "uint256";
|
|
138
|
-
readonly indexed: false;
|
|
139
|
-
readonly internalType: "uint256";
|
|
140
|
-
}, {
|
|
141
|
-
readonly name: "amountOut";
|
|
142
|
-
readonly type: "uint256";
|
|
143
|
-
readonly indexed: false;
|
|
144
|
-
readonly internalType: "uint256";
|
|
145
|
-
}];
|
|
146
|
-
readonly anonymous: false;
|
|
147
|
-
}, {
|
|
148
|
-
readonly type: "function";
|
|
149
|
-
readonly name: "addContract";
|
|
150
|
-
readonly inputs: readonly [{
|
|
151
|
-
readonly name: "contractType";
|
|
152
|
-
readonly type: "string";
|
|
153
|
-
readonly internalType: "string";
|
|
154
|
-
}, {
|
|
155
|
-
readonly name: "contractAddress";
|
|
156
|
-
readonly type: "address";
|
|
157
|
-
readonly internalType: "address";
|
|
158
|
-
}];
|
|
159
|
-
readonly outputs: readonly [];
|
|
160
|
-
readonly stateMutability: "nonpayable";
|
|
161
|
-
}, {
|
|
162
|
-
readonly type: "function";
|
|
163
|
-
readonly name: "approve";
|
|
164
|
-
readonly inputs: readonly [{
|
|
165
|
-
readonly name: "tokenList";
|
|
166
|
-
readonly type: "address[]";
|
|
167
|
-
readonly internalType: "address[]";
|
|
168
|
-
}, {
|
|
169
|
-
readonly name: "spenderList";
|
|
170
|
-
readonly type: "address[]";
|
|
171
|
-
readonly internalType: "address[]";
|
|
172
|
-
}];
|
|
173
|
-
readonly outputs: readonly [];
|
|
174
94
|
readonly stateMutability: "nonpayable";
|
|
175
95
|
}, {
|
|
176
96
|
readonly type: "function";
|
|
@@ -182,40 +102,35 @@ declare const AggregatorAbi: readonly [{
|
|
|
182
102
|
}, {
|
|
183
103
|
readonly name: "bridgeParam";
|
|
184
104
|
readonly type: "tuple";
|
|
185
|
-
readonly internalType: "struct
|
|
105
|
+
readonly internalType: "struct BridgeParam";
|
|
186
106
|
readonly components: readonly [{
|
|
187
107
|
readonly name: "bridge";
|
|
188
108
|
readonly type: "string";
|
|
189
109
|
readonly internalType: "string";
|
|
190
110
|
}, {
|
|
191
|
-
readonly name: "
|
|
192
|
-
readonly type: "
|
|
193
|
-
readonly internalType: "
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
}, {
|
|
215
|
-
readonly name: "adapterParams";
|
|
216
|
-
readonly type: "bytes";
|
|
217
|
-
readonly internalType: "bytes";
|
|
218
|
-
}];
|
|
111
|
+
readonly name: "token";
|
|
112
|
+
readonly type: "address";
|
|
113
|
+
readonly internalType: "address";
|
|
114
|
+
}, {
|
|
115
|
+
readonly name: "amount";
|
|
116
|
+
readonly type: "uint256";
|
|
117
|
+
readonly internalType: "uint256";
|
|
118
|
+
}, {
|
|
119
|
+
readonly name: "bridgeAddress";
|
|
120
|
+
readonly type: "address";
|
|
121
|
+
readonly internalType: "address";
|
|
122
|
+
}, {
|
|
123
|
+
readonly name: "destChain";
|
|
124
|
+
readonly type: "string";
|
|
125
|
+
readonly internalType: "string";
|
|
126
|
+
}, {
|
|
127
|
+
readonly name: "destUser";
|
|
128
|
+
readonly type: "address";
|
|
129
|
+
readonly internalType: "address";
|
|
130
|
+
}, {
|
|
131
|
+
readonly name: "extra";
|
|
132
|
+
readonly type: "bytes";
|
|
133
|
+
readonly internalType: "bytes";
|
|
219
134
|
}];
|
|
220
135
|
}];
|
|
221
136
|
readonly outputs: readonly [{
|
|
@@ -223,7 +138,7 @@ declare const AggregatorAbi: readonly [{
|
|
|
223
138
|
readonly type: "bool";
|
|
224
139
|
readonly internalType: "bool";
|
|
225
140
|
}];
|
|
226
|
-
readonly stateMutability: "
|
|
141
|
+
readonly stateMutability: "payable";
|
|
227
142
|
}, {
|
|
228
143
|
readonly type: "function";
|
|
229
144
|
readonly name: "contractList";
|
|
@@ -290,53 +205,6 @@ declare const AggregatorAbi: readonly [{
|
|
|
290
205
|
readonly internalType: "bool";
|
|
291
206
|
}];
|
|
292
207
|
readonly stateMutability: "view";
|
|
293
|
-
}, {
|
|
294
|
-
readonly type: "function";
|
|
295
|
-
readonly name: "multiSwap";
|
|
296
|
-
readonly inputs: readonly [{
|
|
297
|
-
readonly name: "userList";
|
|
298
|
-
readonly type: "address[]";
|
|
299
|
-
readonly internalType: "address[]";
|
|
300
|
-
}, {
|
|
301
|
-
readonly name: "amountInList";
|
|
302
|
-
readonly type: "uint256[]";
|
|
303
|
-
readonly internalType: "uint256[]";
|
|
304
|
-
}, {
|
|
305
|
-
readonly name: "swapParamsList";
|
|
306
|
-
readonly type: "tuple[][]";
|
|
307
|
-
readonly internalType: "struct SwapParams[][]";
|
|
308
|
-
readonly components: readonly [{
|
|
309
|
-
readonly name: "dexType";
|
|
310
|
-
readonly type: "string";
|
|
311
|
-
readonly internalType: "string";
|
|
312
|
-
}, {
|
|
313
|
-
readonly name: "pool";
|
|
314
|
-
readonly type: "address";
|
|
315
|
-
readonly internalType: "address";
|
|
316
|
-
}, {
|
|
317
|
-
readonly name: "fromCoin";
|
|
318
|
-
readonly type: "address";
|
|
319
|
-
readonly internalType: "address";
|
|
320
|
-
}, {
|
|
321
|
-
readonly name: "toCoin";
|
|
322
|
-
readonly type: "address";
|
|
323
|
-
readonly internalType: "address";
|
|
324
|
-
}, {
|
|
325
|
-
readonly name: "extra";
|
|
326
|
-
readonly type: "bytes";
|
|
327
|
-
readonly internalType: "bytes";
|
|
328
|
-
}];
|
|
329
|
-
}, {
|
|
330
|
-
readonly name: "minAmountOutList";
|
|
331
|
-
readonly type: "uint256[][]";
|
|
332
|
-
readonly internalType: "uint256[][]";
|
|
333
|
-
}];
|
|
334
|
-
readonly outputs: readonly [{
|
|
335
|
-
readonly name: "amountOutList";
|
|
336
|
-
readonly type: "uint256[]";
|
|
337
|
-
readonly internalType: "uint256[]";
|
|
338
|
-
}];
|
|
339
|
-
readonly stateMutability: "nonpayable";
|
|
340
208
|
}, {
|
|
341
209
|
readonly type: "function";
|
|
342
210
|
readonly name: "owner";
|
|
@@ -467,40 +335,35 @@ declare const AggregatorAbi: readonly [{
|
|
|
467
335
|
}, {
|
|
468
336
|
readonly name: "bridgeParam";
|
|
469
337
|
readonly type: "tuple";
|
|
470
|
-
readonly internalType: "struct
|
|
338
|
+
readonly internalType: "struct BridgeParam";
|
|
471
339
|
readonly components: readonly [{
|
|
472
340
|
readonly name: "bridge";
|
|
473
341
|
readonly type: "string";
|
|
474
342
|
readonly internalType: "string";
|
|
475
343
|
}, {
|
|
476
|
-
readonly name: "
|
|
477
|
-
readonly type: "
|
|
478
|
-
readonly internalType: "
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
}, {
|
|
500
|
-
readonly name: "adapterParams";
|
|
501
|
-
readonly type: "bytes";
|
|
502
|
-
readonly internalType: "bytes";
|
|
503
|
-
}];
|
|
344
|
+
readonly name: "token";
|
|
345
|
+
readonly type: "address";
|
|
346
|
+
readonly internalType: "address";
|
|
347
|
+
}, {
|
|
348
|
+
readonly name: "amount";
|
|
349
|
+
readonly type: "uint256";
|
|
350
|
+
readonly internalType: "uint256";
|
|
351
|
+
}, {
|
|
352
|
+
readonly name: "bridgeAddress";
|
|
353
|
+
readonly type: "address";
|
|
354
|
+
readonly internalType: "address";
|
|
355
|
+
}, {
|
|
356
|
+
readonly name: "destChain";
|
|
357
|
+
readonly type: "string";
|
|
358
|
+
readonly internalType: "string";
|
|
359
|
+
}, {
|
|
360
|
+
readonly name: "destUser";
|
|
361
|
+
readonly type: "address";
|
|
362
|
+
readonly internalType: "address";
|
|
363
|
+
}, {
|
|
364
|
+
readonly name: "extra";
|
|
365
|
+
readonly type: "bytes";
|
|
366
|
+
readonly internalType: "bytes";
|
|
504
367
|
}];
|
|
505
368
|
}];
|
|
506
369
|
readonly outputs: readonly [{
|
|
@@ -508,7 +371,7 @@ declare const AggregatorAbi: readonly [{
|
|
|
508
371
|
readonly type: "uint256";
|
|
509
372
|
readonly internalType: "uint256";
|
|
510
373
|
}];
|
|
511
|
-
readonly stateMutability: "
|
|
374
|
+
readonly stateMutability: "payable";
|
|
512
375
|
}, {
|
|
513
376
|
readonly type: "function";
|
|
514
377
|
readonly name: "updateContract";
|
|
@@ -537,5 +400,171 @@ declare const AggregatorAbi: readonly [{
|
|
|
537
400
|
readonly internalType: "bool";
|
|
538
401
|
}];
|
|
539
402
|
readonly stateMutability: "view";
|
|
403
|
+
}, {
|
|
404
|
+
readonly type: "event";
|
|
405
|
+
readonly name: "Approved";
|
|
406
|
+
readonly inputs: readonly [{
|
|
407
|
+
readonly name: "tokenList";
|
|
408
|
+
readonly type: "address[]";
|
|
409
|
+
readonly indexed: false;
|
|
410
|
+
readonly internalType: "address[]";
|
|
411
|
+
}, {
|
|
412
|
+
readonly name: "spenderList";
|
|
413
|
+
readonly type: "address[]";
|
|
414
|
+
readonly indexed: false;
|
|
415
|
+
readonly internalType: "address[]";
|
|
416
|
+
}];
|
|
417
|
+
readonly anonymous: false;
|
|
418
|
+
}, {
|
|
419
|
+
readonly type: "event";
|
|
420
|
+
readonly name: "ContractAdded";
|
|
421
|
+
readonly inputs: readonly [{
|
|
422
|
+
readonly name: "contractType";
|
|
423
|
+
readonly type: "string";
|
|
424
|
+
readonly indexed: false;
|
|
425
|
+
readonly internalType: "string";
|
|
426
|
+
}, {
|
|
427
|
+
readonly name: "contractAddress";
|
|
428
|
+
readonly type: "address";
|
|
429
|
+
readonly indexed: false;
|
|
430
|
+
readonly internalType: "address";
|
|
431
|
+
}];
|
|
432
|
+
readonly anonymous: false;
|
|
433
|
+
}, {
|
|
434
|
+
readonly type: "event";
|
|
435
|
+
readonly name: "ContractRemoved";
|
|
436
|
+
readonly inputs: readonly [{
|
|
437
|
+
readonly name: "contractType";
|
|
438
|
+
readonly type: "string";
|
|
439
|
+
readonly indexed: false;
|
|
440
|
+
readonly internalType: "string";
|
|
441
|
+
}];
|
|
442
|
+
readonly anonymous: false;
|
|
443
|
+
}, {
|
|
444
|
+
readonly type: "event";
|
|
445
|
+
readonly name: "ContractUpdated";
|
|
446
|
+
readonly inputs: readonly [{
|
|
447
|
+
readonly name: "contractType";
|
|
448
|
+
readonly type: "string";
|
|
449
|
+
readonly indexed: false;
|
|
450
|
+
readonly internalType: "string";
|
|
451
|
+
}, {
|
|
452
|
+
readonly name: "contractAddress";
|
|
453
|
+
readonly type: "address";
|
|
454
|
+
readonly indexed: false;
|
|
455
|
+
readonly internalType: "address";
|
|
456
|
+
}];
|
|
457
|
+
readonly anonymous: false;
|
|
458
|
+
}, {
|
|
459
|
+
readonly type: "event";
|
|
460
|
+
readonly name: "ExecutorUpdated";
|
|
461
|
+
readonly inputs: readonly [{
|
|
462
|
+
readonly name: "executor";
|
|
463
|
+
readonly type: "address";
|
|
464
|
+
readonly indexed: false;
|
|
465
|
+
readonly internalType: "address";
|
|
466
|
+
}];
|
|
467
|
+
readonly anonymous: false;
|
|
468
|
+
}, {
|
|
469
|
+
readonly type: "event";
|
|
470
|
+
readonly name: "MultiSwapped";
|
|
471
|
+
readonly inputs: readonly [{
|
|
472
|
+
readonly name: "userList";
|
|
473
|
+
readonly type: "address[]";
|
|
474
|
+
readonly indexed: false;
|
|
475
|
+
readonly internalType: "address[]";
|
|
476
|
+
}, {
|
|
477
|
+
readonly name: "amountInList";
|
|
478
|
+
readonly type: "uint256[]";
|
|
479
|
+
readonly indexed: false;
|
|
480
|
+
readonly internalType: "uint256[]";
|
|
481
|
+
}, {
|
|
482
|
+
readonly name: "amountOutList";
|
|
483
|
+
readonly type: "uint256[]";
|
|
484
|
+
readonly indexed: false;
|
|
485
|
+
readonly internalType: "uint256[]";
|
|
486
|
+
}];
|
|
487
|
+
readonly anonymous: false;
|
|
488
|
+
}, {
|
|
489
|
+
readonly type: "event";
|
|
490
|
+
readonly name: "SwapAndBridge";
|
|
491
|
+
readonly inputs: readonly [{
|
|
492
|
+
readonly name: "user";
|
|
493
|
+
readonly type: "address";
|
|
494
|
+
readonly indexed: false;
|
|
495
|
+
readonly internalType: "address";
|
|
496
|
+
}, {
|
|
497
|
+
readonly name: "amountIn";
|
|
498
|
+
readonly type: "uint256";
|
|
499
|
+
readonly indexed: false;
|
|
500
|
+
readonly internalType: "uint256";
|
|
501
|
+
}, {
|
|
502
|
+
readonly name: "amountOut";
|
|
503
|
+
readonly type: "uint256";
|
|
504
|
+
readonly indexed: false;
|
|
505
|
+
readonly internalType: "uint256";
|
|
506
|
+
}, {
|
|
507
|
+
readonly name: "bridge";
|
|
508
|
+
readonly type: "string";
|
|
509
|
+
readonly indexed: false;
|
|
510
|
+
readonly internalType: "string";
|
|
511
|
+
}];
|
|
512
|
+
readonly anonymous: false;
|
|
513
|
+
}, {
|
|
514
|
+
readonly type: "event";
|
|
515
|
+
readonly name: "Swapped";
|
|
516
|
+
readonly inputs: readonly [{
|
|
517
|
+
readonly name: "user";
|
|
518
|
+
readonly type: "address";
|
|
519
|
+
readonly indexed: false;
|
|
520
|
+
readonly internalType: "address";
|
|
521
|
+
}, {
|
|
522
|
+
readonly name: "amountIn";
|
|
523
|
+
readonly type: "uint256";
|
|
524
|
+
readonly indexed: false;
|
|
525
|
+
readonly internalType: "uint256";
|
|
526
|
+
}, {
|
|
527
|
+
readonly name: "amountOut";
|
|
528
|
+
readonly type: "uint256";
|
|
529
|
+
readonly indexed: false;
|
|
530
|
+
readonly internalType: "uint256";
|
|
531
|
+
}];
|
|
532
|
+
readonly anonymous: false;
|
|
533
|
+
}, {
|
|
534
|
+
readonly type: "error";
|
|
535
|
+
readonly name: "NotExecutor";
|
|
536
|
+
readonly inputs: readonly [{
|
|
537
|
+
readonly name: "caller";
|
|
538
|
+
readonly type: "address";
|
|
539
|
+
readonly internalType: "address";
|
|
540
|
+
}, {
|
|
541
|
+
readonly name: "executor";
|
|
542
|
+
readonly type: "address";
|
|
543
|
+
readonly internalType: "address";
|
|
544
|
+
}];
|
|
545
|
+
}, {
|
|
546
|
+
readonly type: "error";
|
|
547
|
+
readonly name: "NotOwner";
|
|
548
|
+
readonly inputs: readonly [{
|
|
549
|
+
readonly name: "caller";
|
|
550
|
+
readonly type: "address";
|
|
551
|
+
readonly internalType: "address";
|
|
552
|
+
}, {
|
|
553
|
+
readonly name: "owner";
|
|
554
|
+
readonly type: "address";
|
|
555
|
+
readonly internalType: "address";
|
|
556
|
+
}];
|
|
557
|
+
}, {
|
|
558
|
+
readonly type: "error";
|
|
559
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
560
|
+
readonly inputs: readonly [];
|
|
561
|
+
}, {
|
|
562
|
+
readonly type: "error";
|
|
563
|
+
readonly name: "SafeERC20FailedOperation";
|
|
564
|
+
readonly inputs: readonly [{
|
|
565
|
+
readonly name: "token";
|
|
566
|
+
readonly type: "address";
|
|
567
|
+
readonly internalType: "address";
|
|
568
|
+
}];
|
|
540
569
|
}];
|
|
541
570
|
export default AggregatorAbi;
|