@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
|
@@ -10,61 +10,31 @@ const _abi = [
|
|
|
10
10
|
{
|
|
11
11
|
anonymous: false,
|
|
12
12
|
inputs: [
|
|
13
|
-
{
|
|
14
|
-
indexed: true,
|
|
15
|
-
internalType: "enum IPOrderMixinType.OrderType",
|
|
16
|
-
name: "orderType",
|
|
17
|
-
type: "uint8",
|
|
18
|
-
},
|
|
19
13
|
{
|
|
20
14
|
indexed: true,
|
|
21
15
|
internalType: "address",
|
|
22
|
-
name: "
|
|
16
|
+
name: "maker",
|
|
23
17
|
type: "address",
|
|
24
18
|
},
|
|
25
19
|
{
|
|
26
20
|
indexed: true,
|
|
27
|
-
internalType: "
|
|
28
|
-
name: "
|
|
29
|
-
type: "
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
indexed: false,
|
|
33
|
-
internalType: "uint256",
|
|
34
|
-
name: "netOutputToTaker",
|
|
35
|
-
type: "uint256",
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
indexed: false,
|
|
39
|
-
internalType: "uint256",
|
|
40
|
-
name: "netInputFromTaker",
|
|
41
|
-
type: "uint256",
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
indexed: false,
|
|
45
|
-
internalType: "uint256",
|
|
46
|
-
name: "totalFee",
|
|
47
|
-
type: "uint256",
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
indexed: false,
|
|
51
|
-
internalType: "uint256",
|
|
52
|
-
name: "rawTotalMaking",
|
|
53
|
-
type: "uint256",
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
indexed: false,
|
|
57
|
-
internalType: "uint256",
|
|
58
|
-
name: "rawTotalTaking",
|
|
59
|
-
type: "uint256",
|
|
21
|
+
internalType: "bytes32",
|
|
22
|
+
name: "orderHash",
|
|
23
|
+
type: "bytes32",
|
|
60
24
|
},
|
|
61
25
|
],
|
|
62
|
-
name: "
|
|
26
|
+
name: "OrderCanceled",
|
|
63
27
|
type: "event",
|
|
64
28
|
},
|
|
65
29
|
{
|
|
66
30
|
anonymous: false,
|
|
67
31
|
inputs: [
|
|
32
|
+
{
|
|
33
|
+
indexed: true,
|
|
34
|
+
internalType: "bytes32",
|
|
35
|
+
name: "orderHash",
|
|
36
|
+
type: "bytes32",
|
|
37
|
+
},
|
|
68
38
|
{
|
|
69
39
|
indexed: true,
|
|
70
40
|
internalType: "enum IPOrderMixinType.OrderType",
|
|
@@ -78,87 +48,37 @@ const _abi = [
|
|
|
78
48
|
type: "address",
|
|
79
49
|
},
|
|
80
50
|
{
|
|
81
|
-
indexed:
|
|
51
|
+
indexed: false,
|
|
82
52
|
internalType: "address",
|
|
83
|
-
name: "
|
|
53
|
+
name: "token",
|
|
84
54
|
type: "address",
|
|
85
55
|
},
|
|
86
56
|
{
|
|
87
57
|
indexed: false,
|
|
88
58
|
internalType: "uint256",
|
|
89
|
-
name: "
|
|
90
|
-
type: "uint256",
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
indexed: false,
|
|
94
|
-
internalType: "uint256",
|
|
95
|
-
name: "actualTaking",
|
|
96
|
-
type: "uint256",
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
indexed: false,
|
|
100
|
-
internalType: "uint256",
|
|
101
|
-
name: "totalFee",
|
|
102
|
-
type: "uint256",
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
indexed: false,
|
|
106
|
-
internalType: "uint256",
|
|
107
|
-
name: "rawTotalMaking",
|
|
59
|
+
name: "netInputFromMaker",
|
|
108
60
|
type: "uint256",
|
|
109
61
|
},
|
|
110
62
|
{
|
|
111
63
|
indexed: false,
|
|
112
64
|
internalType: "uint256",
|
|
113
|
-
name: "
|
|
65
|
+
name: "netOutputToMaker",
|
|
114
66
|
type: "uint256",
|
|
115
67
|
},
|
|
116
|
-
],
|
|
117
|
-
name: "NormalFill",
|
|
118
|
-
type: "event",
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
anonymous: false,
|
|
122
|
-
inputs: [
|
|
123
|
-
{
|
|
124
|
-
indexed: true,
|
|
125
|
-
internalType: "address",
|
|
126
|
-
name: "maker",
|
|
127
|
-
type: "address",
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
indexed: true,
|
|
131
|
-
internalType: "bytes32",
|
|
132
|
-
name: "orderHash",
|
|
133
|
-
type: "bytes32",
|
|
134
|
-
},
|
|
135
68
|
{
|
|
136
69
|
indexed: false,
|
|
137
70
|
internalType: "uint256",
|
|
138
|
-
name: "
|
|
71
|
+
name: "feeAmount",
|
|
139
72
|
type: "uint256",
|
|
140
73
|
},
|
|
141
|
-
],
|
|
142
|
-
name: "OrderCanceled",
|
|
143
|
-
type: "event",
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
anonymous: false,
|
|
147
|
-
inputs: [
|
|
148
|
-
{
|
|
149
|
-
indexed: true,
|
|
150
|
-
internalType: "bytes32",
|
|
151
|
-
name: "orderHash",
|
|
152
|
-
type: "bytes32",
|
|
153
|
-
},
|
|
154
74
|
{
|
|
155
75
|
indexed: false,
|
|
156
76
|
internalType: "uint256",
|
|
157
|
-
name: "
|
|
77
|
+
name: "notionalVolume",
|
|
158
78
|
type: "uint256",
|
|
159
79
|
},
|
|
160
80
|
],
|
|
161
|
-
name: "
|
|
81
|
+
name: "OrderFilled",
|
|
162
82
|
type: "event",
|
|
163
83
|
},
|
|
164
84
|
{
|
|
@@ -253,6 +173,11 @@ const _abi = [
|
|
|
253
173
|
name: "lnImpliedRate",
|
|
254
174
|
type: "uint256",
|
|
255
175
|
},
|
|
176
|
+
{
|
|
177
|
+
internalType: "uint256",
|
|
178
|
+
name: "failSafeRate",
|
|
179
|
+
type: "uint256",
|
|
180
|
+
},
|
|
256
181
|
{
|
|
257
182
|
internalType: "bytes",
|
|
258
183
|
name: "permit",
|
|
@@ -323,6 +248,11 @@ const _abi = [
|
|
|
323
248
|
name: "lnImpliedRate",
|
|
324
249
|
type: "uint256",
|
|
325
250
|
},
|
|
251
|
+
{
|
|
252
|
+
internalType: "uint256",
|
|
253
|
+
name: "failSafeRate",
|
|
254
|
+
type: "uint256",
|
|
255
|
+
},
|
|
326
256
|
{
|
|
327
257
|
internalType: "bytes",
|
|
328
258
|
name: "permit",
|
|
@@ -408,6 +338,11 @@ const _abi = [
|
|
|
408
338
|
name: "lnImpliedRate",
|
|
409
339
|
type: "uint256",
|
|
410
340
|
},
|
|
341
|
+
{
|
|
342
|
+
internalType: "uint256",
|
|
343
|
+
name: "failSafeRate",
|
|
344
|
+
type: "uint256",
|
|
345
|
+
},
|
|
411
346
|
{
|
|
412
347
|
internalType: "bytes",
|
|
413
348
|
name: "permit",
|
|
@@ -470,47 +405,6 @@ const _abi = [
|
|
|
470
405
|
stateMutability: "nonpayable",
|
|
471
406
|
type: "function",
|
|
472
407
|
},
|
|
473
|
-
{
|
|
474
|
-
inputs: [
|
|
475
|
-
{
|
|
476
|
-
internalType: "address",
|
|
477
|
-
name: "YT",
|
|
478
|
-
type: "address",
|
|
479
|
-
},
|
|
480
|
-
],
|
|
481
|
-
name: "getOnchainParams",
|
|
482
|
-
outputs: [
|
|
483
|
-
{
|
|
484
|
-
components: [
|
|
485
|
-
{
|
|
486
|
-
internalType: "uint256",
|
|
487
|
-
name: "timeToExpiry",
|
|
488
|
-
type: "uint256",
|
|
489
|
-
},
|
|
490
|
-
{
|
|
491
|
-
internalType: "uint256",
|
|
492
|
-
name: "pyIndex",
|
|
493
|
-
type: "uint256",
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
internalType: "address",
|
|
497
|
-
name: "feeRecipient",
|
|
498
|
-
type: "address",
|
|
499
|
-
},
|
|
500
|
-
{
|
|
501
|
-
internalType: "uint256",
|
|
502
|
-
name: "lnFeeRateRoot",
|
|
503
|
-
type: "uint256",
|
|
504
|
-
},
|
|
505
|
-
],
|
|
506
|
-
internalType: "struct IPOrderMixinType.OnchainParams",
|
|
507
|
-
name: "",
|
|
508
|
-
type: "tuple",
|
|
509
|
-
},
|
|
510
|
-
],
|
|
511
|
-
stateMutability: "nonpayable",
|
|
512
|
-
type: "function",
|
|
513
|
-
},
|
|
514
408
|
{
|
|
515
409
|
inputs: [
|
|
516
410
|
{
|
|
@@ -565,6 +459,11 @@ const _abi = [
|
|
|
565
459
|
name: "lnImpliedRate",
|
|
566
460
|
type: "uint256",
|
|
567
461
|
},
|
|
462
|
+
{
|
|
463
|
+
internalType: "uint256",
|
|
464
|
+
name: "failSafeRate",
|
|
465
|
+
type: "uint256",
|
|
466
|
+
},
|
|
568
467
|
{
|
|
569
468
|
internalType: "bytes",
|
|
570
469
|
name: "permit",
|
|
@@ -656,6 +555,11 @@ const _abi = [
|
|
|
656
555
|
name: "lnImpliedRate",
|
|
657
556
|
type: "uint256",
|
|
658
557
|
},
|
|
558
|
+
{
|
|
559
|
+
internalType: "uint256",
|
|
560
|
+
name: "failSafeRate",
|
|
561
|
+
type: "uint256",
|
|
562
|
+
},
|
|
659
563
|
{
|
|
660
564
|
internalType: "bytes",
|
|
661
565
|
name: "permit",
|
|
@@ -10,61 +10,31 @@ const _abi = [
|
|
|
10
10
|
{
|
|
11
11
|
anonymous: false,
|
|
12
12
|
inputs: [
|
|
13
|
-
{
|
|
14
|
-
indexed: true,
|
|
15
|
-
internalType: "enum IPOrderMixinType.OrderType",
|
|
16
|
-
name: "orderType",
|
|
17
|
-
type: "uint8",
|
|
18
|
-
},
|
|
19
13
|
{
|
|
20
14
|
indexed: true,
|
|
21
15
|
internalType: "address",
|
|
22
|
-
name: "
|
|
16
|
+
name: "maker",
|
|
23
17
|
type: "address",
|
|
24
18
|
},
|
|
25
19
|
{
|
|
26
20
|
indexed: true,
|
|
27
|
-
internalType: "
|
|
28
|
-
name: "
|
|
29
|
-
type: "
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
indexed: false,
|
|
33
|
-
internalType: "uint256",
|
|
34
|
-
name: "netOutputToTaker",
|
|
35
|
-
type: "uint256",
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
indexed: false,
|
|
39
|
-
internalType: "uint256",
|
|
40
|
-
name: "netInputFromTaker",
|
|
41
|
-
type: "uint256",
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
indexed: false,
|
|
45
|
-
internalType: "uint256",
|
|
46
|
-
name: "totalFee",
|
|
47
|
-
type: "uint256",
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
indexed: false,
|
|
51
|
-
internalType: "uint256",
|
|
52
|
-
name: "rawTotalMaking",
|
|
53
|
-
type: "uint256",
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
indexed: false,
|
|
57
|
-
internalType: "uint256",
|
|
58
|
-
name: "rawTotalTaking",
|
|
59
|
-
type: "uint256",
|
|
21
|
+
internalType: "bytes32",
|
|
22
|
+
name: "orderHash",
|
|
23
|
+
type: "bytes32",
|
|
60
24
|
},
|
|
61
25
|
],
|
|
62
|
-
name: "
|
|
26
|
+
name: "OrderCanceled",
|
|
63
27
|
type: "event",
|
|
64
28
|
},
|
|
65
29
|
{
|
|
66
30
|
anonymous: false,
|
|
67
31
|
inputs: [
|
|
32
|
+
{
|
|
33
|
+
indexed: true,
|
|
34
|
+
internalType: "bytes32",
|
|
35
|
+
name: "orderHash",
|
|
36
|
+
type: "bytes32",
|
|
37
|
+
},
|
|
68
38
|
{
|
|
69
39
|
indexed: true,
|
|
70
40
|
internalType: "enum IPOrderMixinType.OrderType",
|
|
@@ -78,87 +48,37 @@ const _abi = [
|
|
|
78
48
|
type: "address",
|
|
79
49
|
},
|
|
80
50
|
{
|
|
81
|
-
indexed:
|
|
51
|
+
indexed: false,
|
|
82
52
|
internalType: "address",
|
|
83
|
-
name: "
|
|
53
|
+
name: "token",
|
|
84
54
|
type: "address",
|
|
85
55
|
},
|
|
86
56
|
{
|
|
87
57
|
indexed: false,
|
|
88
58
|
internalType: "uint256",
|
|
89
|
-
name: "
|
|
90
|
-
type: "uint256",
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
indexed: false,
|
|
94
|
-
internalType: "uint256",
|
|
95
|
-
name: "actualTaking",
|
|
96
|
-
type: "uint256",
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
indexed: false,
|
|
100
|
-
internalType: "uint256",
|
|
101
|
-
name: "totalFee",
|
|
102
|
-
type: "uint256",
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
indexed: false,
|
|
106
|
-
internalType: "uint256",
|
|
107
|
-
name: "rawTotalMaking",
|
|
59
|
+
name: "netInputFromMaker",
|
|
108
60
|
type: "uint256",
|
|
109
61
|
},
|
|
110
62
|
{
|
|
111
63
|
indexed: false,
|
|
112
64
|
internalType: "uint256",
|
|
113
|
-
name: "
|
|
65
|
+
name: "netOutputToMaker",
|
|
114
66
|
type: "uint256",
|
|
115
67
|
},
|
|
116
|
-
],
|
|
117
|
-
name: "NormalFill",
|
|
118
|
-
type: "event",
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
anonymous: false,
|
|
122
|
-
inputs: [
|
|
123
|
-
{
|
|
124
|
-
indexed: true,
|
|
125
|
-
internalType: "address",
|
|
126
|
-
name: "maker",
|
|
127
|
-
type: "address",
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
indexed: true,
|
|
131
|
-
internalType: "bytes32",
|
|
132
|
-
name: "orderHash",
|
|
133
|
-
type: "bytes32",
|
|
134
|
-
},
|
|
135
68
|
{
|
|
136
69
|
indexed: false,
|
|
137
70
|
internalType: "uint256",
|
|
138
|
-
name: "
|
|
71
|
+
name: "feeAmount",
|
|
139
72
|
type: "uint256",
|
|
140
73
|
},
|
|
141
|
-
],
|
|
142
|
-
name: "OrderCanceled",
|
|
143
|
-
type: "event",
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
anonymous: false,
|
|
147
|
-
inputs: [
|
|
148
|
-
{
|
|
149
|
-
indexed: true,
|
|
150
|
-
internalType: "bytes32",
|
|
151
|
-
name: "orderHash",
|
|
152
|
-
type: "bytes32",
|
|
153
|
-
},
|
|
154
74
|
{
|
|
155
75
|
indexed: false,
|
|
156
76
|
internalType: "uint256",
|
|
157
|
-
name: "
|
|
77
|
+
name: "notionalVolume",
|
|
158
78
|
type: "uint256",
|
|
159
79
|
},
|
|
160
80
|
],
|
|
161
|
-
name: "
|
|
81
|
+
name: "OrderFilled",
|
|
162
82
|
type: "event",
|
|
163
83
|
},
|
|
164
84
|
{
|
|
@@ -230,6 +150,11 @@ const _abi = [
|
|
|
230
150
|
name: "lnImpliedRate",
|
|
231
151
|
type: "uint256",
|
|
232
152
|
},
|
|
153
|
+
{
|
|
154
|
+
internalType: "uint256",
|
|
155
|
+
name: "failSafeRate",
|
|
156
|
+
type: "uint256",
|
|
157
|
+
},
|
|
233
158
|
{
|
|
234
159
|
internalType: "bytes",
|
|
235
160
|
name: "permit",
|
|
@@ -292,47 +217,6 @@ const _abi = [
|
|
|
292
217
|
stateMutability: "nonpayable",
|
|
293
218
|
type: "function",
|
|
294
219
|
},
|
|
295
|
-
{
|
|
296
|
-
inputs: [
|
|
297
|
-
{
|
|
298
|
-
internalType: "address",
|
|
299
|
-
name: "YT",
|
|
300
|
-
type: "address",
|
|
301
|
-
},
|
|
302
|
-
],
|
|
303
|
-
name: "getOnchainParams",
|
|
304
|
-
outputs: [
|
|
305
|
-
{
|
|
306
|
-
components: [
|
|
307
|
-
{
|
|
308
|
-
internalType: "uint256",
|
|
309
|
-
name: "timeToExpiry",
|
|
310
|
-
type: "uint256",
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
internalType: "uint256",
|
|
314
|
-
name: "pyIndex",
|
|
315
|
-
type: "uint256",
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
internalType: "address",
|
|
319
|
-
name: "feeRecipient",
|
|
320
|
-
type: "address",
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
internalType: "uint256",
|
|
324
|
-
name: "lnFeeRateRoot",
|
|
325
|
-
type: "uint256",
|
|
326
|
-
},
|
|
327
|
-
],
|
|
328
|
-
internalType: "struct IPOrderMixinType.OnchainParams",
|
|
329
|
-
name: "",
|
|
330
|
-
type: "tuple",
|
|
331
|
-
},
|
|
332
|
-
],
|
|
333
|
-
stateMutability: "nonpayable",
|
|
334
|
-
type: "function",
|
|
335
|
-
},
|
|
336
220
|
{
|
|
337
221
|
inputs: [
|
|
338
222
|
{
|
|
@@ -387,6 +271,11 @@ const _abi = [
|
|
|
387
271
|
name: "lnImpliedRate",
|
|
388
272
|
type: "uint256",
|
|
389
273
|
},
|
|
274
|
+
{
|
|
275
|
+
internalType: "uint256",
|
|
276
|
+
name: "failSafeRate",
|
|
277
|
+
type: "uint256",
|
|
278
|
+
},
|
|
390
279
|
{
|
|
391
280
|
internalType: "bytes",
|
|
392
281
|
name: "permit",
|
|
@@ -478,6 +367,11 @@ const _abi = [
|
|
|
478
367
|
name: "lnImpliedRate",
|
|
479
368
|
type: "uint256",
|
|
480
369
|
},
|
|
370
|
+
{
|
|
371
|
+
internalType: "uint256",
|
|
372
|
+
name: "failSafeRate",
|
|
373
|
+
type: "uint256",
|
|
374
|
+
},
|
|
481
375
|
{
|
|
482
376
|
internalType: "bytes",
|
|
483
377
|
name: "permit",
|
|
@@ -98,7 +98,7 @@ const _abi = [
|
|
|
98
98
|
];
|
|
99
99
|
|
|
100
100
|
const _bytecode =
|
|
101
|
-
"
|
|
101
|
+
"0x61105a61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100825760003560e01c80631dd421ce14610087578063335129ad146100b05780634af74b68146100db578063587cdc06146101165780635d27625914610149578063b8d236ac1461016a578063ca7dab2c1461017d578063f8500bcc146101cc575b600080fd5b61009a610095366004610aaf565b6101ec565b6040516100a79190610ba8565b60405180910390f35b6100c36100be366004610bf5565b6102d0565b6040516001600160d81b0390911681526020016100a7565b8180156100e757600080fd5b506100fb6100f6366004610c3a565b61044f565b6040805161ffff9384168152929091166020830152016100a7565b81801561012257600080fd5b50610136610131366004610c63565b610598565b60405161ffff90911681526020016100a7565b61015c610157366004610c9f565b61062c565b6040516100a7929190610d16565b61015c610178366004610d31565b6107e6565b81801561018957600080fd5b506100fb610198366004610d8f565b6040805160608101825263ffffffff9290921680835260006020840152600192909101829052600160f81b17909155908190565b6101df6101da366004610dbb565b610995565b6040516100a79190610e63565b60608161ffff1660000361021357604051636a86842160e01b815260040160405180910390fd5b84516001600160401b0381111561022c5761022c610a40565b604051908082528060200260200182016040528015610255578160200160208202803683370190505b50905060005b81518110156102c55761028b888888848151811061027b5761027b610e77565b60200260200101518888886102d0565b82828151811061029d5761029d610e77565b6001600160d81b03909216602092830291909101909101526102be81610ea3565b905061025b565b509695505050505050565b60008463ffffffff16600003610369576000878461ffff1661ffff81106102f9576102f9610e77565b60408051606081018252919092015463ffffffff808216808452600160201b83046001600160d81b03166020850152600160f81b90920460ff161515938301939093529092509088161461035e57610352818887610995565b60200151915050610445565b602001519050610445565b60006103758688610ebc565b90506000806103878a848989896107e6565b91509150816000015163ffffffff168363ffffffff16036103b057506020015191506104459050565b806000015163ffffffff168363ffffffff16036103d557602001519250610445915050565b815181516103e39190610ebc565b63ffffffff168260000151846103f99190610ebc565b63ffffffff16836020015183602001516104139190610ee0565b6001600160d81b03166104269190610f00565b6104309190610f2d565b826020015161043f9190610f41565b93505050505b9695505050505050565b6000806000888861ffff1661ffff811061046b5761046b610e77565b60408051606081018252919092015463ffffffff808216808452600160201b83046001600160d81b03166020850152600160f81b90920460ff1615159383019390935290925090881690036104c6578785925092505061058d565b8461ffff168461ffff161180156104ee57506104e3600186610f61565b61ffff168861ffff16145b156104fb578391506104ff565b8491505b8161050b896001610f7c565b6105159190610f97565b9250610522818888610995565b898461ffff1661ffff811061053957610539610e77565b82519101805460208401516040909401511515600160f81b026001600160f81b036001600160d81b03909516600160201b026001600160f81b031990921663ffffffff909416939093171792909216179055505b965096945050505050565b60008261ffff166000036105bf5760405163dc14e8a160e01b815260040160405180910390fd5b8261ffff168261ffff16116105d5575081610625565b825b8261ffff168161ffff1614610620576001858261ffff1661ffff81106105ff576105ff610e77565b01805463ffffffff191663ffffffff929092169190911790556001016105d7565b508190505b9392505050565b610634610a07565b61063c610a07565b60008361064a866001610f7c565b6106549190610f97565b61ffff169050600060018561ffff168361066e9190610fb8565b6106789190610fcb565b905060005b60026106898385610fb8565b6106939190610f2d565b9050886106a461ffff881683610fde565b61ffff81106106b5576106b5610e77565b60408051606081018252919092015463ffffffff81168252600160201b81046001600160d81b03166020830152600160f81b900460ff161515918101829052955061070c57610705816001610fb8565b925061067d565b8861ffff871661071d836001610fb8565b6107279190610fde565b61ffff811061073857610738610e77565b60408051606081018252919092015463ffffffff8082168352600160201b82046001600160d81b03166020840152600160f81b90910460ff16151592820192909252865190955089821691161180159081906107a45750846000015163ffffffff168963ffffffff1611155b156107af57506107da565b806107c6576107bf600183610fcb565b92506107d4565b6107d1826001610fb8565b93505b5061067d565b50505094509492505050565b6107ee610a07565b6107f6610a07565b868461ffff1661ffff811061080d5761080d610e77565b60408051606081018252919092015463ffffffff808216808452600160201b83046001600160d81b03166020850152600160f81b90920460ff161515938301939093529093509087161061088157815163ffffffff87811691161461098b5781610878838888610995565b9150915061098b565b868361088e866001610f7c565b6108989190610f97565b61ffff1661ffff81106108ad576108ad610e77565b60408051606081018252919092015463ffffffff81168252600160201b81046001600160d81b03166020830152600160f81b900460ff16151591810182905292506109325760408051606081018252885463ffffffff81168252600160201b81046001600160d81b03166020830152600160f81b900460ff1615159181019190915291505b816000015163ffffffff168663ffffffff16101561097a578151604051632728d09b60e21b815263ffffffff8089166004830152909116602482015260440160405180910390fd5b6109868787868661062c565b915091505b9550959350505050565b61099d610a07565b60405180606001604052808463ffffffff1681526020018560000151856109c49190610ebc565b6109dd9063ffffffff166001600160601b038616610ff2565b86602001516109ec9190610f41565b6001600160d81b031681526001602090910152949350505050565b604080516060810182526000808252602082018190529181019190915290565b803563ffffffff81168114610a3b57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715610a7e57610a7e610a40565b604052919050565b80356001600160601b0381168114610a3b57600080fd5b803561ffff81168114610a3b57600080fd5b60008060008060008060c08789031215610ac857600080fd5b863595506020610ad9818901610a27565b955060408801356001600160401b0380821115610af557600080fd5b818a0191508a601f830112610b0957600080fd5b813581811115610b1b57610b1b610a40565b8060051b9150610b2c848301610a56565b818152918301840191848101908d841115610b4657600080fd5b938501935b83851015610b6b57610b5c85610a27565b82529385019390850190610b4b565b809950505050505050610b8060608801610a86565b9250610b8e60808801610a9d565b9150610b9c60a08801610a9d565b90509295509295509295565b6020808252825182820181905260009190848201906040850190845b81811015610be95783516001600160d81b031683529284019291840191600101610bc4565b50909695505050505050565b60008060008060008060c08789031215610c0e57600080fd5b86359550610c1e60208801610a27565b9450610c2c60408801610a27565b9350610b8060608801610a86565b60008060008060008060c08789031215610c5357600080fd5b86359550610c1e60208801610a9d565b600080600060608486031215610c7857600080fd5b83359250610c8860208501610a9d565b9150610c9660408501610a9d565b90509250925092565b60008060008060808587031215610cb557600080fd5b84359350610cc560208601610a27565b9250610cd360408601610a9d565b9150610ce160608601610a9d565b905092959194509250565b805163ffffffff1682526020808201516001600160d81b0316908301526040908101511515910152565b60c08101610d248285610cec565b6106256060830184610cec565b600080600080600060a08688031215610d4957600080fd5b85359450610d5960208701610a27565b9350610d6760408701610a86565b9250610d7560608701610a9d565b9150610d8360808701610a9d565b90509295509295909350565b60008060408385031215610da257600080fd5b82359150610db260208401610a27565b90509250929050565b600080600083850360a0811215610dd157600080fd5b6060811215610ddf57600080fd5b50604051606081016001600160401b0381118282101715610e0257610e02610a40565b604052610e0e85610a27565b815260208501356001600160d81b0381168114610e2a57600080fd5b602082015260408501358015158114610e4257600080fd5b60408201529250610e5560608501610a27565b9150610c9660808501610a86565b60608101610e718284610cec565b92915050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201610eb557610eb5610e8d565b5060010190565b63ffffffff828116828216039080821115610ed957610ed9610e8d565b5092915050565b6001600160d81b03828116828216039080821115610ed957610ed9610e8d565b8082028115828204841417610e7157610e71610e8d565b634e487b7160e01b600052601260045260246000fd5b600082610f3c57610f3c610f17565b500490565b6001600160d81b03818116838216019080821115610ed957610ed9610e8d565b61ffff828116828216039080821115610ed957610ed9610e8d565b61ffff818116838216019080821115610ed957610ed9610e8d565b600061ffff80841680610fac57610fac610f17565b92169190910692915050565b80820180821115610e7157610e71610e8d565b81810381811115610e7157610e71610e8d565b600082610fed57610fed610f17565b500690565b6001600160d81b0382811682821681810283169291811582850482141761101b5761101b610e8d565b5050509291505056fea2646970667358221220222788aed9360a3bbbd1273fbc9e30fc68018c03634ec4569e73ef6e2c94be5864736f6c63430008150033";
|
|
102
102
|
|
|
103
103
|
type OracleLibConstructorParams =
|
|
104
104
|
| [signer?: Signer]
|