@pendle/core-v2 6.4.4-swaphubtest → 6.5.0-swaphubtest
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.dbg.json +4 -0
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.json +457 -0
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.dbg.json +4 -0
- package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.json +733 -0
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.json +0 -51
- package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.dbg.json +4 -0
- package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.json +618 -0
- package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.dbg.json +4 -0
- package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.json +1157 -0
- 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/PYIndex.sol/PYIndexLib.json +2 -2
- 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/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
- package/build/artifacts/contracts/core/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/Errors.sol/Errors.json +3 -3
- 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/core/libraries/math/PMath.sol/PMath.json +2 -2
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.json +2 -2
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.json +170 -0
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.json +124 -0
- package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +302 -511
- package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.json +301 -501
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +2 -2
- 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/IPActionCrossChain.sol/IPActionCrossChain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.json +265 -478
- package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.json +108 -0
- 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/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.json +0 -51
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.json +102 -11
- 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/IPMarket.sol/IPMarket.json +0 -19
- 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/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.json +351 -0
- 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/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
- 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/BalanceReader.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.json +30 -0
- 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/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.json +2 -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/PendleLPWrapper.sol/PendleLPWrapper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.json +2 -2
- 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/deploy/lib/MarketDeployLib.sol/MarketDeployLib.json +2 -2
- 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/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.json +2 -2
- 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/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/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/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.json +2 -2
- 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/ActionCrossChain.sol/ActionCrossChain.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.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/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.json +2 -2
- 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/GaugeController/PendleGaugeControllerUpg.sol +122 -0
- package/contracts/LiquidityMining/sPendle/StakedPendle.sol +129 -0
- package/contracts/core/Market/PendleGauge.sol +1 -76
- package/contracts/core/Market/{PendleMarketFactoryV6Upg.sol → PendleMarketFactoryV7Upg.sol} +3 -6
- package/contracts/core/Market/{PendleMarketV6.sol → PendleMarketV7.sol} +16 -16
- package/contracts/core/libraries/Errors.sol +1 -1
- package/contracts/core/libraries/TokenHelper.sol +6 -2
- package/contracts/core/libraries/math/PMath.sol +5 -0
- package/contracts/cross-chain/deposit-box/DepositBoxFactory.sol +44 -0
- package/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol +37 -114
- package/contracts/cross-chain/swap-hub/SwapHubBase.sol +82 -172
- package/contracts/interfaces/IPCrossChainSwapHub.sol +34 -73
- package/contracts/interfaces/IPDepositBoxFactory.sol +19 -0
- package/contracts/interfaces/IPGauge.sol +0 -6
- package/contracts/interfaces/IPGaugeController.sol +20 -3
- package/contracts/interfaces/IPMarket.sol +12 -0
- package/contracts/interfaces/IPStakedPendle.sol +69 -0
- package/contracts/offchain-helpers/BalanceReader.sol +11 -1
- package/contracts/offchain-helpers/MarketSweed.sol +46 -54
- package/contracts/offchain-helpers/PendleMerkleDepositor.sol +5 -6
- package/contracts/router/ActionCrossChain.sol +14 -18
- package/contracts/router/Reflector.sol +19 -2
- package/deployments/1-core.json +3 -2
- package/deployments/10-core.json +1 -1
- package/deployments/130-core.json +2 -1
- package/deployments/146-core.json +1 -1
- package/deployments/42161-core.json +1 -1
- package/deployments/5000-core.json +1 -1
- package/deployments/56-core.json +1 -1
- package/deployments/80094-core.json +1 -1
- package/deployments/8453-core.json +1 -1
- package/deployments/9745-core.json +4 -3
- package/deployments/999-core.json +6 -6
- package/package.json +1 -1
- package/typechain-types/DepositBoxFactory.ts +226 -0
- package/typechain-types/ERC20Upgradeable.ts +426 -0
- package/typechain-types/IERC20MetadataUpgradeable.ts +339 -0
- package/typechain-types/IERC20Upgradeable.ts +300 -0
- package/typechain-types/ILegacyMarket.ts +93 -0
- package/typechain-types/IPCrossChainSwapHub.ts +183 -409
- package/typechain-types/IPDepositBoxFactory.ts +226 -0
- package/typechain-types/IPGauge.ts +7 -81
- package/typechain-types/IPGaugeController.ts +168 -38
- package/typechain-types/IPMarket.ts +0 -19
- package/typechain-types/IPStakedPendle.ts +558 -0
- package/typechain-types/PendleCrossChainSwapHub.ts +226 -434
- package/typechain-types/PendleGauge.ts +0 -63
- package/typechain-types/PendleGaugeControllerUpg.ts +686 -0
- package/typechain-types/PendleMarketFactoryV7Upg.ts +760 -0
- package/typechain-types/PendleMarketV7.ts +1229 -0
- package/typechain-types/StakedPendle.ts +1058 -0
- package/typechain-types/SwapHubBase.ts +225 -433
- 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/BalanceReader__factory.ts +1 -1
- package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +1 -1
- package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +1 -1
- package/typechain-types/factories/Broadcaster__factory.ts +1 -1
- package/typechain-types/factories/DepositBoxFactory__factory.ts +189 -0
- package/typechain-types/factories/DepositBox__factory.ts +1 -1
- package/typechain-types/factories/ERC20Upgradeable__factory.ts +347 -0
- package/typechain-types/factories/Errors__factory.ts +2 -2
- package/typechain-types/factories/ExchangeRateMsgCodec__factory.ts +1 -1
- package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
- package/typechain-types/factories/FixedPricePTAMM__factory.ts +1 -1
- package/typechain-types/factories/IERC20MetadataUpgradeable__factory.ts +252 -0
- package/typechain-types/factories/IERC20Upgradeable__factory.ts +209 -0
- package/typechain-types/factories/ILegacyMarket__factory.ts +42 -0
- package/typechain-types/factories/IPCrossChainSwapHub__factory.ts +264 -477
- package/typechain-types/factories/IPDepositBoxFactory__factory.ts +123 -0
- package/typechain-types/factories/IPGaugeController__factory.ts +102 -11
- package/typechain-types/factories/IPGauge__factory.ts +0 -51
- package/typechain-types/factories/IPMarket__factory.ts +0 -19
- package/typechain-types/factories/IPStakedPendle__factory.ts +366 -0
- package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
- package/typechain-types/factories/MarketSweed__factory.ts +1 -1
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/PendleAPIFeeDepositor__factory.ts +1 -1
- package/typechain-types/factories/PendleBoringOneracle__factory.ts +1 -1
- package/typechain-types/factories/PendleBoringSolvBTCOneracle__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +304 -517
- package/typechain-types/factories/PendleExchangeRateOracleApp__factory.ts +1 -1
- package/typechain-types/factories/PendleExchangeRateOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeSetter__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerUpg__factory.ts +519 -0
- package/typechain-types/factories/PendleGauge__factory.ts +0 -51
- package/typechain-types/factories/PendleLPWrapperFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleLPWrapper__factory.ts +1 -1
- package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactoryV7Upg__factory.ts +710 -0
- package/typechain-types/factories/PendleMarketV6__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketV7__factory.ts +1233 -0
- package/typechain-types/factories/PendleMerkleDepositor__factory.ts +1 -1
- package/typechain-types/factories/PendleMerkleDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendlePYLpOracle__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/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
- package/typechain-types/factories/PendleSparkLinearDiscountOracleFactoryWrapper__factory.ts +1 -1
- package/typechain-types/factories/PendleSparkLinearDiscountOracleFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleSwap__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactoryUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/Reflector__factory.ts +1 -1
- package/typechain-types/factories/SimulateHelper__factory.ts +1 -1
- package/typechain-types/factories/StakedPendle__factory.ts +785 -0
- package/typechain-types/factories/SwapHubBase__factory.ts +300 -500
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +87 -87
- package/typechain-types/index.ts +24 -24
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +0 -451
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +0 -557
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +0 -547
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +0 -1311
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +0 -764
- package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.dbg.json +0 -4
- package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.json +0 -636
- package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.dbg.json +0 -4
- package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.json +0 -1181
- package/build/artifacts/contracts/cross-chain/swap-hub/DepositBox.sol/DepositBox.dbg.json +0 -4
- package/build/artifacts/contracts/cross-chain/swap-hub/DepositBox.sol/DepositBox.json +0 -170
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +0 -4
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +0 -598
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.json +0 -183
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.json +0 -380
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +0 -262
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +0 -164
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol +0 -42
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol +0 -36
- package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +0 -304
- package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +0 -301
- package/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol +0 -204
- package/contracts/interfaces/IPGaugeControllerMainchain.sol +0 -8
- package/contracts/interfaces/IPVotingController.sol +0 -43
- package/contracts/offchain-helpers/Broadcaster.sol +0 -48
- /package/contracts/cross-chain/{swap-hub → deposit-box}/DepositBox.sol +0 -0
|
@@ -191,7 +191,7 @@ const _abi = [
|
|
|
191
191
|
];
|
|
192
192
|
|
|
193
193
|
const _bytecode =
|
|
194
|
-
"0x610120604052348015610010575f5ffd5b5060405161179d38038061179d83398101604081905261002f916100e2565b63ffffffff84166080526001600160a01b0380841660a052821660c08190526040805163313ce56760e01b8152905163313ce567916004808201926020929091908290030181865afa158015610087573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100ab919061013d565b60ff1660e0526001600160a01b03166101005250610164915050565b80516001600160a01b03811681146100dd575f5ffd5b919050565b5f5f5f5f608085870312156100f5575f5ffd5b845163ffffffff81168114610108575f5ffd5b9350610116602086016100c7565b9250610124604086016100c7565b9150610132606086016100c7565b905092959194509250565b5f6020828403121561014d575f5ffd5b815160ff8116811461015d575f5ffd5b9392505050565b60805160a05160c05160e0516101005161158061021d5f395f818161015a015281816102590152818161037d015261040e01525f81816101890152818161062401528181610652015261069501525f818160f401526105a001525f8181610133015281816101de0152818161028801528181610333015281816103ac015261043d01525f818160b001528181610200015281816102a901528181610355015281816103cd0152818161045e015261052201526115805ff3fe608060405234801561000f575f5ffd5b506004361061008c575f3560e01c8063223a3b261461009057806326d89545146100ab5780632f467dab146100e757806337a7b7d8146100ef57806380f556051461012e5780638ca06ea614610155578063addccbb31461017c578063c23953d014610184578063e710b82f146101bd578063f9294d8b146101c5575b5f5ffd5b6100986101cf565b6040519081526020015b60405180910390f35b6100d27f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff90911681526020016100a2565b610098610255565b6101167f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100a2565b6101167f000000000000000000000000000000000000000000000000000000000000000081565b6101167f000000000000000000000000000000000000000000000000000000000000000081565b610098610324565b6101ab7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016100a2565b610098610379565b6101cd610409565b005b5f806102246001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000610554565b90505f61022f61059c565b9050670de0b6b3a76400006102448383611088565b61024e91906110b3565b9250505090565b5f5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ffec44077f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006040518363ffffffff1660e01b81526004016102e59291906110c6565b602060405180830381865afa158015610300573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061022491906110e5565b5f806102246001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f00000000000000000000000000000000000000000000000000000000000000006106d6565b5f5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a31426d17f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006040518363ffffffff1660e01b81526004016102e59291906110c6565b5f5f5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663873e96007f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006040518363ffffffff1660e01b815260040161049a9291906110c6565b606060405180830381865afa1580156104b5573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104d99190611121565b9250925092508215610509576040516333b3ceb360e01b815261ffff831660048201526024015b60405180910390fd5b8061054f57604051631229555360e01b815263ffffffff7f0000000000000000000000000000000000000000000000000000000000000000166004820152602401610500565b505050565b5f5f5f61056085610709565b915091508082106105885761057f82610579878761092c565b90610950565b92505050610596565b61057f81610579878761092c565b92915050565b5f5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166350d25bcd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105fa573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061061e91906110e5565b905060127f000000000000000000000000000000000000000000000000000000000000000060ff16106106905761067660127f0000000000000000000000000000000000000000000000000000000000000000611161565b61068190600a61125d565b61068b90826110b3565b6106d0565b6106bb7f00000000000000000000000000000000000000000000000000000000000000006012611161565b6106c690600a61125d565b6106d09082611088565b91505090565b5f5f5f6106e285610709565b915091508082106106fb5761057f82610579878761097e565b61057f81610579878761097e565b5f5f5f5f846001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610749573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061076d9190611282565b9250509150816001600160a01b0316633ba0b9a96040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107ae573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d291906110e5565b93505f816001600160a01b031663d2a3584e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610811573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061083591906110e5565b9050816001600160a01b031663516399df6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610873573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061089791906112cc565b801561090a575043826001600160a01b03166360e0a9e16040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108db573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108ff91906112e5565b6001600160801b0316145b1561091757809350610924565b6109218582610a46565b93505b505050915091565b5f610937838361097e565b61094990670de0b6b3a764000061130b565b9392505050565b5f80610964670de0b6b3a764000085611088565b90508281816109755761097561109f565b04949350505050565b5f5f836001600160a01b031663e184c9be6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109bc573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e091906110e5565b90504281116109fa57670de0b6b3a7640000915050610596565b5f610a058585610a5b565b90505f610a12428461130b565b90505f610a27610a228484610bfe565b610c3e565b9050610a3b670de0b6b3a764000082610950565b945050505050610596565b5f818311610a545781610949565b5090919050565b5f8163ffffffff165f03610ae3575f836001600160a01b031663c3fb90d66040518163ffffffff1660e01b815260040160c060405180830381865afa158015610aa6573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aca919061132f565b50505092505050806001600160601b0316915050610596565b6040805160028082526060820183525f9260208301908036833701905050905082815f81518110610b1657610b166113c1565b63ffffffff9092166020928302919091019091015260405163883bdbfd60e01b81525f906001600160a01b0386169063883bdbfd90610b599085906004016113d5565b5f60405180830381865afa158015610b73573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610b9a9190810190611433565b90508363ffffffff16815f81518110610bb557610bb56113c1565b602002602001015182600181518110610bd057610bd06113c1565b6020026020010151610be291906114fd565b610bec919061151c565b6001600160d81b031695945050505050565b5f80610c0f6201518061016d611088565b610c198486611088565b610c2391906110b3565b9050610c36610c3182610c4f565b610c63565b949350505050565b5f5f821215610c4b575f5ffd5b5090565b5f6001600160ff1b03821115610c4b575f5ffd5b5f680238fd42c5cf03ffff198212158015610c87575068070c1cc73b00c800008213155b610cc65760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b6044820152606401610500565b5f821215610cfc57610cd9825f03610c63565b6a0c097ce7bc90715b34b9f160241b81610cf557610cf561109f565b0592915050565b5f6806f05b59d3b20000008312610d3957506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b610d6f565b6803782dace9d90000008312610d6b57506803782dace9d8ffffff19909101906b1425982cf597cd205cef7380610d6f565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac620000008412610dbf5768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d6310000008412610dfb576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b188000008412610e3557682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c4000008412610e6f576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac62000008412610ea857680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d631000008412610ee15768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412610f1a576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c400008412610f535768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761059657610596611074565b634e487b7160e01b5f52601260045260245ffd5b5f826110c1576110c161109f565b500490565b6001600160a01b0392909216825263ffffffff16602082015260400190565b5f602082840312156110f5575f5ffd5b5051919050565b8051801515811461110b575f5ffd5b919050565b805161ffff8116811461110b575f5ffd5b5f5f5f60608486031215611133575f5ffd5b61113c846110fc565b925061114a60208501611110565b9150611158604085016110fc565b90509250925092565b60ff828116828216039081111561059657610596611074565b6001815b60018411156111b55780850481111561119957611199611074565b60018416156111a757908102905b60019390931c92800261117e565b935093915050565b5f826111cb57506001610596565b816111d757505f610596565b81600181146111ed57600281146111f757611213565b6001915050610596565b60ff84111561120857611208611074565b50506001821b610596565b5060208310610133831016604e8410600b8410161715611236575081810a610596565b6112425f19848461117a565b805f190482111561125557611255611074565b029392505050565b5f61094960ff8416836111bd565b6001600160a01b038116811461127f575f5ffd5b50565b5f5f5f60608486031215611294575f5ffd5b835161129f8161126b565b60208501519093506112b08161126b565b60408501519092506112c18161126b565b809150509250925092565b5f602082840312156112dc575f5ffd5b610949826110fc565b5f602082840312156112f5575f5ffd5b81516001600160801b0381168114610949575f5ffd5b8181038181111561059657610596611074565b8051600f81900b811461110b575f5ffd5b5f5f5f5f5f5f60c08789031215611344575f5ffd5b61134d8761131e565b955061135b6020880161131e565b60408801519095506001600160601b0381168114611377575f5ffd5b935061138560608801611110565b925061139360808801611110565b91506113a160a08801611110565b90509295509295509295565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b602080825282518282018190525f918401906040840190835b8181101561141257835163ffffffff168352602093840193909201916001016113ee565b509095945050505050565b80516001600160d81b038116811461110b575f5ffd5b5f60208284031215611443575f5ffd5b81516001600160401b03811115611458575f5ffd5b8201601f81018413611468575f5ffd5b80516001600160401b03811115611481576114816113ad565b604051600582901b90603f8201601f191681016001600160401b03811182821017156114af576114af6113ad565b6040529182526020818401810192908101878411156114cc575f5ffd5b6020850194505b838510156114f2576114e48561141d565b8152602094850194016114d3565b509695505050505050565b6001600160d81b03828116828216039081111561059657610596611074565b5f6001600160d81b038316806115345761153461109f565b6001600160d81b0392909216919091049291505056fea264697066735822122035c4d98d15386df06922b5e66fdb583e58de4200acd03ebba668cbb99105700764736f6c634300081e0033";
|
|
194
|
+
"0x610120604052348015610010575f5ffd5b5060405161179d38038061179d83398101604081905261002f916100e2565b63ffffffff84166080526001600160a01b0380841660a052821660c08190526040805163313ce56760e01b8152905163313ce567916004808201926020929091908290030181865afa158015610087573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100ab919061013d565b60ff1660e0526001600160a01b03166101005250610164915050565b80516001600160a01b03811681146100dd575f5ffd5b919050565b5f5f5f5f608085870312156100f5575f5ffd5b845163ffffffff81168114610108575f5ffd5b9350610116602086016100c7565b9250610124604086016100c7565b9150610132606086016100c7565b905092959194509250565b5f6020828403121561014d575f5ffd5b815160ff8116811461015d575f5ffd5b9392505050565b60805160a05160c05160e0516101005161158061021d5f395f818161015a015281816102590152818161037d015261040e01525f81816101890152818161062401528181610652015261069501525f818160f401526105a001525f8181610133015281816101de0152818161028801528181610333015281816103ac015261043d01525f818160b001528181610200015281816102a901528181610355015281816103cd0152818161045e015261052201526115805ff3fe608060405234801561000f575f5ffd5b506004361061008c575f3560e01c8063223a3b261461009057806326d89545146100ab5780632f467dab146100e757806337a7b7d8146100ef57806380f556051461012e5780638ca06ea614610155578063addccbb31461017c578063c23953d014610184578063e710b82f146101bd578063f9294d8b146101c5575b5f5ffd5b6100986101cf565b6040519081526020015b60405180910390f35b6100d27f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff90911681526020016100a2565b610098610255565b6101167f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100a2565b6101167f000000000000000000000000000000000000000000000000000000000000000081565b6101167f000000000000000000000000000000000000000000000000000000000000000081565b610098610324565b6101ab7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016100a2565b610098610379565b6101cd610409565b005b5f806102246001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000610554565b90505f61022f61059c565b9050670de0b6b3a76400006102448383611088565b61024e91906110b3565b9250505090565b5f5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ffec44077f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006040518363ffffffff1660e01b81526004016102e59291906110c6565b602060405180830381865afa158015610300573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061022491906110e5565b5f806102246001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f00000000000000000000000000000000000000000000000000000000000000006106d6565b5f5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a31426d17f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006040518363ffffffff1660e01b81526004016102e59291906110c6565b5f5f5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663873e96007f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006040518363ffffffff1660e01b815260040161049a9291906110c6565b606060405180830381865afa1580156104b5573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104d99190611121565b9250925092508215610509576040516333b3ceb360e01b815261ffff831660048201526024015b60405180910390fd5b8061054f57604051631229555360e01b815263ffffffff7f0000000000000000000000000000000000000000000000000000000000000000166004820152602401610500565b505050565b5f5f5f61056085610709565b915091508082106105885761057f82610579878761092c565b90610950565b92505050610596565b61057f81610579878761092c565b92915050565b5f5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166350d25bcd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105fa573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061061e91906110e5565b905060127f000000000000000000000000000000000000000000000000000000000000000060ff16106106905761067660127f0000000000000000000000000000000000000000000000000000000000000000611161565b61068190600a61125d565b61068b90826110b3565b6106d0565b6106bb7f00000000000000000000000000000000000000000000000000000000000000006012611161565b6106c690600a61125d565b6106d09082611088565b91505090565b5f5f5f6106e285610709565b915091508082106106fb5761057f82610579878761097e565b61057f81610579878761097e565b5f5f5f5f846001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610749573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061076d9190611282565b9250509150816001600160a01b0316633ba0b9a96040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107ae573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d291906110e5565b93505f816001600160a01b031663d2a3584e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610811573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061083591906110e5565b9050816001600160a01b031663516399df6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610873573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061089791906112cc565b801561090a575043826001600160a01b03166360e0a9e16040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108db573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108ff91906112e5565b6001600160801b0316145b1561091757809350610924565b6109218582610a46565b93505b505050915091565b5f610937838361097e565b61094990670de0b6b3a764000061130b565b9392505050565b5f80610964670de0b6b3a764000085611088565b90508281816109755761097561109f565b04949350505050565b5f5f836001600160a01b031663e184c9be6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109bc573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e091906110e5565b90504281116109fa57670de0b6b3a7640000915050610596565b5f610a058585610a5b565b90505f610a12428461130b565b90505f610a27610a228484610bfe565b610c3e565b9050610a3b670de0b6b3a764000082610950565b945050505050610596565b5f818311610a545781610949565b5090919050565b5f8163ffffffff165f03610ae3575f836001600160a01b031663c3fb90d66040518163ffffffff1660e01b815260040160c060405180830381865afa158015610aa6573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aca919061132f565b50505092505050806001600160601b0316915050610596565b6040805160028082526060820183525f9260208301908036833701905050905082815f81518110610b1657610b166113c1565b63ffffffff9092166020928302919091019091015260405163883bdbfd60e01b81525f906001600160a01b0386169063883bdbfd90610b599085906004016113d5565b5f60405180830381865afa158015610b73573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610b9a9190810190611433565b90508363ffffffff16815f81518110610bb557610bb56113c1565b602002602001015182600181518110610bd057610bd06113c1565b6020026020010151610be291906114fd565b610bec919061151c565b6001600160d81b031695945050505050565b5f80610c0f6201518061016d611088565b610c198486611088565b610c2391906110b3565b9050610c36610c3182610c4f565b610c63565b949350505050565b5f5f821215610c4b575f5ffd5b5090565b5f6001600160ff1b03821115610c4b575f5ffd5b5f680238fd42c5cf03ffff198212158015610c87575068070c1cc73b00c800008213155b610cc65760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b6044820152606401610500565b5f821215610cfc57610cd9825f03610c63565b6a0c097ce7bc90715b34b9f160241b81610cf557610cf561109f565b0592915050565b5f6806f05b59d3b20000008312610d3957506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b610d6f565b6803782dace9d90000008312610d6b57506803782dace9d8ffffff19909101906b1425982cf597cd205cef7380610d6f565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac620000008412610dbf5768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d6310000008412610dfb576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b188000008412610e3557682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c4000008412610e6f576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac62000008412610ea857680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d631000008412610ee15768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412610f1a576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c400008412610f535768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761059657610596611074565b634e487b7160e01b5f52601260045260245ffd5b5f826110c1576110c161109f565b500490565b6001600160a01b0392909216825263ffffffff16602082015260400190565b5f602082840312156110f5575f5ffd5b5051919050565b8051801515811461110b575f5ffd5b919050565b805161ffff8116811461110b575f5ffd5b5f5f5f60608486031215611133575f5ffd5b61113c846110fc565b925061114a60208501611110565b9150611158604085016110fc565b90509250925092565b60ff828116828216039081111561059657610596611074565b6001815b60018411156111b55780850481111561119957611199611074565b60018416156111a757908102905b60019390931c92800261117e565b935093915050565b5f826111cb57506001610596565b816111d757505f610596565b81600181146111ed57600281146111f757611213565b6001915050610596565b60ff84111561120857611208611074565b50506001821b610596565b5060208310610133831016604e8410600b8410161715611236575081810a610596565b6112425f19848461117a565b805f190482111561125557611255611074565b029392505050565b5f61094960ff8416836111bd565b6001600160a01b038116811461127f575f5ffd5b50565b5f5f5f60608486031215611294575f5ffd5b835161129f8161126b565b60208501519093506112b08161126b565b60408501519092506112c18161126b565b809150509250925092565b5f602082840312156112dc575f5ffd5b610949826110fc565b5f602082840312156112f5575f5ffd5b81516001600160801b0381168114610949575f5ffd5b8181038181111561059657610596611074565b8051600f81900b811461110b575f5ffd5b5f5f5f5f5f5f60c08789031215611344575f5ffd5b61134d8761131e565b955061135b6020880161131e565b60408801519095506001600160601b0381168114611377575f5ffd5b935061138560608801611110565b925061139360808801611110565b91506113a160a08801611110565b90509295509295509295565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b602080825282518282018190525f918401906040840190835b8181101561141257835163ffffffff168352602093840193909201916001016113ee565b509095945050505050565b80516001600160d81b038116811461110b575f5ffd5b5f60208284031215611443575f5ffd5b81516001600160401b03811115611458575f5ffd5b8201601f81018413611468575f5ffd5b80516001600160401b03811115611481576114816113ad565b604051600582901b90603f8201601f191681016001600160401b03811182821017156114af576114af6113ad565b6040529182526020818401810192908101878411156114cc575f5ffd5b6020850194505b838510156114f2576114e48561141d565b8152602094850194016114d3565b509695505050505050565b6001600160d81b03828116828216039081111561059657610596611074565b5f6001600160d81b038316806115345761153461109f565b6001600160d81b0392909216919091049291505056fea2646970667358221220588fae10c6e06c2034c4e59e6788054a836bb4e985c659cea3f3b603f26699ce64736f6c634300081e0033";
|
|
195
195
|
|
|
196
196
|
type BoringPYUsdChainlinkSYOracleConstructorParams =
|
|
197
197
|
| [signer?: Signer]
|
|
@@ -260,7 +260,7 @@ const _abi = [
|
|
|
260
260
|
];
|
|
261
261
|
|
|
262
262
|
const _bytecode =
|
|
263
|
-
"0x60c060405230608052348015610013575f5ffd5b5060405161178d38038061178d83398101604081905261003291610167565b600154600160a81b900460ff1615808015610058575060018054600160a01b900460ff16105b806100785750303b158015610078575060018054600160a01b900460ff16145b6100df5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b6001805460ff60a01b1916600160a01b179055801561010c576001805460ff60a81b1916600160a81b1790555b6001600160a01b03821660a0528015610160576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050610194565b5f60208284031215610177575f5ffd5b81516001600160a01b038116811461018d575f5ffd5b9392505050565b60805160a0516115a76101e65f395f81816101440152818161066401528181610708015261079501525f818161032c0152818161036c0152818161049b015281816104db015261055601526115a75ff3fe608060405260043610610099575f3560e01c8063078dfbe7146100a45780633659cfe6146100c55780633b1c6f1f146100e45780634e71e0c81461010c5780634f1ef28614610120578063517afbcf1461013357806352d1902d1461017e5780637eda170b146101925780638da5cb5b146101b1578063c4d66de8146101cf578063e086e5ec146101ee578063e30c397814610202575f5ffd5b366100a057005b5f5ffd5b3480156100af575f5ffd5b506100c36100be366004611142565b610221565b005b3480156100d0575f5ffd5b506100c36100df366004611188565b610322565b3480156100ef575f5ffd5b506100f960325481565b6040519081526020015b60405180910390f35b348015610117575f5ffd5b506100c36103e9565b6100c361012e3660046111b5565b610491565b34801561013e575f5ffd5b506101667f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610103565b348015610189575f5ffd5b506100f961054a565b34801561019d575f5ffd5b506100c36101ac366004611276565b6105f6565b3480156101bc575f5ffd5b505f54610166906001600160a01b031681565b3480156101da575f5ffd5b506100c36101e9366004611188565b610822565b3480156101f9575f5ffd5b506100c3610952565b34801561020d575f5ffd5b50600154610166906001600160a01b031681565b5f546001600160a01b031633146102535760405162461bcd60e51b815260040161024a906112e5565b60405180910390fd5b8115610301576001600160a01b03831615158061026d5750805b6102b15760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b604482015260640161024a565b5f80546040516001600160a01b03808716939216915f51602061152b5f395f51905f5291a35f80546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016300361036a5760405162461bcd60e51b815260040161024a9061131a565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661039c610994565b6001600160a01b0316146103c25760405162461bcd60e51b815260040161024a90611353565b6103cb816109af565b604080515f808252602082019092526103e6918391906109d8565b50565b6001546001600160a01b03163381146104445760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572604482015260640161024a565b5f80546040516001600160a01b03808516939216915f51602061152b5f395f51905f5291a35f80546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036104d95760405162461bcd60e51b815260040161024a9061131a565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661050b610994565b6001600160a01b0316146105315760405162461bcd60e51b815260040161024a90611353565b61053a826109af565b610546828260016109d8565b5050565b5f306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146105e45760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b606482015260840161024a565b505f51602061150b5f395f51905f5290565b5f6105ff610b42565b6001600160801b03169050806032541061065b5760405162461bcd60e51b815260206004820181905260248201527f63757272656e74207765656b20616c72656164792062726f6164636173746564604482015260640161024a565b806032819055507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166382ae9ef76040518163ffffffff1660e01b81526004015f604051808303815f87803b1580156106ba575f5ffd5b505af11580156106cc573d5f5f3e3d5ffd5b505f925050505b8281101561081c575f8484838181106106ee576106ee61138c565b905060200201602081019061070391906113a0565b90505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632477bfbe836040518263ffffffff1660e01b815260040161075291906113c6565b602060405180830381865afa15801561076d573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061079191906113da565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c291230d82846040518363ffffffff1660e01b81526004016107e091906113c6565b5f604051808303818588803b1580156107f7575f5ffd5b505af1158015610809573d5f5f3e3d5ffd5b5050600190950194506106d39350505050565b50505050565b600154600160a81b900460ff1615808015610848575060018054600160a01b900460ff16105b8061086f575061085730610b51565b15801561086f575060018054600160a01b900460ff16145b6108d25760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161024a565b6001805460ff60a01b1916600160a01b17905580156108ff576001805460ff60a81b1916600160a81b1790555b61090882610b60565b8015610546576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b5f546001600160a01b0316331461097b5760405162461bcd60e51b815260040161024a906112e5565b5f805461099291906001600160a01b031647610bee565b565b5f51602061150b5f395f51905f52546001600160a01b031690565b5f546001600160a01b031633146103e65760405162461bcd60e51b815260040161024a906112e5565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610a0b5761031d83610cad565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610a65575060408051601f3d908101601f19168201909252610a62918101906113da565b60015b610ac85760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161024a565b5f51602061150b5f395f51905f528114610b365760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161024a565b5061031d838383610d46565b5f610b4c42610d6a565b905090565b6001600160a01b03163b151590565b600154600160a81b900460ff16610bcd5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840161024a565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b805f03610bfa57505050565b6001600160a01b038316610c99575f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114610c51576040519150601f19603f3d011682016040523d82523d5f602084013e610c56565b606091505b505090508061081c5760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b604482015260640161024a565b61031d6001600160a01b0384168383610d89565b610cb681610b51565b610d185760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161024a565b5f51602061150b5f395f51905f5280546001600160a01b0319166001600160a01b0392909216919091179055565b610d4f83610ddb565b5f82511180610d5b5750805b1561031d5761081c8383610e1a565b5f62093a80610d7981846113f1565b610d83919061142b565b92915050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261031d908490610e46565b610de481610cad565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a250565b6060610e3f838360405180606001604052806027815260200161154b60279139610f19565b9392505050565b5f610e9a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610f8d9092919063ffffffff16565b905080515f1480610eba575080806020019051810190610eba9190611460565b61031d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161024a565b60605f5f856001600160a01b031685604051610f35919061149d565b5f60405180830381855af49150503d805f8114610f6d576040519150601f19603f3d011682016040523d82523d5f602084013e610f72565b606091505b5091509150610f8386838387610fa3565b9695505050505050565b6060610f9b84845f85611019565b949350505050565b6060831561100f5782515f0361100857610fbc85610b51565b6110085760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161024a565b5081610f9b565b610f9b83836110f0565b60608247101561107a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161024a565b5f5f866001600160a01b03168587604051611095919061149d565b5f6040518083038185875af1925050503d805f81146110cf576040519150601f19603f3d011682016040523d82523d5f602084013e6110d4565b606091505b50915091506110e587838387610fa3565b979650505050505050565b8151156111005781518083602001fd5b8060405162461bcd60e51b815260040161024a91906114b8565b80356001600160a01b0381168114611130575f5ffd5b919050565b80151581146103e6575f5ffd5b5f5f5f60608486031215611154575f5ffd5b61115d8461111a565b9250602084013561116d81611135565b9150604084013561117d81611135565b809150509250925092565b5f60208284031215611198575f5ffd5b610e3f8261111a565b634e487b7160e01b5f52604160045260245ffd5b5f5f604083850312156111c6575f5ffd5b6111cf8361111a565b915060208301356001600160401b038111156111e9575f5ffd5b8301601f810185136111f9575f5ffd5b80356001600160401b03811115611212576112126111a1565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611240576112406111a1565b604052818152828201602001871015611257575f5ffd5b816020840160208301375f602083830101528093505050509250929050565b5f5f60208385031215611287575f5ffd5b82356001600160401b0381111561129c575f5ffd5b8301601f810185136112ac575f5ffd5b80356001600160401b038111156112c1575f5ffd5b8560208260051b84010111156112d5575f5ffd5b6020919091019590945092505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c908201525f5160206114eb5f395f51905f5260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201525f5160206114eb5f395f51905f5260408201526b6163746976652070726f787960a01b606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156113b0575f5ffd5b81356001600160401b0381168114610e3f575f5ffd5b6001600160401b0391909116815260200190565b5f602082840312156113ea575f5ffd5b5051919050565b5f6001600160801b0383168061141557634e487b7160e01b5f52601260045260245ffd5b6001600160801b03929092169190910492915050565b6001600160801b03818116838216029081169081811461145957634e487b7160e01b5f52601160045260245ffd5b5092915050565b5f60208284031215611470575f5ffd5b8151610e3f81611135565b5f5b8381101561149557818101518382015260200161147d565b50505f910152565b5f82516114ae81846020870161147b565b9190910192915050565b602081525f82518060208401526114d681604085016020870161147b565b601f01601f1916919091016040019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220acadc6834afd7c092a722f71cca349d13f99110140bc9d4b5339ece20109e26264736f6c634300081e0033";
|
|
263
|
+
"0x60c060405230608052348015610013575f5ffd5b5060405161178d38038061178d83398101604081905261003291610167565b600154600160a81b900460ff1615808015610058575060018054600160a01b900460ff16105b806100785750303b158015610078575060018054600160a01b900460ff16145b6100df5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b6001805460ff60a01b1916600160a01b179055801561010c576001805460ff60a81b1916600160a81b1790555b6001600160a01b03821660a0528015610160576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050610194565b5f60208284031215610177575f5ffd5b81516001600160a01b038116811461018d575f5ffd5b9392505050565b60805160a0516115a76101e65f395f81816101440152818161066401528181610708015261079501525f818161032c0152818161036c0152818161049b015281816104db015261055601526115a75ff3fe608060405260043610610099575f3560e01c8063078dfbe7146100a45780633659cfe6146100c55780633b1c6f1f146100e45780634e71e0c81461010c5780634f1ef28614610120578063517afbcf1461013357806352d1902d1461017e5780637eda170b146101925780638da5cb5b146101b1578063c4d66de8146101cf578063e086e5ec146101ee578063e30c397814610202575f5ffd5b366100a057005b5f5ffd5b3480156100af575f5ffd5b506100c36100be366004611142565b610221565b005b3480156100d0575f5ffd5b506100c36100df366004611188565b610322565b3480156100ef575f5ffd5b506100f960325481565b6040519081526020015b60405180910390f35b348015610117575f5ffd5b506100c36103e9565b6100c361012e3660046111b5565b610491565b34801561013e575f5ffd5b506101667f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610103565b348015610189575f5ffd5b506100f961054a565b34801561019d575f5ffd5b506100c36101ac366004611276565b6105f6565b3480156101bc575f5ffd5b505f54610166906001600160a01b031681565b3480156101da575f5ffd5b506100c36101e9366004611188565b610822565b3480156101f9575f5ffd5b506100c3610952565b34801561020d575f5ffd5b50600154610166906001600160a01b031681565b5f546001600160a01b031633146102535760405162461bcd60e51b815260040161024a906112e5565b60405180910390fd5b8115610301576001600160a01b03831615158061026d5750805b6102b15760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b604482015260640161024a565b5f80546040516001600160a01b03808716939216915f51602061152b5f395f51905f5291a35f80546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016300361036a5760405162461bcd60e51b815260040161024a9061131a565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661039c610994565b6001600160a01b0316146103c25760405162461bcd60e51b815260040161024a90611353565b6103cb816109af565b604080515f808252602082019092526103e6918391906109d8565b50565b6001546001600160a01b03163381146104445760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572604482015260640161024a565b5f80546040516001600160a01b03808516939216915f51602061152b5f395f51905f5291a35f80546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036104d95760405162461bcd60e51b815260040161024a9061131a565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661050b610994565b6001600160a01b0316146105315760405162461bcd60e51b815260040161024a90611353565b61053a826109af565b610546828260016109d8565b5050565b5f306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146105e45760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b606482015260840161024a565b505f51602061150b5f395f51905f5290565b5f6105ff610b42565b6001600160801b03169050806032541061065b5760405162461bcd60e51b815260206004820181905260248201527f63757272656e74207765656b20616c72656164792062726f6164636173746564604482015260640161024a565b806032819055507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166382ae9ef76040518163ffffffff1660e01b81526004015f604051808303815f87803b1580156106ba575f5ffd5b505af11580156106cc573d5f5f3e3d5ffd5b505f925050505b8281101561081c575f8484838181106106ee576106ee61138c565b905060200201602081019061070391906113a0565b90505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632477bfbe836040518263ffffffff1660e01b815260040161075291906113c6565b602060405180830381865afa15801561076d573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061079191906113da565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c291230d82846040518363ffffffff1660e01b81526004016107e091906113c6565b5f604051808303818588803b1580156107f7575f5ffd5b505af1158015610809573d5f5f3e3d5ffd5b5050600190950194506106d39350505050565b50505050565b600154600160a81b900460ff1615808015610848575060018054600160a01b900460ff16105b8061086f575061085730610b51565b15801561086f575060018054600160a01b900460ff16145b6108d25760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161024a565b6001805460ff60a01b1916600160a01b17905580156108ff576001805460ff60a81b1916600160a81b1790555b61090882610b60565b8015610546576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b5f546001600160a01b0316331461097b5760405162461bcd60e51b815260040161024a906112e5565b5f805461099291906001600160a01b031647610bee565b565b5f51602061150b5f395f51905f52546001600160a01b031690565b5f546001600160a01b031633146103e65760405162461bcd60e51b815260040161024a906112e5565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610a0b5761031d83610cad565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610a65575060408051601f3d908101601f19168201909252610a62918101906113da565b60015b610ac85760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161024a565b5f51602061150b5f395f51905f528114610b365760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161024a565b5061031d838383610d46565b5f610b4c42610d6a565b905090565b6001600160a01b03163b151590565b600154600160a81b900460ff16610bcd5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840161024a565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b805f03610bfa57505050565b6001600160a01b038316610c99575f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114610c51576040519150601f19603f3d011682016040523d82523d5f602084013e610c56565b606091505b505090508061081c5760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b604482015260640161024a565b61031d6001600160a01b0384168383610d89565b610cb681610b51565b610d185760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161024a565b5f51602061150b5f395f51905f5280546001600160a01b0319166001600160a01b0392909216919091179055565b610d4f83610ddb565b5f82511180610d5b5750805b1561031d5761081c8383610e1a565b5f62093a80610d7981846113f1565b610d83919061142b565b92915050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261031d908490610e46565b610de481610cad565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a250565b6060610e3f838360405180606001604052806027815260200161154b60279139610f19565b9392505050565b5f610e9a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610f8d9092919063ffffffff16565b905080515f1480610eba575080806020019051810190610eba9190611460565b61031d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161024a565b60605f5f856001600160a01b031685604051610f35919061149d565b5f60405180830381855af49150503d805f8114610f6d576040519150601f19603f3d011682016040523d82523d5f602084013e610f72565b606091505b5091509150610f8386838387610fa3565b9695505050505050565b6060610f9b84845f85611019565b949350505050565b6060831561100f5782515f0361100857610fbc85610b51565b6110085760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161024a565b5081610f9b565b610f9b83836110f0565b60608247101561107a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161024a565b5f5f866001600160a01b03168587604051611095919061149d565b5f6040518083038185875af1925050503d805f81146110cf576040519150601f19603f3d011682016040523d82523d5f602084013e6110d4565b606091505b50915091506110e587838387610fa3565b979650505050505050565b8151156111005781518083602001fd5b8060405162461bcd60e51b815260040161024a91906114b8565b80356001600160a01b0381168114611130575f5ffd5b919050565b80151581146103e6575f5ffd5b5f5f5f60608486031215611154575f5ffd5b61115d8461111a565b9250602084013561116d81611135565b9150604084013561117d81611135565b809150509250925092565b5f60208284031215611198575f5ffd5b610e3f8261111a565b634e487b7160e01b5f52604160045260245ffd5b5f5f604083850312156111c6575f5ffd5b6111cf8361111a565b915060208301356001600160401b038111156111e9575f5ffd5b8301601f810185136111f9575f5ffd5b80356001600160401b03811115611212576112126111a1565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611240576112406111a1565b604052818152828201602001871015611257575f5ffd5b816020840160208301375f602083830101528093505050509250929050565b5f5f60208385031215611287575f5ffd5b82356001600160401b0381111561129c575f5ffd5b8301601f810185136112ac575f5ffd5b80356001600160401b038111156112c1575f5ffd5b8560208260051b84010111156112d5575f5ffd5b6020919091019590945092505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c908201525f5160206114eb5f395f51905f5260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201525f5160206114eb5f395f51905f5260408201526b6163746976652070726f787960a01b606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156113b0575f5ffd5b81356001600160401b0381168114610e3f575f5ffd5b6001600160401b0391909116815260200190565b5f602082840312156113ea575f5ffd5b5051919050565b5f6001600160801b0383168061141557634e487b7160e01b5f52601260045260245ffd5b6001600160801b03929092169190910492915050565b6001600160801b03818116838216029081169081811461145957634e487b7160e01b5f52601160045260245ffd5b5092915050565b5f60208284031215611470575f5ffd5b8151610e3f81611135565b5f5b8381101561149557818101518382015260200161147d565b50505f910152565b5f82516114ae81846020870161147b565b9190910192915050565b602081525f82518060208401526114d681604085016020870161147b565b601f01601f1916919091016040019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212200c557c4c71379d8dee6af222600edcaa1f73d888ad7d602c6d51db554e5c234d64736f6c634300081e0033";
|
|
264
264
|
|
|
265
265
|
type BroadcasterConstructorParams =
|
|
266
266
|
| [signer?: Signer]
|
|
@@ -0,0 +1,189 @@
|
|
|
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
|
+
DepositBoxFactory,
|
|
8
|
+
DepositBoxFactoryInterface,
|
|
9
|
+
} from "../DepositBoxFactory";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "address",
|
|
16
|
+
name: "beaconProxyCodeContract_",
|
|
17
|
+
type: "address",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
internalType: "address",
|
|
21
|
+
name: "depositBoxBeacon_",
|
|
22
|
+
type: "address",
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
stateMutability: "nonpayable",
|
|
26
|
+
type: "constructor",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
inputs: [],
|
|
30
|
+
name: "BEACON_PROXY_CODE_CONTRACT",
|
|
31
|
+
outputs: [
|
|
32
|
+
{
|
|
33
|
+
internalType: "address",
|
|
34
|
+
name: "",
|
|
35
|
+
type: "address",
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
stateMutability: "view",
|
|
39
|
+
type: "function",
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
inputs: [],
|
|
43
|
+
name: "DEPOSIT_BOX_BEACON",
|
|
44
|
+
outputs: [
|
|
45
|
+
{
|
|
46
|
+
internalType: "address",
|
|
47
|
+
name: "",
|
|
48
|
+
type: "address",
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
stateMutability: "view",
|
|
52
|
+
type: "function",
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
inputs: [],
|
|
56
|
+
name: "DEPOSIT_BOX_CODE_HASH",
|
|
57
|
+
outputs: [
|
|
58
|
+
{
|
|
59
|
+
internalType: "bytes32",
|
|
60
|
+
name: "",
|
|
61
|
+
type: "bytes32",
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
|
+
stateMutability: "view",
|
|
65
|
+
type: "function",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
inputs: [
|
|
69
|
+
{
|
|
70
|
+
internalType: "address",
|
|
71
|
+
name: "owner",
|
|
72
|
+
type: "address",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
internalType: "uint32",
|
|
76
|
+
name: "boxId",
|
|
77
|
+
type: "uint32",
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
name: "computeDepositBox",
|
|
81
|
+
outputs: [
|
|
82
|
+
{
|
|
83
|
+
internalType: "address",
|
|
84
|
+
name: "box",
|
|
85
|
+
type: "address",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
internalType: "bytes32",
|
|
89
|
+
name: "salt",
|
|
90
|
+
type: "bytes32",
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
internalType: "bool",
|
|
94
|
+
name: "deployed",
|
|
95
|
+
type: "bool",
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
stateMutability: "view",
|
|
99
|
+
type: "function",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
inputs: [
|
|
103
|
+
{
|
|
104
|
+
internalType: "address",
|
|
105
|
+
name: "owner",
|
|
106
|
+
type: "address",
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
internalType: "uint32",
|
|
110
|
+
name: "boxId",
|
|
111
|
+
type: "uint32",
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
name: "deployDepositBox",
|
|
115
|
+
outputs: [
|
|
116
|
+
{
|
|
117
|
+
internalType: "contract IPDepositBox",
|
|
118
|
+
name: "",
|
|
119
|
+
type: "address",
|
|
120
|
+
},
|
|
121
|
+
],
|
|
122
|
+
stateMutability: "nonpayable",
|
|
123
|
+
type: "function",
|
|
124
|
+
},
|
|
125
|
+
];
|
|
126
|
+
|
|
127
|
+
const _bytecode =
|
|
128
|
+
"0x60e060405234801561000f575f5ffd5b506040516106f03803806106f083398101604081905261002e916100de565b6001600160a01b03828116608081905290821660a052604080516020833b808301820190935282825290925f918401903c604080516001600160a01b0384166020820152808201919091525f606082015260800160408051601f19818403018152908290526100a0929160200161013c565b60408051601f19818403018152919052805160209091012060c052506101589050565b80516001600160a01b03811681146100d9575f5ffd5b919050565b5f5f604083850312156100ef575f5ffd5b6100f8836100c3565b9150610106602084016100c3565b90509250929050565b5f81515f5b8181101561012e5760208185018101518683015201610114565b505f93019283525090919050565b5f61015061014a838661010f565b8461010f565b949350505050565b60805160a05160c05161055c6101945f395f818160c901526102ea01525f8181605e01526101bf01525f818160a2015261016e015261055c5ff3fe608060405234801561000f575f5ffd5b5060043610610055575f3560e01c80631122f54e146100595780632d610bb01461009d5780635a3f0e6b146100c45780637f6bc3fd146100f9578063f22e9dd41461010c575b5f5ffd5b6100807f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100807f000000000000000000000000000000000000000000000000000000000000000081565b6100eb7f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610094565b610080610107366004610460565b610146565b61011f61011a366004610460565b6102b6565b604080516001600160a01b0390941684526020840192909252151590820152606001610094565b5f5f5f5f61015486866102b6565b925092509250801561016b578293505050506102b0565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b806020016040519081016040528181525f908060200190933c604080516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166020820152808201919091525f606082015260800160408051601f198184030181529082905261021292916020016104d7565b6040516020818303038152906040529050836001600160a01b03166102385f8584610326565b6001600160a01b03161461024e5761024e6104f3565b60405163c5e4c9f960e01b81526001600160a01b0385169063c5e4c9f99061027c908a908a90600401610507565b5f604051808303815f87803b158015610293575f5ffd5b505af11580156102a5573d5f5f3e3d5ffd5b509596505050505050505b92915050565b5f5f5f84846040516020016102cc929190610507565b60405160208183030381529060405280519060200120915061030e827f0000000000000000000000000000000000000000000000000000000000000000610430565b92505f836001600160a01b03163b1190509250925092565b5f8347101561037c5760405162461bcd60e51b815260206004820152601d60248201527f437265617465323a20696e73756666696369656e742062616c616e636500000060448201526064015b60405180910390fd5b81515f036103cc5760405162461bcd60e51b815260206004820181905260248201527f437265617465323a2062797465636f6465206c656e677468206973207a65726f6044820152606401610373565b8282516020840186f590506001600160a01b0381166104295760405162461bcd60e51b8152602060048201526019602482015278437265617465323a204661696c6564206f6e206465706c6f7960381b6044820152606401610373565b9392505050565b5f6104298383305f604051836040820152846020820152828152600b8101905060ff815360559020949350505050565b5f5f60408385031215610471575f5ffd5b82356001600160a01b0381168114610487575f5ffd5b9150602083013563ffffffff8116811461049f575f5ffd5b809150509250929050565b5f81515f5b818110156104c957602081850181015186830152016104af565b505f93019283525090919050565b5f6104eb6104e583866104aa565b846104aa565b949350505050565b634e487b7160e01b5f52600160045260245ffd5b6001600160a01b0392909216825263ffffffff1660208201526040019056fea264697066735822122051feb25e8b0bb295752d96a2e7c54335bb36a534af9901ea544138c22abe080964736f6c634300081e0033";
|
|
129
|
+
|
|
130
|
+
type DepositBoxFactoryConstructorParams =
|
|
131
|
+
| [signer?: Signer]
|
|
132
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
133
|
+
|
|
134
|
+
const isSuperArgs = (
|
|
135
|
+
xs: DepositBoxFactoryConstructorParams
|
|
136
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
137
|
+
|
|
138
|
+
export class DepositBoxFactory__factory extends ContractFactory {
|
|
139
|
+
constructor(...args: DepositBoxFactoryConstructorParams) {
|
|
140
|
+
if (isSuperArgs(args)) {
|
|
141
|
+
super(...args);
|
|
142
|
+
} else {
|
|
143
|
+
super(_abi, _bytecode, args[0]);
|
|
144
|
+
}
|
|
145
|
+
this.contractName = "DepositBoxFactory";
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
deploy(
|
|
149
|
+
beaconProxyCodeContract_: string,
|
|
150
|
+
depositBoxBeacon_: string,
|
|
151
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
152
|
+
): Promise<DepositBoxFactory> {
|
|
153
|
+
return super.deploy(
|
|
154
|
+
beaconProxyCodeContract_,
|
|
155
|
+
depositBoxBeacon_,
|
|
156
|
+
overrides || {}
|
|
157
|
+
) as Promise<DepositBoxFactory>;
|
|
158
|
+
}
|
|
159
|
+
getDeployTransaction(
|
|
160
|
+
beaconProxyCodeContract_: string,
|
|
161
|
+
depositBoxBeacon_: string,
|
|
162
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
163
|
+
): TransactionRequest {
|
|
164
|
+
return super.getDeployTransaction(
|
|
165
|
+
beaconProxyCodeContract_,
|
|
166
|
+
depositBoxBeacon_,
|
|
167
|
+
overrides || {}
|
|
168
|
+
);
|
|
169
|
+
}
|
|
170
|
+
attach(address: string): DepositBoxFactory {
|
|
171
|
+
return super.attach(address) as DepositBoxFactory;
|
|
172
|
+
}
|
|
173
|
+
connect(signer: Signer): DepositBoxFactory__factory {
|
|
174
|
+
return super.connect(signer) as DepositBoxFactory__factory;
|
|
175
|
+
}
|
|
176
|
+
static readonly contractName: "DepositBoxFactory";
|
|
177
|
+
public readonly contractName: "DepositBoxFactory";
|
|
178
|
+
static readonly bytecode = _bytecode;
|
|
179
|
+
static readonly abi = _abi;
|
|
180
|
+
static createInterface(): DepositBoxFactoryInterface {
|
|
181
|
+
return new utils.Interface(_abi) as DepositBoxFactoryInterface;
|
|
182
|
+
}
|
|
183
|
+
static connect(
|
|
184
|
+
address: string,
|
|
185
|
+
signerOrProvider: Signer | Provider
|
|
186
|
+
): DepositBoxFactory {
|
|
187
|
+
return new Contract(address, _abi, signerOrProvider) as DepositBoxFactory;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
@@ -168,7 +168,7 @@ const _abi = [
|
|
|
168
168
|
];
|
|
169
169
|
|
|
170
170
|
const _bytecode =
|
|
171
|
-
"
|
|
171
|
+
"0x60a060405234801561000f575f5ffd5b50604051610ef9380380610ef983398101604081905261002e91610103565b610036610047565b6001600160a01b0316608052610130565b5f54610100900460ff16156100b25760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b5f5460ff90811614610101575f805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b5f60208284031215610113575f5ffd5b81516001600160a01b0381168114610129575f5ffd5b9392505050565b608051610da46101555f395f818160ad01528181610173015261028b0152610da45ff3fe608060405260043610610057575f3560e01c8063117803e3146100625780631b2df8501461009c57806328dc8307146100cf578063a817c113146100ef578063c3b35a7e14610126578063c5e4c9f914610147575f5ffd5b3661005e57005b5f5ffd5b34801561006d575f5ffd5b505f54610086906201000090046001600160a01b031681565b60405161009391906109d9565b60405180910390f35b3480156100a7575f5ffd5b506100867f000000000000000000000000000000000000000000000000000000000000000081565b6100e26100dd366004610a74565b610166565b6040516100939190610bd7565b3480156100fa575f5ffd5b505f5461011190600160b01b900463ffffffff1681565b60405163ffffffff9091168152602001610093565b348015610131575f5ffd5b50610145610140366004610be9565b610280565b005b348015610152575f5ffd5b50610145610161366004610c23565b6102d8565b6060336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146101b95760405162461bcd60e51b81526004016101b090610c60565b60405180910390fd5b82515f906001600160a01b0316156101d1575f6101d7565b83602001515b9050345f81836101e68361041c565b6101f09190610cb5565b6101fa9190610cb5565b9050610212865f01518760400151886020015161042d565b608086015161023a906102258486610cc8565b60608901516001600160a01b03169190610454565b935061024e865f015187604001515f61042d565b5f6102585f61041c565b905081811115610276576102765f876102718585610cb5565b610482565b5050505092915050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146102c85760405162461bcd60e51b81526004016101b090610c60565b6102d3828483610482565b505050565b5f54610100900460ff16158080156102f657505f54600160ff909116105b8061031657506103053061055a565b15801561031657505f5460ff166001145b6103795760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016101b0565b5f805460ff19166001179055801561039a575f805461ff0019166101001790555b5f805462010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85160217905580156102d3575f805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b5f6104273083610569565b92915050565b6001600160a01b03831661044057505050565b6102d36001600160a01b03841683836105fc565b606061047a848484604051806060016040528060298152602001610d46602991396106c6565b949350505050565b80158061049757506001600160a01b03821630145b156104a157505050565b6001600160a01b038316610546575f826001600160a01b0316826040515f6040518083038185875af1925050503d805f81146104f8576040519150601f19603f3d011682016040523d82523d5f602084013e6104fd565b606091505b50509050806105405760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b60448201526064016101b0565b50505050565b6102d36001600160a01b038416838361079d565b6001600160a01b03163b151590565b5f6001600160a01b038216156105e9576040516370a0823160e01b81526001600160a01b038316906370a08231906105a59086906004016109d9565b602060405180830381865afa1580156105c0573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105e49190610cdb565b6105f5565b826001600160a01b0316315b9392505050565b5f63095ea7b360e01b8383604051602401610618929190610cf2565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152905061065684826107bc565b610540576040516001600160a01b03841660248201525f60448201526106bc90859063095ea7b360e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610858565b6105408482610858565b6060824710156107275760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016101b0565b5f5f866001600160a01b031685876040516107429190610d0b565b5f6040518083038185875af1925050503d805f811461077c576040519150601f19603f3d011682016040523d82523d5f602084013e610781565b606091505b50915091506107928783838761092b565b979650505050505050565b6102d38363a9059cbb60e01b8484604051602401610685929190610cf2565b5f5f5f846001600160a01b0316846040516107d79190610d0b565b5f604051808303815f865af19150503d805f8114610810576040519150601f19603f3d011682016040523d82523d5f602084013e610815565b606091505b509150915081801561083f57508051158061083f57508080602001905181019061083f9190610d26565b801561084f575061084f8561055a565b95945050505050565b5f6108ac826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166109a19092919063ffffffff16565b905080515f14806108cc5750808060200190518101906108cc9190610d26565b6102d35760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016101b0565b606083156109975782515f03610990576109448561055a565b6109905760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101b0565b508161047a565b61047a83836109af565b606061047a84845f856106c6565b8151156109bf5781518083602001fd5b8060405162461bcd60e51b81526004016101b09190610bd7565b6001600160a01b0391909116815260200190565b634e487b7160e01b5f52604160045260245ffd5b60405160a081016001600160401b0381118282101715610a2357610a236109ed565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610a5157610a516109ed565b604052919050565b80356001600160a01b0381168114610a6f575f5ffd5b919050565b5f5f60408385031215610a85575f5ffd5b82356001600160401b03811115610a9a575f5ffd5b830160a08186031215610aab575f5ffd5b610ab3610a01565b610abc82610a59565b815260208281013590820152610ad460408301610a59565b6040820152610ae560608301610a59565b606082015260808201356001600160401b03811115610b02575f5ffd5b80830192505085601f830112610b16575f5ffd5b81356001600160401b03811115610b2f57610b2f6109ed565b610b42601f8201601f1916602001610a29565b818152876020838601011115610b56575f5ffd5b816020850160208301375f6020838301015280608084015250508093505050610b8160208401610a59565b90509250929050565b5f5b83811015610ba4578181015183820152602001610b8c565b50505f910152565b5f8151808452610bc3816020860160208601610b8a565b601f01601f19169290920160200192915050565b602081525f6105f56020830184610bac565b5f5f5f60608486031215610bfb575f5ffd5b610c0484610a59565b9250610c1260208501610a59565b929592945050506040919091013590565b5f5f60408385031215610c34575f5ffd5b610c3d83610a59565b9150602083013563ffffffff81168114610c55575f5ffd5b809150509250929050565b60208082526021908201527f4465706f736974426f783a2063616c6c6572206973206e6f74206d616e6167656040820152603960f91b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561042757610427610ca1565b8082018082111561042757610427610ca1565b5f60208284031215610ceb575f5ffd5b5051919050565b6001600160a01b03929092168252602082015260400190565b5f8251610d1c818460208701610b8a565b9190910192915050565b5f60208284031215610d36575f5ffd5b815180151581146105f5575f5ffdfe416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564a26469706673582212201a3881a586bdd9e32d3df6fe05c415486b4527602559dd9d08905950c8f3d57864736f6c634300081e0033";
|
|
172
172
|
|
|
173
173
|
type DepositBoxConstructorParams =
|
|
174
174
|
| [signer?: Signer]
|