@pendle/core-v2 4.0.5 → 4.1.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/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleAaveV3SY.sol/PendleAaveV3SY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleAaveV3SY.sol/PendleAaveV3SY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthSY.sol/PendleWEEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthSY.sol/PendleWEEthSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/KelpDAO/PendleRsETHSY.sol/PendleRsETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/KelpDAO/PendleRsETHSY.sol/PendleRsETHSY.json +20 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleL2LRTSY.sol/PendleL2LRTSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleL2LRTSY.sol/PendleL2LRTSY.json +1054 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHSY.sol/PendleEzETHSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHSY.sol/PendleEzETHSY.json +1141 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleRswETHSY.sol/PendleRswETHSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleRswETHSY.sol/PendleRswETHSY.json +1044 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.json +2 -2
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.json +0 -45
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.json +0 -69
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.json +0 -26
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +0 -140
- package/build/artifacts/contracts/interfaces/Renzo/IRenzoOracle.sol/IRenzoOracle.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Renzo/IRenzoOracle.sol/IRenzoOracle.json +64 -0
- package/build/artifacts/contracts/interfaces/Renzo/IRenzoRestakeManager.sol/IRenzoRestakeManager.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Renzo/IRenzoRestakeManager.sol/IRenzoRestakeManager.json +102 -0
- package/build/artifacts/contracts/interfaces/Swell/IRswETH.sol/IRswETH.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Swell/IRswETH.sol/IRswETH.json +44 -0
- package/build/artifacts/contracts/interfaces/Swell/ISwETH.sol/ISwETH.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{ISwETH.sol → Swell/ISwETH.sol}/ISwETH.json +8 -8
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +30 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +307 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +409 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +1352 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +247 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +202 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +93 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.json +10 -0
- package/build/artifacts/contracts/oracles/PendleRedStoneRateOracle.sol/PendleRedStoneRateOracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/PendleRedStoneRateOracle.sol/PendleRedStoneRateOracle.json +66 -0
- 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/core/StandardizedYield/implementations/AaveV3/PendleAaveV3SY.sol +1 -1
- package/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthSY.sol +1 -1
- package/contracts/core/StandardizedYield/implementations/KelpDAO/PendleRsETHSY.sol +18 -9
- package/contracts/core/StandardizedYield/implementations/PendleL2LRTSY.sol +93 -0
- package/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHSY.sol +139 -0
- package/contracts/core/StandardizedYield/implementations/Swell/PendleRswETHSY.sol +101 -0
- package/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol +1 -1
- package/contracts/interfaces/IPActionMarketCoreStatic.sol +8 -17
- package/contracts/interfaces/IPActionMintRedeemStatic.sol +4 -16
- package/contracts/interfaces/IPActionStorageStatic.sol +0 -4
- package/contracts/interfaces/Renzo/IRenzoOracle.sol +8 -0
- package/contracts/interfaces/Renzo/IRenzoRestakeManager.sol +14 -0
- package/contracts/interfaces/Swell/IRswETH.sol +10 -0
- package/contracts/interfaces/{ISwETH.sol → Swell/ISwETH.sol} +2 -2
- package/contracts/offchain-helpers/router-static/PendleRouterStatic.sol +19 -0
- package/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol +109 -0
- package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +182 -0
- package/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol +672 -0
- package/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol +116 -0
- package/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol +64 -0
- package/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol +55 -0
- package/contracts/offchain-helpers/router-static/base/StorageLayout.sol +20 -0
- package/contracts/oracles/PendleRedStoneRateOracle.sol +23 -0
- 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/1-markets/EZETH-JUNE2024.json +11 -0
- package/deployments/1-markets/RSETH-KELP-JUNE2024.json +11 -0
- package/deployments/10-core.json +1 -1
- package/deployments/42161-core.json +1 -1
- package/deployments/42161-markets/RSETH-APR2024-ARBITRUM.json +11 -0
- package/deployments/42161-markets/WEETH-APR2024.json +11 -0
- package/deployments/56-core.json +1 -1
- package/deployments/merkle-distribution/2024-01-25.json +9615 -0
- package/package.json +1 -1
- package/typechain-types/IExecutorHelper.ts +273 -0
- package/typechain-types/IExecutorHelperL2.ts +455 -0
- package/typechain-types/IPActionMarketCoreStatic.ts +18 -63
- package/typechain-types/IPActionMintRedeemStatic.ts +10 -102
- package/typechain-types/IPActionStorageStatic.ts +0 -55
- package/typechain-types/IPRouterStatic.ts +28 -220
- package/typechain-types/IRenzoOracle.ts +152 -0
- package/typechain-types/IRenzoRestakeManager.ts +219 -0
- package/typechain-types/IRswETH.ts +138 -0
- package/typechain-types/ISwETH.ts +24 -9
- package/typechain-types/PendleEzETHSY.ts +1471 -0
- package/typechain-types/PendleL2LRTSY.ts +1323 -0
- package/typechain-types/PendleRedStoneRateOracle.ts +113 -0
- package/typechain-types/PendleRsETHSY.ts +21 -0
- package/typechain-types/PendleRswETHSY.ts +1294 -0
- package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/IExecutorHelperL2__factory.ts +378 -0
- package/typechain-types/factories/IExecutorHelper__factory.ts +168 -0
- package/typechain-types/factories/IPActionMarketCoreStatic__factory.ts +0 -45
- package/typechain-types/factories/IPActionMintRedeemStatic__factory.ts +0 -69
- package/typechain-types/factories/IPActionStorageStatic__factory.ts +0 -26
- package/typechain-types/factories/IPRouterStatic__factory.ts +0 -140
- package/typechain-types/factories/IRenzoOracle__factory.ts +76 -0
- package/typechain-types/factories/IRenzoRestakeManager__factory.ts +121 -0
- package/typechain-types/factories/IRswETH__factory.ts +56 -0
- package/typechain-types/factories/ISwETH__factory.ts +7 -7
- package/typechain-types/factories/PendleAaveV3SY__factory.ts +1 -1
- package/typechain-types/factories/PendleEzETHSY__factory.ts +1218 -0
- package/typechain-types/factories/PendleL2LRTSY__factory.ts +1139 -0
- package/typechain-types/factories/PendleRedStoneRateOracle__factory.ts +142 -0
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRsETHSY__factory.ts +23 -1
- package/typechain-types/factories/PendleRswETHSY__factory.ts +1117 -0
- package/typechain-types/factories/PendleSwapL1__factory.ts +1 -1
- package/typechain-types/factories/PendleSwapL2__factory.ts +1 -1
- package/typechain-types/factories/PendleWEEthSY__factory.ts +1 -1
- package/typechain-types/factories/SwETHSY__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +135 -0
- package/typechain-types/index.ts +28 -0
- package/build/artifacts/contracts/interfaces/ISwETH.sol/ISwETH.dbg.json +0 -4
|
@@ -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
|
{
|
|
@@ -66,11 +66,6 @@ const _abi = [
|
|
|
66
66
|
name: "netTokenDesired",
|
|
67
67
|
type: "uint256",
|
|
68
68
|
},
|
|
69
|
-
{
|
|
70
|
-
internalType: "address",
|
|
71
|
-
name: "bulk",
|
|
72
|
-
type: "address",
|
|
73
|
-
},
|
|
74
69
|
{
|
|
75
70
|
internalType: "uint256",
|
|
76
71
|
name: "netPtDesired",
|
|
@@ -257,11 +252,6 @@ const _abi = [
|
|
|
257
252
|
name: "netTokenIn",
|
|
258
253
|
type: "uint256",
|
|
259
254
|
},
|
|
260
|
-
{
|
|
261
|
-
internalType: "address",
|
|
262
|
-
name: "bulk",
|
|
263
|
-
type: "address",
|
|
264
|
-
},
|
|
265
255
|
],
|
|
266
256
|
name: "addLiquiditySingleTokenKeepYtStatic",
|
|
267
257
|
outputs: [
|
|
@@ -306,11 +296,6 @@ const _abi = [
|
|
|
306
296
|
name: "netTokenIn",
|
|
307
297
|
type: "uint256",
|
|
308
298
|
},
|
|
309
|
-
{
|
|
310
|
-
internalType: "address",
|
|
311
|
-
name: "bulk",
|
|
312
|
-
type: "address",
|
|
313
|
-
},
|
|
314
299
|
],
|
|
315
300
|
name: "addLiquiditySingleTokenStatic",
|
|
316
301
|
outputs: [
|
|
@@ -399,11 +384,6 @@ const _abi = [
|
|
|
399
384
|
name: "tokenOut",
|
|
400
385
|
type: "address",
|
|
401
386
|
},
|
|
402
|
-
{
|
|
403
|
-
internalType: "address",
|
|
404
|
-
name: "bulk",
|
|
405
|
-
type: "address",
|
|
406
|
-
},
|
|
407
387
|
],
|
|
408
388
|
name: "removeLiquidityDualTokenAndPtStatic",
|
|
409
389
|
outputs: [
|
|
@@ -551,11 +531,6 @@ const _abi = [
|
|
|
551
531
|
name: "tokenOut",
|
|
552
532
|
type: "address",
|
|
553
533
|
},
|
|
554
|
-
{
|
|
555
|
-
internalType: "address",
|
|
556
|
-
name: "bulk",
|
|
557
|
-
type: "address",
|
|
558
|
-
},
|
|
559
534
|
],
|
|
560
535
|
name: "removeLiquiditySingleTokenStatic",
|
|
561
536
|
outputs: [
|
|
@@ -659,11 +634,6 @@ const _abi = [
|
|
|
659
634
|
name: "tokenOut",
|
|
660
635
|
type: "address",
|
|
661
636
|
},
|
|
662
|
-
{
|
|
663
|
-
internalType: "address",
|
|
664
|
-
name: "bulk",
|
|
665
|
-
type: "address",
|
|
666
|
-
},
|
|
667
637
|
],
|
|
668
638
|
name: "swapExactPtForTokenStatic",
|
|
669
639
|
outputs: [
|
|
@@ -835,11 +805,6 @@ const _abi = [
|
|
|
835
805
|
name: "amountTokenIn",
|
|
836
806
|
type: "uint256",
|
|
837
807
|
},
|
|
838
|
-
{
|
|
839
|
-
internalType: "address",
|
|
840
|
-
name: "bulk",
|
|
841
|
-
type: "address",
|
|
842
|
-
},
|
|
843
808
|
],
|
|
844
809
|
name: "swapExactTokenForPtStatic",
|
|
845
810
|
outputs: [
|
|
@@ -889,11 +854,6 @@ const _abi = [
|
|
|
889
854
|
name: "amountTokenIn",
|
|
890
855
|
type: "uint256",
|
|
891
856
|
},
|
|
892
|
-
{
|
|
893
|
-
internalType: "address",
|
|
894
|
-
name: "bulk",
|
|
895
|
-
type: "address",
|
|
896
|
-
},
|
|
897
857
|
],
|
|
898
858
|
name: "swapExactTokenForYtStatic",
|
|
899
859
|
outputs: [
|
|
@@ -1041,11 +1001,6 @@ const _abi = [
|
|
|
1041
1001
|
name: "tokenOut",
|
|
1042
1002
|
type: "address",
|
|
1043
1003
|
},
|
|
1044
|
-
{
|
|
1045
|
-
internalType: "address",
|
|
1046
|
-
name: "bulk",
|
|
1047
|
-
type: "address",
|
|
1048
|
-
},
|
|
1049
1004
|
],
|
|
1050
1005
|
name: "swapExactYtForTokenStatic",
|
|
1051
1006
|
outputs: [
|