@pendle/core-v2 0.8.0-beta-9 → 0.8.0-beta-11
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/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargatePool.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargatePool.json +837 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.json +2 -2
- 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/PendleGaugeControllerMainchain.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchain.sol/PendleGaugeControllerMainchainUpg.json +2 -2
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechain.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechain.sol/PendleGaugeControllerSidechainUpg.json +2 -2
- 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/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
- 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/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- 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/PendleMarket.sol/PendleMarket.json +105 -30
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
- package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.json +2 -2
- package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.json +2 -2
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +2 -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/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -83
- 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/ActionCore.sol/ActionCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.json +16 -206
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +117 -12
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.json +148 -0
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.json +148 -0
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.json +173 -0
- package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IJoePair.sol/IJoePair.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IJoeRouter02.sol/IJoeRouter02.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.json +0 -338
- package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.json +0 -68
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +0 -406
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +28 -28
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +5 -0
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.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/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +0 -81
- package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.json +47 -0
- package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.json +56 -0
- package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.json +63 -0
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.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/SCY/SCYIndex.sol/SCYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/SCY/SCYIndex.sol/SCYIndexLib.json +2 -2
- package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.json +2 -2
- package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.json +2 -2
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.json +2 -2
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +2 -2
- package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.json +2 -2
- package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.json +2 -2
- package/build/artifacts/contracts/libraries/traderjoe/JoeLibrary.sol/JoeLibrary.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/traderjoe/JoeLibrary.sol/JoeLibrary.json +2 -2
- package/build/artifacts/contracts/libraries/traderjoe/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +7 -2
- package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.dbg.json +1 -1
- package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.json +2 -2
- package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
- package/contracts/core/PendleRouter.sol +8 -0
- package/contracts/core/YieldContracts/PendleYieldToken.sol +13 -5
- package/contracts/core/actions/ActionCore.sol +80 -0
- package/contracts/core/actions/base/ActionSCYAndPYBase.sol +36 -0
- package/contracts/interfaces/IPActionCore.sol +78 -0
- package/contracts/interfaces/IPRouterStatic.sol +2 -1
- package/contracts/offchain-helpers/RouterStatic.sol +56 -4
- package/deployments/43113-benqi.json +2 -2
- package/deployments/43113-core.json +1 -1
- package/deployments/43113-markets/benqi-market-5C60ba.json +7 -0
- package/deployments/43113-markets/benqi-market-611eA3.json +7 -0
- package/deployments/80001-benqi.json +2 -2
- package/deployments/80001-core.json +1 -1
- package/deployments/80001-markets/benqi-market-5E1104.json +7 -0
- package/deployments/80001-markets/benqi-market-c68429.json +7 -0
- package/package.json +1 -1
- package/typechain-types/ActionCore.ts +38 -180
- package/typechain-types/ActionSCYAndPTBase.ts +129 -3
- package/typechain-types/ActionSCYAndPYBase.ts +129 -3
- package/typechain-types/ActionSCYAndYTBase.ts +149 -3
- package/typechain-types/ActionYT.ts +117 -31
- package/typechain-types/IPActionCore.ts +3 -271
- package/typechain-types/IPActionYT.ts +3 -63
- package/typechain-types/IPAllAction.ts +3 -329
- package/typechain-types/IPMarket.ts +38 -38
- package/typechain-types/IPRouterStatic.ts +6 -3
- package/typechain-types/IPYieldToken.ts +0 -74
- package/typechain-types/IStargateLPStaking.ts +143 -0
- package/typechain-types/IStargatePool.ts +129 -0
- package/typechain-types/IStargateRouter.ts +159 -0
- package/typechain-types/PendleMarket.ts +142 -38
- package/typechain-types/PendleStargatePool.ts +1089 -0
- package/typechain-types/PendleYieldToken.ts +0 -74
- package/typechain-types/RouterStatic.ts +6 -3
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionCore__factory.ts +15 -205
- package/typechain-types/factories/ActionSCYAndPTBase__factory.ts +148 -0
- package/typechain-types/factories/ActionSCYAndPYBase__factory.ts +148 -0
- package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +173 -0
- package/typechain-types/factories/ActionYT__factory.ts +116 -11
- package/typechain-types/factories/ERC20__factory.ts +1 -1
- package/typechain-types/factories/IPActionCore__factory.ts +0 -338
- package/typechain-types/factories/IPActionYT__factory.ts +0 -68
- package/typechain-types/factories/IPAllAction__factory.ts +0 -406
- package/typechain-types/factories/IPMarket__factory.ts +28 -28
- package/typechain-types/factories/IPRouterStatic__factory.ts +5 -0
- package/typechain-types/factories/IPYieldToken__factory.ts +0 -81
- package/typechain-types/factories/IStargateLPStaking__factory.ts +62 -0
- package/typechain-types/factories/IStargatePool__factory.ts +68 -0
- package/typechain-types/factories/IStargateRouter__factory.ts +78 -0
- package/typechain-types/factories/PendleAaveV3SCY__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20__factory.ts +1 -1
- package/typechain-types/factories/PendleERC4626SCY__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGovernanceManager__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +104 -29
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleStargatePool__factory.ts +929 -0
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleWstEthSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleYearnVaultScy__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -82
- package/typechain-types/factories/RouterStatic__factory.ts +6 -1
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +36 -0
- package/typechain-types/index.ts +8 -0
|
@@ -182,48 +182,25 @@ export interface ActionCoreInterface extends utils.Interface {
|
|
|
182
182
|
): Result;
|
|
183
183
|
|
|
184
184
|
events: {
|
|
185
|
-
"
|
|
186
|
-
"
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
"RedeemScyToRawToken(address,address,address,uint256,address,uint256)": EventFragment;
|
|
190
|
-
"RemoveLiquidity(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
191
|
-
"SwapPtAndRawToken(address,address,address,address,int256,int256)": EventFragment;
|
|
192
|
-
"SwapPtAndScy(address,address,address,int256,int256)": EventFragment;
|
|
185
|
+
"MintPyFromRawToken(address,address,uint256,address,uint256)": EventFragment;
|
|
186
|
+
"MintScyFromRawToken(address,address,uint256,address,uint256)": EventFragment;
|
|
187
|
+
"RedeemPyToRawToken(address,address,uint256,address,uint256)": EventFragment;
|
|
188
|
+
"RedeemScyToRawToken(address,address,uint256,address,uint256)": EventFragment;
|
|
193
189
|
};
|
|
194
190
|
|
|
195
|
-
getEvent(nameOrSignatureOrTopic: "AddLiquidity"): EventFragment;
|
|
196
191
|
getEvent(nameOrSignatureOrTopic: "MintPyFromRawToken"): EventFragment;
|
|
197
192
|
getEvent(nameOrSignatureOrTopic: "MintScyFromRawToken"): EventFragment;
|
|
198
193
|
getEvent(nameOrSignatureOrTopic: "RedeemPyToRawToken"): EventFragment;
|
|
199
194
|
getEvent(nameOrSignatureOrTopic: "RedeemScyToRawToken"): EventFragment;
|
|
200
|
-
getEvent(nameOrSignatureOrTopic: "RemoveLiquidity"): EventFragment;
|
|
201
|
-
getEvent(nameOrSignatureOrTopic: "SwapPtAndRawToken"): EventFragment;
|
|
202
|
-
getEvent(nameOrSignatureOrTopic: "SwapPtAndScy"): EventFragment;
|
|
203
195
|
}
|
|
204
196
|
|
|
205
|
-
export type AddLiquidityEvent = TypedEvent<
|
|
206
|
-
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
207
|
-
{
|
|
208
|
-
caller: string;
|
|
209
|
-
market: string;
|
|
210
|
-
receiver: string;
|
|
211
|
-
scyUsed: BigNumber;
|
|
212
|
-
ptUsed: BigNumber;
|
|
213
|
-
lpOut: BigNumber;
|
|
214
|
-
}
|
|
215
|
-
>;
|
|
216
|
-
|
|
217
|
-
export type AddLiquidityEventFilter = TypedEventFilter<AddLiquidityEvent>;
|
|
218
|
-
|
|
219
197
|
export type MintPyFromRawTokenEvent = TypedEvent<
|
|
220
|
-
[string, string,
|
|
198
|
+
[string, string, BigNumber, string, BigNumber],
|
|
221
199
|
{
|
|
222
|
-
|
|
223
|
-
receiver: string;
|
|
224
|
-
YT: string;
|
|
200
|
+
user: string;
|
|
225
201
|
rawTokenIn: string;
|
|
226
202
|
netRawTokenIn: BigNumber;
|
|
203
|
+
YT: string;
|
|
227
204
|
netPyOut: BigNumber;
|
|
228
205
|
}
|
|
229
206
|
>;
|
|
@@ -232,13 +209,12 @@ export type MintPyFromRawTokenEventFilter =
|
|
|
232
209
|
TypedEventFilter<MintPyFromRawTokenEvent>;
|
|
233
210
|
|
|
234
211
|
export type MintScyFromRawTokenEvent = TypedEvent<
|
|
235
|
-
[string, string,
|
|
212
|
+
[string, string, BigNumber, string, BigNumber],
|
|
236
213
|
{
|
|
237
|
-
|
|
238
|
-
receiver: string;
|
|
239
|
-
SCY: string;
|
|
214
|
+
user: string;
|
|
240
215
|
rawTokenIn: string;
|
|
241
216
|
netRawTokenIn: BigNumber;
|
|
217
|
+
SCY: string;
|
|
242
218
|
netScyOut: BigNumber;
|
|
243
219
|
}
|
|
244
220
|
>;
|
|
@@ -247,10 +223,9 @@ export type MintScyFromRawTokenEventFilter =
|
|
|
247
223
|
TypedEventFilter<MintScyFromRawTokenEvent>;
|
|
248
224
|
|
|
249
225
|
export type RedeemPyToRawTokenEvent = TypedEvent<
|
|
250
|
-
[string, string,
|
|
226
|
+
[string, string, BigNumber, string, BigNumber],
|
|
251
227
|
{
|
|
252
|
-
|
|
253
|
-
receiver: string;
|
|
228
|
+
user: string;
|
|
254
229
|
YT: string;
|
|
255
230
|
netPyIn: BigNumber;
|
|
256
231
|
rawTokenOut: string;
|
|
@@ -262,10 +237,9 @@ export type RedeemPyToRawTokenEventFilter =
|
|
|
262
237
|
TypedEventFilter<RedeemPyToRawTokenEvent>;
|
|
263
238
|
|
|
264
239
|
export type RedeemScyToRawTokenEvent = TypedEvent<
|
|
265
|
-
[string, string,
|
|
240
|
+
[string, string, BigNumber, string, BigNumber],
|
|
266
241
|
{
|
|
267
|
-
|
|
268
|
-
receiver: string;
|
|
242
|
+
user: string;
|
|
269
243
|
SCY: string;
|
|
270
244
|
netScyIn: BigNumber;
|
|
271
245
|
rawTokenOut: string;
|
|
@@ -276,48 +250,6 @@ export type RedeemScyToRawTokenEvent = TypedEvent<
|
|
|
276
250
|
export type RedeemScyToRawTokenEventFilter =
|
|
277
251
|
TypedEventFilter<RedeemScyToRawTokenEvent>;
|
|
278
252
|
|
|
279
|
-
export type RemoveLiquidityEvent = TypedEvent<
|
|
280
|
-
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
281
|
-
{
|
|
282
|
-
caller: string;
|
|
283
|
-
market: string;
|
|
284
|
-
receiver: string;
|
|
285
|
-
lpIn: BigNumber;
|
|
286
|
-
amountPTOut: BigNumber;
|
|
287
|
-
amountSCYOut: BigNumber;
|
|
288
|
-
}
|
|
289
|
-
>;
|
|
290
|
-
|
|
291
|
-
export type RemoveLiquidityEventFilter = TypedEventFilter<RemoveLiquidityEvent>;
|
|
292
|
-
|
|
293
|
-
export type SwapPtAndRawTokenEvent = TypedEvent<
|
|
294
|
-
[string, string, string, string, BigNumber, BigNumber],
|
|
295
|
-
{
|
|
296
|
-
caller: string;
|
|
297
|
-
market: string;
|
|
298
|
-
rawToken: string;
|
|
299
|
-
receiver: string;
|
|
300
|
-
amountPtToAccount: BigNumber;
|
|
301
|
-
amountRawTokenToAccount: BigNumber;
|
|
302
|
-
}
|
|
303
|
-
>;
|
|
304
|
-
|
|
305
|
-
export type SwapPtAndRawTokenEventFilter =
|
|
306
|
-
TypedEventFilter<SwapPtAndRawTokenEvent>;
|
|
307
|
-
|
|
308
|
-
export type SwapPtAndScyEvent = TypedEvent<
|
|
309
|
-
[string, string, string, BigNumber, BigNumber],
|
|
310
|
-
{
|
|
311
|
-
caller: string;
|
|
312
|
-
market: string;
|
|
313
|
-
receiver: string;
|
|
314
|
-
amountPtToAccount: BigNumber;
|
|
315
|
-
amountScyToAccount: BigNumber;
|
|
316
|
-
}
|
|
317
|
-
>;
|
|
318
|
-
|
|
319
|
-
export type SwapPtAndScyEventFilter = TypedEventFilter<SwapPtAndScyEvent>;
|
|
320
|
-
|
|
321
253
|
export interface ActionCore extends BaseContract {
|
|
322
254
|
contractName: "ActionCore";
|
|
323
255
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
@@ -716,139 +648,65 @@ export interface ActionCore extends BaseContract {
|
|
|
716
648
|
};
|
|
717
649
|
|
|
718
650
|
filters: {
|
|
719
|
-
"
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
receiver?: string | null,
|
|
723
|
-
scyUsed?: null,
|
|
724
|
-
ptUsed?: null,
|
|
725
|
-
lpOut?: null
|
|
726
|
-
): AddLiquidityEventFilter;
|
|
727
|
-
AddLiquidity(
|
|
728
|
-
caller?: string | null,
|
|
729
|
-
market?: string | null,
|
|
730
|
-
receiver?: string | null,
|
|
731
|
-
scyUsed?: null,
|
|
732
|
-
ptUsed?: null,
|
|
733
|
-
lpOut?: null
|
|
734
|
-
): AddLiquidityEventFilter;
|
|
735
|
-
|
|
736
|
-
"MintPyFromRawToken(address,address,address,address,uint256,uint256)"(
|
|
737
|
-
caller?: string | null,
|
|
738
|
-
receiver?: string | null,
|
|
739
|
-
YT?: string | null,
|
|
740
|
-
rawTokenIn?: null,
|
|
651
|
+
"MintPyFromRawToken(address,address,uint256,address,uint256)"(
|
|
652
|
+
user?: string | null,
|
|
653
|
+
rawTokenIn?: string | null,
|
|
741
654
|
netRawTokenIn?: null,
|
|
655
|
+
YT?: string | null,
|
|
742
656
|
netPyOut?: null
|
|
743
657
|
): MintPyFromRawTokenEventFilter;
|
|
744
658
|
MintPyFromRawToken(
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
YT?: string | null,
|
|
748
|
-
rawTokenIn?: null,
|
|
659
|
+
user?: string | null,
|
|
660
|
+
rawTokenIn?: string | null,
|
|
749
661
|
netRawTokenIn?: null,
|
|
662
|
+
YT?: string | null,
|
|
750
663
|
netPyOut?: null
|
|
751
664
|
): MintPyFromRawTokenEventFilter;
|
|
752
665
|
|
|
753
|
-
"MintScyFromRawToken(address,address,
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
SCY?: string | null,
|
|
757
|
-
rawTokenIn?: null,
|
|
666
|
+
"MintScyFromRawToken(address,address,uint256,address,uint256)"(
|
|
667
|
+
user?: string | null,
|
|
668
|
+
rawTokenIn?: string | null,
|
|
758
669
|
netRawTokenIn?: null,
|
|
670
|
+
SCY?: string | null,
|
|
759
671
|
netScyOut?: null
|
|
760
672
|
): MintScyFromRawTokenEventFilter;
|
|
761
673
|
MintScyFromRawToken(
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
SCY?: string | null,
|
|
765
|
-
rawTokenIn?: null,
|
|
674
|
+
user?: string | null,
|
|
675
|
+
rawTokenIn?: string | null,
|
|
766
676
|
netRawTokenIn?: null,
|
|
677
|
+
SCY?: string | null,
|
|
767
678
|
netScyOut?: null
|
|
768
679
|
): MintScyFromRawTokenEventFilter;
|
|
769
680
|
|
|
770
|
-
"RedeemPyToRawToken(address,address,
|
|
771
|
-
|
|
772
|
-
receiver?: string | null,
|
|
681
|
+
"RedeemPyToRawToken(address,address,uint256,address,uint256)"(
|
|
682
|
+
user?: string | null,
|
|
773
683
|
YT?: string | null,
|
|
774
684
|
netPyIn?: null,
|
|
775
|
-
rawTokenOut?: null,
|
|
685
|
+
rawTokenOut?: string | null,
|
|
776
686
|
netRawTokenOut?: null
|
|
777
687
|
): RedeemPyToRawTokenEventFilter;
|
|
778
688
|
RedeemPyToRawToken(
|
|
779
|
-
|
|
780
|
-
receiver?: string | null,
|
|
689
|
+
user?: string | null,
|
|
781
690
|
YT?: string | null,
|
|
782
691
|
netPyIn?: null,
|
|
783
|
-
rawTokenOut?: null,
|
|
692
|
+
rawTokenOut?: string | null,
|
|
784
693
|
netRawTokenOut?: null
|
|
785
694
|
): RedeemPyToRawTokenEventFilter;
|
|
786
695
|
|
|
787
|
-
"RedeemScyToRawToken(address,address,
|
|
788
|
-
|
|
789
|
-
receiver?: string | null,
|
|
696
|
+
"RedeemScyToRawToken(address,address,uint256,address,uint256)"(
|
|
697
|
+
user?: string | null,
|
|
790
698
|
SCY?: string | null,
|
|
791
699
|
netScyIn?: null,
|
|
792
|
-
rawTokenOut?: null,
|
|
700
|
+
rawTokenOut?: string | null,
|
|
793
701
|
netRawTokenOut?: null
|
|
794
702
|
): RedeemScyToRawTokenEventFilter;
|
|
795
703
|
RedeemScyToRawToken(
|
|
796
|
-
|
|
797
|
-
receiver?: string | null,
|
|
704
|
+
user?: string | null,
|
|
798
705
|
SCY?: string | null,
|
|
799
706
|
netScyIn?: null,
|
|
800
|
-
rawTokenOut?: null,
|
|
707
|
+
rawTokenOut?: string | null,
|
|
801
708
|
netRawTokenOut?: null
|
|
802
709
|
): RedeemScyToRawTokenEventFilter;
|
|
803
|
-
|
|
804
|
-
"RemoveLiquidity(address,address,address,uint256,uint256,uint256)"(
|
|
805
|
-
caller?: string | null,
|
|
806
|
-
market?: string | null,
|
|
807
|
-
receiver?: null,
|
|
808
|
-
lpIn?: null,
|
|
809
|
-
amountPTOut?: null,
|
|
810
|
-
amountSCYOut?: null
|
|
811
|
-
): RemoveLiquidityEventFilter;
|
|
812
|
-
RemoveLiquidity(
|
|
813
|
-
caller?: string | null,
|
|
814
|
-
market?: string | null,
|
|
815
|
-
receiver?: null,
|
|
816
|
-
lpIn?: null,
|
|
817
|
-
amountPTOut?: null,
|
|
818
|
-
amountSCYOut?: null
|
|
819
|
-
): RemoveLiquidityEventFilter;
|
|
820
|
-
|
|
821
|
-
"SwapPtAndRawToken(address,address,address,address,int256,int256)"(
|
|
822
|
-
caller?: string | null,
|
|
823
|
-
market?: string | null,
|
|
824
|
-
rawToken?: string | null,
|
|
825
|
-
receiver?: null,
|
|
826
|
-
amountPtToAccount?: null,
|
|
827
|
-
amountRawTokenToAccount?: null
|
|
828
|
-
): SwapPtAndRawTokenEventFilter;
|
|
829
|
-
SwapPtAndRawToken(
|
|
830
|
-
caller?: string | null,
|
|
831
|
-
market?: string | null,
|
|
832
|
-
rawToken?: string | null,
|
|
833
|
-
receiver?: null,
|
|
834
|
-
amountPtToAccount?: null,
|
|
835
|
-
amountRawTokenToAccount?: null
|
|
836
|
-
): SwapPtAndRawTokenEventFilter;
|
|
837
|
-
|
|
838
|
-
"SwapPtAndScy(address,address,address,int256,int256)"(
|
|
839
|
-
caller?: string | null,
|
|
840
|
-
market?: string | null,
|
|
841
|
-
receiver?: string | null,
|
|
842
|
-
amountPtToAccount?: null,
|
|
843
|
-
amountScyToAccount?: null
|
|
844
|
-
): SwapPtAndScyEventFilter;
|
|
845
|
-
SwapPtAndScy(
|
|
846
|
-
caller?: string | null,
|
|
847
|
-
market?: string | null,
|
|
848
|
-
receiver?: string | null,
|
|
849
|
-
amountPtToAccount?: null,
|
|
850
|
-
amountScyToAccount?: null
|
|
851
|
-
): SwapPtAndScyEventFilter;
|
|
852
710
|
};
|
|
853
711
|
|
|
854
712
|
estimateGas: {
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
Signer,
|
|
11
11
|
utils,
|
|
12
12
|
} from "ethers";
|
|
13
|
-
import { FunctionFragment, Result } from "@ethersproject/abi";
|
|
13
|
+
import { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
|
|
14
14
|
import { Listener, Provider } from "@ethersproject/providers";
|
|
15
15
|
import type {
|
|
16
16
|
TypedEventFilter,
|
|
@@ -32,9 +32,75 @@ export interface ActionSCYAndPTBaseInterface extends utils.Interface {
|
|
|
32
32
|
|
|
33
33
|
decodeFunctionResult(functionFragment: "joeFactory", data: BytesLike): Result;
|
|
34
34
|
|
|
35
|
-
events: {
|
|
35
|
+
events: {
|
|
36
|
+
"MintPyFromRawToken(address,address,uint256,address,uint256)": EventFragment;
|
|
37
|
+
"MintScyFromRawToken(address,address,uint256,address,uint256)": EventFragment;
|
|
38
|
+
"RedeemPyToRawToken(address,address,uint256,address,uint256)": EventFragment;
|
|
39
|
+
"RedeemScyToRawToken(address,address,uint256,address,uint256)": EventFragment;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
getEvent(nameOrSignatureOrTopic: "MintPyFromRawToken"): EventFragment;
|
|
43
|
+
getEvent(nameOrSignatureOrTopic: "MintScyFromRawToken"): EventFragment;
|
|
44
|
+
getEvent(nameOrSignatureOrTopic: "RedeemPyToRawToken"): EventFragment;
|
|
45
|
+
getEvent(nameOrSignatureOrTopic: "RedeemScyToRawToken"): EventFragment;
|
|
36
46
|
}
|
|
37
47
|
|
|
48
|
+
export type MintPyFromRawTokenEvent = TypedEvent<
|
|
49
|
+
[string, string, BigNumber, string, BigNumber],
|
|
50
|
+
{
|
|
51
|
+
user: string;
|
|
52
|
+
rawTokenIn: string;
|
|
53
|
+
netRawTokenIn: BigNumber;
|
|
54
|
+
YT: string;
|
|
55
|
+
netPyOut: BigNumber;
|
|
56
|
+
}
|
|
57
|
+
>;
|
|
58
|
+
|
|
59
|
+
export type MintPyFromRawTokenEventFilter =
|
|
60
|
+
TypedEventFilter<MintPyFromRawTokenEvent>;
|
|
61
|
+
|
|
62
|
+
export type MintScyFromRawTokenEvent = TypedEvent<
|
|
63
|
+
[string, string, BigNumber, string, BigNumber],
|
|
64
|
+
{
|
|
65
|
+
user: string;
|
|
66
|
+
rawTokenIn: string;
|
|
67
|
+
netRawTokenIn: BigNumber;
|
|
68
|
+
SCY: string;
|
|
69
|
+
netScyOut: BigNumber;
|
|
70
|
+
}
|
|
71
|
+
>;
|
|
72
|
+
|
|
73
|
+
export type MintScyFromRawTokenEventFilter =
|
|
74
|
+
TypedEventFilter<MintScyFromRawTokenEvent>;
|
|
75
|
+
|
|
76
|
+
export type RedeemPyToRawTokenEvent = TypedEvent<
|
|
77
|
+
[string, string, BigNumber, string, BigNumber],
|
|
78
|
+
{
|
|
79
|
+
user: string;
|
|
80
|
+
YT: string;
|
|
81
|
+
netPyIn: BigNumber;
|
|
82
|
+
rawTokenOut: string;
|
|
83
|
+
netRawTokenOut: BigNumber;
|
|
84
|
+
}
|
|
85
|
+
>;
|
|
86
|
+
|
|
87
|
+
export type RedeemPyToRawTokenEventFilter =
|
|
88
|
+
TypedEventFilter<RedeemPyToRawTokenEvent>;
|
|
89
|
+
|
|
90
|
+
export type RedeemScyToRawTokenEvent = TypedEvent<
|
|
91
|
+
[string, string, BigNumber, string, BigNumber],
|
|
92
|
+
{
|
|
93
|
+
user: string;
|
|
94
|
+
SCY: string;
|
|
95
|
+
netScyIn: BigNumber;
|
|
96
|
+
rawTokenOut: string;
|
|
97
|
+
netRawTokenOut: BigNumber;
|
|
98
|
+
}
|
|
99
|
+
>;
|
|
100
|
+
|
|
101
|
+
export type RedeemScyToRawTokenEventFilter =
|
|
102
|
+
TypedEventFilter<RedeemScyToRawTokenEvent>;
|
|
103
|
+
|
|
38
104
|
export interface ActionSCYAndPTBase extends BaseContract {
|
|
39
105
|
contractName: "ActionSCYAndPTBase";
|
|
40
106
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
@@ -72,7 +138,67 @@ export interface ActionSCYAndPTBase extends BaseContract {
|
|
|
72
138
|
joeFactory(overrides?: CallOverrides): Promise<string>;
|
|
73
139
|
};
|
|
74
140
|
|
|
75
|
-
filters: {
|
|
141
|
+
filters: {
|
|
142
|
+
"MintPyFromRawToken(address,address,uint256,address,uint256)"(
|
|
143
|
+
user?: string | null,
|
|
144
|
+
rawTokenIn?: string | null,
|
|
145
|
+
netRawTokenIn?: null,
|
|
146
|
+
YT?: string | null,
|
|
147
|
+
netPyOut?: null
|
|
148
|
+
): MintPyFromRawTokenEventFilter;
|
|
149
|
+
MintPyFromRawToken(
|
|
150
|
+
user?: string | null,
|
|
151
|
+
rawTokenIn?: string | null,
|
|
152
|
+
netRawTokenIn?: null,
|
|
153
|
+
YT?: string | null,
|
|
154
|
+
netPyOut?: null
|
|
155
|
+
): MintPyFromRawTokenEventFilter;
|
|
156
|
+
|
|
157
|
+
"MintScyFromRawToken(address,address,uint256,address,uint256)"(
|
|
158
|
+
user?: string | null,
|
|
159
|
+
rawTokenIn?: string | null,
|
|
160
|
+
netRawTokenIn?: null,
|
|
161
|
+
SCY?: string | null,
|
|
162
|
+
netScyOut?: null
|
|
163
|
+
): MintScyFromRawTokenEventFilter;
|
|
164
|
+
MintScyFromRawToken(
|
|
165
|
+
user?: string | null,
|
|
166
|
+
rawTokenIn?: string | null,
|
|
167
|
+
netRawTokenIn?: null,
|
|
168
|
+
SCY?: string | null,
|
|
169
|
+
netScyOut?: null
|
|
170
|
+
): MintScyFromRawTokenEventFilter;
|
|
171
|
+
|
|
172
|
+
"RedeemPyToRawToken(address,address,uint256,address,uint256)"(
|
|
173
|
+
user?: string | null,
|
|
174
|
+
YT?: string | null,
|
|
175
|
+
netPyIn?: null,
|
|
176
|
+
rawTokenOut?: string | null,
|
|
177
|
+
netRawTokenOut?: null
|
|
178
|
+
): RedeemPyToRawTokenEventFilter;
|
|
179
|
+
RedeemPyToRawToken(
|
|
180
|
+
user?: string | null,
|
|
181
|
+
YT?: string | null,
|
|
182
|
+
netPyIn?: null,
|
|
183
|
+
rawTokenOut?: string | null,
|
|
184
|
+
netRawTokenOut?: null
|
|
185
|
+
): RedeemPyToRawTokenEventFilter;
|
|
186
|
+
|
|
187
|
+
"RedeemScyToRawToken(address,address,uint256,address,uint256)"(
|
|
188
|
+
user?: string | null,
|
|
189
|
+
SCY?: string | null,
|
|
190
|
+
netScyIn?: null,
|
|
191
|
+
rawTokenOut?: string | null,
|
|
192
|
+
netRawTokenOut?: null
|
|
193
|
+
): RedeemScyToRawTokenEventFilter;
|
|
194
|
+
RedeemScyToRawToken(
|
|
195
|
+
user?: string | null,
|
|
196
|
+
SCY?: string | null,
|
|
197
|
+
netScyIn?: null,
|
|
198
|
+
rawTokenOut?: string | null,
|
|
199
|
+
netRawTokenOut?: null
|
|
200
|
+
): RedeemScyToRawTokenEventFilter;
|
|
201
|
+
};
|
|
76
202
|
|
|
77
203
|
estimateGas: {
|
|
78
204
|
joeFactory(overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
Signer,
|
|
11
11
|
utils,
|
|
12
12
|
} from "ethers";
|
|
13
|
-
import { FunctionFragment, Result } from "@ethersproject/abi";
|
|
13
|
+
import { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
|
|
14
14
|
import { Listener, Provider } from "@ethersproject/providers";
|
|
15
15
|
import type {
|
|
16
16
|
TypedEventFilter,
|
|
@@ -32,9 +32,75 @@ export interface ActionSCYAndPYBaseInterface extends utils.Interface {
|
|
|
32
32
|
|
|
33
33
|
decodeFunctionResult(functionFragment: "joeFactory", data: BytesLike): Result;
|
|
34
34
|
|
|
35
|
-
events: {
|
|
35
|
+
events: {
|
|
36
|
+
"MintPyFromRawToken(address,address,uint256,address,uint256)": EventFragment;
|
|
37
|
+
"MintScyFromRawToken(address,address,uint256,address,uint256)": EventFragment;
|
|
38
|
+
"RedeemPyToRawToken(address,address,uint256,address,uint256)": EventFragment;
|
|
39
|
+
"RedeemScyToRawToken(address,address,uint256,address,uint256)": EventFragment;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
getEvent(nameOrSignatureOrTopic: "MintPyFromRawToken"): EventFragment;
|
|
43
|
+
getEvent(nameOrSignatureOrTopic: "MintScyFromRawToken"): EventFragment;
|
|
44
|
+
getEvent(nameOrSignatureOrTopic: "RedeemPyToRawToken"): EventFragment;
|
|
45
|
+
getEvent(nameOrSignatureOrTopic: "RedeemScyToRawToken"): EventFragment;
|
|
36
46
|
}
|
|
37
47
|
|
|
48
|
+
export type MintPyFromRawTokenEvent = TypedEvent<
|
|
49
|
+
[string, string, BigNumber, string, BigNumber],
|
|
50
|
+
{
|
|
51
|
+
user: string;
|
|
52
|
+
rawTokenIn: string;
|
|
53
|
+
netRawTokenIn: BigNumber;
|
|
54
|
+
YT: string;
|
|
55
|
+
netPyOut: BigNumber;
|
|
56
|
+
}
|
|
57
|
+
>;
|
|
58
|
+
|
|
59
|
+
export type MintPyFromRawTokenEventFilter =
|
|
60
|
+
TypedEventFilter<MintPyFromRawTokenEvent>;
|
|
61
|
+
|
|
62
|
+
export type MintScyFromRawTokenEvent = TypedEvent<
|
|
63
|
+
[string, string, BigNumber, string, BigNumber],
|
|
64
|
+
{
|
|
65
|
+
user: string;
|
|
66
|
+
rawTokenIn: string;
|
|
67
|
+
netRawTokenIn: BigNumber;
|
|
68
|
+
SCY: string;
|
|
69
|
+
netScyOut: BigNumber;
|
|
70
|
+
}
|
|
71
|
+
>;
|
|
72
|
+
|
|
73
|
+
export type MintScyFromRawTokenEventFilter =
|
|
74
|
+
TypedEventFilter<MintScyFromRawTokenEvent>;
|
|
75
|
+
|
|
76
|
+
export type RedeemPyToRawTokenEvent = TypedEvent<
|
|
77
|
+
[string, string, BigNumber, string, BigNumber],
|
|
78
|
+
{
|
|
79
|
+
user: string;
|
|
80
|
+
YT: string;
|
|
81
|
+
netPyIn: BigNumber;
|
|
82
|
+
rawTokenOut: string;
|
|
83
|
+
netRawTokenOut: BigNumber;
|
|
84
|
+
}
|
|
85
|
+
>;
|
|
86
|
+
|
|
87
|
+
export type RedeemPyToRawTokenEventFilter =
|
|
88
|
+
TypedEventFilter<RedeemPyToRawTokenEvent>;
|
|
89
|
+
|
|
90
|
+
export type RedeemScyToRawTokenEvent = TypedEvent<
|
|
91
|
+
[string, string, BigNumber, string, BigNumber],
|
|
92
|
+
{
|
|
93
|
+
user: string;
|
|
94
|
+
SCY: string;
|
|
95
|
+
netScyIn: BigNumber;
|
|
96
|
+
rawTokenOut: string;
|
|
97
|
+
netRawTokenOut: BigNumber;
|
|
98
|
+
}
|
|
99
|
+
>;
|
|
100
|
+
|
|
101
|
+
export type RedeemScyToRawTokenEventFilter =
|
|
102
|
+
TypedEventFilter<RedeemScyToRawTokenEvent>;
|
|
103
|
+
|
|
38
104
|
export interface ActionSCYAndPYBase extends BaseContract {
|
|
39
105
|
contractName: "ActionSCYAndPYBase";
|
|
40
106
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
@@ -72,7 +138,67 @@ export interface ActionSCYAndPYBase extends BaseContract {
|
|
|
72
138
|
joeFactory(overrides?: CallOverrides): Promise<string>;
|
|
73
139
|
};
|
|
74
140
|
|
|
75
|
-
filters: {
|
|
141
|
+
filters: {
|
|
142
|
+
"MintPyFromRawToken(address,address,uint256,address,uint256)"(
|
|
143
|
+
user?: string | null,
|
|
144
|
+
rawTokenIn?: string | null,
|
|
145
|
+
netRawTokenIn?: null,
|
|
146
|
+
YT?: string | null,
|
|
147
|
+
netPyOut?: null
|
|
148
|
+
): MintPyFromRawTokenEventFilter;
|
|
149
|
+
MintPyFromRawToken(
|
|
150
|
+
user?: string | null,
|
|
151
|
+
rawTokenIn?: string | null,
|
|
152
|
+
netRawTokenIn?: null,
|
|
153
|
+
YT?: string | null,
|
|
154
|
+
netPyOut?: null
|
|
155
|
+
): MintPyFromRawTokenEventFilter;
|
|
156
|
+
|
|
157
|
+
"MintScyFromRawToken(address,address,uint256,address,uint256)"(
|
|
158
|
+
user?: string | null,
|
|
159
|
+
rawTokenIn?: string | null,
|
|
160
|
+
netRawTokenIn?: null,
|
|
161
|
+
SCY?: string | null,
|
|
162
|
+
netScyOut?: null
|
|
163
|
+
): MintScyFromRawTokenEventFilter;
|
|
164
|
+
MintScyFromRawToken(
|
|
165
|
+
user?: string | null,
|
|
166
|
+
rawTokenIn?: string | null,
|
|
167
|
+
netRawTokenIn?: null,
|
|
168
|
+
SCY?: string | null,
|
|
169
|
+
netScyOut?: null
|
|
170
|
+
): MintScyFromRawTokenEventFilter;
|
|
171
|
+
|
|
172
|
+
"RedeemPyToRawToken(address,address,uint256,address,uint256)"(
|
|
173
|
+
user?: string | null,
|
|
174
|
+
YT?: string | null,
|
|
175
|
+
netPyIn?: null,
|
|
176
|
+
rawTokenOut?: string | null,
|
|
177
|
+
netRawTokenOut?: null
|
|
178
|
+
): RedeemPyToRawTokenEventFilter;
|
|
179
|
+
RedeemPyToRawToken(
|
|
180
|
+
user?: string | null,
|
|
181
|
+
YT?: string | null,
|
|
182
|
+
netPyIn?: null,
|
|
183
|
+
rawTokenOut?: string | null,
|
|
184
|
+
netRawTokenOut?: null
|
|
185
|
+
): RedeemPyToRawTokenEventFilter;
|
|
186
|
+
|
|
187
|
+
"RedeemScyToRawToken(address,address,uint256,address,uint256)"(
|
|
188
|
+
user?: string | null,
|
|
189
|
+
SCY?: string | null,
|
|
190
|
+
netScyIn?: null,
|
|
191
|
+
rawTokenOut?: string | null,
|
|
192
|
+
netRawTokenOut?: null
|
|
193
|
+
): RedeemScyToRawTokenEventFilter;
|
|
194
|
+
RedeemScyToRawToken(
|
|
195
|
+
user?: string | null,
|
|
196
|
+
SCY?: string | null,
|
|
197
|
+
netScyIn?: null,
|
|
198
|
+
rawTokenOut?: string | null,
|
|
199
|
+
netRawTokenOut?: null
|
|
200
|
+
): RedeemScyToRawTokenEventFilter;
|
|
201
|
+
};
|
|
76
202
|
|
|
77
203
|
estimateGas: {
|
|
78
204
|
joeFactory(overrides?: CallOverrides): Promise<BigNumber>;
|