@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.
Files changed (348) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.dbg.json +1 -1
  18. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  19. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  20. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  44. package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.dbg.json +1 -1
  45. package/build/artifacts/contracts/cross-chain/OFTPTSwapper.sol/OFTPTSwapper.dbg.json +4 -0
  46. package/build/artifacts/contracts/cross-chain/OFTPTSwapper.sol/OFTPTSwapper.json +99 -0
  47. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.dbg.json +1 -1
  48. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.dbg.json +1 -1
  49. package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.dbg.json +1 -1
  50. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.dbg.json +1 -1
  51. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  52. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.dbg.json +1 -1
  53. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.dbg.json +1 -1
  54. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  55. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.dbg.json +1 -1
  56. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
  57. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +1 -1
  58. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPBridgeFunder.sol/IPBridgeFunder.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPOFTPTSwapper.sol/IPOFTPTSwapper.dbg.json +4 -0
  121. package/build/artifacts/contracts/interfaces/{IPSwapHelper.sol/IPSwapHelper.json → IPOFTPTSwapper.sol/IPOFTPTSwapper.json} +2 -2
  122. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  143. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  144. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  145. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  146. package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.dbg.json +1 -1
  147. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  148. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  149. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  150. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  151. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  152. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  153. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  154. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.dbg.json +1 -1
  155. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  156. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  157. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  158. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  159. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  160. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  161. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  162. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
  163. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  168. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  172. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  173. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  179. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  182. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  183. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  185. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  186. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  187. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  188. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  189. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  190. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  191. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  192. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  193. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  194. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  195. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  196. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
  197. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
  198. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
  199. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
  200. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  201. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  202. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  203. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  204. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  205. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  206. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  207. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  208. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  209. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  210. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  211. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  212. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  213. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  214. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  215. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  216. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  217. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  218. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  219. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  220. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  221. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  222. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  223. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  224. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  225. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  226. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  227. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  228. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  229. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  230. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  231. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  232. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  233. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  234. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  235. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  236. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  237. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  238. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  239. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  240. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  241. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  242. package/contracts/cross-chain/{PendleSwapHelper.sol → OFTPTSwapper.sol} +4 -3
  243. package/contracts/interfaces/{IPSwapHelper.sol → IPOFTPTSwapper.sol} +1 -1
  244. package/deployments/1-core.json +2 -1
  245. package/deployments/130-core.json +2 -1
  246. package/deployments/143-core.json +2 -1
  247. package/deployments/42161-core.json +2 -1
  248. package/deployments/4217-core.json +2 -1
  249. package/deployments/43114-core.json +2 -1
  250. package/deployments/56-core.json +2 -1
  251. package/deployments/57073-core.json +2 -1
  252. package/deployments/747474-core.json +2 -1
  253. package/deployments/8453-core.json +2 -1
  254. package/deployments/9745-core.json +2 -1
  255. package/deployments/999-core.json +2 -1
  256. package/package.json +1 -1
  257. package/typechain-types/IPOFTPTSwapper.ts +161 -0
  258. package/typechain-types/OFTPTSwapper.ts +161 -0
  259. package/typechain-types/UUPSUpgradeable.ts +9 -0
  260. package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
  261. package/typechain-types/factories/FixedPricePTAMM__factory.ts +1 -1
  262. package/typechain-types/factories/IPOFTPTSwapper__factory.ts +114 -0
  263. package/typechain-types/factories/OFTPTSwapper__factory.ts +149 -0
  264. package/typechain-types/factories/PendlePTOFTAdapterFactory__factory.ts +1 -1
  265. package/typechain-types/factories/UUPSUpgradeable__factory.ts +13 -0
  266. package/typechain-types/hardhat.d.ts +22 -22
  267. package/typechain-types/index.ts +6 -6
  268. package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.dbg.json +0 -4
  269. package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.json +0 -99
  270. package/build/artifacts/contracts/interfaces/IPSwapHelper.sol/IPSwapHelper.dbg.json +0 -4
  271. package/typechain-types/AaveMoneyMarket.ts +0 -763
  272. package/typechain-types/AaveMoneyMarketView.ts +0 -460
  273. package/typechain-types/BaseMoneyMarket.ts +0 -697
  274. package/typechain-types/BaseMoneyMarketView.ts +0 -362
  275. package/typechain-types/IAToken.ts +0 -358
  276. package/typechain-types/IAaveOracle.ts +0 -235
  277. package/typechain-types/IAaveRewardsController.ts +0 -1186
  278. package/typechain-types/IDefaultReserveInterestRateStrategyV3.ts +0 -431
  279. package/typechain-types/IDefaultReserveInterestRateStrategyV31.ts +0 -606
  280. package/typechain-types/IDssPsm.ts +0 -194
  281. package/typechain-types/IERC4626.ts +0 -864
  282. package/typechain-types/IFlashLoanReceiver.ts +0 -125
  283. package/typechain-types/IIrm.ts +0 -260
  284. package/typechain-types/IMoneyMarket.ts +0 -700
  285. package/typechain-types/IMoneyMarketEvents.ts +0 -196
  286. package/typechain-types/IMoneyMarketView.ts +0 -331
  287. package/typechain-types/IMorpho.ts +0 -1147
  288. package/typechain-types/IMorphoOracle.ts +0 -81
  289. package/typechain-types/IMulticall.ts +0 -117
  290. package/typechain-types/IPLoopPositionBox.ts +0 -298
  291. package/typechain-types/IPLoopPositionBoxFactory.ts +0 -434
  292. package/typechain-types/IPPTLooper.ts +0 -1550
  293. package/typechain-types/IPPTLooperView.ts +0 -468
  294. package/typechain-types/IPool.ts +0 -2220
  295. package/typechain-types/IPoolAddressesProvider.ts +0 -789
  296. package/typechain-types/IPoolDataProviderV3.ts +0 -865
  297. package/typechain-types/IPoolDataProviderV31.ts +0 -933
  298. package/typechain-types/IPot.ts +0 -181
  299. package/typechain-types/IPriceOracleGetter.ts +0 -133
  300. package/typechain-types/ISDAI.ts +0 -877
  301. package/typechain-types/LoopPositionBox.ts +0 -309
  302. package/typechain-types/LoopPositionBoxFactory.ts +0 -609
  303. package/typechain-types/MorphoBlueMoneyMarket.ts +0 -731
  304. package/typechain-types/MorphoBlueMoneyMarketView.ts +0 -396
  305. package/typechain-types/Multicall.ts +0 -117
  306. package/typechain-types/PTLooperBase.ts +0 -1759
  307. package/typechain-types/PTLooperView.ts +0 -618
  308. package/typechain-types/PendlePTLooper.ts +0 -1784
  309. package/typechain-types/PendlePTLooperView.ts +0 -648
  310. package/typechain-types/factories/AaveMoneyMarketView__factory.ts +0 -450
  311. package/typechain-types/factories/AaveMoneyMarket__factory.ts +0 -726
  312. package/typechain-types/factories/BaseMoneyMarketView__factory.ts +0 -279
  313. package/typechain-types/factories/BaseMoneyMarket__factory.ts +0 -599
  314. package/typechain-types/factories/IAToken__factory.ts +0 -258
  315. package/typechain-types/factories/IAaveOracle__factory.ts +0 -132
  316. package/typechain-types/factories/IAaveRewardsController__factory.ts +0 -743
  317. package/typechain-types/factories/IDefaultReserveInterestRateStrategyV31__factory.ts +0 -441
  318. package/typechain-types/factories/IDefaultReserveInterestRateStrategyV3__factory.ts +0 -278
  319. package/typechain-types/factories/IDssPsm__factory.ts +0 -122
  320. package/typechain-types/factories/IERC4626__factory.ts +0 -635
  321. package/typechain-types/factories/IFlashLoanReceiver__factory.ts +0 -65
  322. package/typechain-types/factories/IIrm__factory.ts +0 -243
  323. package/typechain-types/factories/IMoneyMarketEvents__factory.ts +0 -225
  324. package/typechain-types/factories/IMoneyMarketView__factory.ts +0 -253
  325. package/typechain-types/factories/IMoneyMarket__factory.ts +0 -596
  326. package/typechain-types/factories/IMorphoOracle__factory.ts +0 -36
  327. package/typechain-types/factories/IMorpho__factory.ts +0 -1045
  328. package/typechain-types/factories/IMulticall__factory.ts +0 -66
  329. package/typechain-types/factories/IPLoopPositionBoxFactory__factory.ts +0 -420
  330. package/typechain-types/factories/IPLoopPositionBox__factory.ts +0 -198
  331. package/typechain-types/factories/IPPTLooperView__factory.ts +0 -331
  332. package/typechain-types/factories/IPPTLooper__factory.ts +0 -2506
  333. package/typechain-types/factories/IPoolAddressesProvider__factory.ts +0 -526
  334. package/typechain-types/factories/IPoolDataProviderV31__factory.ts +0 -596
  335. package/typechain-types/factories/IPoolDataProviderV3__factory.ts +0 -554
  336. package/typechain-types/factories/IPool__factory.ts +0 -1609
  337. package/typechain-types/factories/IPot__factory.ts +0 -98
  338. package/typechain-types/factories/IPriceOracleGetter__factory.ts +0 -71
  339. package/typechain-types/factories/ISDAI__factory.ts +0 -645
  340. package/typechain-types/factories/LoopPositionBoxFactory__factory.ts +0 -648
  341. package/typechain-types/factories/LoopPositionBox__factory.ts +0 -277
  342. package/typechain-types/factories/MorphoBlueMoneyMarketView__factory.ts +0 -384
  343. package/typechain-types/factories/MorphoBlueMoneyMarket__factory.ts +0 -691
  344. package/typechain-types/factories/Multicall__factory.ts +0 -104
  345. package/typechain-types/factories/PTLooperBase__factory.ts +0 -2656
  346. package/typechain-types/factories/PTLooperView__factory.ts +0 -467
  347. package/typechain-types/factories/PendlePTLooperView__factory.ts +0 -499
  348. package/typechain-types/factories/PendlePTLooper__factory.ts +0 -2738
