@pendle/core-v2 6.3.2 → 6.3.3-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/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +1 -1
- 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/DepositBox.sol/DepositBox.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/swap-hub/DepositBox.sol/DepositBox.json +170 -0
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +1214 -0
- package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.json +1176 -0
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/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 +4 -0
- package/build/artifacts/contracts/interfaces/IPActionCrossChain.sol/IPActionCrossChain.json +99 -0
- package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +88 -0
- 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 +4 -0
- package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.json +1026 -0
- package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.json +124 -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/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/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/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/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/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/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 +4 -0
- package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.json +102 -0
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.json +102 -0
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/router/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 +4 -0
- package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.json +99 -0
- 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/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/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/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- package/contracts/cross-chain/swap-hub/DepositBox.sol +66 -0
- package/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol +178 -0
- package/contracts/cross-chain/swap-hub/SwapHubBase.sol +274 -0
- package/contracts/interfaces/IPActionCrossChain.sol +14 -0
- package/contracts/interfaces/IPAllActionV3.sol +3 -1
- package/contracts/interfaces/IPCrossChainSwapHub.sol +147 -0
- package/contracts/interfaces/IPDepositBox.sol +22 -0
- package/contracts/offchain-helpers/PendleAPIFeeDepositor.sol +33 -0
- package/contracts/offchain-helpers/PendleMerkleDepositor.sol +64 -0
- package/contracts/router/ActionCrossChain.sol +63 -0
- package/deployments/1-core.json +4 -3
- package/deployments/10-core.json +4 -3
- package/deployments/146-core.json +4 -3
- package/deployments/42161-core.json +4 -3
- package/deployments/42161-offchain-helper.json +2 -1
- package/deployments/5000-core.json +4 -3
- package/deployments/56-core.json +4 -3
- package/deployments/80094-core.json +4 -3
- package/deployments/8453-core.json +4 -3
- package/deployments/9745-core.json +4 -3
- package/deployments/999-core.json +4 -3
- package/package.json +1 -1
- package/typechain-types/ActionCrossChain.ts +161 -0
- package/typechain-types/DepositBox.ts +260 -0
- package/typechain-types/IPActionCrossChain.ts +161 -0
- package/typechain-types/IPAllActionV3.ts +54 -0
- package/typechain-types/IPCrossChainSwapHub.ts +882 -0
- package/typechain-types/IPDepositBox.ts +213 -0
- package/typechain-types/PendleAPIFeeDepositor.ts +181 -0
- package/typechain-types/PendleCrossChainSwapHub.ts +1119 -0
- package/typechain-types/PendleMerkleDepositor.ts +171 -0
- package/typechain-types/SwapHubBase.ts +1094 -0
- package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
- package/typechain-types/factories/ActionCrossChain__factory.ts +152 -0
- package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSimple__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/DepositBox__factory.ts +222 -0
- package/typechain-types/factories/IPActionCrossChain__factory.ts +114 -0
- package/typechain-types/factories/IPAllActionV3__factory.ts +88 -0
- package/typechain-types/factories/IPCrossChainSwapHub__factory.ts +1041 -0
- package/typechain-types/factories/IPDepositBox__factory.ts +136 -0
- package/typechain-types/factories/MarketSweed__factory.ts +1 -1
- package/typechain-types/factories/PendleAPIFeeDepositor__factory.ts +164 -0
- package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +1287 -0
- package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleMerkleDepositor__factory.ts +164 -0
- package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
- package/typechain-types/factories/Reflector__factory.ts +1 -1
- package/typechain-types/factories/SwapHubBase__factory.ts +1188 -0
- package/typechain-types/hardhat.d.ts +90 -36
- package/typechain-types/index.ts +18 -8
- package/typechain-types/ActionDelegateBase.ts +0 -57
- package/typechain-types/EIP712.ts +0 -135
- package/typechain-types/ERC20Permit.ts +0 -586
- package/typechain-types/IERC5267.ts +0 -135
- package/typechain-types/IPMarketFactoryV3.ts +0 -321
- package/typechain-types/IPMarketV3.ts +0 -1068
- package/typechain-types/LimitMathCore.ts +0 -102
- package/typechain-types/OverfillMathLib.ts +0 -81
- package/typechain-types/PendleERC20Permit.ts +0 -508
- package/typechain-types/PendleERC20PermitUpg.ts +0 -517
- package/typechain-types/PendleERC20Upg.ts +0 -348
- package/typechain-types/PendleMarketFactoryV3.ts +0 -719
- package/typechain-types/PendleMarketV3.ts +0 -1195
- package/typechain-types/PendleYieldContractFactory.ts +0 -801
- package/typechain-types/ShortStrings.ts +0 -57
- package/typechain-types/factories/ActionDelegateBase__factory.ts +0 -80
- package/typechain-types/factories/EIP712__factory.ts +0 -85
- package/typechain-types/factories/ERC20Permit__factory.ts +0 -433
- package/typechain-types/factories/IERC5267__factory.ts +0 -72
- package/typechain-types/factories/IPMarketFactoryV3__factory.ts +0 -217
- package/typechain-types/factories/IPMarketV3__factory.ts +0 -845
- package/typechain-types/factories/LimitMathCore__factory.ts +0 -87
- package/typechain-types/factories/OverfillMathLib__factory.ts +0 -77
- package/typechain-types/factories/PendleERC20PermitUpg__factory.ts +0 -389
- package/typechain-types/factories/PendleERC20Permit__factory.ts +0 -470
- package/typechain-types/factories/PendleERC20Upg__factory.ts +0 -261
- package/typechain-types/factories/PendleMarketFactoryV3__factory.ts +0 -714
- package/typechain-types/factories/PendleMarketV3__factory.ts +0 -1211
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +0 -674
- package/typechain-types/factories/ShortStrings__factory.ts +0 -77
|
@@ -1,1211 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import {
|
|
5
|
-
Signer,
|
|
6
|
-
utils,
|
|
7
|
-
Contract,
|
|
8
|
-
ContractFactory,
|
|
9
|
-
Overrides,
|
|
10
|
-
BigNumberish,
|
|
11
|
-
} from "ethers";
|
|
12
|
-
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
13
|
-
import type {
|
|
14
|
-
PendleMarketV3,
|
|
15
|
-
PendleMarketV3Interface,
|
|
16
|
-
} from "../PendleMarketV3";
|
|
17
|
-
|
|
18
|
-
const _abi = [
|
|
19
|
-
{
|
|
20
|
-
inputs: [
|
|
21
|
-
{
|
|
22
|
-
internalType: "address",
|
|
23
|
-
name: "_PT",
|
|
24
|
-
type: "address",
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
internalType: "int256",
|
|
28
|
-
name: "_scalarRoot",
|
|
29
|
-
type: "int256",
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
internalType: "int256",
|
|
33
|
-
name: "_initialAnchor",
|
|
34
|
-
type: "int256",
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
internalType: "uint80",
|
|
38
|
-
name: "_lnFeeRateRoot",
|
|
39
|
-
type: "uint80",
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
internalType: "address",
|
|
43
|
-
name: "_vePendle",
|
|
44
|
-
type: "address",
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
internalType: "address",
|
|
48
|
-
name: "_gaugeController",
|
|
49
|
-
type: "address",
|
|
50
|
-
},
|
|
51
|
-
],
|
|
52
|
-
stateMutability: "nonpayable",
|
|
53
|
-
type: "constructor",
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
inputs: [
|
|
57
|
-
{
|
|
58
|
-
internalType: "int256",
|
|
59
|
-
name: "exchangeRate",
|
|
60
|
-
type: "int256",
|
|
61
|
-
},
|
|
62
|
-
],
|
|
63
|
-
name: "MarketExchangeRateBelowOne",
|
|
64
|
-
type: "error",
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
inputs: [],
|
|
68
|
-
name: "MarketExpired",
|
|
69
|
-
type: "error",
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
inputs: [
|
|
73
|
-
{
|
|
74
|
-
internalType: "int256",
|
|
75
|
-
name: "currentAmount",
|
|
76
|
-
type: "int256",
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
internalType: "int256",
|
|
80
|
-
name: "requiredAmount",
|
|
81
|
-
type: "int256",
|
|
82
|
-
},
|
|
83
|
-
],
|
|
84
|
-
name: "MarketInsufficientPtForTrade",
|
|
85
|
-
type: "error",
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
inputs: [
|
|
89
|
-
{
|
|
90
|
-
internalType: "uint256",
|
|
91
|
-
name: "actualBalance",
|
|
92
|
-
type: "uint256",
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
internalType: "uint256",
|
|
96
|
-
name: "requiredBalance",
|
|
97
|
-
type: "uint256",
|
|
98
|
-
},
|
|
99
|
-
],
|
|
100
|
-
name: "MarketInsufficientPtReceived",
|
|
101
|
-
type: "error",
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
inputs: [
|
|
105
|
-
{
|
|
106
|
-
internalType: "uint256",
|
|
107
|
-
name: "actualBalance",
|
|
108
|
-
type: "uint256",
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
internalType: "uint256",
|
|
112
|
-
name: "requiredBalance",
|
|
113
|
-
type: "uint256",
|
|
114
|
-
},
|
|
115
|
-
],
|
|
116
|
-
name: "MarketInsufficientSyReceived",
|
|
117
|
-
type: "error",
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
inputs: [],
|
|
121
|
-
name: "MarketProportionMustNotEqualOne",
|
|
122
|
-
type: "error",
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
inputs: [
|
|
126
|
-
{
|
|
127
|
-
internalType: "int256",
|
|
128
|
-
name: "proportion",
|
|
129
|
-
type: "int256",
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
internalType: "int256",
|
|
133
|
-
name: "maxProportion",
|
|
134
|
-
type: "int256",
|
|
135
|
-
},
|
|
136
|
-
],
|
|
137
|
-
name: "MarketProportionTooHigh",
|
|
138
|
-
type: "error",
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
inputs: [
|
|
142
|
-
{
|
|
143
|
-
internalType: "int256",
|
|
144
|
-
name: "rateScalar",
|
|
145
|
-
type: "int256",
|
|
146
|
-
},
|
|
147
|
-
],
|
|
148
|
-
name: "MarketRateScalarBelowZero",
|
|
149
|
-
type: "error",
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
inputs: [
|
|
153
|
-
{
|
|
154
|
-
internalType: "int256",
|
|
155
|
-
name: "scalarRoot",
|
|
156
|
-
type: "int256",
|
|
157
|
-
},
|
|
158
|
-
],
|
|
159
|
-
name: "MarketScalarRootBelowZero",
|
|
160
|
-
type: "error",
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
inputs: [],
|
|
164
|
-
name: "MarketZeroAmountsInput",
|
|
165
|
-
type: "error",
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
inputs: [],
|
|
169
|
-
name: "MarketZeroAmountsOutput",
|
|
170
|
-
type: "error",
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
inputs: [],
|
|
174
|
-
name: "MarketZeroLnImpliedRate",
|
|
175
|
-
type: "error",
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
inputs: [
|
|
179
|
-
{
|
|
180
|
-
internalType: "int256",
|
|
181
|
-
name: "totalPt",
|
|
182
|
-
type: "int256",
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
internalType: "int256",
|
|
186
|
-
name: "totalAsset",
|
|
187
|
-
type: "int256",
|
|
188
|
-
},
|
|
189
|
-
],
|
|
190
|
-
name: "MarketZeroTotalPtOrTotalAsset",
|
|
191
|
-
type: "error",
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
anonymous: false,
|
|
195
|
-
inputs: [
|
|
196
|
-
{
|
|
197
|
-
indexed: true,
|
|
198
|
-
internalType: "address",
|
|
199
|
-
name: "owner",
|
|
200
|
-
type: "address",
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
indexed: true,
|
|
204
|
-
internalType: "address",
|
|
205
|
-
name: "spender",
|
|
206
|
-
type: "address",
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
indexed: false,
|
|
210
|
-
internalType: "uint256",
|
|
211
|
-
name: "value",
|
|
212
|
-
type: "uint256",
|
|
213
|
-
},
|
|
214
|
-
],
|
|
215
|
-
name: "Approval",
|
|
216
|
-
type: "event",
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
anonymous: false,
|
|
220
|
-
inputs: [
|
|
221
|
-
{
|
|
222
|
-
indexed: true,
|
|
223
|
-
internalType: "address",
|
|
224
|
-
name: "receiverSy",
|
|
225
|
-
type: "address",
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
indexed: true,
|
|
229
|
-
internalType: "address",
|
|
230
|
-
name: "receiverPt",
|
|
231
|
-
type: "address",
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
indexed: false,
|
|
235
|
-
internalType: "uint256",
|
|
236
|
-
name: "netLpBurned",
|
|
237
|
-
type: "uint256",
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
indexed: false,
|
|
241
|
-
internalType: "uint256",
|
|
242
|
-
name: "netSyOut",
|
|
243
|
-
type: "uint256",
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
indexed: false,
|
|
247
|
-
internalType: "uint256",
|
|
248
|
-
name: "netPtOut",
|
|
249
|
-
type: "uint256",
|
|
250
|
-
},
|
|
251
|
-
],
|
|
252
|
-
name: "Burn",
|
|
253
|
-
type: "event",
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
anonymous: false,
|
|
257
|
-
inputs: [
|
|
258
|
-
{
|
|
259
|
-
indexed: false,
|
|
260
|
-
internalType: "uint16",
|
|
261
|
-
name: "observationCardinalityNextOld",
|
|
262
|
-
type: "uint16",
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
indexed: false,
|
|
266
|
-
internalType: "uint16",
|
|
267
|
-
name: "observationCardinalityNextNew",
|
|
268
|
-
type: "uint16",
|
|
269
|
-
},
|
|
270
|
-
],
|
|
271
|
-
name: "IncreaseObservationCardinalityNext",
|
|
272
|
-
type: "event",
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
anonymous: false,
|
|
276
|
-
inputs: [
|
|
277
|
-
{
|
|
278
|
-
indexed: true,
|
|
279
|
-
internalType: "address",
|
|
280
|
-
name: "receiver",
|
|
281
|
-
type: "address",
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
indexed: false,
|
|
285
|
-
internalType: "uint256",
|
|
286
|
-
name: "netLpMinted",
|
|
287
|
-
type: "uint256",
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
indexed: false,
|
|
291
|
-
internalType: "uint256",
|
|
292
|
-
name: "netSyUsed",
|
|
293
|
-
type: "uint256",
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
indexed: false,
|
|
297
|
-
internalType: "uint256",
|
|
298
|
-
name: "netPtUsed",
|
|
299
|
-
type: "uint256",
|
|
300
|
-
},
|
|
301
|
-
],
|
|
302
|
-
name: "Mint",
|
|
303
|
-
type: "event",
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
anonymous: false,
|
|
307
|
-
inputs: [
|
|
308
|
-
{
|
|
309
|
-
indexed: true,
|
|
310
|
-
internalType: "address",
|
|
311
|
-
name: "user",
|
|
312
|
-
type: "address",
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
indexed: false,
|
|
316
|
-
internalType: "uint256[]",
|
|
317
|
-
name: "rewardsOut",
|
|
318
|
-
type: "uint256[]",
|
|
319
|
-
},
|
|
320
|
-
],
|
|
321
|
-
name: "RedeemRewards",
|
|
322
|
-
type: "event",
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
anonymous: false,
|
|
326
|
-
inputs: [
|
|
327
|
-
{
|
|
328
|
-
indexed: true,
|
|
329
|
-
internalType: "address",
|
|
330
|
-
name: "caller",
|
|
331
|
-
type: "address",
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
indexed: true,
|
|
335
|
-
internalType: "address",
|
|
336
|
-
name: "receiver",
|
|
337
|
-
type: "address",
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
indexed: false,
|
|
341
|
-
internalType: "int256",
|
|
342
|
-
name: "netPtOut",
|
|
343
|
-
type: "int256",
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
indexed: false,
|
|
347
|
-
internalType: "int256",
|
|
348
|
-
name: "netSyOut",
|
|
349
|
-
type: "int256",
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
indexed: false,
|
|
353
|
-
internalType: "uint256",
|
|
354
|
-
name: "netSyFee",
|
|
355
|
-
type: "uint256",
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
indexed: false,
|
|
359
|
-
internalType: "uint256",
|
|
360
|
-
name: "netSyToReserve",
|
|
361
|
-
type: "uint256",
|
|
362
|
-
},
|
|
363
|
-
],
|
|
364
|
-
name: "Swap",
|
|
365
|
-
type: "event",
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
anonymous: false,
|
|
369
|
-
inputs: [
|
|
370
|
-
{
|
|
371
|
-
indexed: true,
|
|
372
|
-
internalType: "address",
|
|
373
|
-
name: "from",
|
|
374
|
-
type: "address",
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
indexed: true,
|
|
378
|
-
internalType: "address",
|
|
379
|
-
name: "to",
|
|
380
|
-
type: "address",
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
indexed: false,
|
|
384
|
-
internalType: "uint256",
|
|
385
|
-
name: "value",
|
|
386
|
-
type: "uint256",
|
|
387
|
-
},
|
|
388
|
-
],
|
|
389
|
-
name: "Transfer",
|
|
390
|
-
type: "event",
|
|
391
|
-
},
|
|
392
|
-
{
|
|
393
|
-
anonymous: false,
|
|
394
|
-
inputs: [
|
|
395
|
-
{
|
|
396
|
-
indexed: true,
|
|
397
|
-
internalType: "uint256",
|
|
398
|
-
name: "timestamp",
|
|
399
|
-
type: "uint256",
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
indexed: false,
|
|
403
|
-
internalType: "uint256",
|
|
404
|
-
name: "lnLastImpliedRate",
|
|
405
|
-
type: "uint256",
|
|
406
|
-
},
|
|
407
|
-
],
|
|
408
|
-
name: "UpdateImpliedRate",
|
|
409
|
-
type: "event",
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
inputs: [],
|
|
413
|
-
name: "_storage",
|
|
414
|
-
outputs: [
|
|
415
|
-
{
|
|
416
|
-
internalType: "int128",
|
|
417
|
-
name: "totalPt",
|
|
418
|
-
type: "int128",
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
internalType: "int128",
|
|
422
|
-
name: "totalSy",
|
|
423
|
-
type: "int128",
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
internalType: "uint96",
|
|
427
|
-
name: "lastLnImpliedRate",
|
|
428
|
-
type: "uint96",
|
|
429
|
-
},
|
|
430
|
-
{
|
|
431
|
-
internalType: "uint16",
|
|
432
|
-
name: "observationIndex",
|
|
433
|
-
type: "uint16",
|
|
434
|
-
},
|
|
435
|
-
{
|
|
436
|
-
internalType: "uint16",
|
|
437
|
-
name: "observationCardinality",
|
|
438
|
-
type: "uint16",
|
|
439
|
-
},
|
|
440
|
-
{
|
|
441
|
-
internalType: "uint16",
|
|
442
|
-
name: "observationCardinalityNext",
|
|
443
|
-
type: "uint16",
|
|
444
|
-
},
|
|
445
|
-
],
|
|
446
|
-
stateMutability: "view",
|
|
447
|
-
type: "function",
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
inputs: [
|
|
451
|
-
{
|
|
452
|
-
internalType: "address",
|
|
453
|
-
name: "",
|
|
454
|
-
type: "address",
|
|
455
|
-
},
|
|
456
|
-
],
|
|
457
|
-
name: "activeBalance",
|
|
458
|
-
outputs: [
|
|
459
|
-
{
|
|
460
|
-
internalType: "uint256",
|
|
461
|
-
name: "",
|
|
462
|
-
type: "uint256",
|
|
463
|
-
},
|
|
464
|
-
],
|
|
465
|
-
stateMutability: "view",
|
|
466
|
-
type: "function",
|
|
467
|
-
},
|
|
468
|
-
{
|
|
469
|
-
inputs: [
|
|
470
|
-
{
|
|
471
|
-
internalType: "address",
|
|
472
|
-
name: "owner",
|
|
473
|
-
type: "address",
|
|
474
|
-
},
|
|
475
|
-
{
|
|
476
|
-
internalType: "address",
|
|
477
|
-
name: "spender",
|
|
478
|
-
type: "address",
|
|
479
|
-
},
|
|
480
|
-
],
|
|
481
|
-
name: "allowance",
|
|
482
|
-
outputs: [
|
|
483
|
-
{
|
|
484
|
-
internalType: "uint256",
|
|
485
|
-
name: "",
|
|
486
|
-
type: "uint256",
|
|
487
|
-
},
|
|
488
|
-
],
|
|
489
|
-
stateMutability: "view",
|
|
490
|
-
type: "function",
|
|
491
|
-
},
|
|
492
|
-
{
|
|
493
|
-
inputs: [
|
|
494
|
-
{
|
|
495
|
-
internalType: "address",
|
|
496
|
-
name: "spender",
|
|
497
|
-
type: "address",
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
internalType: "uint256",
|
|
501
|
-
name: "amount",
|
|
502
|
-
type: "uint256",
|
|
503
|
-
},
|
|
504
|
-
],
|
|
505
|
-
name: "approve",
|
|
506
|
-
outputs: [
|
|
507
|
-
{
|
|
508
|
-
internalType: "bool",
|
|
509
|
-
name: "",
|
|
510
|
-
type: "bool",
|
|
511
|
-
},
|
|
512
|
-
],
|
|
513
|
-
stateMutability: "nonpayable",
|
|
514
|
-
type: "function",
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
inputs: [
|
|
518
|
-
{
|
|
519
|
-
internalType: "address",
|
|
520
|
-
name: "account",
|
|
521
|
-
type: "address",
|
|
522
|
-
},
|
|
523
|
-
],
|
|
524
|
-
name: "balanceOf",
|
|
525
|
-
outputs: [
|
|
526
|
-
{
|
|
527
|
-
internalType: "uint256",
|
|
528
|
-
name: "",
|
|
529
|
-
type: "uint256",
|
|
530
|
-
},
|
|
531
|
-
],
|
|
532
|
-
stateMutability: "view",
|
|
533
|
-
type: "function",
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
inputs: [
|
|
537
|
-
{
|
|
538
|
-
internalType: "address",
|
|
539
|
-
name: "receiverSy",
|
|
540
|
-
type: "address",
|
|
541
|
-
},
|
|
542
|
-
{
|
|
543
|
-
internalType: "address",
|
|
544
|
-
name: "receiverPt",
|
|
545
|
-
type: "address",
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
internalType: "uint256",
|
|
549
|
-
name: "netLpToBurn",
|
|
550
|
-
type: "uint256",
|
|
551
|
-
},
|
|
552
|
-
],
|
|
553
|
-
name: "burn",
|
|
554
|
-
outputs: [
|
|
555
|
-
{
|
|
556
|
-
internalType: "uint256",
|
|
557
|
-
name: "netSyOut",
|
|
558
|
-
type: "uint256",
|
|
559
|
-
},
|
|
560
|
-
{
|
|
561
|
-
internalType: "uint256",
|
|
562
|
-
name: "netPtOut",
|
|
563
|
-
type: "uint256",
|
|
564
|
-
},
|
|
565
|
-
],
|
|
566
|
-
stateMutability: "nonpayable",
|
|
567
|
-
type: "function",
|
|
568
|
-
},
|
|
569
|
-
{
|
|
570
|
-
inputs: [],
|
|
571
|
-
name: "decimals",
|
|
572
|
-
outputs: [
|
|
573
|
-
{
|
|
574
|
-
internalType: "uint8",
|
|
575
|
-
name: "",
|
|
576
|
-
type: "uint8",
|
|
577
|
-
},
|
|
578
|
-
],
|
|
579
|
-
stateMutability: "view",
|
|
580
|
-
type: "function",
|
|
581
|
-
},
|
|
582
|
-
{
|
|
583
|
-
inputs: [],
|
|
584
|
-
name: "expiry",
|
|
585
|
-
outputs: [
|
|
586
|
-
{
|
|
587
|
-
internalType: "uint256",
|
|
588
|
-
name: "",
|
|
589
|
-
type: "uint256",
|
|
590
|
-
},
|
|
591
|
-
],
|
|
592
|
-
stateMutability: "view",
|
|
593
|
-
type: "function",
|
|
594
|
-
},
|
|
595
|
-
{
|
|
596
|
-
inputs: [],
|
|
597
|
-
name: "factory",
|
|
598
|
-
outputs: [
|
|
599
|
-
{
|
|
600
|
-
internalType: "address",
|
|
601
|
-
name: "",
|
|
602
|
-
type: "address",
|
|
603
|
-
},
|
|
604
|
-
],
|
|
605
|
-
stateMutability: "view",
|
|
606
|
-
type: "function",
|
|
607
|
-
},
|
|
608
|
-
{
|
|
609
|
-
inputs: [],
|
|
610
|
-
name: "getNonOverrideLnFeeRateRoot",
|
|
611
|
-
outputs: [
|
|
612
|
-
{
|
|
613
|
-
internalType: "uint80",
|
|
614
|
-
name: "",
|
|
615
|
-
type: "uint80",
|
|
616
|
-
},
|
|
617
|
-
],
|
|
618
|
-
stateMutability: "view",
|
|
619
|
-
type: "function",
|
|
620
|
-
},
|
|
621
|
-
{
|
|
622
|
-
inputs: [],
|
|
623
|
-
name: "getRewardTokens",
|
|
624
|
-
outputs: [
|
|
625
|
-
{
|
|
626
|
-
internalType: "address[]",
|
|
627
|
-
name: "",
|
|
628
|
-
type: "address[]",
|
|
629
|
-
},
|
|
630
|
-
],
|
|
631
|
-
stateMutability: "view",
|
|
632
|
-
type: "function",
|
|
633
|
-
},
|
|
634
|
-
{
|
|
635
|
-
inputs: [
|
|
636
|
-
{
|
|
637
|
-
internalType: "uint16",
|
|
638
|
-
name: "cardinalityNext",
|
|
639
|
-
type: "uint16",
|
|
640
|
-
},
|
|
641
|
-
],
|
|
642
|
-
name: "increaseObservationsCardinalityNext",
|
|
643
|
-
outputs: [],
|
|
644
|
-
stateMutability: "nonpayable",
|
|
645
|
-
type: "function",
|
|
646
|
-
},
|
|
647
|
-
{
|
|
648
|
-
inputs: [],
|
|
649
|
-
name: "isExpired",
|
|
650
|
-
outputs: [
|
|
651
|
-
{
|
|
652
|
-
internalType: "bool",
|
|
653
|
-
name: "",
|
|
654
|
-
type: "bool",
|
|
655
|
-
},
|
|
656
|
-
],
|
|
657
|
-
stateMutability: "view",
|
|
658
|
-
type: "function",
|
|
659
|
-
},
|
|
660
|
-
{
|
|
661
|
-
inputs: [],
|
|
662
|
-
name: "lastRewardBlock",
|
|
663
|
-
outputs: [
|
|
664
|
-
{
|
|
665
|
-
internalType: "uint256",
|
|
666
|
-
name: "",
|
|
667
|
-
type: "uint256",
|
|
668
|
-
},
|
|
669
|
-
],
|
|
670
|
-
stateMutability: "view",
|
|
671
|
-
type: "function",
|
|
672
|
-
},
|
|
673
|
-
{
|
|
674
|
-
inputs: [
|
|
675
|
-
{
|
|
676
|
-
internalType: "address",
|
|
677
|
-
name: "receiver",
|
|
678
|
-
type: "address",
|
|
679
|
-
},
|
|
680
|
-
{
|
|
681
|
-
internalType: "uint256",
|
|
682
|
-
name: "netSyDesired",
|
|
683
|
-
type: "uint256",
|
|
684
|
-
},
|
|
685
|
-
{
|
|
686
|
-
internalType: "uint256",
|
|
687
|
-
name: "netPtDesired",
|
|
688
|
-
type: "uint256",
|
|
689
|
-
},
|
|
690
|
-
],
|
|
691
|
-
name: "mint",
|
|
692
|
-
outputs: [
|
|
693
|
-
{
|
|
694
|
-
internalType: "uint256",
|
|
695
|
-
name: "netLpOut",
|
|
696
|
-
type: "uint256",
|
|
697
|
-
},
|
|
698
|
-
{
|
|
699
|
-
internalType: "uint256",
|
|
700
|
-
name: "netSyUsed",
|
|
701
|
-
type: "uint256",
|
|
702
|
-
},
|
|
703
|
-
{
|
|
704
|
-
internalType: "uint256",
|
|
705
|
-
name: "netPtUsed",
|
|
706
|
-
type: "uint256",
|
|
707
|
-
},
|
|
708
|
-
],
|
|
709
|
-
stateMutability: "nonpayable",
|
|
710
|
-
type: "function",
|
|
711
|
-
},
|
|
712
|
-
{
|
|
713
|
-
inputs: [],
|
|
714
|
-
name: "name",
|
|
715
|
-
outputs: [
|
|
716
|
-
{
|
|
717
|
-
internalType: "string",
|
|
718
|
-
name: "",
|
|
719
|
-
type: "string",
|
|
720
|
-
},
|
|
721
|
-
],
|
|
722
|
-
stateMutability: "view",
|
|
723
|
-
type: "function",
|
|
724
|
-
},
|
|
725
|
-
{
|
|
726
|
-
inputs: [
|
|
727
|
-
{
|
|
728
|
-
internalType: "uint256",
|
|
729
|
-
name: "",
|
|
730
|
-
type: "uint256",
|
|
731
|
-
},
|
|
732
|
-
],
|
|
733
|
-
name: "observations",
|
|
734
|
-
outputs: [
|
|
735
|
-
{
|
|
736
|
-
internalType: "uint32",
|
|
737
|
-
name: "blockTimestamp",
|
|
738
|
-
type: "uint32",
|
|
739
|
-
},
|
|
740
|
-
{
|
|
741
|
-
internalType: "uint216",
|
|
742
|
-
name: "lnImpliedRateCumulative",
|
|
743
|
-
type: "uint216",
|
|
744
|
-
},
|
|
745
|
-
{
|
|
746
|
-
internalType: "bool",
|
|
747
|
-
name: "initialized",
|
|
748
|
-
type: "bool",
|
|
749
|
-
},
|
|
750
|
-
],
|
|
751
|
-
stateMutability: "view",
|
|
752
|
-
type: "function",
|
|
753
|
-
},
|
|
754
|
-
{
|
|
755
|
-
inputs: [
|
|
756
|
-
{
|
|
757
|
-
internalType: "uint32[]",
|
|
758
|
-
name: "secondsAgos",
|
|
759
|
-
type: "uint32[]",
|
|
760
|
-
},
|
|
761
|
-
],
|
|
762
|
-
name: "observe",
|
|
763
|
-
outputs: [
|
|
764
|
-
{
|
|
765
|
-
internalType: "uint216[]",
|
|
766
|
-
name: "lnImpliedRateCumulative",
|
|
767
|
-
type: "uint216[]",
|
|
768
|
-
},
|
|
769
|
-
],
|
|
770
|
-
stateMutability: "view",
|
|
771
|
-
type: "function",
|
|
772
|
-
},
|
|
773
|
-
{
|
|
774
|
-
inputs: [
|
|
775
|
-
{
|
|
776
|
-
internalType: "address",
|
|
777
|
-
name: "router",
|
|
778
|
-
type: "address",
|
|
779
|
-
},
|
|
780
|
-
],
|
|
781
|
-
name: "readState",
|
|
782
|
-
outputs: [
|
|
783
|
-
{
|
|
784
|
-
components: [
|
|
785
|
-
{
|
|
786
|
-
internalType: "int256",
|
|
787
|
-
name: "totalPt",
|
|
788
|
-
type: "int256",
|
|
789
|
-
},
|
|
790
|
-
{
|
|
791
|
-
internalType: "int256",
|
|
792
|
-
name: "totalSy",
|
|
793
|
-
type: "int256",
|
|
794
|
-
},
|
|
795
|
-
{
|
|
796
|
-
internalType: "int256",
|
|
797
|
-
name: "totalLp",
|
|
798
|
-
type: "int256",
|
|
799
|
-
},
|
|
800
|
-
{
|
|
801
|
-
internalType: "address",
|
|
802
|
-
name: "treasury",
|
|
803
|
-
type: "address",
|
|
804
|
-
},
|
|
805
|
-
{
|
|
806
|
-
internalType: "int256",
|
|
807
|
-
name: "scalarRoot",
|
|
808
|
-
type: "int256",
|
|
809
|
-
},
|
|
810
|
-
{
|
|
811
|
-
internalType: "uint256",
|
|
812
|
-
name: "expiry",
|
|
813
|
-
type: "uint256",
|
|
814
|
-
},
|
|
815
|
-
{
|
|
816
|
-
internalType: "uint256",
|
|
817
|
-
name: "lnFeeRateRoot",
|
|
818
|
-
type: "uint256",
|
|
819
|
-
},
|
|
820
|
-
{
|
|
821
|
-
internalType: "uint256",
|
|
822
|
-
name: "reserveFeePercent",
|
|
823
|
-
type: "uint256",
|
|
824
|
-
},
|
|
825
|
-
{
|
|
826
|
-
internalType: "uint256",
|
|
827
|
-
name: "lastLnImpliedRate",
|
|
828
|
-
type: "uint256",
|
|
829
|
-
},
|
|
830
|
-
],
|
|
831
|
-
internalType: "struct MarketState",
|
|
832
|
-
name: "market",
|
|
833
|
-
type: "tuple",
|
|
834
|
-
},
|
|
835
|
-
],
|
|
836
|
-
stateMutability: "view",
|
|
837
|
-
type: "function",
|
|
838
|
-
},
|
|
839
|
-
{
|
|
840
|
-
inputs: [],
|
|
841
|
-
name: "readTokens",
|
|
842
|
-
outputs: [
|
|
843
|
-
{
|
|
844
|
-
internalType: "contract IStandardizedYield",
|
|
845
|
-
name: "_SY",
|
|
846
|
-
type: "address",
|
|
847
|
-
},
|
|
848
|
-
{
|
|
849
|
-
internalType: "contract IPPrincipalToken",
|
|
850
|
-
name: "_PT",
|
|
851
|
-
type: "address",
|
|
852
|
-
},
|
|
853
|
-
{
|
|
854
|
-
internalType: "contract IPYieldToken",
|
|
855
|
-
name: "_YT",
|
|
856
|
-
type: "address",
|
|
857
|
-
},
|
|
858
|
-
],
|
|
859
|
-
stateMutability: "view",
|
|
860
|
-
type: "function",
|
|
861
|
-
},
|
|
862
|
-
{
|
|
863
|
-
inputs: [
|
|
864
|
-
{
|
|
865
|
-
internalType: "address",
|
|
866
|
-
name: "user",
|
|
867
|
-
type: "address",
|
|
868
|
-
},
|
|
869
|
-
],
|
|
870
|
-
name: "redeemRewards",
|
|
871
|
-
outputs: [
|
|
872
|
-
{
|
|
873
|
-
internalType: "uint256[]",
|
|
874
|
-
name: "",
|
|
875
|
-
type: "uint256[]",
|
|
876
|
-
},
|
|
877
|
-
],
|
|
878
|
-
stateMutability: "nonpayable",
|
|
879
|
-
type: "function",
|
|
880
|
-
},
|
|
881
|
-
{
|
|
882
|
-
inputs: [
|
|
883
|
-
{
|
|
884
|
-
internalType: "address",
|
|
885
|
-
name: "",
|
|
886
|
-
type: "address",
|
|
887
|
-
},
|
|
888
|
-
],
|
|
889
|
-
name: "rewardState",
|
|
890
|
-
outputs: [
|
|
891
|
-
{
|
|
892
|
-
internalType: "uint128",
|
|
893
|
-
name: "index",
|
|
894
|
-
type: "uint128",
|
|
895
|
-
},
|
|
896
|
-
{
|
|
897
|
-
internalType: "uint128",
|
|
898
|
-
name: "lastBalance",
|
|
899
|
-
type: "uint128",
|
|
900
|
-
},
|
|
901
|
-
],
|
|
902
|
-
stateMutability: "view",
|
|
903
|
-
type: "function",
|
|
904
|
-
},
|
|
905
|
-
{
|
|
906
|
-
inputs: [],
|
|
907
|
-
name: "skim",
|
|
908
|
-
outputs: [],
|
|
909
|
-
stateMutability: "nonpayable",
|
|
910
|
-
type: "function",
|
|
911
|
-
},
|
|
912
|
-
{
|
|
913
|
-
inputs: [
|
|
914
|
-
{
|
|
915
|
-
internalType: "address",
|
|
916
|
-
name: "receiver",
|
|
917
|
-
type: "address",
|
|
918
|
-
},
|
|
919
|
-
{
|
|
920
|
-
internalType: "uint256",
|
|
921
|
-
name: "exactPtIn",
|
|
922
|
-
type: "uint256",
|
|
923
|
-
},
|
|
924
|
-
{
|
|
925
|
-
internalType: "bytes",
|
|
926
|
-
name: "data",
|
|
927
|
-
type: "bytes",
|
|
928
|
-
},
|
|
929
|
-
],
|
|
930
|
-
name: "swapExactPtForSy",
|
|
931
|
-
outputs: [
|
|
932
|
-
{
|
|
933
|
-
internalType: "uint256",
|
|
934
|
-
name: "netSyOut",
|
|
935
|
-
type: "uint256",
|
|
936
|
-
},
|
|
937
|
-
{
|
|
938
|
-
internalType: "uint256",
|
|
939
|
-
name: "netSyFee",
|
|
940
|
-
type: "uint256",
|
|
941
|
-
},
|
|
942
|
-
],
|
|
943
|
-
stateMutability: "nonpayable",
|
|
944
|
-
type: "function",
|
|
945
|
-
},
|
|
946
|
-
{
|
|
947
|
-
inputs: [
|
|
948
|
-
{
|
|
949
|
-
internalType: "address",
|
|
950
|
-
name: "receiver",
|
|
951
|
-
type: "address",
|
|
952
|
-
},
|
|
953
|
-
{
|
|
954
|
-
internalType: "uint256",
|
|
955
|
-
name: "exactPtOut",
|
|
956
|
-
type: "uint256",
|
|
957
|
-
},
|
|
958
|
-
{
|
|
959
|
-
internalType: "bytes",
|
|
960
|
-
name: "data",
|
|
961
|
-
type: "bytes",
|
|
962
|
-
},
|
|
963
|
-
],
|
|
964
|
-
name: "swapSyForExactPt",
|
|
965
|
-
outputs: [
|
|
966
|
-
{
|
|
967
|
-
internalType: "uint256",
|
|
968
|
-
name: "netSyIn",
|
|
969
|
-
type: "uint256",
|
|
970
|
-
},
|
|
971
|
-
{
|
|
972
|
-
internalType: "uint256",
|
|
973
|
-
name: "netSyFee",
|
|
974
|
-
type: "uint256",
|
|
975
|
-
},
|
|
976
|
-
],
|
|
977
|
-
stateMutability: "nonpayable",
|
|
978
|
-
type: "function",
|
|
979
|
-
},
|
|
980
|
-
{
|
|
981
|
-
inputs: [],
|
|
982
|
-
name: "symbol",
|
|
983
|
-
outputs: [
|
|
984
|
-
{
|
|
985
|
-
internalType: "string",
|
|
986
|
-
name: "",
|
|
987
|
-
type: "string",
|
|
988
|
-
},
|
|
989
|
-
],
|
|
990
|
-
stateMutability: "view",
|
|
991
|
-
type: "function",
|
|
992
|
-
},
|
|
993
|
-
{
|
|
994
|
-
inputs: [],
|
|
995
|
-
name: "totalActiveSupply",
|
|
996
|
-
outputs: [
|
|
997
|
-
{
|
|
998
|
-
internalType: "uint256",
|
|
999
|
-
name: "",
|
|
1000
|
-
type: "uint256",
|
|
1001
|
-
},
|
|
1002
|
-
],
|
|
1003
|
-
stateMutability: "view",
|
|
1004
|
-
type: "function",
|
|
1005
|
-
},
|
|
1006
|
-
{
|
|
1007
|
-
inputs: [],
|
|
1008
|
-
name: "totalSupply",
|
|
1009
|
-
outputs: [
|
|
1010
|
-
{
|
|
1011
|
-
internalType: "uint256",
|
|
1012
|
-
name: "",
|
|
1013
|
-
type: "uint256",
|
|
1014
|
-
},
|
|
1015
|
-
],
|
|
1016
|
-
stateMutability: "view",
|
|
1017
|
-
type: "function",
|
|
1018
|
-
},
|
|
1019
|
-
{
|
|
1020
|
-
inputs: [
|
|
1021
|
-
{
|
|
1022
|
-
internalType: "address",
|
|
1023
|
-
name: "to",
|
|
1024
|
-
type: "address",
|
|
1025
|
-
},
|
|
1026
|
-
{
|
|
1027
|
-
internalType: "uint256",
|
|
1028
|
-
name: "amount",
|
|
1029
|
-
type: "uint256",
|
|
1030
|
-
},
|
|
1031
|
-
],
|
|
1032
|
-
name: "transfer",
|
|
1033
|
-
outputs: [
|
|
1034
|
-
{
|
|
1035
|
-
internalType: "bool",
|
|
1036
|
-
name: "",
|
|
1037
|
-
type: "bool",
|
|
1038
|
-
},
|
|
1039
|
-
],
|
|
1040
|
-
stateMutability: "nonpayable",
|
|
1041
|
-
type: "function",
|
|
1042
|
-
},
|
|
1043
|
-
{
|
|
1044
|
-
inputs: [
|
|
1045
|
-
{
|
|
1046
|
-
internalType: "address",
|
|
1047
|
-
name: "from",
|
|
1048
|
-
type: "address",
|
|
1049
|
-
},
|
|
1050
|
-
{
|
|
1051
|
-
internalType: "address",
|
|
1052
|
-
name: "to",
|
|
1053
|
-
type: "address",
|
|
1054
|
-
},
|
|
1055
|
-
{
|
|
1056
|
-
internalType: "uint256",
|
|
1057
|
-
name: "amount",
|
|
1058
|
-
type: "uint256",
|
|
1059
|
-
},
|
|
1060
|
-
],
|
|
1061
|
-
name: "transferFrom",
|
|
1062
|
-
outputs: [
|
|
1063
|
-
{
|
|
1064
|
-
internalType: "bool",
|
|
1065
|
-
name: "",
|
|
1066
|
-
type: "bool",
|
|
1067
|
-
},
|
|
1068
|
-
],
|
|
1069
|
-
stateMutability: "nonpayable",
|
|
1070
|
-
type: "function",
|
|
1071
|
-
},
|
|
1072
|
-
{
|
|
1073
|
-
inputs: [
|
|
1074
|
-
{
|
|
1075
|
-
internalType: "address",
|
|
1076
|
-
name: "",
|
|
1077
|
-
type: "address",
|
|
1078
|
-
},
|
|
1079
|
-
{
|
|
1080
|
-
internalType: "address",
|
|
1081
|
-
name: "",
|
|
1082
|
-
type: "address",
|
|
1083
|
-
},
|
|
1084
|
-
],
|
|
1085
|
-
name: "userReward",
|
|
1086
|
-
outputs: [
|
|
1087
|
-
{
|
|
1088
|
-
internalType: "uint128",
|
|
1089
|
-
name: "index",
|
|
1090
|
-
type: "uint128",
|
|
1091
|
-
},
|
|
1092
|
-
{
|
|
1093
|
-
internalType: "uint128",
|
|
1094
|
-
name: "accrued",
|
|
1095
|
-
type: "uint128",
|
|
1096
|
-
},
|
|
1097
|
-
],
|
|
1098
|
-
stateMutability: "view",
|
|
1099
|
-
type: "function",
|
|
1100
|
-
},
|
|
1101
|
-
];
|
|
1102
|
-
|
|
1103
|
-
const _bytecode =
|
|
1104
|
-
"0x610220604052348015610010575f5ffd5b50604051615a2e380380615a2e83398101604081905261002f91610418565b856001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa15801561006b573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061008f9190610489565b82826040518060400160405280600d81526020016c14195b991b194813585c9ad95d609a1b8152506040518060400160405280600a8152602001691411539113114b53141560b21b815250601282600390816100eb9190610541565b5060046100f88382610541565b5060ff166080525050600280546001600160f81b0316600160f81b1790556001600160a01b0380841660a05282811660e052811661010081905260408051635162986d60e11b8152905163a2c530da9160048082019260209290919082900301815f875af115801561016c573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101909190610489565b6001600160a01b0390811660c05289166101208190526040805163afd27bf560e01b8152905191945063afd27bf5935060048082019350602092918290030181865afa1580156101e2573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102069190610489565b6001600160a01b0316610140816001600160a01b031681525050610120516001600160a01b031663781c18db6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561025f573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102839190610489565b6001600160a01b03166101605260405163329f6acb60e21b8152600c600482015263ffffffff4216602482015273__$048ed23d805a6069d4ffa97e047467fd4a$__9063ca7dab2c906044016040805180830381865af41580156102e9573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061030d919061060c565b600b805463ffffffff60701b1916600160801b61ffff9384160261ffff60701b191617600160701b93909216929092021790555f85136103675760405163483512b160e11b81526004810186905260240160405180910390fd5b6101c08590526101e08490526001600160501b03831661020052604080516370c264df60e11b815290516001600160a01b0388169163e184c9be9160048083019260209291908290030181865afa1580156103c4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e8919061063d565b6101a052505033610180525061065492505050565b80516001600160a01b0381168114610413575f5ffd5b919050565b5f5f5f5f5f5f60c0878903121561042d575f5ffd5b610436876103fd565b6020880151604089015160608a015192985090965094506001600160501b0381168114610461575f5ffd5b925061046f608088016103fd565b915061047d60a088016103fd565b90509295509295509295565b5f60208284031215610499575f5ffd5b6104a2826103fd565b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806104d157607f821691505b6020821081036104ef57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561053c57805f5260205f20601f840160051c8101602085101561051a5750805b601f840160051c820191505b81811015610539575f8155600101610526565b50505b505050565b81516001600160401b0381111561055a5761055a6104a9565b61056e8161056884546104bd565b846104f5565b6020601f8211600181146105a0575f83156105895750848201515b5f19600385901b1c1916600184901b178455610539565b5f84815260208120601f198516915b828110156105cf57878501518255602094850194600190920191016105af565b50848210156105ec57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b805161ffff81168114610413575f5ffd5b5f5f6040838503121561061d575f5ffd5b610626836105fb565b9150610634602084016105fb565b90509250929050565b5f6020828403121561064d575f5ffd5b5051919050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516101e0516102005161529061079e5f395f818161060001526113b601525f6107f501525f6113e701525f81816105d101528181610e80015261140d01525f8181610575015261131a01525f81816102e7015281816107a301528181610c6c015261108c01525f818161029a0152818161084a0152818161087901528181610a6a01528181610af301528181610cc601528181610d0001528181611120015281816111cf015281816111fe015261169401525f81816102bf015281816108d50152818161090401528181610a2701528181610ab301528181610dad01528181610ddc015281816110e601526116d801525f61459101525f6146d501525f818161217a01526121ae01525f81816120f2015261451701525f61032301526152905ff3fe608060405234801561000f575f5ffd5b5060043610610173575f3560e01c806306fdde03146101775780630892cd8b14610195578063095ea7b3146101c2578063156e29f6146101e557806318160ddd146102075780631dd19cb41461020f57806323b872dd14610219578063252c09d71461022c57806329910b111461026b5780632c8ce6bc1461028c5780632f13b60c14610316578063313ce5671461031e57806337d45e3a146103575780635b709f171461036a5780635cbadbe41461037d57806370a08231146103db57806372069264146103ee578063794052f3146103f7578063883bdbfd1461047e5780639262187b1461049e57806395d89b41146104be578063a9059cbb146104c6578063a9f8d181146104d9578063c3fb90d6146104e2578063c45a015514610570578063c4f59f9b146105a4578063dd62ed3e146105b9578063e184c9be146105cc578063e4f8b2e9146105f3578063ea64a8201461062a578063f6b911bc1461065d575b5f5ffd5b61017f610670565b60405161018c919061484d565b60405180910390f35b6101b46101a3366004614893565b60096020525f908152604090205481565b60405190815260200161018c565b6101d56101d03660046148ae565b610700565b604051901515815260200161018c565b6101f86101f33660046148d8565b610719565b60405161018c9392919061490a565b6101b46109b7565b6102176109c6565b005b6101d5610227366004614920565b610b34565b61023f61023a36600461495e565b610bb1565b6040805163ffffffff90941684526001600160d81b03909216602084015215159082015260600161018c565b61027e610279366004614975565b610bea565b60405161018c9291906149f8565b604080516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811682527f0000000000000000000000000000000000000000000000000000000000000000811660208301527f0000000000000000000000000000000000000000000000000000000000000000169181019190915260600161018c565b6101d5610e7e565b6103457f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff909116815260200161018c565b610217610365366004614a15565b610eaa565b61027e610378366004614975565b61100a565b6103bb61038b366004614a30565b600560209081525f92835260408084209091529082529020546001600160801b0380821691600160801b90041682565b604080516001600160801b0393841681529290911660208301520161018c565b6101b46103e9366004614893565b61125a565b6101b460085481565b61040a610405366004614893565b611274565b60405161018c91905f6101208201905082518252602083015160208301526040830151604083015260018060a01b0360608401511660608301526080830151608083015260a083015160a083015260c083015160c083015260e083015160e083015261010083015161010083015292915050565b61049161048c366004614acd565b611448565b60405161018c9190614b73565b6104b16104ac366004614893565b6114ec565b60405161018c9190614bbe565b61017f611557565b6101d56104d43660046148ae565b611566565b6101b460065481565b600a54600b5461052691600f81810b92600160801b9283900490910b916001600160601b0382169161ffff600160601b8204811692600160701b8304821692041686565b60408051600f97880b81529590960b60208601526001600160601b039093169484019490945261ffff908116606084015292831660808301529190911660a082015260c00161018c565b6105977f000000000000000000000000000000000000000000000000000000000000000081565b60405161018c9190614bf5565b6105ac6115d7565b60405161018c9190614c09565b6101b46105c7366004614a30565b6115e1565b6101b47f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160501b037f000000000000000000000000000000000000000000000000000000000000000016815260200161018c565b6103bb610638366004614893565b60076020525f90815260409020546001600160801b0380821691600160801b90041682565b61027e61066b366004614920565b61160b565b60606003805461067f90614c49565b80601f01602080910402602001604051908101604052809291908181526020018280546106ab90614c49565b80156106f65780601f106106cd576101008083540402835291602001916106f6565b820191905f5260205f20905b8154815290600101906020018083116106d957829003601f168201915b5050505050905090565b5f3361070d818585611777565b60019150505b92915050565b6002545f9081908190600119600160f81b90910460ff16016107565760405162461bcd60e51b815260040161074d90614c7b565b60405180910390fd5b600280546001600160f81b0316600160f91b179055610773610e7e565b156107915760405163b2094b5960e01b815260040160405180910390fd5b5f61079b33611274565b90505f6107d07f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661189a565b90505f6107df838989426118fc565b91985096509450905080156108255761081a83837f000000000000000000000000000000000000000000000000000000000000000042611963565b6108256001826119e3565b61082f89876119e3565b61083883611afd565b6108458360200151611c97565b61086e7f0000000000000000000000000000000000000000000000000000000000000000611ca8565b10156108c55761089d7f0000000000000000000000000000000000000000000000000000000000000000611ca8565b6108aa8460200151611c97565b60405163f62951c760e01b815260040161074d9291906149f8565b82516108d090611c97565b6108f97f0000000000000000000000000000000000000000000000000000000000000000611ca8565b101561094e576109287f0000000000000000000000000000000000000000000000000000000000000000611ca8565b835161093390611c97565b604051632c49ea0f60e01b815260040161074d9291906149f8565b886001600160a01b03167fb4c03061fb5b7fed76389d5af8f2e0ddb09f8c70d1333abbb62582835e10accb87878760405161098b9392919061490a565b60405180910390a25050600280546001600160f81b0316600160f81b1790555091959094509092509050565b6002546001600160f81b031690565b600254600119600160f81b90910460ff16016109f45760405162461bcd60e51b815260040161074d90614c7b565b600280546001600160f81b0316600160f91b1790555f610a1333611274565b90505f610a22825f0151611c97565b610a4b7f0000000000000000000000000000000000000000000000000000000000000000611ca8565b610a559190614cc6565b90505f610a658360200151611c97565b610a8e7f0000000000000000000000000000000000000000000000000000000000000000611ca8565b610a989190614cc6565b90508115610ada576060830151610ada906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169084611cf1565b8015610b1a576060830151610b1a906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169083611cf1565b5050600280546001600160f81b0316600160f81b17905550565b6002545f90600119600160f81b90910460ff1601610b645760405162461bcd60e51b815260040161074d90614c7b565b600280546001600160f81b0316600160f91b17905533610b85858285611d48565b610b90858585611dc0565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b600c8161ffff8110610bc1575f80fd5b015463ffffffff81169150600160201b81046001600160d81b031690600160f81b900460ff1683565b6002545f908190600119600160f81b90910460ff1601610c1c5760405162461bcd60e51b815260040161074d90614c7b565b600280546001600160f81b0316600160f91b179055610c39610e7e565b15610c575760405163b2094b5960e01b815260040160405180910390fd5b5f610c6133611274565b90505f610ca2610c997f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661189a565b83908942611fe5565b919550935090506001600160a01b0388163014610ced57610ced6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168986611cf1565b6060820151610d27906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169083611cf1565b610d3082611afd565b8415610d9d573363fa483e72610d4589612033565b610d4e87612048565b89896040518563ffffffff1660e01b8152600401610d6f9493929190614cd9565b5f604051808303815f87803b158015610d86575f5ffd5b505af1158015610d98573d5f5f3e3d5ffd5b505050505b8151610da890611c97565b610dd17f0000000000000000000000000000000000000000000000000000000000000000611ca8565b1015610e0b57610e007f0000000000000000000000000000000000000000000000000000000000000000611ca8565b825161093390611c97565b6001600160a01b038816335f51602061521b5f395f51905f52610e2d8a612033565b610e3688612048565b60408051928352602083019190915281018790526060810185905260800160405180910390a35050600280546001600160f81b0316600160f81b179055909590945092505050565b7f000000000000000000000000000000000000000000000000000000000000000042101590565b905090565b600254600119600160f81b90910460ff1601610ed85760405162461bcd60e51b815260040161074d90614c7b565b600280546001600160f81b0316600160f91b179055600b54604051632c3e6e0360e11b8152600c6004820152600160801b90910461ffff908116602483018190529083166044830152905f9073__$048ed23d805a6069d4ffa97e047467fd4a$__9063587cdc0690606401602060405180830381865af4158015610f5e573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f829190614d15565b90508061ffff168261ffff1614610b1a57600b805461ffff60801b1916600160801b61ffff8481169182029290921790925560408051918516825260208201929092527fac49e518f90a358f652e4400164f05a5d8f7e35e7747279bc3a93dbf584e125a910160405180910390a15050600280546001600160f81b0316600160f81b17905550565b6002545f908190600119600160f81b90910460ff160161103c5760405162461bcd60e51b815260040161074d90614c7b565b600280546001600160f81b0316600160f91b179055611059610e7e565b156110775760405163b2094b5960e01b815260040160405180910390fd5b5f61108133611274565b90505f6110c26110b97f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661189a565b8390894261205c565b919550935090506001600160a01b038816301461110d5761110d6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168989611cf1565b6060820151611147906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169083611cf1565b61115082611afd565b84156111bd573363fa483e7261116589612048565b61116e87612033565b89896040518563ffffffff1660e01b815260040161118f9493929190614cd9565b5f604051808303815f87803b1580156111a6575f5ffd5b505af11580156111b8573d5f5f3e3d5ffd5b505050505b6111ca8260200151611c97565b6111f37f0000000000000000000000000000000000000000000000000000000000000000611ca8565b101561122f576112227f0000000000000000000000000000000000000000000000000000000000000000611ca8565b6108aa8360200151611c97565b6001600160a01b038816335f51602061521b5f395f51905f526112518a612048565b610e3688612033565b6001600160a01b03165f9081526020819052604090205490565b6112c36040518061012001604052805f81526020015f81526020015f81526020015f6001600160a01b031681526020015f81526020015f81526020015f81526020015f81526020015f81525090565b600a54600f81810b8352600160801b909104900b60208201526112ec6112e76109b7565b612048565b60408281019190915251635c098c1160e01b81523060048201526001600160a01b0383811660248301525f917f000000000000000000000000000000000000000000000000000000000000000090911690635c098c1190604401606060405180830381865afa158015611361573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113859190614d30565b60ff1660e08501526001600160a01b03909116606084015290506001600160501b038116156113b457806113d6565b7f00000000000000000000000000000000000000000000000000000000000000005b6001600160501b031660c0830152507f000000000000000000000000000000000000000000000000000000000000000060808201527f000000000000000000000000000000000000000000000000000000000000000060a0820152600b546001600160601b0316610100820152919050565b600b54604051630eea10e760e11b815260609173__$048ed23d805a6069d4ffa97e047467fd4a$__91631dd421ce916114ab91600c91429188916001600160601b0381169161ffff600160601b8304811692600160701b90041690600401614d8a565b5f60405180830381865af41580156114c5573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107139190810190614e16565b600254606090600119600160f81b90910460ff160161151d5760405162461bcd60e51b815260040161074d90614c7b565b600280546001600160f81b0316600160f91b17905561153b82612087565b9050600280546001600160f81b0316600160f81b179055919050565b60606004805461067f90614c49565b6002545f90600119600160f81b90910460ff16016115965760405162461bcd60e51b815260040161074d90614c7b565b600280546001600160f81b0316600160f91b179055336115b7818585611dc0565b6001915050600280546001600160f81b0316600160f81b17905592915050565b6060610ea56120ed565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6002545f908190600119600160f81b90910460ff160161163d5760405162461bcd60e51b815260040161074d90614c7b565b600280546001600160f81b0316600160f91b1790555f61165c33611274565b905061166830856121d8565b611672818561235e565b90935091506001600160a01b03861630146116bb576116bb6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168785611cf1565b6001600160a01b03851630146116ff576116ff6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168684611cf1565b61170881611afd565b846001600160a01b0316866001600160a01b03167f4cf25bc1d991c17529c25213d3cc0cda295eeaad5f13f361969b12ea48015f9086868660405161174f9392919061490a565b60405180910390a350600280546001600160f81b0316600160f81b1790559094909350915050565b6001600160a01b0383166117d95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161074d565b6001600160a01b03821661183a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161074d565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f816001600160a01b0316631d52edc46040518163ffffffff1660e01b81526004016020604051808303815f875af11580156118d8573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107139190614eb0565b5f5f5f5f5f5f5f5f6119208c6119118d612048565b61191a8d612048565b8c612397565b935093509350935061193184611c97565b975061193c83611c97565b965061194782611c97565b955061195281611c97565b945050505050945094509450949050565b60a084015181106119875760405163b2094b5960e01b815260040160405180910390fd5b5f61199f85602001518561254f90919063ffffffff16565b90505f828660a001516119b29190614cc6565b90505f6119bf878361258b565b90506119d1875f0151848388866125e5565b61010090970196909652505050505050565b6001600160a01b038216611a395760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161074d565b611a445f8383612635565b611a4d81612640565b600280545f90611a679084906001600160f81b0316614ec7565b92506101000a8154816001600160f81b0302191690836001600160f81b03160217905550805f5f846001600160a01b03166001600160a01b031681526020019081526020015f205f828254611abc9190614ee6565b90915550506040518181526001600160a01b038316905f905f51602061523b5f395f51905f529060200160405180910390a3611af95f8383612654565b5050565b5f611b0c82610100015161265f565b90505f611b1b835f0151612673565b90505f611b2b8460200151612673565b600b5460405163095ee96d60e31b8152600c600482015261ffff600160601b8304811660248301524263ffffffff1660448301526001600160601b0383166064830152600160701b830481166084830152600160801b90920490911660a48201529091505f90819073__$048ed23d805a6069d4ffa97e047467fd4a$__90634af74b689060c4016040805180830381865af4158015611bcc573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bf09190614ef9565b6001600160801b03858116600160801b0290871617600a55600b805461ffff808416600160701b0261ffff60701b19918616600160601b026001600160701b03199093166001600160601b038c1617929092171617905561010088015160405192945090925042917f5c0e21d57bb4cf91d8fe238d6f92e2685a695371b19209afcce6217b478f83e191611c879190815260200190565b60405180910390a2505050505050565b5f5f821215611ca4575f5ffd5b5090565b6040516370a0823160e01b81525f906001600160a01b038316906370a0823190611cd6903090600401614bf5565b602060405180830381865afa1580156118d8573d5f5f3e3d5ffd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611d4390849061269b565b505050565b5f611d5384846115e1565b90505f198114611dba5781811015611dad5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161074d565b611dba8484848403611777565b50505050565b6001600160a01b038316611e245760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161074d565b6001600160a01b038216611e865760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161074d565b816001600160a01b0316836001600160a01b031603611ee15760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b604482015260640161074d565b611eec838383612635565b6001600160a01b0383165f9081526020819052604090205481811015611f635760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161074d565b6001600160a01b038085165f90815260208190526040808220858503905591851681529081208054849290611f99908490614ee6565b92505081905550826001600160a01b0316846001600160a01b03165f51602061523b5f395f51905f5284604051611fd291815260200190565b60405180910390a3611dba848484612654565b5f5f5f5f5f5f611fff8a8a611ff98b612033565b8a61276e565b92509250925061200e83611c97565b955061201982611c97565b945061202481611c97565b93505050509450945094915050565b5f61203d82612048565b610713905f19614f26565b5f6001600160ff1b03821115611ca4575f5ffd5b5f5f5f5f5f5f6120708a8a611ff98b612048565b92509250925061200e612082846127fe565b611c97565b60606120928261280a565b61209b82612817565b6120a58283612821565b9050816001600160a01b03167f78d61a0c27b13f43911095f9f356f14daa3cd8b125eea1aa22421245e90e813d826040516120e09190614bbe565b60405180910390a2919050565b60605f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c4f59f9b6040518163ffffffff1660e01b81526004015f60405180830381865afa15801561214b573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526121729190810190614f55565b905061219e817f0000000000000000000000000000000000000000000000000000000000000000612aae565b156121a857919050565b6121d2817f0000000000000000000000000000000000000000000000000000000000000000612b0b565b91505090565b6001600160a01b0382166122385760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161074d565b612243825f83612635565b6001600160a01b0382165f90815260208190526040902054818110156122b65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161074d565b6001600160a01b0383165f90815260208190526040902082820390556122db82612640565b600280545f906122f59084906001600160f81b0316614fe4565b92506101000a8154816001600160f81b0302191690836001600160f81b031602179055505f6001600160a01b0316836001600160a01b03165f51602061523b5f395f51905f528460405161234b91815260200190565b60405180910390a3611d43835f84612654565b5f5f5f5f6123748661236f87612048565b612bef565b9150915061238182611c97565b935061238c81611c97565b925050509250929050565b5f8080808615806123a6575085155b156123c4576040516325daaec360e01b815260040160405180910390fd5b60a088015185106123e85760405163b2094b5960e01b815260040160405180910390fd5b87604001515f0361242a576103e861240e6112e76124096120828a8c614f26565b612cb9565b6124189190615003565b92506103e893508691508590506124c2565b875160408901515f919061243e9089614f26565b612448919061503d565b90505f89602001518a604001518a6124609190614f26565b61246a919061503d565b90508082121561249f578194508792506124988a60400151868c602001516124929190614f26565b90612d27565b93506124bf565b8094508893506124bc8a60400151868c5f01516124929190614f26565b92505b50505b5f831315806124d157505f8213155b806124dc57505f8113155b156124fa57604051631997ea8d60e31b815260040160405180910390fd5b818860200181815161250c9190615069565b905250875181908990612520908390615069565b90525061252d8484615069565b8860400181815161253e9190615069565b905250929791965094509092509050565b5f5f5f831261255f576001612562565b5f195b90506125796112e78561257486612d50565b612d66565b6125839082614f26565b949350505050565b5f61259582612048565b6125a76112e76201518061016d615088565b84608001516125b69190614f26565b6125c0919061503d565b90505f811361071357604051630e520c3b60e11b81526004810182905260240161074d565b5f5f6125f4878787875f612d84565b90505f61260361208283612e39565b9050836126156201518061016d615088565b61261f9083615088565b612629919061509f565b98975050505050505050565b611d43838383612ecb565b5f6001600160f81b03821115611ca4575f5ffd5b611d43838383612ed5565b5f6001600160601b03821115611ca4575f5ffd5b5f60016001607f1b03198212801590612693575060016001607f1b038213155b611ca4575f5ffd5b5f6126ef826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612edf9092919063ffffffff16565b905080515f148061270f57508080602001905181019061270f91906150b2565b611d435760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161074d565b5f5f5f61277f8760a0015185101590565b1561279d5760405163b2094b5960e01b815260040160405180910390fd5b865185126127c3578651604051632185509b60e21b815261074d919087906004016149f8565b5f6127cf888887612eed565b90506127dd88828989612fe0565b919550935091506127f38882898988878b61312a565b509450945094915050565b5f610713825f19614f26565b612814815f6131ba565b50565b612814815f613238565b60605f61282c6120ed565b905080516001600160401b0381111561284757612847614a67565b604051908082528060200260200182016040528015612870578160200160208202803683370190505b5091505f5b8151811015612aa65760055f838381518110612893576128936150d1565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f866001600160a01b03166001600160a01b031681526020019081526020015f205f0160109054906101000a90046001600160801b03166001600160801b031683828151811061290c5761290c6150d1565b60200260200101818152505082818151811061292a5761292a6150d1565b60200260200101515f14612a9e575f60055f84848151811061294e5761294e6150d1565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f876001600160a01b03166001600160a01b031681526020019081526020015f205f0160106101000a8154816001600160801b0302191690836001600160801b031602179055506129de8382815181106129d1576129d16150d1565b6020026020010151613296565b60075f8484815181106129f3576129f36150d1565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f0160108282829054906101000a90046001600160801b0316612a3d91906150e5565b92506101000a8154816001600160801b0302191690836001600160801b03160217905550612a9e828281518110612a7657612a766150d1565b602002602001015185858481518110612a9157612a916150d1565b60200260200101516132aa565b600101612875565b505092915050565b81515f90815b81811015612b0157836001600160a01b0316858281518110612ad857612ad86150d1565b60200260200101516001600160a01b031603612af957600192505050610713565b600101612ab4565b505f949350505050565b8151606090612b1b816001614ee6565b6001600160401b03811115612b3257612b32614a67565b604051908082528060200260200182016040528015612b5b578160200160208202803683370190505b5091505f5b81811015612bb457848181518110612b7a57612b7a6150d1565b6020026020010151838281518110612b9457612b946150d1565b6001600160a01b0390921660209283029190910190910152600101612b60565b5082828281518110612bc857612bc86150d1565b60200260200101906001600160a01b031690816001600160a01b0316815250505092915050565b5f5f825f03612c11576040516325daaec360e01b815260040160405180910390fd5b60408401516020850151612c259085614f26565b612c2f919061503d565b6040850151855191935090612c449085614f26565b612c4e919061503d565b905081158015612c5c575080155b15612c7a57604051631997ea8d60e31b815260040160405180910390fd5b6040840151612c899084613369565b60408501528351612c9a9082613369565b84526020840151612cab9083613369565b602090940193909352929050565b5f6003821115612d185750805f612cd160028361509f565b612cdc906001614ee6565b90505b81811015612d1257905080600281612cf7818661509f565b612d019190614ee6565b612d0b919061509f565b9050612cdf565b50919050565b8115612d22575060015b919050565b5f816001612d358286615069565b612d3f9190615003565b612d49919061503d565b9392505050565b5f5f8213611ca457612d6182615104565b610713565b5f670de0b6b3a7640000612d7a8484615088565b612d49919061509f565b5f80612d908784613369565b90505f612da7612da0888a615069565b83906133af565b9050670d529ae9e8600000811315612dde5780670d529ae9e8600000604051637e34684f60e11b815260040161074d9291906149f8565b5f612de8826133dd565b905085612df582896133af565b612dff9190615069565b9350670de0b6b3a7640000841215612e2d5760405163329e322960e21b81526004810185905260240161074d565b50505095945050505050565b5f5f8213612e795760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b604482015260640161074d565b670c7d713b49da000082138015612e975750670f43fc2c04ee000082125b15612ec257670de0b6b3a7640000612eae8361342e565b81612ebb57612ebb615029565b0592915050565b6107138261354b565b611d4383836131ba565b611d438383613238565b606061258384845f856138e9565b612f1460405180608001604052805f81526020015f81526020015f81526020015f81525090565b60a08401518210612f385760405163b2094b5960e01b815260040160405180910390fd5b5f828560a00151612f499190614cc6565b9050612f55858261258b565b82526020850151612f6790859061254f565b602083015284511580612f7c57506020820151155b15612fa3578451602083015160405163b1c4aefb60e01b815261074d9291906004016149f8565b612fbf855f01518661010001518460200151855f0151856139c0565b604083015260c0850151612fd39082613a3e565b6060830152509392505050565b5f5f5f5f612fff885f01518860200151895f01518a6040015189612d84565b90505f61301461300f87846133af565b6127fe565b60608901519091505f871315613081575f61302f84836133af565b9050670de0b6b3a764000081121561305d5760405163329e322960e21b81526004810182905260240161074d565b61307961307283670de0b6b3a7640000615003565b8490613a76565b9150506130ae565b6130ab8161309781670de0b6b3a7640000615003565b6130a19085614f26565b61300f919061503d565b90505b5f60646130be8c60e00151612048565b6130c89084614f26565b6130d2919061503d565b90505f6130df8385615003565b90505f81126130f7576130f28a82613a93565b613101565b6131018a82613abd565b975061310d8a84613a93565b96506131198a83613a93565b955050505050509450945094915050565b5f818860a0015161313b9190614cc6565b885190915061314a9086613369565b88526131646131598486615069565b60208a015190613369565b6020890181905288516131899161317c90899061254f565b895160408b0151856125e5565b61010089018190525f036131b057604051635534d70f60e11b815260040160405180910390fd5b5050505050505050565b5f5f6131c4613ae7565b9150915081515f036131d65750505050565b6001600160a01b038416158015906131f757506001600160a01b0384163014155b1561320757613207848383613d5a565b6001600160a01b0383161580159061322857506001600160a01b0383163014155b15611dba57611dba838383613d5a565b6001600160a01b0382161580159061325957506001600160a01b0382163014155b156132675761326782613f97565b6001600160a01b0381161580159061328857506001600160a01b0381163014155b15611af957611af981613f97565b5f6001600160801b03821115611ca4575f5ffd5b805f036132b657505050565b6001600160a01b038316613355575f826001600160a01b0316826040515f6040518083038185875af1925050503d805f811461330d576040519150601f19603f3d011682016040523d82523d5f602084013e613312565b606091505b5050905080611dba5760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b604482015260640161074d565b611d436001600160a01b0384168383611cf1565b5f818312156133a55760405162461bcd60e51b81526020600482015260086024820152676e6567617469766560c01b604482015260640161074d565b612d498284615003565b5f806133c3670de0b6b3a764000085614f26565b90508281816133d4576133d4615029565b05949350505050565b5f670de0b6b3a764000082036134065760405163a9c8b14d60e01b815260040160405180910390fd5b5f61342361341c84670de0b6b3a7640000615003565b84906133af565b9050612d4981612e39565b670de0b6b3a7640000025f806a0c097ce7bc90715b34b9f160241b808401906ec097ce7bc90715b34b9f0fffffffff198501028161346e5761346e615029565b0590505f6a0c097ce7bc90715b34b9f160241b82800205905081806a0c097ce7bc90715b34b9f160241b81840205915060038205016a0c097ce7bc90715b34b9f160241b82840205915060058205016a0c097ce7bc90715b34b9f160241b82840205915060078205016a0c097ce7bc90715b34b9f160241b82840205915060098205016a0c097ce7bc90715b34b9f160241b828402059150600b8205016a0c097ce7bc90715b34b9f160241b828402059150600d8205016a0c097ce7bc90715b34b9f160241b828402059150600f82050160020295945050505050565b5f670de0b6b3a764000082121561358a57613582826a0c097ce7bc90715b34b9f160241b8161357c5761357c615029565b0561354b565b5f0392915050565b5f775803bcc5cb9634ba4cfb2213f784019318ed4dcb6017880f60361b83126135d45772195e54c5dd42177f53a27172fa9ec63026282760241b830592506806f05b59d3b2000000015b6f8bcc0026baae9e45e470190267a230cf60191b831261360b576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff00840008312613653576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a700831261368e576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf85083126136c557693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e283126136fc57690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d0383126137315768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb41746121110831261375c57680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d8312613791576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f177578893793783126137c6576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b28660383126137fa576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac831261382e576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b5f68056bc75e2d63100000840168056bc75e2d63100000808603028161385657613856615029565b0590505f68056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b60608247101561394a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161074d565b5f5f866001600160a01b03168587604051613965919061511e565b5f6040518083038185875af1925050503d805f811461399f576040519150601f19603f3d011682016040523d82523d5f602084013e6139a4565b606091505b50915091506139b58783838761403f565b979650505050505050565b5f5f6139cc8684613a3e565b9050670de0b6b3a76400008112156139fa5760405163329e322960e21b81526004810182905260240161074d565b5f613a0f613a08878a615069565b89906133af565b90505f613a1b826133dd565b9050613a2781876133af565b613a319084615003565b9998505050505050505050565b5f80613a4f6201518061016d615088565b613a598486615088565b613a63919061509f565b9050612583613a7182612048565b6140b7565b5f80613a828385614f26565b9050670de0b6b3a7640000816133d4565b5f5f5f8312613aa3576001613aa6565b5f195b90506125796112e785613ab886612d50565b6144c1565b5f5f5f8312613acd576001613ad0565b5f195b90506125796112e785613ae286612d50565b6144d5565b606080613af26120ed565b915081516001600160401b03811115613b0d57613b0d614a67565b604051908082528060200260200182016040528015613b36578160200160208202803683370190505b50905081515f03613b45579091565b4360065414613cdf57436006555f613b5c60085490565b9050613b66614500565b5f5b8351811015613cd9575f848281518110613b8457613b846150d1565b6020908102919091018101516001600160a01b0381165f9081526007835260408082208151808301909252546001600160801b03808216808452600160801b9092041694820185905289519395509093929091908390613bfd908b9089908110613bf057613bf06150d1565b60200260200101516145f9565b613c079190614cc6565b9050815f03613c1557600191505b8615613c3257613c25818861467b565b613c2f9083614ee6565b91505b6040518060400160405280613c4684613296565b6001600160801b03168152602001613c66613c618487614ee6565b613296565b6001600160801b039081169091526001600160a01b0387165f908152600760209081526040909120835193909101518216600160801b029290911691909117905587518290899088908110613cbd57613cbd6150d1565b6020026020010181815250505050505050806001019050613b68565b50509091565b5f5b8251811015613d555760075f848381518110613cff57613cff6150d1565b6020908102919091018101516001600160a01b031682528101919091526040015f205482516001600160801b0390911690839083908110613d4257613d426150d1565b6020908102919091010152600101613ce1565b509091565b6001600160a01b03831615801590613d7b57506001600160a01b0383163014155b613d8757613d87615139565b6001600160a01b0383165f90815260096020526040812054905b8351811015613f90575f848281518110613dbd57613dbd6150d1565b602002602001015190505f848381518110613dda57613dda6150d1565b6020908102919091018101516001600160a01b038085165f908152600584526040808220928c168252919093528220549092506001600160801b031690819003613e3457613e286001613296565b6001600160801b031690505b81811480613e40575081155b15613e4d57505050613f88565b5f613e588284614cc6565b90505f613e6587836146a9565b6001600160a01b038681165f908152600560209081526040808320938f1683529290529081205491925090613eab908390600160801b90046001600160801b0316614ee6565b90506040518060400160405280613ec187613296565b6001600160801b03168152602001613ed883613296565b6001600160801b031681525060055f886001600160a01b03166001600160a01b031681526020019081526020015f205f8d6001600160a01b03166001600160a01b031681526020019081526020015f205f820151815f015f6101000a8154816001600160801b0302191690836001600160801b031602179055506020820151815f0160106101000a8154816001600160801b0302191690836001600160801b031602179055509050505050505050505b600101613da1565b5050505050565b6001600160a01b03811615801590613fb857506001600160a01b0381163014155b613fc457613fc4615139565b5f613fce826146c6565b90505f613fdb83836146d0565b90505f613fe882846147e3565b6001600160a01b0385165f9081526009602052604090205460085491925082916140129190614cc6565b61401c9190614ee6565b6008556001600160a01b039093165f908152600960205260409020929092555050565b606083156140ad5782515f036140a6576001600160a01b0385163b6140a65760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161074d565b5081612583565b61258383836147f8565b5f680238fd42c5cf03ffff1982121580156140db575068070c1cc73b00c800008213155b61411a5760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b604482015260640161074d565b5f8212156141495761412d825f036140b7565b6a0c097ce7bc90715b34b9f160241b81612ebb57612ebb615029565b5f6806f05b59d3b2000000831261418657506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b6141bc565b6803782dace9d900000083126141b857506803782dace9d8ffffff19909101906b1425982cf597cd205cef73806141bc565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac62000000841261420c5768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d6310000008412614248576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b18800000841261428257682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c40000084126142bc576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac620000084126142f557680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d63100000841261432e5768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412614367576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c4000084126143a05768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b5f82612d7a670de0b6b3a764000084615088565b5f826001816144ec670de0b6b3a764000086615088565b6144f69190614ee6565b612d7a9190614cc6565b604051633bd73ee360e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ef5cfb8c9061454c903090600401614bf5565b5f604051808303815f875af1158015614567573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261458e919081019061514d565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166358f3d1636040518163ffffffff1660e01b81526004015f604051808303815f87803b1580156145e7575f5ffd5b505af1158015611dba573d5f5f3e3d5ffd5b5f6001600160a01b03821615614674576040516370a0823160e01b81526001600160a01b038316906370a0823190614635903090600401614bf5565b602060405180830381865afa158015614650573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d619190614eb0565b4792915050565b5f8061468f670de0b6b3a764000085615088565b90508281816146a0576146a0615029565b04949350505050565b5f806146b58385615088565b9050670de0b6b3a7640000816146a0565b5f6107138261125a565b5f5f5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e268b3a4866040518263ffffffff1660e01b815260040161471f9190614bf5565b60408051808303815f875af115801561473a573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061475e91906151e9565b6001600160801b0391821693501690505f606461477c602887615088565b614786919061509f565b905082156147da57606461479b602882614cc6565b84846147a5614822565b6147af9190615088565b6147b9919061509f565b6147c39190615088565b6147cd919061509f565b6147d79082614ee6565b90505b95945050505050565b5f8183106147f15781612d49565b5090919050565b8151156148085781518083602001fd5b8060405162461bcd60e51b815260040161074d919061484d565b5f610ea56109b7565b5f5b8381101561484557818101518382015260200161482d565b50505f910152565b602081525f825180602084015261486b81604085016020870161482b565b601f01601f19169190910160400192915050565b6001600160a01b0381168114612814575f5ffd5b5f602082840312156148a3575f5ffd5b8135612d498161487f565b5f5f604083850312156148bf575f5ffd5b82356148ca8161487f565b946020939093013593505050565b5f5f5f606084860312156148ea575f5ffd5b83356148f58161487f565b95602085013595506040909401359392505050565b9283526020830191909152604082015260600190565b5f5f5f60608486031215614932575f5ffd5b833561493d8161487f565b9250602084013561494d8161487f565b929592945050506040919091013590565b5f6020828403121561496e575f5ffd5b5035919050565b5f5f5f5f60608587031215614988575f5ffd5b84356149938161487f565b93506020850135925060408501356001600160401b038111156149b4575f5ffd5b8501601f810187136149c4575f5ffd5b80356001600160401b038111156149d9575f5ffd5b8760208284010111156149ea575f5ffd5b949793965060200194505050565b918252602082015260400190565b61ffff81168114612814575f5ffd5b5f60208284031215614a25575f5ffd5b8135612d4981614a06565b5f5f60408385031215614a41575f5ffd5b8235614a4c8161487f565b91506020830135614a5c8161487f565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b0381118282101715614aa357614aa3614a67565b604052919050565b5f6001600160401b03821115614ac357614ac3614a67565b5060051b60200190565b5f60208284031215614add575f5ffd5b81356001600160401b03811115614af2575f5ffd5b8201601f81018413614b02575f5ffd5b8035614b15614b1082614aab565b614a7b565b8082825260208201915060208360051b850101925086831115614b36575f5ffd5b6020840193505b82841015614b6957833563ffffffff81168114614b58575f5ffd5b825260209384019390910190614b3d565b9695505050505050565b602080825282518282018190525f918401906040840190835b81811015614bb35783516001600160d81b0316835260209384019390920191600101614b8c565b509095945050505050565b602080825282518282018190525f918401906040840190835b81811015614bb3578351835260209384019390920191600101614bd7565b6001600160a01b0391909116815260200190565b602080825282518282018190525f918401906040840190835b81811015614bb35783516001600160a01b0316835260209384019390920191600101614c22565b600181811c90821680614c5d57607f821691505b602082108103612d1257634e487b7160e01b5f52602260045260245ffd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561071357610713614cb2565b84815283602082015260606040820152816060820152818360808301375f818301608090810191909152601f909201601f191601019392505050565b5f60208284031215614d25575f5ffd5b8151612d4981614a06565b5f5f5f60608486031215614d42575f5ffd5b8351614d4d8161487f565b60208501519093506001600160501b0381168114614d69575f5ffd5b604085015190925060ff81168114614d7f575f5ffd5b809150509250925092565b5f60c0820188835263ffffffff8816602084015260c0604084015280875180835260e0850191506020890192505f5b81811015614ddd57835163ffffffff16835260209384019390920191600101614db9565b50506001600160601b03871660608501529150614df79050565b61ffff8416608083015261ffff831660a0830152979650505050505050565b5f60208284031215614e26575f5ffd5b81516001600160401b03811115614e3b575f5ffd5b8201601f81018413614e4b575f5ffd5b8051614e59614b1082614aab565b8082825260208201915060208360051b850101925086831115614e7a575f5ffd5b6020840193505b82841015614b695783516001600160d81b0381168114614e9f575f5ffd5b825260209384019390910190614e81565b5f60208284031215614ec0575f5ffd5b5051919050565b6001600160f81b03818116838216019081111561071357610713614cb2565b8082018082111561071357610713614cb2565b5f5f60408385031215614f0a575f5ffd5b8251614f1581614a06565b6020840151909250614a5c81614a06565b8082025f8212600160ff1b84141615614f4157614f41614cb2565b818105831482151761071357610713614cb2565b5f60208284031215614f65575f5ffd5b81516001600160401b03811115614f7a575f5ffd5b8201601f81018413614f8a575f5ffd5b8051614f98614b1082614aab565b8082825260208201915060208360051b850101925086831115614fb9575f5ffd5b6020840193505b82841015614b69578351614fd38161487f565b825260209384019390910190614fc0565b6001600160f81b03828116828216039081111561071357610713614cb2565b8181035f83128015838313168383128216171561502257615022614cb2565b5092915050565b634e487b7160e01b5f52601260045260245ffd5b5f8261504b5761504b615029565b600160ff1b82145f198414161561506457615064614cb2565b500590565b8082018281125f831280158216821582161715612aa657612aa6614cb2565b808202811582820484141761071357610713614cb2565b5f826150ad576150ad615029565b500490565b5f602082840312156150c2575f5ffd5b81518015158114612d49575f5ffd5b634e487b7160e01b5f52603260045260245ffd5b6001600160801b03828116828216039081111561071357610713614cb2565b5f600160ff1b820161511857615118614cb2565b505f0390565b5f825161512f81846020870161482b565b9190910192915050565b634e487b7160e01b5f52600160045260245ffd5b5f6020828403121561515d575f5ffd5b81516001600160401b03811115615172575f5ffd5b8201601f81018413615182575f5ffd5b8051615190614b1082614aab565b8082825260208201915060208360051b8501019250868311156151b1575f5ffd5b6020840193505b82841015614b695783518252602093840193909101906151b8565b80516001600160801b0381168114612d22575f5ffd5b5f5f604083850312156151fa575f5ffd5b615203836151d3565b9150615211602084016151d3565b9050925092905056fe829000a5bc6a12d46e30cdcecd7c56b1efd88f6d7d059da6734a04f3764557c4ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220bf386722b1f49d381231e87b5d3dc5077383ff569deba8ecd9fdfb2fe07516bd64736f6c634300081e0033";
|
|
1105
|
-
|
|
1106
|
-
type PendleMarketV3ConstructorParams =
|
|
1107
|
-
| [linkLibraryAddresses: PendleMarketV3LibraryAddresses, signer?: Signer]
|
|
1108
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
1109
|
-
|
|
1110
|
-
const isSuperArgs = (
|
|
1111
|
-
xs: PendleMarketV3ConstructorParams
|
|
1112
|
-
): xs is ConstructorParameters<typeof ContractFactory> => {
|
|
1113
|
-
return (
|
|
1114
|
-
typeof xs[0] === "string" ||
|
|
1115
|
-
(Array.isArray as (arg: any) => arg is readonly any[])(xs[0]) ||
|
|
1116
|
-
"_isInterface" in xs[0]
|
|
1117
|
-
);
|
|
1118
|
-
};
|
|
1119
|
-
|
|
1120
|
-
export class PendleMarketV3__factory extends ContractFactory {
|
|
1121
|
-
constructor(...args: PendleMarketV3ConstructorParams) {
|
|
1122
|
-
if (isSuperArgs(args)) {
|
|
1123
|
-
super(...args);
|
|
1124
|
-
} else {
|
|
1125
|
-
const [linkLibraryAddresses, signer] = args;
|
|
1126
|
-
super(
|
|
1127
|
-
_abi,
|
|
1128
|
-
PendleMarketV3__factory.linkBytecode(linkLibraryAddresses),
|
|
1129
|
-
signer
|
|
1130
|
-
);
|
|
1131
|
-
}
|
|
1132
|
-
this.contractName = "PendleMarketV3";
|
|
1133
|
-
}
|
|
1134
|
-
|
|
1135
|
-
static linkBytecode(
|
|
1136
|
-
linkLibraryAddresses: PendleMarketV3LibraryAddresses
|
|
1137
|
-
): string {
|
|
1138
|
-
let linkedBytecode = _bytecode;
|
|
1139
|
-
|
|
1140
|
-
linkedBytecode = linkedBytecode.replace(
|
|
1141
|
-
new RegExp("__\\$048ed23d805a6069d4ffa97e047467fd4a\\$__", "g"),
|
|
1142
|
-
linkLibraryAddresses["contracts/core/Market/OracleLib.sol:OracleLib"]
|
|
1143
|
-
.replace(/^0x/, "")
|
|
1144
|
-
.toLowerCase()
|
|
1145
|
-
);
|
|
1146
|
-
|
|
1147
|
-
return linkedBytecode;
|
|
1148
|
-
}
|
|
1149
|
-
|
|
1150
|
-
deploy(
|
|
1151
|
-
_PT: string,
|
|
1152
|
-
_scalarRoot: BigNumberish,
|
|
1153
|
-
_initialAnchor: BigNumberish,
|
|
1154
|
-
_lnFeeRateRoot: BigNumberish,
|
|
1155
|
-
_vePendle: string,
|
|
1156
|
-
_gaugeController: string,
|
|
1157
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1158
|
-
): Promise<PendleMarketV3> {
|
|
1159
|
-
return super.deploy(
|
|
1160
|
-
_PT,
|
|
1161
|
-
_scalarRoot,
|
|
1162
|
-
_initialAnchor,
|
|
1163
|
-
_lnFeeRateRoot,
|
|
1164
|
-
_vePendle,
|
|
1165
|
-
_gaugeController,
|
|
1166
|
-
overrides || {}
|
|
1167
|
-
) as Promise<PendleMarketV3>;
|
|
1168
|
-
}
|
|
1169
|
-
getDeployTransaction(
|
|
1170
|
-
_PT: string,
|
|
1171
|
-
_scalarRoot: BigNumberish,
|
|
1172
|
-
_initialAnchor: BigNumberish,
|
|
1173
|
-
_lnFeeRateRoot: BigNumberish,
|
|
1174
|
-
_vePendle: string,
|
|
1175
|
-
_gaugeController: string,
|
|
1176
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1177
|
-
): TransactionRequest {
|
|
1178
|
-
return super.getDeployTransaction(
|
|
1179
|
-
_PT,
|
|
1180
|
-
_scalarRoot,
|
|
1181
|
-
_initialAnchor,
|
|
1182
|
-
_lnFeeRateRoot,
|
|
1183
|
-
_vePendle,
|
|
1184
|
-
_gaugeController,
|
|
1185
|
-
overrides || {}
|
|
1186
|
-
);
|
|
1187
|
-
}
|
|
1188
|
-
attach(address: string): PendleMarketV3 {
|
|
1189
|
-
return super.attach(address) as PendleMarketV3;
|
|
1190
|
-
}
|
|
1191
|
-
connect(signer: Signer): PendleMarketV3__factory {
|
|
1192
|
-
return super.connect(signer) as PendleMarketV3__factory;
|
|
1193
|
-
}
|
|
1194
|
-
static readonly contractName: "PendleMarketV3";
|
|
1195
|
-
public readonly contractName: "PendleMarketV3";
|
|
1196
|
-
static readonly bytecode = _bytecode;
|
|
1197
|
-
static readonly abi = _abi;
|
|
1198
|
-
static createInterface(): PendleMarketV3Interface {
|
|
1199
|
-
return new utils.Interface(_abi) as PendleMarketV3Interface;
|
|
1200
|
-
}
|
|
1201
|
-
static connect(
|
|
1202
|
-
address: string,
|
|
1203
|
-
signerOrProvider: Signer | Provider
|
|
1204
|
-
): PendleMarketV3 {
|
|
1205
|
-
return new Contract(address, _abi, signerOrProvider) as PendleMarketV3;
|
|
1206
|
-
}
|
|
1207
|
-
}
|
|
1208
|
-
|
|
1209
|
-
export interface PendleMarketV3LibraryAddresses {
|
|
1210
|
-
["contracts/core/Market/OracleLib.sol:OracleLib"]: string;
|
|
1211
|
-
}
|