@pendle/core-v2 6.0.0 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
- 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/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +127 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +83 -0
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.json +2 -2
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.json +2 -2
- package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.json +9 -9
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.json +2 -2
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.json +2 -2
- 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/ArrayLib.sol/ArrayLib.json +2 -2
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.json +2 -2
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.json +2 -2
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.json +2 -2
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +13 -2
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.json +2 -2
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.json +2 -2
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.json +2 -2
- 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/LogExpMath.sol/LogExpMath.json +2 -2
- package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.json +2 -2
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.json +599 -0
- package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.json +280 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.json +1265 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.json +1573 -0
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +2 -2
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.json +99 -0
- 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 +4 -0
- package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.json +928 -0
- package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.json +57 -0
- 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 +4 -0
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.json +346 -0
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.json +34 -0
- 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/IPLimitRouter.json +13 -0
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/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 +4 -0
- package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.json +81 -0
- 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/IPVotingController.sol/IPVotingController.json +32 -0
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.json +18 -0
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +33 -2
- package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
- package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.json +24 -0
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.json +168 -0
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.json +71 -0
- package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.json +2 -2
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +13 -2
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +13 -2
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +13 -2
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +13 -2
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +13 -2
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
- package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +15 -3
- package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
- package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +26 -4
- package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +32 -1
- package/contracts/core/libraries/Errors.sol +1 -0
- package/contracts/cross-chain/FixedPricePTAMM.sol +159 -0
- package/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol +38 -0
- package/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol +12 -0
- package/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol +41 -0
- package/contracts/interfaces/ILPWrapper.sol +16 -0
- package/contracts/interfaces/IPBridgedPrincipalToken.sol +11 -0
- package/contracts/interfaces/IPChainlinkOracleEssential.sol +11 -0
- package/contracts/interfaces/IPFixedPricePTAMM.sol +67 -0
- package/contracts/interfaces/IPLimitRouter.sol +2 -0
- package/contracts/interfaces/IPPTOFTAdapterFactory.sol +12 -0
- package/contracts/interfaces/IPVotingController.sol +4 -0
- package/contracts/limit/LimitRouterBase.sol +7 -2
- package/contracts/limit/PendleLimitRouter.sol +10 -0
- package/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol +1 -1
- package/contracts/offchain-helpers/PendleLPWrapper.sol +2 -1
- package/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol +65 -0
- package/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol +20 -0
- package/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol +3 -1
- package/contracts/router/ActionAddRemoveLiqV3.sol +2 -0
- package/contracts/router/ActionMiscV3.sol +2 -0
- package/contracts/router/ActionSimple.sol +2 -0
- package/contracts/router/ActionSwapPTV3.sol +2 -0
- package/contracts/router/ActionSwapYTV3.sol +2 -0
- package/contracts/router/base/ActionBase.sol +16 -8
- package/contracts/router/base/ActionDelegateBase.sol +2 -0
- package/deployments/1-core.json +6 -1
- package/deployments/10-core.json +11 -3
- package/deployments/146-core.json +4 -2
- package/deployments/42161-core.json +4 -1
- package/deployments/43114-core.json +5 -0
- package/deployments/5000-core.json +3 -1
- package/deployments/56-core.json +3 -1
- package/deployments/80094-core.json +3 -1
- package/deployments/8453-core.json +3 -1
- package/deployments/999-core.json +4 -1
- package/package.json +4 -1
- package/typechain-types/ActionDelegateBase.ts +57 -0
- package/typechain-types/ERC1967UpgradeUpgradeable.ts +106 -0
- package/typechain-types/FixedPricePTAMM.ts +230 -52
- package/typechain-types/IBeaconUpgradeable.ts +87 -0
- package/typechain-types/IERC1822ProxiableUpgradeable.ts +87 -0
- package/typechain-types/IERC1967Upgradeable.ts +97 -0
- package/typechain-types/ILPWrapper.ts +224 -0
- package/typechain-types/IPFixedPricePTAMM.ts +77 -23
- package/typechain-types/IPLimitRouter.ts +17 -0
- package/typechain-types/IPVotingController.ts +24 -0
- package/typechain-types/LPExpiry.ts +81 -0
- package/typechain-types/LimitRouterBase.ts +24 -2
- package/typechain-types/PendleBridgedPrincipalToken.ts +1688 -0
- package/typechain-types/PendleLimitRouter.ts +58 -2
- package/typechain-types/PendleLpLinearDiscountOracle.ts +262 -0
- package/typechain-types/PendleLpLinearDiscountOracleFactory.ts +142 -0
- package/typechain-types/PendlePTOFTAdapterFactory.ts +125 -0
- package/typechain-types/PendleVotingControllerUpg.ts +139 -0
- package/typechain-types/UUPSUpgradeable.ts +9 -0
- package/typechain-types/VotingControllerStorageUpg.ts +69 -0
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +19 -3
- package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
- package/typechain-types/factories/ActionDelegateBase__factory.ts +80 -0
- package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMiscV3__factory.ts +19 -3
- package/typechain-types/factories/ActionSimple__factory.ts +19 -3
- package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +19 -3
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +19 -3
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/AddressCast__factory.ts +1 -1
- package/typechain-types/factories/AddressProvider__factory.ts +1 -1
- package/typechain-types/factories/BalanceReader__factory.ts +1 -1
- package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +1 -1
- package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
- package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +1 -1
- package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +1 -1
- package/typechain-types/factories/Broadcaster__factory.ts +1 -1
- package/typechain-types/factories/ERC1967Proxy__factory.ts +1 -1
- package/typechain-types/factories/ERC1967UpgradeUpgradeable__factory.ts +88 -0
- package/typechain-types/factories/ERC20__factory.ts +1 -1
- package/typechain-types/factories/EmptyUUPS__factory.ts +1 -1
- package/typechain-types/factories/Errors__factory.ts +12 -1
- package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
- package/typechain-types/factories/FixedPricePTAMM__factory.ts +158 -25
- package/typechain-types/factories/IBeaconUpgradeable__factory.ts +39 -0
- package/typechain-types/factories/IERC1822ProxiableUpgradeable__factory.ts +43 -0
- package/typechain-types/factories/IERC1967Upgradeable__factory.ts +71 -0
- package/typechain-types/factories/ILPWrapper__factory.ts +111 -0
- package/typechain-types/factories/IPFixedPricePTAMM__factory.ts +48 -4
- package/typechain-types/factories/IPLimitRouter__factory.ts +13 -0
- package/typechain-types/factories/IPVotingController__factory.ts +32 -0
- package/typechain-types/factories/LPExpiry__factory.ts +36 -0
- package/typechain-types/factories/LegacyNFTHelper__factory.ts +1 -1
- package/typechain-types/factories/LimitBackendHelper__factory.ts +1 -1
- package/typechain-types/factories/LimitRouterBase__factory.ts +18 -0
- package/typechain-types/factories/Multicall2__factory.ts +1 -1
- package/typechain-types/factories/NonceManager__factory.ts +1 -1
- package/typechain-types/factories/OFTAdapterImpl__factory.ts +1 -1
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/PendleBoringOneracle__factory.ts +1 -1
- package/typechain-types/factories/PendleBoringSolvBTCOneracle__factory.ts +1 -1
- package/typechain-types/factories/PendleBridgedPrincipalToken__factory.ts +1673 -0
- package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendleCommonSYFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20__factory.ts +1 -1
- package/typechain-types/factories/PendleExchangeRateOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGovernanceProxy__factory.ts +1 -1
- package/typechain-types/factories/PendleLPWrapperFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleLPWrapper__factory.ts +1 -1
- package/typechain-types/factories/PendleLimitRouter__factory.ts +32 -1
- package/typechain-types/factories/PendleLpLinearDiscountOracleFactory__factory.ts +134 -0
- package/typechain-types/factories/PendleLpLinearDiscountOracle__factory.ts +248 -0
- package/typechain-types/factories/PendleMarketFactoryV3__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketV3__factory.ts +1 -1
- package/typechain-types/factories/PendleMerkleDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleMulticallOwnerV1__factory.ts +1 -1
- package/typechain-types/factories/PendleMulticallV1__factory.ts +1 -1
- package/typechain-types/factories/PendleMulticallV2__factory.ts +1 -1
- package/typechain-types/factories/PendleOffchainStorage__factory.ts +1 -1
- package/typechain-types/factories/PendlePTOFTAdapterFactory__factory.ts +90 -1
- package/typechain-types/factories/PendlePYLpOracle__factory.ts +1 -1
- package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
- package/typechain-types/factories/PendleSparkLinearDiscountOracleFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleSparkLinearDiscountOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleSwap__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +126 -1
- package/typechain-types/factories/PendleWstETHPriceFeed__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/Reflector__factory.ts +1 -1
- package/typechain-types/factories/SDKErrorsDirectory__factory.ts +1 -1
- package/typechain-types/factories/ShortStrings__factory.ts +1 -1
- package/typechain-types/factories/SimulateHelper__factory.ts +1 -1
- package/typechain-types/factories/SupplyCapReader__factory.ts +1 -1
- package/typechain-types/factories/TransparentUpgradeableProxy__factory.ts +1 -1
- package/typechain-types/factories/UUPSUpgradeable__factory.ts +13 -0
- package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +83 -0
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +171 -0
- package/typechain-types/index.ts +38 -2
|
@@ -72,6 +72,38 @@ const _abi = [
|
|
|
72
72
|
name: "OracleNotSet",
|
|
73
73
|
type: "error",
|
|
74
74
|
},
|
|
75
|
+
{
|
|
76
|
+
anonymous: false,
|
|
77
|
+
inputs: [
|
|
78
|
+
{
|
|
79
|
+
indexed: false,
|
|
80
|
+
internalType: "address",
|
|
81
|
+
name: "previousAdmin",
|
|
82
|
+
type: "address",
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
indexed: false,
|
|
86
|
+
internalType: "address",
|
|
87
|
+
name: "newAdmin",
|
|
88
|
+
type: "address",
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
name: "AdminChanged",
|
|
92
|
+
type: "event",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
anonymous: false,
|
|
96
|
+
inputs: [
|
|
97
|
+
{
|
|
98
|
+
indexed: true,
|
|
99
|
+
internalType: "address",
|
|
100
|
+
name: "beacon",
|
|
101
|
+
type: "address",
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
name: "BeaconUpgraded",
|
|
105
|
+
type: "event",
|
|
106
|
+
},
|
|
75
107
|
{
|
|
76
108
|
anonymous: false,
|
|
77
109
|
inputs: [
|
|
@@ -210,6 +242,19 @@ const _abi = [
|
|
|
210
242
|
name: "Unseeded",
|
|
211
243
|
type: "event",
|
|
212
244
|
},
|
|
245
|
+
{
|
|
246
|
+
anonymous: false,
|
|
247
|
+
inputs: [
|
|
248
|
+
{
|
|
249
|
+
indexed: true,
|
|
250
|
+
internalType: "address",
|
|
251
|
+
name: "implementation",
|
|
252
|
+
type: "address",
|
|
253
|
+
},
|
|
254
|
+
],
|
|
255
|
+
name: "Upgraded",
|
|
256
|
+
type: "event",
|
|
257
|
+
},
|
|
213
258
|
{
|
|
214
259
|
inputs: [
|
|
215
260
|
{
|
|
@@ -239,21 +284,36 @@ const _abi = [
|
|
|
239
284
|
inputs: [
|
|
240
285
|
{
|
|
241
286
|
internalType: "address",
|
|
242
|
-
name: "
|
|
287
|
+
name: "_owner",
|
|
243
288
|
type: "address",
|
|
244
289
|
},
|
|
290
|
+
],
|
|
291
|
+
name: "initialize",
|
|
292
|
+
outputs: [],
|
|
293
|
+
stateMutability: "nonpayable",
|
|
294
|
+
type: "function",
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
inputs: [],
|
|
298
|
+
name: "owner",
|
|
299
|
+
outputs: [
|
|
245
300
|
{
|
|
246
301
|
internalType: "address",
|
|
247
|
-
name: "
|
|
302
|
+
name: "",
|
|
248
303
|
type: "address",
|
|
249
304
|
},
|
|
250
305
|
],
|
|
251
|
-
|
|
306
|
+
stateMutability: "view",
|
|
307
|
+
type: "function",
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
inputs: [],
|
|
311
|
+
name: "pendingOwner",
|
|
252
312
|
outputs: [
|
|
253
313
|
{
|
|
254
|
-
internalType: "
|
|
314
|
+
internalType: "address",
|
|
255
315
|
name: "",
|
|
256
|
-
type: "
|
|
316
|
+
type: "address",
|
|
257
317
|
},
|
|
258
318
|
],
|
|
259
319
|
stateMutability: "view",
|
|
@@ -263,37 +323,56 @@ const _abi = [
|
|
|
263
323
|
inputs: [
|
|
264
324
|
{
|
|
265
325
|
internalType: "address",
|
|
266
|
-
name: "
|
|
326
|
+
name: "PT",
|
|
267
327
|
type: "address",
|
|
268
328
|
},
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
inputs: [],
|
|
277
|
-
name: "owner",
|
|
278
|
-
outputs: [
|
|
329
|
+
{
|
|
330
|
+
internalType: "uint256",
|
|
331
|
+
name: "exactPtIn",
|
|
332
|
+
type: "uint256",
|
|
333
|
+
},
|
|
279
334
|
{
|
|
280
335
|
internalType: "address",
|
|
281
|
-
name: "",
|
|
336
|
+
name: "token",
|
|
282
337
|
type: "address",
|
|
283
338
|
},
|
|
284
339
|
],
|
|
340
|
+
name: "previewSwapExactPtForToken",
|
|
341
|
+
outputs: [
|
|
342
|
+
{
|
|
343
|
+
internalType: "uint256",
|
|
344
|
+
name: "amountTokenOut",
|
|
345
|
+
type: "uint256",
|
|
346
|
+
},
|
|
347
|
+
],
|
|
285
348
|
stateMutability: "view",
|
|
286
349
|
type: "function",
|
|
287
350
|
},
|
|
288
351
|
{
|
|
289
|
-
inputs: [
|
|
290
|
-
name: "pendingOwner",
|
|
291
|
-
outputs: [
|
|
352
|
+
inputs: [
|
|
292
353
|
{
|
|
293
354
|
internalType: "address",
|
|
294
|
-
name: "",
|
|
355
|
+
name: "PT",
|
|
356
|
+
type: "address",
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
internalType: "address",
|
|
360
|
+
name: "token",
|
|
295
361
|
type: "address",
|
|
296
362
|
},
|
|
363
|
+
{
|
|
364
|
+
internalType: "uint256",
|
|
365
|
+
name: "exactTokenOut",
|
|
366
|
+
type: "uint256",
|
|
367
|
+
},
|
|
368
|
+
],
|
|
369
|
+
name: "previewSwapPtForExactToken",
|
|
370
|
+
outputs: [
|
|
371
|
+
{
|
|
372
|
+
internalType: "uint256",
|
|
373
|
+
name: "amountPtIn",
|
|
374
|
+
type: "uint256",
|
|
375
|
+
},
|
|
297
376
|
],
|
|
298
377
|
stateMutability: "view",
|
|
299
378
|
type: "function",
|
|
@@ -315,9 +394,27 @@ const _abi = [
|
|
|
315
394
|
outputs: [
|
|
316
395
|
{
|
|
317
396
|
internalType: "contract IPChainlinkOracleEssential",
|
|
318
|
-
name: "",
|
|
397
|
+
name: "oracle",
|
|
319
398
|
type: "address",
|
|
320
399
|
},
|
|
400
|
+
{
|
|
401
|
+
internalType: "uint256",
|
|
402
|
+
name: "multiplier",
|
|
403
|
+
type: "uint256",
|
|
404
|
+
},
|
|
405
|
+
],
|
|
406
|
+
stateMutability: "view",
|
|
407
|
+
type: "function",
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
inputs: [],
|
|
411
|
+
name: "proxiableUUID",
|
|
412
|
+
outputs: [
|
|
413
|
+
{
|
|
414
|
+
internalType: "bytes32",
|
|
415
|
+
name: "",
|
|
416
|
+
type: "bytes32",
|
|
417
|
+
},
|
|
321
418
|
],
|
|
322
419
|
stateMutability: "view",
|
|
323
420
|
type: "function",
|
|
@@ -357,6 +454,11 @@ const _abi = [
|
|
|
357
454
|
name: "_priceOracle",
|
|
358
455
|
type: "address",
|
|
359
456
|
},
|
|
457
|
+
{
|
|
458
|
+
internalType: "uint256",
|
|
459
|
+
name: "_multiplier",
|
|
460
|
+
type: "uint256",
|
|
461
|
+
},
|
|
360
462
|
],
|
|
361
463
|
name: "setPriceOracle",
|
|
362
464
|
outputs: [],
|
|
@@ -399,7 +501,7 @@ const _abi = [
|
|
|
399
501
|
type: "uint256",
|
|
400
502
|
},
|
|
401
503
|
],
|
|
402
|
-
stateMutability: "
|
|
504
|
+
stateMutability: "nonpayable",
|
|
403
505
|
type: "function",
|
|
404
506
|
},
|
|
405
507
|
{
|
|
@@ -438,7 +540,7 @@ const _abi = [
|
|
|
438
540
|
type: "uint256",
|
|
439
541
|
},
|
|
440
542
|
],
|
|
441
|
-
stateMutability: "
|
|
543
|
+
stateMutability: "nonpayable",
|
|
442
544
|
type: "function",
|
|
443
545
|
},
|
|
444
546
|
{
|
|
@@ -464,10 +566,41 @@ const _abi = [
|
|
|
464
566
|
stateMutability: "nonpayable",
|
|
465
567
|
type: "function",
|
|
466
568
|
},
|
|
569
|
+
{
|
|
570
|
+
inputs: [
|
|
571
|
+
{
|
|
572
|
+
internalType: "address",
|
|
573
|
+
name: "newImplementation",
|
|
574
|
+
type: "address",
|
|
575
|
+
},
|
|
576
|
+
],
|
|
577
|
+
name: "upgradeTo",
|
|
578
|
+
outputs: [],
|
|
579
|
+
stateMutability: "nonpayable",
|
|
580
|
+
type: "function",
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
inputs: [
|
|
584
|
+
{
|
|
585
|
+
internalType: "address",
|
|
586
|
+
name: "newImplementation",
|
|
587
|
+
type: "address",
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
internalType: "bytes",
|
|
591
|
+
name: "data",
|
|
592
|
+
type: "bytes",
|
|
593
|
+
},
|
|
594
|
+
],
|
|
595
|
+
name: "upgradeToAndCall",
|
|
596
|
+
outputs: [],
|
|
597
|
+
stateMutability: "payable",
|
|
598
|
+
type: "function",
|
|
599
|
+
},
|
|
467
600
|
];
|
|
468
601
|
|
|
469
602
|
const _bytecode =
|
|
470
|
-
"0x608060405234801561001057600080fd5b5061001961001e565b6100ea565b600154600160a81b900460ff161561008c5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600154600160a01b900460ff908116146100e8576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6115d3806100f96000396000f3fe6080604052600436106100975760003560e01c8063078dfbe71461009c5780630de0534d146100be578063477053fb146100de5780634e71e0c8146101045780637c11a02d146101195780638da5cb5b146101395780639d9ed3cc14610166578063c4d66de814610186578063d3118e64146101a6578063d512c061146101c6578063df0fe2eb146101d9578063e30c3978146101ec575b600080fd5b3480156100a857600080fd5b506100bc6100b7366004611133565b61020c565b005b3480156100ca57600080fd5b506100bc6100d936600461117c565b610311565b6100f16100ec366004611207565b6103b0565b6040519081526020015b60405180910390f35b34801561011057600080fd5b506100bc6103f3565b34801561012557600080fd5b506100f1610134366004611285565b61049e565b34801561014557600080fd5b50600054610159906001600160a01b031681565b6040516100fb91906112b8565b34801561017257600080fd5b506100bc6101813660046112cc565b610525565b34801561019257600080fd5b506100bc6101a13660046112f6565b6105ed565b3480156101b257600080fd5b506101596101c1366004611285565b61071e565b6100bc6101d43660046112cc565b61078b565b6100f16101e7366004611311565b61084b565b3480156101f857600080fd5b50600154610159906001600160a01b031681565b6000546001600160a01b0316331461023f5760405162461bcd60e51b815260040161023690611371565b60405180910390fd5b81156102f0576001600160a01b0383161515806102595750805b61029d5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610236565b600080546040516001600160a01b038087169392169160008051602061157e83398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6000546001600160a01b0316331461033b5760405162461bcd60e51b815260040161023690611371565b8061034461087a565b6001600160a01b03858116600081815260209384526040808220888516808452955280822080546001600160a01b0319169685169690961790955593519185169390917ff51f0fffc8121ee3747e0536c487d894894cdba960ccfb4ab385a88d51b16fed9190a4505050565b60006103ba61089e565b6103ce6103c7878761049e565b85906108f7565b90506103df87878388888888610926565b6103e96001603255565b9695505050505050565b6001546001600160a01b031633811461044e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610236565b600080546040516001600160a01b038085169392169160008051602061157e83398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6000806104ab848461071e565b6001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa1580156104e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050c91906113bd565b50505091505061051b81610b7e565b9150505b92915050565b6000546001600160a01b0316331461054f5760405162461bcd60e51b815260040161023690611371565b6000546105679083906001600160a01b031683610b91565b8061057061087a565b6001016000846001600160a01b03166001600160a01b0316815260200190815260200160002060008282546105a59190611423565b90915550506040518181526001600160a01b038316907fea503f39efcfc64114ad09951fa9d4f7481b8d8d92b4fbccd006377b095f866d906020015b60405180910390a25050565b600154600160a81b900460ff1615808015610613575060018054600160a01b900460ff16105b8061063a575061062230610c5b565b15801561063a575060018054600160a01b900460ff16145b61069d5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610236565b6001805460ff60a01b1916600160a01b17905580156106ca576001805460ff60a81b1916600160a81b1790555b6106d382610c6a565b801561071a576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b60008061072961087a565b6001600160a01b038086166000908152602092835260408082208784168352909352919091205416905080610784576040516344d0379d60e01b81526001600160a01b03808616600483015284166024820152604401610236565b9392505050565b6000546001600160a01b031633146107b55760405162461bcd60e51b815260040161023690611371565b6000546107cd9083906001600160a01b031683610cf9565b806107d661087a565b6001016000846001600160a01b03166001600160a01b03168152602001908152602001600020600082825461080b9190611436565b90915550506040518181526001600160a01b038316907f6189b14a5c1490dbeb86a9da875768d98dc98fb398d6b29dd475defaa1ec4ba3906020016105e1565b600061085561089e565b610869610862878661049e565b8690610d60565b90506103df87878787858888610926565b7fbbf04d9aae855c6bd76c8f4ba7a918994ad0d002f537323e58c83cbfe524900090565b6002603254036108f05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610236565b6002603255565b60008061090c670de0b6b3a764000085611449565b905082818161091d5761091d611460565b04949350505050565b8261092f61087a565b6001600160a01b03861660009081526001919091016020526040902054101561099f578361095b61087a565b6001016000866001600160a01b03166001600160a01b0316815260200190815260200160002054846040516306aa683960e31b815260040161023693929190611476565b6109aa848885610b91565b826109b361087a565b6001016000866001600160a01b03166001600160a01b0316815260200190815260200160002060008282546109e89190611423565b90915550508015610a4f5760405163491dc51560e11b8152339063923b8a2a90610a1c908690899087908790600401611497565b600060405180830381600087803b158015610a3657600080fd5b505af1158015610a4a573d6000803e3d6000fd5b505050505b84610a5861087a565b6001016000886001600160a01b03166001600160a01b031681526020019081526020016000206000828254610a8d9190611436565b90915550610a9b905061087a565b6001600160a01b03871660009081526001919091016020526040902054610ac187610d7e565b1015610b1c5785610ad187610d7e565b610ad961087a565b6001016000896001600160a01b03166001600160a01b031681526020019081526020016000205460405163bb7de36360e01b815260040161023693929190611476565b604080516001600160a01b03888116825260208201889052868116828401526060820186905291519189169133917f6ac6c02c73a1841cb185dff1fe5282ff4499ce709efd387f7fc6de10a5124320919081900360800190a350505050505050565b600080821215610b8d57600080fd5b5090565b80600003610b9e57505050565b6001600160a01b038316610c47576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610bf9576040519150601f19603f3d011682016040523d82523d6000602084013e610bfe565b606091505b5050905080610c415760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610236565b50505050565b61030c6001600160a01b0384168383610e08565b6001600160a01b03163b151590565b600154600160a81b900460ff16610cd75760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610236565b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610d455780341461030c5760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b6044820152606401610236565b801561030c5761030c6001600160a01b038416833084610e6b565b600080610d6d8385611449565b9050670de0b6b3a76400008161091d565b60006001600160a01b03821615610e01576040516370a0823160e01b81526001600160a01b038316906370a0823190610dbb9030906004016112b8565b602060405180830381865afa158015610dd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dfc91906114d4565b61051f565b4792915050565b6040516001600160a01b03831660248201526044810182905261030c90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610ea3565b6040516001600160a01b0380851660248301528316604482015260648101829052610c419085906323b872dd60e01b90608401610e34565b6000610ef8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610f789092919063ffffffff16565b9050805160001480610f19575080806020019051810190610f1991906114ed565b61030c5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610236565b6060610f878484600085610f8f565b949350505050565b606082471015610ff05760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610236565b600080866001600160a01b0316858760405161100c919061152e565b60006040518083038185875af1925050503d8060008114611049576040519150601f19603f3d011682016040523d82523d6000602084013e61104e565b606091505b509150915061105f8783838761106a565b979650505050505050565b606083156110d75782516000036110d05761108485610c5b565b6110d05760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610236565b5081610f87565b610f8783838151156110ec5781518083602001fd5b8060405162461bcd60e51b8152600401610236919061154a565b80356001600160a01b038116811461111d57600080fd5b919050565b801515811461113057600080fd5b50565b60008060006060848603121561114857600080fd5b61115184611106565b9250602084013561116181611122565b9150604084013561117181611122565b809150509250925092565b60008060006060848603121561119157600080fd5b61119a84611106565b92506111a860208501611106565b91506111b660408501611106565b90509250925092565b60008083601f8401126111d157600080fd5b5081356001600160401b038111156111e857600080fd5b60208301915083602082850101111561120057600080fd5b9250929050565b60008060008060008060a0878903121561122057600080fd5b61122987611106565b955061123760208801611106565b945061124560408801611106565b93506060870135925060808701356001600160401b0381111561126757600080fd5b61127389828a016111bf565b979a9699509497509295939492505050565b6000806040838503121561129857600080fd5b6112a183611106565b91506112af60208401611106565b90509250929050565b6001600160a01b0391909116815260200190565b600080604083850312156112df57600080fd5b6112e883611106565b946020939093013593505050565b60006020828403121561130857600080fd5b61078482611106565b60008060008060008060a0878903121561132a57600080fd5b61133387611106565b955061134160208801611106565b94506040870135935061135660608801611106565b925060808701356001600160401b0381111561126757600080fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b80516001600160501b038116811461111d57600080fd5b600080600080600060a086880312156113d557600080fd5b6113de866113a6565b9450602086015193506040860151925060608601519150611401608087016113a6565b90509295509295909350565b634e487b7160e01b600052601160045260246000fd5b8181038181111561051f5761051f61140d565b8082018082111561051f5761051f61140d565b808202811582820484141761051f5761051f61140d565b634e487b7160e01b600052601260045260246000fd5b6001600160a01b039390931683526020830191909152604082015260600190565b84815283602082015260606040820152816060820152818360808301376000818301608090810191909152601f909201601f191601019392505050565b6000602082840312156114e657600080fd5b5051919050565b6000602082840312156114ff57600080fd5b815161078481611122565b60005b8381101561152557818101518382015260200161150d565b50506000910152565b6000825161154081846020870161150a565b9190910192915050565b602081526000825180602084015261156981604085016020870161150a565b601f01601f1916919091016040019291505056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a2646970667358221220b623a473bf98853b37898663f28bc4aa6abc49f39160c6ed6ea9999943eb576b64736f6c63430008170033";
|
|
603
|
+
"0x60a060405230608052348015610013575f5ffd5b5061001c610021565b6100ed565b600154600160a81b900460ff161561008f5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600154600160a01b900460ff908116146100eb576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b608051611f016101215f395f818161053301528181610573015281816106db0152818161071b01526107960152611f015ff3fe6080604052600436106100c2575f3560e01c8063078dfbe7146100c65780631927e673146100e757806332cd935a146101195780633659cfe614610138578063477053fb146101575780634e71e0c8146101765780634f1ef2861461018a57806352d1902d1461019d5780638da5cb5b146101b15780639d9ed3cc146101dc578063c4d66de8146101fb578063d3118e641461021a578063d512c06114610247578063d7f70c8f1461025a578063df0fe2eb14610279578063e30c397814610298575b5f5ffd5b3480156100d1575f5ffd5b506100e56100e03660046117f3565b6102b7565b005b3480156100f2575f5ffd5b50610106610101366004611839565b6103b8565b6040519081526020015b60405180910390f35b348015610124575f5ffd5b50610106610133366004611873565b610475565b348015610143575f5ffd5b506100e56101523660046118ac565b610529565b348015610162575f5ffd5b50610106610171366004611902565b6105f0565b348015610181575f5ffd5b506100e5610629565b6100e561019836600461198f565b6106d1565b3480156101a8575f5ffd5b5061010661078a565b3480156101bc575f5ffd5b505f546101cf906001600160a01b031681565b6040516101109190611a50565b3480156101e7575f5ffd5b506100e56101f6366004611a64565b610836565b348015610206575f5ffd5b506100e56102153660046118ac565b6108f9565b348015610225575f5ffd5b50610239610234366004611a8c565b610a31565b604051610110929190611abd565b6100e5610255366004611a64565b610ad0565b348015610265575f5ffd5b506100e5610274366004611ad6565b610b8b565b348015610284575f5ffd5b50610106610293366004611b1e565b610c53565b3480156102a3575f5ffd5b506001546101cf906001600160a01b031681565b5f546001600160a01b031633146102e95760405162461bcd60e51b81526004016102e090611b79565b60405180910390fd5b8115610397576001600160a01b0383161515806103035750805b6103475760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b60448201526064016102e0565b5f80546040516001600160a01b03808716939216915f516020611e855f395f51905f5291a35f80546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b5f5f5f6103c58686610a31565b915091505f826001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015610406573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061042a9190611bc4565b50505091505061046a8261043d83610c78565b6104479190611c26565b670de0b6b3a764000061045a8189611c26565b6104649190611c26565b90610c89565b979650505050505050565b5f5f5f6104828685610a31565b915091505f826001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa1580156104c3573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104e79190611bc4565b505050915050670de0b6b3a7640000806105019190611c26565b8261050b83610c78565b6105159089611c26565b61051f9190611c26565b61046a9190611c3d565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036105715760405162461bcd60e51b81526004016102e090611c5c565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166105a3610cb4565b6001600160a01b0316146105c95760405162461bcd60e51b81526004016102e090611c95565b6105d281610ccf565b604080515f808252602082019092526105ed91839190610cf8565b50565b5f6105f9610e62565b6106048686866103b8565b905061061587878388888888610ebb565b61061f6001603255565b9695505050505050565b6001546001600160a01b03163381146106845760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e657260448201526064016102e0565b5f80546040516001600160a01b03808516939216915f516020611e855f395f51905f5291a35f80546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036107195760405162461bcd60e51b81526004016102e090611c5c565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661074b610cb4565b6001600160a01b0316146107715760405162461bcd60e51b81526004016102e090611c95565b61077a82610ccf565b61078682826001610cf8565b5050565b5f306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146108245760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b60648201526084016102e0565b505f516020611e655f395f51905f5290565b5f546001600160a01b0316331461085f5760405162461bcd60e51b81526004016102e090611b79565b5f546108769083906001600160a01b031683611102565b8061087f6111c7565b6001015f846001600160a01b03166001600160a01b031681526020019081526020015f205f8282546108b19190611cce565b90915550506040518181526001600160a01b038316907fea503f39efcfc64114ad09951fa9d4f7481b8d8d92b4fbccd006377b095f866d906020015b60405180910390a25050565b600154600160a81b900460ff161580801561091f575060018054600160a01b900460ff16105b80610946575061092e306111eb565b158015610946575060018054600160a01b900460ff16145b6109a95760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016102e0565b6001805460ff60a01b1916600160a01b17905580156109d6576001805460ff60a81b1916600160a81b1790555b6109df826111fa565b6109e7611244565b8015610786576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b5f5f610a3b6111c7565b6001600160a01b038086165f9081526020928352604080822087841683529093529190912054169150610a6c6111c7565b6001600160a01b038086165f908152602092835260408082208784168352909352919091206001015491508216610ac9576040516344d0379d60e01b81526001600160a01b038086166004830152841660248201526044016102e0565b9250929050565b5f546001600160a01b03163314610af95760405162461bcd60e51b81526004016102e090611b79565b5f54610b109083906001600160a01b03168361126f565b80610b196111c7565b6001015f846001600160a01b03166001600160a01b031681526020019081526020015f205f828254610b4b9190611ce1565b90915550506040518181526001600160a01b038316907f6189b14a5c1490dbeb86a9da875768d98dc98fb398d6b29dd475defaa1ec4ba3906020016108ed565b5f546001600160a01b03163314610bb45760405162461bcd60e51b81526004016102e090611b79565b6040518060400160405280836001600160a01b0316815260200182815250610bda6111c7565b6001600160a01b038681165f81815260209384526040808220898516808452908652818320875181546001600160a01b031916908716178155969095015160019096019590955593519186169390917ff51f0fffc8121ee3747e0536c487d894894cdba960ccfb4ab385a88d51b16fed9190a450505050565b5f610c5c610e62565b610c67868686610475565b905061061587878787858888610ebb565b5f5f821215610c85575f5ffd5b5090565b5f816001610c978286611ce1565b610ca19190611cce565b610cab9190611c3d565b90505b92915050565b5f516020611e655f395f51905f52546001600160a01b031690565b5f546001600160a01b031633146105ed5760405162461bcd60e51b81526004016102e090611b79565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610d2b576103b3836112d6565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610d85575060408051601f3d908101601f19168201909252610d8291810190611cf4565b60015b610de85760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016102e0565b5f516020611e655f395f51905f528114610e565760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016102e0565b506103b383838361136f565b600260325403610eb45760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102e0565b6002603255565b82610ec46111c7565b6001600160a01b0386165f90815260019190910160205260409020541015610f315783610eef6111c7565b6001015f866001600160a01b03166001600160a01b031681526020019081526020015f2054846040516306aa683960e31b81526004016102e093929190611d0b565b610f3c848885611102565b82610f456111c7565b6001015f866001600160a01b03166001600160a01b031681526020019081526020015f205f828254610f779190611cce565b90915550508015610fd95760405163491dc51560e11b8152339063923b8a2a90610fab908690899087908790600401611d2c565b5f604051808303815f87803b158015610fc2575f5ffd5b505af1158015610fd4573d5f5f3e3d5ffd5b505050505b84610fe26111c7565b6001015f886001600160a01b03166001600160a01b031681526020019081526020015f205f8282546110149190611ce1565b9091555061102290506111c7565b6001600160a01b0387165f908152600191909101602052604090205461104787611393565b10156110a0578561105787611393565b61105f6111c7565b6001015f896001600160a01b03166001600160a01b031681526020019081526020015f205460405163bb7de36360e01b81526004016102e093929190611d0b565b604080516001600160a01b03888116825260208201889052868116828401526060820186905291519189169133917f6ac6c02c73a1841cb185dff1fe5282ff4499ce709efd387f7fc6de10a5124320919081900360800190a350505050505050565b805f0361110e57505050565b6001600160a01b0383166111b3575f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114611165576040519150601f19603f3d011682016040523d82523d5f602084013e61116a565b606091505b50509050806111ad5760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b60448201526064016102e0565b50505050565b6103b36001600160a01b038416838361141a565b7fbbf04d9aae855c6bd76c8f4ba7a918994ad0d002f537323e58c83cbfe524900090565b6001600160a01b03163b151590565b600154600160a81b900460ff166112235760405162461bcd60e51b81526004016102e090611d68565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b600154600160a81b900460ff1661126d5760405162461bcd60e51b81526004016102e090611d68565b565b6001600160a01b0383166112bb578034146103b35760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064016102e0565b80156103b3576103b36001600160a01b038416833084611470565b6112df816111eb565b6113415760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016102e0565b5f516020611e655f395f51905f5280546001600160a01b0319166001600160a01b0392909216919091179055565b611378836114a8565b5f825111806113845750805b156103b3576111ad83836114e7565b5f6001600160a01b03821615611413576040516370a0823160e01b81526001600160a01b038316906370a08231906113cf903090600401611a50565b602060405180830381865afa1580156113ea573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061140e9190611cf4565b610cae565b4792915050565b6103b38363a9059cbb60e01b8484604051602401611439929190611abd565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261150c565b6040516001600160a01b03808516602483015283166044820152606481018290526111ad9085906323b872dd60e01b90608401611439565b6114b1816112d6565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a250565b6060610cab8383604051806060016040528060278152602001611ea5602791396115df565b5f611560826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166116499092919063ffffffff16565b905080515f14806115805750808060200190518101906115809190611db3565b6103b35760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102e0565b60605f5f856001600160a01b0316856040516115fb9190611df7565b5f60405180830381855af49150503d805f8114611633576040519150601f19603f3d011682016040523d82523d5f602084013e611638565b606091505b509150915061061f8683838761165f565b606061165784845f856116d5565b949350505050565b606083156116cb5782515f036116c457611678856111eb565b6116c45760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102e0565b5081611657565b61165783836117a1565b6060824710156117365760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102e0565b5f5f866001600160a01b031685876040516117519190611df7565b5f6040518083038185875af1925050503d805f811461178b576040519150601f19603f3d011682016040523d82523d5f602084013e611790565b606091505b509150915061046a8783838761165f565b8151156117b15781518083602001fd5b8060405162461bcd60e51b81526004016102e09190611e12565b80356001600160a01b03811681146117e1575f5ffd5b919050565b80151581146105ed575f5ffd5b5f5f5f60608486031215611805575f5ffd5b61180e846117cb565b9250602084013561181e816117e6565b9150604084013561182e816117e6565b809150509250925092565b5f5f5f6060848603121561184b575f5ffd5b611854846117cb565b9250611862602085016117cb565b929592945050506040919091013590565b5f5f5f60608486031215611885575f5ffd5b61188e846117cb565b9250602084013591506118a3604085016117cb565b90509250925092565b5f602082840312156118bc575f5ffd5b610cab826117cb565b5f5f83601f8401126118d5575f5ffd5b5081356001600160401b038111156118eb575f5ffd5b602083019150836020828501011115610ac9575f5ffd5b5f5f5f5f5f5f60a08789031215611917575f5ffd5b611920876117cb565b955061192e602088016117cb565b945061193c604088016117cb565b93506060870135925060808701356001600160401b0381111561195d575f5ffd5b61196989828a016118c5565b979a9699509497509295939492505050565b634e487b7160e01b5f52604160045260245ffd5b5f5f604083850312156119a0575f5ffd5b6119a9836117cb565b915060208301356001600160401b038111156119c3575f5ffd5b8301601f810185136119d3575f5ffd5b80356001600160401b038111156119ec576119ec61197b565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611a1a57611a1a61197b565b604052818152828201602001871015611a31575f5ffd5b816020840160208301375f602083830101528093505050509250929050565b6001600160a01b0391909116815260200190565b5f5f60408385031215611a75575f5ffd5b611a7e836117cb565b946020939093013593505050565b5f5f60408385031215611a9d575f5ffd5b611aa6836117cb565b9150611ab4602084016117cb565b90509250929050565b6001600160a01b03929092168252602082015260400190565b5f5f5f5f60808587031215611ae9575f5ffd5b611af2856117cb565b9350611b00602086016117cb565b9250611b0e604086016117cb565b9396929550929360600135925050565b5f5f5f5f5f5f60a08789031215611b33575f5ffd5b611b3c876117cb565b9550611b4a602088016117cb565b945060408701359350611b5f606088016117cb565b925060808701356001600160401b0381111561195d575f5ffd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b80516001600160501b03811681146117e1575f5ffd5b5f5f5f5f5f60a08688031215611bd8575f5ffd5b611be186611bae565b60208701516040880151606089015192975090955093509150611c0660808701611bae565b90509295509295909350565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610cae57610cae611c12565b5f82611c5757634e487b7160e01b5f52601260045260245ffd5b500490565b6020808252602c908201525f516020611e455f395f51905f5260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201525f516020611e455f395f51905f5260408201526b6163746976652070726f787960a01b606082015260800190565b81810381811115610cae57610cae611c12565b80820180821115610cae57610cae611c12565b5f60208284031215611d04575f5ffd5b5051919050565b6001600160a01b039390931683526020830191909152604082015260600190565b84815283602082015260606040820152816060820152818360808301375f818301608090810191909152601f909201601f191601019392505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b5f60208284031215611dc3575f5ffd5b8151611dce816117e6565b9392505050565b5f5b83811015611def578181015183820152602001611dd7565b50505f910152565b5f8251611e08818460208701611dd5565b9190910192915050565b602081525f8251806020840152611e30816040850160208701611dd5565b601f01601f1916919091016040019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122034211581d7facba49592bf2e15ef59d57f85c84934e9fa078863e213f5c81a4f64736f6c634300081e0033";
|
|
471
604
|
|
|
472
605
|
type FixedPricePTAMMConstructorParams =
|
|
473
606
|
| [signer?: Signer]
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
IBeaconUpgradeable,
|
|
9
|
+
IBeaconUpgradeableInterface,
|
|
10
|
+
} from "../IBeaconUpgradeable";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
inputs: [],
|
|
15
|
+
name: "implementation",
|
|
16
|
+
outputs: [
|
|
17
|
+
{
|
|
18
|
+
internalType: "address",
|
|
19
|
+
name: "",
|
|
20
|
+
type: "address",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
stateMutability: "view",
|
|
24
|
+
type: "function",
|
|
25
|
+
},
|
|
26
|
+
];
|
|
27
|
+
|
|
28
|
+
export class IBeaconUpgradeable__factory {
|
|
29
|
+
static readonly abi = _abi;
|
|
30
|
+
static createInterface(): IBeaconUpgradeableInterface {
|
|
31
|
+
return new utils.Interface(_abi) as IBeaconUpgradeableInterface;
|
|
32
|
+
}
|
|
33
|
+
static connect(
|
|
34
|
+
address: string,
|
|
35
|
+
signerOrProvider: Signer | Provider
|
|
36
|
+
): IBeaconUpgradeable {
|
|
37
|
+
return new Contract(address, _abi, signerOrProvider) as IBeaconUpgradeable;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
IERC1822ProxiableUpgradeable,
|
|
9
|
+
IERC1822ProxiableUpgradeableInterface,
|
|
10
|
+
} from "../IERC1822ProxiableUpgradeable";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
inputs: [],
|
|
15
|
+
name: "proxiableUUID",
|
|
16
|
+
outputs: [
|
|
17
|
+
{
|
|
18
|
+
internalType: "bytes32",
|
|
19
|
+
name: "",
|
|
20
|
+
type: "bytes32",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
stateMutability: "view",
|
|
24
|
+
type: "function",
|
|
25
|
+
},
|
|
26
|
+
];
|
|
27
|
+
|
|
28
|
+
export class IERC1822ProxiableUpgradeable__factory {
|
|
29
|
+
static readonly abi = _abi;
|
|
30
|
+
static createInterface(): IERC1822ProxiableUpgradeableInterface {
|
|
31
|
+
return new utils.Interface(_abi) as IERC1822ProxiableUpgradeableInterface;
|
|
32
|
+
}
|
|
33
|
+
static connect(
|
|
34
|
+
address: string,
|
|
35
|
+
signerOrProvider: Signer | Provider
|
|
36
|
+
): IERC1822ProxiableUpgradeable {
|
|
37
|
+
return new Contract(
|
|
38
|
+
address,
|
|
39
|
+
_abi,
|
|
40
|
+
signerOrProvider
|
|
41
|
+
) as IERC1822ProxiableUpgradeable;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
IERC1967Upgradeable,
|
|
9
|
+
IERC1967UpgradeableInterface,
|
|
10
|
+
} from "../IERC1967Upgradeable";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
anonymous: false,
|
|
15
|
+
inputs: [
|
|
16
|
+
{
|
|
17
|
+
indexed: false,
|
|
18
|
+
internalType: "address",
|
|
19
|
+
name: "previousAdmin",
|
|
20
|
+
type: "address",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
indexed: false,
|
|
24
|
+
internalType: "address",
|
|
25
|
+
name: "newAdmin",
|
|
26
|
+
type: "address",
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
name: "AdminChanged",
|
|
30
|
+
type: "event",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
anonymous: false,
|
|
34
|
+
inputs: [
|
|
35
|
+
{
|
|
36
|
+
indexed: true,
|
|
37
|
+
internalType: "address",
|
|
38
|
+
name: "beacon",
|
|
39
|
+
type: "address",
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
name: "BeaconUpgraded",
|
|
43
|
+
type: "event",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
anonymous: false,
|
|
47
|
+
inputs: [
|
|
48
|
+
{
|
|
49
|
+
indexed: true,
|
|
50
|
+
internalType: "address",
|
|
51
|
+
name: "implementation",
|
|
52
|
+
type: "address",
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
name: "Upgraded",
|
|
56
|
+
type: "event",
|
|
57
|
+
},
|
|
58
|
+
];
|
|
59
|
+
|
|
60
|
+
export class IERC1967Upgradeable__factory {
|
|
61
|
+
static readonly abi = _abi;
|
|
62
|
+
static createInterface(): IERC1967UpgradeableInterface {
|
|
63
|
+
return new utils.Interface(_abi) as IERC1967UpgradeableInterface;
|
|
64
|
+
}
|
|
65
|
+
static connect(
|
|
66
|
+
address: string,
|
|
67
|
+
signerOrProvider: Signer | Provider
|
|
68
|
+
): IERC1967Upgradeable {
|
|
69
|
+
return new Contract(address, _abi, signerOrProvider) as IERC1967Upgradeable;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type { ILPWrapper, ILPWrapperInterface } from "../ILPWrapper";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
inputs: [],
|
|
12
|
+
name: "LP",
|
|
13
|
+
outputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "address",
|
|
16
|
+
name: "",
|
|
17
|
+
type: "address",
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
stateMutability: "view",
|
|
21
|
+
type: "function",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
inputs: [],
|
|
25
|
+
name: "factory",
|
|
26
|
+
outputs: [
|
|
27
|
+
{
|
|
28
|
+
internalType: "address",
|
|
29
|
+
name: "",
|
|
30
|
+
type: "address",
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
stateMutability: "view",
|
|
34
|
+
type: "function",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
inputs: [],
|
|
38
|
+
name: "isRewardRedemptionDisabled",
|
|
39
|
+
outputs: [
|
|
40
|
+
{
|
|
41
|
+
internalType: "bool",
|
|
42
|
+
name: "",
|
|
43
|
+
type: "bool",
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
stateMutability: "view",
|
|
47
|
+
type: "function",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
inputs: [
|
|
51
|
+
{
|
|
52
|
+
internalType: "bool",
|
|
53
|
+
name: "_isRewardRedemptionDisabled",
|
|
54
|
+
type: "bool",
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
name: "setRewardRedemptionDisabled",
|
|
58
|
+
outputs: [],
|
|
59
|
+
stateMutability: "nonpayable",
|
|
60
|
+
type: "function",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
inputs: [
|
|
64
|
+
{
|
|
65
|
+
internalType: "address",
|
|
66
|
+
name: "receiver",
|
|
67
|
+
type: "address",
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
internalType: "uint256",
|
|
71
|
+
name: "netWrapIn",
|
|
72
|
+
type: "uint256",
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
name: "unwrap",
|
|
76
|
+
outputs: [],
|
|
77
|
+
stateMutability: "nonpayable",
|
|
78
|
+
type: "function",
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
inputs: [
|
|
82
|
+
{
|
|
83
|
+
internalType: "address",
|
|
84
|
+
name: "receiver",
|
|
85
|
+
type: "address",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
internalType: "uint256",
|
|
89
|
+
name: "netLpIn",
|
|
90
|
+
type: "uint256",
|
|
91
|
+
},
|
|
92
|
+
],
|
|
93
|
+
name: "wrap",
|
|
94
|
+
outputs: [],
|
|
95
|
+
stateMutability: "nonpayable",
|
|
96
|
+
type: "function",
|
|
97
|
+
},
|
|
98
|
+
];
|
|
99
|
+
|
|
100
|
+
export class ILPWrapper__factory {
|
|
101
|
+
static readonly abi = _abi;
|
|
102
|
+
static createInterface(): ILPWrapperInterface {
|
|
103
|
+
return new utils.Interface(_abi) as ILPWrapperInterface;
|
|
104
|
+
}
|
|
105
|
+
static connect(
|
|
106
|
+
address: string,
|
|
107
|
+
signerOrProvider: Signer | Provider
|
|
108
|
+
): ILPWrapper {
|
|
109
|
+
return new Contract(address, _abi, signerOrProvider) as ILPWrapper;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
@@ -141,17 +141,51 @@ const _abi = [
|
|
|
141
141
|
name: "PT",
|
|
142
142
|
type: "address",
|
|
143
143
|
},
|
|
144
|
+
{
|
|
145
|
+
internalType: "uint256",
|
|
146
|
+
name: "exactPtIn",
|
|
147
|
+
type: "uint256",
|
|
148
|
+
},
|
|
144
149
|
{
|
|
145
150
|
internalType: "address",
|
|
146
151
|
name: "token",
|
|
147
152
|
type: "address",
|
|
148
153
|
},
|
|
149
154
|
],
|
|
150
|
-
name: "
|
|
155
|
+
name: "previewSwapExactPtForToken",
|
|
151
156
|
outputs: [
|
|
152
157
|
{
|
|
153
158
|
internalType: "uint256",
|
|
154
|
-
name: "",
|
|
159
|
+
name: "amountTokenOut",
|
|
160
|
+
type: "uint256",
|
|
161
|
+
},
|
|
162
|
+
],
|
|
163
|
+
stateMutability: "view",
|
|
164
|
+
type: "function",
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
inputs: [
|
|
168
|
+
{
|
|
169
|
+
internalType: "address",
|
|
170
|
+
name: "PT",
|
|
171
|
+
type: "address",
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
internalType: "address",
|
|
175
|
+
name: "token",
|
|
176
|
+
type: "address",
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
internalType: "uint256",
|
|
180
|
+
name: "exactTokenOut",
|
|
181
|
+
type: "uint256",
|
|
182
|
+
},
|
|
183
|
+
],
|
|
184
|
+
name: "previewSwapPtForExactToken",
|
|
185
|
+
outputs: [
|
|
186
|
+
{
|
|
187
|
+
internalType: "uint256",
|
|
188
|
+
name: "amountPtIn",
|
|
155
189
|
type: "uint256",
|
|
156
190
|
},
|
|
157
191
|
],
|
|
@@ -178,6 +212,11 @@ const _abi = [
|
|
|
178
212
|
name: "",
|
|
179
213
|
type: "address",
|
|
180
214
|
},
|
|
215
|
+
{
|
|
216
|
+
internalType: "uint256",
|
|
217
|
+
name: "multiplier",
|
|
218
|
+
type: "uint256",
|
|
219
|
+
},
|
|
181
220
|
],
|
|
182
221
|
stateMutability: "view",
|
|
183
222
|
type: "function",
|
|
@@ -217,6 +256,11 @@ const _abi = [
|
|
|
217
256
|
name: "priceOracle",
|
|
218
257
|
type: "address",
|
|
219
258
|
},
|
|
259
|
+
{
|
|
260
|
+
internalType: "uint256",
|
|
261
|
+
name: "multiplier",
|
|
262
|
+
type: "uint256",
|
|
263
|
+
},
|
|
220
264
|
],
|
|
221
265
|
name: "setPriceOracle",
|
|
222
266
|
outputs: [],
|
|
@@ -259,7 +303,7 @@ const _abi = [
|
|
|
259
303
|
type: "uint256",
|
|
260
304
|
},
|
|
261
305
|
],
|
|
262
|
-
stateMutability: "
|
|
306
|
+
stateMutability: "nonpayable",
|
|
263
307
|
type: "function",
|
|
264
308
|
},
|
|
265
309
|
{
|
|
@@ -298,7 +342,7 @@ const _abi = [
|
|
|
298
342
|
type: "uint256",
|
|
299
343
|
},
|
|
300
344
|
],
|
|
301
|
-
stateMutability: "
|
|
345
|
+
stateMutability: "nonpayable",
|
|
302
346
|
type: "function",
|
|
303
347
|
},
|
|
304
348
|
];
|