@pendle/core-v2 0.13.0-testnet → 0.14.0-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/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +89 -0
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +91 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +91 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.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 +26 -26
- 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/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield → StandardizedYield}/PYIndex.sol/PYIndexLib.json +3 -3
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield/SCYBase.sol/SCYBase.json → StandardizedYield/SYBase.sol/SYBase.json} +11 -11
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield/SCYBaseWithRewards.sol/SCYBaseWithRewards.json → StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.json} +11 -11
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield/SCYUtils.sol/SCYUtils.json → StandardizedYield/SYUtils.sol/SYUtils.json} +4 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield → StandardizedYield}/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +3 -3
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield/implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.json → StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json} +17 -17
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.json +1028 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield/implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol/PendleConvexCurveLPSCY.json → StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol/PendleConvexLPSY.json} +47 -47
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield → StandardizedYield}/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.json +5 -5
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield/implementations/PendleWstEthSCY.sol/PendleWstEthSCY.json → StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json} +13 -13
- 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 +4 -4
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +4 -4
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +24 -24
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +28 -28
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +30 -30
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +34 -34
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +20 -20
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.json +2 -2
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +20 -20
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +106 -106
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +18 -18
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.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 +3 -3
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +6 -6
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{ISuperComposableYield.sol/ISuperComposableYield.json → IStandardizedYield.sol/IStandardizedYield.json} +5 -5
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +7 -7
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +116 -116
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +35 -35
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +12 -12
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +41 -41
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +28 -28
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +4 -4
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +22 -22
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
- package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol +96 -27
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol +40 -12
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol +24 -5
- package/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol +133 -0
- package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +33 -0
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +8 -1
- package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +3 -3
- package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol +2 -7
- package/contracts/core/Market/MarketMathCore.sol +50 -53
- package/contracts/core/Market/PendleGauge.sol +8 -8
- package/contracts/core/Market/PendleMarket.sol +49 -49
- package/contracts/core/Market/PendleMarketFactory.sol +1 -1
- package/contracts/core/RewardManager/RewardManager.sol +1 -1
- package/contracts/core/{SuperComposableYield → StandardizedYield}/PYIndex.sol +16 -16
- package/contracts/core/{SuperComposableYield/SCYBase.sol → StandardizedYield/SYBase.sol} +17 -17
- package/contracts/core/{SuperComposableYield/SCYBaseWithRewards.sol → StandardizedYield/SYBaseWithRewards.sol} +9 -9
- package/contracts/core/StandardizedYield/SYUtils.sol +26 -0
- package/contracts/core/{SuperComposableYield → StandardizedYield}/implementations/BenQi/PendleQiTokenHelper.sol +1 -1
- package/contracts/core/{SuperComposableYield/implementations/BenQi/PendleQiTokenSCY.sol → StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol} +10 -10
- package/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol +167 -0
- package/contracts/core/{SuperComposableYield/implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol → StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol} +51 -70
- package/contracts/core/{SuperComposableYield → StandardizedYield}/implementations/Convex/Pendle3CrvHelper.sol +7 -7
- package/contracts/core/{SuperComposableYield/implementations/PendleWstEthSCY.sol → StandardizedYield/implementations/PendleWstEthSY.sol} +5 -5
- package/contracts/core/YieldContracts/InterestManagerYT.sol +7 -7
- package/contracts/core/YieldContracts/PendlePrincipalToken.sol +3 -3
- package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +15 -15
- package/contracts/core/YieldContracts/PendleYieldToken.sol +71 -71
- package/contracts/core/libraries/Errors.sol +23 -21
- package/contracts/core/libraries/TokenHelper.sol +0 -33
- package/contracts/interfaces/Curve/ICrvPool.sol +2 -0
- package/contracts/interfaces/ILayerZeroEndpoint.sol +39 -0
- package/contracts/interfaces/ILayerZeroReceiver.sol +12 -0
- package/contracts/interfaces/IPActionAddRemoveLiq.sol +27 -27
- package/contracts/interfaces/IPActionMintRedeem.sol +30 -30
- package/contracts/interfaces/IPActionSwapPT.sol +16 -16
- package/contracts/interfaces/IPActionSwapPTYT.sol +2 -2
- package/contracts/interfaces/IPActionSwapYT.sol +16 -16
- package/contracts/interfaces/IPMarket.sol +14 -19
- package/contracts/interfaces/IPMarketSwapCallback.sol +1 -1
- package/contracts/interfaces/IPMsgSendEndpoint.sol +4 -2
- package/contracts/interfaces/IPPrincipalToken.sol +1 -1
- package/contracts/interfaces/IPYieldContractFactory.sol +3 -3
- package/contracts/interfaces/IPYieldToken.sol +7 -9
- package/contracts/interfaces/{ISuperComposableYield.sol → IStandardizedYield.sol} +6 -6
- package/contracts/offchain-helpers/MarketMathStatic.sol +116 -131
- package/contracts/offchain-helpers/RouterStatic.sol +80 -93
- package/contracts/router/ActionAddRemoveLiq.sol +99 -111
- package/contracts/router/ActionCallback.sol +46 -46
- package/contracts/router/ActionMintRedeem.sol +58 -58
- package/contracts/router/ActionSwapPT.sol +61 -69
- package/contracts/router/ActionSwapPTYT.sol +7 -7
- package/contracts/router/ActionSwapYT.sol +72 -79
- package/contracts/router/PendleRouter.sol +16 -16
- package/contracts/router/base/ActionBaseMintRedeem.sol +43 -43
- package/contracts/router/base/CallbackHelper.sol +20 -20
- package/contracts/router/base/MarketApproxLib.sol +166 -143
- package/contracts/router/kyberswap/KyberSwapHelper.sol +2 -2
- package/deployments/43113-core.json +16 -0
- package/deployments/43113-helper.json +3 -0
- package/deployments/43113-markets/benqi-market-QI-USDC-FEB-2ND.json +8 -0
- package/deployments/43113-markets/benqi-market-QI-WETH-DEC-1ST.json +8 -0
- package/deployments/43113-testenv.json +22 -0
- package/deployments/80001-core.json +15 -0
- package/deployments/80001-testenv.json +22 -0
- package/package.json +2 -2
- package/typechain-types/ActionAddRemoveLiq.ts +127 -129
- package/typechain-types/ActionCallback.ts +5 -5
- package/typechain-types/ActionMintRedeem.ts +139 -141
- package/typechain-types/ActionSwapPT.ts +73 -73
- package/typechain-types/ActionSwapPTYT.ts +2 -2
- package/typechain-types/ActionSwapYT.ts +73 -73
- package/typechain-types/IPActionAddRemoveLiq.ts +127 -129
- package/typechain-types/IPActionMintRedeem.ts +139 -141
- package/typechain-types/IPActionSwapPT.ts +73 -73
- package/typechain-types/IPActionSwapPTYT.ts +2 -2
- package/typechain-types/IPActionSwapYT.ts +73 -73
- package/typechain-types/IPAllAction.ts +402 -406
- package/typechain-types/IPMarket.ts +51 -54
- package/typechain-types/IPMarketSwapCallback.ts +5 -5
- package/typechain-types/IPPrincipalToken.ts +8 -8
- package/typechain-types/IPYieldContractFactory.ts +13 -13
- package/typechain-types/IPYieldToken.ts +17 -17
- package/typechain-types/IStandardizedYield.ts +895 -0
- package/typechain-types/ImplicitSwapfeeContract.ts +157 -0
- package/typechain-types/MarketMathStatic.ts +27 -27
- package/typechain-types/Pendle3CrvAndTokenSY.ts +1243 -0
- package/typechain-types/Pendle3CrvHelper.ts +13 -13
- package/typechain-types/PendleConvexLPSY.ts +1189 -0
- package/typechain-types/PendleGaugeControllerBaseUpg.ts +125 -0
- package/typechain-types/PendleGaugeControllerMainchainUpg.ts +125 -0
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +124 -0
- package/typechain-types/PendleMarket.ts +54 -57
- package/typechain-types/PendlePrincipalToken.ts +8 -8
- package/typechain-types/PendleQiTokenSY.ts +1166 -0
- package/typechain-types/PendleWstEthSY.ts +1040 -0
- package/typechain-types/PendleYieldContractFactory.ts +8 -8
- package/typechain-types/PendleYieldToken.ts +41 -44
- package/typechain-types/RouterStatic.ts +196 -196
- package/typechain-types/SYBase.ts +1001 -0
- package/typechain-types/SYBaseWithRewards.ts +1094 -0
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +34 -34
- package/typechain-types/factories/ActionCallback__factory.ts +11 -11
- package/typechain-types/factories/ActionMintRedeem__factory.ts +38 -38
- package/typechain-types/factories/ActionMisc__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +3 -3
- package/typechain-types/factories/ActionSwapPT__factory.ts +27 -27
- package/typechain-types/factories/ActionSwapYT__factory.ts +21 -21
- package/typechain-types/factories/Errors__factory.ts +27 -27
- package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +30 -30
- package/typechain-types/factories/IPActionMintRedeem__factory.ts +34 -34
- package/typechain-types/factories/IPActionSwapPTYT__factory.ts +2 -2
- package/typechain-types/factories/IPActionSwapPT__factory.ts +20 -20
- package/typechain-types/factories/IPActionSwapYT__factory.ts +20 -20
- package/typechain-types/factories/IPAllAction__factory.ts +106 -106
- package/typechain-types/factories/IPMarketSwapCallback__factory.ts +1 -1
- package/typechain-types/factories/IPMarket__factory.ts +18 -18
- package/typechain-types/factories/IPPrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/IPYieldContractFactory__factory.ts +3 -3
- package/typechain-types/factories/IPYieldToken__factory.ts +6 -6
- package/typechain-types/factories/IStandardizedYield__factory.ts +658 -0
- package/typechain-types/factories/ImplicitSwapfeeContract__factory.ts +247 -0
- package/typechain-types/factories/MarketMathStatic__factory.ts +6 -6
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/Pendle3CrvAndTokenSY__factory.ts +1124 -0
- package/typechain-types/factories/Pendle3CrvHelper__factory.ts +3 -3
- package/typechain-types/factories/PendleConvexLPSY__factory.ts +963 -0
- package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +89 -0
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +90 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +90 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +21 -21
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +7 -7
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +1095 -0
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleWstEthSY__factory.ts +924 -0
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +3 -3
- package/typechain-types/factories/PendleYieldToken__factory.ts +27 -27
- package/typechain-types/factories/RouterStatic__factory.ts +57 -57
- package/typechain-types/factories/SYBaseWithRewards__factory.ts +867 -0
- package/typechain-types/factories/SYBase__factory.ts +795 -0
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +33 -42
- package/typechain-types/index.ts +14 -16
- package/build/artifacts/contracts/core/SuperComposableYield/PYIndex.sol/PYIndexLib.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/SCYBase.sol/SCYBase.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/SCYUtils.sol/SCYUtils.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSCY.sol/Pendle3CrvAndTokenSCY.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSCY.sol/Pendle3CrvAndTokenSCY.json +0 -1030
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol/PendleConvexCurveLP2PoolSCY.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol/PendleConvexCurveLP2PoolSCY.json +0 -1025
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol/PendleConvexCurveLPSCY.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +0 -4
- package/contracts/core/SuperComposableYield/SCYUtils.sol +0 -34
- package/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSCY.sol +0 -135
- package/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol +0 -96
- package/contracts/interfaces/ICelerMessageBus.sol +0 -28
- package/contracts/interfaces/ICelerMessageReceiverApp.sol +0 -25
- package/deployments/kovan.json +0 -31
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
-
pragma solidity 0.8.17;
|
|
3
|
-
|
|
4
|
-
library SCYUtils {
|
|
5
|
-
uint256 internal constant ONE = 1e18;
|
|
6
|
-
|
|
7
|
-
function scyToAsset(uint256 exchangeRate, uint256 scyAmount) internal pure returns (uint256) {
|
|
8
|
-
return (scyAmount * exchangeRate) / ONE;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
function scyToAssetUp(uint256 exchangeRate, uint256 scyAmount)
|
|
12
|
-
internal
|
|
13
|
-
pure
|
|
14
|
-
returns (uint256)
|
|
15
|
-
{
|
|
16
|
-
return (scyAmount * exchangeRate + ONE - 1) / ONE;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
function assetToScy(uint256 exchangeRate, uint256 assetAmount)
|
|
20
|
-
internal
|
|
21
|
-
pure
|
|
22
|
-
returns (uint256)
|
|
23
|
-
{
|
|
24
|
-
return (assetAmount * ONE) / exchangeRate;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
function assetToScyUp(uint256 exchangeRate, uint256 assetAmount)
|
|
28
|
-
internal
|
|
29
|
-
pure
|
|
30
|
-
returns (uint256)
|
|
31
|
-
{
|
|
32
|
-
return (assetAmount * ONE + exchangeRate - 1) / exchangeRate;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
-
pragma solidity 0.8.17;
|
|
3
|
-
|
|
4
|
-
import "./PendleConvexCurveLP2PoolSCY.sol";
|
|
5
|
-
import "../Pendle3CrvHelper.sol";
|
|
6
|
-
import "../../../../libraries/ArrayLib.sol";
|
|
7
|
-
|
|
8
|
-
contract Pendle3CrvAndTokenSCY is PendleConvexCurveLP2PoolSCY {
|
|
9
|
-
using ArrayLib for address[];
|
|
10
|
-
|
|
11
|
-
constructor(
|
|
12
|
-
string memory _name,
|
|
13
|
-
string memory _symbol,
|
|
14
|
-
uint256 _pid,
|
|
15
|
-
address _convexBooster,
|
|
16
|
-
address _crvLpToken,
|
|
17
|
-
address _cvx,
|
|
18
|
-
address _baseCrvPool,
|
|
19
|
-
address[] memory _basePoolTokens
|
|
20
|
-
)
|
|
21
|
-
PendleConvexCurveLP2PoolSCY(
|
|
22
|
-
_name,
|
|
23
|
-
_symbol,
|
|
24
|
-
_pid,
|
|
25
|
-
_convexBooster,
|
|
26
|
-
_crvLpToken,
|
|
27
|
-
_cvx,
|
|
28
|
-
_baseCrvPool,
|
|
29
|
-
_basePoolTokens
|
|
30
|
-
)
|
|
31
|
-
{
|
|
32
|
-
if (!_basePoolTokens.contains(Pendle3CrvHelper.TOKEN))
|
|
33
|
-
revert Errors.SCYCurve3crvPoolNotFound();
|
|
34
|
-
|
|
35
|
-
_safeApproveInf(Pendle3CrvHelper.DAI, Pendle3CrvHelper.POOL);
|
|
36
|
-
_safeApproveInf(Pendle3CrvHelper.USDC, Pendle3CrvHelper.POOL);
|
|
37
|
-
_safeApproveInf(Pendle3CrvHelper.USDT, Pendle3CrvHelper.POOL);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
function _deposit(address tokenIn, uint256 amount)
|
|
41
|
-
internal
|
|
42
|
-
virtual
|
|
43
|
-
override
|
|
44
|
-
returns (uint256 amountSharesOut)
|
|
45
|
-
{
|
|
46
|
-
if (Pendle3CrvHelper.is3CrvToken(tokenIn)) {
|
|
47
|
-
uint256 amountLp = Pendle3CrvHelper.deposit3Crv(tokenIn, amount);
|
|
48
|
-
return super._deposit(Pendle3CrvHelper.TOKEN, amountLp);
|
|
49
|
-
} else {
|
|
50
|
-
return super._deposit(tokenIn, amount);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
function _redeem(
|
|
55
|
-
address receiver,
|
|
56
|
-
address tokenOut,
|
|
57
|
-
uint256 amountSharesToRedeem
|
|
58
|
-
) internal virtual override returns (uint256 amountTokenOut) {
|
|
59
|
-
if (Pendle3CrvHelper.is3CrvToken(tokenOut)) {
|
|
60
|
-
uint256 amountLp = super._redeem(
|
|
61
|
-
address(this),
|
|
62
|
-
Pendle3CrvHelper.TOKEN,
|
|
63
|
-
amountSharesToRedeem
|
|
64
|
-
);
|
|
65
|
-
amountTokenOut = Pendle3CrvHelper.redeem3Crv(tokenOut, amountLp);
|
|
66
|
-
_transferOut(tokenOut, receiver, amountTokenOut);
|
|
67
|
-
} else {
|
|
68
|
-
return super._redeem(receiver, tokenOut, amountSharesToRedeem);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
function _previewDeposit(address tokenIn, uint256 amountTokenToDeposit)
|
|
73
|
-
internal
|
|
74
|
-
view
|
|
75
|
-
virtual
|
|
76
|
-
override
|
|
77
|
-
returns (uint256)
|
|
78
|
-
{
|
|
79
|
-
if (Pendle3CrvHelper.is3CrvToken(tokenIn)) {
|
|
80
|
-
uint256 amountLp = Pendle3CrvHelper.preview3CrvDeposit(tokenIn, amountTokenToDeposit);
|
|
81
|
-
return super._previewDeposit(Pendle3CrvHelper.TOKEN, amountLp);
|
|
82
|
-
} else {
|
|
83
|
-
return super._previewDeposit(tokenIn, amountTokenToDeposit);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
function _previewRedeem(address tokenOut, uint256 amountSharesToRedeem)
|
|
88
|
-
internal
|
|
89
|
-
view
|
|
90
|
-
virtual
|
|
91
|
-
override
|
|
92
|
-
returns (uint256)
|
|
93
|
-
{
|
|
94
|
-
if (Pendle3CrvHelper.is3CrvToken(tokenOut)) {
|
|
95
|
-
uint256 amountLp = super._previewRedeem(Pendle3CrvHelper.TOKEN, amountSharesToRedeem);
|
|
96
|
-
return Pendle3CrvHelper.preview3CrvRedeem(tokenOut, amountLp);
|
|
97
|
-
} else {
|
|
98
|
-
return super._previewRedeem(tokenOut, amountSharesToRedeem);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
function getTokensIn() public view virtual override returns (address[] memory res) {
|
|
103
|
-
res = new address[](6);
|
|
104
|
-
res[0] = LP;
|
|
105
|
-
res[1] = token1;
|
|
106
|
-
res[2] = token2;
|
|
107
|
-
res[3] = Pendle3CrvHelper.DAI;
|
|
108
|
-
res[4] = Pendle3CrvHelper.USDC;
|
|
109
|
-
res[5] = Pendle3CrvHelper.USDT;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
function getTokensOut() public view virtual override returns (address[] memory res) {
|
|
113
|
-
res = new address[](6);
|
|
114
|
-
res[0] = LP;
|
|
115
|
-
res[1] = token1;
|
|
116
|
-
res[2] = token2;
|
|
117
|
-
res[3] = Pendle3CrvHelper.DAI;
|
|
118
|
-
res[4] = Pendle3CrvHelper.USDC;
|
|
119
|
-
res[5] = Pendle3CrvHelper.USDT;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
function isValidTokenIn(address token) public view virtual override returns (bool res) {
|
|
123
|
-
res = (token == LP ||
|
|
124
|
-
token == token1 ||
|
|
125
|
-
token == token2 ||
|
|
126
|
-
Pendle3CrvHelper.is3CrvToken(token));
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
function isValidTokenOut(address token) public view override returns (bool res) {
|
|
130
|
-
res = (token == LP ||
|
|
131
|
-
token == token1 ||
|
|
132
|
-
token == token2 ||
|
|
133
|
-
Pendle3CrvHelper.is3CrvToken(token));
|
|
134
|
-
}
|
|
135
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
-
pragma solidity 0.8.17;
|
|
3
|
-
|
|
4
|
-
import "./PendleConvexCurveLPSCY.sol";
|
|
5
|
-
|
|
6
|
-
contract PendleConvexCurveLP2PoolSCY is PendleConvexCurveLPSCY {
|
|
7
|
-
address public immutable token1;
|
|
8
|
-
address public immutable token2;
|
|
9
|
-
|
|
10
|
-
constructor(
|
|
11
|
-
string memory _name,
|
|
12
|
-
string memory _symbol,
|
|
13
|
-
uint256 _pid,
|
|
14
|
-
address _convexBooster,
|
|
15
|
-
address _crvLpToken,
|
|
16
|
-
address _cvx,
|
|
17
|
-
address _baseCrvPool,
|
|
18
|
-
address[] memory _basePoolTokens
|
|
19
|
-
)
|
|
20
|
-
PendleConvexCurveLPSCY(
|
|
21
|
-
_name,
|
|
22
|
-
_symbol,
|
|
23
|
-
_pid,
|
|
24
|
-
_convexBooster,
|
|
25
|
-
_crvLpToken,
|
|
26
|
-
_cvx,
|
|
27
|
-
_baseCrvPool
|
|
28
|
-
)
|
|
29
|
-
{
|
|
30
|
-
if (_basePoolTokens.length != 2) revert Errors.ArrayLengthMismatch();
|
|
31
|
-
|
|
32
|
-
token1 = _basePoolTokens[0];
|
|
33
|
-
token2 = _basePoolTokens[1];
|
|
34
|
-
|
|
35
|
-
_safeApprove(token1, crvPool, type(uint256).max);
|
|
36
|
-
_safeApprove(token2, crvPool, type(uint256).max);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
function getTokensIn() public view virtual override returns (address[] memory res) {
|
|
40
|
-
res = new address[](3);
|
|
41
|
-
res[0] = LP;
|
|
42
|
-
res[1] = token1;
|
|
43
|
-
res[2] = token2;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
function getTokensOut() public view virtual override returns (address[] memory res) {
|
|
47
|
-
res = new address[](3);
|
|
48
|
-
res[0] = LP;
|
|
49
|
-
res[1] = token1;
|
|
50
|
-
res[2] = token2;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
function isValidTokenIn(address token) public view virtual override returns (bool res) {
|
|
54
|
-
res = (token == LP || token == token1 || token == token2);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
function isValidTokenOut(address token) public view virtual override returns (bool res) {
|
|
58
|
-
res = (token == LP || token == token1 || token == token2);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
function _getBaseTokenIndex(address crvBaseToken)
|
|
62
|
-
internal
|
|
63
|
-
view
|
|
64
|
-
virtual
|
|
65
|
-
override
|
|
66
|
-
returns (uint256 index)
|
|
67
|
-
{
|
|
68
|
-
if (crvBaseToken == token1) {
|
|
69
|
-
index = 0;
|
|
70
|
-
} else {
|
|
71
|
-
index = 1;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
function _isBaseToken(address token) internal view virtual override returns (bool res) {
|
|
76
|
-
return (token == token1 || token == token2);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
function _depositToCurve(address token, uint256 amount) internal virtual override {
|
|
80
|
-
uint256[2] memory amounts;
|
|
81
|
-
amounts[_getBaseTokenIndex(token)] = amount;
|
|
82
|
-
ICrvPool(crvPool).add_liquidity(amounts, 0);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
function _previewDepositToCurve(address token, uint256 amount)
|
|
86
|
-
internal
|
|
87
|
-
view
|
|
88
|
-
virtual
|
|
89
|
-
override
|
|
90
|
-
returns (uint256)
|
|
91
|
-
{
|
|
92
|
-
uint256[2] memory amounts;
|
|
93
|
-
amounts[_getBaseTokenIndex(token)] = amount;
|
|
94
|
-
return ICrvPool(crvPool).calc_token_amount(amounts, true);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// SPDX-License-Identifier: GPL-3.0-only
|
|
2
|
-
|
|
3
|
-
pragma solidity >=0.8.0;
|
|
4
|
-
|
|
5
|
-
interface ICelerMessageBus {
|
|
6
|
-
/**
|
|
7
|
-
* @notice Calculates the required fee for the message.
|
|
8
|
-
* @param _message Arbitrary message bytes to be decoded by the destination app contract.
|
|
9
|
-
@ @return The required fee.
|
|
10
|
-
*/
|
|
11
|
-
function calcFee(bytes calldata _message) external view returns (uint256);
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* @notice Sends a message to a contract on another chain.
|
|
15
|
-
* Sender needs to make sure the uniqueness of the message Id, which is computed as
|
|
16
|
-
* hash(type.MessageOnly, sender, receiver, srcChainId, srcTxHash, dstChainId, message).
|
|
17
|
-
* If messages with the same Id are sent, only one of them will succeed at dst chain..
|
|
18
|
-
* A fee is charged in the native gas token.
|
|
19
|
-
* @param _receiver The address of the destination app contract.
|
|
20
|
-
* @param _dstChainId The destination chain ID.
|
|
21
|
-
* @param _message Arbitrary message bytes to be decoded by the destination app contract.
|
|
22
|
-
*/
|
|
23
|
-
function sendMessage(
|
|
24
|
-
address _receiver,
|
|
25
|
-
uint256 _dstChainId,
|
|
26
|
-
bytes calldata _message
|
|
27
|
-
) external payable;
|
|
28
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// SPDX-License-Identifier: GPL-3.0-only
|
|
2
|
-
|
|
3
|
-
pragma solidity >=0.8.0;
|
|
4
|
-
|
|
5
|
-
interface ICelerMessageReceiverApp {
|
|
6
|
-
enum ExecutionStatus {
|
|
7
|
-
Fail, // execution failed, finalized
|
|
8
|
-
Success, // execution succeeded, finalized
|
|
9
|
-
Retry // execution rejected, can retry later
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @notice Called by MessageBus (MessageBusReceiver)
|
|
14
|
-
* @param _sender The address of the source app contract
|
|
15
|
-
* @param _srcChainId The source chain ID where the transfer is originated from
|
|
16
|
-
* @param _message Arbitrary message bytes originated from and encoded by the source app contract
|
|
17
|
-
* @param _executor Address who called the MessageBus execution function
|
|
18
|
-
*/
|
|
19
|
-
function executeMessage(
|
|
20
|
-
address _sender,
|
|
21
|
-
uint64 _srcChainId,
|
|
22
|
-
bytes calldata _message,
|
|
23
|
-
address _executor
|
|
24
|
-
) external payable returns (ExecutionStatus);
|
|
25
|
-
}
|
package/deployments/kovan.json
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"network": "KOVAN",
|
|
3
|
-
"DEPLOYER": "0x42D2D78Cc14e1B7D5e317B42e5335D8816B4Fd3F",
|
|
4
|
-
"PENDLE_GOVERNANCE_MANAGER": "0xF2EE735048C07Bcf4aaF293D80FDc16f85267877",
|
|
5
|
-
"PENDLE_YIELD_CONTRACT_FACTORY": "0xAE23ba1dE189127230Bf0Dc6ac19a5BED1a780Cd",
|
|
6
|
-
"PENDLE_MARKET_FACTORY": "0xbC6d7D40A264cBb4978d7A8154c3E04886bf2c8A",
|
|
7
|
-
"PENDLE_ROUTER": "0xB205Bd377c985110A6901BA3d5FbCa00A0b55d05",
|
|
8
|
-
"ROUTER_STATIC": "0x304e2cdb93d820DC5f86D5FCaF2ccFd34E52e9C9",
|
|
9
|
-
"YIELD_CONTRACTS": {
|
|
10
|
-
"SCY-QIUSD-25-DEC": {
|
|
11
|
-
"SCY": {
|
|
12
|
-
"address": "0x45F42372841e40880b814C0c4fa68d74A0a67e1A",
|
|
13
|
-
"underlyings": [
|
|
14
|
-
"0x746a524cE3f486931B8a1B287EBBFD142B592A38"
|
|
15
|
-
],
|
|
16
|
-
"ibToken": "0x7D3F7d3E116dba37Ba4Ce6ca08A2f02fe3325C77"
|
|
17
|
-
},
|
|
18
|
-
"EXPIRY": 1671926400,
|
|
19
|
-
"YT": "0xB27Ec1293add63e7543215168BecBfC0dED4bfd4",
|
|
20
|
-
"PT": "0x273409b9992DE76A8b90B9d3eCDDD93a8c4ba28E",
|
|
21
|
-
"MARKET": "0x08F485228d5859662Dd170a3D1449D5A33010893"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"MOCK_CONTRACTS": {
|
|
25
|
-
"USD": "0x746a524cE3f486931B8a1B287EBBFD142B592A38",
|
|
26
|
-
"WNATIVE": "0x5EcEA6E13aaF21eCEa71f9A9D1bbDddeC676D31f",
|
|
27
|
-
"FAUCET": "0x9b8D9Ee9537d09c3e8dE546f7Ec9d025329265fb",
|
|
28
|
-
"QIUSD": "0x7D3F7d3E116dba37Ba4Ce6ca08A2f02fe3325C77",
|
|
29
|
-
"SCY_QIUSD": "0x45F42372841e40880b814C0c4fa68d74A0a67e1A"
|
|
30
|
-
}
|
|
31
|
-
}
|