@pendle/core-v2 6.1.4 → 6.1.5
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/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- 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/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- 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/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Upg.sol/PendleERC20Upg.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.json +2 -2
- package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.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/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- 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/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- 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/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- 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/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -13
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -13
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -13
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -13
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -13
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
- package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +3 -15
- package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +4 -0
- package/contracts/cross-chain/FixedPricePTAMM.sol +2 -2
- package/contracts/offchain-helpers/LimitBackendHelperV2.sol +6 -1
- package/contracts/router/ActionAddRemoveLiqV3.sol +0 -2
- package/contracts/router/ActionMiscV3.sol +0 -2
- package/contracts/router/ActionSimple.sol +0 -2
- package/contracts/router/ActionSwapPTV3.sol +0 -2
- package/contracts/router/ActionSwapYTV3.sol +0 -2
- package/contracts/router/base/ActionBase.sol +8 -16
- package/contracts/router/base/ActionDelegateBase.sol +0 -2
- package/deployments/1-core.json +0 -1
- package/deployments/1-offchain-helper.json +3 -1
- package/deployments/10-core.json +0 -1
- package/deployments/10-offchain-helper.json +3 -1
- package/deployments/146-core.json +0 -1
- package/deployments/146-offchain-helper.json +3 -1
- package/deployments/42161-core.json +0 -1
- package/deployments/42161-offchain-helper.json +3 -1
- package/deployments/5000-core.json +0 -1
- package/deployments/5000-offchain-helper.json +3 -1
- package/deployments/56-core.json +0 -1
- package/deployments/56-offchain-helper.json +3 -1
- package/deployments/80094-core.json +0 -1
- package/deployments/80094-offchain-helper.json +3 -1
- package/deployments/8453-core.json +0 -1
- package/deployments/8453-offchain-helper.json +3 -1
- package/deployments/9745-core.json +53 -0
- package/deployments/9745-offchain-helper.json +10 -0
- package/deployments/999-core.json +0 -1
- package/deployments/999-offchain-helper.json +3 -1
- package/package.json +2 -2
- package/typechain-types/{PendleFeeSetter.ts → BoringOwnableUpgradeable__deprecated.ts} +6 -139
- package/typechain-types/I1inchAggregationRouterV6.ts +337 -0
- package/typechain-types/IGenericSwapExactAmountIn.ts +161 -0
- package/typechain-types/IPendleCommonPoolDeployHelperV2.ts +391 -0
- package/typechain-types/MarketSwapNSeed.ts +222 -0
- package/typechain-types/PendleMarket.ts +1207 -0
- package/typechain-types/PendleMarketFactory.ts +906 -0
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +3 -19
- package/typechain-types/factories/ActionMiscV3__factory.ts +3 -19
- package/typechain-types/factories/ActionSimple__factory.ts +3 -19
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +3 -19
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +3 -19
- package/typechain-types/factories/BoringOwnableUpgradeable__deprecated__factory.ts +120 -0
- package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +1 -1
- package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +1 -1
- package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
- package/typechain-types/factories/FixedPricePTAMM__factory.ts +1 -1
- package/typechain-types/factories/I1inchAggregationRouterV6__factory.ts +233 -0
- package/typechain-types/factories/IGenericSwapExactAmountIn__factory.ts +100 -0
- package/typechain-types/factories/IPendleCommonPoolDeployHelperV2__factory.ts +447 -0
- package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
- package/typechain-types/factories/LimitBackendHelper__factory.ts +1 -1
- package/typechain-types/factories/MarketSwapNSeed__factory.ts +287 -0
- package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +748 -0
- package/typechain-types/factories/PendleMarket__factory.ts +1212 -0
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +1 -1
- package/typechain-types/factories/PendleWstETHPriceFeed__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +9 -9
- package/typechain-types/index.ts +2 -2
- package/typechain-types/ActionDelegateBase.ts +0 -57
- package/typechain-types/BasePendleBridgedPrincipalToken.ts +0 -1689
- package/typechain-types/PendleBridgedPrincipalToken_18Decimals.ts +0 -1689
- package/typechain-types/PendleBridgedPrincipalToken_6Decimals.ts +0 -1689
- package/typechain-types/PendleBridgedPrincipalToken_8Decimals.ts +0 -1689
- package/typechain-types/factories/ActionDelegateBase__factory.ts +0 -80
- package/typechain-types/factories/BasePendleBridgedPrincipalToken__factory.ts +0 -1548
- package/typechain-types/factories/PendleBridgedPrincipalToken_18Decimals__factory.ts +0 -1652
- package/typechain-types/factories/PendleBridgedPrincipalToken_6Decimals__factory.ts +0 -1650
- package/typechain-types/factories/PendleBridgedPrincipalToken_8Decimals__factory.ts +0 -1650
- package/typechain-types/factories/PendleFeeSetter__factory.ts +0 -257
|
@@ -15,8 +15,6 @@ contract ActionAddRemoveLiqV3 is IPActionAddRemoveLiqV3, ActionBase, ActionDeleg
|
|
|
15
15
|
using PYIndexLib for IPYieldToken;
|
|
16
16
|
using PYIndexLib for PYIndex;
|
|
17
17
|
|
|
18
|
-
constructor(address _dustReceiver) ActionDelegateBase(_dustReceiver) {}
|
|
19
|
-
|
|
20
18
|
// ------------------ ADD LIQUIDITY DUAL ------------------
|
|
21
19
|
|
|
22
20
|
/// @notice For details on the parameters (input, guessPtSwapToSy, limit, etc.), please refer to IPAllActionTypeV3.
|
|
@@ -8,8 +8,6 @@ import "../interfaces/IPReflector.sol";
|
|
|
8
8
|
contract ActionMiscV3 is IPActionMiscV3, ActionBase {
|
|
9
9
|
uint256 private constant NOT_FOUND = type(uint256).max;
|
|
10
10
|
|
|
11
|
-
constructor(address _dustReceiver) ActionBase(_dustReceiver) {}
|
|
12
|
-
|
|
13
11
|
function mintSyFromToken(
|
|
14
12
|
address receiver,
|
|
15
13
|
address SY,
|
|
@@ -24,8 +24,6 @@ contract ActionSimple is ActionBase, IPActionSimple {
|
|
|
24
24
|
using PYIndexLib for PYIndex;
|
|
25
25
|
using PMath for uint256;
|
|
26
26
|
|
|
27
|
-
constructor(address _dustReceiver) ActionBase(_dustReceiver) {}
|
|
28
|
-
|
|
29
27
|
// ------------------ SWAP TOKEN FOR PT ------------------
|
|
30
28
|
/// @notice This function is for internal router use only and should not be called directly.
|
|
31
29
|
/// @dev Use swapExactTokenForPt from the main router instead.
|
|
@@ -8,8 +8,6 @@ import {ActionDelegateBase} from "./base/ActionDelegateBase.sol";
|
|
|
8
8
|
contract ActionSwapPTV3 is IPActionSwapPTV3, ActionBase, ActionDelegateBase {
|
|
9
9
|
using PMath for uint256;
|
|
10
10
|
|
|
11
|
-
constructor(address _dustReceiver) ActionDelegateBase(_dustReceiver) {}
|
|
12
|
-
|
|
13
11
|
// ------------------ SWAP TOKEN FOR PT ------------------
|
|
14
12
|
/// @notice For details on the parameters (input, guessPtSwapToSy, limit, etc.), please refer to IPAllActionTypeV3.
|
|
15
13
|
function swapExactTokenForPt(
|
|
@@ -12,8 +12,6 @@ contract ActionSwapYTV3 is CallbackHelper, IPActionSwapYTV3, ActionBase, ActionD
|
|
|
12
12
|
using MarketApproxPtOutLibV2 for MarketState;
|
|
13
13
|
using PYIndexLib for IPYieldToken;
|
|
14
14
|
|
|
15
|
-
constructor(address _dustReceiver) ActionDelegateBase(_dustReceiver) {}
|
|
16
|
-
|
|
17
15
|
// ------------------ SWAP TOKEN FOR YT ------------------
|
|
18
16
|
|
|
19
17
|
/// @notice For details on the parameters (input, guessPtSwapToSy, limit, etc.), please refer to IPAllActionTypeV3.
|
|
@@ -19,11 +19,6 @@ abstract contract ActionBase is TokenHelper, CallbackHelper, IPLimitOrderType {
|
|
|
19
19
|
using PYIndexLib for PYIndex;
|
|
20
20
|
|
|
21
21
|
bytes internal constant EMPTY_BYTES = abi.encode();
|
|
22
|
-
address internal immutable DUST_RECEIVER;
|
|
23
|
-
|
|
24
|
-
constructor(address _dustReceiver) {
|
|
25
|
-
DUST_RECEIVER = _dustReceiver;
|
|
26
|
-
}
|
|
27
22
|
|
|
28
23
|
// ----------------- MINT REDEEM SY PY -----------------
|
|
29
24
|
|
|
@@ -163,10 +158,6 @@ abstract contract ActionBase is TokenHelper, CallbackHelper, IPLimitOrderType {
|
|
|
163
158
|
return IPMarket(market).readState(address(this));
|
|
164
159
|
}
|
|
165
160
|
|
|
166
|
-
function _sweepDust(address token) internal {
|
|
167
|
-
_transferOut(token, DUST_RECEIVER, _selfBalance(token));
|
|
168
|
-
}
|
|
169
|
-
|
|
170
161
|
// ----------------- PT SWAP -----------------
|
|
171
162
|
|
|
172
163
|
function _entry_swapExactPtForSy(address market, LimitOrderData calldata limit) internal view returns (address) {
|
|
@@ -193,6 +184,8 @@ abstract contract ActionBase is TokenHelper, CallbackHelper, IPLimitOrderType {
|
|
|
193
184
|
(netPtLeft, netSyOut, netSyFee, doMarketOrder) = _fillLimit(receiver, PT, netPtLeft, limit);
|
|
194
185
|
if (doMarketOrder) {
|
|
195
186
|
_transferOut(address(PT), market, netPtLeft);
|
|
187
|
+
} else {
|
|
188
|
+
_transferOut(address(PT), receiver, netPtLeft);
|
|
196
189
|
}
|
|
197
190
|
}
|
|
198
191
|
|
|
@@ -207,8 +200,6 @@ abstract contract ActionBase is TokenHelper, CallbackHelper, IPLimitOrderType {
|
|
|
207
200
|
netSyFee += netSyFeeMarket;
|
|
208
201
|
}
|
|
209
202
|
|
|
210
|
-
_sweepDust(address(PT));
|
|
211
|
-
|
|
212
203
|
if (netSyOut < minSyOut) revert("Slippage: INSUFFICIENT_SY_OUT");
|
|
213
204
|
}
|
|
214
205
|
|
|
@@ -236,6 +227,8 @@ abstract contract ActionBase is TokenHelper, CallbackHelper, IPLimitOrderType {
|
|
|
236
227
|
(netSyLeft, netPtOut, netSyFee, doMarketOrder) = _fillLimit(receiver, SY, netSyLeft, limit);
|
|
237
228
|
if (doMarketOrder) {
|
|
238
229
|
_transferOut(address(SY), market, netSyLeft);
|
|
230
|
+
} else {
|
|
231
|
+
_transferOut(address(SY), receiver, netSyLeft);
|
|
239
232
|
}
|
|
240
233
|
}
|
|
241
234
|
|
|
@@ -253,8 +246,6 @@ abstract contract ActionBase is TokenHelper, CallbackHelper, IPLimitOrderType {
|
|
|
253
246
|
netSyFee += netSyFeeMarket;
|
|
254
247
|
}
|
|
255
248
|
|
|
256
|
-
_sweepDust(address(SY));
|
|
257
|
-
|
|
258
249
|
if (netPtOut < minPtOut) revert("Slippage: INSUFFICIENT_PT_OUT");
|
|
259
250
|
}
|
|
260
251
|
|
|
@@ -284,6 +275,8 @@ abstract contract ActionBase is TokenHelper, CallbackHelper, IPLimitOrderType {
|
|
|
284
275
|
(netYtLeft, netSyOut, netSyFee, doMarketOrder) = _fillLimit(receiver, YT, netYtLeft, limit);
|
|
285
276
|
if (doMarketOrder) {
|
|
286
277
|
_transferOut(address(YT), address(YT), netYtLeft);
|
|
278
|
+
} else {
|
|
279
|
+
_transferOut(address(YT), receiver, netYtLeft);
|
|
287
280
|
}
|
|
288
281
|
}
|
|
289
282
|
|
|
@@ -301,8 +294,6 @@ abstract contract ActionBase is TokenHelper, CallbackHelper, IPLimitOrderType {
|
|
|
301
294
|
netSyOut += SY.balanceOf(receiver) - preSyBalance;
|
|
302
295
|
}
|
|
303
296
|
|
|
304
|
-
_sweepDust(address(YT));
|
|
305
|
-
|
|
306
297
|
if (netSyOut < minSyOut) revert("Slippage: INSUFFICIENT_SY_OUT");
|
|
307
298
|
}
|
|
308
299
|
|
|
@@ -331,6 +322,8 @@ abstract contract ActionBase is TokenHelper, CallbackHelper, IPLimitOrderType {
|
|
|
331
322
|
(netSyLeft, netYtOut, netSyFee, doMarketOrder) = _fillLimit(receiver, SY, netSyLeft, limit);
|
|
332
323
|
if (doMarketOrder) {
|
|
333
324
|
_transferOut(address(SY), address(YT), netSyLeft);
|
|
325
|
+
} else {
|
|
326
|
+
_transferOut(address(SY), receiver, netSyLeft);
|
|
334
327
|
}
|
|
335
328
|
}
|
|
336
329
|
|
|
@@ -351,7 +344,6 @@ abstract contract ActionBase is TokenHelper, CallbackHelper, IPLimitOrderType {
|
|
|
351
344
|
netYtOut += netYtOutMarket;
|
|
352
345
|
netSyFee += netSyFeeMarket;
|
|
353
346
|
}
|
|
354
|
-
_sweepDust(address(SY));
|
|
355
347
|
|
|
356
348
|
if (netYtOut < minYtOut) revert("Slippage: INSUFFICIENT_YT_OUT");
|
|
357
349
|
}
|
|
@@ -6,8 +6,6 @@ import {IPActionSimple} from "../../interfaces/IPActionSimple.sol";
|
|
|
6
6
|
import {ApproxParams, TokenInput, LimitOrderData} from "../../interfaces/IPAllActionTypeV3.sol";
|
|
7
7
|
|
|
8
8
|
contract ActionDelegateBase is ActionBase {
|
|
9
|
-
constructor(address _dustReceiver) ActionBase(_dustReceiver) {}
|
|
10
|
-
|
|
11
9
|
function delegateToAddLiquiditySinglePtSimple(
|
|
12
10
|
address receiver,
|
|
13
11
|
address market,
|
package/deployments/1-core.json
CHANGED
|
@@ -61,7 +61,6 @@
|
|
|
61
61
|
"feeDistributorV2": "0x8C237520a8E14D658170A633D96F8e80764433b9",
|
|
62
62
|
"lpWrapperFactory": "0x12930Bd944bb34B0A21CCc2E7d32a6834Bd58e19",
|
|
63
63
|
"decimalsFactory": "0x992ec6a490a4b7f256bd59e63746951d98b29be9",
|
|
64
|
-
"externalCapGate": "0x65E04a3b2af7716B7f0765dE62Fa2f1B3290C23F",
|
|
65
64
|
"lpLinearDiscountOracleFactory": "0x44fb16d078e9c39b65d6c15e78ede9736a9f2df5",
|
|
66
65
|
"cross-chain": {
|
|
67
66
|
"ptOftAdapterFactory": "0x905aF80C4DE82E0075a19fDE2f5777f1A6636732"
|
|
@@ -5,5 +5,7 @@
|
|
|
5
5
|
"simulateHelper": "0x2b3EC64160F658fFe7061769415Ff080fca80BbA",
|
|
6
6
|
"supplyCapReader": "0x438C7dBA7d355aA0c77459AF38B2E62f9f9EccBf",
|
|
7
7
|
"balanceReader": "0x2085F50305f656f96b22ECBfe0A4f5e786Ff0438",
|
|
8
|
-
"limitBackendHelperV2": "
|
|
8
|
+
"limitBackendHelperV2": "0xf02CdbD8F6A18c73B73331FEe3C2110e74508977",
|
|
9
|
+
"checkSolvent": "0x1dE943933417D50738557Ac98FF96405CeeeeCD5",
|
|
10
|
+
"externalCapGate": "0x65E04a3b2af7716B7f0765dE62Fa2f1B3290C23F"
|
|
9
11
|
}
|
package/deployments/10-core.json
CHANGED
|
@@ -54,7 +54,6 @@
|
|
|
54
54
|
"receiverEndpoint": "0xED18de5442297a4Ec1ce59C7c7d9427Adc2A012b",
|
|
55
55
|
"vePendle": "0xd5C47D2383Fddc19596489280C0A33AC42b2bB18",
|
|
56
56
|
"gaugeController": "0x6875e4A945E498FE1B90BbB13CFbAF0b68658C9C",
|
|
57
|
-
"externalCapGate": "0x65E04a3b2af7716B7f0765dE62Fa2f1B3290C23F",
|
|
58
57
|
"expiredRedeemer": "0x8267fdabd1b8C8645138f2dE5B0fe24988DC9820",
|
|
59
58
|
"lpWrapperFactory": "0xeCfEB97D7F070DA5b93c5DC274183F1D7f68532F",
|
|
60
59
|
"decimalsFactory": "0x992ec6a490a4b7f256bd59e63746951d98b29be9",
|
|
@@ -4,5 +4,7 @@
|
|
|
4
4
|
"simulateHelper": "0x2b3EC64160F658fFe7061769415Ff080fca80BbA",
|
|
5
5
|
"supplyCapReader": "0x438C7dBA7d355aA0c77459AF38B2E62f9f9EccBf",
|
|
6
6
|
"balanceReader": "0x2085F50305f656f96b22ECBfe0A4f5e786Ff0438",
|
|
7
|
-
"limitBackendHelperV2": "
|
|
7
|
+
"limitBackendHelperV2": "0xf02CdbD8F6A18c73B73331FEe3C2110e74508977",
|
|
8
|
+
"checkSolvent": "0x1dE943933417D50738557Ac98FF96405CeeeeCD5",
|
|
9
|
+
"externalCapGate": "0x65E04a3b2af7716B7f0765dE62Fa2f1B3290C23F"
|
|
8
10
|
}
|
|
@@ -49,6 +49,5 @@
|
|
|
49
49
|
},
|
|
50
50
|
"lpWrapperFactory": "0xeCfEB97D7F070DA5b93c5DC274183F1D7f68532F",
|
|
51
51
|
"decimalsFactory": "0x992ec6a490a4b7f256bd59e63746951d98b29be9",
|
|
52
|
-
"externalCapGate": "0x65E04a3b2af7716B7f0765dE62Fa2f1B3290C23F",
|
|
53
52
|
"lpLinearDiscountOracleFactory": "0x44fb16d078e9c39b65d6c15e78ede9736a9f2df5"
|
|
54
53
|
}
|
|
@@ -4,5 +4,7 @@
|
|
|
4
4
|
"simulateHelper": "0xc23Dd2807e51dd1D317e1321CBeEb9ace98531EE",
|
|
5
5
|
"supplyCapReader": "0x251CfB4E84CefecA6c1e6a4D8a0cb9c524e7484f",
|
|
6
6
|
"balanceReader": "0x2085F50305f656f96b22ECBfe0A4f5e786Ff0438",
|
|
7
|
-
"limitBackendHelperV2": "
|
|
7
|
+
"limitBackendHelperV2": "0xf02CdbD8F6A18c73B73331FEe3C2110e74508977",
|
|
8
|
+
"checkSolvent": "0x21332dCAe68b603B9170d25D21fda68f18Da91df",
|
|
9
|
+
"externalCapGate": "0x65E04a3b2af7716B7f0765dE62Fa2f1B3290C23F"
|
|
8
10
|
}
|
|
@@ -57,7 +57,6 @@
|
|
|
57
57
|
"arbMerkleDistribution": "0x23a102e78D1FF1645a3666691495174764a5FCAF",
|
|
58
58
|
"lpWrapperFactory": "0xdb5dB14819a16642e6736aB0cDFe0156f8E01ddF",
|
|
59
59
|
"decimalsFactory": "0x992ec6a490a4b7f256bd59e63746951d98b29be9",
|
|
60
|
-
"externalCapGate": "0x65E04a3b2af7716B7f0765dE62Fa2f1B3290C23F",
|
|
61
60
|
"expiredRedeemer": "0x23567b248cd64479384d2e0cbe83522afb8dd446",
|
|
62
61
|
"lpLinearDiscountOracleFactory": "0x44fb16d078e9c39b65d6c15e78ede9736a9f2df5"
|
|
63
62
|
}
|
|
@@ -5,5 +5,7 @@
|
|
|
5
5
|
"simulateHelper": "0x2b3EC64160F658fFe7061769415Ff080fca80BbA",
|
|
6
6
|
"supplyCapReader": "0x438C7dBA7d355aA0c77459AF38B2E62f9f9EccBf",
|
|
7
7
|
"balanceReader": "0x2085F50305f656f96b22ECBfe0A4f5e786Ff0438",
|
|
8
|
-
"limitBackendHelperV2": "
|
|
8
|
+
"limitBackendHelperV2": "0xf02CdbD8F6A18c73B73331FEe3C2110e74508977",
|
|
9
|
+
"checkSolvent": "0x1dE943933417D50738557Ac98FF96405CeeeeCD5",
|
|
10
|
+
"externalCapGate": "0x65E04a3b2af7716B7f0765dE62Fa2f1B3290C23F"
|
|
9
11
|
}
|
|
@@ -55,6 +55,5 @@
|
|
|
55
55
|
},
|
|
56
56
|
"lpWrapperFactory": "0x6D653C8DAAc8D81c9CE98E038fbF94D7E652e147",
|
|
57
57
|
"decimalsFactory": "0x992ec6a490a4b7f256bd59e63746951d98b29be9",
|
|
58
|
-
"externalCapGate": "0x65E04a3b2af7716B7f0765dE62Fa2f1B3290C23F",
|
|
59
58
|
"lpLinearDiscountOracleFactory": "0x44fb16d078e9c39b65d6c15e78ede9736a9f2df5"
|
|
60
59
|
}
|
|
@@ -5,5 +5,7 @@
|
|
|
5
5
|
"simulateHelper": "0x2b3EC64160F658fFe7061769415Ff080fca80BbA",
|
|
6
6
|
"supplyCapReader": "0x438C7dBA7d355aA0c77459AF38B2E62f9f9EccBf",
|
|
7
7
|
"balanceReader": "0x2085F50305f656f96b22ECBfe0A4f5e786Ff0438",
|
|
8
|
-
"limitBackendHelperV2": "
|
|
8
|
+
"limitBackendHelperV2": "0xf02CdbD8F6A18c73B73331FEe3C2110e74508977",
|
|
9
|
+
"checkSolvent": "0x1dE943933417D50738557Ac98FF96405CeeeeCD5",
|
|
10
|
+
"externalCapGate": "0x65E04a3b2af7716B7f0765dE62Fa2f1B3290C23F"
|
|
9
11
|
}
|
package/deployments/56-core.json
CHANGED
|
@@ -56,6 +56,5 @@
|
|
|
56
56
|
"gaugeController": "0x704478Dd72FD7F9B83d1F1e0fc18C14B54F034d0",
|
|
57
57
|
"lpWrapperFactory": "0x6f14d3cD37a0647a3eE60eb2214486f8A1CDdccc",
|
|
58
58
|
"decimalsFactory": "0x992ec6a490a4b7f256bd59e63746951d98b29be9",
|
|
59
|
-
"externalCapGate": "0x65E04a3b2af7716B7f0765dE62Fa2f1B3290C23F",
|
|
60
59
|
"lpLinearDiscountOracleFactory": "0x44fb16d078e9c39b65d6c15e78ede9736a9f2df5"
|
|
61
60
|
}
|
|
@@ -5,5 +5,7 @@
|
|
|
5
5
|
"simulateHelper": "0x2b3EC64160F658fFe7061769415Ff080fca80BbA",
|
|
6
6
|
"supplyCapReader": "0x438C7dBA7d355aA0c77459AF38B2E62f9f9EccBf",
|
|
7
7
|
"balanceReader": "0x2085F50305f656f96b22ECBfe0A4f5e786Ff0438",
|
|
8
|
-
"limitBackendHelperV2": "
|
|
8
|
+
"limitBackendHelperV2": "0xf02CdbD8F6A18c73B73331FEe3C2110e74508977",
|
|
9
|
+
"checkSolvent": "0x1dE943933417D50738557Ac98FF96405CeeeeCD5",
|
|
10
|
+
"externalCapGate": "0x65E04a3b2af7716B7f0765dE62Fa2f1B3290C23F"
|
|
9
11
|
}
|
|
@@ -49,6 +49,5 @@
|
|
|
49
49
|
"gaugeController": "0x704478Dd72FD7F9B83d1F1e0fc18C14B54F034d0",
|
|
50
50
|
"lpWrapperFactory": "0x7c0fa6ad8c14aFc85706E28B6ed2d9cbACc47161",
|
|
51
51
|
"decimalsFactory": "0x992ec6a490a4b7f256bd59e63746951d98b29be9",
|
|
52
|
-
"externalCapGate": "0x65E04a3b2af7716B7f0765dE62Fa2f1B3290C23F",
|
|
53
52
|
"lpLinearDiscountOracleFactory": "0x44fb16d078e9c39b65d6c15e78ede9736a9f2df5"
|
|
54
53
|
}
|
|
@@ -4,5 +4,7 @@
|
|
|
4
4
|
"simulateHelper": "0xc23Dd2807e51dd1D317e1321CBeEb9ace98531EE",
|
|
5
5
|
"supplyCapReader": "0x251CfB4E84CefecA6c1e6a4D8a0cb9c524e7484f",
|
|
6
6
|
"balanceReader": "0x2085F50305f656f96b22ECBfe0A4f5e786Ff0438",
|
|
7
|
-
"limitBackendHelperV2": "
|
|
7
|
+
"limitBackendHelperV2": "0xf02CdbD8F6A18c73B73331FEe3C2110e74508977",
|
|
8
|
+
"checkSolvent": "0x21332dCAe68b603B9170d25D21fda68f18Da91df",
|
|
9
|
+
"externalCapGate": "0x65E04a3b2af7716B7f0765dE62Fa2f1B3290C23F"
|
|
8
10
|
}
|
|
@@ -49,6 +49,5 @@
|
|
|
49
49
|
"gaugeController": "0x17F100fB4bE2707675c6439468d38249DD993d58",
|
|
50
50
|
"lpWrapperFactory": "0xCa274A44a52241c1a8EFb9f84Bf492D8363929FC",
|
|
51
51
|
"decimalsFactory": "0x992ec6a490a4b7f256bd59e63746951d98b29be9",
|
|
52
|
-
"externalCapGate": "0x65E04a3b2af7716B7f0765dE62Fa2f1B3290C23F",
|
|
53
52
|
"lpLinearDiscountOracleFactory": "0x44fb16d078e9c39b65d6c15e78ede9736a9f2df5"
|
|
54
53
|
}
|
|
@@ -4,5 +4,7 @@
|
|
|
4
4
|
"simulateHelper": "0x2b3EC64160F658fFe7061769415Ff080fca80BbA",
|
|
5
5
|
"supplyCapReader": "0x438C7dBA7d355aA0c77459AF38B2E62f9f9EccBf",
|
|
6
6
|
"balanceReader": "0x2085F50305f656f96b22ECBfe0A4f5e786Ff0438",
|
|
7
|
-
"limitBackendHelperV2": "
|
|
7
|
+
"limitBackendHelperV2": "0xf02CdbD8F6A18c73B73331FEe3C2110e74508977",
|
|
8
|
+
"checkSolvent": "0x1dE943933417D50738557Ac98FF96405CeeeeCD5",
|
|
9
|
+
"externalCapGate": "0x65E04a3b2af7716B7f0765dE62Fa2f1B3290C23F"
|
|
8
10
|
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"deployer": "0x1FcCC097db89A86Bfc474A1028F93958295b1Fb7",
|
|
3
|
+
"network": {
|
|
4
|
+
"chainId": 9745,
|
|
5
|
+
"treasury": "0xCbcb48e22622a3778b6F14C2f5d258Ba026b05e6",
|
|
6
|
+
"governance": "0x7877adfaded756f3248a0ebfe8ac2e2ef87b75ac",
|
|
7
|
+
"devMultisig": "0xE6F0489ED91dc27f40f9dbe8f81fccbFC16b9cb1",
|
|
8
|
+
"pendle": "0x17bac5f906c9a0282ac06a59958d85796c831f24",
|
|
9
|
+
"lzEndpoint": "0xb6319cC6c8c27A8F5dAF0dD3DF91EA35C4720dd7",
|
|
10
|
+
"wrappedNative": "0x6100E367285b01F48D07953803A2d8dCA5D19873",
|
|
11
|
+
"initialRewardFee": "30000000000000000",
|
|
12
|
+
"initialInterestFee": "30000000000000000",
|
|
13
|
+
"initialReserveFeePercent": "80",
|
|
14
|
+
"safeWaitTime": 15000,
|
|
15
|
+
"hardwareDeployer": "0xeea6F790F18563E91b18DF00B89d9f79b2E6761F"
|
|
16
|
+
},
|
|
17
|
+
"baseCodeSplitter": "0x6f41855CdF6861a1F8A017e8bB0F90927582cCf6",
|
|
18
|
+
"PENDLE": "0x17bac5f906c9a0282ac06a59958d85796c831f24",
|
|
19
|
+
"governanceProxy": "0x2aD631F72fB16d91c4953A7f4260A97C2fE2f31e",
|
|
20
|
+
"router": "0x888888888889758F76e7103c6CbF23ABbF58F946",
|
|
21
|
+
"routerFacets": {
|
|
22
|
+
"ActionAddRemoveLiqV3": "0x663C21103915B68e9dA797CfdF3cAb01a037D5Ff",
|
|
23
|
+
"ActionSwapPTV3": "0xd8D200d9A713A1c71cF1e7F694B14E5F1D948b15",
|
|
24
|
+
"ActionSwapYTV3": "0x4a03Ce0a268951d04E187B1CF48075eE69266e27",
|
|
25
|
+
"ActionMiscV3": "0x373Dba2055Ad40cb4815148bC47cd1DC16e92E44",
|
|
26
|
+
"ActionSimple": "0x852e59252c94716F0df19B52b36512f6C9297a96",
|
|
27
|
+
"ActionCallbackV3": "0x7b78F36aBf6cF3C6C0dd54716dFeF0607ae17846",
|
|
28
|
+
"ActionStorageV4": "0xdED51dca2ECED7a0BAab3D9711A87f214769Da0f"
|
|
29
|
+
},
|
|
30
|
+
"routerStatic": "0x6813d43782395A1F2AAb42f39aeEDE03ac655e09",
|
|
31
|
+
"pendleSwap": "0xd4F480965D2347d421F1bEC7F545682E5Ec2151D",
|
|
32
|
+
"pyYtLpOracle": "0x9a9fa8338dd5e5b2188006f1cd2ef26d921650c2",
|
|
33
|
+
"yieldContractFactoryV5": "0xED0dC8C074255c277BC704D6b096167D7a6E4311",
|
|
34
|
+
"marketFactoryV5": "0x28dE02Ac3c3F5ef427e55c321F73fDc7F192e8E4",
|
|
35
|
+
"poolDeployHelperV2": "0x5E9a7E1A15ab0eAaBD2D78fa36A87158752A1346",
|
|
36
|
+
"limitRouter": "0x000000000000c9B3E2C3Ec88B1B4c0cD853f4321",
|
|
37
|
+
"proxyAdmin": "0xA28c08f165116587D4F3E708743B4dEe155c5E64",
|
|
38
|
+
"reflector": "0x73d5DBF81A4f3bFa7b335e6a2d4638D6017a4fA8",
|
|
39
|
+
"commonDeploy": "0x2Ed473F528E5B320f850d17ADfe0e558f0298aA9",
|
|
40
|
+
"syFactory": "0x466CeD3b33045Ea986B2f306C8D0aA8067961CF8",
|
|
41
|
+
"sparkLinearDiscountOracleFactory": "0x34C91651A070664279866E5f3d6B4d5F65cbbFFb",
|
|
42
|
+
"vePendleAirdropDistributor": "0x42c706eab26aA8FAcFa4B3f32902bA872AaA10aC",
|
|
43
|
+
"externalRewardsDistributor": "0x1Cb446fAE25Ae19878f9f71189902e2a6A6A749c",
|
|
44
|
+
"beta": {
|
|
45
|
+
"PendleChainlinkOracleFactory": "0xAcD67f36183c8bA6b80Cfa60375510Ce17D0dd26"
|
|
46
|
+
},
|
|
47
|
+
"receiverEndpoint": "0x5C3DdC827c40964728336229808E27C6374F07Bf",
|
|
48
|
+
"vePendle": "0x0d7432A9f5C51fdd2407332D90D9b814827982Bf",
|
|
49
|
+
"gaugeController": "0x7e500c6efBb00FD3227888256E477171a1304721",
|
|
50
|
+
"lpWrapperFactory": "0x1fBaCedf510dAA79dfD9B41227A7ba192d5D548D",
|
|
51
|
+
"decimalsFactory": "0x992EC6A490A4B7f256bd59E63746951D98B29Be9",
|
|
52
|
+
"lpLinearDiscountOracleFactory": "0x44fb16d078e9c39b65d6c15e78ede9736a9f2df5"
|
|
53
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"pendleMulticallV2": "0x1ca3352a55A3D69cA8e5aB06006e08aaF2bD09f1",
|
|
3
|
+
"implicitSwapfeeContract": "0x82Fae57b2A79D893D88488A7D8BdF2AC6bd2C463",
|
|
4
|
+
"simulateHelper": "0xc23Dd2807e51dd1D317e1321CBeEb9ace98531EE",
|
|
5
|
+
"supplyCapReader": "0x251CfB4E84CefecA6c1e6a4D8a0cb9c524e7484f",
|
|
6
|
+
"balanceReader": "0x2085F50305f656f96b22ECBfe0A4f5e786Ff0438",
|
|
7
|
+
"limitBackendHelperV2": "0xf02CdbD8F6A18c73B73331FEe3C2110e74508977",
|
|
8
|
+
"checkSolvent": "0x21332dCAe68b603B9170d25D21fda68f18Da91df",
|
|
9
|
+
"externalCapGate": "0x65E04a3b2af7716B7f0765dE62Fa2f1B3290C23F"
|
|
10
|
+
}
|
|
@@ -49,7 +49,6 @@
|
|
|
49
49
|
"externalRewardsDistributor": "0x1Cb446fAE25Ae19878f9f71189902e2a6A6A749c",
|
|
50
50
|
"lpWrapperFactory": "0xcb645C93820B92E5F21781C5c3c18C29BCb6126B",
|
|
51
51
|
"decimalsFactory": "0xF2a26C2eb3c4098e03807442196FbA7f78b125a2",
|
|
52
|
-
"externalCapGate": "0x65E04a3b2af7716B7f0765dE62Fa2f1B3290C23F",
|
|
53
52
|
"lpLinearDiscountOracleFactory": "0x44fb16d078e9c39b65d6c15e78ede9736a9f2df5",
|
|
54
53
|
"fixedPricePTAMM": "0xF0bF560F01d4196773a5c58A09d6D34b6bba4503"
|
|
55
54
|
}
|
|
@@ -4,5 +4,7 @@
|
|
|
4
4
|
"simulateHelper": "0xc23Dd2807e51dd1D317e1321CBeEb9ace98531EE",
|
|
5
5
|
"supplyCapReader": "0x251CfB4E84CefecA6c1e6a4D8a0cb9c524e7484f",
|
|
6
6
|
"balanceReader": "0x2085F50305f656f96b22ECBfe0A4f5e786Ff0438",
|
|
7
|
-
"limitBackendHelperV2": "
|
|
7
|
+
"limitBackendHelperV2": "0xf02CdbD8F6A18c73B73331FEe3C2110e74508977",
|
|
8
|
+
"checkSolvent": "0x21332dCAe68b603B9170d25D21fda68f18Da91df",
|
|
9
|
+
"externalCapGate": "0x65E04a3b2af7716B7f0765dE62Fa2f1B3290C23F"
|
|
8
10
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@pendle/core-v2",
|
|
3
3
|
"description": "Core smart contracts of Pendle Protocol.",
|
|
4
4
|
"license": "BUSL-1.1",
|
|
5
|
-
"version": "6.1.
|
|
5
|
+
"version": "6.1.5",
|
|
6
6
|
"homepage": "https://pendle.finance",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"pendle",
|
|
@@ -56,4 +56,4 @@
|
|
|
56
56
|
"publishConfig": {
|
|
57
57
|
"access": "public"
|
|
58
58
|
}
|
|
59
|
-
}
|
|
59
|
+
}
|
|
@@ -21,17 +21,13 @@ import type {
|
|
|
21
21
|
OnEvent,
|
|
22
22
|
} from "./common";
|
|
23
23
|
|
|
24
|
-
export interface
|
|
25
|
-
|
|
24
|
+
export interface BoringOwnableUpgradeable__deprecatedInterface
|
|
25
|
+
extends utils.Interface {
|
|
26
|
+
contractName: "BoringOwnableUpgradeable__deprecated";
|
|
26
27
|
functions: {
|
|
27
28
|
"claimOwnership()": FunctionFragment;
|
|
28
|
-
"initialize(address)": FunctionFragment;
|
|
29
|
-
"limitRouter()": FunctionFragment;
|
|
30
29
|
"owner()": FunctionFragment;
|
|
31
30
|
"pendingOwner()": FunctionFragment;
|
|
32
|
-
"readFeesAndImpliedRate(address[])": FunctionFragment;
|
|
33
|
-
"router()": FunctionFragment;
|
|
34
|
-
"setFees(address[])": FunctionFragment;
|
|
35
31
|
"transferOwnership(address,bool,bool)": FunctionFragment;
|
|
36
32
|
};
|
|
37
33
|
|
|
@@ -39,22 +35,11 @@ export interface PendleFeeSetterInterface extends utils.Interface {
|
|
|
39
35
|
functionFragment: "claimOwnership",
|
|
40
36
|
values?: undefined
|
|
41
37
|
): string;
|
|
42
|
-
encodeFunctionData(functionFragment: "initialize", values: [string]): string;
|
|
43
|
-
encodeFunctionData(
|
|
44
|
-
functionFragment: "limitRouter",
|
|
45
|
-
values?: undefined
|
|
46
|
-
): string;
|
|
47
38
|
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
48
39
|
encodeFunctionData(
|
|
49
40
|
functionFragment: "pendingOwner",
|
|
50
41
|
values?: undefined
|
|
51
42
|
): string;
|
|
52
|
-
encodeFunctionData(
|
|
53
|
-
functionFragment: "readFeesAndImpliedRate",
|
|
54
|
-
values: [string[]]
|
|
55
|
-
): string;
|
|
56
|
-
encodeFunctionData(functionFragment: "router", values?: undefined): string;
|
|
57
|
-
encodeFunctionData(functionFragment: "setFees", values: [string[]]): string;
|
|
58
43
|
encodeFunctionData(
|
|
59
44
|
functionFragment: "transferOwnership",
|
|
60
45
|
values: [string, boolean, boolean]
|
|
@@ -64,22 +49,11 @@ export interface PendleFeeSetterInterface extends utils.Interface {
|
|
|
64
49
|
functionFragment: "claimOwnership",
|
|
65
50
|
data: BytesLike
|
|
66
51
|
): Result;
|
|
67
|
-
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
|
68
|
-
decodeFunctionResult(
|
|
69
|
-
functionFragment: "limitRouter",
|
|
70
|
-
data: BytesLike
|
|
71
|
-
): Result;
|
|
72
52
|
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
73
53
|
decodeFunctionResult(
|
|
74
54
|
functionFragment: "pendingOwner",
|
|
75
55
|
data: BytesLike
|
|
76
56
|
): Result;
|
|
77
|
-
decodeFunctionResult(
|
|
78
|
-
functionFragment: "readFeesAndImpliedRate",
|
|
79
|
-
data: BytesLike
|
|
80
|
-
): Result;
|
|
81
|
-
decodeFunctionResult(functionFragment: "router", data: BytesLike): Result;
|
|
82
|
-
decodeFunctionResult(functionFragment: "setFees", data: BytesLike): Result;
|
|
83
57
|
decodeFunctionResult(
|
|
84
58
|
functionFragment: "transferOwnership",
|
|
85
59
|
data: BytesLike
|
|
@@ -106,13 +80,13 @@ export type OwnershipTransferredEvent = TypedEvent<
|
|
|
106
80
|
export type OwnershipTransferredEventFilter =
|
|
107
81
|
TypedEventFilter<OwnershipTransferredEvent>;
|
|
108
82
|
|
|
109
|
-
export interface
|
|
110
|
-
contractName: "
|
|
83
|
+
export interface BoringOwnableUpgradeable__deprecated extends BaseContract {
|
|
84
|
+
contractName: "BoringOwnableUpgradeable__deprecated";
|
|
111
85
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
112
86
|
attach(addressOrName: string): this;
|
|
113
87
|
deployed(): Promise<this>;
|
|
114
88
|
|
|
115
|
-
interface:
|
|
89
|
+
interface: BoringOwnableUpgradeable__deprecatedInterface;
|
|
116
90
|
|
|
117
91
|
queryFilter<TEvent extends TypedEvent>(
|
|
118
92
|
event: TypedEventFilter<TEvent>,
|
|
@@ -138,35 +112,10 @@ export interface PendleFeeSetter extends BaseContract {
|
|
|
138
112
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
139
113
|
): Promise<ContractTransaction>;
|
|
140
114
|
|
|
141
|
-
initialize(
|
|
142
|
-
_owner: string,
|
|
143
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
144
|
-
): Promise<ContractTransaction>;
|
|
145
|
-
|
|
146
|
-
limitRouter(overrides?: CallOverrides): Promise<[string]>;
|
|
147
|
-
|
|
148
115
|
owner(overrides?: CallOverrides): Promise<[string]>;
|
|
149
116
|
|
|
150
117
|
pendingOwner(overrides?: CallOverrides): Promise<[string]>;
|
|
151
118
|
|
|
152
|
-
readFeesAndImpliedRate(
|
|
153
|
-
markets: string[],
|
|
154
|
-
overrides?: CallOverrides
|
|
155
|
-
): Promise<
|
|
156
|
-
[BigNumber[], BigNumber[], BigNumber[]] & {
|
|
157
|
-
routerLnFeeRateRoots: BigNumber[];
|
|
158
|
-
limitLnFeeRateRoots: BigNumber[];
|
|
159
|
-
lnImpliedRates: BigNumber[];
|
|
160
|
-
}
|
|
161
|
-
>;
|
|
162
|
-
|
|
163
|
-
router(overrides?: CallOverrides): Promise<[string]>;
|
|
164
|
-
|
|
165
|
-
setFees(
|
|
166
|
-
markets: string[],
|
|
167
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
168
|
-
): Promise<ContractTransaction>;
|
|
169
|
-
|
|
170
119
|
transferOwnership(
|
|
171
120
|
newOwner: string,
|
|
172
121
|
direct: boolean,
|
|
@@ -179,35 +128,10 @@ export interface PendleFeeSetter extends BaseContract {
|
|
|
179
128
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
180
129
|
): Promise<ContractTransaction>;
|
|
181
130
|
|
|
182
|
-
initialize(
|
|
183
|
-
_owner: string,
|
|
184
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
185
|
-
): Promise<ContractTransaction>;
|
|
186
|
-
|
|
187
|
-
limitRouter(overrides?: CallOverrides): Promise<string>;
|
|
188
|
-
|
|
189
131
|
owner(overrides?: CallOverrides): Promise<string>;
|
|
190
132
|
|
|
191
133
|
pendingOwner(overrides?: CallOverrides): Promise<string>;
|
|
192
134
|
|
|
193
|
-
readFeesAndImpliedRate(
|
|
194
|
-
markets: string[],
|
|
195
|
-
overrides?: CallOverrides
|
|
196
|
-
): Promise<
|
|
197
|
-
[BigNumber[], BigNumber[], BigNumber[]] & {
|
|
198
|
-
routerLnFeeRateRoots: BigNumber[];
|
|
199
|
-
limitLnFeeRateRoots: BigNumber[];
|
|
200
|
-
lnImpliedRates: BigNumber[];
|
|
201
|
-
}
|
|
202
|
-
>;
|
|
203
|
-
|
|
204
|
-
router(overrides?: CallOverrides): Promise<string>;
|
|
205
|
-
|
|
206
|
-
setFees(
|
|
207
|
-
markets: string[],
|
|
208
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
209
|
-
): Promise<ContractTransaction>;
|
|
210
|
-
|
|
211
135
|
transferOwnership(
|
|
212
136
|
newOwner: string,
|
|
213
137
|
direct: boolean,
|
|
@@ -218,29 +142,10 @@ export interface PendleFeeSetter extends BaseContract {
|
|
|
218
142
|
callStatic: {
|
|
219
143
|
claimOwnership(overrides?: CallOverrides): Promise<void>;
|
|
220
144
|
|
|
221
|
-
initialize(_owner: string, overrides?: CallOverrides): Promise<void>;
|
|
222
|
-
|
|
223
|
-
limitRouter(overrides?: CallOverrides): Promise<string>;
|
|
224
|
-
|
|
225
145
|
owner(overrides?: CallOverrides): Promise<string>;
|
|
226
146
|
|
|
227
147
|
pendingOwner(overrides?: CallOverrides): Promise<string>;
|
|
228
148
|
|
|
229
|
-
readFeesAndImpliedRate(
|
|
230
|
-
markets: string[],
|
|
231
|
-
overrides?: CallOverrides
|
|
232
|
-
): Promise<
|
|
233
|
-
[BigNumber[], BigNumber[], BigNumber[]] & {
|
|
234
|
-
routerLnFeeRateRoots: BigNumber[];
|
|
235
|
-
limitLnFeeRateRoots: BigNumber[];
|
|
236
|
-
lnImpliedRates: BigNumber[];
|
|
237
|
-
}
|
|
238
|
-
>;
|
|
239
|
-
|
|
240
|
-
router(overrides?: CallOverrides): Promise<string>;
|
|
241
|
-
|
|
242
|
-
setFees(markets: string[], overrides?: CallOverrides): Promise<void>;
|
|
243
|
-
|
|
244
149
|
transferOwnership(
|
|
245
150
|
newOwner: string,
|
|
246
151
|
direct: boolean,
|
|
@@ -268,29 +173,10 @@ export interface PendleFeeSetter extends BaseContract {
|
|
|
268
173
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
269
174
|
): Promise<BigNumber>;
|
|
270
175
|
|
|
271
|
-
initialize(
|
|
272
|
-
_owner: string,
|
|
273
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
274
|
-
): Promise<BigNumber>;
|
|
275
|
-
|
|
276
|
-
limitRouter(overrides?: CallOverrides): Promise<BigNumber>;
|
|
277
|
-
|
|
278
176
|
owner(overrides?: CallOverrides): Promise<BigNumber>;
|
|
279
177
|
|
|
280
178
|
pendingOwner(overrides?: CallOverrides): Promise<BigNumber>;
|
|
281
179
|
|
|
282
|
-
readFeesAndImpliedRate(
|
|
283
|
-
markets: string[],
|
|
284
|
-
overrides?: CallOverrides
|
|
285
|
-
): Promise<BigNumber>;
|
|
286
|
-
|
|
287
|
-
router(overrides?: CallOverrides): Promise<BigNumber>;
|
|
288
|
-
|
|
289
|
-
setFees(
|
|
290
|
-
markets: string[],
|
|
291
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
292
|
-
): Promise<BigNumber>;
|
|
293
|
-
|
|
294
180
|
transferOwnership(
|
|
295
181
|
newOwner: string,
|
|
296
182
|
direct: boolean,
|
|
@@ -304,29 +190,10 @@ export interface PendleFeeSetter extends BaseContract {
|
|
|
304
190
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
305
191
|
): Promise<PopulatedTransaction>;
|
|
306
192
|
|
|
307
|
-
initialize(
|
|
308
|
-
_owner: string,
|
|
309
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
310
|
-
): Promise<PopulatedTransaction>;
|
|
311
|
-
|
|
312
|
-
limitRouter(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
313
|
-
|
|
314
193
|
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
315
194
|
|
|
316
195
|
pendingOwner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
317
196
|
|
|
318
|
-
readFeesAndImpliedRate(
|
|
319
|
-
markets: string[],
|
|
320
|
-
overrides?: CallOverrides
|
|
321
|
-
): Promise<PopulatedTransaction>;
|
|
322
|
-
|
|
323
|
-
router(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
324
|
-
|
|
325
|
-
setFees(
|
|
326
|
-
markets: string[],
|
|
327
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
328
|
-
): Promise<PopulatedTransaction>;
|
|
329
|
-
|
|
330
197
|
transferOwnership(
|
|
331
198
|
newOwner: string,
|
|
332
199
|
direct: boolean,
|