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