@pendle/core-v2 0.16.6-testnet → 0.17.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/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -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 +16 -5
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.json +0 -13
- 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/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -15
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +2 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.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 +25 -13
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +221 -50
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.json +141 -0
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.json +141 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +143 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +1144 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +1209 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.json +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +3 -82
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.json +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/{ConvexCurveLP → base}/PendleConvexLPSY.sol/PendleConvexLPSY.json +142 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +997 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +143 -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 +83 -10
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +35 -4
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.json +2 -2
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.json +2 -2
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.json +3 -38
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.json +2 -2
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.json +2 -2
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +105 -31
- package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.json +14 -7
- package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.json +213 -0
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.json +30 -0
- package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.json +76 -0
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +8 -8
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +18 -18
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +2 -2
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +28 -28
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.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 +17 -5
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +50 -19
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.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 +7 -7
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +13 -0
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +58 -2
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -46
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +62 -62
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +11 -11
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +2 -2
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +20 -20
- 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 +2 -2
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +3 -3
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +4 -4
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -186
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.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/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +2 -2
- package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol +1 -1
- package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +3 -6
- package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol +7 -4
- package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol +10 -5
- package/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol +1 -4
- package/contracts/LiquidityMining/libraries/VeHistoryLib.sol +0 -5
- package/contracts/core/BulkSeller/BulkSeller.sol +0 -5
- package/contracts/core/BulkSeller/BulkSellerFactory.sol +7 -6
- package/contracts/core/Market/MarketMathCore.sol +52 -11
- package/contracts/core/Market/PendleMarket.sol +35 -22
- package/contracts/core/Market/PendleMarketFactory.sol +67 -35
- package/contracts/core/StandardizedYield/SYBase.sol +26 -3
- package/contracts/core/StandardizedYield/SYBaseWithRewards.sol +3 -1
- package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol +102 -0
- package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol +160 -0
- package/contracts/core/StandardizedYield/implementations/Convex/README.md +29 -0
- package/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol +215 -0
- package/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol +46 -26
- package/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol +152 -0
- package/contracts/core/StandardizedYield/implementations/Convex/{ConvexCurveLP → base}/PendleConvexLPSY.sol +0 -0
- package/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol +128 -0
- package/contracts/core/YieldContracts/PendlePrincipalToken.sol +3 -3
- package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +30 -12
- package/contracts/core/YieldContracts/PendleYieldToken.sol +79 -22
- package/contracts/core/erc20/PendleERC20.sol +4 -7
- package/contracts/core/libraries/BaseSplitCodeFactory.sol +1 -1
- package/contracts/core/libraries/BoringOwnableUpgradeable.sol +1 -1
- package/contracts/core/libraries/Errors.sol +12 -2
- package/contracts/interfaces/ConvexCurve/IBooster.sol +1 -1
- package/contracts/interfaces/Curve/ICrvPool.sol +3 -4
- package/contracts/interfaces/Curve/ITriCrvPool.sol +41 -0
- package/contracts/interfaces/IERC4626.sol +1 -1
- package/contracts/interfaces/ILooksFeeSharing.sol +5 -0
- package/contracts/interfaces/ILooksStaking.sol +13 -0
- package/contracts/interfaces/IPActionAddRemoveLiq.sol +4 -4
- package/contracts/interfaces/IPActionMintRedeem.sol +8 -8
- package/contracts/interfaces/IPActionSwapYT.sol +2 -2
- package/contracts/interfaces/IPMarket.sol +20 -4
- package/contracts/interfaces/IPMarketFactory.sol +15 -5
- package/contracts/interfaces/IPMsgSendEndpoint.sol +1 -1
- package/contracts/interfaces/IPYieldContractFactory.sol +2 -2
- package/contracts/interfaces/IPYieldToken.sol +2 -0
- package/contracts/interfaces/IStandardizedYield.sol +15 -10
- package/contracts/offchain-helpers/BulkSellerOffchain.sol +17 -8
- package/contracts/offchain-helpers/MarketMathStatic.sol +35 -96
- package/contracts/offchain-helpers/RouterStatic.sol +8 -6
- package/contracts/router/ActionAddRemoveLiq.sol +102 -10
- package/contracts/router/ActionMintRedeem.sol +44 -4
- package/contracts/router/ActionSwapPT.sol +41 -11
- package/contracts/router/ActionSwapPTYT.sol +32 -7
- package/contracts/router/ActionSwapYT.sol +49 -33
- package/contracts/router/PendleRouter.sol +3 -11
- package/contracts/router/base/MarketApproxLib.sol +52 -18
- package/deployments/43113-core.json +18 -14
- package/deployments/43113-markets/USDC-FEB-2ND.json +10 -0
- package/deployments/43113-markets/WETH-FEB-2ND.json +10 -0
- package/deployments/43113-testenv.json +1 -2
- package/package.json +5 -5
- package/typechain-types/ActionAddRemoveLiq.ts +18 -18
- package/typechain-types/ActionMintRedeem.ts +30 -30
- package/typechain-types/ActionSwapPTYT.ts +5 -5
- package/typechain-types/ActionSwapYT.ts +5 -5
- package/typechain-types/BulkSeller.ts +0 -19
- package/typechain-types/BulkSellerOffchain.ts +74 -0
- package/typechain-types/IBooster.ts +9 -3
- package/typechain-types/ICrvPool.ts +4 -9
- package/typechain-types/IERC4626.ts +5 -5
- package/typechain-types/IPActionAddRemoveLiq.ts +13 -13
- package/typechain-types/IPActionMintRedeem.ts +30 -30
- package/typechain-types/IPActionSwapYT.ts +5 -5
- package/typechain-types/IPAllAction.ts +48 -48
- package/typechain-types/IPMarket.ts +26 -16
- package/typechain-types/IPMarketFactory.ts +70 -37
- package/typechain-types/IPMsgSendEndpoint.ts +1 -1
- package/typechain-types/IPYieldContractFactory.ts +11 -11
- package/typechain-types/IPYieldToken.ts +21 -0
- package/typechain-types/MarketMathStatic.ts +0 -67
- package/typechain-types/PendleConvexLPSY.ts +204 -0
- package/typechain-types/PendleMarket.ts +26 -16
- package/typechain-types/PendleMarketFactory.ts +316 -92
- package/typechain-types/PendleQiTokenSY.ts +204 -0
- package/typechain-types/PendleRouter.ts +3 -287
- package/typechain-types/PendleWstEthSY.ts +204 -0
- package/typechain-types/PendleYieldContractFactory.ts +63 -18
- package/typechain-types/PendleYieldToken.ts +42 -0
- package/typechain-types/RouterStatic.ts +2 -2
- package/typechain-types/SYBase.ts +204 -0
- package/typechain-types/SYBaseWithRewards.ts +204 -0
- package/typechain-types/VotingEscrowPendleSidechain.ts +8 -8
- package/typechain-types/VotingEscrowTokenBase.ts +0 -21
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +10 -10
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +19 -19
- package/typechain-types/factories/ActionMisc__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +2 -2
- package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYT__factory.ts +3 -3
- package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -1
- package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +1 -1
- package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
- package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
- package/typechain-types/factories/BulkSellerOffchain__factory.ts +57 -1
- package/typechain-types/factories/BulkSeller__factory.ts +1 -14
- package/typechain-types/factories/Errors__factory.ts +104 -30
- package/typechain-types/factories/IBooster__factory.ts +1 -1
- package/typechain-types/factories/ICrvPool__factory.ts +14 -7
- package/typechain-types/factories/IERC4626__factory.ts +1 -1
- package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +8 -8
- package/typechain-types/factories/IPActionMintRedeem__factory.ts +18 -18
- package/typechain-types/factories/IPActionSwapYT__factory.ts +2 -2
- package/typechain-types/factories/IPAllAction__factory.ts +28 -28
- package/typechain-types/factories/IPMarketFactory__factory.ts +50 -19
- package/typechain-types/factories/IPMarket__factory.ts +17 -5
- package/typechain-types/factories/IPMsgSendEndpoint__factory.ts +1 -1
- package/typechain-types/factories/IPYieldContractFactory__factory.ts +7 -7
- package/typechain-types/factories/IPYieldToken__factory.ts +13 -0
- package/typechain-types/factories/MarketMathStatic__factory.ts +1 -45
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/PendleConvexLPSY__factory.ts +141 -0
- package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
- package/typechain-types/factories/PendleCurveUsdd3CrvSY__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/PendleFeeDistributorFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributor__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/PendleLooksStakingSY__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +220 -49
- package/typechain-types/factories/PendleMarket__factory.ts +18 -6
- 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 +1 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +142 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -185
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleWstEthSY__factory.ts +142 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +82 -9
- package/typechain-types/factories/PendleYieldToken__factory.ts +38 -3
- package/typechain-types/factories/RouterStatic__factory.ts +3 -3
- package/typechain-types/factories/SYBaseWithRewards__factory.ts +141 -0
- package/typechain-types/factories/SYBase__factory.ts +141 -0
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +15 -4
- package/typechain-types/factories/VotingEscrowTokenBase__factory.ts +0 -13
- package/typechain-types/hardhat.d.ts +0 -36
- package/typechain-types/index.ts +0 -6
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.json +0 -182
- package/contracts/offchain-helpers/ImplicitSwapfeeContract.sol +0 -30
- package/deployments/43113-markets/QIWBTC-3RD-FEB.json +0 -11
- package/deployments/43113-markets/benqi-market-QI-AVAX-FEB-2ND.json +0 -9
- package/deployments/43113-markets/benqi-market-QI-USDC-FEB-2ND.json +0 -8
- package/deployments/43113-markets/benqi-market-QI-WETH-DEC-1ST.json +0 -9
- package/deployments/80001-core.json +0 -16
- package/deployments/80001-markets/benqi-market-QI-USDC-FEB-2ND.json +0 -8
- package/deployments/80001-markets/benqi-market-QI-WETH-DEC-1ST.json +0 -8
- package/deployments/80001-testenv.json +0 -22
|
@@ -59,7 +59,7 @@ const _abi = [
|
|
|
59
59
|
{
|
|
60
60
|
indexed: true,
|
|
61
61
|
internalType: "address",
|
|
62
|
-
name: "
|
|
62
|
+
name: "tokenIn",
|
|
63
63
|
type: "address",
|
|
64
64
|
},
|
|
65
65
|
{
|
|
@@ -71,7 +71,7 @@ const _abi = [
|
|
|
71
71
|
{
|
|
72
72
|
indexed: false,
|
|
73
73
|
internalType: "address",
|
|
74
|
-
name: "
|
|
74
|
+
name: "receiver",
|
|
75
75
|
type: "address",
|
|
76
76
|
},
|
|
77
77
|
{
|
|
@@ -102,7 +102,7 @@ const _abi = [
|
|
|
102
102
|
{
|
|
103
103
|
indexed: true,
|
|
104
104
|
internalType: "address",
|
|
105
|
-
name: "
|
|
105
|
+
name: "tokenIn",
|
|
106
106
|
type: "address",
|
|
107
107
|
},
|
|
108
108
|
{
|
|
@@ -114,7 +114,7 @@ const _abi = [
|
|
|
114
114
|
{
|
|
115
115
|
indexed: false,
|
|
116
116
|
internalType: "address",
|
|
117
|
-
name: "
|
|
117
|
+
name: "receiver",
|
|
118
118
|
type: "address",
|
|
119
119
|
},
|
|
120
120
|
{
|
|
@@ -280,7 +280,7 @@ const _abi = [
|
|
|
280
280
|
{
|
|
281
281
|
indexed: true,
|
|
282
282
|
internalType: "address",
|
|
283
|
-
name: "
|
|
283
|
+
name: "tokenOut",
|
|
284
284
|
type: "address",
|
|
285
285
|
},
|
|
286
286
|
{
|
|
@@ -291,15 +291,15 @@ const _abi = [
|
|
|
291
291
|
},
|
|
292
292
|
{
|
|
293
293
|
indexed: false,
|
|
294
|
-
internalType: "
|
|
295
|
-
name: "
|
|
296
|
-
type: "
|
|
294
|
+
internalType: "address",
|
|
295
|
+
name: "receiver",
|
|
296
|
+
type: "address",
|
|
297
297
|
},
|
|
298
298
|
{
|
|
299
299
|
indexed: false,
|
|
300
|
-
internalType: "
|
|
301
|
-
name: "
|
|
302
|
-
type: "
|
|
300
|
+
internalType: "uint256",
|
|
301
|
+
name: "netPyIn",
|
|
302
|
+
type: "uint256",
|
|
303
303
|
},
|
|
304
304
|
{
|
|
305
305
|
indexed: false,
|
|
@@ -323,7 +323,7 @@ const _abi = [
|
|
|
323
323
|
{
|
|
324
324
|
indexed: true,
|
|
325
325
|
internalType: "address",
|
|
326
|
-
name: "
|
|
326
|
+
name: "tokenOut",
|
|
327
327
|
type: "address",
|
|
328
328
|
},
|
|
329
329
|
{
|
|
@@ -334,15 +334,15 @@ const _abi = [
|
|
|
334
334
|
},
|
|
335
335
|
{
|
|
336
336
|
indexed: false,
|
|
337
|
-
internalType: "
|
|
338
|
-
name: "
|
|
339
|
-
type: "
|
|
337
|
+
internalType: "address",
|
|
338
|
+
name: "receiver",
|
|
339
|
+
type: "address",
|
|
340
340
|
},
|
|
341
341
|
{
|
|
342
342
|
indexed: false,
|
|
343
|
-
internalType: "
|
|
344
|
-
name: "
|
|
345
|
-
type: "
|
|
343
|
+
internalType: "uint256",
|
|
344
|
+
name: "netSyIn",
|
|
345
|
+
type: "uint256",
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
348
|
indexed: false,
|
|
@@ -65,13 +65,13 @@ const _abi = [
|
|
|
65
65
|
{
|
|
66
66
|
indexed: true,
|
|
67
67
|
internalType: "address",
|
|
68
|
-
name: "
|
|
68
|
+
name: "token",
|
|
69
69
|
type: "address",
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
indexed: false,
|
|
73
73
|
internalType: "address",
|
|
74
|
-
name: "
|
|
74
|
+
name: "receiver",
|
|
75
75
|
type: "address",
|
|
76
76
|
},
|
|
77
77
|
{
|
|
@@ -68,13 +68,13 @@ const _abi = [
|
|
|
68
68
|
{
|
|
69
69
|
indexed: true,
|
|
70
70
|
internalType: "address",
|
|
71
|
-
name: "
|
|
71
|
+
name: "tokenIn",
|
|
72
72
|
type: "address",
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
75
|
indexed: false,
|
|
76
76
|
internalType: "address",
|
|
77
|
-
name: "
|
|
77
|
+
name: "receiver",
|
|
78
78
|
type: "address",
|
|
79
79
|
},
|
|
80
80
|
{
|
|
@@ -265,7 +265,7 @@ const _abi = [
|
|
|
265
265
|
{
|
|
266
266
|
indexed: true,
|
|
267
267
|
internalType: "address",
|
|
268
|
-
name: "
|
|
268
|
+
name: "tokenIn",
|
|
269
269
|
type: "address",
|
|
270
270
|
},
|
|
271
271
|
{
|
|
@@ -277,7 +277,7 @@ const _abi = [
|
|
|
277
277
|
{
|
|
278
278
|
indexed: false,
|
|
279
279
|
internalType: "address",
|
|
280
|
-
name: "
|
|
280
|
+
name: "receiver",
|
|
281
281
|
type: "address",
|
|
282
282
|
},
|
|
283
283
|
{
|
|
@@ -308,7 +308,7 @@ const _abi = [
|
|
|
308
308
|
{
|
|
309
309
|
indexed: true,
|
|
310
310
|
internalType: "address",
|
|
311
|
-
name: "
|
|
311
|
+
name: "tokenIn",
|
|
312
312
|
type: "address",
|
|
313
313
|
},
|
|
314
314
|
{
|
|
@@ -320,7 +320,7 @@ const _abi = [
|
|
|
320
320
|
{
|
|
321
321
|
indexed: false,
|
|
322
322
|
internalType: "address",
|
|
323
|
-
name: "
|
|
323
|
+
name: "receiver",
|
|
324
324
|
type: "address",
|
|
325
325
|
},
|
|
326
326
|
{
|
|
@@ -486,7 +486,7 @@ const _abi = [
|
|
|
486
486
|
{
|
|
487
487
|
indexed: true,
|
|
488
488
|
internalType: "address",
|
|
489
|
-
name: "
|
|
489
|
+
name: "tokenOut",
|
|
490
490
|
type: "address",
|
|
491
491
|
},
|
|
492
492
|
{
|
|
@@ -497,15 +497,15 @@ const _abi = [
|
|
|
497
497
|
},
|
|
498
498
|
{
|
|
499
499
|
indexed: false,
|
|
500
|
-
internalType: "
|
|
501
|
-
name: "
|
|
502
|
-
type: "
|
|
500
|
+
internalType: "address",
|
|
501
|
+
name: "receiver",
|
|
502
|
+
type: "address",
|
|
503
503
|
},
|
|
504
504
|
{
|
|
505
505
|
indexed: false,
|
|
506
|
-
internalType: "
|
|
507
|
-
name: "
|
|
508
|
-
type: "
|
|
506
|
+
internalType: "uint256",
|
|
507
|
+
name: "netPyIn",
|
|
508
|
+
type: "uint256",
|
|
509
509
|
},
|
|
510
510
|
{
|
|
511
511
|
indexed: false,
|
|
@@ -529,7 +529,7 @@ const _abi = [
|
|
|
529
529
|
{
|
|
530
530
|
indexed: true,
|
|
531
531
|
internalType: "address",
|
|
532
|
-
name: "
|
|
532
|
+
name: "tokenOut",
|
|
533
533
|
type: "address",
|
|
534
534
|
},
|
|
535
535
|
{
|
|
@@ -540,15 +540,15 @@ const _abi = [
|
|
|
540
540
|
},
|
|
541
541
|
{
|
|
542
542
|
indexed: false,
|
|
543
|
-
internalType: "
|
|
544
|
-
name: "
|
|
545
|
-
type: "
|
|
543
|
+
internalType: "address",
|
|
544
|
+
name: "receiver",
|
|
545
|
+
type: "address",
|
|
546
546
|
},
|
|
547
547
|
{
|
|
548
548
|
indexed: false,
|
|
549
|
-
internalType: "
|
|
550
|
-
name: "
|
|
551
|
-
type: "
|
|
549
|
+
internalType: "uint256",
|
|
550
|
+
name: "netSyIn",
|
|
551
|
+
type: "uint256",
|
|
552
552
|
},
|
|
553
553
|
{
|
|
554
554
|
indexed: false,
|
|
@@ -621,6 +621,12 @@ const _abi = [
|
|
|
621
621
|
{
|
|
622
622
|
indexed: true,
|
|
623
623
|
internalType: "address",
|
|
624
|
+
name: "tokenOut",
|
|
625
|
+
type: "address",
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
indexed: false,
|
|
629
|
+
internalType: "address",
|
|
624
630
|
name: "receiver",
|
|
625
631
|
type: "address",
|
|
626
632
|
},
|
|
@@ -636,12 +642,6 @@ const _abi = [
|
|
|
636
642
|
name: "netPtOut",
|
|
637
643
|
type: "uint256",
|
|
638
644
|
},
|
|
639
|
-
{
|
|
640
|
-
indexed: false,
|
|
641
|
-
internalType: "address",
|
|
642
|
-
name: "tokenOut",
|
|
643
|
-
type: "address",
|
|
644
|
-
},
|
|
645
645
|
{
|
|
646
646
|
indexed: false,
|
|
647
647
|
internalType: "uint256",
|
|
@@ -941,13 +941,13 @@ const _abi = [
|
|
|
941
941
|
{
|
|
942
942
|
indexed: true,
|
|
943
943
|
internalType: "address",
|
|
944
|
-
name: "
|
|
944
|
+
name: "token",
|
|
945
945
|
type: "address",
|
|
946
946
|
},
|
|
947
947
|
{
|
|
948
948
|
indexed: false,
|
|
949
949
|
internalType: "address",
|
|
950
|
-
name: "
|
|
950
|
+
name: "receiver",
|
|
951
951
|
type: "address",
|
|
952
952
|
},
|
|
953
953
|
{
|
|
@@ -52,9 +52,9 @@ const _abi = [
|
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
indexed: false,
|
|
55
|
-
internalType: "
|
|
56
|
-
name: "
|
|
57
|
-
type: "
|
|
55
|
+
internalType: "uint80",
|
|
56
|
+
name: "defaultLnFeeRateRoot",
|
|
57
|
+
type: "uint80",
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
indexed: false,
|
|
@@ -67,27 +67,52 @@ const _abi = [
|
|
|
67
67
|
type: "event",
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
|
+
anonymous: false,
|
|
70
71
|
inputs: [
|
|
71
72
|
{
|
|
73
|
+
indexed: true,
|
|
72
74
|
internalType: "address",
|
|
73
|
-
name: "
|
|
75
|
+
name: "router",
|
|
74
76
|
type: "address",
|
|
75
77
|
},
|
|
78
|
+
{
|
|
79
|
+
indexed: false,
|
|
80
|
+
internalType: "uint80",
|
|
81
|
+
name: "lnFeeRateRoot",
|
|
82
|
+
type: "uint80",
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
indexed: false,
|
|
86
|
+
internalType: "uint8",
|
|
87
|
+
name: "reserveFeePercent",
|
|
88
|
+
type: "uint8",
|
|
89
|
+
},
|
|
76
90
|
],
|
|
77
|
-
name: "
|
|
78
|
-
|
|
91
|
+
name: "SetOverriddenFee",
|
|
92
|
+
type: "event",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
anonymous: false,
|
|
96
|
+
inputs: [
|
|
79
97
|
{
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
98
|
+
indexed: true,
|
|
99
|
+
internalType: "address",
|
|
100
|
+
name: "router",
|
|
101
|
+
type: "address",
|
|
83
102
|
},
|
|
84
103
|
],
|
|
85
|
-
|
|
86
|
-
type: "
|
|
104
|
+
name: "UnsetOverriddenFee",
|
|
105
|
+
type: "event",
|
|
87
106
|
},
|
|
88
107
|
{
|
|
89
|
-
inputs: [
|
|
90
|
-
|
|
108
|
+
inputs: [
|
|
109
|
+
{
|
|
110
|
+
internalType: "address",
|
|
111
|
+
name: "router",
|
|
112
|
+
type: "address",
|
|
113
|
+
},
|
|
114
|
+
],
|
|
115
|
+
name: "getMarketConfig",
|
|
91
116
|
outputs: [
|
|
92
117
|
{
|
|
93
118
|
internalType: "address",
|
|
@@ -95,9 +120,9 @@ const _abi = [
|
|
|
95
120
|
type: "address",
|
|
96
121
|
},
|
|
97
122
|
{
|
|
98
|
-
internalType: "
|
|
123
|
+
internalType: "uint80",
|
|
99
124
|
name: "lnFeeRateRoot",
|
|
100
|
-
type: "
|
|
125
|
+
type: "uint80",
|
|
101
126
|
},
|
|
102
127
|
{
|
|
103
128
|
internalType: "uint8",
|
|
@@ -109,15 +134,21 @@ const _abi = [
|
|
|
109
134
|
type: "function",
|
|
110
135
|
},
|
|
111
136
|
{
|
|
112
|
-
inputs: [
|
|
113
|
-
name: "treasury",
|
|
114
|
-
outputs: [
|
|
137
|
+
inputs: [
|
|
115
138
|
{
|
|
116
139
|
internalType: "address",
|
|
117
|
-
name: "",
|
|
140
|
+
name: "market",
|
|
118
141
|
type: "address",
|
|
119
142
|
},
|
|
120
143
|
],
|
|
144
|
+
name: "isValidMarket",
|
|
145
|
+
outputs: [
|
|
146
|
+
{
|
|
147
|
+
internalType: "bool",
|
|
148
|
+
name: "",
|
|
149
|
+
type: "bool",
|
|
150
|
+
},
|
|
151
|
+
],
|
|
121
152
|
stateMutability: "view",
|
|
122
153
|
type: "function",
|
|
123
154
|
},
|
|
@@ -140,6 +140,12 @@ const _abi = [
|
|
|
140
140
|
name: "netSyOut",
|
|
141
141
|
type: "int256",
|
|
142
142
|
},
|
|
143
|
+
{
|
|
144
|
+
indexed: false,
|
|
145
|
+
internalType: "uint256",
|
|
146
|
+
name: "netSyFee",
|
|
147
|
+
type: "uint256",
|
|
148
|
+
},
|
|
143
149
|
{
|
|
144
150
|
indexed: false,
|
|
145
151
|
internalType: "uint256",
|
|
@@ -451,7 +457,13 @@ const _abi = [
|
|
|
451
457
|
type: "function",
|
|
452
458
|
},
|
|
453
459
|
{
|
|
454
|
-
inputs: [
|
|
460
|
+
inputs: [
|
|
461
|
+
{
|
|
462
|
+
internalType: "address",
|
|
463
|
+
name: "router",
|
|
464
|
+
type: "address",
|
|
465
|
+
},
|
|
466
|
+
],
|
|
455
467
|
name: "readState",
|
|
456
468
|
outputs: [
|
|
457
469
|
{
|
|
@@ -483,12 +495,12 @@ const _abi = [
|
|
|
483
495
|
},
|
|
484
496
|
{
|
|
485
497
|
internalType: "uint256",
|
|
486
|
-
name: "
|
|
498
|
+
name: "expiry",
|
|
487
499
|
type: "uint256",
|
|
488
500
|
},
|
|
489
501
|
{
|
|
490
502
|
internalType: "uint256",
|
|
491
|
-
name: "
|
|
503
|
+
name: "lnFeeRateRoot",
|
|
492
504
|
type: "uint256",
|
|
493
505
|
},
|
|
494
506
|
{
|
|
@@ -579,7 +591,7 @@ const _abi = [
|
|
|
579
591
|
},
|
|
580
592
|
{
|
|
581
593
|
internalType: "uint256",
|
|
582
|
-
name: "
|
|
594
|
+
name: "netSyFee",
|
|
583
595
|
type: "uint256",
|
|
584
596
|
},
|
|
585
597
|
],
|
|
@@ -613,7 +625,7 @@ const _abi = [
|
|
|
613
625
|
},
|
|
614
626
|
{
|
|
615
627
|
internalType: "uint256",
|
|
616
|
-
name: "
|
|
628
|
+
name: "netSyFee",
|
|
617
629
|
type: "uint256",
|
|
618
630
|
},
|
|
619
631
|
],
|
|
@@ -19,6 +19,12 @@ const _abi = [
|
|
|
19
19
|
name: "SY",
|
|
20
20
|
type: "address",
|
|
21
21
|
},
|
|
22
|
+
{
|
|
23
|
+
indexed: true,
|
|
24
|
+
internalType: "uint256",
|
|
25
|
+
name: "expiry",
|
|
26
|
+
type: "uint256",
|
|
27
|
+
},
|
|
22
28
|
{
|
|
23
29
|
indexed: false,
|
|
24
30
|
internalType: "address",
|
|
@@ -31,12 +37,6 @@ const _abi = [
|
|
|
31
37
|
name: "YT",
|
|
32
38
|
type: "address",
|
|
33
39
|
},
|
|
34
|
-
{
|
|
35
|
-
indexed: false,
|
|
36
|
-
internalType: "uint256",
|
|
37
|
-
name: "expiry",
|
|
38
|
-
type: "uint256",
|
|
39
|
-
},
|
|
40
40
|
],
|
|
41
41
|
name: "CreateYieldContract",
|
|
42
42
|
type: "event",
|
|
@@ -73,7 +73,7 @@ const _abi = [
|
|
|
73
73
|
{
|
|
74
74
|
indexed: false,
|
|
75
75
|
internalType: "uint256",
|
|
76
|
-
name: "
|
|
76
|
+
name: "newRewardFeeRate",
|
|
77
77
|
type: "uint256",
|
|
78
78
|
},
|
|
79
79
|
],
|
|
@@ -301,6 +301,19 @@ const _abi = [
|
|
|
301
301
|
stateMutability: "view",
|
|
302
302
|
type: "function",
|
|
303
303
|
},
|
|
304
|
+
{
|
|
305
|
+
inputs: [],
|
|
306
|
+
name: "doCacheIndexSameBlock",
|
|
307
|
+
outputs: [
|
|
308
|
+
{
|
|
309
|
+
internalType: "bool",
|
|
310
|
+
name: "",
|
|
311
|
+
type: "bool",
|
|
312
|
+
},
|
|
313
|
+
],
|
|
314
|
+
stateMutability: "view",
|
|
315
|
+
type: "function",
|
|
316
|
+
},
|
|
304
317
|
{
|
|
305
318
|
inputs: [],
|
|
306
319
|
name: "expiry",
|