@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
|
@@ -57,6 +57,114 @@
|
|
|
57
57
|
"stateMutability": "payable",
|
|
58
58
|
"type": "function"
|
|
59
59
|
},
|
|
60
|
+
{
|
|
61
|
+
"inputs": [
|
|
62
|
+
{
|
|
63
|
+
"internalType": "uint256",
|
|
64
|
+
"name": "index",
|
|
65
|
+
"type": "uint256"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"internalType": "bytes",
|
|
69
|
+
"name": "data",
|
|
70
|
+
"type": "bytes"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"internalType": "uint256",
|
|
74
|
+
"name": "previousAmountOut",
|
|
75
|
+
"type": "uint256"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"internalType": "address",
|
|
79
|
+
"name": "tokenIn",
|
|
80
|
+
"type": "address"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"internalType": "bool",
|
|
84
|
+
"name": "getPoolOnly",
|
|
85
|
+
"type": "bool"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"internalType": "address",
|
|
89
|
+
"name": "nextPool",
|
|
90
|
+
"type": "address"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"name": "executeAmbient",
|
|
94
|
+
"outputs": [
|
|
95
|
+
{
|
|
96
|
+
"internalType": "address",
|
|
97
|
+
"name": "tokenOut",
|
|
98
|
+
"type": "address"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"internalType": "uint256",
|
|
102
|
+
"name": "tokenAmountOut",
|
|
103
|
+
"type": "uint256"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"internalType": "address",
|
|
107
|
+
"name": "pool",
|
|
108
|
+
"type": "address"
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"stateMutability": "payable",
|
|
112
|
+
"type": "function"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"inputs": [
|
|
116
|
+
{
|
|
117
|
+
"internalType": "uint256",
|
|
118
|
+
"name": "index",
|
|
119
|
+
"type": "uint256"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"internalType": "bytes",
|
|
123
|
+
"name": "data",
|
|
124
|
+
"type": "bytes"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"internalType": "uint256",
|
|
128
|
+
"name": "previousAmountOut",
|
|
129
|
+
"type": "uint256"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"internalType": "address",
|
|
133
|
+
"name": "tokenIn",
|
|
134
|
+
"type": "address"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"internalType": "bool",
|
|
138
|
+
"name": "getPoolOnly",
|
|
139
|
+
"type": "bool"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"internalType": "address",
|
|
143
|
+
"name": "nextPool",
|
|
144
|
+
"type": "address"
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"name": "executeArbswapStable",
|
|
148
|
+
"outputs": [
|
|
149
|
+
{
|
|
150
|
+
"internalType": "address",
|
|
151
|
+
"name": "tokenOut",
|
|
152
|
+
"type": "address"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"internalType": "uint256",
|
|
156
|
+
"name": "tokenAmountOut",
|
|
157
|
+
"type": "uint256"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"internalType": "address",
|
|
161
|
+
"name": "pool",
|
|
162
|
+
"type": "address"
|
|
163
|
+
}
|
|
164
|
+
],
|
|
165
|
+
"stateMutability": "payable",
|
|
166
|
+
"type": "function"
|
|
167
|
+
},
|
|
60
168
|
{
|
|
61
169
|
"inputs": [
|
|
62
170
|
{
|
|
@@ -165,6 +273,168 @@
|
|
|
165
273
|
"stateMutability": "payable",
|
|
166
274
|
"type": "function"
|
|
167
275
|
},
|
|
276
|
+
{
|
|
277
|
+
"inputs": [
|
|
278
|
+
{
|
|
279
|
+
"internalType": "uint256",
|
|
280
|
+
"name": "index",
|
|
281
|
+
"type": "uint256"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"internalType": "bytes",
|
|
285
|
+
"name": "data",
|
|
286
|
+
"type": "bytes"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"internalType": "uint256",
|
|
290
|
+
"name": "previousAmountOut",
|
|
291
|
+
"type": "uint256"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"internalType": "address",
|
|
295
|
+
"name": "tokenIn",
|
|
296
|
+
"type": "address"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"internalType": "bool",
|
|
300
|
+
"name": "getPoolOnly",
|
|
301
|
+
"type": "bool"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"internalType": "address",
|
|
305
|
+
"name": "nextPool",
|
|
306
|
+
"type": "address"
|
|
307
|
+
}
|
|
308
|
+
],
|
|
309
|
+
"name": "executeBalancerV1",
|
|
310
|
+
"outputs": [
|
|
311
|
+
{
|
|
312
|
+
"internalType": "address",
|
|
313
|
+
"name": "tokenOut",
|
|
314
|
+
"type": "address"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"internalType": "uint256",
|
|
318
|
+
"name": "tokenAmountOut",
|
|
319
|
+
"type": "uint256"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"internalType": "address",
|
|
323
|
+
"name": "pool",
|
|
324
|
+
"type": "address"
|
|
325
|
+
}
|
|
326
|
+
],
|
|
327
|
+
"stateMutability": "payable",
|
|
328
|
+
"type": "function"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"inputs": [
|
|
332
|
+
{
|
|
333
|
+
"internalType": "uint256",
|
|
334
|
+
"name": "index",
|
|
335
|
+
"type": "uint256"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"internalType": "bytes",
|
|
339
|
+
"name": "data",
|
|
340
|
+
"type": "bytes"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"internalType": "uint256",
|
|
344
|
+
"name": "previousAmountOut",
|
|
345
|
+
"type": "uint256"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"internalType": "address",
|
|
349
|
+
"name": "tokenIn",
|
|
350
|
+
"type": "address"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"internalType": "bool",
|
|
354
|
+
"name": "getPoolOnly",
|
|
355
|
+
"type": "bool"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"internalType": "address",
|
|
359
|
+
"name": "nextPool",
|
|
360
|
+
"type": "address"
|
|
361
|
+
}
|
|
362
|
+
],
|
|
363
|
+
"name": "executeBancorV2",
|
|
364
|
+
"outputs": [
|
|
365
|
+
{
|
|
366
|
+
"internalType": "address",
|
|
367
|
+
"name": "tokenOut",
|
|
368
|
+
"type": "address"
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"internalType": "uint256",
|
|
372
|
+
"name": "tokenAmountOut",
|
|
373
|
+
"type": "uint256"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"internalType": "address",
|
|
377
|
+
"name": "pool",
|
|
378
|
+
"type": "address"
|
|
379
|
+
}
|
|
380
|
+
],
|
|
381
|
+
"stateMutability": "payable",
|
|
382
|
+
"type": "function"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"inputs": [
|
|
386
|
+
{
|
|
387
|
+
"internalType": "uint256",
|
|
388
|
+
"name": "index",
|
|
389
|
+
"type": "uint256"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"internalType": "bytes",
|
|
393
|
+
"name": "data",
|
|
394
|
+
"type": "bytes"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"internalType": "uint256",
|
|
398
|
+
"name": "previousAmountOut",
|
|
399
|
+
"type": "uint256"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"internalType": "address",
|
|
403
|
+
"name": "tokenIn",
|
|
404
|
+
"type": "address"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"internalType": "bool",
|
|
408
|
+
"name": "getPoolOnly",
|
|
409
|
+
"type": "bool"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"internalType": "address",
|
|
413
|
+
"name": "nextPool",
|
|
414
|
+
"type": "address"
|
|
415
|
+
}
|
|
416
|
+
],
|
|
417
|
+
"name": "executeBancorV3",
|
|
418
|
+
"outputs": [
|
|
419
|
+
{
|
|
420
|
+
"internalType": "address",
|
|
421
|
+
"name": "tokenOut",
|
|
422
|
+
"type": "address"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"internalType": "uint256",
|
|
426
|
+
"name": "tokenAmountOut",
|
|
427
|
+
"type": "uint256"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"internalType": "address",
|
|
431
|
+
"name": "pool",
|
|
432
|
+
"type": "address"
|
|
433
|
+
}
|
|
434
|
+
],
|
|
435
|
+
"stateMutability": "payable",
|
|
436
|
+
"type": "function"
|
|
437
|
+
},
|
|
168
438
|
{
|
|
169
439
|
"inputs": [
|
|
170
440
|
{
|
|
@@ -921,6 +1191,60 @@
|
|
|
921
1191
|
"stateMutability": "payable",
|
|
922
1192
|
"type": "function"
|
|
923
1193
|
},
|
|
1194
|
+
{
|
|
1195
|
+
"inputs": [
|
|
1196
|
+
{
|
|
1197
|
+
"internalType": "uint256",
|
|
1198
|
+
"name": "index",
|
|
1199
|
+
"type": "uint256"
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
"internalType": "bytes",
|
|
1203
|
+
"name": "data",
|
|
1204
|
+
"type": "bytes"
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
"internalType": "uint256",
|
|
1208
|
+
"name": "previousAmountOut",
|
|
1209
|
+
"type": "uint256"
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
"internalType": "address",
|
|
1213
|
+
"name": "tokenIn",
|
|
1214
|
+
"type": "address"
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
"internalType": "bool",
|
|
1218
|
+
"name": "getPoolOnly",
|
|
1219
|
+
"type": "bool"
|
|
1220
|
+
},
|
|
1221
|
+
{
|
|
1222
|
+
"internalType": "address",
|
|
1223
|
+
"name": "nextPool",
|
|
1224
|
+
"type": "address"
|
|
1225
|
+
}
|
|
1226
|
+
],
|
|
1227
|
+
"name": "executeNomiswapStable",
|
|
1228
|
+
"outputs": [
|
|
1229
|
+
{
|
|
1230
|
+
"internalType": "address",
|
|
1231
|
+
"name": "tokenOut",
|
|
1232
|
+
"type": "address"
|
|
1233
|
+
},
|
|
1234
|
+
{
|
|
1235
|
+
"internalType": "uint256",
|
|
1236
|
+
"name": "tokenAmountOut",
|
|
1237
|
+
"type": "uint256"
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
"internalType": "address",
|
|
1241
|
+
"name": "pool",
|
|
1242
|
+
"type": "address"
|
|
1243
|
+
}
|
|
1244
|
+
],
|
|
1245
|
+
"stateMutability": "payable",
|
|
1246
|
+
"type": "function"
|
|
1247
|
+
},
|
|
924
1248
|
{
|
|
925
1249
|
"inputs": [
|
|
926
1250
|
{
|
|
@@ -1299,6 +1623,60 @@
|
|
|
1299
1623
|
"stateMutability": "payable",
|
|
1300
1624
|
"type": "function"
|
|
1301
1625
|
},
|
|
1626
|
+
{
|
|
1627
|
+
"inputs": [
|
|
1628
|
+
{
|
|
1629
|
+
"internalType": "uint256",
|
|
1630
|
+
"name": "index",
|
|
1631
|
+
"type": "uint256"
|
|
1632
|
+
},
|
|
1633
|
+
{
|
|
1634
|
+
"internalType": "bytes",
|
|
1635
|
+
"name": "data",
|
|
1636
|
+
"type": "bytes"
|
|
1637
|
+
},
|
|
1638
|
+
{
|
|
1639
|
+
"internalType": "uint256",
|
|
1640
|
+
"name": "previousAmountOut",
|
|
1641
|
+
"type": "uint256"
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
"internalType": "address",
|
|
1645
|
+
"name": "tokenIn",
|
|
1646
|
+
"type": "address"
|
|
1647
|
+
},
|
|
1648
|
+
{
|
|
1649
|
+
"internalType": "bool",
|
|
1650
|
+
"name": "getPoolOnly",
|
|
1651
|
+
"type": "bool"
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
"internalType": "address",
|
|
1655
|
+
"name": "nextPool",
|
|
1656
|
+
"type": "address"
|
|
1657
|
+
}
|
|
1658
|
+
],
|
|
1659
|
+
"name": "executeSwaapV2",
|
|
1660
|
+
"outputs": [
|
|
1661
|
+
{
|
|
1662
|
+
"internalType": "address",
|
|
1663
|
+
"name": "tokenOut",
|
|
1664
|
+
"type": "address"
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
"internalType": "uint256",
|
|
1668
|
+
"name": "tokenAmountOut",
|
|
1669
|
+
"type": "uint256"
|
|
1670
|
+
},
|
|
1671
|
+
{
|
|
1672
|
+
"internalType": "address",
|
|
1673
|
+
"name": "pool",
|
|
1674
|
+
"type": "address"
|
|
1675
|
+
}
|
|
1676
|
+
],
|
|
1677
|
+
"stateMutability": "payable",
|
|
1678
|
+
"type": "function"
|
|
1679
|
+
},
|
|
1302
1680
|
{
|
|
1303
1681
|
"inputs": [
|
|
1304
1682
|
{
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "InputScalingHelper",
|
|
4
4
|
"sourceName": "contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122058aa87ecc20299e3e473d60f4a446a99f345d4fec901c79fc9e3e69f258a334964736f6c63430008170033",
|
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122058aa87ecc20299e3e473d60f4a446a99f345d4fec901c79fc9e3e69f258a334964736f6c63430008170033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "ScalingDataLib",
|
|
4
4
|
"sourceName": "contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209e3d0a6256704ee99fe5513ee0d8e146713bff22714aa0cf05a52824ac828f8164736f6c63430008170033",
|
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209e3d0a6256704ee99fe5513ee0d8e146713bff22714aa0cf05a52824ac828f8164736f6c63430008170033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "CalldataReader",
|
|
4
4
|
"sourceName": "contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataReader.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122053a901f49374423625e516451172aa7231de49836f74c1ae7c889cde1227cc6d64736f6c63430008170033",
|
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122053a901f49374423625e516451172aa7231de49836f74c1ae7c889cde1227cc6d64736f6c63430008170033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "CalldataWriter",
|
|
4
4
|
"sourceName": "contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220491a36c68be05fa7816bde0c064213a4990946697841e8a1466ffc91113d174364736f6c63430008170033",
|
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220491a36c68be05fa7816bde0c064213a4990946697841e8a1466ffc91113d174364736f6c63430008170033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "Common",
|
|
4
4
|
"sourceName": "contracts/router/swap-aggregator/kyberswap/l2-contracts/Common.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a2398688cb6ce66071b05f54aceb2b6d16b9a464263b58844abfa687af04398464736f6c63430008170033",
|
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a2398688cb6ce66071b05f54aceb2b6d16b9a464263b58844abfa687af04398464736f6c63430008170033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "DexScaler",
|
|
4
4
|
"sourceName": "contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220ede201d2f10f74c03e0b54aeaf57846c52f9239ab70916c96f88c20dbc21977164736f6c63430008170033",
|
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220ede201d2f10f74c03e0b54aeaf57846c52f9239ab70916c96f88c20dbc21977164736f6c63430008170033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "ExecutorReader",
|
|
4
4
|
"sourceName": "contracts/router/swap-aggregator/kyberswap/l2-contracts/ExecutorReader.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122036695027e4a4b14f8ce71631413a27bd798b6b7a90fc1da5814325716bf8c8e464736f6c63430008170033",
|
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122036695027e4a4b14f8ce71631413a27bd798b6b7a90fc1da5814325716bf8c8e464736f6c63430008170033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "InputScalingHelperL2",
|
|
4
4
|
"sourceName": "contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122037e76b2342f9c8eaf35d54f232e3bbd80592c36511f5c2d612c86254f97e237e64736f6c63430008170033",
|
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122037e76b2342f9c8eaf35d54f232e3bbd80592c36511f5c2d612c86254f97e237e64736f6c63430008170033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "ScalingDataL2Lib",
|
|
4
4
|
"sourceName": "contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220611f55333375518313d78f0bd8536bec1280beb253b4cb7d6b962731e3e57bb064736f6c63430008170033",
|
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220611f55333375518313d78f0bd8536bec1280beb253b4cb7d6b962731e3e57bb064736f6c63430008170033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|