@pendle/core-v2 0.7.1-beta → 0.8.0-beta
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 +33 -17
- 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 +33 -17
- 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 +33 -17
- 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 +33 -17
- 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 +33 -17
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.json +31 -15
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.json +31 -15
- 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/PendleGauge.sol/PendleGauge.json +0 -26
- 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 +125 -111
- 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 +77 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +51 -20
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +72 -93
- 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 +3 -3
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +2 -2
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.dbg.json +1 -1
- 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 +1 -1
- package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.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 +1 -1
- 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 +48 -83
- 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 +20 -15
- 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/IPYieldContractFactory.sol/IPYieldContractFactory.json +30 -4
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +8 -92
- 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/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.json +31 -2
- 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 +166 -13
- 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/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol +16 -12
- package/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol +3 -3
- package/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol +20 -0
- package/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol +20 -0
- package/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol +20 -0
- package/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol +29 -2
- package/contracts/SuperComposableYield/base-implementations/SCYBase.sol +63 -41
- package/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol +0 -7
- package/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +1 -1
- package/contracts/core/LiquidityMining/PendleGauge.sol +24 -8
- package/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +47 -96
- package/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +86 -73
- package/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol +17 -16
- package/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol +1 -1
- package/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol +3 -4
- package/contracts/core/Market/PendleMarket.sol +32 -62
- package/contracts/core/PendleRouter.sol +1 -1
- package/contracts/core/YieldContracts/InterestManagerYT.sol +11 -8
- package/contracts/core/YieldContracts/PendlePrincipalToken.sol +3 -3
- package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +18 -12
- package/contracts/core/YieldContracts/PendleYieldToken.sol +167 -140
- package/contracts/core/actions/ActionCallback.sol +11 -10
- package/contracts/core/actions/ActionCore.sol +84 -22
- package/contracts/core/actions/ActionYT.sol +33 -15
- package/contracts/core/actions/base/ActionSCYAndPTBase.sol +4 -15
- package/contracts/core/actions/base/ActionSCYAndPYBase.sol +20 -50
- package/contracts/core/actions/base/ActionSCYAndYTBase.sol +2 -12
- package/contracts/interfaces/IPActionCore.sol +72 -1
- package/contracts/interfaces/IPActionYT.sol +15 -0
- package/contracts/interfaces/IPMarket.sol +7 -26
- package/contracts/interfaces/IPRouterStatic.sol +67 -47
- package/contracts/interfaces/IPVeToken.sol +0 -2
- package/contracts/interfaces/IPVotingEscrow.sol +1 -1
- package/contracts/interfaces/IPYieldContractFactory.sol +6 -2
- package/contracts/interfaces/IPYieldToken.sol +21 -11
- package/contracts/interfaces/ISuperComposableYield.sol +22 -28
- package/contracts/interfaces/IYearnVault.sol +8 -0
- package/contracts/libraries/RewardManager.sol +9 -6
- package/contracts/libraries/RewardManagerAbstract.sol +6 -8
- package/contracts/libraries/SCY/SCYIndex.sol +10 -0
- package/contracts/libraries/VeBalanceLib.sol +0 -1
- package/contracts/libraries/helpers/ArrayLib.sol +11 -0
- package/contracts/libraries/helpers/TokenHelper.sol +6 -5
- package/contracts/libraries/math/MarketApproxLib.sol +91 -36
- package/contracts/libraries/math/Math.sol +2 -4
- package/contracts/offchain-helpers/RouterStatic.sol +144 -115
- package/deployments/43113-core.json +11 -9
- package/deployments/43113-markets/benqi-market-0xF3150c14F776c50C9D397054d38979c7B77FC41D.json +7 -0
- package/deployments/80001-core.json +10 -8
- package/deployments/80001-markets/benqi-market-0x150b6eb90Bf636eC0c4328d13d1e1d4adDBAF904.json +7 -0
- package/package.json +2 -2
- package/typechain-types/ActionCore.ts +8 -8
- package/typechain-types/CelerReceiver.ts +267 -0
- package/typechain-types/CelerSender.ts +164 -0
- package/typechain-types/IPActionCore.ts +8 -8
- package/typechain-types/IPAllAction.ts +8 -8
- package/typechain-types/IPMarket.ts +66 -109
- package/typechain-types/IPRouterStatic.ts +64 -41
- package/typechain-types/IPVotingEscrowController.ts +154 -0
- package/typechain-types/IPYieldContractFactory.ts +34 -0
- package/typechain-types/IPYieldToken.ts +12 -112
- package/typechain-types/ISuperComposableYield.ts +54 -10
- package/typechain-types/PendleAaveV3SCY.ts +54 -29
- package/typechain-types/PendleBtrflyScy.ts +56 -58
- package/typechain-types/PendleERC4626SCY.ts +54 -29
- package/typechain-types/PendleGauge.ts +0 -32
- package/typechain-types/PendleGaugeController.ts +282 -0
- package/typechain-types/PendleGaugeControllerMainchain.ts +346 -0
- package/typechain-types/PendleGaugeControllerSidechain.ts +460 -0
- package/typechain-types/PendleJoeLpSCY.ts +56 -58
- package/typechain-types/PendleMarket.ts +169 -140
- package/typechain-types/PendlePrincipalToken.ts +104 -0
- package/typechain-types/PendleQiTokenSCY.ts +54 -29
- package/typechain-types/PendleVotingController.ts +865 -0
- package/typechain-types/PendleWstEthSCY.ts +54 -29
- package/typechain-types/PendleYearnVaultSCY.ts +54 -29
- package/typechain-types/PendleYieldContractFactory.ts +66 -19
- package/typechain-types/PendleYieldToken.ts +122 -158
- package/typechain-types/RouterStatic.ts +297 -24
- package/typechain-types/SCYBase.ts +54 -29
- package/typechain-types/SCYBaseWithRewards.ts +54 -29
- package/typechain-types/VotingControllerStorage.ts +410 -0
- package/typechain-types/VotingEscrowController.ts +154 -0
- package/typechain-types/VotingEscrowToken.ts +335 -0
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionCore__factory.ts +2 -2
- package/typechain-types/factories/ActionYT__factory.ts +1 -1
- package/typechain-types/factories/CelerReceiver__factory.ts +140 -0
- package/typechain-types/factories/CelerSender__factory.ts +67 -0
- package/typechain-types/factories/ERC20__factory.ts +1 -1
- package/typechain-types/factories/IPActionCore__factory.ts +1 -1
- package/typechain-types/factories/IPAllAction__factory.ts +1 -1
- package/typechain-types/factories/IPMarket__factory.ts +48 -83
- package/typechain-types/factories/IPRouterStatic__factory.ts +20 -15
- package/typechain-types/factories/IPVotingEscrowController__factory.ts +80 -0
- package/typechain-types/factories/IPYieldContractFactory__factory.ts +30 -4
- package/typechain-types/factories/IPYieldToken__factory.ts +6 -90
- package/typechain-types/factories/ISuperComposableYield__factory.ts +31 -2
- package/typechain-types/factories/PendleAaveV3SCY__factory.ts +32 -16
- package/typechain-types/factories/PendleBtrflyScy__factory.ts +52 -28
- 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 +32 -16
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerMainchain__factory.ts +269 -0
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechain__factory.ts +328 -0
- package/typechain-types/factories/PendleGaugeController__factory.ts +149 -0
- package/typechain-types/factories/PendleGauge__factory.ts +0 -26
- package/typechain-types/factories/PendleGovernanceManager__factory.ts +1 -1
- package/typechain-types/factories/PendleJoeLpSCY__factory.ts +34 -28
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +124 -110
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +76 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSCY__factory.ts +32 -16
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingController__factory.ts +584 -0
- package/typechain-types/factories/PendleWstEthSCY__factory.ts +32 -16
- package/typechain-types/factories/PendleYearnVaultSCY__factory.ts +32 -16
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +54 -19
- package/typechain-types/factories/PendleYieldToken__factory.ts +70 -91
- package/typechain-types/factories/RouterStatic__factory.ts +165 -12
- package/typechain-types/factories/SCYBaseWithRewards__factory.ts +31 -15
- package/typechain-types/factories/SCYBase__factory.ts +31 -15
- package/typechain-types/factories/VotingControllerStorage__factory.ts +298 -0
- package/typechain-types/factories/VotingEscrowController__factory.ts +80 -0
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowToken__factory.ts +225 -0
- package/typechain-types/hardhat.d.ts +0 -27
- package/typechain-types/index.ts +0 -6
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleBtrflySCY.sol/PendleBtrflyScy.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleBtrflySCY.sol/PendleBtrflyScy.json +0 -635
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleJoeLpSCY.sol/PendleJoeLpSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleJoeLpSCY.sol/PendleJoeLpSCY.json +0 -653
- package/build/artifacts/contracts/interfaces/IPMarketAddRemoveCallback.sol/IPMarketAddRemoveCallback.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPMarketAddRemoveCallback.sol/IPMarketAddRemoveCallback.json +0 -67
- package/build/artifacts/contracts/libraries/solmate/Bytes32AddressLib.sol/Bytes32AddressLib.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/solmate/Bytes32AddressLib.sol/Bytes32AddressLib.json +0 -10
- package/contracts/SuperComposableYield/SCY-implementations/PendleBtrflySCY.sol +0 -123
- package/contracts/SuperComposableYield/SCY-implementations/PendleJoeLpSCY.sol +0 -245
- package/contracts/interfaces/IPMarketAddRemoveCallback.sol +0 -18
- package/contracts/libraries/solmate/Bytes32AddressLib.sol +0 -14
- package/deployments/43113-markets/benqi-market.json +0 -7
- package/deployments/80001-markets/benqi-market.json +0 -7
|
@@ -171,50 +171,6 @@
|
|
|
171
171
|
"name": "UpdateImpliedRate",
|
|
172
172
|
"type": "event"
|
|
173
173
|
},
|
|
174
|
-
{
|
|
175
|
-
"inputs": [
|
|
176
|
-
{
|
|
177
|
-
"internalType": "address",
|
|
178
|
-
"name": "receiver",
|
|
179
|
-
"type": "address"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"internalType": "uint256",
|
|
183
|
-
"name": "scyDesired",
|
|
184
|
-
"type": "uint256"
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"internalType": "uint256",
|
|
188
|
-
"name": "ptDesired",
|
|
189
|
-
"type": "uint256"
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
"internalType": "bytes",
|
|
193
|
-
"name": "data",
|
|
194
|
-
"type": "bytes"
|
|
195
|
-
}
|
|
196
|
-
],
|
|
197
|
-
"name": "addLiquidity",
|
|
198
|
-
"outputs": [
|
|
199
|
-
{
|
|
200
|
-
"internalType": "uint256",
|
|
201
|
-
"name": "lpToAccount",
|
|
202
|
-
"type": "uint256"
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
"internalType": "uint256",
|
|
206
|
-
"name": "scyUsed",
|
|
207
|
-
"type": "uint256"
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
"internalType": "uint256",
|
|
211
|
-
"name": "ptUsed",
|
|
212
|
-
"type": "uint256"
|
|
213
|
-
}
|
|
214
|
-
],
|
|
215
|
-
"stateMutability": "nonpayable",
|
|
216
|
-
"type": "function"
|
|
217
|
-
},
|
|
218
174
|
{
|
|
219
175
|
"inputs": [
|
|
220
176
|
{
|
|
@@ -282,6 +238,35 @@
|
|
|
282
238
|
"stateMutability": "view",
|
|
283
239
|
"type": "function"
|
|
284
240
|
},
|
|
241
|
+
{
|
|
242
|
+
"inputs": [
|
|
243
|
+
{
|
|
244
|
+
"internalType": "address",
|
|
245
|
+
"name": "receiverScy",
|
|
246
|
+
"type": "address"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"internalType": "address",
|
|
250
|
+
"name": "receiverPt",
|
|
251
|
+
"type": "address"
|
|
252
|
+
}
|
|
253
|
+
],
|
|
254
|
+
"name": "burn",
|
|
255
|
+
"outputs": [
|
|
256
|
+
{
|
|
257
|
+
"internalType": "uint256",
|
|
258
|
+
"name": "scyToAccount",
|
|
259
|
+
"type": "uint256"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"internalType": "uint256",
|
|
263
|
+
"name": "ptToAccount",
|
|
264
|
+
"type": "uint256"
|
|
265
|
+
}
|
|
266
|
+
],
|
|
267
|
+
"stateMutability": "nonpayable",
|
|
268
|
+
"type": "function"
|
|
269
|
+
},
|
|
285
270
|
{
|
|
286
271
|
"inputs": [],
|
|
287
272
|
"name": "decimals",
|
|
@@ -321,6 +306,25 @@
|
|
|
321
306
|
"stateMutability": "view",
|
|
322
307
|
"type": "function"
|
|
323
308
|
},
|
|
309
|
+
{
|
|
310
|
+
"inputs": [
|
|
311
|
+
{
|
|
312
|
+
"internalType": "address",
|
|
313
|
+
"name": "receiver",
|
|
314
|
+
"type": "address"
|
|
315
|
+
}
|
|
316
|
+
],
|
|
317
|
+
"name": "mint",
|
|
318
|
+
"outputs": [
|
|
319
|
+
{
|
|
320
|
+
"internalType": "uint256",
|
|
321
|
+
"name": "",
|
|
322
|
+
"type": "uint256"
|
|
323
|
+
}
|
|
324
|
+
],
|
|
325
|
+
"stateMutability": "nonpayable",
|
|
326
|
+
"type": "function"
|
|
327
|
+
},
|
|
324
328
|
{
|
|
325
329
|
"inputs": [],
|
|
326
330
|
"name": "name",
|
|
@@ -457,45 +461,6 @@
|
|
|
457
461
|
"stateMutability": "nonpayable",
|
|
458
462
|
"type": "function"
|
|
459
463
|
},
|
|
460
|
-
{
|
|
461
|
-
"inputs": [
|
|
462
|
-
{
|
|
463
|
-
"internalType": "address",
|
|
464
|
-
"name": "receiverScy",
|
|
465
|
-
"type": "address"
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
"internalType": "address",
|
|
469
|
-
"name": "receiverPt",
|
|
470
|
-
"type": "address"
|
|
471
|
-
},
|
|
472
|
-
{
|
|
473
|
-
"internalType": "uint256",
|
|
474
|
-
"name": "lpToRemove",
|
|
475
|
-
"type": "uint256"
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
"internalType": "bytes",
|
|
479
|
-
"name": "data",
|
|
480
|
-
"type": "bytes"
|
|
481
|
-
}
|
|
482
|
-
],
|
|
483
|
-
"name": "removeLiquidity",
|
|
484
|
-
"outputs": [
|
|
485
|
-
{
|
|
486
|
-
"internalType": "uint256",
|
|
487
|
-
"name": "scyToAccount",
|
|
488
|
-
"type": "uint256"
|
|
489
|
-
},
|
|
490
|
-
{
|
|
491
|
-
"internalType": "uint256",
|
|
492
|
-
"name": "ptToAccount",
|
|
493
|
-
"type": "uint256"
|
|
494
|
-
}
|
|
495
|
-
],
|
|
496
|
-
"stateMutability": "nonpayable",
|
|
497
|
-
"type": "function"
|
|
498
|
-
},
|
|
499
464
|
{
|
|
500
465
|
"inputs": [
|
|
501
466
|
{
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"type": "uint256"
|
|
40
40
|
}
|
|
41
41
|
],
|
|
42
|
-
"stateMutability": "
|
|
42
|
+
"stateMutability": "view",
|
|
43
43
|
"type": "function"
|
|
44
44
|
},
|
|
45
45
|
{
|
|
@@ -133,11 +133,6 @@
|
|
|
133
133
|
"internalType": "int256",
|
|
134
134
|
"name": "impliedYield",
|
|
135
135
|
"type": "int256"
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"internalType": "uint256",
|
|
139
|
-
"name": "exchangeRate",
|
|
140
|
-
"type": "uint256"
|
|
141
136
|
}
|
|
142
137
|
],
|
|
143
138
|
"stateMutability": "view",
|
|
@@ -155,12 +150,12 @@
|
|
|
155
150
|
"outputs": [
|
|
156
151
|
{
|
|
157
152
|
"internalType": "address",
|
|
158
|
-
"name": "
|
|
153
|
+
"name": "pt",
|
|
159
154
|
"type": "address"
|
|
160
155
|
},
|
|
161
156
|
{
|
|
162
157
|
"internalType": "address",
|
|
163
|
-
"name": "
|
|
158
|
+
"name": "yt",
|
|
164
159
|
"type": "address"
|
|
165
160
|
}
|
|
166
161
|
],
|
|
@@ -319,9 +314,14 @@
|
|
|
319
314
|
},
|
|
320
315
|
{
|
|
321
316
|
"components": [
|
|
317
|
+
{
|
|
318
|
+
"internalType": "enum ISuperComposableYield.AssetType",
|
|
319
|
+
"name": "assetType",
|
|
320
|
+
"type": "uint8"
|
|
321
|
+
},
|
|
322
322
|
{
|
|
323
323
|
"internalType": "address",
|
|
324
|
-
"name": "
|
|
324
|
+
"name": "assetAddress",
|
|
325
325
|
"type": "address"
|
|
326
326
|
},
|
|
327
327
|
{
|
|
@@ -330,7 +330,7 @@
|
|
|
330
330
|
"type": "uint256"
|
|
331
331
|
}
|
|
332
332
|
],
|
|
333
|
-
"internalType": "struct IPRouterStatic.
|
|
333
|
+
"internalType": "struct IPRouterStatic.AssetAmount",
|
|
334
334
|
"name": "assetBalance",
|
|
335
335
|
"type": "tuple"
|
|
336
336
|
}
|
|
@@ -406,9 +406,14 @@
|
|
|
406
406
|
},
|
|
407
407
|
{
|
|
408
408
|
"components": [
|
|
409
|
+
{
|
|
410
|
+
"internalType": "enum ISuperComposableYield.AssetType",
|
|
411
|
+
"name": "assetType",
|
|
412
|
+
"type": "uint8"
|
|
413
|
+
},
|
|
409
414
|
{
|
|
410
415
|
"internalType": "address",
|
|
411
|
-
"name": "
|
|
416
|
+
"name": "assetAddress",
|
|
412
417
|
"type": "address"
|
|
413
418
|
},
|
|
414
419
|
{
|
|
@@ -417,7 +422,7 @@
|
|
|
417
422
|
"type": "uint256"
|
|
418
423
|
}
|
|
419
424
|
],
|
|
420
|
-
"internalType": "struct IPRouterStatic.
|
|
425
|
+
"internalType": "struct IPRouterStatic.AssetAmount",
|
|
421
426
|
"name": "assetBalance",
|
|
422
427
|
"type": "tuple"
|
|
423
428
|
}
|
|
@@ -751,7 +756,7 @@
|
|
|
751
756
|
"type": "uint256"
|
|
752
757
|
}
|
|
753
758
|
],
|
|
754
|
-
"stateMutability": "
|
|
759
|
+
"stateMutability": "view",
|
|
755
760
|
"type": "function"
|
|
756
761
|
},
|
|
757
762
|
{
|
|
@@ -780,7 +785,7 @@
|
|
|
780
785
|
"type": "uint256"
|
|
781
786
|
}
|
|
782
787
|
],
|
|
783
|
-
"stateMutability": "
|
|
788
|
+
"stateMutability": "view",
|
|
784
789
|
"type": "function"
|
|
785
790
|
},
|
|
786
791
|
{
|
|
@@ -809,7 +814,7 @@
|
|
|
809
814
|
"type": "uint256"
|
|
810
815
|
}
|
|
811
816
|
],
|
|
812
|
-
"stateMutability": "
|
|
817
|
+
"stateMutability": "view",
|
|
813
818
|
"type": "function"
|
|
814
819
|
}
|
|
815
820
|
],
|
package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.json
CHANGED
|
@@ -60,6 +60,19 @@
|
|
|
60
60
|
"name": "SetInterestFeeRate",
|
|
61
61
|
"type": "event"
|
|
62
62
|
},
|
|
63
|
+
{
|
|
64
|
+
"anonymous": false,
|
|
65
|
+
"inputs": [
|
|
66
|
+
{
|
|
67
|
+
"indexed": false,
|
|
68
|
+
"internalType": "uint256",
|
|
69
|
+
"name": "newInterestFeeRate",
|
|
70
|
+
"type": "uint256"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"name": "SetRewardFeeRate",
|
|
74
|
+
"type": "event"
|
|
75
|
+
},
|
|
63
76
|
{
|
|
64
77
|
"anonymous": false,
|
|
65
78
|
"inputs": [
|
|
@@ -78,9 +91,9 @@
|
|
|
78
91
|
"name": "expiryDivisor",
|
|
79
92
|
"outputs": [
|
|
80
93
|
{
|
|
81
|
-
"internalType": "
|
|
94
|
+
"internalType": "uint96",
|
|
82
95
|
"name": "",
|
|
83
|
-
"type": "
|
|
96
|
+
"type": "uint96"
|
|
84
97
|
}
|
|
85
98
|
],
|
|
86
99
|
"stateMutability": "view",
|
|
@@ -139,9 +152,9 @@
|
|
|
139
152
|
"name": "interestFeeRate",
|
|
140
153
|
"outputs": [
|
|
141
154
|
{
|
|
142
|
-
"internalType": "
|
|
155
|
+
"internalType": "uint128",
|
|
143
156
|
"name": "",
|
|
144
|
-
"type": "
|
|
157
|
+
"type": "uint128"
|
|
145
158
|
}
|
|
146
159
|
],
|
|
147
160
|
"stateMutability": "view",
|
|
@@ -185,6 +198,19 @@
|
|
|
185
198
|
"stateMutability": "view",
|
|
186
199
|
"type": "function"
|
|
187
200
|
},
|
|
201
|
+
{
|
|
202
|
+
"inputs": [],
|
|
203
|
+
"name": "rewardFeeRate",
|
|
204
|
+
"outputs": [
|
|
205
|
+
{
|
|
206
|
+
"internalType": "uint128",
|
|
207
|
+
"name": "",
|
|
208
|
+
"type": "uint128"
|
|
209
|
+
}
|
|
210
|
+
],
|
|
211
|
+
"stateMutability": "view",
|
|
212
|
+
"type": "function"
|
|
213
|
+
},
|
|
188
214
|
{
|
|
189
215
|
"inputs": [],
|
|
190
216
|
"name": "treasury",
|
|
@@ -28,62 +28,6 @@
|
|
|
28
28
|
"name": "Approval",
|
|
29
29
|
"type": "event"
|
|
30
30
|
},
|
|
31
|
-
{
|
|
32
|
-
"anonymous": false,
|
|
33
|
-
"inputs": [
|
|
34
|
-
{
|
|
35
|
-
"indexed": true,
|
|
36
|
-
"internalType": "address",
|
|
37
|
-
"name": "caller",
|
|
38
|
-
"type": "address"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"indexed": true,
|
|
42
|
-
"internalType": "address",
|
|
43
|
-
"name": "receiverPT",
|
|
44
|
-
"type": "address"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"indexed": true,
|
|
48
|
-
"internalType": "address",
|
|
49
|
-
"name": "receiverYT",
|
|
50
|
-
"type": "address"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"indexed": false,
|
|
54
|
-
"internalType": "uint256",
|
|
55
|
-
"name": "amount",
|
|
56
|
-
"type": "uint256"
|
|
57
|
-
}
|
|
58
|
-
],
|
|
59
|
-
"name": "Mint",
|
|
60
|
-
"type": "event"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"anonymous": false,
|
|
64
|
-
"inputs": [
|
|
65
|
-
{
|
|
66
|
-
"indexed": true,
|
|
67
|
-
"internalType": "address",
|
|
68
|
-
"name": "caller",
|
|
69
|
-
"type": "address"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"indexed": true,
|
|
73
|
-
"internalType": "address",
|
|
74
|
-
"name": "receiver",
|
|
75
|
-
"type": "address"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"indexed": false,
|
|
79
|
-
"internalType": "uint256",
|
|
80
|
-
"name": "amount",
|
|
81
|
-
"type": "uint256"
|
|
82
|
-
}
|
|
83
|
-
],
|
|
84
|
-
"name": "Redeem",
|
|
85
|
-
"type": "event"
|
|
86
|
-
},
|
|
87
31
|
{
|
|
88
32
|
"anonymous": false,
|
|
89
33
|
"inputs": [
|
|
@@ -367,25 +311,16 @@
|
|
|
367
311
|
"internalType": "address",
|
|
368
312
|
"name": "user",
|
|
369
313
|
"type": "address"
|
|
370
|
-
}
|
|
371
|
-
],
|
|
372
|
-
"name": "redeemDueInterest",
|
|
373
|
-
"outputs": [
|
|
314
|
+
},
|
|
374
315
|
{
|
|
375
|
-
"internalType": "
|
|
376
|
-
"name": "
|
|
377
|
-
"type": "
|
|
378
|
-
}
|
|
379
|
-
],
|
|
380
|
-
"stateMutability": "nonpayable",
|
|
381
|
-
"type": "function"
|
|
382
|
-
},
|
|
383
|
-
{
|
|
384
|
-
"inputs": [
|
|
316
|
+
"internalType": "bool",
|
|
317
|
+
"name": "redeemInterest",
|
|
318
|
+
"type": "bool"
|
|
319
|
+
},
|
|
385
320
|
{
|
|
386
|
-
"internalType": "
|
|
387
|
-
"name": "
|
|
388
|
-
"type": "
|
|
321
|
+
"internalType": "bool",
|
|
322
|
+
"name": "redeemRewards",
|
|
323
|
+
"type": "bool"
|
|
389
324
|
}
|
|
390
325
|
],
|
|
391
326
|
"name": "redeemDueInterestAndRewards",
|
|
@@ -404,25 +339,6 @@
|
|
|
404
339
|
"stateMutability": "nonpayable",
|
|
405
340
|
"type": "function"
|
|
406
341
|
},
|
|
407
|
-
{
|
|
408
|
-
"inputs": [
|
|
409
|
-
{
|
|
410
|
-
"internalType": "address",
|
|
411
|
-
"name": "user",
|
|
412
|
-
"type": "address"
|
|
413
|
-
}
|
|
414
|
-
],
|
|
415
|
-
"name": "redeemDueRewards",
|
|
416
|
-
"outputs": [
|
|
417
|
-
{
|
|
418
|
-
"internalType": "uint256[]",
|
|
419
|
-
"name": "rewardsOut",
|
|
420
|
-
"type": "uint256[]"
|
|
421
|
-
}
|
|
422
|
-
],
|
|
423
|
-
"stateMutability": "nonpayable",
|
|
424
|
-
"type": "function"
|
|
425
|
-
},
|
|
426
342
|
{
|
|
427
343
|
"inputs": [
|
|
428
344
|
{
|
package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.json
CHANGED
|
@@ -307,7 +307,7 @@
|
|
|
307
307
|
},
|
|
308
308
|
{
|
|
309
309
|
"internalType": "uint256",
|
|
310
|
-
"name": "
|
|
310
|
+
"name": "amountTokenToDeposit",
|
|
311
311
|
"type": "uint256"
|
|
312
312
|
},
|
|
313
313
|
{
|
|
@@ -407,7 +407,7 @@
|
|
|
407
407
|
},
|
|
408
408
|
{
|
|
409
409
|
"internalType": "uint256",
|
|
410
|
-
"name": "
|
|
410
|
+
"name": "amountSharesToRedeem",
|
|
411
411
|
"type": "uint256"
|
|
412
412
|
},
|
|
413
413
|
{
|
|
@@ -432,6 +432,35 @@
|
|
|
432
432
|
"stateMutability": "nonpayable",
|
|
433
433
|
"type": "function"
|
|
434
434
|
},
|
|
435
|
+
{
|
|
436
|
+
"inputs": [
|
|
437
|
+
{
|
|
438
|
+
"internalType": "address",
|
|
439
|
+
"name": "receiver",
|
|
440
|
+
"type": "address"
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"internalType": "address",
|
|
444
|
+
"name": "tokenOut",
|
|
445
|
+
"type": "address"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"internalType": "uint256",
|
|
449
|
+
"name": "minTokenOut",
|
|
450
|
+
"type": "uint256"
|
|
451
|
+
}
|
|
452
|
+
],
|
|
453
|
+
"name": "redeemAfterTransfer",
|
|
454
|
+
"outputs": [
|
|
455
|
+
{
|
|
456
|
+
"internalType": "uint256",
|
|
457
|
+
"name": "amountTokenOut",
|
|
458
|
+
"type": "uint256"
|
|
459
|
+
}
|
|
460
|
+
],
|
|
461
|
+
"stateMutability": "nonpayable",
|
|
462
|
+
"type": "function"
|
|
463
|
+
},
|
|
435
464
|
{
|
|
436
465
|
"inputs": [],
|
|
437
466
|
"name": "rewardIndexesCurrent",
|