@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
|
@@ -1,726 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
-
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
-
import type {
|
|
7
|
-
AaveMoneyMarket,
|
|
8
|
-
AaveMoneyMarketInterface,
|
|
9
|
-
} from "../AaveMoneyMarket";
|
|
10
|
-
|
|
11
|
-
const _abi = [
|
|
12
|
-
{
|
|
13
|
-
inputs: [
|
|
14
|
-
{
|
|
15
|
-
internalType: "address",
|
|
16
|
-
name: "ptLooper",
|
|
17
|
-
type: "address",
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
internalType: "address",
|
|
21
|
-
name: "_poolAddressesProvider",
|
|
22
|
-
type: "address",
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
internalType: "address",
|
|
26
|
-
name: "_rewardsController",
|
|
27
|
-
type: "address",
|
|
28
|
-
},
|
|
29
|
-
],
|
|
30
|
-
stateMutability: "nonpayable",
|
|
31
|
-
type: "constructor",
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
inputs: [
|
|
35
|
-
{
|
|
36
|
-
internalType: "contract IPLoopPositionBox",
|
|
37
|
-
name: "",
|
|
38
|
-
type: "address",
|
|
39
|
-
},
|
|
40
|
-
],
|
|
41
|
-
name: "InvalidIPLoopPositionBox",
|
|
42
|
-
type: "error",
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
inputs: [
|
|
46
|
-
{
|
|
47
|
-
internalType: "address",
|
|
48
|
-
name: "token",
|
|
49
|
-
type: "address",
|
|
50
|
-
},
|
|
51
|
-
],
|
|
52
|
-
name: "TokenCantBeRetrieved",
|
|
53
|
-
type: "error",
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
anonymous: false,
|
|
57
|
-
inputs: [
|
|
58
|
-
{
|
|
59
|
-
indexed: true,
|
|
60
|
-
internalType: "contract IPLoopPositionBox",
|
|
61
|
-
name: "",
|
|
62
|
-
type: "address",
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
indexed: true,
|
|
66
|
-
internalType: "address",
|
|
67
|
-
name: "asset",
|
|
68
|
-
type: "address",
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
indexed: false,
|
|
72
|
-
internalType: "uint256",
|
|
73
|
-
name: "amount",
|
|
74
|
-
type: "uint256",
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
indexed: false,
|
|
78
|
-
internalType: "uint256",
|
|
79
|
-
name: "balanceBefore",
|
|
80
|
-
type: "uint256",
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
name: "Borrowed",
|
|
84
|
-
type: "event",
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
anonymous: false,
|
|
88
|
-
inputs: [
|
|
89
|
-
{
|
|
90
|
-
indexed: true,
|
|
91
|
-
internalType: "contract IPLoopPositionBox",
|
|
92
|
-
name: "",
|
|
93
|
-
type: "address",
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
indexed: true,
|
|
97
|
-
internalType: "address",
|
|
98
|
-
name: "asset",
|
|
99
|
-
type: "address",
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
indexed: false,
|
|
103
|
-
internalType: "uint256",
|
|
104
|
-
name: "amount",
|
|
105
|
-
type: "uint256",
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
indexed: false,
|
|
109
|
-
internalType: "uint256",
|
|
110
|
-
name: "balanceBefore",
|
|
111
|
-
type: "uint256",
|
|
112
|
-
},
|
|
113
|
-
],
|
|
114
|
-
name: "Lent",
|
|
115
|
-
type: "event",
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
anonymous: false,
|
|
119
|
-
inputs: [
|
|
120
|
-
{
|
|
121
|
-
indexed: true,
|
|
122
|
-
internalType: "contract IPLoopPositionBox",
|
|
123
|
-
name: "",
|
|
124
|
-
type: "address",
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
indexed: true,
|
|
128
|
-
internalType: "address",
|
|
129
|
-
name: "asset",
|
|
130
|
-
type: "address",
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
indexed: false,
|
|
134
|
-
internalType: "uint256",
|
|
135
|
-
name: "amount",
|
|
136
|
-
type: "uint256",
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
indexed: false,
|
|
140
|
-
internalType: "uint256",
|
|
141
|
-
name: "balanceBefore",
|
|
142
|
-
type: "uint256",
|
|
143
|
-
},
|
|
144
|
-
],
|
|
145
|
-
name: "Repaid",
|
|
146
|
-
type: "event",
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
anonymous: false,
|
|
150
|
-
inputs: [
|
|
151
|
-
{
|
|
152
|
-
indexed: true,
|
|
153
|
-
internalType: "contract IPLoopPositionBox",
|
|
154
|
-
name: "",
|
|
155
|
-
type: "address",
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
indexed: true,
|
|
159
|
-
internalType: "address",
|
|
160
|
-
name: "token",
|
|
161
|
-
type: "address",
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
indexed: false,
|
|
165
|
-
internalType: "uint256",
|
|
166
|
-
name: "amount",
|
|
167
|
-
type: "uint256",
|
|
168
|
-
},
|
|
169
|
-
],
|
|
170
|
-
name: "Retrieved",
|
|
171
|
-
type: "event",
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
anonymous: false,
|
|
175
|
-
inputs: [
|
|
176
|
-
{
|
|
177
|
-
indexed: true,
|
|
178
|
-
internalType: "contract IPLoopPositionBox",
|
|
179
|
-
name: "",
|
|
180
|
-
type: "address",
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
indexed: false,
|
|
184
|
-
internalType: "address",
|
|
185
|
-
name: "to",
|
|
186
|
-
type: "address",
|
|
187
|
-
},
|
|
188
|
-
],
|
|
189
|
-
name: "RewardsClaimed",
|
|
190
|
-
type: "event",
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
anonymous: false,
|
|
194
|
-
inputs: [
|
|
195
|
-
{
|
|
196
|
-
indexed: true,
|
|
197
|
-
internalType: "contract IPLoopPositionBox",
|
|
198
|
-
name: "",
|
|
199
|
-
type: "address",
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
indexed: true,
|
|
203
|
-
internalType: "address",
|
|
204
|
-
name: "rewardsToken",
|
|
205
|
-
type: "address",
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
indexed: false,
|
|
209
|
-
internalType: "address",
|
|
210
|
-
name: "to",
|
|
211
|
-
type: "address",
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
indexed: false,
|
|
215
|
-
internalType: "uint256",
|
|
216
|
-
name: "rewardsAmount",
|
|
217
|
-
type: "uint256",
|
|
218
|
-
},
|
|
219
|
-
],
|
|
220
|
-
name: "RewardsClaimed",
|
|
221
|
-
type: "event",
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
anonymous: false,
|
|
225
|
-
inputs: [
|
|
226
|
-
{
|
|
227
|
-
indexed: true,
|
|
228
|
-
internalType: "contract IPLoopPositionBox",
|
|
229
|
-
name: "",
|
|
230
|
-
type: "address",
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
indexed: true,
|
|
234
|
-
internalType: "address",
|
|
235
|
-
name: "asset",
|
|
236
|
-
type: "address",
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
indexed: false,
|
|
240
|
-
internalType: "uint256",
|
|
241
|
-
name: "amount",
|
|
242
|
-
type: "uint256",
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
indexed: false,
|
|
246
|
-
internalType: "uint256",
|
|
247
|
-
name: "balanceBefore",
|
|
248
|
-
type: "uint256",
|
|
249
|
-
},
|
|
250
|
-
],
|
|
251
|
-
name: "Withdrawn",
|
|
252
|
-
type: "event",
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
inputs: [],
|
|
256
|
-
name: "NEEDS_ACCOUNT",
|
|
257
|
-
outputs: [
|
|
258
|
-
{
|
|
259
|
-
internalType: "bool",
|
|
260
|
-
name: "",
|
|
261
|
-
type: "bool",
|
|
262
|
-
},
|
|
263
|
-
],
|
|
264
|
-
stateMutability: "view",
|
|
265
|
-
type: "function",
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
inputs: [
|
|
269
|
-
{
|
|
270
|
-
internalType: "contract IPLoopPositionBox",
|
|
271
|
-
name: "box",
|
|
272
|
-
type: "address",
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
internalType: "bytes32",
|
|
276
|
-
name: "mmPayload",
|
|
277
|
-
type: "bytes32",
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
internalType: "address",
|
|
281
|
-
name: "asset",
|
|
282
|
-
type: "address",
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
internalType: "uint256",
|
|
286
|
-
name: "amount",
|
|
287
|
-
type: "uint256",
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
internalType: "address",
|
|
291
|
-
name: "to",
|
|
292
|
-
type: "address",
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
internalType: "uint256",
|
|
296
|
-
name: "minAmount",
|
|
297
|
-
type: "uint256",
|
|
298
|
-
},
|
|
299
|
-
],
|
|
300
|
-
name: "borrow",
|
|
301
|
-
outputs: [
|
|
302
|
-
{
|
|
303
|
-
internalType: "uint256",
|
|
304
|
-
name: "borrowed",
|
|
305
|
-
type: "uint256",
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
internalType: "uint256",
|
|
309
|
-
name: "postDebtBalance",
|
|
310
|
-
type: "uint256",
|
|
311
|
-
},
|
|
312
|
-
],
|
|
313
|
-
stateMutability: "nonpayable",
|
|
314
|
-
type: "function",
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
inputs: [
|
|
318
|
-
{
|
|
319
|
-
internalType: "contract IPLoopPositionBox",
|
|
320
|
-
name: "box",
|
|
321
|
-
type: "address",
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
internalType: "bytes32",
|
|
325
|
-
name: "mmPayload",
|
|
326
|
-
type: "bytes32",
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
internalType: "address",
|
|
330
|
-
name: "collateralAsset",
|
|
331
|
-
type: "address",
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
internalType: "address",
|
|
335
|
-
name: "debtAsset",
|
|
336
|
-
type: "address",
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
internalType: "address",
|
|
340
|
-
name: "to",
|
|
341
|
-
type: "address",
|
|
342
|
-
},
|
|
343
|
-
],
|
|
344
|
-
name: "claimRewards",
|
|
345
|
-
outputs: [],
|
|
346
|
-
stateMutability: "nonpayable",
|
|
347
|
-
type: "function",
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
inputs: [
|
|
351
|
-
{
|
|
352
|
-
internalType: "contract IPLoopPositionBox",
|
|
353
|
-
name: "",
|
|
354
|
-
type: "address",
|
|
355
|
-
},
|
|
356
|
-
{
|
|
357
|
-
internalType: "bytes32",
|
|
358
|
-
name: "",
|
|
359
|
-
type: "bytes32",
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
internalType: "address",
|
|
363
|
-
name: "asset",
|
|
364
|
-
type: "address",
|
|
365
|
-
},
|
|
366
|
-
],
|
|
367
|
-
name: "collateralBalance",
|
|
368
|
-
outputs: [
|
|
369
|
-
{
|
|
370
|
-
internalType: "uint256",
|
|
371
|
-
name: "balance",
|
|
372
|
-
type: "uint256",
|
|
373
|
-
},
|
|
374
|
-
],
|
|
375
|
-
stateMutability: "view",
|
|
376
|
-
type: "function",
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
inputs: [
|
|
380
|
-
{
|
|
381
|
-
internalType: "contract IPLoopPositionBox",
|
|
382
|
-
name: "",
|
|
383
|
-
type: "address",
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
internalType: "bytes32",
|
|
387
|
-
name: "",
|
|
388
|
-
type: "bytes32",
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
internalType: "address",
|
|
392
|
-
name: "asset",
|
|
393
|
-
type: "address",
|
|
394
|
-
},
|
|
395
|
-
],
|
|
396
|
-
name: "debtBalance",
|
|
397
|
-
outputs: [
|
|
398
|
-
{
|
|
399
|
-
internalType: "uint256",
|
|
400
|
-
name: "balance",
|
|
401
|
-
type: "uint256",
|
|
402
|
-
},
|
|
403
|
-
],
|
|
404
|
-
stateMutability: "view",
|
|
405
|
-
type: "function",
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
inputs: [
|
|
409
|
-
{
|
|
410
|
-
internalType: "contract IPLoopPositionBox",
|
|
411
|
-
name: "box",
|
|
412
|
-
type: "address",
|
|
413
|
-
},
|
|
414
|
-
{
|
|
415
|
-
internalType: "bytes32",
|
|
416
|
-
name: "mmPayload",
|
|
417
|
-
type: "bytes32",
|
|
418
|
-
},
|
|
419
|
-
{
|
|
420
|
-
internalType: "address",
|
|
421
|
-
name: "collateralAsset",
|
|
422
|
-
type: "address",
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
internalType: "address",
|
|
426
|
-
name: "debtAsset",
|
|
427
|
-
type: "address",
|
|
428
|
-
},
|
|
429
|
-
],
|
|
430
|
-
name: "initialize",
|
|
431
|
-
outputs: [],
|
|
432
|
-
stateMutability: "nonpayable",
|
|
433
|
-
type: "function",
|
|
434
|
-
},
|
|
435
|
-
{
|
|
436
|
-
inputs: [
|
|
437
|
-
{
|
|
438
|
-
internalType: "contract IPLoopPositionBox",
|
|
439
|
-
name: "box",
|
|
440
|
-
type: "address",
|
|
441
|
-
},
|
|
442
|
-
{
|
|
443
|
-
internalType: "bytes32",
|
|
444
|
-
name: "mmPayload",
|
|
445
|
-
type: "bytes32",
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
internalType: "address",
|
|
449
|
-
name: "asset",
|
|
450
|
-
type: "address",
|
|
451
|
-
},
|
|
452
|
-
{
|
|
453
|
-
internalType: "uint256",
|
|
454
|
-
name: "amount",
|
|
455
|
-
type: "uint256",
|
|
456
|
-
},
|
|
457
|
-
{
|
|
458
|
-
internalType: "uint256",
|
|
459
|
-
name: "minAmount",
|
|
460
|
-
type: "uint256",
|
|
461
|
-
},
|
|
462
|
-
],
|
|
463
|
-
name: "lend",
|
|
464
|
-
outputs: [
|
|
465
|
-
{
|
|
466
|
-
internalType: "uint256",
|
|
467
|
-
name: "lent",
|
|
468
|
-
type: "uint256",
|
|
469
|
-
},
|
|
470
|
-
{
|
|
471
|
-
internalType: "uint256",
|
|
472
|
-
name: "postCollateralBalance",
|
|
473
|
-
type: "uint256",
|
|
474
|
-
},
|
|
475
|
-
],
|
|
476
|
-
stateMutability: "nonpayable",
|
|
477
|
-
type: "function",
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
inputs: [],
|
|
481
|
-
name: "oracle",
|
|
482
|
-
outputs: [
|
|
483
|
-
{
|
|
484
|
-
internalType: "contract IAaveOracle",
|
|
485
|
-
name: "",
|
|
486
|
-
type: "address",
|
|
487
|
-
},
|
|
488
|
-
],
|
|
489
|
-
stateMutability: "view",
|
|
490
|
-
type: "function",
|
|
491
|
-
},
|
|
492
|
-
{
|
|
493
|
-
inputs: [
|
|
494
|
-
{
|
|
495
|
-
internalType: "contract IPLoopPositionBox",
|
|
496
|
-
name: "",
|
|
497
|
-
type: "address",
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
internalType: "bytes32",
|
|
501
|
-
name: "",
|
|
502
|
-
type: "bytes32",
|
|
503
|
-
},
|
|
504
|
-
{
|
|
505
|
-
internalType: "address",
|
|
506
|
-
name: "collateralAsset",
|
|
507
|
-
type: "address",
|
|
508
|
-
},
|
|
509
|
-
{
|
|
510
|
-
internalType: "address",
|
|
511
|
-
name: "debtAsset",
|
|
512
|
-
type: "address",
|
|
513
|
-
},
|
|
514
|
-
],
|
|
515
|
-
name: "oraclePtDebtRate",
|
|
516
|
-
outputs: [
|
|
517
|
-
{
|
|
518
|
-
internalType: "uint256",
|
|
519
|
-
name: "",
|
|
520
|
-
type: "uint256",
|
|
521
|
-
},
|
|
522
|
-
],
|
|
523
|
-
stateMutability: "view",
|
|
524
|
-
type: "function",
|
|
525
|
-
},
|
|
526
|
-
{
|
|
527
|
-
inputs: [],
|
|
528
|
-
name: "pool",
|
|
529
|
-
outputs: [
|
|
530
|
-
{
|
|
531
|
-
internalType: "contract IPool",
|
|
532
|
-
name: "",
|
|
533
|
-
type: "address",
|
|
534
|
-
},
|
|
535
|
-
],
|
|
536
|
-
stateMutability: "view",
|
|
537
|
-
type: "function",
|
|
538
|
-
},
|
|
539
|
-
{
|
|
540
|
-
inputs: [],
|
|
541
|
-
name: "poolAddressesProvider",
|
|
542
|
-
outputs: [
|
|
543
|
-
{
|
|
544
|
-
internalType: "contract IPoolAddressesProvider",
|
|
545
|
-
name: "",
|
|
546
|
-
type: "address",
|
|
547
|
-
},
|
|
548
|
-
],
|
|
549
|
-
stateMutability: "view",
|
|
550
|
-
type: "function",
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
inputs: [
|
|
554
|
-
{
|
|
555
|
-
internalType: "contract IPLoopPositionBox",
|
|
556
|
-
name: "box",
|
|
557
|
-
type: "address",
|
|
558
|
-
},
|
|
559
|
-
{
|
|
560
|
-
internalType: "bytes32",
|
|
561
|
-
name: "mmPayload",
|
|
562
|
-
type: "bytes32",
|
|
563
|
-
},
|
|
564
|
-
{
|
|
565
|
-
internalType: "address",
|
|
566
|
-
name: "asset",
|
|
567
|
-
type: "address",
|
|
568
|
-
},
|
|
569
|
-
{
|
|
570
|
-
internalType: "uint256",
|
|
571
|
-
name: "amount",
|
|
572
|
-
type: "uint256",
|
|
573
|
-
},
|
|
574
|
-
{
|
|
575
|
-
internalType: "uint256",
|
|
576
|
-
name: "minAmount",
|
|
577
|
-
type: "uint256",
|
|
578
|
-
},
|
|
579
|
-
],
|
|
580
|
-
name: "repay",
|
|
581
|
-
outputs: [
|
|
582
|
-
{
|
|
583
|
-
internalType: "uint256",
|
|
584
|
-
name: "repaid",
|
|
585
|
-
type: "uint256",
|
|
586
|
-
},
|
|
587
|
-
{
|
|
588
|
-
internalType: "uint256",
|
|
589
|
-
name: "postDebtBalance",
|
|
590
|
-
type: "uint256",
|
|
591
|
-
},
|
|
592
|
-
],
|
|
593
|
-
stateMutability: "nonpayable",
|
|
594
|
-
type: "function",
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
inputs: [],
|
|
598
|
-
name: "rewardsController",
|
|
599
|
-
outputs: [
|
|
600
|
-
{
|
|
601
|
-
internalType: "contract IAaveRewardsController",
|
|
602
|
-
name: "",
|
|
603
|
-
type: "address",
|
|
604
|
-
},
|
|
605
|
-
],
|
|
606
|
-
stateMutability: "view",
|
|
607
|
-
type: "function",
|
|
608
|
-
},
|
|
609
|
-
{
|
|
610
|
-
inputs: [
|
|
611
|
-
{
|
|
612
|
-
internalType: "contract IPLoopPositionBox",
|
|
613
|
-
name: "box",
|
|
614
|
-
type: "address",
|
|
615
|
-
},
|
|
616
|
-
{
|
|
617
|
-
internalType: "bytes32",
|
|
618
|
-
name: "mmPayload",
|
|
619
|
-
type: "bytes32",
|
|
620
|
-
},
|
|
621
|
-
{
|
|
622
|
-
internalType: "address",
|
|
623
|
-
name: "asset",
|
|
624
|
-
type: "address",
|
|
625
|
-
},
|
|
626
|
-
{
|
|
627
|
-
internalType: "uint256",
|
|
628
|
-
name: "amount",
|
|
629
|
-
type: "uint256",
|
|
630
|
-
},
|
|
631
|
-
{
|
|
632
|
-
internalType: "address",
|
|
633
|
-
name: "to",
|
|
634
|
-
type: "address",
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
internalType: "uint256",
|
|
638
|
-
name: "minAmount",
|
|
639
|
-
type: "uint256",
|
|
640
|
-
},
|
|
641
|
-
],
|
|
642
|
-
name: "withdraw",
|
|
643
|
-
outputs: [
|
|
644
|
-
{
|
|
645
|
-
internalType: "uint256",
|
|
646
|
-
name: "withdrawn",
|
|
647
|
-
type: "uint256",
|
|
648
|
-
},
|
|
649
|
-
{
|
|
650
|
-
internalType: "uint256",
|
|
651
|
-
name: "postCollateralBalance",
|
|
652
|
-
type: "uint256",
|
|
653
|
-
},
|
|
654
|
-
],
|
|
655
|
-
stateMutability: "nonpayable",
|
|
656
|
-
type: "function",
|
|
657
|
-
},
|
|
658
|
-
];
|
|
659
|
-
|
|
660
|
-
const _bytecode =
|
|
661
|
-
"0x610100604052348015610010575f5ffd5b50604051611db3380380611db383398101604081905261002f916100d3565b6001600160a01b03831660808190526040805163ca6f50fd60e01b8152905185929163ca6f50fd9160048083019260209291908290030181865afa158015610079573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061009d919061011d565b6001600160a01b0390811660a05292831660c052501660e0525061013f565b6001600160a01b03811681146100d0575f5ffd5b50565b5f5f5f606084860312156100e5575f5ffd5b83516100f0816100bc565b6020850151909350610101816100bc565b6040850151909250610112816100bc565b809150509250925092565b5f6020828403121561012d575f5ffd5b8151610138816100bc565b9392505050565b60805160a05160c05160e051611c106101a35f395f81816101340152610bb801525f81816101780152818161040f015261053201525f61059701525f818161021e0152818161049d015281816105f301528181610721015261084f0152611c105ff3fe608060405234801561000f575f5ffd5b50600436106100b8575f3560e01c806308c790b5146100bc5780630e786cd0146100e6578063151600c91461010757806316f0115b1461011a5780636bb65f531461012f5780636f45c8c0146101565780637dc0d1d01461016b57806380e17d871461017357806396c9f17e1461019a57806396f721ac146101ad57806399f8ad35146101c0578063e5465026146101d3578063f75d217f146101e6578063fbf36710146101fe575b5f5ffd5b6100cf6100ca36600461149e565b610211565b6040516100dd929190611501565b60405180910390f35b6100f96100f436600461150f565b61035d565b6040519081526020016100dd565b6100f961011536600461154e565b6103d9565b61012261040c565b6040516100dd919061159e565b6101227f000000000000000000000000000000000000000000000000000000000000000081565b6101696101643660046115b2565b610492565b005b61012261052f565b6101227f000000000000000000000000000000000000000000000000000000000000000081565b6101696101a836600461154e565b61058c565b6100cf6101bb36600461149e565b6105e6565b6100f96101ce36600461150f565b61070a565b6100cf6101e1366004611616565b610714565b6101ee600181565b60405190151581526020016100dd565b6100cf61020c366004611616565b610842565b5f80336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146102645760405162461bcd60e51b815260040161025b90611664565b60405180910390fd5b5f61027089898961070a565b905085158061027d575080155b1561028c575f92509050610352565b61029a898989898986610965565b92506102a683826116ab565b9150838310156103035760405162461bcd60e51b815260206004820152602260248201527f4d6f6e65794d61726b65743a2077697468647261776e203c206d696e416d6f756044820152611b9d60f21b606482015260840161025b565b866001600160a01b0316896001600160a01b03167f91fb9d98b786c57d74c099ccd2beca1739e9f6a81fb49001ca465c4b7591bbe28584604051610348929190611501565b60405180910390a3505b965096945050505050565b5f610367826109f4565b6001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401610392919061159e565b602060405180830381865afa1580156103ad573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103d191906116be565b949350505050565b5f5f6103e361052f565b90506104026103f28285610a73565b6103fc8387610a73565b90610aee565b9695505050505050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663026b1d5f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610469573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061048d91906116d5565b905090565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104da5760405162461bcd60e51b815260040161025b90611664565b6104e78585858585610b1c565b846001600160a01b03167f76fefaa578826cd28a6d72d47460f755534b9a481c773721143222296cc4cc5a82604051610520919061159e565b60405180910390a25050505050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663fca513a86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610469573d5f5f3e3d5ffd5b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146105d45760405162461bcd60e51b815260040161025b90611664565b6105e084848484610c3d565b50505050565b5f80336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146106305760405162461bcd60e51b815260040161025b90611664565b5f61063c89898961035d565b9050855f0361064f575f92509050610352565b61065d898989898986610cc0565b925061066981846116f7565b9150838310156106c55760405162461bcd60e51b815260206004820152602160248201527f4d6f6e65794d61726b65743a20626f72726f776564203c206d696e416d6f756e6044820152601d60fa1b606482015260840161025b565b866001600160a01b0316896001600160a01b03167fc14e9e6b4d98a542b05a0f6b64acd5f4cbdb914be88432d87486b664e97071a78584604051610348929190611501565b5f61036782610d51565b5f80336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461075e5760405162461bcd60e51b815260040161025b90611664565b5f61076a88888861070a565b9050845f0361077d575f92509050610838565b61078b888888888c86610dd0565b925061079781846116f7565b9150838310156107e95760405162461bcd60e51b815260206004820152601d60248201527f4d6f6e65794d61726b65743a206c656e74203c206d696e416d6f756e74000000604482015260640161025b565b856001600160a01b0316886001600160a01b03167fb07c18dba66f7fd615f13c777549719e8ea100489339e0fdc30b7076bd77d604858460405161082e929190611501565b60405180910390a3505b9550959350505050565b5f80336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461088c5760405162461bcd60e51b815260040161025b90611664565b5f61089888888861035d565b90508415806108a5575080155b156108b4575f92509050610838565b6108c2888888888c86610e69565b92506108ce83826116ab565b9150838310156109205760405162461bcd60e51b815260206004820152601f60248201527f4d6f6e65794d61726b65743a20726570616964203c206d696e416d6f756e7400604482015260640161025b565b856001600160a01b0316886001600160a01b03167fe62a777dbd48d3912f68a1b9445813ee02bc3ac18b97dc129ca462cc77bb641b858460405161082e929190611501565b5f61096e61040c565b604051631a4ca37b60e21b81526001600160a01b03878116600483015260248201879052858116604483015291909116906369328dec906064015b6020604051808303815f875af11580156109c5573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e991906116be565b979650505050505050565b5f6109fd61040c565b6001600160a01b03166335ea6a75836040518263ffffffff1660e01b8152600401610a28919061159e565b6101e060405180830381865afa158015610a44573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a689190611801565b610140015192915050565b60405163b3596f0760e01b81525f906001600160a01b0384169063b3596f0790610aa190859060040161159e565b602060405180830381865afa925050508015610ada575060408051601f3d908101601f19168201909252610ad7918101906116be565b60015b610ae557505f610ae8565b90505b92915050565b5f80610b02670de0b6b3a76400008561192b565b9050828181610b1357610b13611942565b04949350505050565b6040805160028082526060820183525f92602083019080368337019050509050610b4584610d51565b815f81518110610b5757610b57611956565b60200260200101906001600160a01b031690816001600160a01b031681525050610b80836109f4565b81600181518110610b9357610b93611956565b6001600160a01b03928316602091820292909201015260405163bb492bf560e01b81527f00000000000000000000000000000000000000000000000000000000000000009091169063bb492bf590610bf1908490869060040161196a565b5f604051808303815f875af1158015610c0c573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c339190810190611a58565b5050505050505050565b5f610c4661040c565b90505f846040516328530a4760e01b815260ff821660048201529091506001600160a01b038316906328530a47906024015f604051808303815f87803b158015610c8e575f5ffd5b505af1158015610ca0573d5f5f3e3d5ffd5b50505050610cae8483610ed4565b610cb88383610ed4565b505050505050565b5f610cc961040c565b60405163a415bcad60e01b81526001600160a01b03878116600483015260248201879052600260448301525f6064830152306084830152919091169063a415bcad9060a4015f604051808303815f87803b158015610d25575f5ffd5b505af1158015610d37573d5f5f3e3d5ffd5b50505050610d46858486610f94565b509195945050505050565b5f610d5a61040c565b6001600160a01b03166335ea6a75836040518263ffffffff1660e01b8152600401610d85919061159e565b6101e060405180830381865afa158015610da1573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dc59190611801565b610100015192915050565b5f610ddd8584308761106b565b610de78585611086565b5082610100861615801590610e5e57610dfe61040c565b604051635a3b74b960e01b81526001600160a01b038881166004830152600160248301529190911690635a3b74b9906044015f604051808303815f87803b158015610e47575f5ffd5b505af1158015610e59573d5f5f3e3d5ffd5b505050505b509695505050505050565b5f610e7484836110f5565b9050801561040257610e888584308461106b565b610e9061040c565b60405163573ade8160e01b81526001600160a01b0387811660048301526024820184905260026044830152306064830152919091169063573ade81906084016109a9565b6001600160a01b038216610ee6575050565b610ef860026001600160601b03611b1d565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa158015610f4f573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f7391906116be565b1015610f9057610f8482825f61110a565b610f9082825f1961110a565b5050565b801580610fa957506001600160a01b03821630145b15610fb357505050565b6001600160a01b038316611052575f826001600160a01b0316826040515f6040518083038185875af1925050503d805f811461100a576040519150601f19603f3d011682016040523d82523d5f602084013e61100f565b606091505b50509050806105e05760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b604482015260640161025b565b6110666001600160a01b0384168383611219565b505050565b80156105e0576105e06001600160a01b03851684848461126f565b61108e61040c565b60405163617ba03760e01b81526001600160a01b038481166004830152602482018490523060448301525f6064830152919091169063617ba037906084015f604051808303815f87803b1580156110e3575f5ffd5b505af1158015610cb8573d5f5f3e3d5ffd5b5f8183106111035781610ae5565b5090919050565b5f5f846001600160a01b031663095ea7b360e01b8585604051602401611131929190611b57565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b031990941693909317909252905161116f9190611b70565b5f604051808303815f865af19150503d805f81146111a8576040519150601f19603f3d011682016040523d82523d5f602084013e6111ad565b606091505b50915091508180156111d75750805115806111d75750808060200190518101906111d79190611b86565b6112125760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b604482015260640161025b565b5050505050565b6110668363a9059cbb60e01b8484604051602401611238929190611b57565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526112a7565b6040516001600160a01b03808516602483015283166044820152606481018290526105e09085906323b872dd60e01b90608401611238565b5f6112fb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661137a9092919063ffffffff16565b905080515f148061131b57508080602001905181019061131b9190611b86565b6110665760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161025b565b60606103d184845f85855f5f866001600160a01b0316858760405161139f9190611b70565b5f6040518083038185875af1925050503d805f81146113d9576040519150601f19603f3d011682016040523d82523d5f602084013e6113de565b606091505b50915091506109e987838387606083156114585782515f03611451576001600160a01b0385163b6114515760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161025b565b50816103d1565b6103d1838381511561146d5781518083602001fd5b8060405162461bcd60e51b815260040161025b9190611ba5565b6001600160a01b038116811461149b575f5ffd5b50565b5f5f5f5f5f5f60c087890312156114b3575f5ffd5b86356114be81611487565b95506020870135945060408701356114d581611487565b93506060870135925060808701356114ec81611487565b9598949750929591949360a090920135925050565b918252602082015260400190565b5f5f5f60608486031215611521575f5ffd5b833561152c81611487565b925060208401359150604084013561154381611487565b809150509250925092565b5f5f5f5f60808587031215611561575f5ffd5b843561156c81611487565b935060208501359250604085013561158381611487565b9150606085013561159381611487565b939692955090935050565b6001600160a01b0391909116815260200190565b5f5f5f5f5f60a086880312156115c6575f5ffd5b85356115d181611487565b94506020860135935060408601356115e881611487565b925060608601356115f881611487565b9150608086013561160881611487565b809150509295509295909350565b5f5f5f5f5f60a0868803121561162a575f5ffd5b853561163581611487565b945060208601359350604086013561164c81611487565b94979396509394606081013594506080013592915050565b602080825260199082015278135bdb995e53585c9ad95d0e881d5b985d5d1a1bdc9a5e9959603a1b604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b81810381811115610ae857610ae8611697565b5f602082840312156116ce575f5ffd5b5051919050565b5f602082840312156116e5575f5ffd5b81516116f081611487565b9392505050565b80820180821115610ae857610ae8611697565b634e487b7160e01b5f52604160045260245ffd5b6040516101e081016001600160401b03811182821017156117415761174161170a565b60405290565b604051601f8201601f191681016001600160401b038111828210171561176f5761176f61170a565b604052919050565b5f60208284031215611787575f5ffd5b604051602081016001600160401b03811182821017156117a9576117a961170a565b6040529151825250919050565b80516001600160801b03811681146117cc575f5ffd5b919050565b805164ffffffffff811681146117cc575f5ffd5b805161ffff811681146117cc575f5ffd5b80516117cc81611487565b5f6101e0828403128015611813575f5ffd5b5061181c61171e565b6118268484611777565b8152611834602084016117b6565b6020820152611845604084016117b6565b6040820152611856606084016117b6565b6060820152611867608084016117b6565b608082015261187860a084016117b6565b60a082015261188960c084016117d1565b60c082015261189a60e084016117e5565b60e08201526118ac61010084016117f6565b6101008201526118bf61012084016117f6565b6101208201526118d261014084016117f6565b6101408201526118e561016084016117f6565b6101608201526118f861018084016117b6565b61018082015261190b6101a084016117b6565b6101a082015261191e6101c084016117b6565b6101c08201529392505050565b8082028115828204841417610ae857610ae8611697565b634e487b7160e01b5f52601260045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b604080825283519082018190525f9060208501906060840190835b818110156119ac5783516001600160a01b0316835260209384019390920191600101611985565b50506001600160a01b039490941660209390930192909252509092915050565b5f6001600160401b038211156119e4576119e461170a565b5060051b60200190565b5f82601f8301126119fd575f5ffd5b8151611a10611a0b826119cc565b611747565b8082825260208201915060208360051b860101925085831115611a31575f5ffd5b602085015b83811015611a4e578051835260209283019201611a36565b5095945050505050565b5f5f60408385031215611a69575f5ffd5b82516001600160401b03811115611a7e575f5ffd5b8301601f81018513611a8e575f5ffd5b8051611a9c611a0b826119cc565b8082825260208201915060208360051b850101925087831115611abd575f5ffd5b6020840193505b82841015611ae8578351611ad781611487565b825260209384019390910190611ac4565b6020870151909550925050506001600160401b03811115611b07575f5ffd5b611b13858286016119ee565b9150509250929050565b5f6001600160601b03831680611b4157634e487b7160e01b5f52601260045260245ffd5b6001600160601b03929092169190910492915050565b6001600160a01b03929092168252602082015260400190565b5f82518060208501845e5f920191825250919050565b5f60208284031215611b96575f5ffd5b815180151581146116f0575f5ffd5b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f8301168401019150509291505056fea2646970667358221220de957018ffbfe3b4110a93a042bddf72243b03e3a630cda88215fbd1156c02b064736f6c634300081e0033";
|
|
662
|
-
|
|
663
|
-
type AaveMoneyMarketConstructorParams =
|
|
664
|
-
| [signer?: Signer]
|
|
665
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
666
|
-
|
|
667
|
-
const isSuperArgs = (
|
|
668
|
-
xs: AaveMoneyMarketConstructorParams
|
|
669
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
670
|
-
|
|
671
|
-
export class AaveMoneyMarket__factory extends ContractFactory {
|
|
672
|
-
constructor(...args: AaveMoneyMarketConstructorParams) {
|
|
673
|
-
if (isSuperArgs(args)) {
|
|
674
|
-
super(...args);
|
|
675
|
-
} else {
|
|
676
|
-
super(_abi, _bytecode, args[0]);
|
|
677
|
-
}
|
|
678
|
-
this.contractName = "AaveMoneyMarket";
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
deploy(
|
|
682
|
-
ptLooper: string,
|
|
683
|
-
_poolAddressesProvider: string,
|
|
684
|
-
_rewardsController: string,
|
|
685
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
686
|
-
): Promise<AaveMoneyMarket> {
|
|
687
|
-
return super.deploy(
|
|
688
|
-
ptLooper,
|
|
689
|
-
_poolAddressesProvider,
|
|
690
|
-
_rewardsController,
|
|
691
|
-
overrides || {}
|
|
692
|
-
) as Promise<AaveMoneyMarket>;
|
|
693
|
-
}
|
|
694
|
-
getDeployTransaction(
|
|
695
|
-
ptLooper: string,
|
|
696
|
-
_poolAddressesProvider: string,
|
|
697
|
-
_rewardsController: string,
|
|
698
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
699
|
-
): TransactionRequest {
|
|
700
|
-
return super.getDeployTransaction(
|
|
701
|
-
ptLooper,
|
|
702
|
-
_poolAddressesProvider,
|
|
703
|
-
_rewardsController,
|
|
704
|
-
overrides || {}
|
|
705
|
-
);
|
|
706
|
-
}
|
|
707
|
-
attach(address: string): AaveMoneyMarket {
|
|
708
|
-
return super.attach(address) as AaveMoneyMarket;
|
|
709
|
-
}
|
|
710
|
-
connect(signer: Signer): AaveMoneyMarket__factory {
|
|
711
|
-
return super.connect(signer) as AaveMoneyMarket__factory;
|
|
712
|
-
}
|
|
713
|
-
static readonly contractName: "AaveMoneyMarket";
|
|
714
|
-
public readonly contractName: "AaveMoneyMarket";
|
|
715
|
-
static readonly bytecode = _bytecode;
|
|
716
|
-
static readonly abi = _abi;
|
|
717
|
-
static createInterface(): AaveMoneyMarketInterface {
|
|
718
|
-
return new utils.Interface(_abi) as AaveMoneyMarketInterface;
|
|
719
|
-
}
|
|
720
|
-
static connect(
|
|
721
|
-
address: string,
|
|
722
|
-
signerOrProvider: Signer | Provider
|
|
723
|
-
): AaveMoneyMarket {
|
|
724
|
-
return new Contract(address, _abi, signerOrProvider) as AaveMoneyMarket;
|
|
725
|
-
}
|
|
726
|
-
}
|