@pendle/core-v2 6.7.0 → 6.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/OFTPTSwapper.sol/OFTPTSwapper.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/OFTPTSwapper.sol/OFTPTSwapper.json +99 -0
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +1 -1
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBridgeFunder.sol/IPBridgeFunder.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/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/IPOFTPTSwapper.sol/IPOFTPTSwapper.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPSwapHelper.sol/IPSwapHelper.json → IPOFTPTSwapper.sol/IPOFTPTSwapper.json} +2 -2
- package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.dbg.json +1 -1
- package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
- package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- package/contracts/cross-chain/{PendleSwapHelper.sol → OFTPTSwapper.sol} +4 -3
- package/contracts/interfaces/{IPSwapHelper.sol → IPOFTPTSwapper.sol} +1 -1
- package/deployments/1-core.json +2 -1
- package/deployments/130-core.json +2 -1
- package/deployments/143-core.json +2 -1
- package/deployments/42161-core.json +2 -1
- package/deployments/4217-core.json +2 -1
- package/deployments/43114-core.json +2 -1
- package/deployments/56-core.json +2 -1
- package/deployments/57073-core.json +2 -1
- package/deployments/747474-core.json +2 -1
- package/deployments/8453-core.json +2 -1
- package/deployments/9745-core.json +2 -1
- package/deployments/999-core.json +2 -1
- package/package.json +1 -1
- package/typechain-types/IPOFTPTSwapper.ts +161 -0
- package/typechain-types/OFTPTSwapper.ts +161 -0
- package/typechain-types/UUPSUpgradeable.ts +9 -0
- package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
- package/typechain-types/factories/FixedPricePTAMM__factory.ts +1 -1
- package/typechain-types/factories/IPOFTPTSwapper__factory.ts +114 -0
- package/typechain-types/factories/OFTPTSwapper__factory.ts +149 -0
- package/typechain-types/factories/PendlePTOFTAdapterFactory__factory.ts +1 -1
- package/typechain-types/factories/UUPSUpgradeable__factory.ts +13 -0
- package/typechain-types/hardhat.d.ts +22 -22
- package/typechain-types/index.ts +6 -6
- package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.dbg.json +0 -4
- package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.json +0 -99
- package/build/artifacts/contracts/interfaces/IPSwapHelper.sol/IPSwapHelper.dbg.json +0 -4
- package/typechain-types/AaveMoneyMarket.ts +0 -763
- package/typechain-types/AaveMoneyMarketView.ts +0 -460
- package/typechain-types/BaseMoneyMarket.ts +0 -697
- package/typechain-types/BaseMoneyMarketView.ts +0 -362
- package/typechain-types/IAToken.ts +0 -358
- package/typechain-types/IAaveOracle.ts +0 -235
- package/typechain-types/IAaveRewardsController.ts +0 -1186
- package/typechain-types/IDefaultReserveInterestRateStrategyV3.ts +0 -431
- package/typechain-types/IDefaultReserveInterestRateStrategyV31.ts +0 -606
- package/typechain-types/IDssPsm.ts +0 -194
- package/typechain-types/IERC4626.ts +0 -864
- package/typechain-types/IFlashLoanReceiver.ts +0 -125
- package/typechain-types/IIrm.ts +0 -260
- package/typechain-types/IMoneyMarket.ts +0 -700
- package/typechain-types/IMoneyMarketEvents.ts +0 -196
- package/typechain-types/IMoneyMarketView.ts +0 -331
- package/typechain-types/IMorpho.ts +0 -1147
- package/typechain-types/IMorphoOracle.ts +0 -81
- package/typechain-types/IMulticall.ts +0 -117
- package/typechain-types/IPLoopPositionBox.ts +0 -298
- package/typechain-types/IPLoopPositionBoxFactory.ts +0 -434
- package/typechain-types/IPPTLooper.ts +0 -1550
- package/typechain-types/IPPTLooperView.ts +0 -468
- package/typechain-types/IPool.ts +0 -2220
- package/typechain-types/IPoolAddressesProvider.ts +0 -789
- package/typechain-types/IPoolDataProviderV3.ts +0 -865
- package/typechain-types/IPoolDataProviderV31.ts +0 -933
- package/typechain-types/IPot.ts +0 -181
- package/typechain-types/IPriceOracleGetter.ts +0 -133
- package/typechain-types/ISDAI.ts +0 -877
- package/typechain-types/LoopPositionBox.ts +0 -309
- package/typechain-types/LoopPositionBoxFactory.ts +0 -609
- package/typechain-types/MorphoBlueMoneyMarket.ts +0 -731
- package/typechain-types/MorphoBlueMoneyMarketView.ts +0 -396
- package/typechain-types/Multicall.ts +0 -117
- package/typechain-types/PTLooperBase.ts +0 -1759
- package/typechain-types/PTLooperView.ts +0 -618
- package/typechain-types/PendlePTLooper.ts +0 -1784
- package/typechain-types/PendlePTLooperView.ts +0 -648
- package/typechain-types/factories/AaveMoneyMarketView__factory.ts +0 -450
- package/typechain-types/factories/AaveMoneyMarket__factory.ts +0 -726
- package/typechain-types/factories/BaseMoneyMarketView__factory.ts +0 -279
- package/typechain-types/factories/BaseMoneyMarket__factory.ts +0 -599
- package/typechain-types/factories/IAToken__factory.ts +0 -258
- package/typechain-types/factories/IAaveOracle__factory.ts +0 -132
- package/typechain-types/factories/IAaveRewardsController__factory.ts +0 -743
- package/typechain-types/factories/IDefaultReserveInterestRateStrategyV31__factory.ts +0 -441
- package/typechain-types/factories/IDefaultReserveInterestRateStrategyV3__factory.ts +0 -278
- package/typechain-types/factories/IDssPsm__factory.ts +0 -122
- package/typechain-types/factories/IERC4626__factory.ts +0 -635
- package/typechain-types/factories/IFlashLoanReceiver__factory.ts +0 -65
- package/typechain-types/factories/IIrm__factory.ts +0 -243
- package/typechain-types/factories/IMoneyMarketEvents__factory.ts +0 -225
- package/typechain-types/factories/IMoneyMarketView__factory.ts +0 -253
- package/typechain-types/factories/IMoneyMarket__factory.ts +0 -596
- package/typechain-types/factories/IMorphoOracle__factory.ts +0 -36
- package/typechain-types/factories/IMorpho__factory.ts +0 -1045
- package/typechain-types/factories/IMulticall__factory.ts +0 -66
- package/typechain-types/factories/IPLoopPositionBoxFactory__factory.ts +0 -420
- package/typechain-types/factories/IPLoopPositionBox__factory.ts +0 -198
- package/typechain-types/factories/IPPTLooperView__factory.ts +0 -331
- package/typechain-types/factories/IPPTLooper__factory.ts +0 -2506
- package/typechain-types/factories/IPoolAddressesProvider__factory.ts +0 -526
- package/typechain-types/factories/IPoolDataProviderV31__factory.ts +0 -596
- package/typechain-types/factories/IPoolDataProviderV3__factory.ts +0 -554
- package/typechain-types/factories/IPool__factory.ts +0 -1609
- package/typechain-types/factories/IPot__factory.ts +0 -98
- package/typechain-types/factories/IPriceOracleGetter__factory.ts +0 -71
- package/typechain-types/factories/ISDAI__factory.ts +0 -645
- package/typechain-types/factories/LoopPositionBoxFactory__factory.ts +0 -648
- package/typechain-types/factories/LoopPositionBox__factory.ts +0 -277
- package/typechain-types/factories/MorphoBlueMoneyMarketView__factory.ts +0 -384
- package/typechain-types/factories/MorphoBlueMoneyMarket__factory.ts +0 -691
- package/typechain-types/factories/Multicall__factory.ts +0 -104
- package/typechain-types/factories/PTLooperBase__factory.ts +0 -2656
- package/typechain-types/factories/PTLooperView__factory.ts +0 -467
- package/typechain-types/factories/PendlePTLooperView__factory.ts +0 -499
- package/typechain-types/factories/PendlePTLooper__factory.ts +0 -2738
|
@@ -3,11 +3,11 @@ pragma solidity ^0.8.0;
|
|
|
3
3
|
|
|
4
4
|
import {TokenHelper} from "../core/libraries/TokenHelper.sol";
|
|
5
5
|
import {IPFixedPricePTAMMV2} from "../interfaces/IPFixedPricePTAMMV2.sol";
|
|
6
|
-
import {
|
|
6
|
+
import {IPOFTPTSwapper, TokenOutput} from "../interfaces/IPOFTPTSwapper.sol";
|
|
7
7
|
import {IPSwapAggregator, SwapType} from "../router/swap-aggregator/IPSwapAggregator.sol";
|
|
8
8
|
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
|
9
9
|
|
|
10
|
-
contract
|
|
10
|
+
contract OFTPTSwapper is IPOFTPTSwapper, TokenHelper {
|
|
11
11
|
function swapWithFixedPricePTAMM(
|
|
12
12
|
address receiver,
|
|
13
13
|
address fixedPricePTAMM,
|
|
@@ -16,7 +16,8 @@ contract PendleSwapHelper is IPSwapHelper, TokenHelper {
|
|
|
16
16
|
TokenOutput calldata out
|
|
17
17
|
) external returns (uint256 netTokenOut) {
|
|
18
18
|
require(
|
|
19
|
-
out.tokenRedeemSy == IPFixedPricePTAMMV2(fixedPricePTAMM).outputToken(),
|
|
19
|
+
out.tokenRedeemSy == IPFixedPricePTAMMV2(fixedPricePTAMM).outputToken(),
|
|
20
|
+
"OFTPTSwapper: INVALID_TOKEN_REDEEM"
|
|
20
21
|
);
|
|
21
22
|
|
|
22
23
|
_transferFrom(IERC20(PT), msg.sender, fixedPricePTAMM, exactPtIn);
|
package/deployments/1-core.json
CHANGED
|
@@ -76,5 +76,6 @@
|
|
|
76
76
|
"votingController": "0x44087E105137a5095c008AaB6a6530182821F2F0"
|
|
77
77
|
},
|
|
78
78
|
"crossChainSwapHub": "0xd41c99760f4A7e27E736ED25cd6915110948Ea8a",
|
|
79
|
-
"depositBoxFactory": "0x15Ff9D268ef3300a3fcCe5DE4bc4326316c5dD6D"
|
|
79
|
+
"depositBoxFactory": "0x15Ff9D268ef3300a3fcCe5DE4bc4326316c5dD6D",
|
|
80
|
+
"oftPtSwapper": "0x8ef78aD230887E05fa3324277A5225fE93889b08"
|
|
80
81
|
}
|
|
@@ -24,5 +24,6 @@
|
|
|
24
24
|
"devProxyAdmin": "0xD37eB2E6DE40a33ba68BaD94427723b66c954EA9",
|
|
25
25
|
"sparkLinearDiscountOracleFactory": "0x34C91651A070664279866E5f3d6B4d5F65cbbFFb",
|
|
26
26
|
"crossChainSwapHub": "0xd41c99760f4A7e27E736ED25cd6915110948Ea8a",
|
|
27
|
-
"depositBoxFactory": "0x15Ff9D268ef3300a3fcCe5DE4bc4326316c5dD6D"
|
|
27
|
+
"depositBoxFactory": "0x15Ff9D268ef3300a3fcCe5DE4bc4326316c5dD6D",
|
|
28
|
+
"oftPtSwapper": "0x8ef78aD230887E05fa3324277A5225fE93889b08"
|
|
28
29
|
}
|
|
@@ -51,5 +51,6 @@
|
|
|
51
51
|
"lpLinearDiscountOracleFactory": "0x44fb16D078E9C39B65d6c15E78EDe9736a9f2DF5",
|
|
52
52
|
"merkleDepositor": "0x3dAe3d1734cA3C7B3089D4DD03C9876e0A0102b4",
|
|
53
53
|
"crossChainSwapHub": "0xd41c99760f4A7e27E736ED25cd6915110948Ea8a",
|
|
54
|
-
"depositBoxFactory": "0x15Ff9D268ef3300a3fcCe5DE4bc4326316c5dD6D"
|
|
54
|
+
"depositBoxFactory": "0x15Ff9D268ef3300a3fcCe5DE4bc4326316c5dD6D",
|
|
55
|
+
"oftPtSwapper": "0x8ef78aD230887E05fa3324277A5225fE93889b08"
|
|
55
56
|
}
|
|
@@ -72,5 +72,6 @@
|
|
|
72
72
|
"vePendle": "0x3209E9412cca80B18338f2a56ADA59c484c39644"
|
|
73
73
|
},
|
|
74
74
|
"crossChainSwapHub": "0xd41c99760f4A7e27E736ED25cd6915110948Ea8a",
|
|
75
|
-
"depositBoxFactory": "0x15Ff9D268ef3300a3fcCe5DE4bc4326316c5dD6D"
|
|
75
|
+
"depositBoxFactory": "0x15Ff9D268ef3300a3fcCe5DE4bc4326316c5dD6D",
|
|
76
|
+
"oftPtSwapper": "0x8ef78aD230887E05fa3324277A5225fE93889b08"
|
|
76
77
|
}
|
|
@@ -11,5 +11,6 @@
|
|
|
11
11
|
"proxyAdmin": "0xD1253ec561EE8708Bd08a77e817668B288f643b3",
|
|
12
12
|
"devProxyAdmin": "0xD37eB2E6DE40a33ba68BaD94427723b66c954EA9",
|
|
13
13
|
"governanceProxy": "0x2aD631F72fB16d91c4953A7f4260A97C2fE2f31e",
|
|
14
|
-
"sparkLinearDiscountOracleFactory": "0x34C91651A070664279866E5f3d6B4d5F65cbbFFb"
|
|
14
|
+
"sparkLinearDiscountOracleFactory": "0x34C91651A070664279866E5f3d6B4d5F65cbbFFb",
|
|
15
|
+
"oftPtSwapper": "0x8ef78aD230887E05fa3324277A5225fE93889b08"
|
|
15
16
|
}
|
|
@@ -23,5 +23,6 @@
|
|
|
23
23
|
"proxyAdmin": "0xA28c08f165116587D4F3E708743B4dEe155c5E64",
|
|
24
24
|
"devProxyAdmin": "0xD37eB2E6DE40a33ba68BaD94427723b66c954EA9",
|
|
25
25
|
"crossChainSwapHub": "0xd41c99760f4A7e27E736ED25cd6915110948Ea8a",
|
|
26
|
-
"depositBoxFactory": "0x15Ff9D268ef3300a3fcCe5DE4bc4326316c5dD6D"
|
|
26
|
+
"depositBoxFactory": "0x15Ff9D268ef3300a3fcCe5DE4bc4326316c5dD6D",
|
|
27
|
+
"oftPtSwapper": "0x8ef78aD230887E05fa3324277A5225fE93889b08"
|
|
27
28
|
}
|
package/deployments/56-core.json
CHANGED
|
@@ -70,5 +70,6 @@
|
|
|
70
70
|
"vePendle": "0x8A09574b0401A856d89d1b583eE22E8cb0C5530B"
|
|
71
71
|
},
|
|
72
72
|
"crossChainSwapHub": "0xd41c99760f4A7e27E736ED25cd6915110948Ea8a",
|
|
73
|
-
"depositBoxFactory": "0x15Ff9D268ef3300a3fcCe5DE4bc4326316c5dD6D"
|
|
73
|
+
"depositBoxFactory": "0x15Ff9D268ef3300a3fcCe5DE4bc4326316c5dD6D",
|
|
74
|
+
"oftPtSwapper": "0x8ef78aD230887E05fa3324277A5225fE93889b08"
|
|
74
75
|
}
|
|
@@ -17,5 +17,6 @@
|
|
|
17
17
|
"devProxyAdmin": "0xD37eB2E6DE40a33ba68BaD94427723b66c954EA9",
|
|
18
18
|
"sparkLinearDiscountOracleFactory": "0x34C91651A070664279866E5f3d6B4d5F65cbbFFb",
|
|
19
19
|
"crossChainSwapHub": "0xd41c99760f4A7e27E736ED25cd6915110948Ea8a",
|
|
20
|
-
"depositBoxFactory": "0x15Ff9D268ef3300a3fcCe5DE4bc4326316c5dD6D"
|
|
20
|
+
"depositBoxFactory": "0x15Ff9D268ef3300a3fcCe5DE4bc4326316c5dD6D",
|
|
21
|
+
"oftPtSwapper": "0x8ef78aD230887E05fa3324277A5225fE93889b08"
|
|
21
22
|
}
|
|
@@ -17,5 +17,6 @@
|
|
|
17
17
|
"devProxyAdmin": "0xD37eB2E6DE40a33ba68BaD94427723b66c954EA9",
|
|
18
18
|
"sparkLinearDiscountOracleFactory": "0x34C91651A070664279866E5f3d6B4d5F65cbbFFb",
|
|
19
19
|
"crossChainSwapHub": "0xd41c99760f4A7e27E736ED25cd6915110948Ea8a",
|
|
20
|
-
"depositBoxFactory": "0x15Ff9D268ef3300a3fcCe5DE4bc4326316c5dD6D"
|
|
20
|
+
"depositBoxFactory": "0x15Ff9D268ef3300a3fcCe5DE4bc4326316c5dD6D",
|
|
21
|
+
"oftPtSwapper": "0x8ef78aD230887E05fa3324277A5225fE93889b08"
|
|
21
22
|
}
|
|
@@ -62,5 +62,6 @@
|
|
|
62
62
|
"vePendle": "0x051dcd6a80f11fE68F77Fb0EBdE03853FA96B1fD"
|
|
63
63
|
},
|
|
64
64
|
"crossChainSwapHub": "0xd41c99760f4A7e27E736ED25cd6915110948Ea8a",
|
|
65
|
-
"depositBoxFactory": "0x15Ff9D268ef3300a3fcCe5DE4bc4326316c5dD6D"
|
|
65
|
+
"depositBoxFactory": "0x15Ff9D268ef3300a3fcCe5DE4bc4326316c5dD6D",
|
|
66
|
+
"oftPtSwapper": "0x8ef78aD230887E05fa3324277A5225fE93889b08"
|
|
66
67
|
}
|
|
@@ -63,5 +63,6 @@
|
|
|
63
63
|
"vePendle": "0x0d7432A9f5C51fdd2407332D90D9b814827982Bf"
|
|
64
64
|
},
|
|
65
65
|
"crossChainSwapHub": "0xd41c99760f4A7e27E736ED25cd6915110948Ea8a",
|
|
66
|
-
"depositBoxFactory": "0x15Ff9D268ef3300a3fcCe5DE4bc4326316c5dD6D"
|
|
66
|
+
"depositBoxFactory": "0x15Ff9D268ef3300a3fcCe5DE4bc4326316c5dD6D",
|
|
67
|
+
"oftPtSwapper": "0x8ef78aD230887E05fa3324277A5225fE93889b08"
|
|
67
68
|
}
|
|
@@ -63,5 +63,6 @@
|
|
|
63
63
|
"vePendle": "0x1fBaCedf510dAA79dfD9B41227A7ba192d5D548D"
|
|
64
64
|
},
|
|
65
65
|
"crossChainSwapHub": "0xd41c99760f4A7e27E736ED25cd6915110948Ea8a",
|
|
66
|
-
"depositBoxFactory": "0x15Ff9D268ef3300a3fcCe5DE4bc4326316c5dD6D"
|
|
66
|
+
"depositBoxFactory": "0x15Ff9D268ef3300a3fcCe5DE4bc4326316c5dD6D",
|
|
67
|
+
"oftPtSwapper": "0x8ef78aD230887E05fa3324277A5225fE93889b08"
|
|
67
68
|
}
|
package/package.json
CHANGED
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import {
|
|
5
|
+
BaseContract,
|
|
6
|
+
BigNumber,
|
|
7
|
+
BigNumberish,
|
|
8
|
+
BytesLike,
|
|
9
|
+
CallOverrides,
|
|
10
|
+
ContractTransaction,
|
|
11
|
+
Overrides,
|
|
12
|
+
PopulatedTransaction,
|
|
13
|
+
Signer,
|
|
14
|
+
utils,
|
|
15
|
+
} from "ethers";
|
|
16
|
+
import { FunctionFragment, Result } from "@ethersproject/abi";
|
|
17
|
+
import { Listener, Provider } from "@ethersproject/providers";
|
|
18
|
+
import type {
|
|
19
|
+
TypedEventFilter,
|
|
20
|
+
TypedEvent,
|
|
21
|
+
TypedListener,
|
|
22
|
+
OnEvent,
|
|
23
|
+
} from "./common";
|
|
24
|
+
|
|
25
|
+
export type SwapDataStruct = {
|
|
26
|
+
swapType: BigNumberish;
|
|
27
|
+
extRouter: string;
|
|
28
|
+
extCalldata: BytesLike;
|
|
29
|
+
needScale: boolean;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export type SwapDataStructOutput = [number, string, string, boolean] & {
|
|
33
|
+
swapType: number;
|
|
34
|
+
extRouter: string;
|
|
35
|
+
extCalldata: string;
|
|
36
|
+
needScale: boolean;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export type TokenOutputStruct = {
|
|
40
|
+
tokenOut: string;
|
|
41
|
+
minTokenOut: BigNumberish;
|
|
42
|
+
tokenRedeemSy: string;
|
|
43
|
+
pendleSwap: string;
|
|
44
|
+
swapData: SwapDataStruct;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export type TokenOutputStructOutput = [
|
|
48
|
+
string,
|
|
49
|
+
BigNumber,
|
|
50
|
+
string,
|
|
51
|
+
string,
|
|
52
|
+
SwapDataStructOutput
|
|
53
|
+
] & {
|
|
54
|
+
tokenOut: string;
|
|
55
|
+
minTokenOut: BigNumber;
|
|
56
|
+
tokenRedeemSy: string;
|
|
57
|
+
pendleSwap: string;
|
|
58
|
+
swapData: SwapDataStructOutput;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
export interface IPOFTPTSwapperInterface extends utils.Interface {
|
|
62
|
+
contractName: "IPOFTPTSwapper";
|
|
63
|
+
functions: {
|
|
64
|
+
"swapWithFixedPricePTAMM(address,address,address,uint256,(address,uint256,address,address,(uint8,address,bytes,bool)))": FunctionFragment;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
encodeFunctionData(
|
|
68
|
+
functionFragment: "swapWithFixedPricePTAMM",
|
|
69
|
+
values: [string, string, string, BigNumberish, TokenOutputStruct]
|
|
70
|
+
): string;
|
|
71
|
+
|
|
72
|
+
decodeFunctionResult(
|
|
73
|
+
functionFragment: "swapWithFixedPricePTAMM",
|
|
74
|
+
data: BytesLike
|
|
75
|
+
): Result;
|
|
76
|
+
|
|
77
|
+
events: {};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export interface IPOFTPTSwapper extends BaseContract {
|
|
81
|
+
contractName: "IPOFTPTSwapper";
|
|
82
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
83
|
+
attach(addressOrName: string): this;
|
|
84
|
+
deployed(): Promise<this>;
|
|
85
|
+
|
|
86
|
+
interface: IPOFTPTSwapperInterface;
|
|
87
|
+
|
|
88
|
+
queryFilter<TEvent extends TypedEvent>(
|
|
89
|
+
event: TypedEventFilter<TEvent>,
|
|
90
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
91
|
+
toBlock?: string | number | undefined
|
|
92
|
+
): Promise<Array<TEvent>>;
|
|
93
|
+
|
|
94
|
+
listeners<TEvent extends TypedEvent>(
|
|
95
|
+
eventFilter?: TypedEventFilter<TEvent>
|
|
96
|
+
): Array<TypedListener<TEvent>>;
|
|
97
|
+
listeners(eventName?: string): Array<Listener>;
|
|
98
|
+
removeAllListeners<TEvent extends TypedEvent>(
|
|
99
|
+
eventFilter: TypedEventFilter<TEvent>
|
|
100
|
+
): this;
|
|
101
|
+
removeAllListeners(eventName?: string): this;
|
|
102
|
+
off: OnEvent<this>;
|
|
103
|
+
on: OnEvent<this>;
|
|
104
|
+
once: OnEvent<this>;
|
|
105
|
+
removeListener: OnEvent<this>;
|
|
106
|
+
|
|
107
|
+
functions: {
|
|
108
|
+
swapWithFixedPricePTAMM(
|
|
109
|
+
receiver: string,
|
|
110
|
+
fixedPricePTAMM: string,
|
|
111
|
+
PT: string,
|
|
112
|
+
exactPtIn: BigNumberish,
|
|
113
|
+
out: TokenOutputStruct,
|
|
114
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
115
|
+
): Promise<ContractTransaction>;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
swapWithFixedPricePTAMM(
|
|
119
|
+
receiver: string,
|
|
120
|
+
fixedPricePTAMM: string,
|
|
121
|
+
PT: string,
|
|
122
|
+
exactPtIn: BigNumberish,
|
|
123
|
+
out: TokenOutputStruct,
|
|
124
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
125
|
+
): Promise<ContractTransaction>;
|
|
126
|
+
|
|
127
|
+
callStatic: {
|
|
128
|
+
swapWithFixedPricePTAMM(
|
|
129
|
+
receiver: string,
|
|
130
|
+
fixedPricePTAMM: string,
|
|
131
|
+
PT: string,
|
|
132
|
+
exactPtIn: BigNumberish,
|
|
133
|
+
out: TokenOutputStruct,
|
|
134
|
+
overrides?: CallOverrides
|
|
135
|
+
): Promise<BigNumber>;
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
filters: {};
|
|
139
|
+
|
|
140
|
+
estimateGas: {
|
|
141
|
+
swapWithFixedPricePTAMM(
|
|
142
|
+
receiver: string,
|
|
143
|
+
fixedPricePTAMM: string,
|
|
144
|
+
PT: string,
|
|
145
|
+
exactPtIn: BigNumberish,
|
|
146
|
+
out: TokenOutputStruct,
|
|
147
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
148
|
+
): Promise<BigNumber>;
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
populateTransaction: {
|
|
152
|
+
swapWithFixedPricePTAMM(
|
|
153
|
+
receiver: string,
|
|
154
|
+
fixedPricePTAMM: string,
|
|
155
|
+
PT: string,
|
|
156
|
+
exactPtIn: BigNumberish,
|
|
157
|
+
out: TokenOutputStruct,
|
|
158
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
159
|
+
): Promise<PopulatedTransaction>;
|
|
160
|
+
};
|
|
161
|
+
}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import {
|
|
5
|
+
BaseContract,
|
|
6
|
+
BigNumber,
|
|
7
|
+
BigNumberish,
|
|
8
|
+
BytesLike,
|
|
9
|
+
CallOverrides,
|
|
10
|
+
ContractTransaction,
|
|
11
|
+
Overrides,
|
|
12
|
+
PopulatedTransaction,
|
|
13
|
+
Signer,
|
|
14
|
+
utils,
|
|
15
|
+
} from "ethers";
|
|
16
|
+
import { FunctionFragment, Result } from "@ethersproject/abi";
|
|
17
|
+
import { Listener, Provider } from "@ethersproject/providers";
|
|
18
|
+
import type {
|
|
19
|
+
TypedEventFilter,
|
|
20
|
+
TypedEvent,
|
|
21
|
+
TypedListener,
|
|
22
|
+
OnEvent,
|
|
23
|
+
} from "./common";
|
|
24
|
+
|
|
25
|
+
export type SwapDataStruct = {
|
|
26
|
+
swapType: BigNumberish;
|
|
27
|
+
extRouter: string;
|
|
28
|
+
extCalldata: BytesLike;
|
|
29
|
+
needScale: boolean;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export type SwapDataStructOutput = [number, string, string, boolean] & {
|
|
33
|
+
swapType: number;
|
|
34
|
+
extRouter: string;
|
|
35
|
+
extCalldata: string;
|
|
36
|
+
needScale: boolean;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export type TokenOutputStruct = {
|
|
40
|
+
tokenOut: string;
|
|
41
|
+
minTokenOut: BigNumberish;
|
|
42
|
+
tokenRedeemSy: string;
|
|
43
|
+
pendleSwap: string;
|
|
44
|
+
swapData: SwapDataStruct;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export type TokenOutputStructOutput = [
|
|
48
|
+
string,
|
|
49
|
+
BigNumber,
|
|
50
|
+
string,
|
|
51
|
+
string,
|
|
52
|
+
SwapDataStructOutput
|
|
53
|
+
] & {
|
|
54
|
+
tokenOut: string;
|
|
55
|
+
minTokenOut: BigNumber;
|
|
56
|
+
tokenRedeemSy: string;
|
|
57
|
+
pendleSwap: string;
|
|
58
|
+
swapData: SwapDataStructOutput;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
export interface OFTPTSwapperInterface extends utils.Interface {
|
|
62
|
+
contractName: "OFTPTSwapper";
|
|
63
|
+
functions: {
|
|
64
|
+
"swapWithFixedPricePTAMM(address,address,address,uint256,(address,uint256,address,address,(uint8,address,bytes,bool)))": FunctionFragment;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
encodeFunctionData(
|
|
68
|
+
functionFragment: "swapWithFixedPricePTAMM",
|
|
69
|
+
values: [string, string, string, BigNumberish, TokenOutputStruct]
|
|
70
|
+
): string;
|
|
71
|
+
|
|
72
|
+
decodeFunctionResult(
|
|
73
|
+
functionFragment: "swapWithFixedPricePTAMM",
|
|
74
|
+
data: BytesLike
|
|
75
|
+
): Result;
|
|
76
|
+
|
|
77
|
+
events: {};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export interface OFTPTSwapper extends BaseContract {
|
|
81
|
+
contractName: "OFTPTSwapper";
|
|
82
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
83
|
+
attach(addressOrName: string): this;
|
|
84
|
+
deployed(): Promise<this>;
|
|
85
|
+
|
|
86
|
+
interface: OFTPTSwapperInterface;
|
|
87
|
+
|
|
88
|
+
queryFilter<TEvent extends TypedEvent>(
|
|
89
|
+
event: TypedEventFilter<TEvent>,
|
|
90
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
91
|
+
toBlock?: string | number | undefined
|
|
92
|
+
): Promise<Array<TEvent>>;
|
|
93
|
+
|
|
94
|
+
listeners<TEvent extends TypedEvent>(
|
|
95
|
+
eventFilter?: TypedEventFilter<TEvent>
|
|
96
|
+
): Array<TypedListener<TEvent>>;
|
|
97
|
+
listeners(eventName?: string): Array<Listener>;
|
|
98
|
+
removeAllListeners<TEvent extends TypedEvent>(
|
|
99
|
+
eventFilter: TypedEventFilter<TEvent>
|
|
100
|
+
): this;
|
|
101
|
+
removeAllListeners(eventName?: string): this;
|
|
102
|
+
off: OnEvent<this>;
|
|
103
|
+
on: OnEvent<this>;
|
|
104
|
+
once: OnEvent<this>;
|
|
105
|
+
removeListener: OnEvent<this>;
|
|
106
|
+
|
|
107
|
+
functions: {
|
|
108
|
+
swapWithFixedPricePTAMM(
|
|
109
|
+
receiver: string,
|
|
110
|
+
fixedPricePTAMM: string,
|
|
111
|
+
PT: string,
|
|
112
|
+
exactPtIn: BigNumberish,
|
|
113
|
+
out: TokenOutputStruct,
|
|
114
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
115
|
+
): Promise<ContractTransaction>;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
swapWithFixedPricePTAMM(
|
|
119
|
+
receiver: string,
|
|
120
|
+
fixedPricePTAMM: string,
|
|
121
|
+
PT: string,
|
|
122
|
+
exactPtIn: BigNumberish,
|
|
123
|
+
out: TokenOutputStruct,
|
|
124
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
125
|
+
): Promise<ContractTransaction>;
|
|
126
|
+
|
|
127
|
+
callStatic: {
|
|
128
|
+
swapWithFixedPricePTAMM(
|
|
129
|
+
receiver: string,
|
|
130
|
+
fixedPricePTAMM: string,
|
|
131
|
+
PT: string,
|
|
132
|
+
exactPtIn: BigNumberish,
|
|
133
|
+
out: TokenOutputStruct,
|
|
134
|
+
overrides?: CallOverrides
|
|
135
|
+
): Promise<BigNumber>;
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
filters: {};
|
|
139
|
+
|
|
140
|
+
estimateGas: {
|
|
141
|
+
swapWithFixedPricePTAMM(
|
|
142
|
+
receiver: string,
|
|
143
|
+
fixedPricePTAMM: string,
|
|
144
|
+
PT: string,
|
|
145
|
+
exactPtIn: BigNumberish,
|
|
146
|
+
out: TokenOutputStruct,
|
|
147
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
148
|
+
): Promise<BigNumber>;
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
populateTransaction: {
|
|
152
|
+
swapWithFixedPricePTAMM(
|
|
153
|
+
receiver: string,
|
|
154
|
+
fixedPricePTAMM: string,
|
|
155
|
+
PT: string,
|
|
156
|
+
exactPtIn: BigNumberish,
|
|
157
|
+
out: TokenOutputStruct,
|
|
158
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
159
|
+
): Promise<PopulatedTransaction>;
|
|
160
|
+
};
|
|
161
|
+
}
|
|
@@ -53,11 +53,13 @@ export interface UUPSUpgradeableInterface extends utils.Interface {
|
|
|
53
53
|
events: {
|
|
54
54
|
"AdminChanged(address,address)": EventFragment;
|
|
55
55
|
"BeaconUpgraded(address)": EventFragment;
|
|
56
|
+
"Initialized(uint8)": EventFragment;
|
|
56
57
|
"Upgraded(address)": EventFragment;
|
|
57
58
|
};
|
|
58
59
|
|
|
59
60
|
getEvent(nameOrSignatureOrTopic: "AdminChanged"): EventFragment;
|
|
60
61
|
getEvent(nameOrSignatureOrTopic: "BeaconUpgraded"): EventFragment;
|
|
62
|
+
getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment;
|
|
61
63
|
getEvent(nameOrSignatureOrTopic: "Upgraded"): EventFragment;
|
|
62
64
|
}
|
|
63
65
|
|
|
@@ -72,6 +74,10 @@ export type BeaconUpgradedEvent = TypedEvent<[string], { beacon: string }>;
|
|
|
72
74
|
|
|
73
75
|
export type BeaconUpgradedEventFilter = TypedEventFilter<BeaconUpgradedEvent>;
|
|
74
76
|
|
|
77
|
+
export type InitializedEvent = TypedEvent<[number], { version: number }>;
|
|
78
|
+
|
|
79
|
+
export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
|
|
80
|
+
|
|
75
81
|
export type UpgradedEvent = TypedEvent<[string], { implementation: string }>;
|
|
76
82
|
|
|
77
83
|
export type UpgradedEventFilter = TypedEventFilter<UpgradedEvent>;
|
|
@@ -161,6 +167,9 @@ export interface UUPSUpgradeable extends BaseContract {
|
|
|
161
167
|
): BeaconUpgradedEventFilter;
|
|
162
168
|
BeaconUpgraded(beacon?: string | null): BeaconUpgradedEventFilter;
|
|
163
169
|
|
|
170
|
+
"Initialized(uint8)"(version?: null): InitializedEventFilter;
|
|
171
|
+
Initialized(version?: null): InitializedEventFilter;
|
|
172
|
+
|
|
164
173
|
"Upgraded(address)"(implementation?: string | null): UpgradedEventFilter;
|
|
165
174
|
Upgraded(implementation?: string | null): UpgradedEventFilter;
|
|
166
175
|
};
|
|
@@ -100,7 +100,7 @@ const _abi = [
|
|
|
100
100
|
];
|
|
101
101
|
|
|
102
102
|
const _bytecode =
|
|
103
|
-
"
|
|
103
|
+
"0x6080604052348015600e575f5ffd5b50610ba28061001c5f395ff3fe608060405234801561000f575f5ffd5b5060043610610029575f3560e01c8063a58f46c61461002d575b5f5ffd5b61004061003b36600461088e565b610052565b60405190815260200160405180910390f35b5f61005f84338786610115565b5f856001600160a01b031663df0fe2eb6100798986610136565b878761008b6060890160408a01610907565b604080515f815260208101918290526001600160e01b031960e088901b169091526100bd94939291906024810161096d565b6020604051808303815f875af11580156100d9573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100fd91906109a7565b905061010a8782856101b2565b979650505050505050565b8015610130576101306001600160a01b038516848484610360565b50505050565b5f8061014560808401846109be565b6101539060208101906109ea565b90505f81600a81111561016857610168610a03565b0361017657839150506101ac565b600381600a81111561018a5761018a610a03565b0361019857309150506101ac565b6101a86080840160608501610907565b9150505b92915050565b5f806101c160808401846109be565b6101cf9060208101906109ea565b90505f81600a8111156101e4576101e4610a03565b036101f1578391506102ff565b600381600a81111561020557610205610a03565b0361024f578391506102336102206060850160408601610907565b61022d6020860186610907565b846103cb565b61024a6102436020850185610907565b8684610489565b6102ff565b61025f6080840160608501610907565b6001600160a01b0316632bdb823c61027d6060860160408701610907565b8661028b60808801886109be565b6040518463ffffffff1660e01b81526004016102a993929190610a5a565b5f604051808303815f87803b1580156102c0575f5ffd5b505af11580156102d2573d5f5f3e3d5ffd5b506102ed92506102e89150506020850185610907565b61055b565b91506102ff6102436020850185610907565b82602001358210156103585760405162461bcd60e51b815260206004820181905260248201527f536c6970706167653a20494e53554646494349454e545f544f4b454e5f4f555460448201526064015b60405180910390fd5b509392505050565b6040516001600160a01b03808516602483015283166044820152606481018290526101309085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610566565b6001600160a01b03831661042e57816001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004015f604051808303818588803b158015610412575f5ffd5b505af1158015610424573d5f5f3e3d5ffd5b5050505050505050565b604051632e1a7d4d60e01b8152600481018290526001600160a01b03841690632e1a7d4d906024015f604051808303815f87803b15801561046d575f5ffd5b505af115801561047f573d5f5f3e3d5ffd5b505050505b505050565b80158061049e57506001600160a01b03821630145b156104a857505050565b6001600160a01b038316610547575f826001600160a01b0316826040515f6040518083038185875af1925050503d805f81146104ff576040519150601f19603f3d011682016040523d82523d5f602084013e610504565b606091505b50509050806101305760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b604482015260640161034f565b6104846001600160a01b0384168383610639565b5f6101ac3083610669565b5f6105ba826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166106f99092919063ffffffff16565b905080515f14806105da5750808060200190518101906105da9190610b2e565b6104845760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161034f565b6040516001600160a01b03831660248201526044810182905261048490849063a9059cbb60e01b90606401610394565b5f6001600160a01b038216156106e6576040516370a0823160e01b81526001600160a01b0384811660048301528316906370a0823190602401602060405180830381865afa1580156106bd573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e191906109a7565b6106f2565b826001600160a01b0316315b9392505050565b606061070784845f8561070f565b949350505050565b6060824710156107705760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161034f565b5f5f866001600160a01b0316858760405161078b9190610b49565b5f6040518083038185875af1925050503d805f81146107c5576040519150601f19603f3d011682016040523d82523d5f602084013e6107ca565b606091505b509150915061010a87838387606083156108445782515f0361083d576001600160a01b0385163b61083d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161034f565b5081610707565b61070783838151156108595781518083602001fd5b8060405162461bcd60e51b815260040161034f9190610b5a565b80356001600160a01b0381168114610889575f5ffd5b919050565b5f5f5f5f5f60a086880312156108a2575f5ffd5b6108ab86610873565b94506108b960208701610873565b93506108c760408701610873565b92506060860135915060808601356001600160401b038111156108e8575f5ffd5b860160a081890312156108f9575f5ffd5b809150509295509295909350565b5f60208284031215610917575f5ffd5b6106f282610873565b5f5b8381101561093a578181015183820152602001610922565b50505f910152565b5f8151808452610959816020860160208601610920565b601f01601f19169290920160200192915050565b6001600160a01b0386811682528581166020830152604082018590528316606082015260a0608082018190525f9061010a90830184610942565b5f602082840312156109b7575f5ffd5b5051919050565b5f8235607e198336030181126109d2575f5ffd5b9190910192915050565b8035600b8110610889575f5ffd5b5f602082840312156109fa575f5ffd5b6106f2826109dc565b634e487b7160e01b5f52602160045260245ffd5b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b8015158114610a4c575f5ffd5b50565b803561088981610a3f565b6001600160a01b038416815260208101839052606060408201525f610a7e836109dc565b600b8110610a9a57634e487b7160e01b5f52602160045260245ffd5b60608301526001600160a01b03610ab360208501610873565b1660808301526040830135601e19843603018112610acf575f5ffd5b83016020810190356001600160401b03811115610aea575f5ffd5b803603821315610af8575f5ffd5b608060a0850152610b0d60e085018284610a17565b915050610b1c60608501610a4f565b80151560c08501525095945050505050565b5f60208284031215610b3e575f5ffd5b81516106f281610a3f565b5f82516109d2818460208701610920565b602081525f6106f2602083018461094256fea264697066735822122065a5c637c0e014ea29acdc2d80d74e83a4069474e566762d60082f15f76a08b864736f6c634300081e0033";
|
|
104
104
|
|
|
105
105
|
type ActionCrossChainConstructorParams =
|
|
106
106
|
| [signer?: Signer]
|