@pendle/core-v2 6.6.1 → 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 +1 -1
- package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.dbg.json +1 -1
- 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 +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.json +46 -14
- 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 +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.json +57 -35
- 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/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 +1 -1
- 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 +1 -1
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.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/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/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 +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/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/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
- package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.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/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/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/MarketSweed.sol/MarketSweed.dbg.json +1 -1
- 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/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 +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/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/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/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/factory/PendleBridgePTFactory.sol +495 -0
- package/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol +5 -4
- 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 +4 -13
- package/contracts/interfaces/IPBridgePTFactory.sol +129 -0
- package/contracts/interfaces/IPBridgedPrincipalToken.sol +4 -2
- package/contracts/interfaces/IPMerkleDistributor.sol +0 -7
- package/contracts/interfaces/IPMultiTokenMerkleDistributor.sol +0 -10
- package/contracts/limit/LimitRouterBase.sol +1 -1
- package/contracts/router/swap-aggregator/OKXScaleHelper.sol +4 -1
- package/deployments/143-core.json +38 -2
- package/deployments/143-offchain-helper.json +11 -0
- package/deployments/4217-core.json +1 -0
- package/deployments/43114-core.json +1 -0
- package/deployments/57073-core.json +2 -0
- package/deployments/747474-core.json +2 -0
- 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/DVNOptions.ts +57 -0
- package/typechain-types/ExecutorOptions.ts +57 -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/IPBridgePTFactory.ts +936 -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/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/LoopPositionBox.ts +309 -0
- package/typechain-types/LoopPositionBoxFactory.ts +609 -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 +50 -19
- 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 +67 -20
- 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/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/ActionCrossChain__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/DVNOptions__factory.ts +77 -0
- package/typechain-types/factories/ExecutorOptions__factory.ts +84 -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/IPBridgePTFactory__factory.ts +1041 -0
- package/typechain-types/factories/IPBridgedPrincipalToken__factory.ts +11 -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/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/LoopPositionBoxFactory__factory.ts +648 -0
- package/typechain-types/factories/LoopPositionBox__factory.ts +277 -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 +49 -25
- 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 +60 -58
- package/typechain-types/factories/PendleBridgedPrincipalToken__factory.ts +60 -58
- package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
- 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/PendleSwap__factory.ts +1 -1
- package/typechain-types/factories/UUPSUpgradeable__factory.ts +0 -13
- package/typechain-types/hardhat.d.ts +103 -49
- package/typechain-types/index.ts +24 -10
- 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/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol +0 -38
|
@@ -0,0 +1,648 @@
|
|
|
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
|
+
LoopPositionBoxFactory,
|
|
8
|
+
LoopPositionBoxFactoryInterface,
|
|
9
|
+
} from "../LoopPositionBoxFactory";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "address",
|
|
16
|
+
name: "beaconProxyCodeContract_",
|
|
17
|
+
type: "address",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
internalType: "address",
|
|
21
|
+
name: "positionBoxBeacon_",
|
|
22
|
+
type: "address",
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
stateMutability: "nonpayable",
|
|
26
|
+
type: "constructor",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
anonymous: false,
|
|
30
|
+
inputs: [
|
|
31
|
+
{
|
|
32
|
+
indexed: true,
|
|
33
|
+
internalType: "bytes32",
|
|
34
|
+
name: "boxId",
|
|
35
|
+
type: "bytes32",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
components: [
|
|
39
|
+
{
|
|
40
|
+
internalType: "uint32",
|
|
41
|
+
name: "hubChainId",
|
|
42
|
+
type: "uint32",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
internalType: "uint32",
|
|
46
|
+
name: "spokeChainId",
|
|
47
|
+
type: "uint32",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
internalType: "address",
|
|
51
|
+
name: "hubPt",
|
|
52
|
+
type: "address",
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
internalType: "address",
|
|
56
|
+
name: "hubDebtToken",
|
|
57
|
+
type: "address",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
internalType: "address",
|
|
61
|
+
name: "spokePt",
|
|
62
|
+
type: "address",
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
internalType: "address",
|
|
66
|
+
name: "spokeDebtToken",
|
|
67
|
+
type: "address",
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
internalType: "contract IMoneyMarket",
|
|
71
|
+
name: "spokeMMMaster",
|
|
72
|
+
type: "address",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
internalType: "bytes32",
|
|
76
|
+
name: "mmPayload",
|
|
77
|
+
type: "bytes32",
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
indexed: false,
|
|
81
|
+
internalType: "struct BoxData",
|
|
82
|
+
name: "boxData",
|
|
83
|
+
type: "tuple",
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
name: "BoxDataRegistered",
|
|
87
|
+
type: "event",
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
anonymous: false,
|
|
91
|
+
inputs: [
|
|
92
|
+
{
|
|
93
|
+
indexed: false,
|
|
94
|
+
internalType: "uint8",
|
|
95
|
+
name: "version",
|
|
96
|
+
type: "uint8",
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
name: "Initialized",
|
|
100
|
+
type: "event",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
anonymous: false,
|
|
104
|
+
inputs: [
|
|
105
|
+
{
|
|
106
|
+
indexed: true,
|
|
107
|
+
internalType: "address",
|
|
108
|
+
name: "previousOwner",
|
|
109
|
+
type: "address",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
indexed: true,
|
|
113
|
+
internalType: "address",
|
|
114
|
+
name: "newOwner",
|
|
115
|
+
type: "address",
|
|
116
|
+
},
|
|
117
|
+
],
|
|
118
|
+
name: "OwnershipTransferred",
|
|
119
|
+
type: "event",
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
inputs: [],
|
|
123
|
+
name: "BEACON_PROXY_CODE_CONTRACT",
|
|
124
|
+
outputs: [
|
|
125
|
+
{
|
|
126
|
+
internalType: "address",
|
|
127
|
+
name: "",
|
|
128
|
+
type: "address",
|
|
129
|
+
},
|
|
130
|
+
],
|
|
131
|
+
stateMutability: "view",
|
|
132
|
+
type: "function",
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
inputs: [],
|
|
136
|
+
name: "POSITION_BOX_BEACON",
|
|
137
|
+
outputs: [
|
|
138
|
+
{
|
|
139
|
+
internalType: "address",
|
|
140
|
+
name: "",
|
|
141
|
+
type: "address",
|
|
142
|
+
},
|
|
143
|
+
],
|
|
144
|
+
stateMutability: "view",
|
|
145
|
+
type: "function",
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
inputs: [],
|
|
149
|
+
name: "POSITION_BOX_CODE_HASH",
|
|
150
|
+
outputs: [
|
|
151
|
+
{
|
|
152
|
+
internalType: "bytes32",
|
|
153
|
+
name: "",
|
|
154
|
+
type: "bytes32",
|
|
155
|
+
},
|
|
156
|
+
],
|
|
157
|
+
stateMutability: "view",
|
|
158
|
+
type: "function",
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
inputs: [
|
|
162
|
+
{
|
|
163
|
+
internalType: "bytes32",
|
|
164
|
+
name: "boxId",
|
|
165
|
+
type: "bytes32",
|
|
166
|
+
},
|
|
167
|
+
],
|
|
168
|
+
name: "boxData",
|
|
169
|
+
outputs: [
|
|
170
|
+
{
|
|
171
|
+
components: [
|
|
172
|
+
{
|
|
173
|
+
internalType: "uint32",
|
|
174
|
+
name: "hubChainId",
|
|
175
|
+
type: "uint32",
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
internalType: "uint32",
|
|
179
|
+
name: "spokeChainId",
|
|
180
|
+
type: "uint32",
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
internalType: "address",
|
|
184
|
+
name: "hubPt",
|
|
185
|
+
type: "address",
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
internalType: "address",
|
|
189
|
+
name: "hubDebtToken",
|
|
190
|
+
type: "address",
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
internalType: "address",
|
|
194
|
+
name: "spokePt",
|
|
195
|
+
type: "address",
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
internalType: "address",
|
|
199
|
+
name: "spokeDebtToken",
|
|
200
|
+
type: "address",
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
internalType: "contract IMoneyMarket",
|
|
204
|
+
name: "spokeMMMaster",
|
|
205
|
+
type: "address",
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
internalType: "bytes32",
|
|
209
|
+
name: "mmPayload",
|
|
210
|
+
type: "bytes32",
|
|
211
|
+
},
|
|
212
|
+
],
|
|
213
|
+
internalType: "struct BoxData",
|
|
214
|
+
name: "",
|
|
215
|
+
type: "tuple",
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
internalType: "bool",
|
|
219
|
+
name: "needsAccount",
|
|
220
|
+
type: "bool",
|
|
221
|
+
},
|
|
222
|
+
],
|
|
223
|
+
stateMutability: "view",
|
|
224
|
+
type: "function",
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
inputs: [
|
|
228
|
+
{
|
|
229
|
+
internalType: "bytes32",
|
|
230
|
+
name: "boxId",
|
|
231
|
+
type: "bytes32",
|
|
232
|
+
},
|
|
233
|
+
],
|
|
234
|
+
name: "boxDataMMPayload",
|
|
235
|
+
outputs: [
|
|
236
|
+
{
|
|
237
|
+
internalType: "bytes32",
|
|
238
|
+
name: "",
|
|
239
|
+
type: "bytes32",
|
|
240
|
+
},
|
|
241
|
+
],
|
|
242
|
+
stateMutability: "view",
|
|
243
|
+
type: "function",
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
inputs: [],
|
|
247
|
+
name: "claimOwnership",
|
|
248
|
+
outputs: [],
|
|
249
|
+
stateMutability: "nonpayable",
|
|
250
|
+
type: "function",
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
inputs: [
|
|
254
|
+
{
|
|
255
|
+
internalType: "address",
|
|
256
|
+
name: "owner",
|
|
257
|
+
type: "address",
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
internalType: "bytes32",
|
|
261
|
+
name: "boxId",
|
|
262
|
+
type: "bytes32",
|
|
263
|
+
},
|
|
264
|
+
],
|
|
265
|
+
name: "computeMoneyMarket",
|
|
266
|
+
outputs: [
|
|
267
|
+
{
|
|
268
|
+
internalType: "address",
|
|
269
|
+
name: "computedAddr",
|
|
270
|
+
type: "address",
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
internalType: "bytes32",
|
|
274
|
+
name: "salt",
|
|
275
|
+
type: "bytes32",
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
internalType: "bool",
|
|
279
|
+
name: "deployed",
|
|
280
|
+
type: "bool",
|
|
281
|
+
},
|
|
282
|
+
],
|
|
283
|
+
stateMutability: "view",
|
|
284
|
+
type: "function",
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
inputs: [
|
|
288
|
+
{
|
|
289
|
+
internalType: "address",
|
|
290
|
+
name: "owner",
|
|
291
|
+
type: "address",
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
internalType: "bytes32",
|
|
295
|
+
name: "boxId",
|
|
296
|
+
type: "bytes32",
|
|
297
|
+
},
|
|
298
|
+
],
|
|
299
|
+
name: "computePositionBox",
|
|
300
|
+
outputs: [
|
|
301
|
+
{
|
|
302
|
+
internalType: "address",
|
|
303
|
+
name: "box",
|
|
304
|
+
type: "address",
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
internalType: "bytes32",
|
|
308
|
+
name: "salt",
|
|
309
|
+
type: "bytes32",
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
internalType: "bool",
|
|
313
|
+
name: "deployed",
|
|
314
|
+
type: "bool",
|
|
315
|
+
},
|
|
316
|
+
],
|
|
317
|
+
stateMutability: "view",
|
|
318
|
+
type: "function",
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
inputs: [
|
|
322
|
+
{
|
|
323
|
+
internalType: "address",
|
|
324
|
+
name: "owner",
|
|
325
|
+
type: "address",
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
internalType: "bytes32",
|
|
329
|
+
name: "boxId",
|
|
330
|
+
type: "bytes32",
|
|
331
|
+
},
|
|
332
|
+
],
|
|
333
|
+
name: "deployPositionBoxAndMoneyMarket",
|
|
334
|
+
outputs: [
|
|
335
|
+
{
|
|
336
|
+
internalType: "contract IPLoopPositionBox",
|
|
337
|
+
name: "ibox",
|
|
338
|
+
type: "address",
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
internalType: "contract IMoneyMarket",
|
|
342
|
+
name: "imm",
|
|
343
|
+
type: "address",
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
components: [
|
|
347
|
+
{
|
|
348
|
+
internalType: "uint32",
|
|
349
|
+
name: "hubChainId",
|
|
350
|
+
type: "uint32",
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
internalType: "uint32",
|
|
354
|
+
name: "spokeChainId",
|
|
355
|
+
type: "uint32",
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
internalType: "address",
|
|
359
|
+
name: "hubPt",
|
|
360
|
+
type: "address",
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
internalType: "address",
|
|
364
|
+
name: "hubDebtToken",
|
|
365
|
+
type: "address",
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
internalType: "address",
|
|
369
|
+
name: "spokePt",
|
|
370
|
+
type: "address",
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
internalType: "address",
|
|
374
|
+
name: "spokeDebtToken",
|
|
375
|
+
type: "address",
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
internalType: "contract IMoneyMarket",
|
|
379
|
+
name: "spokeMMMaster",
|
|
380
|
+
type: "address",
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
internalType: "bytes32",
|
|
384
|
+
name: "mmPayload",
|
|
385
|
+
type: "bytes32",
|
|
386
|
+
},
|
|
387
|
+
],
|
|
388
|
+
internalType: "struct BoxData",
|
|
389
|
+
name: "bd",
|
|
390
|
+
type: "tuple",
|
|
391
|
+
},
|
|
392
|
+
],
|
|
393
|
+
stateMutability: "nonpayable",
|
|
394
|
+
type: "function",
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
inputs: [
|
|
398
|
+
{
|
|
399
|
+
components: [
|
|
400
|
+
{
|
|
401
|
+
internalType: "uint32",
|
|
402
|
+
name: "hubChainId",
|
|
403
|
+
type: "uint32",
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
internalType: "uint32",
|
|
407
|
+
name: "spokeChainId",
|
|
408
|
+
type: "uint32",
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
internalType: "address",
|
|
412
|
+
name: "hubPt",
|
|
413
|
+
type: "address",
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
internalType: "address",
|
|
417
|
+
name: "hubDebtToken",
|
|
418
|
+
type: "address",
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
internalType: "address",
|
|
422
|
+
name: "spokePt",
|
|
423
|
+
type: "address",
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
internalType: "address",
|
|
427
|
+
name: "spokeDebtToken",
|
|
428
|
+
type: "address",
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
internalType: "contract IMoneyMarket",
|
|
432
|
+
name: "spokeMMMaster",
|
|
433
|
+
type: "address",
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
internalType: "bytes32",
|
|
437
|
+
name: "mmPayload",
|
|
438
|
+
type: "bytes32",
|
|
439
|
+
},
|
|
440
|
+
],
|
|
441
|
+
internalType: "struct BoxData",
|
|
442
|
+
name: "res",
|
|
443
|
+
type: "tuple",
|
|
444
|
+
},
|
|
445
|
+
],
|
|
446
|
+
name: "getBoxId",
|
|
447
|
+
outputs: [
|
|
448
|
+
{
|
|
449
|
+
internalType: "bytes32",
|
|
450
|
+
name: "",
|
|
451
|
+
type: "bytes32",
|
|
452
|
+
},
|
|
453
|
+
],
|
|
454
|
+
stateMutability: "pure",
|
|
455
|
+
type: "function",
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
inputs: [
|
|
459
|
+
{
|
|
460
|
+
internalType: "address",
|
|
461
|
+
name: "owner_",
|
|
462
|
+
type: "address",
|
|
463
|
+
},
|
|
464
|
+
],
|
|
465
|
+
name: "initialize",
|
|
466
|
+
outputs: [],
|
|
467
|
+
stateMutability: "nonpayable",
|
|
468
|
+
type: "function",
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
inputs: [],
|
|
472
|
+
name: "owner",
|
|
473
|
+
outputs: [
|
|
474
|
+
{
|
|
475
|
+
internalType: "address",
|
|
476
|
+
name: "",
|
|
477
|
+
type: "address",
|
|
478
|
+
},
|
|
479
|
+
],
|
|
480
|
+
stateMutability: "view",
|
|
481
|
+
type: "function",
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
inputs: [],
|
|
485
|
+
name: "pendingOwner",
|
|
486
|
+
outputs: [
|
|
487
|
+
{
|
|
488
|
+
internalType: "address",
|
|
489
|
+
name: "",
|
|
490
|
+
type: "address",
|
|
491
|
+
},
|
|
492
|
+
],
|
|
493
|
+
stateMutability: "view",
|
|
494
|
+
type: "function",
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
inputs: [
|
|
498
|
+
{
|
|
499
|
+
components: [
|
|
500
|
+
{
|
|
501
|
+
internalType: "uint32",
|
|
502
|
+
name: "hubChainId",
|
|
503
|
+
type: "uint32",
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
internalType: "uint32",
|
|
507
|
+
name: "spokeChainId",
|
|
508
|
+
type: "uint32",
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
internalType: "address",
|
|
512
|
+
name: "hubPt",
|
|
513
|
+
type: "address",
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
internalType: "address",
|
|
517
|
+
name: "hubDebtToken",
|
|
518
|
+
type: "address",
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
internalType: "address",
|
|
522
|
+
name: "spokePt",
|
|
523
|
+
type: "address",
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
internalType: "address",
|
|
527
|
+
name: "spokeDebtToken",
|
|
528
|
+
type: "address",
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
internalType: "contract IMoneyMarket",
|
|
532
|
+
name: "spokeMMMaster",
|
|
533
|
+
type: "address",
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
internalType: "bytes32",
|
|
537
|
+
name: "mmPayload",
|
|
538
|
+
type: "bytes32",
|
|
539
|
+
},
|
|
540
|
+
],
|
|
541
|
+
internalType: "struct BoxData",
|
|
542
|
+
name: "bd",
|
|
543
|
+
type: "tuple",
|
|
544
|
+
},
|
|
545
|
+
],
|
|
546
|
+
name: "registerBoxData",
|
|
547
|
+
outputs: [
|
|
548
|
+
{
|
|
549
|
+
internalType: "bytes32",
|
|
550
|
+
name: "boxId",
|
|
551
|
+
type: "bytes32",
|
|
552
|
+
},
|
|
553
|
+
],
|
|
554
|
+
stateMutability: "nonpayable",
|
|
555
|
+
type: "function",
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
inputs: [
|
|
559
|
+
{
|
|
560
|
+
internalType: "address",
|
|
561
|
+
name: "newOwner",
|
|
562
|
+
type: "address",
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
internalType: "bool",
|
|
566
|
+
name: "direct",
|
|
567
|
+
type: "bool",
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
internalType: "bool",
|
|
571
|
+
name: "renounce",
|
|
572
|
+
type: "bool",
|
|
573
|
+
},
|
|
574
|
+
],
|
|
575
|
+
name: "transferOwnership",
|
|
576
|
+
outputs: [],
|
|
577
|
+
stateMutability: "nonpayable",
|
|
578
|
+
type: "function",
|
|
579
|
+
},
|
|
580
|
+
];
|
|
581
|
+
|
|
582
|
+
const _bytecode =
|
|
583
|
+
"0x60e060405234801561000f575f5ffd5b5060405161186e38038061186e83398101604081905261002e916101b2565b6100366100cb565b6001600160a01b03828116608081905290821660a052604080516020833b808301820190935282825290925f918401903c604080516001600160a01b0384166020820152808201919091525f606082015260800160408051601f19818403018152908290526100a892916020016101fa565b60408051601f19818403018152919052805160209091012060c052506102169050565b600154600160a81b900460ff16156101395760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600154600160a01b900460ff90811614610195576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b80516001600160a01b03811681146101ad575f5ffd5b919050565b5f5f604083850312156101c3575f5ffd5b6101cc83610197565b91506101da60208401610197565b90509250929050565b5f81518060208401855e5f93019283525090919050565b5f61020e61020883866101e3565b846101e3565b949350505050565b60805160a05160c0516116196102555f395f81816101d401526104ca01525f818161016b015261069601525f818161010b015261064501526116195ff3fe608060405234801561000f575f5ffd5b50600436106100c3575f3560e01c8063078dfbe7146100c757806327409695146100dc5780632d610bb0146101065780632f06558114610145578063311d5b0b146101665780634e71e0c81461018d57806351e91dff146101955780635fa98ef7146101cf5780638da5cb5b146101f657806390ffcea614610208578063a92572fb1461021b578063b6492d041461023d578063c2cb1adf14610250578063c4d66de814610263578063e30c397814610276575b5f5ffd5b6100da6100d5366004611195565b610289565b005b6100ef6100ea3660046111dd565b61038b565b6040516100fd929190611284565b60405180910390f35b61012d7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100fd565b6101586101533660046112b6565b6103bf565b6040519081526020016100fd565b61012d7f000000000000000000000000000000000000000000000000000000000000000081565b6100da6103ee565b6101a86101a336600461137f565b610496565b604080516001600160a01b03909416845260208401929092521515908201526060016100fd565b6101587f000000000000000000000000000000000000000000000000000000000000000081565b5f5461012d906001600160a01b031681565b6101586102163660046111dd565b610506565b61022e61022936600461137f565b61051a565b6040516100fd939291906113a9565b61015861024b3660046113d7565b6107d2565b6101a861025e36600461137f565b610b4c565b6100da6102713660046113f1565b610b6a565b60015461012d906001600160a01b031681565b5f546001600160a01b031633146102bb5760405162461bcd60e51b81526004016102b29061140c565b60405180910390fd5b8115610369576001600160a01b0383161515806102d55750805b6103195760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b60448201526064016102b2565b5f80546040516001600160a01b03808716939216915f5160206115c45f395f51905f5291a35f80546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0385166001600160a01b0319909116179055505050565b610393611123565b5f5f61039e84610c94565b90506103a981610d17565b90549094600160401b90910460ff169350915050565b5f816040516020016103d19190611441565b604051602081830303815290604052805190602001209050919050565b6001546001600160a01b03163381146104495760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e657260448201526064016102b2565b5f80546040516001600160a01b03808516939216915f5160206115c45f395f51905f5291a35f80546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b5f5f5f84846040516020016104ac929190611478565b6040516020818303038152906040528051906020012091506104ee827f0000000000000000000000000000000000000000000000000000000000000000610d9c565b92505f836001600160a01b03163b1190509250925092565b5f61051082610c94565b6005015492915050565b5f5f610524611123565b5f5f5f5f5f6105338a8a610db1565b9450945094509450945084965061054981610d17565b95506001600160a01b03851615801590610561575081155b15610622576001600160a01b038086169061057e90861685610e74565b6001600160a01b03161461059457610594611491565b5f61059f8b8b610496565b505060e0880151608089015160a08a0151604051634b64f8bf60e11b81526001600160a01b03808616600483015260248201949094529183166044830152821660648201529192508916906396c9f17e906084015f604051808303815f87803b15801561060a575f5ffd5b505af115801561061c573d5f5f3e3d5ffd5b50505050505b50505050505f5f5f6106348888610496565b925092509250829550806107c8575f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b806020016040519081016040528181525f908060200190933c604080516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166020820152808201919091525f606082015260800160408051601f19818403018152908290526106e992916020016114bc565b6040516020818303038152906040529050836001600160a01b031661070f5f8584610f08565b6001600160a01b03161461072557610725611491565b5f806001600160a01b038816156107455786608001518760a00151610748565b5f5f5b6040516304d42ba360e31b81526001600160a01b038e81166004830152602482018e90528b8116604483015280841660648301528083166084830152929450909250908a16906326a15d189060a4015f604051808303815f87803b1580156107ae575f5ffd5b505af11580156107c0573d5f5f3e3d5ffd5b505050505050505b5050509250925092565b5f80546001600160a01b031633146107fc5760405162461bcd60e51b81526004016102b29061140c565b4661080a60208401846114d0565b63ffffffff16148061083057504661082860408401602085016114d0565b63ffffffff16145b61088d5760405162461bcd60e51b815260206004820152602860248201527f4c6f6f70506f736974696f6e426f78466163746f72793a20696e76616c69642060448201526718da185a5b881a5960c21b60648201526084016102b2565b5f4661089f60408501602086016114d0565b63ffffffff1614801561091c57506108bd60e0840160c085016113f1565b6001600160a01b031663f75d217f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108f8573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091c91906114e9565b9050610930610153368590038501856112b6565b6040805161012081019091529092508061094d60208601866114d0565b63ffffffff16815260200184602001602081019061096b91906114d0565b63ffffffff168152602001821515815260200184604001602081019061099191906113f1565b6001600160a01b031681526020016109af60808601606087016113f1565b6001600160a01b031681526020016109cd60a08601608087016113f1565b6001600160a01b031681526020016109eb60c0860160a087016113f1565b6001600160a01b03168152602001610a0960e0860160c087016113f1565b6001600160a01b03908116825260e0808701356020938401525f8681526032845260409081902085518154958701518784015160608901518716600160481b02600160481b600160e81b0319911515600160401b0291909116600160401b600160e81b031963ffffffff938416600160201b026001600160401b0319909a16939094169290921797909717919091161794909417845560808501516001850180549185166001600160a01b031992831617905560a086015160028601805491861691831691909117905560c08601516003860180549186169183169190911790559185015160048501805491909416921691909117909155610100909201516005909101555182907fe24d9bdb0d8927f21ed21989f9e1dd86fafbe7cedb9e3ec1c8d60f12c17cfe4890610b3e908690611504565b60405180910390a250919050565b5f5f5f610b598585610db1565b509298909750919550909350505050565b600154600160a81b900460ff1615808015610b90575060018054600160a01b900460ff16105b80610bb05750303b158015610bb0575060018054600160a01b900460ff16145b610c135760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016102b2565b6001805460ff60a01b1916600160a01b1790558015610c40576001805460ff60a81b1916600160a81b1790555b610c498261100d565b8015610c90576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b5f8181526032602052604090208054600160481b90046001600160a01b0316610d125760405162461bcd60e51b815260206004820152602a60248201527f4c6f6f70506f736974696f6e426f78466163746f72793a20626f78206e6f74206044820152691c9959da5cdd195c995960b21b60648201526084016102b2565b919050565b610d1f611123565b506040805161010081018252825463ffffffff8082168352600160201b82041660208301526001600160a01b03600160481b9091048116928201929092526001830154821660608201526002830154821660808201526003830154821660a0820152600483015490911660c082015260059091015460e082015290565b5f610da883833061109b565b90505b92915050565b5f5f5f5f5f610dbf86610c94565b805490915063ffffffff600160201b909104164614610de9575f9450849350839250829150610e6a565b600481015481546001600160a01b039091169450600160401b900460ff1615610e62578686604051602001610e1f929190611478565b60408051601f1981840301815291905280516020909101209250610e4c6001600160a01b038516846110c4565b94505f856001600160a01b03163b119150610e6a565b839450600191505b9295509295909350565b5f763d602d80600a3d3981f3363d3d373d3d3d363d730000008360601b60e81c175f526e5af43d82803e903d91602b57fd5bf38360781b1760205281603760095ff590506001600160a01b038116610dab5760405162461bcd60e51b8152602060048201526017602482015276115490cc4c4d8dce8818dc99585d194c8819985a5b1959604a1b60448201526064016102b2565b5f83471015610f595760405162461bcd60e51b815260206004820152601d60248201527f437265617465323a20696e73756666696369656e742062616c616e636500000060448201526064016102b2565b81515f03610fa95760405162461bcd60e51b815260206004820181905260248201527f437265617465323a2062797465636f6465206c656e677468206973207a65726f60448201526064016102b2565b8282516020840186f590506001600160a01b0381166110065760405162461bcd60e51b8152602060048201526019602482015278437265617465323a204661696c6564206f6e206465706c6f7960381b60448201526064016102b2565b9392505050565b600154600160a81b900460ff1661107a5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016102b2565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b5f604051836040820152846020820152828152600b8101905060ff815360559020949350505050565b6040513060388201526f5af43d82803e903d91602b57fd5bf3ff602482015260148101839052733d602d80600a3d3981f3363d3d373d3d3d363d738152605881018290526037600c820120607882015260556043909101205f90610da8565b60408051610100810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e081019190915290565b6001600160a01b038116811461117a575f5ffd5b50565b8035610d1281611166565b801515811461117a575f5ffd5b5f5f5f606084860312156111a7575f5ffd5b83356111b281611166565b925060208401356111c281611188565b915060408401356111d281611188565b809150509250925092565b5f602082840312156111ed575f5ffd5b5035919050565b6001600160a01b03169052565b63ffffffff815116825263ffffffff602082015116602083015260018060a01b036040820151166040830152606081015161123f60608401826111f4565b50608081015161125260808401826111f4565b5060a081015161126560a08401826111f4565b5060c081015161127860c08401826111f4565b5060e090810151910152565b61012081016112938285611201565b8215156101008301529392505050565b803563ffffffff81168114610d12575f5ffd5b5f6101008284031280156112c8575f5ffd5b5060405161010081016001600160401b03811182821017156112f857634e487b7160e01b5f52604160045260245ffd5b604052611304836112a3565b8152611312602084016112a3565b60208201526113236040840161117d565b60408201526113346060840161117d565b60608201526113456080840161117d565b608082015261135660a0840161117d565b60a082015261136760c0840161117d565b60c082015260e0928301359281019290925250919050565b5f5f60408385031215611390575f5ffd5b823561139b81611166565b946020939093013593505050565b6001600160a01b0384811682528316602082015261014081016113cf6040830184611201565b949350505050565b5f6101008284031280156113e9575f5ffd5b509092915050565b5f60208284031215611401575f5ffd5b813561100681611166565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b610120808252600f908201526e098dedee0a0dee6d2e8d2dedc84def608b1b6101408201526101608101610dab6020830184611201565b6001600160a01b03929092168252602082015260400190565b634e487b7160e01b5f52600160045260245ffd5b5f81518060208401855e5f93019283525090919050565b5f6113cf6114ca83866114a5565b846114a5565b5f602082840312156114e0575f5ffd5b610da8826112a3565b5f602082840312156114f9575f5ffd5b815161100681611188565b610100810163ffffffff611517846112a3565b16825263ffffffff61152b602085016112a3565b166020830152604083013561153f81611166565b6001600160a01b031660408301526115596060840161117d565b61156660608401826111f4565b506115736080840161117d565b61158060808401826111f4565b5061158d60a0840161117d565b61159a60a08401826111f4565b506115a760c0840161117d565b6115b460c08401826111f4565b5060e09283013591909201529056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a2646970667358221220baa36b92d3a8fd1d2c326275e22287301cc0a0b0a08824192c07db5c8db1a12664736f6c634300081e0033";
|
|
584
|
+
|
|
585
|
+
type LoopPositionBoxFactoryConstructorParams =
|
|
586
|
+
| [signer?: Signer]
|
|
587
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
588
|
+
|
|
589
|
+
const isSuperArgs = (
|
|
590
|
+
xs: LoopPositionBoxFactoryConstructorParams
|
|
591
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
592
|
+
|
|
593
|
+
export class LoopPositionBoxFactory__factory extends ContractFactory {
|
|
594
|
+
constructor(...args: LoopPositionBoxFactoryConstructorParams) {
|
|
595
|
+
if (isSuperArgs(args)) {
|
|
596
|
+
super(...args);
|
|
597
|
+
} else {
|
|
598
|
+
super(_abi, _bytecode, args[0]);
|
|
599
|
+
}
|
|
600
|
+
this.contractName = "LoopPositionBoxFactory";
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
deploy(
|
|
604
|
+
beaconProxyCodeContract_: string,
|
|
605
|
+
positionBoxBeacon_: string,
|
|
606
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
607
|
+
): Promise<LoopPositionBoxFactory> {
|
|
608
|
+
return super.deploy(
|
|
609
|
+
beaconProxyCodeContract_,
|
|
610
|
+
positionBoxBeacon_,
|
|
611
|
+
overrides || {}
|
|
612
|
+
) as Promise<LoopPositionBoxFactory>;
|
|
613
|
+
}
|
|
614
|
+
getDeployTransaction(
|
|
615
|
+
beaconProxyCodeContract_: string,
|
|
616
|
+
positionBoxBeacon_: string,
|
|
617
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
618
|
+
): TransactionRequest {
|
|
619
|
+
return super.getDeployTransaction(
|
|
620
|
+
beaconProxyCodeContract_,
|
|
621
|
+
positionBoxBeacon_,
|
|
622
|
+
overrides || {}
|
|
623
|
+
);
|
|
624
|
+
}
|
|
625
|
+
attach(address: string): LoopPositionBoxFactory {
|
|
626
|
+
return super.attach(address) as LoopPositionBoxFactory;
|
|
627
|
+
}
|
|
628
|
+
connect(signer: Signer): LoopPositionBoxFactory__factory {
|
|
629
|
+
return super.connect(signer) as LoopPositionBoxFactory__factory;
|
|
630
|
+
}
|
|
631
|
+
static readonly contractName: "LoopPositionBoxFactory";
|
|
632
|
+
public readonly contractName: "LoopPositionBoxFactory";
|
|
633
|
+
static readonly bytecode = _bytecode;
|
|
634
|
+
static readonly abi = _abi;
|
|
635
|
+
static createInterface(): LoopPositionBoxFactoryInterface {
|
|
636
|
+
return new utils.Interface(_abi) as LoopPositionBoxFactoryInterface;
|
|
637
|
+
}
|
|
638
|
+
static connect(
|
|
639
|
+
address: string,
|
|
640
|
+
signerOrProvider: Signer | Provider
|
|
641
|
+
): LoopPositionBoxFactory {
|
|
642
|
+
return new Contract(
|
|
643
|
+
address,
|
|
644
|
+
_abi,
|
|
645
|
+
signerOrProvider
|
|
646
|
+
) as LoopPositionBoxFactory;
|
|
647
|
+
}
|
|
648
|
+
}
|