@pendle/core-v2 6.6.0 → 6.7.0
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/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.json +2 -88
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.json +2 -122
- 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/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.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/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.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/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.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/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/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.json +766 -0
- package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.json +99 -0
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/factory/PendleBridgePTFactory.sol/PendleBridgePTFactory.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/factory/PendleBridgePTFactory.sol/PendleBridgePTFactory.json +1388 -0
- package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.json +210 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.json +1326 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.json +46 -14
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.json +1541 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.json +1570 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.json +57 -35
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.json +1624 -0
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.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/IMarketSweed.sol/IMarketSweed.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/IPAllActionV3.sol/IPAllActionV3.json +0 -88
- 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/IPBridgeFunder.sol/IPBridgeFunder.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPBridgeFunder.sol/IPBridgeFunder.json +85 -0
- package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.json +1026 -0
- package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.json +11 -0
- 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/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.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/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMSwapCallback.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPFixedPricePTAMM.sol → IPFixedPricePTAMMV2.sol}/IPFixedPricePTAMMSwapCallback.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPFixedPricePTAMM.sol/IPFixedPricePTAMM.json → IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.json} +285 -93
- 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/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/IPLimitRouter.json +156 -0
- 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/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.json +0 -67
- 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/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.json +0 -120
- 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/IPStakedPendle.sol/IPStakedPendle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPSwapHelper.sol/IPSwapHelper.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPActionCrossChain.sol/IPActionCrossChain.json → IPSwapHelper.sol/IPSwapHelper.json} +2 -2
- 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/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/LimitMathCore.sol/LimitMathCore.json +2 -2
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.json +258 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +265 -3
- package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.dbg.json +4 -0
- package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.json +156 -0
- 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/BalanceReader.sol/ILegacyMarket.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.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/MarketSweed.sol/MarketSweed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.json +33 -2
- 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/PendleMerkleDepositor.sol/PendleMerkleDepositor.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/PendleProxyAdmin.sol/PendleProxyAdmin.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.json +171 -0
- 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/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +2 -2
- 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/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
- 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/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
- 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/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.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/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.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/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
- 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 +2 -2
- 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/ApproxStateLib.sol/ApproxStateLib.json +2 -2
- 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/MarketApproxPtInLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
- 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/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
- package/contracts/LiquidityMining/PendleMerkleDistributor.sol +1 -28
- package/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol +1 -36
- package/contracts/cross-chain/FixedPricePTAMMV2.sol +162 -0
- package/contracts/{router/ActionCrossChain.sol → cross-chain/PendleSwapHelper.sol} +11 -7
- package/contracts/cross-chain/factory/PendleBridgePTFactory.sol +495 -0
- package/contracts/cross-chain/funder/BridgeFunder.sol +61 -0
- package/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol +56 -0
- package/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol +14 -6
- package/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol +11 -0
- package/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol +52 -0
- package/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol +33 -24
- package/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol +55 -0
- package/contracts/interfaces/IPAllActionTypeV3.sol +1 -0
- package/contracts/interfaces/IPAllActionV3.sol +1 -3
- package/contracts/interfaces/IPBridgeFunder.sol +17 -0
- package/contracts/interfaces/IPBridgePTFactory.sol +129 -0
- package/contracts/interfaces/IPBridgedPrincipalToken.sol +4 -2
- package/contracts/interfaces/IPFixedPricePTAMMV2.sol +58 -0
- package/contracts/interfaces/IPLimitRouter.sol +22 -0
- package/contracts/interfaces/IPMerkleDistributor.sol +0 -7
- package/contracts/interfaces/IPMultiTokenMerkleDistributor.sol +0 -10
- package/contracts/interfaces/{IPActionCrossChain.sol → IPSwapHelper.sol} +1 -1
- package/contracts/limit/LimitRouterBase.sol +101 -47
- package/contracts/limit/PendleLimitRouter.sol +1 -1
- package/contracts/limit/helpers/MintSyHelper.sol +114 -0
- package/contracts/offchain-helpers/PendleFeeSetter.sol +19 -1
- package/contracts/offchain-helpers/PendleProxyAdmin.sol +11 -0
- package/contracts/router/base/ActionBase.sol +16 -2
- package/contracts/router/swap-aggregator/OKXScaleHelper.sol +4 -1
- package/deployments/1-core.json +1 -0
- package/deployments/1-offchain-helper.json +1 -1
- package/deployments/10-core.json +1 -0
- package/deployments/10-offchain-helper.json +1 -1
- package/deployments/130-core.json +1 -0
- package/deployments/143-core.json +39 -2
- package/deployments/143-offchain-helper.json +11 -0
- package/deployments/146-core.json +1 -0
- package/deployments/146-offchain-helper.json +1 -1
- package/deployments/42161-core.json +1 -0
- package/deployments/42161-offchain-helper.json +1 -1
- package/deployments/4217-core.json +15 -0
- package/deployments/43114-core.json +2 -0
- package/deployments/5000-core.json +1 -0
- package/deployments/5000-offchain-helper.json +1 -1
- package/deployments/56-core.json +1 -0
- package/deployments/56-offchain-helper.json +1 -1
- package/deployments/57073-core.json +3 -0
- package/deployments/747474-core.json +3 -0
- package/deployments/80094-core.json +1 -0
- package/deployments/80094-offchain-helper.json +1 -1
- package/deployments/8453-core.json +1 -0
- package/deployments/8453-offchain-helper.json +1 -1
- package/deployments/9745-core.json +1 -0
- package/deployments/9745-offchain-helper.json +1 -1
- package/deployments/999-core.json +1 -0
- package/deployments/999-offchain-helper.json +1 -1
- package/package.json +12 -9
- package/typechain-types/AaveMoneyMarket.ts +763 -0
- package/typechain-types/AaveMoneyMarketView.ts +460 -0
- package/typechain-types/BaseMoneyMarket.ts +697 -0
- package/typechain-types/BaseMoneyMarketView.ts +362 -0
- package/typechain-types/BridgeFunder.ts +344 -0
- package/typechain-types/DVNOptions.ts +57 -0
- package/typechain-types/ExecutorOptions.ts +57 -0
- package/typechain-types/FixedPricePTAMMV2.ts +1104 -0
- package/typechain-types/IAToken.ts +358 -0
- package/typechain-types/IAaveOracle.ts +235 -0
- package/typechain-types/IAaveRewardsController.ts +1186 -0
- package/typechain-types/IDefaultReserveInterestRateStrategyV3.ts +431 -0
- package/typechain-types/IDefaultReserveInterestRateStrategyV31.ts +606 -0
- package/typechain-types/IDssPsm.ts +194 -0
- package/typechain-types/IERC4626.ts +864 -0
- package/typechain-types/IFlashLoanReceiver.ts +125 -0
- package/typechain-types/IIrm.ts +260 -0
- package/typechain-types/IMoneyMarket.ts +700 -0
- package/typechain-types/IMoneyMarketEvents.ts +196 -0
- package/typechain-types/IMoneyMarketView.ts +331 -0
- package/typechain-types/IMorpho.ts +1147 -0
- package/typechain-types/IMorphoOracle.ts +81 -0
- package/typechain-types/IMulticall.ts +117 -0
- package/typechain-types/IPAllActionV3.ts +0 -54
- package/typechain-types/IPBridgeFunder.ts +165 -0
- package/typechain-types/IPBridgePTFactory.ts +936 -0
- package/typechain-types/IPFixedPricePTAMMV2.ts +864 -0
- package/typechain-types/IPLimitRouter.ts +104 -0
- package/typechain-types/IPLoopPositionBox.ts +298 -0
- package/typechain-types/IPLoopPositionBoxFactory.ts +434 -0
- package/typechain-types/IPMerkleDistributor.ts +0 -90
- package/typechain-types/IPMultiTokenMerkleDistributor.ts +0 -158
- package/typechain-types/IPPTLooper.ts +1550 -0
- package/typechain-types/IPPTLooperView.ts +468 -0
- package/typechain-types/IPSwapHelper.ts +161 -0
- package/typechain-types/IPool.ts +2220 -0
- package/typechain-types/IPoolAddressesProvider.ts +789 -0
- package/typechain-types/IPoolDataProviderV3.ts +865 -0
- package/typechain-types/IPoolDataProviderV31.ts +933 -0
- package/typechain-types/IPot.ts +181 -0
- package/typechain-types/IPriceOracleGetter.ts +133 -0
- package/typechain-types/ISDAI.ts +877 -0
- package/typechain-types/LimitRouterBase.ts +233 -5
- package/typechain-types/LoopPositionBox.ts +309 -0
- package/typechain-types/LoopPositionBoxFactory.ts +609 -0
- package/typechain-types/MintSyHelper.ts +230 -0
- package/typechain-types/MorphoBlueMoneyMarket.ts +731 -0
- package/typechain-types/MorphoBlueMoneyMarketView.ts +396 -0
- package/typechain-types/Multicall.ts +117 -0
- package/typechain-types/OAppPreCrimeSimulatorUpgradeable.ts +410 -0
- package/typechain-types/OFTAdapterAltImpl.ts +1381 -0
- package/typechain-types/OFTAdapterImpl.ts +50 -19
- package/typechain-types/OFTAdapterUpgradeable.ts +1337 -0
- package/typechain-types/OFTCoreUpgradeable.ts +1337 -0
- package/typechain-types/OFTUpgradeable.ts +1681 -0
- package/typechain-types/OptionsBuilder.ts +57 -0
- package/typechain-types/PTLooperBase.ts +1759 -0
- package/typechain-types/PTLooperView.ts +618 -0
- package/typechain-types/PendleBridgePTFactory.ts +1311 -0
- package/typechain-types/PendleBridgedPrincipalToken.ts +67 -20
- package/typechain-types/PendleBridgedPrincipalTokenAlt.ts +1755 -0
- package/typechain-types/PendleFeeSetter.ts +53 -0
- package/typechain-types/PendleLimitRouter.ts +233 -5
- package/typechain-types/PendleMerkleDistributor.ts +0 -106
- package/typechain-types/PendleMultiTokenMerkleDistributor.ts +0 -158
- package/typechain-types/PendleOFT.ts +1675 -0
- package/typechain-types/PendleOFTAlt.ts +1694 -0
- package/typechain-types/PendlePTLooper.ts +1784 -0
- package/typechain-types/PendlePTLooperView.ts +648 -0
- package/typechain-types/PendleProxyAdmin.ts +341 -0
- package/typechain-types/PendleSwapHelper.ts +161 -0
- package/typechain-types/ProxyAdmin.ts +341 -0
- package/typechain-types/UUPSUpgradeable.ts +0 -9
- package/typechain-types/factories/AaveMoneyMarketView__factory.ts +450 -0
- package/typechain-types/factories/AaveMoneyMarket__factory.ts +726 -0
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
- package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
- package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
- package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSimple__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/BaseMoneyMarketView__factory.ts +279 -0
- package/typechain-types/factories/BaseMoneyMarket__factory.ts +599 -0
- package/typechain-types/factories/BridgeFunder__factory.ts +265 -0
- package/typechain-types/factories/DVNOptions__factory.ts +77 -0
- package/typechain-types/factories/ExecutorOptions__factory.ts +84 -0
- package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
- package/typechain-types/factories/FixedPricePTAMMV2__factory.ts +824 -0
- package/typechain-types/factories/FixedPricePTAMM__factory.ts +1 -1
- package/typechain-types/factories/IAToken__factory.ts +258 -0
- package/typechain-types/factories/IAaveOracle__factory.ts +132 -0
- package/typechain-types/factories/IAaveRewardsController__factory.ts +743 -0
- package/typechain-types/factories/IDefaultReserveInterestRateStrategyV31__factory.ts +441 -0
- package/typechain-types/factories/IDefaultReserveInterestRateStrategyV3__factory.ts +278 -0
- package/typechain-types/factories/IDssPsm__factory.ts +122 -0
- package/typechain-types/factories/IERC4626__factory.ts +635 -0
- package/typechain-types/factories/IFlashLoanReceiver__factory.ts +65 -0
- package/typechain-types/factories/IIrm__factory.ts +243 -0
- package/typechain-types/factories/IMoneyMarketEvents__factory.ts +225 -0
- package/typechain-types/factories/IMoneyMarketView__factory.ts +253 -0
- package/typechain-types/factories/IMoneyMarket__factory.ts +596 -0
- package/typechain-types/factories/IMorphoOracle__factory.ts +36 -0
- package/typechain-types/factories/IMorpho__factory.ts +1045 -0
- package/typechain-types/factories/IMulticall__factory.ts +66 -0
- package/typechain-types/factories/IOFT__factory.ts +11 -0
- package/typechain-types/factories/IPAllActionV3__factory.ts +0 -88
- package/typechain-types/factories/IPBridgeFunder__factory.ts +100 -0
- package/typechain-types/factories/IPBridgePTFactory__factory.ts +1041 -0
- package/typechain-types/factories/IPBridgedPrincipalToken__factory.ts +11 -0
- package/typechain-types/factories/IPFixedPricePTAMMV2__factory.ts +621 -0
- package/typechain-types/factories/IPLimitRouter__factory.ts +156 -0
- package/typechain-types/factories/IPLoopPositionBoxFactory__factory.ts +420 -0
- package/typechain-types/factories/IPLoopPositionBox__factory.ts +198 -0
- package/typechain-types/factories/IPMerkleDistributor__factory.ts +0 -67
- package/typechain-types/factories/IPMultiTokenMerkleDistributor__factory.ts +0 -120
- package/typechain-types/factories/IPPTLooperView__factory.ts +331 -0
- package/typechain-types/factories/IPPTLooper__factory.ts +2506 -0
- package/typechain-types/factories/IPSwapHelper__factory.ts +111 -0
- package/typechain-types/factories/IPoolAddressesProvider__factory.ts +526 -0
- package/typechain-types/factories/IPoolDataProviderV31__factory.ts +596 -0
- package/typechain-types/factories/IPoolDataProviderV3__factory.ts +554 -0
- package/typechain-types/factories/IPool__factory.ts +1609 -0
- package/typechain-types/factories/IPot__factory.ts +98 -0
- package/typechain-types/factories/IPriceOracleGetter__factory.ts +71 -0
- package/typechain-types/factories/ISDAI__factory.ts +645 -0
- package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
- package/typechain-types/factories/LimitRouterBase__factory.ts +258 -1
- package/typechain-types/factories/LoopPositionBoxFactory__factory.ts +648 -0
- package/typechain-types/factories/LoopPositionBox__factory.ts +277 -0
- package/typechain-types/factories/MarketSweed__factory.ts +1 -1
- package/typechain-types/factories/MintSyHelper__factory.ts +168 -0
- package/typechain-types/factories/MorphoBlueMoneyMarketView__factory.ts +384 -0
- package/typechain-types/factories/MorphoBlueMoneyMarket__factory.ts +691 -0
- package/typechain-types/factories/Multicall__factory.ts +104 -0
- package/typechain-types/factories/OAppPreCrimeSimulatorUpgradeable__factory.ts +311 -0
- package/typechain-types/factories/OFTAdapterAltImpl__factory.ts +1387 -0
- package/typechain-types/factories/OFTAdapterImpl__factory.ts +49 -25
- package/typechain-types/factories/OFTAdapterUpgradeable__factory.ts +1287 -0
- package/typechain-types/factories/OFTAdapter__factory.ts +11 -0
- package/typechain-types/factories/OFTCoreUpgradeable__factory.ts +1283 -0
- package/typechain-types/factories/OFTCore__factory.ts +11 -0
- package/typechain-types/factories/OFTUpgradeable__factory.ts +1553 -0
- package/typechain-types/factories/OFT__factory.ts +11 -0
- package/typechain-types/factories/OptionsBuilder__factory.ts +91 -0
- package/typechain-types/factories/PTLooperBase__factory.ts +2656 -0
- package/typechain-types/factories/PTLooperView__factory.ts +467 -0
- package/typechain-types/factories/PendleBridgePTFactory__factory.ts +1481 -0
- package/typechain-types/factories/PendleBridgedPrincipalTokenAlt__factory.ts +1704 -0
- package/typechain-types/factories/PendleBridgedPrincipalToken__factory.ts +60 -58
- package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeSetter__factory.ts +36 -1
- package/typechain-types/factories/PendleLimitRouter__factory.ts +268 -3
- package/typechain-types/factories/PendleMerkleDistributor__factory.ts +1 -87
- package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +1 -121
- package/typechain-types/factories/PendleOFTAlt__factory.ts +1628 -0
- package/typechain-types/factories/PendleOFT__factory.ts +1599 -0
- package/typechain-types/factories/PendlePTLooperView__factory.ts +499 -0
- package/typechain-types/factories/PendlePTLooper__factory.ts +2738 -0
- package/typechain-types/factories/PendlePTOFTAdapterFactory__factory.ts +1 -1
- package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleProxyAdmin__factory.ts +229 -0
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
- package/typechain-types/factories/PendleSwapHelper__factory.ts +152 -0
- package/typechain-types/factories/PendleSwap__factory.ts +1 -1
- package/typechain-types/factories/ProxyAdmin__factory.ts +210 -0
- package/typechain-types/factories/Reflector__factory.ts +1 -1
- package/typechain-types/factories/UUPSUpgradeable__factory.ts +0 -13
- package/typechain-types/hardhat.d.ts +196 -34
- package/typechain-types/index.ts +46 -10
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +0 -4
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.json +0 -667
- package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +0 -4
- package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.json +0 -280
- package/build/artifacts/contracts/interfaces/IPActionCrossChain.sol/IPActionCrossChain.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +0 -4
- package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.dbg.json +0 -4
- package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.json +0 -99
- package/contracts/cross-chain/FixedPricePTAMM.sol +0 -200
- package/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol +0 -38
- package/contracts/interfaces/IPFixedPricePTAMM.sol +0 -69
|
@@ -0,0 +1,467 @@
|
|
|
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 { PTLooperView, PTLooperViewInterface } from "../PTLooperView";
|
|
7
|
+
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "address",
|
|
13
|
+
name: "_positionBoxFactory",
|
|
14
|
+
type: "address",
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
stateMutability: "nonpayable",
|
|
18
|
+
type: "constructor",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
anonymous: false,
|
|
22
|
+
inputs: [
|
|
23
|
+
{
|
|
24
|
+
indexed: false,
|
|
25
|
+
internalType: "uint8",
|
|
26
|
+
name: "version",
|
|
27
|
+
type: "uint8",
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
name: "Initialized",
|
|
31
|
+
type: "event",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
anonymous: false,
|
|
35
|
+
inputs: [
|
|
36
|
+
{
|
|
37
|
+
indexed: false,
|
|
38
|
+
internalType: "address",
|
|
39
|
+
name: "spokeMM",
|
|
40
|
+
type: "address",
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
indexed: false,
|
|
44
|
+
internalType: "address",
|
|
45
|
+
name: "mmView",
|
|
46
|
+
type: "address",
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
name: "MoneyMarketViewRegistered",
|
|
50
|
+
type: "event",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
anonymous: false,
|
|
54
|
+
inputs: [
|
|
55
|
+
{
|
|
56
|
+
indexed: true,
|
|
57
|
+
internalType: "address",
|
|
58
|
+
name: "previousOwner",
|
|
59
|
+
type: "address",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
indexed: true,
|
|
63
|
+
internalType: "address",
|
|
64
|
+
name: "newOwner",
|
|
65
|
+
type: "address",
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
name: "OwnershipTransferred",
|
|
69
|
+
type: "event",
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
inputs: [],
|
|
73
|
+
name: "POSITION_BOX_FACTORY",
|
|
74
|
+
outputs: [
|
|
75
|
+
{
|
|
76
|
+
internalType: "contract IPLoopPositionBoxFactory",
|
|
77
|
+
name: "",
|
|
78
|
+
type: "address",
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
stateMutability: "view",
|
|
82
|
+
type: "function",
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
inputs: [],
|
|
86
|
+
name: "claimOwnership",
|
|
87
|
+
outputs: [],
|
|
88
|
+
stateMutability: "nonpayable",
|
|
89
|
+
type: "function",
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
inputs: [
|
|
93
|
+
{
|
|
94
|
+
internalType: "address",
|
|
95
|
+
name: "_owner",
|
|
96
|
+
type: "address",
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
name: "initialize",
|
|
100
|
+
outputs: [],
|
|
101
|
+
stateMutability: "nonpayable",
|
|
102
|
+
type: "function",
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
inputs: [
|
|
106
|
+
{
|
|
107
|
+
internalType: "address",
|
|
108
|
+
name: "owner",
|
|
109
|
+
type: "address",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
internalType: "bytes32",
|
|
113
|
+
name: "boxId",
|
|
114
|
+
type: "bytes32",
|
|
115
|
+
},
|
|
116
|
+
],
|
|
117
|
+
name: "limits",
|
|
118
|
+
outputs: [
|
|
119
|
+
{
|
|
120
|
+
components: [
|
|
121
|
+
{
|
|
122
|
+
internalType: "uint256",
|
|
123
|
+
name: "minBorrowing",
|
|
124
|
+
type: "uint256",
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
internalType: "uint256",
|
|
128
|
+
name: "maxBorrowing",
|
|
129
|
+
type: "uint256",
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
internalType: "uint256",
|
|
133
|
+
name: "minBorrowingForRewards",
|
|
134
|
+
type: "uint256",
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
internalType: "uint256",
|
|
138
|
+
name: "minLending",
|
|
139
|
+
type: "uint256",
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
internalType: "uint256",
|
|
143
|
+
name: "maxLending",
|
|
144
|
+
type: "uint256",
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
internalType: "uint256",
|
|
148
|
+
name: "minLendingForRewards",
|
|
149
|
+
type: "uint256",
|
|
150
|
+
},
|
|
151
|
+
],
|
|
152
|
+
internalType: "struct Limits",
|
|
153
|
+
name: "",
|
|
154
|
+
type: "tuple",
|
|
155
|
+
},
|
|
156
|
+
],
|
|
157
|
+
stateMutability: "view",
|
|
158
|
+
type: "function",
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
inputs: [
|
|
162
|
+
{
|
|
163
|
+
internalType: "address",
|
|
164
|
+
name: "owner",
|
|
165
|
+
type: "address",
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
internalType: "bytes32",
|
|
169
|
+
name: "boxId",
|
|
170
|
+
type: "bytes32",
|
|
171
|
+
},
|
|
172
|
+
],
|
|
173
|
+
name: "liquidity",
|
|
174
|
+
outputs: [
|
|
175
|
+
{
|
|
176
|
+
internalType: "uint256",
|
|
177
|
+
name: "borrowing",
|
|
178
|
+
type: "uint256",
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
internalType: "uint256",
|
|
182
|
+
name: "lending",
|
|
183
|
+
type: "uint256",
|
|
184
|
+
},
|
|
185
|
+
],
|
|
186
|
+
stateMutability: "view",
|
|
187
|
+
type: "function",
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
inputs: [
|
|
191
|
+
{
|
|
192
|
+
internalType: "address",
|
|
193
|
+
name: "owner",
|
|
194
|
+
type: "address",
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
internalType: "bytes32",
|
|
198
|
+
name: "boxId",
|
|
199
|
+
type: "bytes32",
|
|
200
|
+
},
|
|
201
|
+
],
|
|
202
|
+
name: "moneyMarketBalances",
|
|
203
|
+
outputs: [
|
|
204
|
+
{
|
|
205
|
+
internalType: "uint256",
|
|
206
|
+
name: "mmPtBalance",
|
|
207
|
+
type: "uint256",
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
internalType: "uint256",
|
|
211
|
+
name: "mmDebtBalance",
|
|
212
|
+
type: "uint256",
|
|
213
|
+
},
|
|
214
|
+
],
|
|
215
|
+
stateMutability: "nonpayable",
|
|
216
|
+
type: "function",
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
inputs: [
|
|
220
|
+
{
|
|
221
|
+
internalType: "address",
|
|
222
|
+
name: "spokeMM",
|
|
223
|
+
type: "address",
|
|
224
|
+
},
|
|
225
|
+
],
|
|
226
|
+
name: "moneyMarketView",
|
|
227
|
+
outputs: [
|
|
228
|
+
{
|
|
229
|
+
internalType: "contract IMoneyMarketView",
|
|
230
|
+
name: "",
|
|
231
|
+
type: "address",
|
|
232
|
+
},
|
|
233
|
+
],
|
|
234
|
+
stateMutability: "view",
|
|
235
|
+
type: "function",
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
inputs: [],
|
|
239
|
+
name: "owner",
|
|
240
|
+
outputs: [
|
|
241
|
+
{
|
|
242
|
+
internalType: "address",
|
|
243
|
+
name: "",
|
|
244
|
+
type: "address",
|
|
245
|
+
},
|
|
246
|
+
],
|
|
247
|
+
stateMutability: "view",
|
|
248
|
+
type: "function",
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
inputs: [],
|
|
252
|
+
name: "pendingOwner",
|
|
253
|
+
outputs: [
|
|
254
|
+
{
|
|
255
|
+
internalType: "address",
|
|
256
|
+
name: "",
|
|
257
|
+
type: "address",
|
|
258
|
+
},
|
|
259
|
+
],
|
|
260
|
+
stateMutability: "view",
|
|
261
|
+
type: "function",
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
inputs: [
|
|
265
|
+
{
|
|
266
|
+
internalType: "address",
|
|
267
|
+
name: "owner",
|
|
268
|
+
type: "address",
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
internalType: "bytes32",
|
|
272
|
+
name: "boxId",
|
|
273
|
+
type: "bytes32",
|
|
274
|
+
},
|
|
275
|
+
],
|
|
276
|
+
name: "ptDebtRate",
|
|
277
|
+
outputs: [
|
|
278
|
+
{
|
|
279
|
+
internalType: "uint256",
|
|
280
|
+
name: "rateWad",
|
|
281
|
+
type: "uint256",
|
|
282
|
+
},
|
|
283
|
+
],
|
|
284
|
+
stateMutability: "view",
|
|
285
|
+
type: "function",
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
inputs: [
|
|
289
|
+
{
|
|
290
|
+
internalType: "address",
|
|
291
|
+
name: "spokeMM",
|
|
292
|
+
type: "address",
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
internalType: "address",
|
|
296
|
+
name: "mmView",
|
|
297
|
+
type: "address",
|
|
298
|
+
},
|
|
299
|
+
],
|
|
300
|
+
name: "registerMoneyMarketView",
|
|
301
|
+
outputs: [],
|
|
302
|
+
stateMutability: "nonpayable",
|
|
303
|
+
type: "function",
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
inputs: [
|
|
307
|
+
{
|
|
308
|
+
internalType: "address",
|
|
309
|
+
name: "owner",
|
|
310
|
+
type: "address",
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
internalType: "bytes32",
|
|
314
|
+
name: "boxId",
|
|
315
|
+
type: "bytes32",
|
|
316
|
+
},
|
|
317
|
+
],
|
|
318
|
+
name: "rewards",
|
|
319
|
+
outputs: [
|
|
320
|
+
{
|
|
321
|
+
components: [
|
|
322
|
+
{
|
|
323
|
+
internalType: "address",
|
|
324
|
+
name: "token",
|
|
325
|
+
type: "address",
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
internalType: "uint256",
|
|
329
|
+
name: "claimable",
|
|
330
|
+
type: "uint256",
|
|
331
|
+
},
|
|
332
|
+
],
|
|
333
|
+
internalType: "struct Reward[]",
|
|
334
|
+
name: "borrowing",
|
|
335
|
+
type: "tuple[]",
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
components: [
|
|
339
|
+
{
|
|
340
|
+
internalType: "address",
|
|
341
|
+
name: "token",
|
|
342
|
+
type: "address",
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
internalType: "uint256",
|
|
346
|
+
name: "claimable",
|
|
347
|
+
type: "uint256",
|
|
348
|
+
},
|
|
349
|
+
],
|
|
350
|
+
internalType: "struct Reward[]",
|
|
351
|
+
name: "lending",
|
|
352
|
+
type: "tuple[]",
|
|
353
|
+
},
|
|
354
|
+
],
|
|
355
|
+
stateMutability: "nonpayable",
|
|
356
|
+
type: "function",
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
inputs: [
|
|
360
|
+
{
|
|
361
|
+
internalType: "address",
|
|
362
|
+
name: "owner",
|
|
363
|
+
type: "address",
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
internalType: "bytes32",
|
|
367
|
+
name: "boxId",
|
|
368
|
+
type: "bytes32",
|
|
369
|
+
},
|
|
370
|
+
],
|
|
371
|
+
name: "thresholds",
|
|
372
|
+
outputs: [
|
|
373
|
+
{
|
|
374
|
+
internalType: "uint256",
|
|
375
|
+
name: "ltv",
|
|
376
|
+
type: "uint256",
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
internalType: "uint256",
|
|
380
|
+
name: "liquidationThreshold",
|
|
381
|
+
type: "uint256",
|
|
382
|
+
},
|
|
383
|
+
],
|
|
384
|
+
stateMutability: "view",
|
|
385
|
+
type: "function",
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
inputs: [
|
|
389
|
+
{
|
|
390
|
+
internalType: "address",
|
|
391
|
+
name: "newOwner",
|
|
392
|
+
type: "address",
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
internalType: "bool",
|
|
396
|
+
name: "direct",
|
|
397
|
+
type: "bool",
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
internalType: "bool",
|
|
401
|
+
name: "renounce",
|
|
402
|
+
type: "bool",
|
|
403
|
+
},
|
|
404
|
+
],
|
|
405
|
+
name: "transferOwnership",
|
|
406
|
+
outputs: [],
|
|
407
|
+
stateMutability: "nonpayable",
|
|
408
|
+
type: "function",
|
|
409
|
+
},
|
|
410
|
+
];
|
|
411
|
+
|
|
412
|
+
const _bytecode =
|
|
413
|
+
"0x60a060405234801561000f575f5ffd5b5060405161116a38038061116a83398101604081905261002e91610113565b610036610047565b6001600160a01b0316608052610140565b600154600160a81b900460ff16156100b55760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600154600160a01b900460ff90811614610111576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b5f60208284031215610123575f5ffd5b81516001600160a01b0381168114610139575f5ffd5b9392505050565b6080516110046101665f395f818161023e015281816108dd015261096d01526110045ff3fe608060405234801561000f575f5ffd5b50600436106100b8575f3560e01c8063078dfbe7146100bc5780630b5cfe5d146100d1578063150e4552146100f75780632241357a1461011857806343c7e74c146101405780634aa4930f146101535780634e71e0c8146101665780636b35bb6b1461016e5780638da5cb5b14610181578063974c3e75146101a05780639dde8a52146101fe578063c4d66de814610226578063ca6f50fd14610239578063e30c397814610260575b5f5ffd5b6100cf6100ca366004610ab5565b610273565b005b6100e46100df366004610afd565b610375565b6040519081526020015b60405180910390f35b61010a610105366004610afd565b6103fb565b6040516100ee929190610b76565b61012b610126366004610afd565b61048a565b604080519283526020830191909152016100ee565b61012b61014e366004610afd565b610508565b6100cf610161366004610b9a565b610561565b6100cf6105f5565b61012b61017c366004610afd565b61069d565b5f54610193906001600160a01b031681565b6040516100ee9190610bd1565b6101b36101ae366004610afd565b6106dc565b6040516100ee91905f60c082019050825182526020830151602083015260408301516040830152606083015160608301526080830151608083015260a083015160a083015292915050565b61019361020c366004610be5565b60326020525f90815260409020546001600160a01b031681565b6100cf610234366004610be5565b61078b565b6101937f000000000000000000000000000000000000000000000000000000000000000081565b600154610193906001600160a01b031681565b5f546001600160a01b031633146102a55760405162461bcd60e51b815260040161029c90610c07565b60405180910390fd5b8115610353576001600160a01b0383161515806102bf5750805b6103035760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b604482015260640161029c565b5f80546040516001600160a01b03808716939216915f516020610faf5f395f51905f5291a35f80546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0385166001600160a01b0319909116179055505050565b5f5f5f61038285856108b1565b604051633a756fbb60e11b815291935091506001600160a01b038216906374eadf76906103b3908590600401610bd1565b602060405180830381865afa1580156103ce573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f29190610c3c565b95945050505050565b6060805f5f61040a86866108b1565b604051630700037d60e01b815291935091506001600160a01b03821690630700037d9061043b908590600401610bd1565b5f604051808303815f875af1158015610456573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261047d9190810190610d9f565b9350935050509250929050565b5f5f5f5f61049886866108b1565b60405163f59bbd5f60e01b815291935091506001600160a01b0382169063f59bbd5f906104c9908590600401610bd1565b60408051808303815f875af11580156104e4573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061047d9190610e04565b5f5f5f5f61051686866108b1565b604051639df5f6bd60e01b815291935091506001600160a01b03821690639df5f6bd90610547908590600401610bd1565b6040805180830381865afa1580156104e4573d5f5f3e3d5ffd5b5f546001600160a01b0316331461058a5760405162461bcd60e51b815260040161029c90610c07565b6001600160a01b038281165f8181526032602090815260409182902080546001600160a01b031916948616948517905581519283528201929092527f9f9ee5f110bfe4397b98b3212d7ef6d4d1cb1120b6c8dbd83033de42d4969ec391015b60405180910390a15050565b6001546001600160a01b03163381146106505760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572604482015260640161029c565b5f80546040516001600160a01b03808516939216915f516020610faf5f395f51905f5291a35f80546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b5f5f5f5f6106ab86866108b1565b60405163b8c876b160e01b815291935091506001600160a01b0382169063b8c876b190610547908590600401610bd1565b61070f6040518060c001604052805f81526020015f81526020015f81526020015f81526020015f81526020015f81525090565b5f5f61071b85856108b1565b6040516320d7bec160e01b815291935091506001600160a01b038216906320d7bec19061074c908590600401610bd1565b60c060405180830381865afa158015610767573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f29190610e26565b600154600160a81b900460ff16158080156107b1575060018054600160a01b900460ff16105b806107d15750303b1580156107d1575060018054600160a01b900460ff16145b6108345760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161029c565b6001805460ff60a01b1916600160a01b1790558015610861576001805460ff60a81b1916600160a81b1790555b61086a82610a03565b80156108ad576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498906020016105e9565b5050565b6040516351e91dff60e01b81526001600160a01b038381166004830152602482018390525f91829182917f0000000000000000000000000000000000000000000000000000000000000000909116906351e91dff90604401606060405180830381865afa158015610924573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109489190610ea7565b5050604051632740969560e01b8152600481018690529091505f906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063274096959060240161012060405180830381865afa1580156109b3573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109d79190610eef565b5060c001516001600160a01b039081165f90815260326020526040902054929792169550909350505050565b600154600160a81b900460ff16610a705760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840161029c565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0381168114610aa5575f5ffd5b50565b8015158114610aa5575f5ffd5b5f5f5f60608486031215610ac7575f5ffd5b8335610ad281610a91565b92506020840135610ae281610aa8565b91506040840135610af281610aa8565b809150509250925092565b5f5f60408385031215610b0e575f5ffd5b8235610b1981610a91565b946020939093013593505050565b5f8151808452602084019350602083015f5b82811015610b6c57815180516001600160a01b031687526020908101518188015260409096019590910190600101610b39565b5093949350505050565b604081525f610b886040830185610b27565b82810360208401526103f28185610b27565b5f5f60408385031215610bab575f5ffd5b8235610bb681610a91565b91506020830135610bc681610a91565b809150509250929050565b6001600160a01b0391909116815260200190565b5f60208284031215610bf5575f5ffd5b8135610c0081610a91565b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60208284031215610c4c575f5ffd5b5051919050565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b0381118282101715610c8957610c89610c53565b60405290565b60405161010081016001600160401b0381118282101715610c8957610c89610c53565b604051601f8201601f191681016001600160401b0381118282101715610cda57610cda610c53565b604052919050565b8051610ced81610a91565b919050565b5f82601f830112610d01575f5ffd5b81516001600160401b03811115610d1a57610d1a610c53565b610d2960208260051b01610cb2565b8082825260208201915060208360061b860101925085831115610d4a575f5ffd5b602085015b83811015610d955760408188031215610d66575f5ffd5b610d6e610c67565b8151610d7981610a91565b8152602082810151818301529084529290920191604001610d4f565b5095945050505050565b5f5f60408385031215610db0575f5ffd5b82516001600160401b03811115610dc5575f5ffd5b610dd185828601610cf2565b602085015190935090506001600160401b03811115610dee575f5ffd5b610dfa85828601610cf2565b9150509250929050565b5f5f60408385031215610e15575f5ffd5b505080516020909101519092909150565b5f60c0828403128015610e37575f5ffd5b5060405160c081016001600160401b0381118282101715610e5a57610e5a610c53565b604090815283518252602080850151908301528381015190820152606080840151908201526080808401519082015260a0928301519281019290925250919050565b8051610ced81610aa8565b5f5f5f60608486031215610eb9575f5ffd5b8351610ec481610a91565b602085015160408601519194509250610af281610aa8565b805163ffffffff81168114610ced575f5ffd5b5f5f828403610120811215610f02575f5ffd5b610100811215610f10575f5ffd5b50610f19610c8f565b610f2284610edc565b8152610f3060208501610edc565b60208201526040840151610f4381610a91565b6040820152610f5460608501610ce2565b6060820152610f6560808501610ce2565b6080820152610f7660a08501610ce2565b60a0820152610f8760c08501610ce2565b60c082015260e084810151908201529150610fa56101008401610e9c565b9050925092905056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a2646970667358221220d91d9a93001ff0ba29db37846052d351c98651589b0200e040a915a2d58293db64736f6c634300081e0033";
|
|
414
|
+
|
|
415
|
+
type PTLooperViewConstructorParams =
|
|
416
|
+
| [signer?: Signer]
|
|
417
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
418
|
+
|
|
419
|
+
const isSuperArgs = (
|
|
420
|
+
xs: PTLooperViewConstructorParams
|
|
421
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
422
|
+
|
|
423
|
+
export class PTLooperView__factory extends ContractFactory {
|
|
424
|
+
constructor(...args: PTLooperViewConstructorParams) {
|
|
425
|
+
if (isSuperArgs(args)) {
|
|
426
|
+
super(...args);
|
|
427
|
+
} else {
|
|
428
|
+
super(_abi, _bytecode, args[0]);
|
|
429
|
+
}
|
|
430
|
+
this.contractName = "PTLooperView";
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
deploy(
|
|
434
|
+
_positionBoxFactory: string,
|
|
435
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
436
|
+
): Promise<PTLooperView> {
|
|
437
|
+
return super.deploy(
|
|
438
|
+
_positionBoxFactory,
|
|
439
|
+
overrides || {}
|
|
440
|
+
) as Promise<PTLooperView>;
|
|
441
|
+
}
|
|
442
|
+
getDeployTransaction(
|
|
443
|
+
_positionBoxFactory: string,
|
|
444
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
445
|
+
): TransactionRequest {
|
|
446
|
+
return super.getDeployTransaction(_positionBoxFactory, overrides || {});
|
|
447
|
+
}
|
|
448
|
+
attach(address: string): PTLooperView {
|
|
449
|
+
return super.attach(address) as PTLooperView;
|
|
450
|
+
}
|
|
451
|
+
connect(signer: Signer): PTLooperView__factory {
|
|
452
|
+
return super.connect(signer) as PTLooperView__factory;
|
|
453
|
+
}
|
|
454
|
+
static readonly contractName: "PTLooperView";
|
|
455
|
+
public readonly contractName: "PTLooperView";
|
|
456
|
+
static readonly bytecode = _bytecode;
|
|
457
|
+
static readonly abi = _abi;
|
|
458
|
+
static createInterface(): PTLooperViewInterface {
|
|
459
|
+
return new utils.Interface(_abi) as PTLooperViewInterface;
|
|
460
|
+
}
|
|
461
|
+
static connect(
|
|
462
|
+
address: string,
|
|
463
|
+
signerOrProvider: Signer | Provider
|
|
464
|
+
): PTLooperView {
|
|
465
|
+
return new Contract(address, _abi, signerOrProvider) as PTLooperView;
|
|
466
|
+
}
|
|
467
|
+
}
|