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