@pendle/core-v2 6.1.3-sweed → 6.1.4
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/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/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/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 +70 -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/IPFixedPricePTAMM.json +68 -0
- 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/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/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/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/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
- 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/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
- 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/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/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- 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/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/cross-chain/FixedPricePTAMM.sol +45 -3
- package/contracts/interfaces/IPFixedPricePTAMM.sol +14 -0
- package/package.json +2 -2
- package/typechain-types/BasePendleBridgedPrincipalToken.ts +1689 -0
- package/typechain-types/FixedPricePTAMM.ts +98 -0
- package/typechain-types/IPFixedPricePTAMM.ts +98 -0
- package/typechain-types/PendleBridgedPrincipalToken_18Decimals.ts +1689 -0
- package/typechain-types/PendleBridgedPrincipalToken_6Decimals.ts +1689 -0
- package/typechain-types/PendleBridgedPrincipalToken_8Decimals.ts +1689 -0
- package/typechain-types/PendleERC20Upg.ts +0 -21
- package/typechain-types/{Tracker.ts → PendleFeeSetter.ts} +60 -155
- package/typechain-types/factories/BasePendleBridgedPrincipalToken__factory.ts +1548 -0
- package/typechain-types/factories/FixedPricePTAMM__factory.ts +69 -1
- package/typechain-types/factories/IPFixedPricePTAMM__factory.ts +68 -0
- package/typechain-types/factories/PendleBridgedPrincipalToken_18Decimals__factory.ts +1652 -0
- package/typechain-types/factories/PendleBridgedPrincipalToken_6Decimals__factory.ts +1650 -0
- package/typechain-types/factories/PendleBridgedPrincipalToken_8Decimals__factory.ts +1650 -0
- package/typechain-types/factories/PendleERC20Upg__factory.ts +0 -13
- package/typechain-types/factories/PendleFeeSetter__factory.ts +257 -0
- package/typechain-types/hardhat.d.ts +0 -18
- package/typechain-types/index.ts +0 -4
- package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.json +0 -141
- package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +0 -338
- package/contracts/interfaces/IMarketSweed.sol +0 -23
- package/contracts/offchain-helpers/MarketSweed.sol +0 -239
- package/typechain-types/ActionBase.ts +0 -81
- package/typechain-types/ActionInputTracker.ts +0 -81
- package/typechain-types/BoringOwnableUpgradeable.ts +0 -203
- package/typechain-types/BoringOwnableUpgradeable__deprecated.ts +0 -204
- package/typechain-types/IMarketSweed.ts +0 -203
- package/typechain-types/IPReentrancyGuardUpg.ts +0 -89
- package/typechain-types/ITracker.ts +0 -224
- package/typechain-types/MarketSweed.ts +0 -255
- package/typechain-types/PendleMarket.ts +0 -1257
- package/typechain-types/PendleMarketFactory.ts +0 -906
- package/typechain-types/PendleMarketFactoryUpg.ts +0 -773
- package/typechain-types/PendleMarketFactoryV3Upg.ts +0 -760
- package/typechain-types/PendleReentrancyGuardUpg.ts +0 -100
- package/typechain-types/PendleYieldContractFactoryUpg.ts +0 -820
- package/typechain-types/factories/ActionBase__factory.ts +0 -36
- package/typechain-types/factories/ActionInputTracker__factory.ts +0 -39
- package/typechain-types/factories/BoringOwnableUpgradeable__deprecated__factory.ts +0 -120
- package/typechain-types/factories/BoringOwnableUpgradeable__factory.ts +0 -118
- package/typechain-types/factories/IMarketSweed__factory.ts +0 -153
- package/typechain-types/factories/IPReentrancyGuardUpg__factory.ts +0 -43
- package/typechain-types/factories/ITracker__factory.ts +0 -114
- package/typechain-types/factories/MarketSweed__factory.ts +0 -396
- package/typechain-types/factories/PendleMarketFactoryUpg__factory.ts +0 -732
- package/typechain-types/factories/PendleMarketFactoryV3Upg__factory.ts +0 -719
- package/typechain-types/factories/PendleMarketFactory__factory.ts +0 -748
- package/typechain-types/factories/PendleMarket__factory.ts +0 -1266
- package/typechain-types/factories/PendleReentrancyGuardUpg__factory.ts +0 -56
- package/typechain-types/factories/PendleYieldContractFactoryUpg__factory.ts +0 -692
- package/typechain-types/factories/Tracker__factory.ts +0 -303
|
@@ -166,19 +166,6 @@ const _abi = [
|
|
|
166
166
|
stateMutability: "view",
|
|
167
167
|
type: "function",
|
|
168
168
|
},
|
|
169
|
-
{
|
|
170
|
-
inputs: [],
|
|
171
|
-
name: "reentrancyGuardEntered",
|
|
172
|
-
outputs: [
|
|
173
|
-
{
|
|
174
|
-
internalType: "bool",
|
|
175
|
-
name: "",
|
|
176
|
-
type: "bool",
|
|
177
|
-
},
|
|
178
|
-
],
|
|
179
|
-
stateMutability: "view",
|
|
180
|
-
type: "function",
|
|
181
|
-
},
|
|
182
169
|
{
|
|
183
170
|
inputs: [],
|
|
184
171
|
name: "symbol",
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
+
import type {
|
|
7
|
+
PendleFeeSetter,
|
|
8
|
+
PendleFeeSetterInterface,
|
|
9
|
+
} from "../PendleFeeSetter";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "address",
|
|
16
|
+
name: "_router",
|
|
17
|
+
type: "address",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
internalType: "address",
|
|
21
|
+
name: "_limitRouter",
|
|
22
|
+
type: "address",
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
stateMutability: "nonpayable",
|
|
26
|
+
type: "constructor",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
anonymous: false,
|
|
30
|
+
inputs: [
|
|
31
|
+
{
|
|
32
|
+
indexed: false,
|
|
33
|
+
internalType: "uint8",
|
|
34
|
+
name: "version",
|
|
35
|
+
type: "uint8",
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
name: "Initialized",
|
|
39
|
+
type: "event",
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
anonymous: false,
|
|
43
|
+
inputs: [
|
|
44
|
+
{
|
|
45
|
+
indexed: true,
|
|
46
|
+
internalType: "address",
|
|
47
|
+
name: "previousOwner",
|
|
48
|
+
type: "address",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
indexed: true,
|
|
52
|
+
internalType: "address",
|
|
53
|
+
name: "newOwner",
|
|
54
|
+
type: "address",
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
name: "OwnershipTransferred",
|
|
58
|
+
type: "event",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
inputs: [],
|
|
62
|
+
name: "claimOwnership",
|
|
63
|
+
outputs: [],
|
|
64
|
+
stateMutability: "nonpayable",
|
|
65
|
+
type: "function",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
inputs: [
|
|
69
|
+
{
|
|
70
|
+
internalType: "address",
|
|
71
|
+
name: "_owner",
|
|
72
|
+
type: "address",
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
name: "initialize",
|
|
76
|
+
outputs: [],
|
|
77
|
+
stateMutability: "nonpayable",
|
|
78
|
+
type: "function",
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
inputs: [],
|
|
82
|
+
name: "limitRouter",
|
|
83
|
+
outputs: [
|
|
84
|
+
{
|
|
85
|
+
internalType: "contract IPLimitRouter",
|
|
86
|
+
name: "",
|
|
87
|
+
type: "address",
|
|
88
|
+
},
|
|
89
|
+
],
|
|
90
|
+
stateMutability: "view",
|
|
91
|
+
type: "function",
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
inputs: [],
|
|
95
|
+
name: "owner",
|
|
96
|
+
outputs: [
|
|
97
|
+
{
|
|
98
|
+
internalType: "address",
|
|
99
|
+
name: "",
|
|
100
|
+
type: "address",
|
|
101
|
+
},
|
|
102
|
+
],
|
|
103
|
+
stateMutability: "view",
|
|
104
|
+
type: "function",
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
inputs: [],
|
|
108
|
+
name: "pendingOwner",
|
|
109
|
+
outputs: [
|
|
110
|
+
{
|
|
111
|
+
internalType: "address",
|
|
112
|
+
name: "",
|
|
113
|
+
type: "address",
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
stateMutability: "view",
|
|
117
|
+
type: "function",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
inputs: [
|
|
121
|
+
{
|
|
122
|
+
internalType: "address[]",
|
|
123
|
+
name: "markets",
|
|
124
|
+
type: "address[]",
|
|
125
|
+
},
|
|
126
|
+
],
|
|
127
|
+
name: "readFeesAndImpliedRate",
|
|
128
|
+
outputs: [
|
|
129
|
+
{
|
|
130
|
+
internalType: "uint256[]",
|
|
131
|
+
name: "routerLnFeeRateRoots",
|
|
132
|
+
type: "uint256[]",
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
internalType: "uint256[]",
|
|
136
|
+
name: "limitLnFeeRateRoots",
|
|
137
|
+
type: "uint256[]",
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
internalType: "uint256[]",
|
|
141
|
+
name: "lnImpliedRates",
|
|
142
|
+
type: "uint256[]",
|
|
143
|
+
},
|
|
144
|
+
],
|
|
145
|
+
stateMutability: "view",
|
|
146
|
+
type: "function",
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
inputs: [],
|
|
150
|
+
name: "router",
|
|
151
|
+
outputs: [
|
|
152
|
+
{
|
|
153
|
+
internalType: "address",
|
|
154
|
+
name: "",
|
|
155
|
+
type: "address",
|
|
156
|
+
},
|
|
157
|
+
],
|
|
158
|
+
stateMutability: "view",
|
|
159
|
+
type: "function",
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
inputs: [
|
|
163
|
+
{
|
|
164
|
+
internalType: "address[]",
|
|
165
|
+
name: "markets",
|
|
166
|
+
type: "address[]",
|
|
167
|
+
},
|
|
168
|
+
],
|
|
169
|
+
name: "setFees",
|
|
170
|
+
outputs: [],
|
|
171
|
+
stateMutability: "nonpayable",
|
|
172
|
+
type: "function",
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
inputs: [
|
|
176
|
+
{
|
|
177
|
+
internalType: "address",
|
|
178
|
+
name: "newOwner",
|
|
179
|
+
type: "address",
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
internalType: "bool",
|
|
183
|
+
name: "direct",
|
|
184
|
+
type: "bool",
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
internalType: "bool",
|
|
188
|
+
name: "renounce",
|
|
189
|
+
type: "bool",
|
|
190
|
+
},
|
|
191
|
+
],
|
|
192
|
+
name: "transferOwnership",
|
|
193
|
+
outputs: [],
|
|
194
|
+
stateMutability: "nonpayable",
|
|
195
|
+
type: "function",
|
|
196
|
+
},
|
|
197
|
+
];
|
|
198
|
+
|
|
199
|
+
const _bytecode =
|
|
200
|
+
"0x60c060405234801561000f575f5ffd5b50604051611d6f380380611d6f83398101604081905261002e91610134565b61003661004d565b6001600160a01b039182166080521660a052610165565b600154600160a81b900460ff16156100bb5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600154600160a01b900460ff90811614610117576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b80516001600160a01b038116811461012f575f5ffd5b919050565b5f5f60408385031215610145575f5ffd5b61014e83610119565b915061015c60208401610119565b90509250929050565b60805160a051611bc76101a85f395f818160f50152818161058d0152610a2e01525f8181610151015281816104b9015281816108d60152610b7a0152611bc75ff3fe608060405234801561000f575f5ffd5b5060043610610081575f3560e01c8063078dfbe7146100855780633758361b1461009a5780634e71e0c8146100ad5780638da5cb5b146100b5578063c4d66de8146100dd578063df699830146100f0578063e30c397814610117578063e9a4213c1461012a578063f887ea401461014c575b5f5ffd5b610098610093366004611701565b610173565b005b6100986100a83660046117b0565b610275565b6100986105f9565b5f546100c7906001600160a01b031681565b6040516100d49190611862565b60405180910390f35b6100986100eb366004611876565b6106a1565b6100c77f000000000000000000000000000000000000000000000000000000000000000081565b6001546100c7906001600160a01b031681565b61013d6101383660046117b0565b6107cb565b6040516100d4939291906118cb565b6100c77f000000000000000000000000000000000000000000000000000000000000000081565b5f546001600160a01b031633146101a55760405162461bcd60e51b815260040161019c9061190d565b60405180910390fd5b8115610253576001600160a01b0383161515806101bf5750805b6102035760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b604482015260640161019c565b5f80546040516001600160a01b03808716939216915f516020611b725f395f51905f5291a35f80546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0385166001600160a01b0319909116179055505050565b5f546001600160a01b0316331461029e5760405162461bcd60e51b815260040161019c9061190d565b80515f816001600160401b038111156102b9576102b9611743565b6040519080825280602002602001820160405280156102e2578160200160208202803683370190505b5090505f826001600160401b038111156102fe576102fe611743565b604051908082528060200260200182016040528015610327578160200160208202803683370190505b5090505f5b83811015610575575f85828151811061034757610347611942565b60200260200101516001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa15801561038a573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103ae9190611956565b925050505f5f6103d68885815181106103c9576103c9611942565b6020026020010151610afa565b91509150828685815181106103ed576103ed611942565b60200260200101906001600160a01b031690816001600160a01b0316815250508085858151811061042057610420611942565b6020026020010181815250505f88858151811061043f5761043f611942565b60200260200101516001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610482573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104a691906119ab565b9050806001600160a01b031663c821db0d7f00000000000000000000000000000000000000000000000000000000000000008b88815181106104ea576104ea611942565b60200260200101516104fb87610c9b565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160501b031660448201526064015f604051808303815f87803b158015610550575f5ffd5b505af1158015610562573d5f5f3e3d5ffd5b505050505050505080600101905061032c565b5060405163097cf58b60e41b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906397cf58b0906105c690859085905f906004016119c6565b5f604051808303815f87803b1580156105dd575f5ffd5b505af11580156105ef573d5f5f3e3d5ffd5b5050505050505050565b6001546001600160a01b03163381146106545760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572604482015260640161019c565b5f80546040516001600160a01b03808516939216915f516020611b725f395f51905f5291a35f80546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b600154600160a81b900460ff16158080156106c7575060018054600160a01b900460ff16105b806106e75750303b1580156106e7575060018054600160a01b900460ff16145b61074a5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161019c565b6001805460ff60a01b1916600160a01b1790558015610777576001805460ff60a81b1916600160a81b1790555b61078082610cb3565b80156107c7576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b60608060605f84519050806001600160401b038111156107ed576107ed611743565b604051908082528060200260200182016040528015610816578160200160208202803683370190505b509350806001600160401b0381111561083157610831611743565b60405190808252806020026020018201604052801561085a578160200160208202803683370190505b509250806001600160401b0381111561087557610875611743565b60405190808252806020026020018201604052801561089e578160200160208202803683370190505b5091505f5b81811015610af1575f8682815181106108be576108be611942565b60200260200101516001600160a01b031663794052f37f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b81526004016109119190611862565b61012060405180830381865afa15801561092d573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109519190611a30565b90508060c0015186838151811061096a5761096a611942565b60200260200101818152505080610100015184838151811061098e5761098e611942565b6020026020010181815250505f8783815181106109ad576109ad611942565b60200260200101516001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156109f0573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a149190611956565b604051632545e4bd60e01b81529093506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169250632545e4bd9150610a65908490600401611862565b602060405180830381865afa925050508015610a9e575060408051601f3d908101601f19168201909252610a9b91810190611ab0565b60015b610ac6575f868481518110610ab557610ab5611942565b602002602001018181525050610ae7565b80878581518110610ad957610ad9611942565b602002602001018181525050505b50506001016108a3565b50509193909250565b5f5f5f836001600160a01b031663e4f8b2e96040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b39573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b5d9190611ac7565b6001600160501b031690505f846001600160a01b031663794052f37f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b8152600401610bb59190611862565b61012060405180830381865afa158015610bd1573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf59190611a30565b90505f610c16610c11610c0c846101000151610d41565b610d55565b611166565b90505f670de0b6b3a7640000604d610c2e8285611b01565b610c389190611b28565b610c429190611b47565b90505f610c59610c11610c5484610d41565b611173565b9050610c658582611209565b9650610c8f6064610c77836085611b5a565b610c819190611b28565b66ad566553da1bc390611209565b95505050505050915091565b5f6001600160501b03821115610caf575f5ffd5b5090565b600154600160a81b900460ff16610d205760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840161019c565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b5f6001600160ff1b03821115610caf575f5ffd5b5f680238fd42c5cf03ffff198212158015610d79575068070c1cc73b00c800008213155b610db85760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b604482015260640161019c565b5f821215610dee57610dcb825f03610d55565b6a0c097ce7bc90715b34b9f160241b81610de757610de7611b14565b0592915050565b5f6806f05b59d3b20000008312610e2b57506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b610e61565b6803782dace9d90000008312610e5d57506803782dace9d8ffffff19909101906b1425982cf597cd205cef7380610e61565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac620000008412610eb15768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d6310000008412610eed576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b188000008412610f2757682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c4000008412610f61576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac62000008412610f9a57680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d631000008412610fd35768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b1880000841261100c576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c4000084126110455768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b5f5f821215610caf575f5ffd5b5f5f82136111b35760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b604482015260640161019c565b670c7d713b49da0000821380156111d15750670f43fc2c04ee000082125b156111f557670de0b6b3a76400006111e883611220565b81610de757610de7611b14565b6111fe8261133d565b92915050565b919050565b5f8183106112175781611219565b825b9392505050565b670de0b6b3a7640000025f806a0c097ce7bc90715b34b9f160241b808401906ec097ce7bc90715b34b9f0fffffffff198501028161126057611260611b14565b0590505f6a0c097ce7bc90715b34b9f160241b82800205905081806a0c097ce7bc90715b34b9f160241b81840205915060038205016a0c097ce7bc90715b34b9f160241b82840205915060058205016a0c097ce7bc90715b34b9f160241b82840205915060078205016a0c097ce7bc90715b34b9f160241b82840205915060098205016a0c097ce7bc90715b34b9f160241b828402059150600b8205016a0c097ce7bc90715b34b9f160241b828402059150600d8205016a0c097ce7bc90715b34b9f160241b828402059150600f82050160020295945050505050565b5f670de0b6b3a764000082121561137c57611374826a0c097ce7bc90715b34b9f160241b8161136e5761136e611b14565b0561133d565b5f0392915050565b5f775803bcc5cb9634ba4cfb2213f784019318ed4dcb6017880f60361b83126113c65772195e54c5dd42177f53a27172fa9ec63026282760241b830592506806f05b59d3b2000000015b6f8bcc0026baae9e45e470190267a230cf60191b83126113fd576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff00840008312611445576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a7008312611480576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf85083126114b757693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e283126114ee57690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d0383126115235768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb41746121110831261154e57680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d8312611583576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f177578893793783126115b8576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b28660383126115ec576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac8312611620576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b5f68056bc75e2d63100000840168056bc75e2d63100000808603028161164857611648611b14565b0590505f68056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b6001600160a01b03811681146116ef575f5ffd5b50565b80358015158114611204575f5ffd5b5f5f5f60608486031215611713575f5ffd5b833561171e816116db565b925061172c602085016116f2565b915061173a604085016116f2565b90509250925092565b634e487b7160e01b5f52604160045260245ffd5b60405161012081016001600160401b038111828210171561177a5761177a611743565b60405290565b604051601f8201601f191681016001600160401b03811182821017156117a8576117a8611743565b604052919050565b5f602082840312156117c0575f5ffd5b81356001600160401b038111156117d5575f5ffd5b8201601f810184136117e5575f5ffd5b80356001600160401b038111156117fe576117fe611743565b8060051b61180e60208201611780565b91825260208184018101929081019087841115611829575f5ffd5b6020850194505b838510156118575784359250611845836116db565b82825260209485019490910190611830565b979650505050505050565b6001600160a01b0391909116815260200190565b5f60208284031215611886575f5ffd5b8135611219816116db565b5f8151808452602084019350602083015f5b828110156118c15781518652602095860195909101906001016118a3565b5093949350505050565b606081525f6118dd6060830186611891565b82810360208401526118ef8186611891565b905082810360408401526119038185611891565b9695505050505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b5f5f5f60608486031215611968575f5ffd5b8351611973816116db565b6020850151909350611984816116db565b6040850151909250611995816116db565b809150509250925092565b8051611204816116db565b5f602082840312156119bb575f5ffd5b8151611219816116db565b606080825284519082018190525f9060208601906080840190835b81811015611a085783516001600160a01b03168352602093840193909201916001016119e1565b50508381036020850152611a1c8187611891565b925050508215156040830152949350505050565b5f610120828403128015611a42575f5ffd5b50611a4b611757565b825181526020808401519082015260408084015190820152611a6f606084016119a0565b60608201526080838101519082015260a0808401519082015260c0808401519082015260e08084015190820152610100928301519281019290925250919050565b5f60208284031215611ac0575f5ffd5b5051919050565b5f60208284031215611ad7575f5ffd5b81516001600160501b0381168114611219575f5ffd5b634e487b7160e01b5f52601160045260245ffd5b818103818111156111fe576111fe611aed565b634e487b7160e01b5f52601260045260245ffd5b5f82611b4257634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156111fe576111fe611aed565b80820281158282048414176111fe576111fe611aed56fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a2646970667358221220823abe1feb6d0eaafe7bdb329aba63490aeaed6c83a5068c293723714b6b959064736f6c634300081e0033";
|
|
201
|
+
|
|
202
|
+
type PendleFeeSetterConstructorParams =
|
|
203
|
+
| [signer?: Signer]
|
|
204
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
205
|
+
|
|
206
|
+
const isSuperArgs = (
|
|
207
|
+
xs: PendleFeeSetterConstructorParams
|
|
208
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
209
|
+
|
|
210
|
+
export class PendleFeeSetter__factory extends ContractFactory {
|
|
211
|
+
constructor(...args: PendleFeeSetterConstructorParams) {
|
|
212
|
+
if (isSuperArgs(args)) {
|
|
213
|
+
super(...args);
|
|
214
|
+
} else {
|
|
215
|
+
super(_abi, _bytecode, args[0]);
|
|
216
|
+
}
|
|
217
|
+
this.contractName = "PendleFeeSetter";
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
deploy(
|
|
221
|
+
_router: string,
|
|
222
|
+
_limitRouter: string,
|
|
223
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
224
|
+
): Promise<PendleFeeSetter> {
|
|
225
|
+
return super.deploy(
|
|
226
|
+
_router,
|
|
227
|
+
_limitRouter,
|
|
228
|
+
overrides || {}
|
|
229
|
+
) as Promise<PendleFeeSetter>;
|
|
230
|
+
}
|
|
231
|
+
getDeployTransaction(
|
|
232
|
+
_router: string,
|
|
233
|
+
_limitRouter: string,
|
|
234
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
235
|
+
): TransactionRequest {
|
|
236
|
+
return super.getDeployTransaction(_router, _limitRouter, overrides || {});
|
|
237
|
+
}
|
|
238
|
+
attach(address: string): PendleFeeSetter {
|
|
239
|
+
return super.attach(address) as PendleFeeSetter;
|
|
240
|
+
}
|
|
241
|
+
connect(signer: Signer): PendleFeeSetter__factory {
|
|
242
|
+
return super.connect(signer) as PendleFeeSetter__factory;
|
|
243
|
+
}
|
|
244
|
+
static readonly contractName: "PendleFeeSetter";
|
|
245
|
+
public readonly contractName: "PendleFeeSetter";
|
|
246
|
+
static readonly bytecode = _bytecode;
|
|
247
|
+
static readonly abi = _abi;
|
|
248
|
+
static createInterface(): PendleFeeSetterInterface {
|
|
249
|
+
return new utils.Interface(_abi) as PendleFeeSetterInterface;
|
|
250
|
+
}
|
|
251
|
+
static connect(
|
|
252
|
+
address: string,
|
|
253
|
+
signerOrProvider: Signer | Provider
|
|
254
|
+
): PendleFeeSetter {
|
|
255
|
+
return new Contract(address, _abi, signerOrProvider) as PendleFeeSetter;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
@@ -368,10 +368,6 @@ declare module "hardhat/types/runtime" {
|
|
|
368
368
|
name: "ILPWrapper",
|
|
369
369
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
370
370
|
): Promise<Contracts.ILPWrapper__factory>;
|
|
371
|
-
getContractFactory(
|
|
372
|
-
name: "IMarketSweed",
|
|
373
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
374
|
-
): Promise<Contracts.IMarketSweed__factory>;
|
|
375
371
|
getContractFactory(
|
|
376
372
|
name: "IOwnable",
|
|
377
373
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -808,10 +804,6 @@ declare module "hardhat/types/runtime" {
|
|
|
808
804
|
name: "LimitBackendHelperV2",
|
|
809
805
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
810
806
|
): Promise<Contracts.LimitBackendHelperV2__factory>;
|
|
811
|
-
getContractFactory(
|
|
812
|
-
name: "MarketSweed",
|
|
813
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
814
|
-
): Promise<Contracts.MarketSweed__factory>;
|
|
815
807
|
getContractFactory(
|
|
816
808
|
name: "Multicall2",
|
|
817
809
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -1462,11 +1454,6 @@ declare module "hardhat/types/runtime" {
|
|
|
1462
1454
|
address: string,
|
|
1463
1455
|
signer?: ethers.Signer
|
|
1464
1456
|
): Promise<Contracts.ILPWrapper>;
|
|
1465
|
-
getContractAt(
|
|
1466
|
-
name: "IMarketSweed",
|
|
1467
|
-
address: string,
|
|
1468
|
-
signer?: ethers.Signer
|
|
1469
|
-
): Promise<Contracts.IMarketSweed>;
|
|
1470
1457
|
getContractAt(
|
|
1471
1458
|
name: "IOwnable",
|
|
1472
1459
|
address: string,
|
|
@@ -2012,11 +1999,6 @@ declare module "hardhat/types/runtime" {
|
|
|
2012
1999
|
address: string,
|
|
2013
2000
|
signer?: ethers.Signer
|
|
2014
2001
|
): Promise<Contracts.LimitBackendHelperV2>;
|
|
2015
|
-
getContractAt(
|
|
2016
|
-
name: "MarketSweed",
|
|
2017
|
-
address: string,
|
|
2018
|
-
signer?: ethers.Signer
|
|
2019
|
-
): Promise<Contracts.MarketSweed>;
|
|
2020
2002
|
getContractAt(
|
|
2021
2003
|
name: "Multicall2",
|
|
2022
2004
|
address: string,
|
package/typechain-types/index.ts
CHANGED
|
@@ -88,7 +88,6 @@ export type { PendleFeeDistributorV2 } from "./PendleFeeDistributorV2";
|
|
|
88
88
|
export type { IAddressProvider } from "./IAddressProvider";
|
|
89
89
|
export type { ILayerZeroEndpoint } from "./ILayerZeroEndpoint";
|
|
90
90
|
export type { ILPWrapper } from "./ILPWrapper";
|
|
91
|
-
export type { IMarketSweed } from "./IMarketSweed";
|
|
92
91
|
export type { IOwnable } from "./IOwnable";
|
|
93
92
|
export type { IPActionAddRemoveLiqV3 } from "./IPActionAddRemoveLiqV3";
|
|
94
93
|
export type { IPActionCallbackV3 } from "./IPActionCallbackV3";
|
|
@@ -198,7 +197,6 @@ export type { ExpiredLpPtRedeemer } from "./ExpiredLpPtRedeemer";
|
|
|
198
197
|
export type { LegacyNFTHelper } from "./LegacyNFTHelper";
|
|
199
198
|
export type { StarNFTV1 } from "./StarNFTV1";
|
|
200
199
|
export type { LimitBackendHelperV2 } from "./LimitBackendHelperV2";
|
|
201
|
-
export type { MarketSweed } from "./MarketSweed";
|
|
202
200
|
export type { Multicall2 } from "./Multicall2";
|
|
203
201
|
export type { PendleExchangeRateOracle } from "./PendleExchangeRateOracle";
|
|
204
202
|
export type { PendleGovernanceProxy } from "./PendleGovernanceProxy";
|
|
@@ -338,7 +336,6 @@ export { PendleFeeDistributorV2__factory } from "./factories/PendleFeeDistributo
|
|
|
338
336
|
export { IAddressProvider__factory } from "./factories/IAddressProvider__factory";
|
|
339
337
|
export { ILayerZeroEndpoint__factory } from "./factories/ILayerZeroEndpoint__factory";
|
|
340
338
|
export { ILPWrapper__factory } from "./factories/ILPWrapper__factory";
|
|
341
|
-
export { IMarketSweed__factory } from "./factories/IMarketSweed__factory";
|
|
342
339
|
export { IOwnable__factory } from "./factories/IOwnable__factory";
|
|
343
340
|
export { IPActionAddRemoveLiqV3__factory } from "./factories/IPActionAddRemoveLiqV3__factory";
|
|
344
341
|
export { IPActionCallbackV3__factory } from "./factories/IPActionCallbackV3__factory";
|
|
@@ -448,7 +445,6 @@ export { ExpiredLpPtRedeemer__factory } from "./factories/ExpiredLpPtRedeemer__f
|
|
|
448
445
|
export { LegacyNFTHelper__factory } from "./factories/LegacyNFTHelper__factory";
|
|
449
446
|
export { StarNFTV1__factory } from "./factories/StarNFTV1__factory";
|
|
450
447
|
export { LimitBackendHelperV2__factory } from "./factories/LimitBackendHelperV2__factory";
|
|
451
|
-
export { MarketSweed__factory } from "./factories/MarketSweed__factory";
|
|
452
448
|
export { Multicall2__factory } from "./factories/Multicall2__factory";
|
|
453
449
|
export { PendleExchangeRateOracle__factory } from "./factories/PendleExchangeRateOracle__factory";
|
|
454
450
|
export { PendleGovernanceProxy__factory } from "./factories/PendleGovernanceProxy__factory";
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "IMarketSweed",
|
|
4
|
-
"sourceName": "contracts/interfaces/IMarketSweed.sol",
|
|
5
|
-
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"inputs": [
|
|
8
|
-
{
|
|
9
|
-
"internalType": "address",
|
|
10
|
-
"name": "receiver",
|
|
11
|
-
"type": "address"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"internalType": "address",
|
|
15
|
-
"name": "market",
|
|
16
|
-
"type": "address"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"internalType": "uint256",
|
|
20
|
-
"name": "minLpOut",
|
|
21
|
-
"type": "uint256"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"internalType": "uint256",
|
|
25
|
-
"name": "minYtOut",
|
|
26
|
-
"type": "uint256"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"components": [
|
|
30
|
-
{
|
|
31
|
-
"internalType": "address",
|
|
32
|
-
"name": "tokenIn",
|
|
33
|
-
"type": "address"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"internalType": "uint256",
|
|
37
|
-
"name": "netTokenIn",
|
|
38
|
-
"type": "uint256"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"internalType": "address",
|
|
42
|
-
"name": "tokenMintSy",
|
|
43
|
-
"type": "address"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"internalType": "address",
|
|
47
|
-
"name": "pendleSwap",
|
|
48
|
-
"type": "address"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"components": [
|
|
52
|
-
{
|
|
53
|
-
"internalType": "enum SwapType",
|
|
54
|
-
"name": "swapType",
|
|
55
|
-
"type": "uint8"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"internalType": "address",
|
|
59
|
-
"name": "extRouter",
|
|
60
|
-
"type": "address"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"internalType": "bytes",
|
|
64
|
-
"name": "extCalldata",
|
|
65
|
-
"type": "bytes"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"internalType": "bool",
|
|
69
|
-
"name": "needScale",
|
|
70
|
-
"type": "bool"
|
|
71
|
-
}
|
|
72
|
-
],
|
|
73
|
-
"internalType": "struct SwapData",
|
|
74
|
-
"name": "swapData",
|
|
75
|
-
"type": "tuple"
|
|
76
|
-
}
|
|
77
|
-
],
|
|
78
|
-
"internalType": "struct TokenInput",
|
|
79
|
-
"name": "input",
|
|
80
|
-
"type": "tuple"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"components": [
|
|
84
|
-
{
|
|
85
|
-
"internalType": "uint256",
|
|
86
|
-
"name": "targetLnImpliedRate",
|
|
87
|
-
"type": "uint256"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"internalType": "uint256",
|
|
91
|
-
"name": "eps",
|
|
92
|
-
"type": "uint256"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"internalType": "uint256",
|
|
96
|
-
"name": "maxPtToSwap",
|
|
97
|
-
"type": "uint256"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"internalType": "int256",
|
|
101
|
-
"name": "guessOffchain",
|
|
102
|
-
"type": "int256"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"internalType": "uint256",
|
|
106
|
-
"name": "maxIteration",
|
|
107
|
-
"type": "uint256"
|
|
108
|
-
}
|
|
109
|
-
],
|
|
110
|
-
"internalType": "struct IMarketSweed.ApproxSweedParams",
|
|
111
|
-
"name": "sweedParams",
|
|
112
|
-
"type": "tuple"
|
|
113
|
-
}
|
|
114
|
-
],
|
|
115
|
-
"name": "seedAtImpliedRate",
|
|
116
|
-
"outputs": [
|
|
117
|
-
{
|
|
118
|
-
"internalType": "uint256",
|
|
119
|
-
"name": "netLpOut",
|
|
120
|
-
"type": "uint256"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"internalType": "uint256",
|
|
124
|
-
"name": "netYtOut",
|
|
125
|
-
"type": "uint256"
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"internalType": "int256",
|
|
129
|
-
"name": "guessedAmountPtToSwap",
|
|
130
|
-
"type": "int256"
|
|
131
|
-
}
|
|
132
|
-
],
|
|
133
|
-
"stateMutability": "payable",
|
|
134
|
-
"type": "function"
|
|
135
|
-
}
|
|
136
|
-
],
|
|
137
|
-
"bytecode": "0x",
|
|
138
|
-
"deployedBytecode": "0x",
|
|
139
|
-
"linkReferences": {},
|
|
140
|
-
"deployedLinkReferences": {}
|
|
141
|
-
}
|