@pendle/core-v2 4.0.5 → 4.0.6
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/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL1.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL1.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL2.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol/IExecutorHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol/IExecutorHelper.json +168 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol/IExecutorHelperL2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol/IExecutorHelperL2.json +378 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol/InputScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol/InputScalingHelper.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol/ScalingDataLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol/ScalingDataLib.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataReader.sol/CalldataReader.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataReader.sol/CalldataReader.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol/CalldataWriter.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol/CalldataWriter.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/Common.sol/Common.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/Common.sol/Common.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol/DexScaler.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol/DexScaler.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ExecutorReader.sol/ExecutorReader.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ExecutorReader.sol/ExecutorReader.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol/InputScalingHelperL2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol/InputScalingHelperL2.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol/ScalingDataL2Lib.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol/ScalingDataL2Lib.json +2 -2
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol +58 -1
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol +107 -1
- package/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol +14 -0
- package/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol +32 -0
- package/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataReader.sol +6 -0
- package/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol +59 -2
- package/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol +22 -1
- package/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol +24 -0
- package/deployments/1-core.json +1 -1
- package/deployments/10-core.json +1 -1
- package/deployments/42161-core.json +1 -1
- package/deployments/56-core.json +1 -1
- package/package.json +1 -1
- package/typechain-types/IExecutorHelper.ts +273 -0
- package/typechain-types/IExecutorHelperL2.ts +455 -0
- package/typechain-types/factories/IExecutorHelperL2__factory.ts +378 -0
- package/typechain-types/factories/IExecutorHelper__factory.ts +168 -0
- package/typechain-types/factories/PendleSwapL1__factory.ts +1 -1
- package/typechain-types/factories/PendleSwapL2__factory.ts +1 -1
|
@@ -64,6 +64,114 @@ const _abi = [
|
|
|
64
64
|
stateMutability: "payable",
|
|
65
65
|
type: "function",
|
|
66
66
|
},
|
|
67
|
+
{
|
|
68
|
+
inputs: [
|
|
69
|
+
{
|
|
70
|
+
internalType: "uint256",
|
|
71
|
+
name: "index",
|
|
72
|
+
type: "uint256",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
internalType: "bytes",
|
|
76
|
+
name: "data",
|
|
77
|
+
type: "bytes",
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
internalType: "uint256",
|
|
81
|
+
name: "previousAmountOut",
|
|
82
|
+
type: "uint256",
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
internalType: "address",
|
|
86
|
+
name: "tokenIn",
|
|
87
|
+
type: "address",
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
internalType: "bool",
|
|
91
|
+
name: "getPoolOnly",
|
|
92
|
+
type: "bool",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
internalType: "address",
|
|
96
|
+
name: "nextPool",
|
|
97
|
+
type: "address",
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
name: "executeAmbient",
|
|
101
|
+
outputs: [
|
|
102
|
+
{
|
|
103
|
+
internalType: "address",
|
|
104
|
+
name: "tokenOut",
|
|
105
|
+
type: "address",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
internalType: "uint256",
|
|
109
|
+
name: "tokenAmountOut",
|
|
110
|
+
type: "uint256",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
internalType: "address",
|
|
114
|
+
name: "pool",
|
|
115
|
+
type: "address",
|
|
116
|
+
},
|
|
117
|
+
],
|
|
118
|
+
stateMutability: "payable",
|
|
119
|
+
type: "function",
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
inputs: [
|
|
123
|
+
{
|
|
124
|
+
internalType: "uint256",
|
|
125
|
+
name: "index",
|
|
126
|
+
type: "uint256",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
internalType: "bytes",
|
|
130
|
+
name: "data",
|
|
131
|
+
type: "bytes",
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
internalType: "uint256",
|
|
135
|
+
name: "previousAmountOut",
|
|
136
|
+
type: "uint256",
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
internalType: "address",
|
|
140
|
+
name: "tokenIn",
|
|
141
|
+
type: "address",
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
internalType: "bool",
|
|
145
|
+
name: "getPoolOnly",
|
|
146
|
+
type: "bool",
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
internalType: "address",
|
|
150
|
+
name: "nextPool",
|
|
151
|
+
type: "address",
|
|
152
|
+
},
|
|
153
|
+
],
|
|
154
|
+
name: "executeArbswapStable",
|
|
155
|
+
outputs: [
|
|
156
|
+
{
|
|
157
|
+
internalType: "address",
|
|
158
|
+
name: "tokenOut",
|
|
159
|
+
type: "address",
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
internalType: "uint256",
|
|
163
|
+
name: "tokenAmountOut",
|
|
164
|
+
type: "uint256",
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
internalType: "address",
|
|
168
|
+
name: "pool",
|
|
169
|
+
type: "address",
|
|
170
|
+
},
|
|
171
|
+
],
|
|
172
|
+
stateMutability: "payable",
|
|
173
|
+
type: "function",
|
|
174
|
+
},
|
|
67
175
|
{
|
|
68
176
|
inputs: [
|
|
69
177
|
{
|
|
@@ -172,6 +280,168 @@ const _abi = [
|
|
|
172
280
|
stateMutability: "payable",
|
|
173
281
|
type: "function",
|
|
174
282
|
},
|
|
283
|
+
{
|
|
284
|
+
inputs: [
|
|
285
|
+
{
|
|
286
|
+
internalType: "uint256",
|
|
287
|
+
name: "index",
|
|
288
|
+
type: "uint256",
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
internalType: "bytes",
|
|
292
|
+
name: "data",
|
|
293
|
+
type: "bytes",
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
internalType: "uint256",
|
|
297
|
+
name: "previousAmountOut",
|
|
298
|
+
type: "uint256",
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
internalType: "address",
|
|
302
|
+
name: "tokenIn",
|
|
303
|
+
type: "address",
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
internalType: "bool",
|
|
307
|
+
name: "getPoolOnly",
|
|
308
|
+
type: "bool",
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
internalType: "address",
|
|
312
|
+
name: "nextPool",
|
|
313
|
+
type: "address",
|
|
314
|
+
},
|
|
315
|
+
],
|
|
316
|
+
name: "executeBalancerV1",
|
|
317
|
+
outputs: [
|
|
318
|
+
{
|
|
319
|
+
internalType: "address",
|
|
320
|
+
name: "tokenOut",
|
|
321
|
+
type: "address",
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
internalType: "uint256",
|
|
325
|
+
name: "tokenAmountOut",
|
|
326
|
+
type: "uint256",
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
internalType: "address",
|
|
330
|
+
name: "pool",
|
|
331
|
+
type: "address",
|
|
332
|
+
},
|
|
333
|
+
],
|
|
334
|
+
stateMutability: "payable",
|
|
335
|
+
type: "function",
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
inputs: [
|
|
339
|
+
{
|
|
340
|
+
internalType: "uint256",
|
|
341
|
+
name: "index",
|
|
342
|
+
type: "uint256",
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
internalType: "bytes",
|
|
346
|
+
name: "data",
|
|
347
|
+
type: "bytes",
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
internalType: "uint256",
|
|
351
|
+
name: "previousAmountOut",
|
|
352
|
+
type: "uint256",
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
internalType: "address",
|
|
356
|
+
name: "tokenIn",
|
|
357
|
+
type: "address",
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
internalType: "bool",
|
|
361
|
+
name: "getPoolOnly",
|
|
362
|
+
type: "bool",
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
internalType: "address",
|
|
366
|
+
name: "nextPool",
|
|
367
|
+
type: "address",
|
|
368
|
+
},
|
|
369
|
+
],
|
|
370
|
+
name: "executeBancorV2",
|
|
371
|
+
outputs: [
|
|
372
|
+
{
|
|
373
|
+
internalType: "address",
|
|
374
|
+
name: "tokenOut",
|
|
375
|
+
type: "address",
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
internalType: "uint256",
|
|
379
|
+
name: "tokenAmountOut",
|
|
380
|
+
type: "uint256",
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
internalType: "address",
|
|
384
|
+
name: "pool",
|
|
385
|
+
type: "address",
|
|
386
|
+
},
|
|
387
|
+
],
|
|
388
|
+
stateMutability: "payable",
|
|
389
|
+
type: "function",
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
inputs: [
|
|
393
|
+
{
|
|
394
|
+
internalType: "uint256",
|
|
395
|
+
name: "index",
|
|
396
|
+
type: "uint256",
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
internalType: "bytes",
|
|
400
|
+
name: "data",
|
|
401
|
+
type: "bytes",
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
internalType: "uint256",
|
|
405
|
+
name: "previousAmountOut",
|
|
406
|
+
type: "uint256",
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
internalType: "address",
|
|
410
|
+
name: "tokenIn",
|
|
411
|
+
type: "address",
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
internalType: "bool",
|
|
415
|
+
name: "getPoolOnly",
|
|
416
|
+
type: "bool",
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
internalType: "address",
|
|
420
|
+
name: "nextPool",
|
|
421
|
+
type: "address",
|
|
422
|
+
},
|
|
423
|
+
],
|
|
424
|
+
name: "executeBancorV3",
|
|
425
|
+
outputs: [
|
|
426
|
+
{
|
|
427
|
+
internalType: "address",
|
|
428
|
+
name: "tokenOut",
|
|
429
|
+
type: "address",
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
internalType: "uint256",
|
|
433
|
+
name: "tokenAmountOut",
|
|
434
|
+
type: "uint256",
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
internalType: "address",
|
|
438
|
+
name: "pool",
|
|
439
|
+
type: "address",
|
|
440
|
+
},
|
|
441
|
+
],
|
|
442
|
+
stateMutability: "payable",
|
|
443
|
+
type: "function",
|
|
444
|
+
},
|
|
175
445
|
{
|
|
176
446
|
inputs: [
|
|
177
447
|
{
|
|
@@ -928,6 +1198,60 @@ const _abi = [
|
|
|
928
1198
|
stateMutability: "payable",
|
|
929
1199
|
type: "function",
|
|
930
1200
|
},
|
|
1201
|
+
{
|
|
1202
|
+
inputs: [
|
|
1203
|
+
{
|
|
1204
|
+
internalType: "uint256",
|
|
1205
|
+
name: "index",
|
|
1206
|
+
type: "uint256",
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
internalType: "bytes",
|
|
1210
|
+
name: "data",
|
|
1211
|
+
type: "bytes",
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
internalType: "uint256",
|
|
1215
|
+
name: "previousAmountOut",
|
|
1216
|
+
type: "uint256",
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
internalType: "address",
|
|
1220
|
+
name: "tokenIn",
|
|
1221
|
+
type: "address",
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
internalType: "bool",
|
|
1225
|
+
name: "getPoolOnly",
|
|
1226
|
+
type: "bool",
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
internalType: "address",
|
|
1230
|
+
name: "nextPool",
|
|
1231
|
+
type: "address",
|
|
1232
|
+
},
|
|
1233
|
+
],
|
|
1234
|
+
name: "executeNomiswapStable",
|
|
1235
|
+
outputs: [
|
|
1236
|
+
{
|
|
1237
|
+
internalType: "address",
|
|
1238
|
+
name: "tokenOut",
|
|
1239
|
+
type: "address",
|
|
1240
|
+
},
|
|
1241
|
+
{
|
|
1242
|
+
internalType: "uint256",
|
|
1243
|
+
name: "tokenAmountOut",
|
|
1244
|
+
type: "uint256",
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
internalType: "address",
|
|
1248
|
+
name: "pool",
|
|
1249
|
+
type: "address",
|
|
1250
|
+
},
|
|
1251
|
+
],
|
|
1252
|
+
stateMutability: "payable",
|
|
1253
|
+
type: "function",
|
|
1254
|
+
},
|
|
931
1255
|
{
|
|
932
1256
|
inputs: [
|
|
933
1257
|
{
|
|
@@ -1306,6 +1630,60 @@ const _abi = [
|
|
|
1306
1630
|
stateMutability: "payable",
|
|
1307
1631
|
type: "function",
|
|
1308
1632
|
},
|
|
1633
|
+
{
|
|
1634
|
+
inputs: [
|
|
1635
|
+
{
|
|
1636
|
+
internalType: "uint256",
|
|
1637
|
+
name: "index",
|
|
1638
|
+
type: "uint256",
|
|
1639
|
+
},
|
|
1640
|
+
{
|
|
1641
|
+
internalType: "bytes",
|
|
1642
|
+
name: "data",
|
|
1643
|
+
type: "bytes",
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
internalType: "uint256",
|
|
1647
|
+
name: "previousAmountOut",
|
|
1648
|
+
type: "uint256",
|
|
1649
|
+
},
|
|
1650
|
+
{
|
|
1651
|
+
internalType: "address",
|
|
1652
|
+
name: "tokenIn",
|
|
1653
|
+
type: "address",
|
|
1654
|
+
},
|
|
1655
|
+
{
|
|
1656
|
+
internalType: "bool",
|
|
1657
|
+
name: "getPoolOnly",
|
|
1658
|
+
type: "bool",
|
|
1659
|
+
},
|
|
1660
|
+
{
|
|
1661
|
+
internalType: "address",
|
|
1662
|
+
name: "nextPool",
|
|
1663
|
+
type: "address",
|
|
1664
|
+
},
|
|
1665
|
+
],
|
|
1666
|
+
name: "executeSwaapV2",
|
|
1667
|
+
outputs: [
|
|
1668
|
+
{
|
|
1669
|
+
internalType: "address",
|
|
1670
|
+
name: "tokenOut",
|
|
1671
|
+
type: "address",
|
|
1672
|
+
},
|
|
1673
|
+
{
|
|
1674
|
+
internalType: "uint256",
|
|
1675
|
+
name: "tokenAmountOut",
|
|
1676
|
+
type: "uint256",
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
internalType: "address",
|
|
1680
|
+
name: "pool",
|
|
1681
|
+
type: "address",
|
|
1682
|
+
},
|
|
1683
|
+
],
|
|
1684
|
+
stateMutability: "payable",
|
|
1685
|
+
type: "function",
|
|
1686
|
+
},
|
|
1309
1687
|
{
|
|
1310
1688
|
inputs: [
|
|
1311
1689
|
{
|
|
@@ -34,6 +34,54 @@ const _abi = [
|
|
|
34
34
|
stateMutability: "payable",
|
|
35
35
|
type: "function",
|
|
36
36
|
},
|
|
37
|
+
{
|
|
38
|
+
inputs: [
|
|
39
|
+
{
|
|
40
|
+
internalType: "bytes",
|
|
41
|
+
name: "data",
|
|
42
|
+
type: "bytes",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
internalType: "uint256",
|
|
46
|
+
name: "flagsAndPrevAmountOut",
|
|
47
|
+
type: "uint256",
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
name: "executeAmbient",
|
|
51
|
+
outputs: [
|
|
52
|
+
{
|
|
53
|
+
internalType: "uint256",
|
|
54
|
+
name: "",
|
|
55
|
+
type: "uint256",
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
stateMutability: "payable",
|
|
59
|
+
type: "function",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
inputs: [
|
|
63
|
+
{
|
|
64
|
+
internalType: "bytes",
|
|
65
|
+
name: "data",
|
|
66
|
+
type: "bytes",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
internalType: "uint256",
|
|
70
|
+
name: "flagsAndPrevAmountOut",
|
|
71
|
+
type: "uint256",
|
|
72
|
+
},
|
|
73
|
+
],
|
|
74
|
+
name: "executeArbswapStable",
|
|
75
|
+
outputs: [
|
|
76
|
+
{
|
|
77
|
+
internalType: "uint256",
|
|
78
|
+
name: "",
|
|
79
|
+
type: "uint256",
|
|
80
|
+
},
|
|
81
|
+
],
|
|
82
|
+
stateMutability: "payable",
|
|
83
|
+
type: "function",
|
|
84
|
+
},
|
|
37
85
|
{
|
|
38
86
|
inputs: [
|
|
39
87
|
{
|
|
@@ -82,6 +130,78 @@ const _abi = [
|
|
|
82
130
|
stateMutability: "payable",
|
|
83
131
|
type: "function",
|
|
84
132
|
},
|
|
133
|
+
{
|
|
134
|
+
inputs: [
|
|
135
|
+
{
|
|
136
|
+
internalType: "bytes",
|
|
137
|
+
name: "data",
|
|
138
|
+
type: "bytes",
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
internalType: "uint256",
|
|
142
|
+
name: "flagsAndPrevAmountOut",
|
|
143
|
+
type: "uint256",
|
|
144
|
+
},
|
|
145
|
+
],
|
|
146
|
+
name: "executeBalancerV1",
|
|
147
|
+
outputs: [
|
|
148
|
+
{
|
|
149
|
+
internalType: "uint256",
|
|
150
|
+
name: "",
|
|
151
|
+
type: "uint256",
|
|
152
|
+
},
|
|
153
|
+
],
|
|
154
|
+
stateMutability: "payable",
|
|
155
|
+
type: "function",
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
inputs: [
|
|
159
|
+
{
|
|
160
|
+
internalType: "bytes",
|
|
161
|
+
name: "data",
|
|
162
|
+
type: "bytes",
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
internalType: "uint256",
|
|
166
|
+
name: "flagsAndPrevAmountOut",
|
|
167
|
+
type: "uint256",
|
|
168
|
+
},
|
|
169
|
+
],
|
|
170
|
+
name: "executeBancorV2",
|
|
171
|
+
outputs: [
|
|
172
|
+
{
|
|
173
|
+
internalType: "uint256",
|
|
174
|
+
name: "",
|
|
175
|
+
type: "uint256",
|
|
176
|
+
},
|
|
177
|
+
],
|
|
178
|
+
stateMutability: "payable",
|
|
179
|
+
type: "function",
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
inputs: [
|
|
183
|
+
{
|
|
184
|
+
internalType: "bytes",
|
|
185
|
+
name: "data",
|
|
186
|
+
type: "bytes",
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
internalType: "uint256",
|
|
190
|
+
name: "flagsAndPrevAmountOut",
|
|
191
|
+
type: "uint256",
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
name: "executeBancorV3",
|
|
195
|
+
outputs: [
|
|
196
|
+
{
|
|
197
|
+
internalType: "uint256",
|
|
198
|
+
name: "",
|
|
199
|
+
type: "uint256",
|
|
200
|
+
},
|
|
201
|
+
],
|
|
202
|
+
stateMutability: "payable",
|
|
203
|
+
type: "function",
|
|
204
|
+
},
|
|
85
205
|
{
|
|
86
206
|
inputs: [
|
|
87
207
|
{
|
|
@@ -442,6 +562,30 @@ const _abi = [
|
|
|
442
562
|
stateMutability: "payable",
|
|
443
563
|
type: "function",
|
|
444
564
|
},
|
|
565
|
+
{
|
|
566
|
+
inputs: [
|
|
567
|
+
{
|
|
568
|
+
internalType: "bytes",
|
|
569
|
+
name: "data",
|
|
570
|
+
type: "bytes",
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
internalType: "uint256",
|
|
574
|
+
name: "flagsAndPrevAmountOut",
|
|
575
|
+
type: "uint256",
|
|
576
|
+
},
|
|
577
|
+
],
|
|
578
|
+
name: "executeNomiswapStable",
|
|
579
|
+
outputs: [
|
|
580
|
+
{
|
|
581
|
+
internalType: "uint256",
|
|
582
|
+
name: "",
|
|
583
|
+
type: "uint256",
|
|
584
|
+
},
|
|
585
|
+
],
|
|
586
|
+
stateMutability: "payable",
|
|
587
|
+
type: "function",
|
|
588
|
+
},
|
|
445
589
|
{
|
|
446
590
|
inputs: [
|
|
447
591
|
{
|
|
@@ -634,6 +778,30 @@ const _abi = [
|
|
|
634
778
|
stateMutability: "payable",
|
|
635
779
|
type: "function",
|
|
636
780
|
},
|
|
781
|
+
{
|
|
782
|
+
inputs: [
|
|
783
|
+
{
|
|
784
|
+
internalType: "bytes",
|
|
785
|
+
name: "data",
|
|
786
|
+
type: "bytes",
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
internalType: "uint256",
|
|
790
|
+
name: "flagsAndPrevAmountOut",
|
|
791
|
+
type: "uint256",
|
|
792
|
+
},
|
|
793
|
+
],
|
|
794
|
+
name: "executeSwaapV2",
|
|
795
|
+
outputs: [
|
|
796
|
+
{
|
|
797
|
+
internalType: "uint256",
|
|
798
|
+
name: "",
|
|
799
|
+
type: "uint256",
|
|
800
|
+
},
|
|
801
|
+
],
|
|
802
|
+
stateMutability: "payable",
|
|
803
|
+
type: "function",
|
|
804
|
+
},
|
|
637
805
|
{
|
|
638
806
|
inputs: [
|
|
639
807
|
{
|