@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
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "ILooksStaking",
|
|
4
|
+
"sourceName": "contracts/interfaces/ILooksStaking.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "uint256",
|
|
10
|
+
"name": "amount",
|
|
11
|
+
"type": "uint256"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"name": "deposit",
|
|
15
|
+
"outputs": [],
|
|
16
|
+
"stateMutability": "nonpayable",
|
|
17
|
+
"type": "function"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"inputs": [],
|
|
21
|
+
"name": "harvestAndSellAndCompound",
|
|
22
|
+
"outputs": [],
|
|
23
|
+
"stateMutability": "nonpayable",
|
|
24
|
+
"type": "function"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"inputs": [],
|
|
28
|
+
"name": "totalShares",
|
|
29
|
+
"outputs": [
|
|
30
|
+
{
|
|
31
|
+
"internalType": "uint256",
|
|
32
|
+
"name": "",
|
|
33
|
+
"type": "uint256"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"stateMutability": "view",
|
|
37
|
+
"type": "function"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"inputs": [
|
|
41
|
+
{
|
|
42
|
+
"internalType": "address",
|
|
43
|
+
"name": "user",
|
|
44
|
+
"type": "address"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"name": "userInfo",
|
|
48
|
+
"outputs": [
|
|
49
|
+
{
|
|
50
|
+
"internalType": "uint256",
|
|
51
|
+
"name": "",
|
|
52
|
+
"type": "uint256"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"stateMutability": "view",
|
|
56
|
+
"type": "function"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"inputs": [
|
|
60
|
+
{
|
|
61
|
+
"internalType": "uint256",
|
|
62
|
+
"name": "shares",
|
|
63
|
+
"type": "uint256"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"name": "withdraw",
|
|
67
|
+
"outputs": [],
|
|
68
|
+
"stateMutability": "nonpayable",
|
|
69
|
+
"type": "function"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"bytecode": "0x",
|
|
73
|
+
"deployedBytecode": "0x",
|
|
74
|
+
"linkReferences": {},
|
|
75
|
+
"deployedLinkReferences": {}
|
|
76
|
+
}
|
package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json
CHANGED
|
@@ -64,13 +64,13 @@
|
|
|
64
64
|
{
|
|
65
65
|
"indexed": true,
|
|
66
66
|
"internalType": "address",
|
|
67
|
-
"name": "
|
|
67
|
+
"name": "tokenIn",
|
|
68
68
|
"type": "address"
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
71
|
"indexed": false,
|
|
72
72
|
"internalType": "address",
|
|
73
|
-
"name": "
|
|
73
|
+
"name": "receiver",
|
|
74
74
|
"type": "address"
|
|
75
75
|
},
|
|
76
76
|
{
|
|
@@ -273,6 +273,12 @@
|
|
|
273
273
|
{
|
|
274
274
|
"indexed": true,
|
|
275
275
|
"internalType": "address",
|
|
276
|
+
"name": "tokenOut",
|
|
277
|
+
"type": "address"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"indexed": false,
|
|
281
|
+
"internalType": "address",
|
|
276
282
|
"name": "receiver",
|
|
277
283
|
"type": "address"
|
|
278
284
|
},
|
|
@@ -288,12 +294,6 @@
|
|
|
288
294
|
"name": "netPtOut",
|
|
289
295
|
"type": "uint256"
|
|
290
296
|
},
|
|
291
|
-
{
|
|
292
|
-
"indexed": false,
|
|
293
|
-
"internalType": "address",
|
|
294
|
-
"name": "tokenOut",
|
|
295
|
-
"type": "address"
|
|
296
|
-
},
|
|
297
297
|
{
|
|
298
298
|
"indexed": false,
|
|
299
299
|
"internalType": "uint256",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
{
|
|
53
53
|
"indexed": true,
|
|
54
54
|
"internalType": "address",
|
|
55
|
-
"name": "
|
|
55
|
+
"name": "tokenIn",
|
|
56
56
|
"type": "address"
|
|
57
57
|
},
|
|
58
58
|
{
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
{
|
|
65
65
|
"indexed": false,
|
|
66
66
|
"internalType": "address",
|
|
67
|
-
"name": "
|
|
67
|
+
"name": "receiver",
|
|
68
68
|
"type": "address"
|
|
69
69
|
},
|
|
70
70
|
{
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
{
|
|
96
96
|
"indexed": true,
|
|
97
97
|
"internalType": "address",
|
|
98
|
-
"name": "
|
|
98
|
+
"name": "tokenIn",
|
|
99
99
|
"type": "address"
|
|
100
100
|
},
|
|
101
101
|
{
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
{
|
|
108
108
|
"indexed": false,
|
|
109
109
|
"internalType": "address",
|
|
110
|
-
"name": "
|
|
110
|
+
"name": "receiver",
|
|
111
111
|
"type": "address"
|
|
112
112
|
},
|
|
113
113
|
{
|
|
@@ -273,7 +273,7 @@
|
|
|
273
273
|
{
|
|
274
274
|
"indexed": true,
|
|
275
275
|
"internalType": "address",
|
|
276
|
-
"name": "
|
|
276
|
+
"name": "tokenOut",
|
|
277
277
|
"type": "address"
|
|
278
278
|
},
|
|
279
279
|
{
|
|
@@ -284,15 +284,15 @@
|
|
|
284
284
|
},
|
|
285
285
|
{
|
|
286
286
|
"indexed": false,
|
|
287
|
-
"internalType": "
|
|
288
|
-
"name": "
|
|
289
|
-
"type": "
|
|
287
|
+
"internalType": "address",
|
|
288
|
+
"name": "receiver",
|
|
289
|
+
"type": "address"
|
|
290
290
|
},
|
|
291
291
|
{
|
|
292
292
|
"indexed": false,
|
|
293
|
-
"internalType": "
|
|
294
|
-
"name": "
|
|
295
|
-
"type": "
|
|
293
|
+
"internalType": "uint256",
|
|
294
|
+
"name": "netPyIn",
|
|
295
|
+
"type": "uint256"
|
|
296
296
|
},
|
|
297
297
|
{
|
|
298
298
|
"indexed": false,
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
{
|
|
317
317
|
"indexed": true,
|
|
318
318
|
"internalType": "address",
|
|
319
|
-
"name": "
|
|
319
|
+
"name": "tokenOut",
|
|
320
320
|
"type": "address"
|
|
321
321
|
},
|
|
322
322
|
{
|
|
@@ -327,15 +327,15 @@
|
|
|
327
327
|
},
|
|
328
328
|
{
|
|
329
329
|
"indexed": false,
|
|
330
|
-
"internalType": "
|
|
331
|
-
"name": "
|
|
332
|
-
"type": "
|
|
330
|
+
"internalType": "address",
|
|
331
|
+
"name": "receiver",
|
|
332
|
+
"type": "address"
|
|
333
333
|
},
|
|
334
334
|
{
|
|
335
335
|
"indexed": false,
|
|
336
|
-
"internalType": "
|
|
337
|
-
"name": "
|
|
338
|
-
"type": "
|
|
336
|
+
"internalType": "uint256",
|
|
337
|
+
"name": "netSyIn",
|
|
338
|
+
"type": "uint256"
|
|
339
339
|
},
|
|
340
340
|
{
|
|
341
341
|
"indexed": false,
|
|
@@ -58,13 +58,13 @@
|
|
|
58
58
|
{
|
|
59
59
|
"indexed": true,
|
|
60
60
|
"internalType": "address",
|
|
61
|
-
"name": "
|
|
61
|
+
"name": "token",
|
|
62
62
|
"type": "address"
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
"indexed": false,
|
|
66
66
|
"internalType": "address",
|
|
67
|
-
"name": "
|
|
67
|
+
"name": "receiver",
|
|
68
68
|
"type": "address"
|
|
69
69
|
},
|
|
70
70
|
{
|
|
@@ -64,13 +64,13 @@
|
|
|
64
64
|
{
|
|
65
65
|
"indexed": true,
|
|
66
66
|
"internalType": "address",
|
|
67
|
-
"name": "
|
|
67
|
+
"name": "tokenIn",
|
|
68
68
|
"type": "address"
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
71
|
"indexed": false,
|
|
72
72
|
"internalType": "address",
|
|
73
|
-
"name": "
|
|
73
|
+
"name": "receiver",
|
|
74
74
|
"type": "address"
|
|
75
75
|
},
|
|
76
76
|
{
|
|
@@ -261,7 +261,7 @@
|
|
|
261
261
|
{
|
|
262
262
|
"indexed": true,
|
|
263
263
|
"internalType": "address",
|
|
264
|
-
"name": "
|
|
264
|
+
"name": "tokenIn",
|
|
265
265
|
"type": "address"
|
|
266
266
|
},
|
|
267
267
|
{
|
|
@@ -273,7 +273,7 @@
|
|
|
273
273
|
{
|
|
274
274
|
"indexed": false,
|
|
275
275
|
"internalType": "address",
|
|
276
|
-
"name": "
|
|
276
|
+
"name": "receiver",
|
|
277
277
|
"type": "address"
|
|
278
278
|
},
|
|
279
279
|
{
|
|
@@ -304,7 +304,7 @@
|
|
|
304
304
|
{
|
|
305
305
|
"indexed": true,
|
|
306
306
|
"internalType": "address",
|
|
307
|
-
"name": "
|
|
307
|
+
"name": "tokenIn",
|
|
308
308
|
"type": "address"
|
|
309
309
|
},
|
|
310
310
|
{
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
{
|
|
317
317
|
"indexed": false,
|
|
318
318
|
"internalType": "address",
|
|
319
|
-
"name": "
|
|
319
|
+
"name": "receiver",
|
|
320
320
|
"type": "address"
|
|
321
321
|
},
|
|
322
322
|
{
|
|
@@ -482,7 +482,7 @@
|
|
|
482
482
|
{
|
|
483
483
|
"indexed": true,
|
|
484
484
|
"internalType": "address",
|
|
485
|
-
"name": "
|
|
485
|
+
"name": "tokenOut",
|
|
486
486
|
"type": "address"
|
|
487
487
|
},
|
|
488
488
|
{
|
|
@@ -493,15 +493,15 @@
|
|
|
493
493
|
},
|
|
494
494
|
{
|
|
495
495
|
"indexed": false,
|
|
496
|
-
"internalType": "
|
|
497
|
-
"name": "
|
|
498
|
-
"type": "
|
|
496
|
+
"internalType": "address",
|
|
497
|
+
"name": "receiver",
|
|
498
|
+
"type": "address"
|
|
499
499
|
},
|
|
500
500
|
{
|
|
501
501
|
"indexed": false,
|
|
502
|
-
"internalType": "
|
|
503
|
-
"name": "
|
|
504
|
-
"type": "
|
|
502
|
+
"internalType": "uint256",
|
|
503
|
+
"name": "netPyIn",
|
|
504
|
+
"type": "uint256"
|
|
505
505
|
},
|
|
506
506
|
{
|
|
507
507
|
"indexed": false,
|
|
@@ -525,7 +525,7 @@
|
|
|
525
525
|
{
|
|
526
526
|
"indexed": true,
|
|
527
527
|
"internalType": "address",
|
|
528
|
-
"name": "
|
|
528
|
+
"name": "tokenOut",
|
|
529
529
|
"type": "address"
|
|
530
530
|
},
|
|
531
531
|
{
|
|
@@ -536,15 +536,15 @@
|
|
|
536
536
|
},
|
|
537
537
|
{
|
|
538
538
|
"indexed": false,
|
|
539
|
-
"internalType": "
|
|
540
|
-
"name": "
|
|
541
|
-
"type": "
|
|
539
|
+
"internalType": "address",
|
|
540
|
+
"name": "receiver",
|
|
541
|
+
"type": "address"
|
|
542
542
|
},
|
|
543
543
|
{
|
|
544
544
|
"indexed": false,
|
|
545
|
-
"internalType": "
|
|
546
|
-
"name": "
|
|
547
|
-
"type": "
|
|
545
|
+
"internalType": "uint256",
|
|
546
|
+
"name": "netSyIn",
|
|
547
|
+
"type": "uint256"
|
|
548
548
|
},
|
|
549
549
|
{
|
|
550
550
|
"indexed": false,
|
|
@@ -617,6 +617,12 @@
|
|
|
617
617
|
{
|
|
618
618
|
"indexed": true,
|
|
619
619
|
"internalType": "address",
|
|
620
|
+
"name": "tokenOut",
|
|
621
|
+
"type": "address"
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"indexed": false,
|
|
625
|
+
"internalType": "address",
|
|
620
626
|
"name": "receiver",
|
|
621
627
|
"type": "address"
|
|
622
628
|
},
|
|
@@ -632,12 +638,6 @@
|
|
|
632
638
|
"name": "netPtOut",
|
|
633
639
|
"type": "uint256"
|
|
634
640
|
},
|
|
635
|
-
{
|
|
636
|
-
"indexed": false,
|
|
637
|
-
"internalType": "address",
|
|
638
|
-
"name": "tokenOut",
|
|
639
|
-
"type": "address"
|
|
640
|
-
},
|
|
641
641
|
{
|
|
642
642
|
"indexed": false,
|
|
643
643
|
"internalType": "uint256",
|
|
@@ -937,13 +937,13 @@
|
|
|
937
937
|
{
|
|
938
938
|
"indexed": true,
|
|
939
939
|
"internalType": "address",
|
|
940
|
-
"name": "
|
|
940
|
+
"name": "token",
|
|
941
941
|
"type": "address"
|
|
942
942
|
},
|
|
943
943
|
{
|
|
944
944
|
"indexed": false,
|
|
945
945
|
"internalType": "address",
|
|
946
|
-
"name": "
|
|
946
|
+
"name": "receiver",
|
|
947
947
|
"type": "address"
|
|
948
948
|
},
|
|
949
949
|
{
|
|
@@ -136,6 +136,12 @@
|
|
|
136
136
|
"name": "netSyOut",
|
|
137
137
|
"type": "int256"
|
|
138
138
|
},
|
|
139
|
+
{
|
|
140
|
+
"indexed": false,
|
|
141
|
+
"internalType": "uint256",
|
|
142
|
+
"name": "netSyFee",
|
|
143
|
+
"type": "uint256"
|
|
144
|
+
},
|
|
139
145
|
{
|
|
140
146
|
"indexed": false,
|
|
141
147
|
"internalType": "uint256",
|
|
@@ -447,7 +453,13 @@
|
|
|
447
453
|
"type": "function"
|
|
448
454
|
},
|
|
449
455
|
{
|
|
450
|
-
"inputs": [
|
|
456
|
+
"inputs": [
|
|
457
|
+
{
|
|
458
|
+
"internalType": "address",
|
|
459
|
+
"name": "router",
|
|
460
|
+
"type": "address"
|
|
461
|
+
}
|
|
462
|
+
],
|
|
451
463
|
"name": "readState",
|
|
452
464
|
"outputs": [
|
|
453
465
|
{
|
|
@@ -479,12 +491,12 @@
|
|
|
479
491
|
},
|
|
480
492
|
{
|
|
481
493
|
"internalType": "uint256",
|
|
482
|
-
"name": "
|
|
494
|
+
"name": "expiry",
|
|
483
495
|
"type": "uint256"
|
|
484
496
|
},
|
|
485
497
|
{
|
|
486
498
|
"internalType": "uint256",
|
|
487
|
-
"name": "
|
|
499
|
+
"name": "lnFeeRateRoot",
|
|
488
500
|
"type": "uint256"
|
|
489
501
|
},
|
|
490
502
|
{
|
|
@@ -575,7 +587,7 @@
|
|
|
575
587
|
},
|
|
576
588
|
{
|
|
577
589
|
"internalType": "uint256",
|
|
578
|
-
"name": "
|
|
590
|
+
"name": "netSyFee",
|
|
579
591
|
"type": "uint256"
|
|
580
592
|
}
|
|
581
593
|
],
|
|
@@ -609,7 +621,7 @@
|
|
|
609
621
|
},
|
|
610
622
|
{
|
|
611
623
|
"internalType": "uint256",
|
|
612
|
-
"name": "
|
|
624
|
+
"name": "netSyFee",
|
|
613
625
|
"type": "uint256"
|
|
614
626
|
}
|
|
615
627
|
],
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"indexed": false,
|
|
48
|
-
"internalType": "
|
|
49
|
-
"name": "
|
|
50
|
-
"type": "
|
|
48
|
+
"internalType": "uint80",
|
|
49
|
+
"name": "defaultLnFeeRateRoot",
|
|
50
|
+
"type": "uint80"
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
"indexed": false,
|
|
@@ -60,27 +60,52 @@
|
|
|
60
60
|
"type": "event"
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
|
+
"anonymous": false,
|
|
63
64
|
"inputs": [
|
|
64
65
|
{
|
|
66
|
+
"indexed": true,
|
|
65
67
|
"internalType": "address",
|
|
66
|
-
"name": "
|
|
68
|
+
"name": "router",
|
|
67
69
|
"type": "address"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"indexed": false,
|
|
73
|
+
"internalType": "uint80",
|
|
74
|
+
"name": "lnFeeRateRoot",
|
|
75
|
+
"type": "uint80"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"indexed": false,
|
|
79
|
+
"internalType": "uint8",
|
|
80
|
+
"name": "reserveFeePercent",
|
|
81
|
+
"type": "uint8"
|
|
68
82
|
}
|
|
69
83
|
],
|
|
70
|
-
"name": "
|
|
71
|
-
"
|
|
84
|
+
"name": "SetOverriddenFee",
|
|
85
|
+
"type": "event"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"anonymous": false,
|
|
89
|
+
"inputs": [
|
|
72
90
|
{
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
91
|
+
"indexed": true,
|
|
92
|
+
"internalType": "address",
|
|
93
|
+
"name": "router",
|
|
94
|
+
"type": "address"
|
|
76
95
|
}
|
|
77
96
|
],
|
|
78
|
-
"
|
|
79
|
-
"type": "
|
|
97
|
+
"name": "UnsetOverriddenFee",
|
|
98
|
+
"type": "event"
|
|
80
99
|
},
|
|
81
100
|
{
|
|
82
|
-
"inputs": [
|
|
83
|
-
|
|
101
|
+
"inputs": [
|
|
102
|
+
{
|
|
103
|
+
"internalType": "address",
|
|
104
|
+
"name": "router",
|
|
105
|
+
"type": "address"
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"name": "getMarketConfig",
|
|
84
109
|
"outputs": [
|
|
85
110
|
{
|
|
86
111
|
"internalType": "address",
|
|
@@ -88,9 +113,9 @@
|
|
|
88
113
|
"type": "address"
|
|
89
114
|
},
|
|
90
115
|
{
|
|
91
|
-
"internalType": "
|
|
116
|
+
"internalType": "uint80",
|
|
92
117
|
"name": "lnFeeRateRoot",
|
|
93
|
-
"type": "
|
|
118
|
+
"type": "uint80"
|
|
94
119
|
},
|
|
95
120
|
{
|
|
96
121
|
"internalType": "uint8",
|
|
@@ -102,15 +127,21 @@
|
|
|
102
127
|
"type": "function"
|
|
103
128
|
},
|
|
104
129
|
{
|
|
105
|
-
"inputs": [
|
|
106
|
-
"name": "treasury",
|
|
107
|
-
"outputs": [
|
|
130
|
+
"inputs": [
|
|
108
131
|
{
|
|
109
132
|
"internalType": "address",
|
|
110
|
-
"name": "",
|
|
133
|
+
"name": "market",
|
|
111
134
|
"type": "address"
|
|
112
135
|
}
|
|
113
136
|
],
|
|
137
|
+
"name": "isValidMarket",
|
|
138
|
+
"outputs": [
|
|
139
|
+
{
|
|
140
|
+
"internalType": "bool",
|
|
141
|
+
"name": "",
|
|
142
|
+
"type": "bool"
|
|
143
|
+
}
|
|
144
|
+
],
|
|
114
145
|
"stateMutability": "view",
|
|
115
146
|
"type": "function"
|
|
116
147
|
}
|