@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
|
@@ -22,11 +22,6 @@ const _abi = [
|
|
|
22
22
|
name: "tokenIn",
|
|
23
23
|
type: "address",
|
|
24
24
|
},
|
|
25
|
-
{
|
|
26
|
-
internalType: "address",
|
|
27
|
-
name: "bulk",
|
|
28
|
-
type: "address",
|
|
29
|
-
},
|
|
30
25
|
{
|
|
31
26
|
internalType: "uint256",
|
|
32
27
|
name: "netSyOut",
|
|
@@ -44,50 +39,6 @@ const _abi = [
|
|
|
44
39
|
stateMutability: "view",
|
|
45
40
|
type: "function",
|
|
46
41
|
},
|
|
47
|
-
{
|
|
48
|
-
inputs: [
|
|
49
|
-
{
|
|
50
|
-
internalType: "address",
|
|
51
|
-
name: "token",
|
|
52
|
-
type: "address",
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
internalType: "address",
|
|
56
|
-
name: "SY",
|
|
57
|
-
type: "address",
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
internalType: "uint256",
|
|
61
|
-
name: "netTokenIn",
|
|
62
|
-
type: "uint256",
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
internalType: "uint256",
|
|
66
|
-
name: "netSyIn",
|
|
67
|
-
type: "uint256",
|
|
68
|
-
},
|
|
69
|
-
],
|
|
70
|
-
name: "getBulkSellerInfo",
|
|
71
|
-
outputs: [
|
|
72
|
-
{
|
|
73
|
-
internalType: "address",
|
|
74
|
-
name: "bulk",
|
|
75
|
-
type: "address",
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
internalType: "uint256",
|
|
79
|
-
name: "totalToken",
|
|
80
|
-
type: "uint256",
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
internalType: "uint256",
|
|
84
|
-
name: "totalSy",
|
|
85
|
-
type: "uint256",
|
|
86
|
-
},
|
|
87
|
-
],
|
|
88
|
-
stateMutability: "view",
|
|
89
|
-
type: "function",
|
|
90
|
-
},
|
|
91
42
|
{
|
|
92
43
|
inputs: [
|
|
93
44
|
{
|
|
@@ -129,11 +80,6 @@ const _abi = [
|
|
|
129
80
|
name: "netTokenIn",
|
|
130
81
|
type: "uint256",
|
|
131
82
|
},
|
|
132
|
-
{
|
|
133
|
-
internalType: "address",
|
|
134
|
-
name: "bulk",
|
|
135
|
-
type: "address",
|
|
136
|
-
},
|
|
137
83
|
],
|
|
138
84
|
name: "mintPyFromTokenStatic",
|
|
139
85
|
outputs: [
|
|
@@ -163,11 +109,6 @@ const _abi = [
|
|
|
163
109
|
name: "netTokenIn",
|
|
164
110
|
type: "uint256",
|
|
165
111
|
},
|
|
166
|
-
{
|
|
167
|
-
internalType: "address",
|
|
168
|
-
name: "bulk",
|
|
169
|
-
type: "address",
|
|
170
|
-
},
|
|
171
112
|
],
|
|
172
113
|
name: "mintSyFromTokenStatic",
|
|
173
114
|
outputs: [
|
|
@@ -259,11 +200,6 @@ const _abi = [
|
|
|
259
200
|
name: "tokenOut",
|
|
260
201
|
type: "address",
|
|
261
202
|
},
|
|
262
|
-
{
|
|
263
|
-
internalType: "address",
|
|
264
|
-
name: "bulk",
|
|
265
|
-
type: "address",
|
|
266
|
-
},
|
|
267
203
|
],
|
|
268
204
|
name: "redeemPyToTokenStatic",
|
|
269
205
|
outputs: [
|
|
@@ -293,11 +229,6 @@ const _abi = [
|
|
|
293
229
|
name: "netSyIn",
|
|
294
230
|
type: "uint256",
|
|
295
231
|
},
|
|
296
|
-
{
|
|
297
|
-
internalType: "address",
|
|
298
|
-
name: "bulk",
|
|
299
|
-
type: "address",
|
|
300
|
-
},
|
|
301
232
|
],
|
|
302
233
|
name: "redeemSyToTokenStatic",
|
|
303
234
|
outputs: [
|
|
@@ -36,19 +36,6 @@ const _abi = [
|
|
|
36
36
|
stateMutability: "nonpayable",
|
|
37
37
|
type: "function",
|
|
38
38
|
},
|
|
39
|
-
{
|
|
40
|
-
inputs: [],
|
|
41
|
-
name: "getBulkSellerFactory",
|
|
42
|
-
outputs: [
|
|
43
|
-
{
|
|
44
|
-
internalType: "address",
|
|
45
|
-
name: "",
|
|
46
|
-
type: "address",
|
|
47
|
-
},
|
|
48
|
-
],
|
|
49
|
-
stateMutability: "view",
|
|
50
|
-
type: "function",
|
|
51
|
-
},
|
|
52
39
|
{
|
|
53
40
|
inputs: [],
|
|
54
41
|
name: "getDefaultApproxParams",
|
|
@@ -107,19 +94,6 @@ const _abi = [
|
|
|
107
94
|
stateMutability: "view",
|
|
108
95
|
type: "function",
|
|
109
96
|
},
|
|
110
|
-
{
|
|
111
|
-
inputs: [
|
|
112
|
-
{
|
|
113
|
-
internalType: "address",
|
|
114
|
-
name: "_bulkSellerFactory",
|
|
115
|
-
type: "address",
|
|
116
|
-
},
|
|
117
|
-
],
|
|
118
|
-
name: "setBulkSellerFactory",
|
|
119
|
-
outputs: [],
|
|
120
|
-
stateMutability: "nonpayable",
|
|
121
|
-
type: "function",
|
|
122
|
-
},
|
|
123
97
|
{
|
|
124
98
|
inputs: [
|
|
125
99
|
{
|
|
@@ -85,11 +85,6 @@ const _abi = [
|
|
|
85
85
|
name: "netTokenDesired",
|
|
86
86
|
type: "uint256",
|
|
87
87
|
},
|
|
88
|
-
{
|
|
89
|
-
internalType: "address",
|
|
90
|
-
name: "bulk",
|
|
91
|
-
type: "address",
|
|
92
|
-
},
|
|
93
88
|
{
|
|
94
89
|
internalType: "uint256",
|
|
95
90
|
name: "netPtDesired",
|
|
@@ -276,11 +271,6 @@ const _abi = [
|
|
|
276
271
|
name: "netTokenIn",
|
|
277
272
|
type: "uint256",
|
|
278
273
|
},
|
|
279
|
-
{
|
|
280
|
-
internalType: "address",
|
|
281
|
-
name: "bulk",
|
|
282
|
-
type: "address",
|
|
283
|
-
},
|
|
284
274
|
],
|
|
285
275
|
name: "addLiquiditySingleTokenKeepYtStatic",
|
|
286
276
|
outputs: [
|
|
@@ -325,11 +315,6 @@ const _abi = [
|
|
|
325
315
|
name: "netTokenIn",
|
|
326
316
|
type: "uint256",
|
|
327
317
|
},
|
|
328
|
-
{
|
|
329
|
-
internalType: "address",
|
|
330
|
-
name: "bulk",
|
|
331
|
-
type: "address",
|
|
332
|
-
},
|
|
333
318
|
],
|
|
334
319
|
name: "addLiquiditySingleTokenStatic",
|
|
335
320
|
outputs: [
|
|
@@ -482,11 +467,6 @@ const _abi = [
|
|
|
482
467
|
name: "tokenIn",
|
|
483
468
|
type: "address",
|
|
484
469
|
},
|
|
485
|
-
{
|
|
486
|
-
internalType: "address",
|
|
487
|
-
name: "bulk",
|
|
488
|
-
type: "address",
|
|
489
|
-
},
|
|
490
470
|
{
|
|
491
471
|
internalType: "uint256",
|
|
492
472
|
name: "netSyOut",
|
|
@@ -504,63 +484,6 @@ const _abi = [
|
|
|
504
484
|
stateMutability: "view",
|
|
505
485
|
type: "function",
|
|
506
486
|
},
|
|
507
|
-
{
|
|
508
|
-
inputs: [],
|
|
509
|
-
name: "getBulkSellerFactory",
|
|
510
|
-
outputs: [
|
|
511
|
-
{
|
|
512
|
-
internalType: "address",
|
|
513
|
-
name: "",
|
|
514
|
-
type: "address",
|
|
515
|
-
},
|
|
516
|
-
],
|
|
517
|
-
stateMutability: "view",
|
|
518
|
-
type: "function",
|
|
519
|
-
},
|
|
520
|
-
{
|
|
521
|
-
inputs: [
|
|
522
|
-
{
|
|
523
|
-
internalType: "address",
|
|
524
|
-
name: "token",
|
|
525
|
-
type: "address",
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
internalType: "address",
|
|
529
|
-
name: "SY",
|
|
530
|
-
type: "address",
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
internalType: "uint256",
|
|
534
|
-
name: "netTokenIn",
|
|
535
|
-
type: "uint256",
|
|
536
|
-
},
|
|
537
|
-
{
|
|
538
|
-
internalType: "uint256",
|
|
539
|
-
name: "netSyIn",
|
|
540
|
-
type: "uint256",
|
|
541
|
-
},
|
|
542
|
-
],
|
|
543
|
-
name: "getBulkSellerInfo",
|
|
544
|
-
outputs: [
|
|
545
|
-
{
|
|
546
|
-
internalType: "address",
|
|
547
|
-
name: "bulk",
|
|
548
|
-
type: "address",
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
internalType: "uint256",
|
|
552
|
-
name: "totalToken",
|
|
553
|
-
type: "uint256",
|
|
554
|
-
},
|
|
555
|
-
{
|
|
556
|
-
internalType: "uint256",
|
|
557
|
-
name: "totalSy",
|
|
558
|
-
type: "uint256",
|
|
559
|
-
},
|
|
560
|
-
],
|
|
561
|
-
stateMutability: "view",
|
|
562
|
-
type: "function",
|
|
563
|
-
},
|
|
564
487
|
{
|
|
565
488
|
inputs: [],
|
|
566
489
|
name: "getDefaultApproxParams",
|
|
@@ -1247,11 +1170,6 @@ const _abi = [
|
|
|
1247
1170
|
name: "netTokenIn",
|
|
1248
1171
|
type: "uint256",
|
|
1249
1172
|
},
|
|
1250
|
-
{
|
|
1251
|
-
internalType: "address",
|
|
1252
|
-
name: "bulk",
|
|
1253
|
-
type: "address",
|
|
1254
|
-
},
|
|
1255
1173
|
],
|
|
1256
1174
|
name: "mintPyFromTokenStatic",
|
|
1257
1175
|
outputs: [
|
|
@@ -1281,11 +1199,6 @@ const _abi = [
|
|
|
1281
1199
|
name: "netTokenIn",
|
|
1282
1200
|
type: "uint256",
|
|
1283
1201
|
},
|
|
1284
|
-
{
|
|
1285
|
-
internalType: "address",
|
|
1286
|
-
name: "bulk",
|
|
1287
|
-
type: "address",
|
|
1288
|
-
},
|
|
1289
1202
|
],
|
|
1290
1203
|
name: "mintSyFromTokenStatic",
|
|
1291
1204
|
outputs: [
|
|
@@ -1377,11 +1290,6 @@ const _abi = [
|
|
|
1377
1290
|
name: "tokenOut",
|
|
1378
1291
|
type: "address",
|
|
1379
1292
|
},
|
|
1380
|
-
{
|
|
1381
|
-
internalType: "address",
|
|
1382
|
-
name: "bulk",
|
|
1383
|
-
type: "address",
|
|
1384
|
-
},
|
|
1385
1293
|
],
|
|
1386
1294
|
name: "redeemPyToTokenStatic",
|
|
1387
1295
|
outputs: [
|
|
@@ -1411,11 +1319,6 @@ const _abi = [
|
|
|
1411
1319
|
name: "netSyIn",
|
|
1412
1320
|
type: "uint256",
|
|
1413
1321
|
},
|
|
1414
|
-
{
|
|
1415
|
-
internalType: "address",
|
|
1416
|
-
name: "bulk",
|
|
1417
|
-
type: "address",
|
|
1418
|
-
},
|
|
1419
1322
|
],
|
|
1420
1323
|
name: "redeemSyToTokenStatic",
|
|
1421
1324
|
outputs: [
|
|
@@ -1474,11 +1377,6 @@ const _abi = [
|
|
|
1474
1377
|
name: "tokenOut",
|
|
1475
1378
|
type: "address",
|
|
1476
1379
|
},
|
|
1477
|
-
{
|
|
1478
|
-
internalType: "address",
|
|
1479
|
-
name: "bulk",
|
|
1480
|
-
type: "address",
|
|
1481
|
-
},
|
|
1482
1380
|
],
|
|
1483
1381
|
name: "removeLiquidityDualTokenAndPtStatic",
|
|
1484
1382
|
outputs: [
|
|
@@ -1626,11 +1524,6 @@ const _abi = [
|
|
|
1626
1524
|
name: "tokenOut",
|
|
1627
1525
|
type: "address",
|
|
1628
1526
|
},
|
|
1629
|
-
{
|
|
1630
|
-
internalType: "address",
|
|
1631
|
-
name: "bulk",
|
|
1632
|
-
type: "address",
|
|
1633
|
-
},
|
|
1634
1527
|
],
|
|
1635
1528
|
name: "removeLiquiditySingleTokenStatic",
|
|
1636
1529
|
outputs: [
|
|
@@ -1678,19 +1571,6 @@ const _abi = [
|
|
|
1678
1571
|
stateMutability: "view",
|
|
1679
1572
|
type: "function",
|
|
1680
1573
|
},
|
|
1681
|
-
{
|
|
1682
|
-
inputs: [
|
|
1683
|
-
{
|
|
1684
|
-
internalType: "address",
|
|
1685
|
-
name: "_bulkSellerFactory",
|
|
1686
|
-
type: "address",
|
|
1687
|
-
},
|
|
1688
|
-
],
|
|
1689
|
-
name: "setBulkSellerFactory",
|
|
1690
|
-
outputs: [],
|
|
1691
|
-
stateMutability: "nonpayable",
|
|
1692
|
-
type: "function",
|
|
1693
|
-
},
|
|
1694
1574
|
{
|
|
1695
1575
|
inputs: [
|
|
1696
1576
|
{
|
|
@@ -1812,11 +1692,6 @@ const _abi = [
|
|
|
1812
1692
|
name: "tokenOut",
|
|
1813
1693
|
type: "address",
|
|
1814
1694
|
},
|
|
1815
|
-
{
|
|
1816
|
-
internalType: "address",
|
|
1817
|
-
name: "bulk",
|
|
1818
|
-
type: "address",
|
|
1819
|
-
},
|
|
1820
1695
|
],
|
|
1821
1696
|
name: "swapExactPtForTokenStatic",
|
|
1822
1697
|
outputs: [
|
|
@@ -1988,11 +1863,6 @@ const _abi = [
|
|
|
1988
1863
|
name: "amountTokenIn",
|
|
1989
1864
|
type: "uint256",
|
|
1990
1865
|
},
|
|
1991
|
-
{
|
|
1992
|
-
internalType: "address",
|
|
1993
|
-
name: "bulk",
|
|
1994
|
-
type: "address",
|
|
1995
|
-
},
|
|
1996
1866
|
],
|
|
1997
1867
|
name: "swapExactTokenForPtStatic",
|
|
1998
1868
|
outputs: [
|
|
@@ -2042,11 +1912,6 @@ const _abi = [
|
|
|
2042
1912
|
name: "amountTokenIn",
|
|
2043
1913
|
type: "uint256",
|
|
2044
1914
|
},
|
|
2045
|
-
{
|
|
2046
|
-
internalType: "address",
|
|
2047
|
-
name: "bulk",
|
|
2048
|
-
type: "address",
|
|
2049
|
-
},
|
|
2050
1915
|
],
|
|
2051
1916
|
name: "swapExactTokenForYtStatic",
|
|
2052
1917
|
outputs: [
|
|
@@ -2194,11 +2059,6 @@ const _abi = [
|
|
|
2194
2059
|
name: "tokenOut",
|
|
2195
2060
|
type: "address",
|
|
2196
2061
|
},
|
|
2197
|
-
{
|
|
2198
|
-
internalType: "address",
|
|
2199
|
-
name: "bulk",
|
|
2200
|
-
type: "address",
|
|
2201
|
-
},
|
|
2202
2062
|
],
|
|
2203
2063
|
name: "swapExactYtForTokenStatic",
|
|
2204
2064
|
outputs: [
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type { IRenzoOracle, IRenzoOracleInterface } from "../IRenzoOracle";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
internalType: "uint256",
|
|
14
|
+
name: "tvl",
|
|
15
|
+
type: "uint256",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
internalType: "uint256",
|
|
19
|
+
name: "value",
|
|
20
|
+
type: "uint256",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
internalType: "uint256",
|
|
24
|
+
name: "supply",
|
|
25
|
+
type: "uint256",
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
name: "calculateMintAmount",
|
|
29
|
+
outputs: [
|
|
30
|
+
{
|
|
31
|
+
internalType: "uint256",
|
|
32
|
+
name: "",
|
|
33
|
+
type: "uint256",
|
|
34
|
+
},
|
|
35
|
+
],
|
|
36
|
+
stateMutability: "view",
|
|
37
|
+
type: "function",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
inputs: [
|
|
41
|
+
{
|
|
42
|
+
internalType: "address",
|
|
43
|
+
name: "token",
|
|
44
|
+
type: "address",
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
internalType: "uint256",
|
|
48
|
+
name: "amount",
|
|
49
|
+
type: "uint256",
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
name: "lookupTokenValue",
|
|
53
|
+
outputs: [
|
|
54
|
+
{
|
|
55
|
+
internalType: "uint256",
|
|
56
|
+
name: "",
|
|
57
|
+
type: "uint256",
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
stateMutability: "view",
|
|
61
|
+
type: "function",
|
|
62
|
+
},
|
|
63
|
+
];
|
|
64
|
+
|
|
65
|
+
export class IRenzoOracle__factory {
|
|
66
|
+
static readonly abi = _abi;
|
|
67
|
+
static createInterface(): IRenzoOracleInterface {
|
|
68
|
+
return new utils.Interface(_abi) as IRenzoOracleInterface;
|
|
69
|
+
}
|
|
70
|
+
static connect(
|
|
71
|
+
address: string,
|
|
72
|
+
signerOrProvider: Signer | Provider
|
|
73
|
+
): IRenzoOracle {
|
|
74
|
+
return new Contract(address, _abi, signerOrProvider) as IRenzoOracle;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
IRenzoRestakeManager,
|
|
9
|
+
IRenzoRestakeManagerInterface,
|
|
10
|
+
} from "../IRenzoRestakeManager";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
inputs: [],
|
|
15
|
+
name: "calculateTVLs",
|
|
16
|
+
outputs: [
|
|
17
|
+
{
|
|
18
|
+
internalType: "uint256[][]",
|
|
19
|
+
name: "",
|
|
20
|
+
type: "uint256[][]",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
internalType: "uint256[]",
|
|
24
|
+
name: "",
|
|
25
|
+
type: "uint256[]",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
internalType: "uint256",
|
|
29
|
+
name: "",
|
|
30
|
+
type: "uint256",
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
stateMutability: "view",
|
|
34
|
+
type: "function",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
inputs: [
|
|
38
|
+
{
|
|
39
|
+
internalType: "uint256",
|
|
40
|
+
name: "i",
|
|
41
|
+
type: "uint256",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
name: "collateralTokens",
|
|
45
|
+
outputs: [
|
|
46
|
+
{
|
|
47
|
+
internalType: "address",
|
|
48
|
+
name: "",
|
|
49
|
+
type: "address",
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
stateMutability: "view",
|
|
53
|
+
type: "function",
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
inputs: [
|
|
57
|
+
{
|
|
58
|
+
internalType: "address",
|
|
59
|
+
name: "_collateralToken",
|
|
60
|
+
type: "address",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
internalType: "uint256",
|
|
64
|
+
name: "_amount",
|
|
65
|
+
type: "uint256",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
internalType: "uint256",
|
|
69
|
+
name: "_referralId",
|
|
70
|
+
type: "uint256",
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
name: "deposit",
|
|
74
|
+
outputs: [],
|
|
75
|
+
stateMutability: "nonpayable",
|
|
76
|
+
type: "function",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
inputs: [
|
|
80
|
+
{
|
|
81
|
+
internalType: "uint256",
|
|
82
|
+
name: "_referralId",
|
|
83
|
+
type: "uint256",
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
name: "depositETH",
|
|
87
|
+
outputs: [],
|
|
88
|
+
stateMutability: "payable",
|
|
89
|
+
type: "function",
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
inputs: [],
|
|
93
|
+
name: "renzoOracle",
|
|
94
|
+
outputs: [
|
|
95
|
+
{
|
|
96
|
+
internalType: "address",
|
|
97
|
+
name: "",
|
|
98
|
+
type: "address",
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
stateMutability: "view",
|
|
102
|
+
type: "function",
|
|
103
|
+
},
|
|
104
|
+
];
|
|
105
|
+
|
|
106
|
+
export class IRenzoRestakeManager__factory {
|
|
107
|
+
static readonly abi = _abi;
|
|
108
|
+
static createInterface(): IRenzoRestakeManagerInterface {
|
|
109
|
+
return new utils.Interface(_abi) as IRenzoRestakeManagerInterface;
|
|
110
|
+
}
|
|
111
|
+
static connect(
|
|
112
|
+
address: string,
|
|
113
|
+
signerOrProvider: Signer | Provider
|
|
114
|
+
): IRenzoRestakeManager {
|
|
115
|
+
return new Contract(
|
|
116
|
+
address,
|
|
117
|
+
_abi,
|
|
118
|
+
signerOrProvider
|
|
119
|
+
) as IRenzoRestakeManager;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type { IRswETH, IRswETHInterface } from "../IRswETH";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
inputs: [],
|
|
12
|
+
name: "deposit",
|
|
13
|
+
outputs: [],
|
|
14
|
+
stateMutability: "payable",
|
|
15
|
+
type: "function",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
inputs: [
|
|
19
|
+
{
|
|
20
|
+
internalType: "address",
|
|
21
|
+
name: "referral",
|
|
22
|
+
type: "address",
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
name: "depositWithReferral",
|
|
26
|
+
outputs: [],
|
|
27
|
+
stateMutability: "payable",
|
|
28
|
+
type: "function",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
inputs: [],
|
|
32
|
+
name: "getRate",
|
|
33
|
+
outputs: [
|
|
34
|
+
{
|
|
35
|
+
internalType: "uint256",
|
|
36
|
+
name: "",
|
|
37
|
+
type: "uint256",
|
|
38
|
+
},
|
|
39
|
+
],
|
|
40
|
+
stateMutability: "view",
|
|
41
|
+
type: "function",
|
|
42
|
+
},
|
|
43
|
+
];
|
|
44
|
+
|
|
45
|
+
export class IRswETH__factory {
|
|
46
|
+
static readonly abi = _abi;
|
|
47
|
+
static createInterface(): IRswETHInterface {
|
|
48
|
+
return new utils.Interface(_abi) as IRswETHInterface;
|
|
49
|
+
}
|
|
50
|
+
static connect(
|
|
51
|
+
address: string,
|
|
52
|
+
signerOrProvider: Signer | Provider
|
|
53
|
+
): IRswETH {
|
|
54
|
+
return new Contract(address, _abi, signerOrProvider) as IRswETH;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -15,16 +15,16 @@ const _abi = [
|
|
|
15
15
|
type: "function",
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
|
-
inputs: [
|
|
19
|
-
name: "ethToSwETHRate",
|
|
20
|
-
outputs: [
|
|
18
|
+
inputs: [
|
|
21
19
|
{
|
|
22
|
-
internalType: "
|
|
23
|
-
name: "",
|
|
24
|
-
type: "
|
|
20
|
+
internalType: "address",
|
|
21
|
+
name: "referral",
|
|
22
|
+
type: "address",
|
|
25
23
|
},
|
|
26
24
|
],
|
|
27
|
-
|
|
25
|
+
name: "depositWithReferral",
|
|
26
|
+
outputs: [],
|
|
27
|
+
stateMutability: "payable",
|
|
28
28
|
type: "function",
|
|
29
29
|
},
|
|
30
30
|
{
|