@@ -1,1609 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
-
5
- import { Contract, Signer, utils } from "ethers";
6
- import { Provider } from "@ethersproject/providers";
7
- import type { IPool, IPoolInterface } from "../IPool";
8
-
9
- const _abi = [
10
- {
11
- anonymous: false,
12
- inputs: [
13
- {
14
- indexed: true,
15
- internalType: "address",
16
- name: "reserve",
17
- type: "address",
18
- },
19
- {
20
- indexed: true,
21
- internalType: "address",
22
- name: "backer",
23
- type: "address",
24
- },
25
- {
26
- indexed: false,
27
- internalType: "uint256",
28
- name: "amount",
29
- type: "uint256",
30
- },
31
- {
32
- indexed: false,
33
- internalType: "uint256",
34
- name: "fee",
35
- type: "uint256",
36
- },
37
- ],
38
- name: "BackUnbacked",
39
- type: "event",
40
- },
41
- {
42
- anonymous: false,
43
- inputs: [
44
- {
45
- indexed: true,
46
- internalType: "address",
47
- name: "reserve",
48
- type: "address",
49
- },
50
- {
51
- indexed: false,
52
- internalType: "address",
53
- name: "user",
54
- type: "address",
55
- },
56
- {
57
- indexed: true,
58
- internalType: "address",
59
- name: "onBehalfOf",
60
- type: "address",
61
- },
62
- {
63
- indexed: false,
64
- internalType: "uint256",
65
- name: "amount",
66
- type: "uint256",
67
- },
68
- {
69
- indexed: false,
70
- internalType: "enum AaveDataTypes.InterestRateMode",
71
- name: "interestRateMode",
72
- type: "uint8",
73
- },
74
- {
75
- indexed: false,
76
- internalType: "uint256",
77
- name: "borrowRate",
78
- type: "uint256",
79
- },
80
- {
81
- indexed: true,
82
- internalType: "uint16",
83
- name: "referralCode",
84
- type: "uint16",
85
- },
86
- ],
87
- name: "Borrow",
88
- type: "event",
89
- },
90
- {
91
- anonymous: false,
92
- inputs: [
93
- {
94
- indexed: true,
95
- internalType: "address",
96
- name: "target",
97
- type: "address",
98
- },
99
- {
100
- indexed: false,
101
- internalType: "address",
102
- name: "initiator",
103
- type: "address",
104
- },
105
- {
106
- indexed: true,
107
- internalType: "address",
108
- name: "asset",
109
- type: "address",
110
- },
111
- {
112
- indexed: false,
113
- internalType: "uint256",
114
- name: "amount",
115
- type: "uint256",
116
- },
117
- {
118
- indexed: false,
119
- internalType: "enum AaveDataTypes.InterestRateMode",
120
- name: "interestRateMode",
121
- type: "uint8",
122
- },
123
- {
124
- indexed: false,
125
- internalType: "uint256",
126
- name: "premium",
127
- type: "uint256",
128
- },
129
- {
130
- indexed: true,
131
- internalType: "uint16",
132
- name: "referralCode",
133
- type: "uint16",
134
- },
135
- ],
136
- name: "FlashLoan",
137
- type: "event",
138
- },
139
- {
140
- anonymous: false,
141
- inputs: [
142
- {
143
- indexed: true,
144
- internalType: "address",
145
- name: "asset",
146
- type: "address",
147
- },
148
- {
149
- indexed: false,
150
- internalType: "uint256",
151
- name: "totalDebt",
152
- type: "uint256",
153
- },
154
- ],
155
- name: "IsolationModeTotalDebtUpdated",
156
- type: "event",
157
- },
158
- {
159
- anonymous: false,
160
- inputs: [
161
- {
162
- indexed: true,
163
- internalType: "address",
164
- name: "collateralAsset",
165
- type: "address",
166
- },
167
- {
168
- indexed: true,
169
- internalType: "address",
170
- name: "debtAsset",
171
- type: "address",
172
- },
173
- {
174
- indexed: true,
175
- internalType: "address",
176
- name: "user",
177
- type: "address",
178
- },
179
- {
180
- indexed: false,
181
- internalType: "uint256",
182
- name: "debtToCover",
183
- type: "uint256",
184
- },
185
- {
186
- indexed: false,
187
- internalType: "uint256",
188
- name: "liquidatedCollateralAmount",
189
- type: "uint256",
190
- },
191
- {
192
- indexed: false,
193
- internalType: "address",
194
- name: "liquidator",
195
- type: "address",
196
- },
197
- {
198
- indexed: false,
199
- internalType: "bool",
200
- name: "receiveAToken",
201
- type: "bool",
202
- },
203
- ],
204
- name: "LiquidationCall",
205
- type: "event",
206
- },
207
- {
208
- anonymous: false,
209
- inputs: [
210
- {
211
- indexed: true,
212
- internalType: "address",
213
- name: "reserve",
214
- type: "address",
215
- },
216
- {
217
- indexed: false,
218
- internalType: "address",
219
- name: "user",
220
- type: "address",
221
- },
222
- {
223
- indexed: true,
224
- internalType: "address",
225
- name: "onBehalfOf",
226
- type: "address",
227
- },
228
- {
229
- indexed: false,
230
- internalType: "uint256",
231
- name: "amount",
232
- type: "uint256",
233
- },
234
- {
235
- indexed: true,
236
- internalType: "uint16",
237
- name: "referralCode",
238
- type: "uint16",
239
- },
240
- ],
241
- name: "MintUnbacked",
242
- type: "event",
243
- },
244
- {
245
- anonymous: false,
246
- inputs: [
247
- {
248
- indexed: true,
249
- internalType: "address",
250
- name: "reserve",
251
- type: "address",
252
- },
253
- {
254
- indexed: false,
255
- internalType: "uint256",
256
- name: "amountMinted",
257
- type: "uint256",
258
- },
259
- ],
260
- name: "MintedToTreasury",
261
- type: "event",
262
- },
263
- {
264
- anonymous: false,
265
- inputs: [
266
- {
267
- indexed: true,
268
- internalType: "address",
269
- name: "reserve",
270
- type: "address",
271
- },
272
- {
273
- indexed: true,
274
- internalType: "address",
275
- name: "user",
276
- type: "address",
277
- },
278
- ],
279
- name: "RebalanceStableBorrowRate",
280
- type: "event",
281
- },
282
- {
283
- anonymous: false,
284
- inputs: [
285
- {
286
- indexed: true,
287
- internalType: "address",
288
- name: "reserve",
289
- type: "address",
290
- },
291
- {
292
- indexed: true,
293
- internalType: "address",
294
- name: "user",
295
- type: "address",
296
- },
297
- {
298
- indexed: true,
299
- internalType: "address",
300
- name: "repayer",
301
- type: "address",
302
- },
303
- {
304
- indexed: false,
305
- internalType: "uint256",
306
- name: "amount",
307
- type: "uint256",
308
- },
309
- {
310
- indexed: false,
311
- internalType: "bool",
312
- name: "useATokens",
313
- type: "bool",
314
- },
315
- ],
316
- name: "Repay",
317
- type: "event",
318
- },
319
- {
320
- anonymous: false,
321
- inputs: [
322
- {
323
- indexed: true,
324
- internalType: "address",
325
- name: "reserve",
326
- type: "address",
327
- },
328
- {
329
- indexed: false,
330
- internalType: "uint256",
331
- name: "liquidityRate",
332
- type: "uint256",
333
- },
334
- {
335
- indexed: false,
336
- internalType: "uint256",
337
- name: "stableBorrowRate",
338
- type: "uint256",
339
- },
340
- {
341
- indexed: false,
342
- internalType: "uint256",
343
- name: "variableBorrowRate",
344
- type: "uint256",
345
- },
346
- {
347
- indexed: false,
348
- internalType: "uint256",
349
- name: "liquidityIndex",
350
- type: "uint256",
351
- },
352
- {
353
- indexed: false,
354
- internalType: "uint256",
355
- name: "variableBorrowIndex",
356
- type: "uint256",
357
- },
358
- ],
359
- name: "ReserveDataUpdated",
360
- type: "event",
361
- },
362
- {
363
- anonymous: false,
364
- inputs: [
365
- {
366
- indexed: true,
367
- internalType: "address",
368
- name: "reserve",
369
- type: "address",
370
- },
371
- {
372
- indexed: true,
373
- internalType: "address",
374
- name: "user",
375
- type: "address",
376
- },
377
- ],
378
- name: "ReserveUsedAsCollateralDisabled",
379
- type: "event",
380
- },
381
- {
382
- anonymous: false,
383
- inputs: [
384
- {
385
- indexed: true,
386
- internalType: "address",
387
- name: "reserve",
388
- type: "address",
389
- },
390
- {
391
- indexed: true,
392
- internalType: "address",
393
- name: "user",
394
- type: "address",
395
- },
396
- ],
397
- name: "ReserveUsedAsCollateralEnabled",
398
- type: "event",
399
- },
400
- {
401
- anonymous: false,
402
- inputs: [
403
- {
404
- indexed: true,
405
- internalType: "address",
406
- name: "reserve",
407
- type: "address",
408
- },
409
- {
410
- indexed: false,
411
- internalType: "address",
412
- name: "user",
413
- type: "address",
414
- },
415
- {
416
- indexed: true,
417
- internalType: "address",
418
- name: "onBehalfOf",
419
- type: "address",
420
- },
421
- {
422
- indexed: false,
423
- internalType: "uint256",
424
- name: "amount",
425
- type: "uint256",
426
- },
427
- {
428
- indexed: true,
429
- internalType: "uint16",
430
- name: "referralCode",
431
- type: "uint16",
432
- },
433
- ],
434
- name: "Supply",
435
- type: "event",
436
- },
437
- {
438
- anonymous: false,
439
- inputs: [
440
- {
441
- indexed: true,
442
- internalType: "address",
443
- name: "reserve",
444
- type: "address",
445
- },
446
- {
447
- indexed: true,
448
- internalType: "address",
449
- name: "user",
450
- type: "address",
451
- },
452
- {
453
- indexed: false,
454
- internalType: "enum AaveDataTypes.InterestRateMode",
455
- name: "interestRateMode",
456
- type: "uint8",
457
- },
458
- ],
459
- name: "SwapBorrowRateMode",
460
- type: "event",
461
- },
462
- {
463
- anonymous: false,
464
- inputs: [
465
- {
466
- indexed: true,
467
- internalType: "address",
468
- name: "user",
469
- type: "address",
470
- },
471
- {
472
- indexed: false,
473
- internalType: "uint8",
474
- name: "categoryId",
475
- type: "uint8",
476
- },
477
- ],
478
- name: "UserEModeSet",
479
- type: "event",
480
- },
481
- {
482
- anonymous: false,
483
- inputs: [
484
- {
485
- indexed: true,
486
- internalType: "address",
487
- name: "reserve",
488
- type: "address",
489
- },
490
- {
491
- indexed: true,
492
- internalType: "address",
493
- name: "user",
494
- type: "address",
495
- },
496
- {
497
- indexed: true,
498
- internalType: "address",
499
- name: "to",
500
- type: "address",
501
- },
502
- {
503
- indexed: false,
504
- internalType: "uint256",
505
- name: "amount",
506
- type: "uint256",
507
- },
508
- ],
509
- name: "Withdraw",
510
- type: "event",
511
- },
512
- {
513
- inputs: [],
514
- name: "ADDRESSES_PROVIDER",
515
- outputs: [
516
- {
517
- internalType: "contract IPoolAddressesProvider",
518
- name: "",
519
- type: "address",
520
- },
521
- ],
522
- stateMutability: "view",
523
- type: "function",
524
- },
525
- {
526
- inputs: [],
527
- name: "BRIDGE_PROTOCOL_FEE",
528
- outputs: [
529
- {
530
- internalType: "uint256",
531
- name: "",
532
- type: "uint256",
533
- },
534
- ],
535
- stateMutability: "view",
536
- type: "function",
537
- },
538
- {
539
- inputs: [],
540
- name: "FLASHLOAN_PREMIUM_TOTAL",
541
- outputs: [
542
- {
543
- internalType: "uint128",
544
- name: "",
545
- type: "uint128",
546
- },
547
- ],
548
- stateMutability: "view",
549
- type: "function",
550
- },
551
- {
552
- inputs: [],
553
- name: "FLASHLOAN_PREMIUM_TO_PROTOCOL",
554
- outputs: [
555
- {
556
- internalType: "uint128",
557
- name: "",
558
- type: "uint128",
559
- },
560
- ],
561
- stateMutability: "view",
562
- type: "function",
563
- },
564
- {
565
- inputs: [],
566
- name: "MAX_NUMBER_RESERVES",
567
- outputs: [
568
- {
569
- internalType: "uint16",
570
- name: "",
571
- type: "uint16",
572
- },
573
- ],
574
- stateMutability: "view",
575
- type: "function",
576
- },
577
- {
578
- inputs: [],
579
- name: "MAX_STABLE_RATE_BORROW_SIZE_PERCENT",
580
- outputs: [
581
- {
582
- internalType: "uint256",
583
- name: "",
584
- type: "uint256",
585
- },
586
- ],
587
- stateMutability: "view",
588
- type: "function",
589
- },
590
- {
591
- inputs: [
592
- {
593
- internalType: "address",
594
- name: "asset",
595
- type: "address",
596
- },
597
- {
598
- internalType: "uint256",
599
- name: "amount",
600
- type: "uint256",
601
- },
602
- {
603
- internalType: "uint256",
604
- name: "fee",
605
- type: "uint256",
606
- },
607
- ],
608
- name: "backUnbacked",
609
- outputs: [
610
- {
611
- internalType: "uint256",
612
- name: "",
613
- type: "uint256",
614
- },
615
- ],
616
- stateMutability: "nonpayable",
617
- type: "function",
618
- },
619
- {
620
- inputs: [
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: "uint256",
633
- name: "interestRateMode",
634
- type: "uint256",
635
- },
636
- {
637
- internalType: "uint16",
638
- name: "referralCode",
639
- type: "uint16",
640
- },
641
- {
642
- internalType: "address",
643
- name: "onBehalfOf",
644
- type: "address",
645
- },
646
- ],
647
- name: "borrow",
648
- outputs: [],
649
- stateMutability: "nonpayable",
650
- type: "function",
651
- },
652
- {
653
- inputs: [
654
- {
655
- internalType: "address",
656
- name: "asset",
657
- type: "address",
658
- },
659
- {
660
- internalType: "uint256",
661
- name: "amount",
662
- type: "uint256",
663
- },
664
- {
665
- internalType: "address",
666
- name: "onBehalfOf",
667
- type: "address",
668
- },
669
- {
670
- internalType: "uint16",
671
- name: "referralCode",
672
- type: "uint16",
673
- },
674
- ],
675
- name: "deposit",
676
- outputs: [],
677
- stateMutability: "nonpayable",
678
- type: "function",
679
- },
680
- {
681
- inputs: [
682
- {
683
- internalType: "address",
684
- name: "asset",
685
- type: "address",
686
- },
687
- ],
688
- name: "dropReserve",
689
- outputs: [],
690
- stateMutability: "nonpayable",
691
- type: "function",
692
- },
693
- {
694
- inputs: [
695
- {
696
- internalType: "address",
697
- name: "asset",
698
- type: "address",
699
- },
700
- {
701
- internalType: "address",
702
- name: "from",
703
- type: "address",
704
- },
705
- {
706
- internalType: "address",
707
- name: "to",
708
- type: "address",
709
- },
710
- {
711
- internalType: "uint256",
712
- name: "amount",
713
- type: "uint256",
714
- },
715
- {
716
- internalType: "uint256",
717
- name: "balanceFromBefore",
718
- type: "uint256",
719
- },
720
- {
721
- internalType: "uint256",
722
- name: "balanceToBefore",
723
- type: "uint256",
724
- },
725
- ],
726
- name: "finalizeTransfer",
727
- outputs: [],
728
- stateMutability: "nonpayable",
729
- type: "function",
730
- },
731
- {
732
- inputs: [
733
- {
734
- internalType: "address",
735
- name: "receiverAddress",
736
- type: "address",
737
- },
738
- {
739
- internalType: "address[]",
740
- name: "assets",
741
- type: "address[]",
742
- },
743
- {
744
- internalType: "uint256[]",
745
- name: "amounts",
746
- type: "uint256[]",
747
- },
748
- {
749
- internalType: "uint256[]",
750
- name: "interestRateModes",
751
- type: "uint256[]",
752
- },
753
- {
754
- internalType: "address",
755
- name: "onBehalfOf",
756
- type: "address",
757
- },
758
- {
759
- internalType: "bytes",
760
- name: "params",
761
- type: "bytes",
762
- },
763
- {
764
- internalType: "uint16",
765
- name: "referralCode",
766
- type: "uint16",
767
- },
768
- ],
769
- name: "flashLoan",
770
- outputs: [],
771
- stateMutability: "nonpayable",
772
- type: "function",
773
- },
774
- {
775
- inputs: [
776
- {
777
- internalType: "address",
778
- name: "receiverAddress",
779
- type: "address",
780
- },
781
- {
782
- internalType: "address",
783
- name: "asset",
784
- type: "address",
785
- },
786
- {
787
- internalType: "uint256",
788
- name: "amount",
789
- type: "uint256",
790
- },
791
- {
792
- internalType: "bytes",
793
- name: "params",
794
- type: "bytes",
795
- },
796
- {
797
- internalType: "uint16",
798
- name: "referralCode",
799
- type: "uint16",
800
- },
801
- ],
802
- name: "flashLoanSimple",
803
- outputs: [],
804
- stateMutability: "nonpayable",
805
- type: "function",
806
- },
807
- {
808
- inputs: [
809
- {
810
- internalType: "address",
811
- name: "asset",
812
- type: "address",
813
- },
814
- ],
815
- name: "getConfiguration",
816
- outputs: [
817
- {
818
- components: [
819
- {
820
- internalType: "uint256",
821
- name: "data",
822
- type: "uint256",
823
- },
824
- ],
825
- internalType: "struct AaveDataTypes.ReserveConfigurationMap",
826
- name: "",
827
- type: "tuple",
828
- },
829
- ],
830
- stateMutability: "view",
831
- type: "function",
832
- },
833
- {
834
- inputs: [
835
- {
836
- internalType: "uint8",
837
- name: "id",
838
- type: "uint8",
839
- },
840
- ],
841
- name: "getEModeCategoryData",
842
- outputs: [
843
- {
844
- internalType: "bytes32",
845
- name: "",
846
- type: "bytes32",
847
- },
848
- {
849
- internalType: "uint16",
850
- name: "ltv",
851
- type: "uint16",
852
- },
853
- {
854
- internalType: "uint16",
855
- name: "liquidationThreshold",
856
- type: "uint16",
857
- },
858
- ],
859
- stateMutability: "view",
860
- type: "function",
861
- },
862
- {
863
- inputs: [
864
- {
865
- internalType: "uint16",
866
- name: "id",
867
- type: "uint16",
868
- },
869
- ],
870
- name: "getReserveAddressById",
871
- outputs: [
872
- {
873
- internalType: "address",
874
- name: "",
875
- type: "address",
876
- },
877
- ],
878
- stateMutability: "view",
879
- type: "function",
880
- },
881
- {
882
- inputs: [
883
- {
884
- internalType: "contract IERC20Metadata",
885
- name: "asset",
886
- type: "address",
887
- },
888
- ],
889
- name: "getReserveData",
890
- outputs: [
891
- {
892
- components: [
893
- {
894
- components: [
895
- {
896
- internalType: "uint256",
897
- name: "data",
898
- type: "uint256",
899
- },
900
- ],
901
- internalType: "struct AaveDataTypes.ReserveConfigurationMap",
902
- name: "configuration",
903
- type: "tuple",
904
- },
905
- {
906
- internalType: "uint128",
907
- name: "liquidityIndex",
908
- type: "uint128",
909
- },
910
- {
911
- internalType: "uint128",
912
- name: "currentLiquidityRate",
913
- type: "uint128",
914
- },
915
- {
916
- internalType: "uint128",
917
- name: "variableBorrowIndex",
918
- type: "uint128",
919
- },
920
- {
921
- internalType: "uint128",
922
- name: "currentVariableBorrowRate",
923
- type: "uint128",
924
- },
925
- {
926
- internalType: "uint128",
927
- name: "currentStableBorrowRate",
928
- type: "uint128",
929
- },
930
- {
931
- internalType: "uint40",
932
- name: "lastUpdateTimestamp",
933
- type: "uint40",
934
- },
935
- {
936
- internalType: "uint16",
937
- name: "id",
938
- type: "uint16",
939
- },
940
- {
941
- internalType: "contract IAToken",
942
- name: "aTokenAddress",
943
- type: "address",
944
- },
945
- {
946
- internalType: "contract IERC20Metadata",
947
- name: "stableDebtTokenAddress",
948
- type: "address",
949
- },
950
- {
951
- internalType: "contract IERC20Metadata",
952
- name: "variableDebtTokenAddress",
953
- type: "address",
954
- },
955
- {
956
- internalType: "address",
957
- name: "interestRateStrategyAddress",
958
- type: "address",
959
- },
960
- {
961
- internalType: "uint128",
962
- name: "accruedToTreasury",
963
- type: "uint128",
964
- },
965
- {
966
- internalType: "uint128",
967
- name: "unbacked",
968
- type: "uint128",
969
- },
970
- {
971
- internalType: "uint128",
972
- name: "isolationModeTotalDebt",
973
- type: "uint128",
974
- },
975
- ],
976
- internalType: "struct AaveDataTypes.ReserveData",
977
- name: "",
978
- type: "tuple",
979
- },
980
- ],
981
- stateMutability: "view",
982
- type: "function",
983
- },
984
- {
985
- inputs: [
986
- {
987
- internalType: "contract IERC20Metadata",
988
- name: "asset",
989
- type: "address",
990
- },
991
- ],
992
- name: "getReserveNormalizedIncome",
993
- outputs: [
994
- {
995
- internalType: "uint256",
996
- name: "",
997
- type: "uint256",
998
- },
999
- ],
1000
- stateMutability: "view",
1001
- type: "function",
1002
- },
1003
- {
1004
- inputs: [
1005
- {
1006
- internalType: "address",
1007
- name: "asset",
1008
- type: "address",
1009
- },
1010
- ],
1011
- name: "getReserveNormalizedVariableDebt",
1012
- outputs: [
1013
- {
1014
- internalType: "uint256",
1015
- name: "",
1016
- type: "uint256",
1017
- },
1018
- ],
1019
- stateMutability: "view",
1020
- type: "function",
1021
- },
1022
- {
1023
- inputs: [],
1024
- name: "getReservesList",
1025
- outputs: [
1026
- {
1027
- internalType: "address[]",
1028
- name: "",
1029
- type: "address[]",
1030
- },
1031
- ],
1032
- stateMutability: "view",
1033
- type: "function",
1034
- },
1035
- {
1036
- inputs: [
1037
- {
1038
- internalType: "address",
1039
- name: "user",
1040
- type: "address",
1041
- },
1042
- ],
1043
- name: "getUserAccountData",
1044
- outputs: [
1045
- {
1046
- internalType: "uint256",
1047
- name: "totalCollateralBase",
1048
- type: "uint256",
1049
- },
1050
- {
1051
- internalType: "uint256",
1052
- name: "totalDebtBase",
1053
- type: "uint256",
1054
- },
1055
- {
1056
- internalType: "uint256",
1057
- name: "availableBorrowsBase",
1058
- type: "uint256",
1059
- },
1060
- {
1061
- internalType: "uint256",
1062
- name: "currentLiquidationThreshold",
1063
- type: "uint256",
1064
- },
1065
- {
1066
- internalType: "uint256",
1067
- name: "ltv",
1068
- type: "uint256",
1069
- },
1070
- {
1071
- internalType: "uint256",
1072
- name: "healthFactor",
1073
- type: "uint256",
1074
- },
1075
- ],
1076
- stateMutability: "view",
1077
- type: "function",
1078
- },
1079
- {
1080
- inputs: [
1081
- {
1082
- internalType: "address",
1083
- name: "user",
1084
- type: "address",
1085
- },
1086
- ],
1087
- name: "getUserConfiguration",
1088
- outputs: [
1089
- {
1090
- components: [
1091
- {
1092
- internalType: "uint256",
1093
- name: "data",
1094
- type: "uint256",
1095
- },
1096
- ],
1097
- internalType: "struct AaveDataTypes.UserConfigurationMap",
1098
- name: "",
1099
- type: "tuple",
1100
- },
1101
- ],
1102
- stateMutability: "view",
1103
- type: "function",
1104
- },
1105
- {
1106
- inputs: [
1107
- {
1108
- internalType: "address",
1109
- name: "user",
1110
- type: "address",
1111
- },
1112
- ],
1113
- name: "getUserEMode",
1114
- outputs: [
1115
- {
1116
- internalType: "uint256",
1117
- name: "",
1118
- type: "uint256",
1119
- },
1120
- ],
1121
- stateMutability: "view",
1122
- type: "function",
1123
- },
1124
- {
1125
- inputs: [
1126
- {
1127
- internalType: "address",
1128
- name: "asset",
1129
- type: "address",
1130
- },
1131
- {
1132
- internalType: "address",
1133
- name: "aTokenAddress",
1134
- type: "address",
1135
- },
1136
- {
1137
- internalType: "address",
1138
- name: "stableDebtAddress",
1139
- type: "address",
1140
- },
1141
- {
1142
- internalType: "address",
1143
- name: "variableDebtAddress",
1144
- type: "address",
1145
- },
1146
- {
1147
- internalType: "address",
1148
- name: "interestRateStrategyAddress",
1149
- type: "address",
1150
- },
1151
- ],
1152
- name: "initReserve",
1153
- outputs: [],
1154
- stateMutability: "nonpayable",
1155
- type: "function",
1156
- },
1157
- {
1158
- inputs: [
1159
- {
1160
- internalType: "contract IERC20Metadata",
1161
- name: "collateralAsset",
1162
- type: "address",
1163
- },
1164
- {
1165
- internalType: "contract IERC20Metadata",
1166
- name: "debtAsset",
1167
- type: "address",
1168
- },
1169
- {
1170
- internalType: "address",
1171
- name: "user",
1172
- type: "address",
1173
- },
1174
- {
1175
- internalType: "uint256",
1176
- name: "debtToCover",
1177
- type: "uint256",
1178
- },
1179
- {
1180
- internalType: "bool",
1181
- name: "receiveAToken",
1182
- type: "bool",
1183
- },
1184
- ],
1185
- name: "liquidationCall",
1186
- outputs: [],
1187
- stateMutability: "nonpayable",
1188
- type: "function",
1189
- },
1190
- {
1191
- inputs: [
1192
- {
1193
- internalType: "address[]",
1194
- name: "assets",
1195
- type: "address[]",
1196
- },
1197
- ],
1198
- name: "mintToTreasury",
1199
- outputs: [],
1200
- stateMutability: "nonpayable",
1201
- type: "function",
1202
- },
1203
- {
1204
- inputs: [
1205
- {
1206
- internalType: "address",
1207
- name: "asset",
1208
- type: "address",
1209
- },
1210
- {
1211
- internalType: "uint256",
1212
- name: "amount",
1213
- type: "uint256",
1214
- },
1215
- {
1216
- internalType: "address",
1217
- name: "onBehalfOf",
1218
- type: "address",
1219
- },
1220
- {
1221
- internalType: "uint16",
1222
- name: "referralCode",
1223
- type: "uint16",
1224
- },
1225
- ],
1226
- name: "mintUnbacked",
1227
- outputs: [],
1228
- stateMutability: "nonpayable",
1229
- type: "function",
1230
- },
1231
- {
1232
- inputs: [
1233
- {
1234
- internalType: "address",
1235
- name: "asset",
1236
- type: "address",
1237
- },
1238
- {
1239
- internalType: "address",
1240
- name: "user",
1241
- type: "address",
1242
- },
1243
- ],
1244
- name: "rebalanceStableBorrowRate",
1245
- outputs: [],
1246
- stateMutability: "nonpayable",
1247
- type: "function",
1248
- },
1249
- {
1250
- inputs: [
1251
- {
1252
- internalType: "address",
1253
- name: "asset",
1254
- type: "address",
1255
- },
1256
- {
1257
- internalType: "uint256",
1258
- name: "amount",
1259
- type: "uint256",
1260
- },
1261
- {
1262
- internalType: "uint256",
1263
- name: "interestRateMode",
1264
- type: "uint256",
1265
- },
1266
- {
1267
- internalType: "address",
1268
- name: "onBehalfOf",
1269
- type: "address",
1270
- },
1271
- ],
1272
- name: "repay",
1273
- outputs: [
1274
- {
1275
- internalType: "uint256",
1276
- name: "",
1277
- type: "uint256",
1278
- },
1279
- ],
1280
- stateMutability: "nonpayable",
1281
- type: "function",
1282
- },
1283
- {
1284
- inputs: [
1285
- {
1286
- internalType: "address",
1287
- name: "asset",
1288
- type: "address",
1289
- },
1290
- {
1291
- internalType: "uint256",
1292
- name: "amount",
1293
- type: "uint256",
1294
- },
1295
- {
1296
- internalType: "uint256",
1297
- name: "interestRateMode",
1298
- type: "uint256",
1299
- },
1300
- ],
1301
- name: "repayWithATokens",
1302
- outputs: [
1303
- {
1304
- internalType: "uint256",
1305
- name: "",
1306
- type: "uint256",
1307
- },
1308
- ],
1309
- stateMutability: "nonpayable",
1310
- type: "function",
1311
- },
1312
- {
1313
- inputs: [
1314
- {
1315
- internalType: "address",
1316
- name: "asset",
1317
- type: "address",
1318
- },
1319
- {
1320
- internalType: "uint256",
1321
- name: "amount",
1322
- type: "uint256",
1323
- },
1324
- {
1325
- internalType: "uint256",
1326
- name: "interestRateMode",
1327
- type: "uint256",
1328
- },
1329
- {
1330
- internalType: "address",
1331
- name: "onBehalfOf",
1332
- type: "address",
1333
- },
1334
- {
1335
- internalType: "uint256",
1336
- name: "deadline",
1337
- type: "uint256",
1338
- },
1339
- {
1340
- internalType: "uint8",
1341
- name: "permitV",
1342
- type: "uint8",
1343
- },
1344
- {
1345
- internalType: "bytes32",
1346
- name: "permitR",
1347
- type: "bytes32",
1348
- },
1349
- {
1350
- internalType: "bytes32",
1351
- name: "permitS",
1352
- type: "bytes32",
1353
- },
1354
- ],
1355
- name: "repayWithPermit",
1356
- outputs: [
1357
- {
1358
- internalType: "uint256",
1359
- name: "",
1360
- type: "uint256",
1361
- },
1362
- ],
1363
- stateMutability: "nonpayable",
1364
- type: "function",
1365
- },
1366
- {
1367
- inputs: [
1368
- {
1369
- internalType: "address",
1370
- name: "token",
1371
- type: "address",
1372
- },
1373
- {
1374
- internalType: "address",
1375
- name: "to",
1376
- type: "address",
1377
- },
1378
- {
1379
- internalType: "uint256",
1380
- name: "amount",
1381
- type: "uint256",
1382
- },
1383
- ],
1384
- name: "rescueTokens",
1385
- outputs: [],
1386
- stateMutability: "nonpayable",
1387
- type: "function",
1388
- },
1389
- {
1390
- inputs: [
1391
- {
1392
- internalType: "address",
1393
- name: "asset",
1394
- type: "address",
1395
- },
1396
- ],
1397
- name: "resetIsolationModeTotalDebt",
1398
- outputs: [],
1399
- stateMutability: "nonpayable",
1400
- type: "function",
1401
- },
1402
- {
1403
- inputs: [
1404
- {
1405
- internalType: "address",
1406
- name: "asset",
1407
- type: "address",
1408
- },
1409
- {
1410
- components: [
1411
- {
1412
- internalType: "uint256",
1413
- name: "data",
1414
- type: "uint256",
1415
- },
1416
- ],
1417
- internalType: "struct AaveDataTypes.ReserveConfigurationMap",
1418
- name: "configuration",
1419
- type: "tuple",
1420
- },
1421
- ],
1422
- name: "setConfiguration",
1423
- outputs: [],
1424
- stateMutability: "nonpayable",
1425
- type: "function",
1426
- },
1427
- {
1428
- inputs: [
1429
- {
1430
- internalType: "address",
1431
- name: "asset",
1432
- type: "address",
1433
- },
1434
- {
1435
- internalType: "address",
1436
- name: "rateStrategyAddress",
1437
- type: "address",
1438
- },
1439
- ],
1440
- name: "setReserveInterestRateStrategyAddress",
1441
- outputs: [],
1442
- stateMutability: "nonpayable",
1443
- type: "function",
1444
- },
1445
- {
1446
- inputs: [
1447
- {
1448
- internalType: "uint8",
1449
- name: "categoryId",
1450
- type: "uint8",
1451
- },
1452
- ],
1453
- name: "setUserEMode",
1454
- outputs: [],
1455
- stateMutability: "nonpayable",
1456
- type: "function",
1457
- },
1458
- {
1459
- inputs: [
1460
- {
1461
- internalType: "address",
1462
- name: "asset",
1463
- type: "address",
1464
- },
1465
- {
1466
- internalType: "bool",
1467
- name: "useAsCollateral",
1468
- type: "bool",
1469
- },
1470
- ],
1471
- name: "setUserUseReserveAsCollateral",
1472
- outputs: [],
1473
- stateMutability: "nonpayable",
1474
- type: "function",
1475
- },
1476
- {
1477
- inputs: [
1478
- {
1479
- internalType: "address",
1480
- name: "asset",
1481
- type: "address",
1482
- },
1483
- {
1484
- internalType: "uint256",
1485
- name: "amount",
1486
- type: "uint256",
1487
- },
1488
- {
1489
- internalType: "address",
1490
- name: "onBehalfOf",
1491
- type: "address",
1492
- },
1493
- {
1494
- internalType: "uint16",
1495
- name: "referralCode",
1496
- type: "uint16",
1497
- },
1498
- ],
1499
- name: "supply",
1500
- outputs: [],
1501
- stateMutability: "nonpayable",
1502
- type: "function",
1503
- },
1504
- {
1505
- inputs: [
1506
- {
1507
- internalType: "address",
1508
- name: "asset",
1509
- type: "address",
1510
- },
1511
- {
1512
- internalType: "uint256",
1513
- name: "amount",
1514
- type: "uint256",
1515
- },
1516
- {
1517
- internalType: "address",
1518
- name: "onBehalfOf",
1519
- type: "address",
1520
- },
1521
- {
1522
- internalType: "uint16",
1523
- name: "referralCode",
1524
- type: "uint16",
1525
- },
1526
- {
1527
- internalType: "uint256",
1528
- name: "deadline",
1529
- type: "uint256",
1530
- },
1531
- {
1532
- internalType: "uint8",
1533
- name: "permitV",
1534
- type: "uint8",
1535
- },
1536
- {
1537
- internalType: "bytes32",
1538
- name: "permitR",
1539
- type: "bytes32",
1540
- },
1541
- {
1542
- internalType: "bytes32",
1543
- name: "permitS",
1544
- type: "bytes32",
1545
- },
1546
- ],
1547
- name: "supplyWithPermit",
1548
- outputs: [],
1549
- stateMutability: "nonpayable",
1550
- type: "function",
1551
- },
1552
- {
1553
- inputs: [
1554
- {
1555
- internalType: "address",
1556
- name: "asset",
1557
- type: "address",
1558
- },
1559
- {
1560
- internalType: "uint256",
1561
- name: "interestRateMode",
1562
- type: "uint256",
1563
- },
1564
- ],
1565
- name: "swapBorrowRateMode",
1566
- outputs: [],
1567
- stateMutability: "nonpayable",
1568
- type: "function",
1569
- },
1570
- {
1571
- inputs: [
1572
- {
1573
- internalType: "address",
1574
- name: "asset",
1575
- type: "address",
1576
- },
1577
- {
1578
- internalType: "uint256",
1579
- name: "amount",
1580
- type: "uint256",
1581
- },
1582
- {
1583
- internalType: "address",
1584
- name: "to",
1585
- type: "address",
1586
- },
1587
- ],
1588
- name: "withdraw",
1589
- outputs: [
1590
- {
1591
- internalType: "uint256",
1592
- name: "",
1593
- type: "uint256",
1594
- },
1595
- ],
1596
- stateMutability: "nonpayable",
1597
- type: "function",
1598
- },
1599
- ];
1600
-
1601
- export class IPool__factory {
1602
- static readonly abi = _abi;
1603
- static createInterface(): IPoolInterface {
1604
- return new utils.Interface(_abi) as IPoolInterface;
1605
- }
1606
- static connect(address: string, signerOrProvider: Signer | Provider): IPool {
1607
- return new Contract(address, _abi, signerOrProvider) as IPool;
1608
- }
1609
- }