@pendle/core-v2 0.11.8-testnet → 0.11.10-testnet
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/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultSCY.sol/PendleYearnVaultSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +20 -2
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +4 -4
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +2 -2
- package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
- package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.json +2 -2
- package/build/artifacts/contracts/core/actions/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/ActionSwapPTYT.sol/ActionSwapPTYT.json +185 -0
- package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.json +2 -2
- package/build/artifacts/contracts/core/actions/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.json +180 -0
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +169 -0
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.json +93 -0
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +210 -56
- package/build/artifacts/contracts/offchain-helpers/SSTORE2DeployerContract.sol/SSTORE2DeployerContract.dbg.json +1 -1
- package/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol +6 -1
- package/contracts/core/PendleRouter.sol +10 -1
- package/contracts/core/actions/ActionAddRemoveLiq.sol +23 -2
- package/contracts/core/actions/ActionCallback.sol +39 -0
- package/contracts/core/actions/ActionSwapPTYT.sol +86 -0
- package/contracts/core/actions/base/CallbackHelper.sol +49 -1
- package/contracts/interfaces/IPActionSwapPTYT.sol +31 -0
- package/contracts/interfaces/IPAllAction.sol +2 -0
- package/contracts/interfaces/IPVotingEscrow.sol +1 -1
- package/contracts/libraries/math/MarketApproxLib.sol +117 -0
- package/contracts/offchain-helpers/MarketMathStatic.sol +69 -8
- package/contracts/offchain-helpers/RouterStatic.sol +76 -3
- package/deployments/43113-core.json +1 -1
- package/package.json +1 -3
- package/typechain-types/ActionSwapPTYT.ts +233 -0
- package/typechain-types/IPActionSwapPTYT.ts +233 -0
- package/typechain-types/IPAllAction.ts +138 -0
- package/typechain-types/IPVotingEscrow.ts +131 -0
- package/typechain-types/PendleFeeDistributorFactory.ts +97 -8
- package/typechain-types/PendleRouter.ts +19 -0
- package/typechain-types/RouterStatic.ts +174 -0
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +238 -0
- package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
- package/typechain-types/factories/IPActionSwapPTYT__factory.ts +195 -0
- package/typechain-types/factories/IPAllAction__factory.ts +169 -0
- package/typechain-types/factories/IPVotingEscrow__factory.ts +93 -0
- package/typechain-types/factories/MarketMathStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +81 -8
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleRouter__factory.ts +23 -1
- package/typechain-types/factories/RouterStatic__factory.ts +143 -1
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +72 -117
- package/typechain-types/index.ts +16 -26
|
@@ -123,10 +123,12 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
123
123
|
"removeLiquiditySingleToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
124
124
|
"swapExactPtForScy(address,address,uint256,uint256)": FunctionFragment;
|
|
125
125
|
"swapExactPtForToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
126
|
+
"swapExactPtForYt(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
126
127
|
"swapExactScyForPt(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
127
128
|
"swapExactScyForYt(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
128
129
|
"swapExactTokenForPt(address,address,uint256,(uint256,uint256,uint256,uint256,uint256),(address,uint256,address,bytes))": FunctionFragment;
|
|
129
130
|
"swapExactTokenForYt(address,address,uint256,(uint256,uint256,uint256,uint256,uint256),(address,uint256,address,bytes))": FunctionFragment;
|
|
131
|
+
"swapExactYtForPt(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
130
132
|
"swapExactYtForScy(address,address,uint256,uint256)": FunctionFragment;
|
|
131
133
|
"swapExactYtForToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
132
134
|
"swapPtForExactScy(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
@@ -224,6 +226,10 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
224
226
|
functionFragment: "swapExactPtForToken",
|
|
225
227
|
values: [string, string, BigNumberish, TokenOutputStruct]
|
|
226
228
|
): string;
|
|
229
|
+
encodeFunctionData(
|
|
230
|
+
functionFragment: "swapExactPtForYt",
|
|
231
|
+
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
232
|
+
): string;
|
|
227
233
|
encodeFunctionData(
|
|
228
234
|
functionFragment: "swapExactScyForPt",
|
|
229
235
|
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
@@ -240,6 +246,10 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
240
246
|
functionFragment: "swapExactTokenForYt",
|
|
241
247
|
values: [string, string, BigNumberish, ApproxParamsStruct, TokenInputStruct]
|
|
242
248
|
): string;
|
|
249
|
+
encodeFunctionData(
|
|
250
|
+
functionFragment: "swapExactYtForPt",
|
|
251
|
+
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
252
|
+
): string;
|
|
243
253
|
encodeFunctionData(
|
|
244
254
|
functionFragment: "swapExactYtForScy",
|
|
245
255
|
values: [string, string, BigNumberish, BigNumberish]
|
|
@@ -346,6 +356,10 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
346
356
|
functionFragment: "swapExactPtForToken",
|
|
347
357
|
data: BytesLike
|
|
348
358
|
): Result;
|
|
359
|
+
decodeFunctionResult(
|
|
360
|
+
functionFragment: "swapExactPtForYt",
|
|
361
|
+
data: BytesLike
|
|
362
|
+
): Result;
|
|
349
363
|
decodeFunctionResult(
|
|
350
364
|
functionFragment: "swapExactScyForPt",
|
|
351
365
|
data: BytesLike
|
|
@@ -362,6 +376,10 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
362
376
|
functionFragment: "swapExactTokenForYt",
|
|
363
377
|
data: BytesLike
|
|
364
378
|
): Result;
|
|
379
|
+
decodeFunctionResult(
|
|
380
|
+
functionFragment: "swapExactYtForPt",
|
|
381
|
+
data: BytesLike
|
|
382
|
+
): Result;
|
|
365
383
|
decodeFunctionResult(
|
|
366
384
|
functionFragment: "swapExactYtForScy",
|
|
367
385
|
data: BytesLike
|
|
@@ -408,6 +426,7 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
408
426
|
"RemoveLiquiditySingleToken(address,address,address,address,uint256,uint256)": EventFragment;
|
|
409
427
|
"SwapPtAndScy(address,address,address,int256,int256)": EventFragment;
|
|
410
428
|
"SwapPtAndToken(address,address,address,address,int256,int256)": EventFragment;
|
|
429
|
+
"SwapPtAndYt(address,address,address,int256,int256)": EventFragment;
|
|
411
430
|
"SwapYtAndScy(address,address,address,int256,int256)": EventFragment;
|
|
412
431
|
"SwapYtAndToken(address,address,address,address,int256,int256)": EventFragment;
|
|
413
432
|
};
|
|
@@ -440,6 +459,7 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
440
459
|
getEvent(nameOrSignatureOrTopic: "RemoveLiquiditySingleToken"): EventFragment;
|
|
441
460
|
getEvent(nameOrSignatureOrTopic: "SwapPtAndScy"): EventFragment;
|
|
442
461
|
getEvent(nameOrSignatureOrTopic: "SwapPtAndToken"): EventFragment;
|
|
462
|
+
getEvent(nameOrSignatureOrTopic: "SwapPtAndYt"): EventFragment;
|
|
443
463
|
getEvent(nameOrSignatureOrTopic: "SwapYtAndScy"): EventFragment;
|
|
444
464
|
getEvent(nameOrSignatureOrTopic: "SwapYtAndToken"): EventFragment;
|
|
445
465
|
}
|
|
@@ -744,6 +764,19 @@ export type SwapPtAndTokenEvent = TypedEvent<
|
|
|
744
764
|
|
|
745
765
|
export type SwapPtAndTokenEventFilter = TypedEventFilter<SwapPtAndTokenEvent>;
|
|
746
766
|
|
|
767
|
+
export type SwapPtAndYtEvent = TypedEvent<
|
|
768
|
+
[string, string, string, BigNumber, BigNumber],
|
|
769
|
+
{
|
|
770
|
+
caller: string;
|
|
771
|
+
market: string;
|
|
772
|
+
receiver: string;
|
|
773
|
+
netPtToAccount: BigNumber;
|
|
774
|
+
netYtToAccount: BigNumber;
|
|
775
|
+
}
|
|
776
|
+
>;
|
|
777
|
+
|
|
778
|
+
export type SwapPtAndYtEventFilter = TypedEventFilter<SwapPtAndYtEvent>;
|
|
779
|
+
|
|
747
780
|
export type SwapYtAndScyEvent = TypedEvent<
|
|
748
781
|
[string, string, string, BigNumber, BigNumber],
|
|
749
782
|
{
|
|
@@ -975,6 +1008,15 @@ export interface IPAllAction extends BaseContract {
|
|
|
975
1008
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
976
1009
|
): Promise<ContractTransaction>;
|
|
977
1010
|
|
|
1011
|
+
swapExactPtForYt(
|
|
1012
|
+
receiver: string,
|
|
1013
|
+
market: string,
|
|
1014
|
+
exactPtIn: BigNumberish,
|
|
1015
|
+
minYtOut: BigNumberish,
|
|
1016
|
+
guessTotalPtToSwap: ApproxParamsStruct,
|
|
1017
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1018
|
+
): Promise<ContractTransaction>;
|
|
1019
|
+
|
|
978
1020
|
swapExactScyForPt(
|
|
979
1021
|
receiver: string,
|
|
980
1022
|
market: string,
|
|
@@ -1011,6 +1053,15 @@ export interface IPAllAction extends BaseContract {
|
|
|
1011
1053
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1012
1054
|
): Promise<ContractTransaction>;
|
|
1013
1055
|
|
|
1056
|
+
swapExactYtForPt(
|
|
1057
|
+
receiver: string,
|
|
1058
|
+
market: string,
|
|
1059
|
+
exactYtIn: BigNumberish,
|
|
1060
|
+
minPtOut: BigNumberish,
|
|
1061
|
+
guessTotalPtSwapped: ApproxParamsStruct,
|
|
1062
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1063
|
+
): Promise<ContractTransaction>;
|
|
1064
|
+
|
|
1014
1065
|
swapExactYtForScy(
|
|
1015
1066
|
receiver: string,
|
|
1016
1067
|
market: string,
|
|
@@ -1238,6 +1289,15 @@ export interface IPAllAction extends BaseContract {
|
|
|
1238
1289
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1239
1290
|
): Promise<ContractTransaction>;
|
|
1240
1291
|
|
|
1292
|
+
swapExactPtForYt(
|
|
1293
|
+
receiver: string,
|
|
1294
|
+
market: string,
|
|
1295
|
+
exactPtIn: BigNumberish,
|
|
1296
|
+
minYtOut: BigNumberish,
|
|
1297
|
+
guessTotalPtToSwap: ApproxParamsStruct,
|
|
1298
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1299
|
+
): Promise<ContractTransaction>;
|
|
1300
|
+
|
|
1241
1301
|
swapExactScyForPt(
|
|
1242
1302
|
receiver: string,
|
|
1243
1303
|
market: string,
|
|
@@ -1274,6 +1334,15 @@ export interface IPAllAction extends BaseContract {
|
|
|
1274
1334
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1275
1335
|
): Promise<ContractTransaction>;
|
|
1276
1336
|
|
|
1337
|
+
swapExactYtForPt(
|
|
1338
|
+
receiver: string,
|
|
1339
|
+
market: string,
|
|
1340
|
+
exactYtIn: BigNumberish,
|
|
1341
|
+
minPtOut: BigNumberish,
|
|
1342
|
+
guessTotalPtSwapped: ApproxParamsStruct,
|
|
1343
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1344
|
+
): Promise<ContractTransaction>;
|
|
1345
|
+
|
|
1277
1346
|
swapExactYtForScy(
|
|
1278
1347
|
receiver: string,
|
|
1279
1348
|
market: string,
|
|
@@ -1529,6 +1598,15 @@ export interface IPAllAction extends BaseContract {
|
|
|
1529
1598
|
overrides?: CallOverrides
|
|
1530
1599
|
): Promise<BigNumber>;
|
|
1531
1600
|
|
|
1601
|
+
swapExactPtForYt(
|
|
1602
|
+
receiver: string,
|
|
1603
|
+
market: string,
|
|
1604
|
+
exactPtIn: BigNumberish,
|
|
1605
|
+
minYtOut: BigNumberish,
|
|
1606
|
+
guessTotalPtToSwap: ApproxParamsStruct,
|
|
1607
|
+
overrides?: CallOverrides
|
|
1608
|
+
): Promise<BigNumber>;
|
|
1609
|
+
|
|
1532
1610
|
swapExactScyForPt(
|
|
1533
1611
|
receiver: string,
|
|
1534
1612
|
market: string,
|
|
@@ -1565,6 +1643,15 @@ export interface IPAllAction extends BaseContract {
|
|
|
1565
1643
|
overrides?: CallOverrides
|
|
1566
1644
|
): Promise<BigNumber>;
|
|
1567
1645
|
|
|
1646
|
+
swapExactYtForPt(
|
|
1647
|
+
receiver: string,
|
|
1648
|
+
market: string,
|
|
1649
|
+
exactYtIn: BigNumberish,
|
|
1650
|
+
minPtOut: BigNumberish,
|
|
1651
|
+
guessTotalPtSwapped: ApproxParamsStruct,
|
|
1652
|
+
overrides?: CallOverrides
|
|
1653
|
+
): Promise<BigNumber>;
|
|
1654
|
+
|
|
1568
1655
|
swapExactYtForScy(
|
|
1569
1656
|
receiver: string,
|
|
1570
1657
|
market: string,
|
|
@@ -1951,6 +2038,21 @@ export interface IPAllAction extends BaseContract {
|
|
|
1951
2038
|
netTokenToAccount?: null
|
|
1952
2039
|
): SwapPtAndTokenEventFilter;
|
|
1953
2040
|
|
|
2041
|
+
"SwapPtAndYt(address,address,address,int256,int256)"(
|
|
2042
|
+
caller?: string | null,
|
|
2043
|
+
market?: string | null,
|
|
2044
|
+
receiver?: string | null,
|
|
2045
|
+
netPtToAccount?: null,
|
|
2046
|
+
netYtToAccount?: null
|
|
2047
|
+
): SwapPtAndYtEventFilter;
|
|
2048
|
+
SwapPtAndYt(
|
|
2049
|
+
caller?: string | null,
|
|
2050
|
+
market?: string | null,
|
|
2051
|
+
receiver?: string | null,
|
|
2052
|
+
netPtToAccount?: null,
|
|
2053
|
+
netYtToAccount?: null
|
|
2054
|
+
): SwapPtAndYtEventFilter;
|
|
2055
|
+
|
|
1954
2056
|
"SwapYtAndScy(address,address,address,int256,int256)"(
|
|
1955
2057
|
caller?: string | null,
|
|
1956
2058
|
market?: string | null,
|
|
@@ -2161,6 +2263,15 @@ export interface IPAllAction extends BaseContract {
|
|
|
2161
2263
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2162
2264
|
): Promise<BigNumber>;
|
|
2163
2265
|
|
|
2266
|
+
swapExactPtForYt(
|
|
2267
|
+
receiver: string,
|
|
2268
|
+
market: string,
|
|
2269
|
+
exactPtIn: BigNumberish,
|
|
2270
|
+
minYtOut: BigNumberish,
|
|
2271
|
+
guessTotalPtToSwap: ApproxParamsStruct,
|
|
2272
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2273
|
+
): Promise<BigNumber>;
|
|
2274
|
+
|
|
2164
2275
|
swapExactScyForPt(
|
|
2165
2276
|
receiver: string,
|
|
2166
2277
|
market: string,
|
|
@@ -2197,6 +2308,15 @@ export interface IPAllAction extends BaseContract {
|
|
|
2197
2308
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
2198
2309
|
): Promise<BigNumber>;
|
|
2199
2310
|
|
|
2311
|
+
swapExactYtForPt(
|
|
2312
|
+
receiver: string,
|
|
2313
|
+
market: string,
|
|
2314
|
+
exactYtIn: BigNumberish,
|
|
2315
|
+
minPtOut: BigNumberish,
|
|
2316
|
+
guessTotalPtSwapped: ApproxParamsStruct,
|
|
2317
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2318
|
+
): Promise<BigNumber>;
|
|
2319
|
+
|
|
2200
2320
|
swapExactYtForScy(
|
|
2201
2321
|
receiver: string,
|
|
2202
2322
|
market: string,
|
|
@@ -2425,6 +2545,15 @@ export interface IPAllAction extends BaseContract {
|
|
|
2425
2545
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2426
2546
|
): Promise<PopulatedTransaction>;
|
|
2427
2547
|
|
|
2548
|
+
swapExactPtForYt(
|
|
2549
|
+
receiver: string,
|
|
2550
|
+
market: string,
|
|
2551
|
+
exactPtIn: BigNumberish,
|
|
2552
|
+
minYtOut: BigNumberish,
|
|
2553
|
+
guessTotalPtToSwap: ApproxParamsStruct,
|
|
2554
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2555
|
+
): Promise<PopulatedTransaction>;
|
|
2556
|
+
|
|
2428
2557
|
swapExactScyForPt(
|
|
2429
2558
|
receiver: string,
|
|
2430
2559
|
market: string,
|
|
@@ -2461,6 +2590,15 @@ export interface IPAllAction extends BaseContract {
|
|
|
2461
2590
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
2462
2591
|
): Promise<PopulatedTransaction>;
|
|
2463
2592
|
|
|
2593
|
+
swapExactYtForPt(
|
|
2594
|
+
receiver: string,
|
|
2595
|
+
market: string,
|
|
2596
|
+
exactYtIn: BigNumberish,
|
|
2597
|
+
minPtOut: BigNumberish,
|
|
2598
|
+
guessTotalPtSwapped: ApproxParamsStruct,
|
|
2599
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2600
|
+
): Promise<PopulatedTransaction>;
|
|
2601
|
+
|
|
2464
2602
|
swapExactYtForScy(
|
|
2465
2603
|
receiver: string,
|
|
2466
2604
|
market: string,
|
|
@@ -32,20 +32,59 @@ export type VeBalanceStructOutput = [BigNumber, BigNumber] & {
|
|
|
32
32
|
export interface IPVotingEscrowInterface extends utils.Interface {
|
|
33
33
|
contractName: "IPVotingEscrow";
|
|
34
34
|
functions: {
|
|
35
|
+
"balanceOf(address)": FunctionFragment;
|
|
35
36
|
"increaseLockPosition(uint128,uint128)": FunctionFragment;
|
|
37
|
+
"positionData(address)": FunctionFragment;
|
|
38
|
+
"totalSupplyAndBalanceCurrent(address)": FunctionFragment;
|
|
39
|
+
"totalSupplyCurrent()": FunctionFragment;
|
|
40
|
+
"totalSupplyStored()": FunctionFragment;
|
|
36
41
|
"withdraw()": FunctionFragment;
|
|
37
42
|
};
|
|
38
43
|
|
|
44
|
+
encodeFunctionData(functionFragment: "balanceOf", values: [string]): string;
|
|
39
45
|
encodeFunctionData(
|
|
40
46
|
functionFragment: "increaseLockPosition",
|
|
41
47
|
values: [BigNumberish, BigNumberish]
|
|
42
48
|
): string;
|
|
49
|
+
encodeFunctionData(
|
|
50
|
+
functionFragment: "positionData",
|
|
51
|
+
values: [string]
|
|
52
|
+
): string;
|
|
53
|
+
encodeFunctionData(
|
|
54
|
+
functionFragment: "totalSupplyAndBalanceCurrent",
|
|
55
|
+
values: [string]
|
|
56
|
+
): string;
|
|
57
|
+
encodeFunctionData(
|
|
58
|
+
functionFragment: "totalSupplyCurrent",
|
|
59
|
+
values?: undefined
|
|
60
|
+
): string;
|
|
61
|
+
encodeFunctionData(
|
|
62
|
+
functionFragment: "totalSupplyStored",
|
|
63
|
+
values?: undefined
|
|
64
|
+
): string;
|
|
43
65
|
encodeFunctionData(functionFragment: "withdraw", values?: undefined): string;
|
|
44
66
|
|
|
67
|
+
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
45
68
|
decodeFunctionResult(
|
|
46
69
|
functionFragment: "increaseLockPosition",
|
|
47
70
|
data: BytesLike
|
|
48
71
|
): Result;
|
|
72
|
+
decodeFunctionResult(
|
|
73
|
+
functionFragment: "positionData",
|
|
74
|
+
data: BytesLike
|
|
75
|
+
): Result;
|
|
76
|
+
decodeFunctionResult(
|
|
77
|
+
functionFragment: "totalSupplyAndBalanceCurrent",
|
|
78
|
+
data: BytesLike
|
|
79
|
+
): Result;
|
|
80
|
+
decodeFunctionResult(
|
|
81
|
+
functionFragment: "totalSupplyCurrent",
|
|
82
|
+
data: BytesLike
|
|
83
|
+
): Result;
|
|
84
|
+
decodeFunctionResult(
|
|
85
|
+
functionFragment: "totalSupplyStored",
|
|
86
|
+
data: BytesLike
|
|
87
|
+
): Result;
|
|
49
88
|
decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
|
|
50
89
|
|
|
51
90
|
events: {
|
|
@@ -119,34 +158,90 @@ export interface IPVotingEscrow extends BaseContract {
|
|
|
119
158
|
removeListener: OnEvent<this>;
|
|
120
159
|
|
|
121
160
|
functions: {
|
|
161
|
+
balanceOf(user: string, overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
162
|
+
|
|
122
163
|
increaseLockPosition(
|
|
123
164
|
additionalAmountToLock: BigNumberish,
|
|
124
165
|
expiry: BigNumberish,
|
|
125
166
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
126
167
|
): Promise<ContractTransaction>;
|
|
127
168
|
|
|
169
|
+
positionData(
|
|
170
|
+
user: string,
|
|
171
|
+
overrides?: CallOverrides
|
|
172
|
+
): Promise<
|
|
173
|
+
[BigNumber, BigNumber] & { amount: BigNumber; expiry: BigNumber }
|
|
174
|
+
>;
|
|
175
|
+
|
|
176
|
+
totalSupplyAndBalanceCurrent(
|
|
177
|
+
user: string,
|
|
178
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
179
|
+
): Promise<ContractTransaction>;
|
|
180
|
+
|
|
181
|
+
totalSupplyCurrent(
|
|
182
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
183
|
+
): Promise<ContractTransaction>;
|
|
184
|
+
|
|
185
|
+
totalSupplyStored(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
186
|
+
|
|
128
187
|
withdraw(
|
|
129
188
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
130
189
|
): Promise<ContractTransaction>;
|
|
131
190
|
};
|
|
132
191
|
|
|
192
|
+
balanceOf(user: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
193
|
+
|
|
133
194
|
increaseLockPosition(
|
|
134
195
|
additionalAmountToLock: BigNumberish,
|
|
135
196
|
expiry: BigNumberish,
|
|
136
197
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
137
198
|
): Promise<ContractTransaction>;
|
|
138
199
|
|
|
200
|
+
positionData(
|
|
201
|
+
user: string,
|
|
202
|
+
overrides?: CallOverrides
|
|
203
|
+
): Promise<[BigNumber, BigNumber] & { amount: BigNumber; expiry: BigNumber }>;
|
|
204
|
+
|
|
205
|
+
totalSupplyAndBalanceCurrent(
|
|
206
|
+
user: string,
|
|
207
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
208
|
+
): Promise<ContractTransaction>;
|
|
209
|
+
|
|
210
|
+
totalSupplyCurrent(
|
|
211
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
212
|
+
): Promise<ContractTransaction>;
|
|
213
|
+
|
|
214
|
+
totalSupplyStored(overrides?: CallOverrides): Promise<BigNumber>;
|
|
215
|
+
|
|
139
216
|
withdraw(
|
|
140
217
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
141
218
|
): Promise<ContractTransaction>;
|
|
142
219
|
|
|
143
220
|
callStatic: {
|
|
221
|
+
balanceOf(user: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
222
|
+
|
|
144
223
|
increaseLockPosition(
|
|
145
224
|
additionalAmountToLock: BigNumberish,
|
|
146
225
|
expiry: BigNumberish,
|
|
147
226
|
overrides?: CallOverrides
|
|
148
227
|
): Promise<BigNumber>;
|
|
149
228
|
|
|
229
|
+
positionData(
|
|
230
|
+
user: string,
|
|
231
|
+
overrides?: CallOverrides
|
|
232
|
+
): Promise<
|
|
233
|
+
[BigNumber, BigNumber] & { amount: BigNumber; expiry: BigNumber }
|
|
234
|
+
>;
|
|
235
|
+
|
|
236
|
+
totalSupplyAndBalanceCurrent(
|
|
237
|
+
user: string,
|
|
238
|
+
overrides?: CallOverrides
|
|
239
|
+
): Promise<[BigNumber, BigNumber]>;
|
|
240
|
+
|
|
241
|
+
totalSupplyCurrent(overrides?: CallOverrides): Promise<BigNumber>;
|
|
242
|
+
|
|
243
|
+
totalSupplyStored(overrides?: CallOverrides): Promise<BigNumber>;
|
|
244
|
+
|
|
150
245
|
withdraw(overrides?: CallOverrides): Promise<BigNumber>;
|
|
151
246
|
};
|
|
152
247
|
|
|
@@ -188,24 +283,60 @@ export interface IPVotingEscrow extends BaseContract {
|
|
|
188
283
|
};
|
|
189
284
|
|
|
190
285
|
estimateGas: {
|
|
286
|
+
balanceOf(user: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
287
|
+
|
|
191
288
|
increaseLockPosition(
|
|
192
289
|
additionalAmountToLock: BigNumberish,
|
|
193
290
|
expiry: BigNumberish,
|
|
194
291
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
195
292
|
): Promise<BigNumber>;
|
|
196
293
|
|
|
294
|
+
positionData(user: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
295
|
+
|
|
296
|
+
totalSupplyAndBalanceCurrent(
|
|
297
|
+
user: string,
|
|
298
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
299
|
+
): Promise<BigNumber>;
|
|
300
|
+
|
|
301
|
+
totalSupplyCurrent(
|
|
302
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
303
|
+
): Promise<BigNumber>;
|
|
304
|
+
|
|
305
|
+
totalSupplyStored(overrides?: CallOverrides): Promise<BigNumber>;
|
|
306
|
+
|
|
197
307
|
withdraw(
|
|
198
308
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
199
309
|
): Promise<BigNumber>;
|
|
200
310
|
};
|
|
201
311
|
|
|
202
312
|
populateTransaction: {
|
|
313
|
+
balanceOf(
|
|
314
|
+
user: string,
|
|
315
|
+
overrides?: CallOverrides
|
|
316
|
+
): Promise<PopulatedTransaction>;
|
|
317
|
+
|
|
203
318
|
increaseLockPosition(
|
|
204
319
|
additionalAmountToLock: BigNumberish,
|
|
205
320
|
expiry: BigNumberish,
|
|
206
321
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
207
322
|
): Promise<PopulatedTransaction>;
|
|
208
323
|
|
|
324
|
+
positionData(
|
|
325
|
+
user: string,
|
|
326
|
+
overrides?: CallOverrides
|
|
327
|
+
): Promise<PopulatedTransaction>;
|
|
328
|
+
|
|
329
|
+
totalSupplyAndBalanceCurrent(
|
|
330
|
+
user: string,
|
|
331
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
332
|
+
): Promise<PopulatedTransaction>;
|
|
333
|
+
|
|
334
|
+
totalSupplyCurrent(
|
|
335
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
336
|
+
): Promise<PopulatedTransaction>;
|
|
337
|
+
|
|
338
|
+
totalSupplyStored(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
339
|
+
|
|
209
340
|
withdraw(
|
|
210
341
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
211
342
|
): Promise<PopulatedTransaction>;
|
|
@@ -27,7 +27,10 @@ export interface PendleFeeDistributorFactoryInterface extends utils.Interface {
|
|
|
27
27
|
functions: {
|
|
28
28
|
"claimOwnership()": FunctionFragment;
|
|
29
29
|
"createFeeDistributor(address,uint64)": FunctionFragment;
|
|
30
|
-
"
|
|
30
|
+
"feeDistributorCreationCodeContractA()": FunctionFragment;
|
|
31
|
+
"feeDistributorCreationCodeContractB()": FunctionFragment;
|
|
32
|
+
"feeDistributorCreationCodeSizeA()": FunctionFragment;
|
|
33
|
+
"feeDistributorCreationCodeSizeB()": FunctionFragment;
|
|
31
34
|
"getUserAndTotalSharesAt(address,address,uint256)": FunctionFragment;
|
|
32
35
|
"lastFinishedEpoch()": FunctionFragment;
|
|
33
36
|
"owner()": FunctionFragment;
|
|
@@ -50,7 +53,19 @@ export interface PendleFeeDistributorFactoryInterface extends utils.Interface {
|
|
|
50
53
|
values: [string, BigNumberish]
|
|
51
54
|
): string;
|
|
52
55
|
encodeFunctionData(
|
|
53
|
-
functionFragment: "
|
|
56
|
+
functionFragment: "feeDistributorCreationCodeContractA",
|
|
57
|
+
values?: undefined
|
|
58
|
+
): string;
|
|
59
|
+
encodeFunctionData(
|
|
60
|
+
functionFragment: "feeDistributorCreationCodeContractB",
|
|
61
|
+
values?: undefined
|
|
62
|
+
): string;
|
|
63
|
+
encodeFunctionData(
|
|
64
|
+
functionFragment: "feeDistributorCreationCodeSizeA",
|
|
65
|
+
values?: undefined
|
|
66
|
+
): string;
|
|
67
|
+
encodeFunctionData(
|
|
68
|
+
functionFragment: "feeDistributorCreationCodeSizeB",
|
|
54
69
|
values?: undefined
|
|
55
70
|
): string;
|
|
56
71
|
encodeFunctionData(
|
|
@@ -98,7 +113,19 @@ export interface PendleFeeDistributorFactoryInterface extends utils.Interface {
|
|
|
98
113
|
data: BytesLike
|
|
99
114
|
): Result;
|
|
100
115
|
decodeFunctionResult(
|
|
101
|
-
functionFragment: "
|
|
116
|
+
functionFragment: "feeDistributorCreationCodeContractA",
|
|
117
|
+
data: BytesLike
|
|
118
|
+
): Result;
|
|
119
|
+
decodeFunctionResult(
|
|
120
|
+
functionFragment: "feeDistributorCreationCodeContractB",
|
|
121
|
+
data: BytesLike
|
|
122
|
+
): Result;
|
|
123
|
+
decodeFunctionResult(
|
|
124
|
+
functionFragment: "feeDistributorCreationCodeSizeA",
|
|
125
|
+
data: BytesLike
|
|
126
|
+
): Result;
|
|
127
|
+
decodeFunctionResult(
|
|
128
|
+
functionFragment: "feeDistributorCreationCodeSizeB",
|
|
102
129
|
data: BytesLike
|
|
103
130
|
): Result;
|
|
104
131
|
decodeFunctionResult(
|
|
@@ -187,10 +214,22 @@ export interface PendleFeeDistributorFactory extends BaseContract {
|
|
|
187
214
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
188
215
|
): Promise<ContractTransaction>;
|
|
189
216
|
|
|
190
|
-
|
|
217
|
+
feeDistributorCreationCodeContractA(
|
|
218
|
+
overrides?: CallOverrides
|
|
219
|
+
): Promise<[string]>;
|
|
220
|
+
|
|
221
|
+
feeDistributorCreationCodeContractB(
|
|
191
222
|
overrides?: CallOverrides
|
|
192
223
|
): Promise<[string]>;
|
|
193
224
|
|
|
225
|
+
feeDistributorCreationCodeSizeA(
|
|
226
|
+
overrides?: CallOverrides
|
|
227
|
+
): Promise<[BigNumber]>;
|
|
228
|
+
|
|
229
|
+
feeDistributorCreationCodeSizeB(
|
|
230
|
+
overrides?: CallOverrides
|
|
231
|
+
): Promise<[BigNumber]>;
|
|
232
|
+
|
|
194
233
|
getUserAndTotalSharesAt(
|
|
195
234
|
user: string,
|
|
196
235
|
pool: string,
|
|
@@ -251,7 +290,21 @@ export interface PendleFeeDistributorFactory extends BaseContract {
|
|
|
251
290
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
252
291
|
): Promise<ContractTransaction>;
|
|
253
292
|
|
|
254
|
-
|
|
293
|
+
feeDistributorCreationCodeContractA(
|
|
294
|
+
overrides?: CallOverrides
|
|
295
|
+
): Promise<string>;
|
|
296
|
+
|
|
297
|
+
feeDistributorCreationCodeContractB(
|
|
298
|
+
overrides?: CallOverrides
|
|
299
|
+
): Promise<string>;
|
|
300
|
+
|
|
301
|
+
feeDistributorCreationCodeSizeA(
|
|
302
|
+
overrides?: CallOverrides
|
|
303
|
+
): Promise<BigNumber>;
|
|
304
|
+
|
|
305
|
+
feeDistributorCreationCodeSizeB(
|
|
306
|
+
overrides?: CallOverrides
|
|
307
|
+
): Promise<BigNumber>;
|
|
255
308
|
|
|
256
309
|
getUserAndTotalSharesAt(
|
|
257
310
|
user: string,
|
|
@@ -311,10 +364,22 @@ export interface PendleFeeDistributorFactory extends BaseContract {
|
|
|
311
364
|
overrides?: CallOverrides
|
|
312
365
|
): Promise<string>;
|
|
313
366
|
|
|
314
|
-
|
|
367
|
+
feeDistributorCreationCodeContractA(
|
|
368
|
+
overrides?: CallOverrides
|
|
369
|
+
): Promise<string>;
|
|
370
|
+
|
|
371
|
+
feeDistributorCreationCodeContractB(
|
|
315
372
|
overrides?: CallOverrides
|
|
316
373
|
): Promise<string>;
|
|
317
374
|
|
|
375
|
+
feeDistributorCreationCodeSizeA(
|
|
376
|
+
overrides?: CallOverrides
|
|
377
|
+
): Promise<BigNumber>;
|
|
378
|
+
|
|
379
|
+
feeDistributorCreationCodeSizeB(
|
|
380
|
+
overrides?: CallOverrides
|
|
381
|
+
): Promise<BigNumber>;
|
|
382
|
+
|
|
318
383
|
getUserAndTotalSharesAt(
|
|
319
384
|
user: string,
|
|
320
385
|
pool: string,
|
|
@@ -387,7 +452,19 @@ export interface PendleFeeDistributorFactory extends BaseContract {
|
|
|
387
452
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
388
453
|
): Promise<BigNumber>;
|
|
389
454
|
|
|
390
|
-
|
|
455
|
+
feeDistributorCreationCodeContractA(
|
|
456
|
+
overrides?: CallOverrides
|
|
457
|
+
): Promise<BigNumber>;
|
|
458
|
+
|
|
459
|
+
feeDistributorCreationCodeContractB(
|
|
460
|
+
overrides?: CallOverrides
|
|
461
|
+
): Promise<BigNumber>;
|
|
462
|
+
|
|
463
|
+
feeDistributorCreationCodeSizeA(
|
|
464
|
+
overrides?: CallOverrides
|
|
465
|
+
): Promise<BigNumber>;
|
|
466
|
+
|
|
467
|
+
feeDistributorCreationCodeSizeB(
|
|
391
468
|
overrides?: CallOverrides
|
|
392
469
|
): Promise<BigNumber>;
|
|
393
470
|
|
|
@@ -443,7 +520,19 @@ export interface PendleFeeDistributorFactory extends BaseContract {
|
|
|
443
520
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
444
521
|
): Promise<PopulatedTransaction>;
|
|
445
522
|
|
|
446
|
-
|
|
523
|
+
feeDistributorCreationCodeContractA(
|
|
524
|
+
overrides?: CallOverrides
|
|
525
|
+
): Promise<PopulatedTransaction>;
|
|
526
|
+
|
|
527
|
+
feeDistributorCreationCodeContractB(
|
|
528
|
+
overrides?: CallOverrides
|
|
529
|
+
): Promise<PopulatedTransaction>;
|
|
530
|
+
|
|
531
|
+
feeDistributorCreationCodeSizeA(
|
|
532
|
+
overrides?: CallOverrides
|
|
533
|
+
): Promise<PopulatedTransaction>;
|
|
534
|
+
|
|
535
|
+
feeDistributorCreationCodeSizeB(
|
|
447
536
|
overrides?: CallOverrides
|
|
448
537
|
): Promise<PopulatedTransaction>;
|
|
449
538
|
|