@pendle/core-v2 3.0.0-beta-2 → 3.0.0-beta-3
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/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/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.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 +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/PendleExternalRewardDistributor.sol/PendleExternalRewardDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleExternalRewardDistributor.sol/PendleExternalRewardDistributor.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
- 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/Market/v2/PendleMarketFactoryV2.sol/PendleMarketFactoryV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v2/PendleMarketFactoryV2.sol/PendleMarketFactoryV2.json +2 -2
- package/build/artifacts/contracts/core/Market/v2/PendleMarketV2.sol/PendleMarketV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v2/PendleMarketV2.sol/PendleMarketV2.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraEthxBbAWethSY.sol/AuraEthxBbAWethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraEthxBbAWethSY.sol/AuraEthxBbAWethSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraSwEthBbAWethSYV2.sol/AuraSwEthBbAWethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraSwEthBbAWethSYV2.sol/AuraSwEthBbAWethSYV2.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethVethSY.sol/PendleAuraWethVethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethVethSY.sol/PendleAuraWethVethSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
- 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 +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkReceiver.sol/PendleChainlinkReceiver.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkReceiver.sol/PendleChainlinkReceiver.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/FluxTokenLib.sol/FluxTokenLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/FluxTokenLib.sol/FluxTokenLib.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/PendleFluxLendingSY.sol/PendleFluxLendingSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/PendleFluxLendingSY.sol/PendleFluxLendingSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/HMX/PendleHlpSY.sol/PendleHlpSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/HMX/PendleHlpSY.sol/PendleHlpSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleMantleStakedEthSY.sol/PendleMantleStakedEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleMantleStakedEthSY.sol/PendleMantleStakedEthSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleOracleForSyProxy.sol/PendleOracleForSyProxy.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleOracleForSyProxy.sol/PendleOracleForSyProxy.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleBridgedLSDSY.sol/PendleBridgedLSDSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleBridgedLSDSY.sol/PendleBridgedLSDSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleEUSDSY.sol/PendleEUSDSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleEUSDSY.sol/PendleEUSDSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.json +2 -2
- 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 +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Stader/PendleETHXSY.sol/PendleETHXSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Stader/PendleETHXSY.sol/PendleETHXSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.json +2 -2
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +2 -2
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.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 +2 -50
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +61 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.json +94 -20
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +40 -0
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +40 -0
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +235 -21
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/ILimitOrderCallee.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.json +43 -139
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPOrderMixin.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPOrderMixin.json +33 -139
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPOrderMixinType.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.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/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
- package/build/artifacts/contracts/limit/PendleOrderMixin.sol/PendleOrderMixin.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleOrderMixin.sol/PendleOrderMixin.json +47 -153
- package/build/artifacts/contracts/offchain-helpers/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.json +2 -2
- package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.json +2 -2
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +63 -3
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +18 -22
- 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/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
- 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/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.json +2 -2
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/RouterV2InterfaceForRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.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/base/SimulateHelper.sol/SimulateHelper.dbg.json +4 -0
- package/build/artifacts/contracts/router/base/SimulateHelper.sol/SimulateHelper.json +69 -0
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/oneinch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
- package/contracts/core/libraries/Errors.sol +0 -3
- package/contracts/interfaces/IPActionAddRemoveLiq.sol +1 -1
- package/contracts/interfaces/IPActionMisc.sol +9 -2
- package/contracts/interfaces/IPLimitRouter.sol +15 -30
- package/contracts/limit/LimitMathCore.sol +54 -31
- package/contracts/limit/PendleLimitRouter.sol +3 -3
- package/contracts/limit/PendleOrderMixin.sol +172 -182
- package/contracts/router/ActionAddRemoveLiq.sol +3 -3
- package/contracts/router/ActionMisc.sol +16 -22
- package/contracts/router/PendleRouter.sol +84 -74
- package/contracts/router/base/MarketApproxLib.sol +1 -1
- package/contracts/router/base/SimulateHelper.sol +33 -0
- package/package.json +1 -1
- package/typechain-types/ActionAddRemoveLiq.ts +13 -10
- package/typechain-types/ActionMisc.ts +40 -14
- package/typechain-types/ActionSwapPT.ts +7 -4
- package/typechain-types/ActionSwapYT.ts +7 -4
- package/typechain-types/IPActionAddRemoveLiq.ts +13 -10
- package/typechain-types/IPActionMisc.ts +84 -14
- package/typechain-types/IPActionSwapPT.ts +7 -4
- package/typechain-types/IPActionSwapYT.ts +7 -4
- package/typechain-types/IPAllAction.ts +105 -32
- package/typechain-types/IPLimitRouter.ts +46 -176
- package/typechain-types/IPOrderMixin.ts +44 -174
- package/typechain-types/PendleLimitRouter.ts +47 -177
- package/typechain-types/PendleOrderMixin.ts +45 -175
- package/typechain-types/SimulateHelper.ts +146 -0
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +62 -2
- package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMisc__factory.ts +17 -21
- package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPT__factory.ts +41 -1
- package/typechain-types/factories/ActionSwapYT__factory.ts +41 -1
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/AuraEthxBbAWethSY__factory.ts +1 -1
- package/typechain-types/factories/AuraSwEthBbAWethSYV2__factory.ts +1 -1
- package/typechain-types/factories/Broadcaster__factory.ts +1 -1
- package/typechain-types/factories/Errors__factory.ts +1 -49
- package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +61 -1
- package/typechain-types/factories/IPActionMisc__factory.ts +94 -20
- package/typechain-types/factories/IPActionSwapPT__factory.ts +40 -0
- package/typechain-types/factories/IPActionSwapYT__factory.ts +40 -0
- package/typechain-types/factories/IPAllAction__factory.ts +235 -21
- package/typechain-types/factories/IPLimitRouter__factory.ts +43 -139
- package/typechain-types/factories/IPOrderMixin__factory.ts +33 -139
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/PendleAnkrBNBSY__factory.ts +1 -1
- package/typechain-types/factories/PendleArbitrumStakedEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraBbAWethSwethSY__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethAnkrethSYV2__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethRocketEthSYV2__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethStafiEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethVethSY__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethWstethSYV2__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWstethAnkreth__factory.ts +1 -1
- package/typechain-types/factories/PendleBridgedLSDSY__factory.ts +1 -1
- package/typechain-types/factories/PendleCamelotV1VolatileSY__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkReceiver__factory.ts +1 -1
- package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
- package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
- package/typechain-types/factories/PendleERC4626SY__factory.ts +1 -1
- package/typechain-types/factories/PendleETHXSY__factory.ts +1 -1
- package/typechain-types/factories/PendleEUSDSY__factory.ts +1 -1
- package/typechain-types/factories/PendleExternalRewardDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleFluxLendingSY__factory.ts +1 -1
- package/typechain-types/factories/PendleGDaiSY__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/PendleGlpSY__factory.ts +1 -1
- package/typechain-types/factories/PendleHlpSY__factory.ts +1 -1
- package/typechain-types/factories/PendleLimitRouter__factory.ts +58 -154
- package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
- package/typechain-types/factories/PendleLpGlpOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleMantleStakedEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactoryV2__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketV2__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleOracleForSyProxy__factory.ts +1 -1
- package/typechain-types/factories/PendleOrderMixin__factory.ts +47 -153
- package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +1 -1
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendlePtGlpOracle__factory.ts +1 -1
- package/typechain-types/factories/PendlePtOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleSfrxEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleStargateLPSY__factory.ts +1 -1
- package/typechain-types/factories/PendleSwap__factory.ts +1 -1
- package/typechain-types/factories/PendleThenaSY__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleWbEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/PtAndLpToAsset__factory.ts +1 -1
- package/typechain-types/factories/SAPE__factory.ts +1 -1
- package/typechain-types/factories/SimulateHelper__factory.ts +84 -0
- package/typechain-types/factories/SwETHSY__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +9 -9
- package/typechain-types/index.ts +2 -2
|
@@ -6,61 +6,31 @@
|
|
|
6
6
|
{
|
|
7
7
|
"anonymous": false,
|
|
8
8
|
"inputs": [
|
|
9
|
-
{
|
|
10
|
-
"indexed": true,
|
|
11
|
-
"internalType": "enum IPOrderMixinType.OrderType",
|
|
12
|
-
"name": "orderType",
|
|
13
|
-
"type": "uint8"
|
|
14
|
-
},
|
|
15
9
|
{
|
|
16
10
|
"indexed": true,
|
|
17
11
|
"internalType": "address",
|
|
18
|
-
"name": "
|
|
12
|
+
"name": "maker",
|
|
19
13
|
"type": "address"
|
|
20
14
|
},
|
|
21
15
|
{
|
|
22
16
|
"indexed": true,
|
|
23
|
-
"internalType": "
|
|
24
|
-
"name": "
|
|
25
|
-
"type": "
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"indexed": false,
|
|
29
|
-
"internalType": "uint256",
|
|
30
|
-
"name": "netOutputToTaker",
|
|
31
|
-
"type": "uint256"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"indexed": false,
|
|
35
|
-
"internalType": "uint256",
|
|
36
|
-
"name": "netInputFromTaker",
|
|
37
|
-
"type": "uint256"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"indexed": false,
|
|
41
|
-
"internalType": "uint256",
|
|
42
|
-
"name": "totalFee",
|
|
43
|
-
"type": "uint256"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"indexed": false,
|
|
47
|
-
"internalType": "uint256",
|
|
48
|
-
"name": "rawTotalMaking",
|
|
49
|
-
"type": "uint256"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"indexed": false,
|
|
53
|
-
"internalType": "uint256",
|
|
54
|
-
"name": "rawTotalTaking",
|
|
55
|
-
"type": "uint256"
|
|
17
|
+
"internalType": "bytes32",
|
|
18
|
+
"name": "orderHash",
|
|
19
|
+
"type": "bytes32"
|
|
56
20
|
}
|
|
57
21
|
],
|
|
58
|
-
"name": "
|
|
22
|
+
"name": "OrderCanceled",
|
|
59
23
|
"type": "event"
|
|
60
24
|
},
|
|
61
25
|
{
|
|
62
26
|
"anonymous": false,
|
|
63
27
|
"inputs": [
|
|
28
|
+
{
|
|
29
|
+
"indexed": true,
|
|
30
|
+
"internalType": "bytes32",
|
|
31
|
+
"name": "orderHash",
|
|
32
|
+
"type": "bytes32"
|
|
33
|
+
},
|
|
64
34
|
{
|
|
65
35
|
"indexed": true,
|
|
66
36
|
"internalType": "enum IPOrderMixinType.OrderType",
|
|
@@ -74,87 +44,37 @@
|
|
|
74
44
|
"type": "address"
|
|
75
45
|
},
|
|
76
46
|
{
|
|
77
|
-
"indexed":
|
|
47
|
+
"indexed": false,
|
|
78
48
|
"internalType": "address",
|
|
79
|
-
"name": "
|
|
49
|
+
"name": "token",
|
|
80
50
|
"type": "address"
|
|
81
51
|
},
|
|
82
52
|
{
|
|
83
53
|
"indexed": false,
|
|
84
54
|
"internalType": "uint256",
|
|
85
|
-
"name": "
|
|
86
|
-
"type": "uint256"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"indexed": false,
|
|
90
|
-
"internalType": "uint256",
|
|
91
|
-
"name": "actualTaking",
|
|
92
|
-
"type": "uint256"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"indexed": false,
|
|
96
|
-
"internalType": "uint256",
|
|
97
|
-
"name": "totalFee",
|
|
98
|
-
"type": "uint256"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"indexed": false,
|
|
102
|
-
"internalType": "uint256",
|
|
103
|
-
"name": "rawTotalMaking",
|
|
55
|
+
"name": "netInputFromMaker",
|
|
104
56
|
"type": "uint256"
|
|
105
57
|
},
|
|
106
58
|
{
|
|
107
59
|
"indexed": false,
|
|
108
60
|
"internalType": "uint256",
|
|
109
|
-
"name": "
|
|
61
|
+
"name": "netOutputToMaker",
|
|
110
62
|
"type": "uint256"
|
|
111
|
-
}
|
|
112
|
-
],
|
|
113
|
-
"name": "NormalFill",
|
|
114
|
-
"type": "event"
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"anonymous": false,
|
|
118
|
-
"inputs": [
|
|
119
|
-
{
|
|
120
|
-
"indexed": true,
|
|
121
|
-
"internalType": "address",
|
|
122
|
-
"name": "maker",
|
|
123
|
-
"type": "address"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"indexed": true,
|
|
127
|
-
"internalType": "bytes32",
|
|
128
|
-
"name": "orderHash",
|
|
129
|
-
"type": "bytes32"
|
|
130
63
|
},
|
|
131
64
|
{
|
|
132
65
|
"indexed": false,
|
|
133
66
|
"internalType": "uint256",
|
|
134
|
-
"name": "
|
|
67
|
+
"name": "feeAmount",
|
|
135
68
|
"type": "uint256"
|
|
136
|
-
}
|
|
137
|
-
],
|
|
138
|
-
"name": "OrderCanceled",
|
|
139
|
-
"type": "event"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"anonymous": false,
|
|
143
|
-
"inputs": [
|
|
144
|
-
{
|
|
145
|
-
"indexed": true,
|
|
146
|
-
"internalType": "bytes32",
|
|
147
|
-
"name": "orderHash",
|
|
148
|
-
"type": "bytes32"
|
|
149
69
|
},
|
|
150
70
|
{
|
|
151
71
|
"indexed": false,
|
|
152
72
|
"internalType": "uint256",
|
|
153
|
-
"name": "
|
|
73
|
+
"name": "notionalVolume",
|
|
154
74
|
"type": "uint256"
|
|
155
75
|
}
|
|
156
76
|
],
|
|
157
|
-
"name": "
|
|
77
|
+
"name": "OrderFilled",
|
|
158
78
|
"type": "event"
|
|
159
79
|
},
|
|
160
80
|
{
|
|
@@ -249,6 +169,11 @@
|
|
|
249
169
|
"name": "lnImpliedRate",
|
|
250
170
|
"type": "uint256"
|
|
251
171
|
},
|
|
172
|
+
{
|
|
173
|
+
"internalType": "uint256",
|
|
174
|
+
"name": "failSafeRate",
|
|
175
|
+
"type": "uint256"
|
|
176
|
+
},
|
|
252
177
|
{
|
|
253
178
|
"internalType": "bytes",
|
|
254
179
|
"name": "permit",
|
|
@@ -319,6 +244,11 @@
|
|
|
319
244
|
"name": "lnImpliedRate",
|
|
320
245
|
"type": "uint256"
|
|
321
246
|
},
|
|
247
|
+
{
|
|
248
|
+
"internalType": "uint256",
|
|
249
|
+
"name": "failSafeRate",
|
|
250
|
+
"type": "uint256"
|
|
251
|
+
},
|
|
322
252
|
{
|
|
323
253
|
"internalType": "bytes",
|
|
324
254
|
"name": "permit",
|
|
@@ -404,6 +334,11 @@
|
|
|
404
334
|
"name": "lnImpliedRate",
|
|
405
335
|
"type": "uint256"
|
|
406
336
|
},
|
|
337
|
+
{
|
|
338
|
+
"internalType": "uint256",
|
|
339
|
+
"name": "failSafeRate",
|
|
340
|
+
"type": "uint256"
|
|
341
|
+
},
|
|
407
342
|
{
|
|
408
343
|
"internalType": "bytes",
|
|
409
344
|
"name": "permit",
|
|
@@ -466,47 +401,6 @@
|
|
|
466
401
|
"stateMutability": "nonpayable",
|
|
467
402
|
"type": "function"
|
|
468
403
|
},
|
|
469
|
-
{
|
|
470
|
-
"inputs": [
|
|
471
|
-
{
|
|
472
|
-
"internalType": "address",
|
|
473
|
-
"name": "YT",
|
|
474
|
-
"type": "address"
|
|
475
|
-
}
|
|
476
|
-
],
|
|
477
|
-
"name": "getOnchainParams",
|
|
478
|
-
"outputs": [
|
|
479
|
-
{
|
|
480
|
-
"components": [
|
|
481
|
-
{
|
|
482
|
-
"internalType": "uint256",
|
|
483
|
-
"name": "timeToExpiry",
|
|
484
|
-
"type": "uint256"
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
"internalType": "uint256",
|
|
488
|
-
"name": "pyIndex",
|
|
489
|
-
"type": "uint256"
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
"internalType": "address",
|
|
493
|
-
"name": "feeRecipient",
|
|
494
|
-
"type": "address"
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
"internalType": "uint256",
|
|
498
|
-
"name": "lnFeeRateRoot",
|
|
499
|
-
"type": "uint256"
|
|
500
|
-
}
|
|
501
|
-
],
|
|
502
|
-
"internalType": "struct IPOrderMixinType.OnchainParams",
|
|
503
|
-
"name": "",
|
|
504
|
-
"type": "tuple"
|
|
505
|
-
}
|
|
506
|
-
],
|
|
507
|
-
"stateMutability": "nonpayable",
|
|
508
|
-
"type": "function"
|
|
509
|
-
},
|
|
510
404
|
{
|
|
511
405
|
"inputs": [
|
|
512
406
|
{
|
|
@@ -561,6 +455,11 @@
|
|
|
561
455
|
"name": "lnImpliedRate",
|
|
562
456
|
"type": "uint256"
|
|
563
457
|
},
|
|
458
|
+
{
|
|
459
|
+
"internalType": "uint256",
|
|
460
|
+
"name": "failSafeRate",
|
|
461
|
+
"type": "uint256"
|
|
462
|
+
},
|
|
564
463
|
{
|
|
565
464
|
"internalType": "bytes",
|
|
566
465
|
"name": "permit",
|
|
@@ -652,6 +551,11 @@
|
|
|
652
551
|
"name": "lnImpliedRate",
|
|
653
552
|
"type": "uint256"
|
|
654
553
|
},
|
|
554
|
+
{
|
|
555
|
+
"internalType": "uint256",
|
|
556
|
+
"name": "failSafeRate",
|
|
557
|
+
"type": "uint256"
|
|
558
|
+
},
|
|
655
559
|
{
|
|
656
560
|
"internalType": "bytes",
|
|
657
561
|
"name": "permit",
|
|
@@ -6,61 +6,31 @@
|
|
|
6
6
|
{
|
|
7
7
|
"anonymous": false,
|
|
8
8
|
"inputs": [
|
|
9
|
-
{
|
|
10
|
-
"indexed": true,
|
|
11
|
-
"internalType": "enum IPOrderMixinType.OrderType",
|
|
12
|
-
"name": "orderType",
|
|
13
|
-
"type": "uint8"
|
|
14
|
-
},
|
|
15
9
|
{
|
|
16
10
|
"indexed": true,
|
|
17
11
|
"internalType": "address",
|
|
18
|
-
"name": "
|
|
12
|
+
"name": "maker",
|
|
19
13
|
"type": "address"
|
|
20
14
|
},
|
|
21
15
|
{
|
|
22
16
|
"indexed": true,
|
|
23
|
-
"internalType": "
|
|
24
|
-
"name": "
|
|
25
|
-
"type": "
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"indexed": false,
|
|
29
|
-
"internalType": "uint256",
|
|
30
|
-
"name": "netOutputToTaker",
|
|
31
|
-
"type": "uint256"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"indexed": false,
|
|
35
|
-
"internalType": "uint256",
|
|
36
|
-
"name": "netInputFromTaker",
|
|
37
|
-
"type": "uint256"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"indexed": false,
|
|
41
|
-
"internalType": "uint256",
|
|
42
|
-
"name": "totalFee",
|
|
43
|
-
"type": "uint256"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"indexed": false,
|
|
47
|
-
"internalType": "uint256",
|
|
48
|
-
"name": "rawTotalMaking",
|
|
49
|
-
"type": "uint256"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"indexed": false,
|
|
53
|
-
"internalType": "uint256",
|
|
54
|
-
"name": "rawTotalTaking",
|
|
55
|
-
"type": "uint256"
|
|
17
|
+
"internalType": "bytes32",
|
|
18
|
+
"name": "orderHash",
|
|
19
|
+
"type": "bytes32"
|
|
56
20
|
}
|
|
57
21
|
],
|
|
58
|
-
"name": "
|
|
22
|
+
"name": "OrderCanceled",
|
|
59
23
|
"type": "event"
|
|
60
24
|
},
|
|
61
25
|
{
|
|
62
26
|
"anonymous": false,
|
|
63
27
|
"inputs": [
|
|
28
|
+
{
|
|
29
|
+
"indexed": true,
|
|
30
|
+
"internalType": "bytes32",
|
|
31
|
+
"name": "orderHash",
|
|
32
|
+
"type": "bytes32"
|
|
33
|
+
},
|
|
64
34
|
{
|
|
65
35
|
"indexed": true,
|
|
66
36
|
"internalType": "enum IPOrderMixinType.OrderType",
|
|
@@ -74,87 +44,37 @@
|
|
|
74
44
|
"type": "address"
|
|
75
45
|
},
|
|
76
46
|
{
|
|
77
|
-
"indexed":
|
|
47
|
+
"indexed": false,
|
|
78
48
|
"internalType": "address",
|
|
79
|
-
"name": "
|
|
49
|
+
"name": "token",
|
|
80
50
|
"type": "address"
|
|
81
51
|
},
|
|
82
52
|
{
|
|
83
53
|
"indexed": false,
|
|
84
54
|
"internalType": "uint256",
|
|
85
|
-
"name": "
|
|
86
|
-
"type": "uint256"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"indexed": false,
|
|
90
|
-
"internalType": "uint256",
|
|
91
|
-
"name": "actualTaking",
|
|
92
|
-
"type": "uint256"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"indexed": false,
|
|
96
|
-
"internalType": "uint256",
|
|
97
|
-
"name": "totalFee",
|
|
98
|
-
"type": "uint256"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"indexed": false,
|
|
102
|
-
"internalType": "uint256",
|
|
103
|
-
"name": "rawTotalMaking",
|
|
55
|
+
"name": "netInputFromMaker",
|
|
104
56
|
"type": "uint256"
|
|
105
57
|
},
|
|
106
58
|
{
|
|
107
59
|
"indexed": false,
|
|
108
60
|
"internalType": "uint256",
|
|
109
|
-
"name": "
|
|
61
|
+
"name": "netOutputToMaker",
|
|
110
62
|
"type": "uint256"
|
|
111
|
-
}
|
|
112
|
-
],
|
|
113
|
-
"name": "NormalFill",
|
|
114
|
-
"type": "event"
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"anonymous": false,
|
|
118
|
-
"inputs": [
|
|
119
|
-
{
|
|
120
|
-
"indexed": true,
|
|
121
|
-
"internalType": "address",
|
|
122
|
-
"name": "maker",
|
|
123
|
-
"type": "address"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"indexed": true,
|
|
127
|
-
"internalType": "bytes32",
|
|
128
|
-
"name": "orderHash",
|
|
129
|
-
"type": "bytes32"
|
|
130
63
|
},
|
|
131
64
|
{
|
|
132
65
|
"indexed": false,
|
|
133
66
|
"internalType": "uint256",
|
|
134
|
-
"name": "
|
|
67
|
+
"name": "feeAmount",
|
|
135
68
|
"type": "uint256"
|
|
136
|
-
}
|
|
137
|
-
],
|
|
138
|
-
"name": "OrderCanceled",
|
|
139
|
-
"type": "event"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"anonymous": false,
|
|
143
|
-
"inputs": [
|
|
144
|
-
{
|
|
145
|
-
"indexed": true,
|
|
146
|
-
"internalType": "bytes32",
|
|
147
|
-
"name": "orderHash",
|
|
148
|
-
"type": "bytes32"
|
|
149
69
|
},
|
|
150
70
|
{
|
|
151
71
|
"indexed": false,
|
|
152
72
|
"internalType": "uint256",
|
|
153
|
-
"name": "
|
|
73
|
+
"name": "notionalVolume",
|
|
154
74
|
"type": "uint256"
|
|
155
75
|
}
|
|
156
76
|
],
|
|
157
|
-
"name": "
|
|
77
|
+
"name": "OrderFilled",
|
|
158
78
|
"type": "event"
|
|
159
79
|
},
|
|
160
80
|
{
|
|
@@ -226,6 +146,11 @@
|
|
|
226
146
|
"name": "lnImpliedRate",
|
|
227
147
|
"type": "uint256"
|
|
228
148
|
},
|
|
149
|
+
{
|
|
150
|
+
"internalType": "uint256",
|
|
151
|
+
"name": "failSafeRate",
|
|
152
|
+
"type": "uint256"
|
|
153
|
+
},
|
|
229
154
|
{
|
|
230
155
|
"internalType": "bytes",
|
|
231
156
|
"name": "permit",
|
|
@@ -288,47 +213,6 @@
|
|
|
288
213
|
"stateMutability": "nonpayable",
|
|
289
214
|
"type": "function"
|
|
290
215
|
},
|
|
291
|
-
{
|
|
292
|
-
"inputs": [
|
|
293
|
-
{
|
|
294
|
-
"internalType": "address",
|
|
295
|
-
"name": "YT",
|
|
296
|
-
"type": "address"
|
|
297
|
-
}
|
|
298
|
-
],
|
|
299
|
-
"name": "getOnchainParams",
|
|
300
|
-
"outputs": [
|
|
301
|
-
{
|
|
302
|
-
"components": [
|
|
303
|
-
{
|
|
304
|
-
"internalType": "uint256",
|
|
305
|
-
"name": "timeToExpiry",
|
|
306
|
-
"type": "uint256"
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
"internalType": "uint256",
|
|
310
|
-
"name": "pyIndex",
|
|
311
|
-
"type": "uint256"
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
"internalType": "address",
|
|
315
|
-
"name": "feeRecipient",
|
|
316
|
-
"type": "address"
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
"internalType": "uint256",
|
|
320
|
-
"name": "lnFeeRateRoot",
|
|
321
|
-
"type": "uint256"
|
|
322
|
-
}
|
|
323
|
-
],
|
|
324
|
-
"internalType": "struct IPOrderMixinType.OnchainParams",
|
|
325
|
-
"name": "",
|
|
326
|
-
"type": "tuple"
|
|
327
|
-
}
|
|
328
|
-
],
|
|
329
|
-
"stateMutability": "nonpayable",
|
|
330
|
-
"type": "function"
|
|
331
|
-
},
|
|
332
216
|
{
|
|
333
217
|
"inputs": [
|
|
334
218
|
{
|
|
@@ -383,6 +267,11 @@
|
|
|
383
267
|
"name": "lnImpliedRate",
|
|
384
268
|
"type": "uint256"
|
|
385
269
|
},
|
|
270
|
+
{
|
|
271
|
+
"internalType": "uint256",
|
|
272
|
+
"name": "failSafeRate",
|
|
273
|
+
"type": "uint256"
|
|
274
|
+
},
|
|
386
275
|
{
|
|
387
276
|
"internalType": "bytes",
|
|
388
277
|
"name": "permit",
|
|
@@ -474,6 +363,11 @@
|
|
|
474
363
|
"name": "lnImpliedRate",
|
|
475
364
|
"type": "uint256"
|
|
476
365
|
},
|
|
366
|
+
{
|
|
367
|
+
"internalType": "uint256",
|
|
368
|
+
"name": "failSafeRate",
|
|
369
|
+
"type": "uint256"
|
|
370
|
+
},
|
|
477
371
|
{
|
|
478
372
|
"internalType": "bytes",
|
|
479
373
|
"name": "permit",
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "LimitMathCore",
|
|
4
4
|
"sourceName": "contracts/limit/LimitMathCore.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b2a553087b8cbdde9f46263e643993b38415754232a9a88bbbd819080783ad8f64736f6c63430008150033",
|
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b2a553087b8cbdde9f46263e643993b38415754232a9a88bbbd819080783ad8f64736f6c63430008150033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|