@pendle/core-v2 4.0.6 → 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/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/deployments/1-markets/EZETH-JUNE2024.json +11 -0
- package/deployments/1-markets/RSETH-KELP-JUNE2024.json +11 -0
- package/deployments/42161-markets/RSETH-APR2024-ARBITRUM.json +11 -0
- package/deployments/42161-markets/WEETH-APR2024.json +11 -0
- package/deployments/merkle-distribution/2024-01-25.json +9615 -0
- package/package.json +1 -1
- 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/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/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
|
@@ -23,25 +23,20 @@ import type {
|
|
|
23
23
|
export interface IPActionMintRedeemStaticInterface extends utils.Interface {
|
|
24
24
|
contractName: "IPActionMintRedeemStatic";
|
|
25
25
|
functions: {
|
|
26
|
-
"getAmountTokenToMintSy(address,address,
|
|
27
|
-
"getBulkSellerInfo(address,address,uint256,uint256)": FunctionFragment;
|
|
26
|
+
"getAmountTokenToMintSy(address,address,uint256)": FunctionFragment;
|
|
28
27
|
"mintPyFromSyStatic(address,uint256)": FunctionFragment;
|
|
29
|
-
"mintPyFromTokenStatic(address,address,uint256
|
|
30
|
-
"mintSyFromTokenStatic(address,address,uint256
|
|
28
|
+
"mintPyFromTokenStatic(address,address,uint256)": FunctionFragment;
|
|
29
|
+
"mintSyFromTokenStatic(address,address,uint256)": FunctionFragment;
|
|
31
30
|
"pyIndexCurrentViewMarket(address)": FunctionFragment;
|
|
32
31
|
"pyIndexCurrentViewYt(address)": FunctionFragment;
|
|
33
32
|
"redeemPyToSyStatic(address,uint256)": FunctionFragment;
|
|
34
|
-
"redeemPyToTokenStatic(address,uint256,address
|
|
35
|
-
"redeemSyToTokenStatic(address,address,uint256
|
|
33
|
+
"redeemPyToTokenStatic(address,uint256,address)": FunctionFragment;
|
|
34
|
+
"redeemSyToTokenStatic(address,address,uint256)": FunctionFragment;
|
|
36
35
|
};
|
|
37
36
|
|
|
38
37
|
encodeFunctionData(
|
|
39
38
|
functionFragment: "getAmountTokenToMintSy",
|
|
40
|
-
values: [string, string,
|
|
41
|
-
): string;
|
|
42
|
-
encodeFunctionData(
|
|
43
|
-
functionFragment: "getBulkSellerInfo",
|
|
44
|
-
values: [string, string, BigNumberish, BigNumberish]
|
|
39
|
+
values: [string, string, BigNumberish]
|
|
45
40
|
): string;
|
|
46
41
|
encodeFunctionData(
|
|
47
42
|
functionFragment: "mintPyFromSyStatic",
|
|
@@ -49,11 +44,11 @@ export interface IPActionMintRedeemStaticInterface extends utils.Interface {
|
|
|
49
44
|
): string;
|
|
50
45
|
encodeFunctionData(
|
|
51
46
|
functionFragment: "mintPyFromTokenStatic",
|
|
52
|
-
values: [string, string, BigNumberish
|
|
47
|
+
values: [string, string, BigNumberish]
|
|
53
48
|
): string;
|
|
54
49
|
encodeFunctionData(
|
|
55
50
|
functionFragment: "mintSyFromTokenStatic",
|
|
56
|
-
values: [string, string, BigNumberish
|
|
51
|
+
values: [string, string, BigNumberish]
|
|
57
52
|
): string;
|
|
58
53
|
encodeFunctionData(
|
|
59
54
|
functionFragment: "pyIndexCurrentViewMarket",
|
|
@@ -69,21 +64,17 @@ export interface IPActionMintRedeemStaticInterface extends utils.Interface {
|
|
|
69
64
|
): string;
|
|
70
65
|
encodeFunctionData(
|
|
71
66
|
functionFragment: "redeemPyToTokenStatic",
|
|
72
|
-
values: [string, BigNumberish, string
|
|
67
|
+
values: [string, BigNumberish, string]
|
|
73
68
|
): string;
|
|
74
69
|
encodeFunctionData(
|
|
75
70
|
functionFragment: "redeemSyToTokenStatic",
|
|
76
|
-
values: [string, string, BigNumberish
|
|
71
|
+
values: [string, string, BigNumberish]
|
|
77
72
|
): string;
|
|
78
73
|
|
|
79
74
|
decodeFunctionResult(
|
|
80
75
|
functionFragment: "getAmountTokenToMintSy",
|
|
81
76
|
data: BytesLike
|
|
82
77
|
): Result;
|
|
83
|
-
decodeFunctionResult(
|
|
84
|
-
functionFragment: "getBulkSellerInfo",
|
|
85
|
-
data: BytesLike
|
|
86
|
-
): Result;
|
|
87
78
|
decodeFunctionResult(
|
|
88
79
|
functionFragment: "mintPyFromSyStatic",
|
|
89
80
|
data: BytesLike
|
|
@@ -151,25 +142,10 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
151
142
|
getAmountTokenToMintSy(
|
|
152
143
|
SY: string,
|
|
153
144
|
tokenIn: string,
|
|
154
|
-
bulk: string,
|
|
155
145
|
netSyOut: BigNumberish,
|
|
156
146
|
overrides?: CallOverrides
|
|
157
147
|
): Promise<[BigNumber] & { netTokenIn: BigNumber }>;
|
|
158
148
|
|
|
159
|
-
getBulkSellerInfo(
|
|
160
|
-
token: string,
|
|
161
|
-
SY: string,
|
|
162
|
-
netTokenIn: BigNumberish,
|
|
163
|
-
netSyIn: BigNumberish,
|
|
164
|
-
overrides?: CallOverrides
|
|
165
|
-
): Promise<
|
|
166
|
-
[string, BigNumber, BigNumber] & {
|
|
167
|
-
bulk: string;
|
|
168
|
-
totalToken: BigNumber;
|
|
169
|
-
totalSy: BigNumber;
|
|
170
|
-
}
|
|
171
|
-
>;
|
|
172
|
-
|
|
173
149
|
mintPyFromSyStatic(
|
|
174
150
|
YT: string,
|
|
175
151
|
netSyToMint: BigNumberish,
|
|
@@ -180,7 +156,6 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
180
156
|
YT: string,
|
|
181
157
|
tokenIn: string,
|
|
182
158
|
netTokenIn: BigNumberish,
|
|
183
|
-
bulk: string,
|
|
184
159
|
overrides?: CallOverrides
|
|
185
160
|
): Promise<[BigNumber] & { netPyOut: BigNumber }>;
|
|
186
161
|
|
|
@@ -188,7 +163,6 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
188
163
|
SY: string,
|
|
189
164
|
tokenIn: string,
|
|
190
165
|
netTokenIn: BigNumberish,
|
|
191
|
-
bulk: string,
|
|
192
166
|
overrides?: CallOverrides
|
|
193
167
|
): Promise<[BigNumber] & { netSyOut: BigNumber }>;
|
|
194
168
|
|
|
@@ -212,7 +186,6 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
212
186
|
YT: string,
|
|
213
187
|
netPYToRedeem: BigNumberish,
|
|
214
188
|
tokenOut: string,
|
|
215
|
-
bulk: string,
|
|
216
189
|
overrides?: CallOverrides
|
|
217
190
|
): Promise<[BigNumber] & { netTokenOut: BigNumber }>;
|
|
218
191
|
|
|
@@ -220,7 +193,6 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
220
193
|
SY: string,
|
|
221
194
|
tokenOut: string,
|
|
222
195
|
netSyIn: BigNumberish,
|
|
223
|
-
bulk: string,
|
|
224
196
|
overrides?: CallOverrides
|
|
225
197
|
): Promise<[BigNumber] & { netTokenOut: BigNumber }>;
|
|
226
198
|
};
|
|
@@ -228,25 +200,10 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
228
200
|
getAmountTokenToMintSy(
|
|
229
201
|
SY: string,
|
|
230
202
|
tokenIn: string,
|
|
231
|
-
bulk: string,
|
|
232
203
|
netSyOut: BigNumberish,
|
|
233
204
|
overrides?: CallOverrides
|
|
234
205
|
): Promise<BigNumber>;
|
|
235
206
|
|
|
236
|
-
getBulkSellerInfo(
|
|
237
|
-
token: string,
|
|
238
|
-
SY: string,
|
|
239
|
-
netTokenIn: BigNumberish,
|
|
240
|
-
netSyIn: BigNumberish,
|
|
241
|
-
overrides?: CallOverrides
|
|
242
|
-
): Promise<
|
|
243
|
-
[string, BigNumber, BigNumber] & {
|
|
244
|
-
bulk: string;
|
|
245
|
-
totalToken: BigNumber;
|
|
246
|
-
totalSy: BigNumber;
|
|
247
|
-
}
|
|
248
|
-
>;
|
|
249
|
-
|
|
250
207
|
mintPyFromSyStatic(
|
|
251
208
|
YT: string,
|
|
252
209
|
netSyToMint: BigNumberish,
|
|
@@ -257,7 +214,6 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
257
214
|
YT: string,
|
|
258
215
|
tokenIn: string,
|
|
259
216
|
netTokenIn: BigNumberish,
|
|
260
|
-
bulk: string,
|
|
261
217
|
overrides?: CallOverrides
|
|
262
218
|
): Promise<BigNumber>;
|
|
263
219
|
|
|
@@ -265,7 +221,6 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
265
221
|
SY: string,
|
|
266
222
|
tokenIn: string,
|
|
267
223
|
netTokenIn: BigNumberish,
|
|
268
|
-
bulk: string,
|
|
269
224
|
overrides?: CallOverrides
|
|
270
225
|
): Promise<BigNumber>;
|
|
271
226
|
|
|
@@ -289,7 +244,6 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
289
244
|
YT: string,
|
|
290
245
|
netPYToRedeem: BigNumberish,
|
|
291
246
|
tokenOut: string,
|
|
292
|
-
bulk: string,
|
|
293
247
|
overrides?: CallOverrides
|
|
294
248
|
): Promise<BigNumber>;
|
|
295
249
|
|
|
@@ -297,7 +251,6 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
297
251
|
SY: string,
|
|
298
252
|
tokenOut: string,
|
|
299
253
|
netSyIn: BigNumberish,
|
|
300
|
-
bulk: string,
|
|
301
254
|
overrides?: CallOverrides
|
|
302
255
|
): Promise<BigNumber>;
|
|
303
256
|
|
|
@@ -305,25 +258,10 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
305
258
|
getAmountTokenToMintSy(
|
|
306
259
|
SY: string,
|
|
307
260
|
tokenIn: string,
|
|
308
|
-
bulk: string,
|
|
309
261
|
netSyOut: BigNumberish,
|
|
310
262
|
overrides?: CallOverrides
|
|
311
263
|
): Promise<BigNumber>;
|
|
312
264
|
|
|
313
|
-
getBulkSellerInfo(
|
|
314
|
-
token: string,
|
|
315
|
-
SY: string,
|
|
316
|
-
netTokenIn: BigNumberish,
|
|
317
|
-
netSyIn: BigNumberish,
|
|
318
|
-
overrides?: CallOverrides
|
|
319
|
-
): Promise<
|
|
320
|
-
[string, BigNumber, BigNumber] & {
|
|
321
|
-
bulk: string;
|
|
322
|
-
totalToken: BigNumber;
|
|
323
|
-
totalSy: BigNumber;
|
|
324
|
-
}
|
|
325
|
-
>;
|
|
326
|
-
|
|
327
265
|
mintPyFromSyStatic(
|
|
328
266
|
YT: string,
|
|
329
267
|
netSyToMint: BigNumberish,
|
|
@@ -334,7 +272,6 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
334
272
|
YT: string,
|
|
335
273
|
tokenIn: string,
|
|
336
274
|
netTokenIn: BigNumberish,
|
|
337
|
-
bulk: string,
|
|
338
275
|
overrides?: CallOverrides
|
|
339
276
|
): Promise<BigNumber>;
|
|
340
277
|
|
|
@@ -342,7 +279,6 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
342
279
|
SY: string,
|
|
343
280
|
tokenIn: string,
|
|
344
281
|
netTokenIn: BigNumberish,
|
|
345
|
-
bulk: string,
|
|
346
282
|
overrides?: CallOverrides
|
|
347
283
|
): Promise<BigNumber>;
|
|
348
284
|
|
|
@@ -366,7 +302,6 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
366
302
|
YT: string,
|
|
367
303
|
netPYToRedeem: BigNumberish,
|
|
368
304
|
tokenOut: string,
|
|
369
|
-
bulk: string,
|
|
370
305
|
overrides?: CallOverrides
|
|
371
306
|
): Promise<BigNumber>;
|
|
372
307
|
|
|
@@ -374,7 +309,6 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
374
309
|
SY: string,
|
|
375
310
|
tokenOut: string,
|
|
376
311
|
netSyIn: BigNumberish,
|
|
377
|
-
bulk: string,
|
|
378
312
|
overrides?: CallOverrides
|
|
379
313
|
): Promise<BigNumber>;
|
|
380
314
|
};
|
|
@@ -385,19 +319,10 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
385
319
|
getAmountTokenToMintSy(
|
|
386
320
|
SY: string,
|
|
387
321
|
tokenIn: string,
|
|
388
|
-
bulk: string,
|
|
389
322
|
netSyOut: BigNumberish,
|
|
390
323
|
overrides?: CallOverrides
|
|
391
324
|
): Promise<BigNumber>;
|
|
392
325
|
|
|
393
|
-
getBulkSellerInfo(
|
|
394
|
-
token: string,
|
|
395
|
-
SY: string,
|
|
396
|
-
netTokenIn: BigNumberish,
|
|
397
|
-
netSyIn: BigNumberish,
|
|
398
|
-
overrides?: CallOverrides
|
|
399
|
-
): Promise<BigNumber>;
|
|
400
|
-
|
|
401
326
|
mintPyFromSyStatic(
|
|
402
327
|
YT: string,
|
|
403
328
|
netSyToMint: BigNumberish,
|
|
@@ -408,7 +333,6 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
408
333
|
YT: string,
|
|
409
334
|
tokenIn: string,
|
|
410
335
|
netTokenIn: BigNumberish,
|
|
411
|
-
bulk: string,
|
|
412
336
|
overrides?: CallOverrides
|
|
413
337
|
): Promise<BigNumber>;
|
|
414
338
|
|
|
@@ -416,7 +340,6 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
416
340
|
SY: string,
|
|
417
341
|
tokenIn: string,
|
|
418
342
|
netTokenIn: BigNumberish,
|
|
419
|
-
bulk: string,
|
|
420
343
|
overrides?: CallOverrides
|
|
421
344
|
): Promise<BigNumber>;
|
|
422
345
|
|
|
@@ -440,7 +363,6 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
440
363
|
YT: string,
|
|
441
364
|
netPYToRedeem: BigNumberish,
|
|
442
365
|
tokenOut: string,
|
|
443
|
-
bulk: string,
|
|
444
366
|
overrides?: CallOverrides
|
|
445
367
|
): Promise<BigNumber>;
|
|
446
368
|
|
|
@@ -448,7 +370,6 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
448
370
|
SY: string,
|
|
449
371
|
tokenOut: string,
|
|
450
372
|
netSyIn: BigNumberish,
|
|
451
|
-
bulk: string,
|
|
452
373
|
overrides?: CallOverrides
|
|
453
374
|
): Promise<BigNumber>;
|
|
454
375
|
};
|
|
@@ -457,19 +378,10 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
457
378
|
getAmountTokenToMintSy(
|
|
458
379
|
SY: string,
|
|
459
380
|
tokenIn: string,
|
|
460
|
-
bulk: string,
|
|
461
381
|
netSyOut: BigNumberish,
|
|
462
382
|
overrides?: CallOverrides
|
|
463
383
|
): Promise<PopulatedTransaction>;
|
|
464
384
|
|
|
465
|
-
getBulkSellerInfo(
|
|
466
|
-
token: string,
|
|
467
|
-
SY: string,
|
|
468
|
-
netTokenIn: BigNumberish,
|
|
469
|
-
netSyIn: BigNumberish,
|
|
470
|
-
overrides?: CallOverrides
|
|
471
|
-
): Promise<PopulatedTransaction>;
|
|
472
|
-
|
|
473
385
|
mintPyFromSyStatic(
|
|
474
386
|
YT: string,
|
|
475
387
|
netSyToMint: BigNumberish,
|
|
@@ -480,7 +392,6 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
480
392
|
YT: string,
|
|
481
393
|
tokenIn: string,
|
|
482
394
|
netTokenIn: BigNumberish,
|
|
483
|
-
bulk: string,
|
|
484
395
|
overrides?: CallOverrides
|
|
485
396
|
): Promise<PopulatedTransaction>;
|
|
486
397
|
|
|
@@ -488,7 +399,6 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
488
399
|
SY: string,
|
|
489
400
|
tokenIn: string,
|
|
490
401
|
netTokenIn: BigNumberish,
|
|
491
|
-
bulk: string,
|
|
492
402
|
overrides?: CallOverrides
|
|
493
403
|
): Promise<PopulatedTransaction>;
|
|
494
404
|
|
|
@@ -512,7 +422,6 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
512
422
|
YT: string,
|
|
513
423
|
netPYToRedeem: BigNumberish,
|
|
514
424
|
tokenOut: string,
|
|
515
|
-
bulk: string,
|
|
516
425
|
overrides?: CallOverrides
|
|
517
426
|
): Promise<PopulatedTransaction>;
|
|
518
427
|
|
|
@@ -520,7 +429,6 @@ export interface IPActionMintRedeemStatic extends BaseContract {
|
|
|
520
429
|
SY: string,
|
|
521
430
|
tokenOut: string,
|
|
522
431
|
netSyIn: BigNumberish,
|
|
523
|
-
bulk: string,
|
|
524
432
|
overrides?: CallOverrides
|
|
525
433
|
): Promise<PopulatedTransaction>;
|
|
526
434
|
};
|
|
@@ -48,10 +48,8 @@ export interface IPActionStorageStaticInterface extends utils.Interface {
|
|
|
48
48
|
contractName: "IPActionStorageStatic";
|
|
49
49
|
functions: {
|
|
50
50
|
"claimOwnership()": FunctionFragment;
|
|
51
|
-
"getBulkSellerFactory()": FunctionFragment;
|
|
52
51
|
"getDefaultApproxParams()": FunctionFragment;
|
|
53
52
|
"getOwnerAndPendingOwner()": FunctionFragment;
|
|
54
|
-
"setBulkSellerFactory(address)": FunctionFragment;
|
|
55
53
|
"setDefaultApproxParams((uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
56
54
|
"transferOwnership(address,bool,bool)": FunctionFragment;
|
|
57
55
|
};
|
|
@@ -60,10 +58,6 @@ export interface IPActionStorageStaticInterface extends utils.Interface {
|
|
|
60
58
|
functionFragment: "claimOwnership",
|
|
61
59
|
values?: undefined
|
|
62
60
|
): string;
|
|
63
|
-
encodeFunctionData(
|
|
64
|
-
functionFragment: "getBulkSellerFactory",
|
|
65
|
-
values?: undefined
|
|
66
|
-
): string;
|
|
67
61
|
encodeFunctionData(
|
|
68
62
|
functionFragment: "getDefaultApproxParams",
|
|
69
63
|
values?: undefined
|
|
@@ -72,10 +66,6 @@ export interface IPActionStorageStaticInterface extends utils.Interface {
|
|
|
72
66
|
functionFragment: "getOwnerAndPendingOwner",
|
|
73
67
|
values?: undefined
|
|
74
68
|
): string;
|
|
75
|
-
encodeFunctionData(
|
|
76
|
-
functionFragment: "setBulkSellerFactory",
|
|
77
|
-
values: [string]
|
|
78
|
-
): string;
|
|
79
69
|
encodeFunctionData(
|
|
80
70
|
functionFragment: "setDefaultApproxParams",
|
|
81
71
|
values: [ApproxParamsStruct]
|
|
@@ -89,10 +79,6 @@ export interface IPActionStorageStaticInterface extends utils.Interface {
|
|
|
89
79
|
functionFragment: "claimOwnership",
|
|
90
80
|
data: BytesLike
|
|
91
81
|
): Result;
|
|
92
|
-
decodeFunctionResult(
|
|
93
|
-
functionFragment: "getBulkSellerFactory",
|
|
94
|
-
data: BytesLike
|
|
95
|
-
): Result;
|
|
96
82
|
decodeFunctionResult(
|
|
97
83
|
functionFragment: "getDefaultApproxParams",
|
|
98
84
|
data: BytesLike
|
|
@@ -101,10 +87,6 @@ export interface IPActionStorageStaticInterface extends utils.Interface {
|
|
|
101
87
|
functionFragment: "getOwnerAndPendingOwner",
|
|
102
88
|
data: BytesLike
|
|
103
89
|
): Result;
|
|
104
|
-
decodeFunctionResult(
|
|
105
|
-
functionFragment: "setBulkSellerFactory",
|
|
106
|
-
data: BytesLike
|
|
107
|
-
): Result;
|
|
108
90
|
decodeFunctionResult(
|
|
109
91
|
functionFragment: "setDefaultApproxParams",
|
|
110
92
|
data: BytesLike
|
|
@@ -161,8 +143,6 @@ export interface IPActionStorageStatic extends BaseContract {
|
|
|
161
143
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
162
144
|
): Promise<ContractTransaction>;
|
|
163
145
|
|
|
164
|
-
getBulkSellerFactory(overrides?: CallOverrides): Promise<[string]>;
|
|
165
|
-
|
|
166
146
|
getDefaultApproxParams(
|
|
167
147
|
overrides?: CallOverrides
|
|
168
148
|
): Promise<[ApproxParamsStructOutput]>;
|
|
@@ -171,11 +151,6 @@ export interface IPActionStorageStatic extends BaseContract {
|
|
|
171
151
|
overrides?: CallOverrides
|
|
172
152
|
): Promise<[string, string] & { _owner: string; _pendingOwner: string }>;
|
|
173
153
|
|
|
174
|
-
setBulkSellerFactory(
|
|
175
|
-
_bulkSellerFactory: string,
|
|
176
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
177
|
-
): Promise<ContractTransaction>;
|
|
178
|
-
|
|
179
154
|
setDefaultApproxParams(
|
|
180
155
|
params: ApproxParamsStruct,
|
|
181
156
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -193,8 +168,6 @@ export interface IPActionStorageStatic extends BaseContract {
|
|
|
193
168
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
194
169
|
): Promise<ContractTransaction>;
|
|
195
170
|
|
|
196
|
-
getBulkSellerFactory(overrides?: CallOverrides): Promise<string>;
|
|
197
|
-
|
|
198
171
|
getDefaultApproxParams(
|
|
199
172
|
overrides?: CallOverrides
|
|
200
173
|
): Promise<ApproxParamsStructOutput>;
|
|
@@ -203,11 +176,6 @@ export interface IPActionStorageStatic extends BaseContract {
|
|
|
203
176
|
overrides?: CallOverrides
|
|
204
177
|
): Promise<[string, string] & { _owner: string; _pendingOwner: string }>;
|
|
205
178
|
|
|
206
|
-
setBulkSellerFactory(
|
|
207
|
-
_bulkSellerFactory: string,
|
|
208
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
209
|
-
): Promise<ContractTransaction>;
|
|
210
|
-
|
|
211
179
|
setDefaultApproxParams(
|
|
212
180
|
params: ApproxParamsStruct,
|
|
213
181
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -223,8 +191,6 @@ export interface IPActionStorageStatic extends BaseContract {
|
|
|
223
191
|
callStatic: {
|
|
224
192
|
claimOwnership(overrides?: CallOverrides): Promise<void>;
|
|
225
193
|
|
|
226
|
-
getBulkSellerFactory(overrides?: CallOverrides): Promise<string>;
|
|
227
|
-
|
|
228
194
|
getDefaultApproxParams(
|
|
229
195
|
overrides?: CallOverrides
|
|
230
196
|
): Promise<ApproxParamsStructOutput>;
|
|
@@ -233,11 +199,6 @@ export interface IPActionStorageStatic extends BaseContract {
|
|
|
233
199
|
overrides?: CallOverrides
|
|
234
200
|
): Promise<[string, string] & { _owner: string; _pendingOwner: string }>;
|
|
235
201
|
|
|
236
|
-
setBulkSellerFactory(
|
|
237
|
-
_bulkSellerFactory: string,
|
|
238
|
-
overrides?: CallOverrides
|
|
239
|
-
): Promise<void>;
|
|
240
|
-
|
|
241
202
|
setDefaultApproxParams(
|
|
242
203
|
params: ApproxParamsStruct,
|
|
243
204
|
overrides?: CallOverrides
|
|
@@ -267,17 +228,10 @@ export interface IPActionStorageStatic extends BaseContract {
|
|
|
267
228
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
268
229
|
): Promise<BigNumber>;
|
|
269
230
|
|
|
270
|
-
getBulkSellerFactory(overrides?: CallOverrides): Promise<BigNumber>;
|
|
271
|
-
|
|
272
231
|
getDefaultApproxParams(overrides?: CallOverrides): Promise<BigNumber>;
|
|
273
232
|
|
|
274
233
|
getOwnerAndPendingOwner(overrides?: CallOverrides): Promise<BigNumber>;
|
|
275
234
|
|
|
276
|
-
setBulkSellerFactory(
|
|
277
|
-
_bulkSellerFactory: string,
|
|
278
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
279
|
-
): Promise<BigNumber>;
|
|
280
|
-
|
|
281
235
|
setDefaultApproxParams(
|
|
282
236
|
params: ApproxParamsStruct,
|
|
283
237
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -296,10 +250,6 @@ export interface IPActionStorageStatic extends BaseContract {
|
|
|
296
250
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
297
251
|
): Promise<PopulatedTransaction>;
|
|
298
252
|
|
|
299
|
-
getBulkSellerFactory(
|
|
300
|
-
overrides?: CallOverrides
|
|
301
|
-
): Promise<PopulatedTransaction>;
|
|
302
|
-
|
|
303
253
|
getDefaultApproxParams(
|
|
304
254
|
overrides?: CallOverrides
|
|
305
255
|
): Promise<PopulatedTransaction>;
|
|
@@ -308,11 +258,6 @@ export interface IPActionStorageStatic extends BaseContract {
|
|
|
308
258
|
overrides?: CallOverrides
|
|
309
259
|
): Promise<PopulatedTransaction>;
|
|
310
260
|
|
|
311
|
-
setBulkSellerFactory(
|
|
312
|
-
_bulkSellerFactory: string,
|
|
313
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
314
|
-
): Promise<PopulatedTransaction>;
|
|
315
|
-
|
|
316
261
|
setDefaultApproxParams(
|
|
317
262
|
params: ApproxParamsStruct,
|
|
318
263
|
overrides?: Overrides & { from?: string | Promise<string> }
|