@pendle/core-v2 6.2.2 → 6.3.0-beta

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 (379) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +13 -0
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +20 -2
  11. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +20 -2
  13. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.json +2 -2
  15. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +6 -24
  17. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  20. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  21. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  22. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  23. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  24. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  25. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  26. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  27. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  28. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  29. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  31. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  33. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.json +19 -0
  35. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.dbg.json +4 -0
  36. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.json +636 -0
  37. package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.dbg.json +4 -0
  38. package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.json +1181 -0
  39. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
  41. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +28 -2
  44. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +4 -0
  45. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.json +608 -0
  46. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +28 -2
  48. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.json +15 -2
  50. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +27 -2
  52. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.json +2 -2
  54. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  55. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
  56. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  57. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +2 -2
  58. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +4 -0
  76. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.json +282 -0
  77. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.json +19 -0
  79. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +58 -0
  84. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +81 -19
  86. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.json +26 -0
  88. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.json +13 -0
  93. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +26 -0
  95. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  96. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
  97. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  98. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  99. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
  100. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  101. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.json +2 -2
  102. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  103. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
  104. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  105. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.json +2 -2
  106. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  107. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.json +2 -2
  108. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  109. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.json +15 -2
  110. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  111. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.json +2 -2
  112. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  113. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.json +2 -2
  114. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  115. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +7 -2
  116. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  117. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  118. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  119. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
  120. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  121. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  122. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  123. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  124. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  125. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  126. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  127. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  128. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  129. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  130. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  131. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  132. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  133. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  134. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  135. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
  136. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  137. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
  138. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  139. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +4 -0
  140. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.json +533 -0
  141. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +4 -0
  142. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.json +889 -0
  143. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +4 -0
  144. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.json +84 -0
  145. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +4 -0
  146. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.json +24 -0
  147. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  148. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
  149. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  150. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.json +2 -2
  151. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  152. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.json +2 -2
  153. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  154. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +2 -2
  155. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  156. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +2 -2
  157. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  158. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +2 -2
  159. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  160. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  161. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +2 -2
  162. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  163. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +2 -2
  164. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  165. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  166. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.json +2 -2
  167. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  168. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.json +2 -2
  169. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  170. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  171. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
  172. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
  173. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  174. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  175. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  176. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
  177. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  178. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
  179. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  180. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  181. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  182. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  183. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  184. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  185. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  186. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  187. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  188. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  189. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  190. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  191. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  192. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  193. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  194. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.json +2 -2
  195. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  196. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  197. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  198. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  199. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  200. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
  201. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  202. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
  203. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  204. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  205. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.json +15 -1
  206. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  207. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  208. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  209. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +22 -3
  210. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +6 -2
  211. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol +12 -2
  212. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol +9 -1
  213. package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +10 -14
  214. package/contracts/core/Market/PendleGauge.sol +2 -0
  215. package/contracts/core/Market/{v3/PendleMarketFactoryV3.sol → PendleMarketFactoryV6Upg.sol} +18 -14
  216. package/contracts/core/Market/{v3/PendleMarketV3.sol → PendleMarketV6.sol} +48 -13
  217. package/contracts/core/YieldContracts/PendlePrincipalToken.sol +6 -0
  218. package/contracts/core/YieldContracts/{PendleYieldContractFactory.sol → PendleYieldContractFactoryUpg.sol} +10 -13
  219. package/contracts/core/YieldContracts/PendleYieldToken.sol +6 -0
  220. package/contracts/core/erc20/PendleERC20.sol +12 -0
  221. package/contracts/core/libraries/Errors.sol +7 -0
  222. package/contracts/core/libraries/StringLib.sol +12 -0
  223. package/contracts/interfaces/IPExchangeRateOracleApp.sol +86 -0
  224. package/contracts/interfaces/IPGauge.sol +4 -3
  225. package/contracts/interfaces/IPMarket.sol +8 -2
  226. package/contracts/interfaces/IPMarketFactory.sol +22 -10
  227. package/contracts/interfaces/IPPrincipalToken.sol +4 -0
  228. package/contracts/interfaces/IPYieldContractFactory.sol +2 -0
  229. package/contracts/interfaces/IPYieldToken.sol +4 -0
  230. package/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol +10 -10
  231. package/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol +6 -6
  232. package/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol +3 -3
  233. package/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol +23 -0
  234. package/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol +160 -0
  235. package/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol +25 -0
  236. package/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol +36 -0
  237. package/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol +9 -0
  238. package/contracts/router/swap-aggregator/OKXScaleHelper.sol +14 -1
  239. package/contracts/router/swap-aggregator/PendleSwap.sol +1 -1
  240. package/deployments/1-core.json +1 -0
  241. package/deployments/10-core.json +1 -0
  242. package/deployments/146-core.json +4 -1
  243. package/deployments/42161-core.json +4 -1
  244. package/deployments/5000-core.json +4 -1
  245. package/deployments/56-core.json +5 -1
  246. package/deployments/80094-core.json +4 -1
  247. package/deployments/8453-core.json +4 -1
  248. package/deployments/9745-core.json +4 -1
  249. package/deployments/999-core.json +4 -1
  250. package/package.json +3 -2
  251. package/typechain-types/ExchangeRateMsgCodec.ts +89 -0
  252. package/typechain-types/IPExchangeRateOracleApp.ts +352 -0
  253. package/typechain-types/IPGauge.ts +19 -0
  254. package/typechain-types/IPMarket.ts +76 -0
  255. package/typechain-types/IPMarketFactory.ts +146 -46
  256. package/typechain-types/IPPrincipalToken.ts +34 -0
  257. package/typechain-types/IPYieldContractFactory.ts +13 -0
  258. package/typechain-types/IPYieldToken.ts +34 -0
  259. package/typechain-types/OAppCoreUpgradeable.ts +320 -0
  260. package/typechain-types/OAppOptionsType3Upgradeable.ts +319 -0
  261. package/typechain-types/OAppReceiverUpgradeable.ts +498 -0
  262. package/typechain-types/OAppSenderUpgradeable.ts +320 -0
  263. package/typechain-types/OAppUpgradeable.ts +498 -0
  264. package/typechain-types/OKXScaleHelper.ts +87 -0
  265. package/typechain-types/OwnableUpgradeable.ts +174 -0
  266. package/typechain-types/PendleCommonPoolDeployHelperV2.ts +7 -1
  267. package/typechain-types/PendleCrossChainOracleBaseApp_Init.ts +662 -0
  268. package/typechain-types/PendleERC20.ts +21 -0
  269. package/typechain-types/PendleExchangeRateOracleApp.ts +1012 -0
  270. package/typechain-types/PendleExchangeRateOracleV2.ts +142 -0
  271. package/typechain-types/PendleGauge.ts +19 -0
  272. package/typechain-types/PendleGaugeControllerBaseUpg.ts +19 -0
  273. package/typechain-types/PendleGaugeControllerMainchainUpg.ts +19 -0
  274. package/typechain-types/PendleGaugeControllerSidechainUpg.ts +19 -0
  275. package/typechain-types/PendleLPWrapper.ts +21 -0
  276. package/typechain-types/PendleMarketFactoryV6Upg.ts +773 -0
  277. package/typechain-types/PendleMarketV6.ts +1248 -0
  278. package/typechain-types/PendlePrincipalToken.ts +34 -0
  279. package/typechain-types/PendleSwap.ts +19 -0
  280. package/typechain-types/PendleVotingControllerUpg.ts +18 -48
  281. package/typechain-types/PendleYieldContractFactoryUpg.ts +820 -0
  282. package/typechain-types/PendleYieldToken.ts +34 -0
  283. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  284. package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
  285. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  286. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  287. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  288. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  289. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  290. package/typechain-types/factories/ActionSimple__factory.ts +1 -1
  291. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  292. package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
  293. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  294. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  295. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  296. package/typechain-types/factories/BalanceReader__factory.ts +1 -1
  297. package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +1 -1
  298. package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +1 -1
  299. package/typechain-types/factories/Broadcaster__factory.ts +1 -1
  300. package/typechain-types/factories/Errors__factory.ts +26 -1
  301. package/typechain-types/factories/ExchangeRateMsgCodec__factory.ts +81 -0
  302. package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
  303. package/typechain-types/factories/IPExchangeRateOracleApp__factory.ts +301 -0
  304. package/typechain-types/factories/IPGauge__factory.ts +19 -0
  305. package/typechain-types/factories/IPMarketFactory__factory.ts +81 -19
  306. package/typechain-types/factories/IPMarket__factory.ts +58 -0
  307. package/typechain-types/factories/IPPrincipalToken__factory.ts +26 -0
  308. package/typechain-types/factories/IPYieldContractFactory__factory.ts +13 -0
  309. package/typechain-types/factories/IPYieldToken__factory.ts +26 -0
  310. package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
  311. package/typechain-types/factories/OAppCoreUpgradeable__factory.ts +228 -0
  312. package/typechain-types/factories/OAppOptionsType3Upgradeable__factory.ts +219 -0
  313. package/typechain-types/factories/OAppReceiverUpgradeable__factory.ts +399 -0
  314. package/typechain-types/factories/OAppSenderUpgradeable__factory.ts +248 -0
  315. package/typechain-types/factories/OAppUpgradeable__factory.ts +411 -0
  316. package/typechain-types/factories/OKXScaleHelper__factory.ts +39 -0
  317. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  318. package/typechain-types/factories/OwnableUpgradeable__factory.ts +91 -0
  319. package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +1 -1
  320. package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +1 -1
  321. package/typechain-types/factories/PendleChainlinkOracle__factory.ts +1 -1
  322. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +6 -1
  323. package/typechain-types/factories/PendleCrossChainOracleBaseApp_Init__factory.ts +554 -0
  324. package/typechain-types/factories/PendleERC20__factory.ts +14 -1
  325. package/typechain-types/factories/PendleExchangeRateOracleApp__factory.ts +958 -0
  326. package/typechain-types/factories/PendleExchangeRateOracleV2__factory.ts +165 -0
  327. package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
  328. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  329. package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +13 -0
  330. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +23 -1
  331. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +23 -1
  332. package/typechain-types/factories/PendleGauge__factory.ts +19 -0
  333. package/typechain-types/factories/PendleLPWrapperFactory__factory.ts +1 -1
  334. package/typechain-types/factories/PendleLPWrapper__factory.ts +14 -1
  335. package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
  336. package/typechain-types/factories/PendleMarketFactoryV6Upg__factory.ts +732 -0
  337. package/typechain-types/factories/PendleMarketV6__factory.ts +1261 -0
  338. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  339. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  340. package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +1 -1
  341. package/typechain-types/factories/PendlePYLpOracle__factory.ts +1 -1
  342. package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
  343. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  344. package/typechain-types/factories/PendlePrincipalToken__factory.ts +27 -1
  345. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  346. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  347. package/typechain-types/factories/PendleSparkLinearDiscountOracleFactoryWrapper__factory.ts +1 -1
  348. package/typechain-types/factories/PendleSparkLinearDiscountOracleFactory__factory.ts +1 -1
  349. package/typechain-types/factories/PendleSwap__factory.ts +31 -4
  350. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +5 -23
  351. package/typechain-types/factories/PendleYieldContractFactoryUpg__factory.ts +692 -0
  352. package/typechain-types/factories/PendleYieldToken__factory.ts +27 -1
  353. package/typechain-types/factories/Reflector__factory.ts +1 -1
  354. package/typechain-types/factories/SimulateHelper__factory.ts +1 -1
  355. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  356. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  357. package/typechain-types/hardhat.d.ts +120 -57
  358. package/typechain-types/index.ts +30 -16
  359. package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.dbg.json +0 -4
  360. package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.json +0 -610
  361. package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +0 -4
  362. package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.json +0 -1131
  363. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +0 -4
  364. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +0 -590
  365. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +0 -4
  366. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.json +0 -394
  367. package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.dbg.json +0 -4
  368. package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.json +0 -370
  369. package/build/artifacts/contracts/core/erc20/PendleERC20Upg.sol/PendleERC20Upg.dbg.json +0 -4
  370. package/build/artifacts/contracts/core/erc20/PendleERC20Upg.sol/PendleERC20Upg.json +0 -246
  371. package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.dbg.json +0 -4
  372. package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.json +0 -202
  373. package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.dbg.json +0 -4
  374. package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.json +0 -833
  375. package/contracts/core/erc20/PendleERC20Permit.sol +0 -80
  376. package/contracts/core/erc20/PendleERC20PermitUpg.sol +0 -82
  377. package/contracts/core/erc20/PendleERC20Upg.sol +0 -334
  378. package/contracts/interfaces/IPMarketFactoryV3.sol +0 -33
  379. package/contracts/interfaces/IPMarketV3.sol +0 -8
@@ -0,0 +1,219 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ OAppOptionsType3Upgradeable,
9
+ OAppOptionsType3UpgradeableInterface,
10
+ } from "../OAppOptionsType3Upgradeable";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ internalType: "bytes",
17
+ name: "options",
18
+ type: "bytes",
19
+ },
20
+ ],
21
+ name: "InvalidOptions",
22
+ type: "error",
23
+ },
24
+ {
25
+ anonymous: false,
26
+ inputs: [
27
+ {
28
+ components: [
29
+ {
30
+ internalType: "uint32",
31
+ name: "eid",
32
+ type: "uint32",
33
+ },
34
+ {
35
+ internalType: "uint16",
36
+ name: "msgType",
37
+ type: "uint16",
38
+ },
39
+ {
40
+ internalType: "bytes",
41
+ name: "options",
42
+ type: "bytes",
43
+ },
44
+ ],
45
+ indexed: false,
46
+ internalType: "struct EnforcedOptionParam[]",
47
+ name: "_enforcedOptions",
48
+ type: "tuple[]",
49
+ },
50
+ ],
51
+ name: "EnforcedOptionSet",
52
+ type: "event",
53
+ },
54
+ {
55
+ anonymous: false,
56
+ inputs: [
57
+ {
58
+ indexed: false,
59
+ internalType: "uint8",
60
+ name: "version",
61
+ type: "uint8",
62
+ },
63
+ ],
64
+ name: "Initialized",
65
+ type: "event",
66
+ },
67
+ {
68
+ anonymous: false,
69
+ inputs: [
70
+ {
71
+ indexed: true,
72
+ internalType: "address",
73
+ name: "previousOwner",
74
+ type: "address",
75
+ },
76
+ {
77
+ indexed: true,
78
+ internalType: "address",
79
+ name: "newOwner",
80
+ type: "address",
81
+ },
82
+ ],
83
+ name: "OwnershipTransferred",
84
+ type: "event",
85
+ },
86
+ {
87
+ inputs: [
88
+ {
89
+ internalType: "uint32",
90
+ name: "_eid",
91
+ type: "uint32",
92
+ },
93
+ {
94
+ internalType: "uint16",
95
+ name: "_msgType",
96
+ type: "uint16",
97
+ },
98
+ {
99
+ internalType: "bytes",
100
+ name: "_extraOptions",
101
+ type: "bytes",
102
+ },
103
+ ],
104
+ name: "combineOptions",
105
+ outputs: [
106
+ {
107
+ internalType: "bytes",
108
+ name: "",
109
+ type: "bytes",
110
+ },
111
+ ],
112
+ stateMutability: "view",
113
+ type: "function",
114
+ },
115
+ {
116
+ inputs: [
117
+ {
118
+ internalType: "uint32",
119
+ name: "_eid",
120
+ type: "uint32",
121
+ },
122
+ {
123
+ internalType: "uint16",
124
+ name: "_msgType",
125
+ type: "uint16",
126
+ },
127
+ ],
128
+ name: "enforcedOptions",
129
+ outputs: [
130
+ {
131
+ internalType: "bytes",
132
+ name: "",
133
+ type: "bytes",
134
+ },
135
+ ],
136
+ stateMutability: "view",
137
+ type: "function",
138
+ },
139
+ {
140
+ inputs: [],
141
+ name: "owner",
142
+ outputs: [
143
+ {
144
+ internalType: "address",
145
+ name: "",
146
+ type: "address",
147
+ },
148
+ ],
149
+ stateMutability: "view",
150
+ type: "function",
151
+ },
152
+ {
153
+ inputs: [],
154
+ name: "renounceOwnership",
155
+ outputs: [],
156
+ stateMutability: "nonpayable",
157
+ type: "function",
158
+ },
159
+ {
160
+ inputs: [
161
+ {
162
+ components: [
163
+ {
164
+ internalType: "uint32",
165
+ name: "eid",
166
+ type: "uint32",
167
+ },
168
+ {
169
+ internalType: "uint16",
170
+ name: "msgType",
171
+ type: "uint16",
172
+ },
173
+ {
174
+ internalType: "bytes",
175
+ name: "options",
176
+ type: "bytes",
177
+ },
178
+ ],
179
+ internalType: "struct EnforcedOptionParam[]",
180
+ name: "_enforcedOptions",
181
+ type: "tuple[]",
182
+ },
183
+ ],
184
+ name: "setEnforcedOptions",
185
+ outputs: [],
186
+ stateMutability: "nonpayable",
187
+ type: "function",
188
+ },
189
+ {
190
+ inputs: [
191
+ {
192
+ internalType: "address",
193
+ name: "newOwner",
194
+ type: "address",
195
+ },
196
+ ],
197
+ name: "transferOwnership",
198
+ outputs: [],
199
+ stateMutability: "nonpayable",
200
+ type: "function",
201
+ },
202
+ ];
203
+
204
+ export class OAppOptionsType3Upgradeable__factory {
205
+ static readonly abi = _abi;
206
+ static createInterface(): OAppOptionsType3UpgradeableInterface {
207
+ return new utils.Interface(_abi) as OAppOptionsType3UpgradeableInterface;
208
+ }
209
+ static connect(
210
+ address: string,
211
+ signerOrProvider: Signer | Provider
212
+ ): OAppOptionsType3Upgradeable {
213
+ return new Contract(
214
+ address,
215
+ _abi,
216
+ signerOrProvider
217
+ ) as OAppOptionsType3Upgradeable;
218
+ }
219
+ }
@@ -0,0 +1,399 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ OAppReceiverUpgradeable,
9
+ OAppReceiverUpgradeableInterface,
10
+ } from "../OAppReceiverUpgradeable";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [],
15
+ name: "InvalidDelegate",
16
+ type: "error",
17
+ },
18
+ {
19
+ inputs: [],
20
+ name: "InvalidEndpointCall",
21
+ type: "error",
22
+ },
23
+ {
24
+ inputs: [
25
+ {
26
+ internalType: "uint32",
27
+ name: "eid",
28
+ type: "uint32",
29
+ },
30
+ ],
31
+ name: "NoPeer",
32
+ type: "error",
33
+ },
34
+ {
35
+ inputs: [
36
+ {
37
+ internalType: "address",
38
+ name: "addr",
39
+ type: "address",
40
+ },
41
+ ],
42
+ name: "OnlyEndpoint",
43
+ type: "error",
44
+ },
45
+ {
46
+ inputs: [
47
+ {
48
+ internalType: "uint32",
49
+ name: "eid",
50
+ type: "uint32",
51
+ },
52
+ {
53
+ internalType: "bytes32",
54
+ name: "sender",
55
+ type: "bytes32",
56
+ },
57
+ ],
58
+ name: "OnlyPeer",
59
+ type: "error",
60
+ },
61
+ {
62
+ anonymous: false,
63
+ inputs: [
64
+ {
65
+ indexed: false,
66
+ internalType: "uint8",
67
+ name: "version",
68
+ type: "uint8",
69
+ },
70
+ ],
71
+ name: "Initialized",
72
+ type: "event",
73
+ },
74
+ {
75
+ anonymous: false,
76
+ inputs: [
77
+ {
78
+ indexed: true,
79
+ internalType: "address",
80
+ name: "previousOwner",
81
+ type: "address",
82
+ },
83
+ {
84
+ indexed: true,
85
+ internalType: "address",
86
+ name: "newOwner",
87
+ type: "address",
88
+ },
89
+ ],
90
+ name: "OwnershipTransferred",
91
+ type: "event",
92
+ },
93
+ {
94
+ anonymous: false,
95
+ inputs: [
96
+ {
97
+ indexed: false,
98
+ internalType: "uint32",
99
+ name: "eid",
100
+ type: "uint32",
101
+ },
102
+ {
103
+ indexed: false,
104
+ internalType: "bytes32",
105
+ name: "peer",
106
+ type: "bytes32",
107
+ },
108
+ ],
109
+ name: "PeerSet",
110
+ type: "event",
111
+ },
112
+ {
113
+ inputs: [
114
+ {
115
+ components: [
116
+ {
117
+ internalType: "uint32",
118
+ name: "srcEid",
119
+ type: "uint32",
120
+ },
121
+ {
122
+ internalType: "bytes32",
123
+ name: "sender",
124
+ type: "bytes32",
125
+ },
126
+ {
127
+ internalType: "uint64",
128
+ name: "nonce",
129
+ type: "uint64",
130
+ },
131
+ ],
132
+ internalType: "struct Origin",
133
+ name: "origin",
134
+ type: "tuple",
135
+ },
136
+ ],
137
+ name: "allowInitializePath",
138
+ outputs: [
139
+ {
140
+ internalType: "bool",
141
+ name: "",
142
+ type: "bool",
143
+ },
144
+ ],
145
+ stateMutability: "view",
146
+ type: "function",
147
+ },
148
+ {
149
+ inputs: [],
150
+ name: "endpoint",
151
+ outputs: [
152
+ {
153
+ internalType: "contract ILayerZeroEndpointV2",
154
+ name: "",
155
+ type: "address",
156
+ },
157
+ ],
158
+ stateMutability: "view",
159
+ type: "function",
160
+ },
161
+ {
162
+ inputs: [
163
+ {
164
+ components: [
165
+ {
166
+ internalType: "uint32",
167
+ name: "srcEid",
168
+ type: "uint32",
169
+ },
170
+ {
171
+ internalType: "bytes32",
172
+ name: "sender",
173
+ type: "bytes32",
174
+ },
175
+ {
176
+ internalType: "uint64",
177
+ name: "nonce",
178
+ type: "uint64",
179
+ },
180
+ ],
181
+ internalType: "struct Origin",
182
+ name: "",
183
+ type: "tuple",
184
+ },
185
+ {
186
+ internalType: "bytes",
187
+ name: "",
188
+ type: "bytes",
189
+ },
190
+ {
191
+ internalType: "address",
192
+ name: "_sender",
193
+ type: "address",
194
+ },
195
+ ],
196
+ name: "isComposeMsgSender",
197
+ outputs: [
198
+ {
199
+ internalType: "bool",
200
+ name: "",
201
+ type: "bool",
202
+ },
203
+ ],
204
+ stateMutability: "view",
205
+ type: "function",
206
+ },
207
+ {
208
+ inputs: [
209
+ {
210
+ components: [
211
+ {
212
+ internalType: "uint32",
213
+ name: "srcEid",
214
+ type: "uint32",
215
+ },
216
+ {
217
+ internalType: "bytes32",
218
+ name: "sender",
219
+ type: "bytes32",
220
+ },
221
+ {
222
+ internalType: "uint64",
223
+ name: "nonce",
224
+ type: "uint64",
225
+ },
226
+ ],
227
+ internalType: "struct Origin",
228
+ name: "_origin",
229
+ type: "tuple",
230
+ },
231
+ {
232
+ internalType: "bytes32",
233
+ name: "_guid",
234
+ type: "bytes32",
235
+ },
236
+ {
237
+ internalType: "bytes",
238
+ name: "_message",
239
+ type: "bytes",
240
+ },
241
+ {
242
+ internalType: "address",
243
+ name: "_executor",
244
+ type: "address",
245
+ },
246
+ {
247
+ internalType: "bytes",
248
+ name: "_extraData",
249
+ type: "bytes",
250
+ },
251
+ ],
252
+ name: "lzReceive",
253
+ outputs: [],
254
+ stateMutability: "payable",
255
+ type: "function",
256
+ },
257
+ {
258
+ inputs: [
259
+ {
260
+ internalType: "uint32",
261
+ name: "",
262
+ type: "uint32",
263
+ },
264
+ {
265
+ internalType: "bytes32",
266
+ name: "",
267
+ type: "bytes32",
268
+ },
269
+ ],
270
+ name: "nextNonce",
271
+ outputs: [
272
+ {
273
+ internalType: "uint64",
274
+ name: "nonce",
275
+ type: "uint64",
276
+ },
277
+ ],
278
+ stateMutability: "view",
279
+ type: "function",
280
+ },
281
+ {
282
+ inputs: [],
283
+ name: "oAppVersion",
284
+ outputs: [
285
+ {
286
+ internalType: "uint64",
287
+ name: "senderVersion",
288
+ type: "uint64",
289
+ },
290
+ {
291
+ internalType: "uint64",
292
+ name: "receiverVersion",
293
+ type: "uint64",
294
+ },
295
+ ],
296
+ stateMutability: "view",
297
+ type: "function",
298
+ },
299
+ {
300
+ inputs: [],
301
+ name: "owner",
302
+ outputs: [
303
+ {
304
+ internalType: "address",
305
+ name: "",
306
+ type: "address",
307
+ },
308
+ ],
309
+ stateMutability: "view",
310
+ type: "function",
311
+ },
312
+ {
313
+ inputs: [
314
+ {
315
+ internalType: "uint32",
316
+ name: "_eid",
317
+ type: "uint32",
318
+ },
319
+ ],
320
+ name: "peers",
321
+ outputs: [
322
+ {
323
+ internalType: "bytes32",
324
+ name: "",
325
+ type: "bytes32",
326
+ },
327
+ ],
328
+ stateMutability: "view",
329
+ type: "function",
330
+ },
331
+ {
332
+ inputs: [],
333
+ name: "renounceOwnership",
334
+ outputs: [],
335
+ stateMutability: "nonpayable",
336
+ type: "function",
337
+ },
338
+ {
339
+ inputs: [
340
+ {
341
+ internalType: "address",
342
+ name: "_delegate",
343
+ type: "address",
344
+ },
345
+ ],
346
+ name: "setDelegate",
347
+ outputs: [],
348
+ stateMutability: "nonpayable",
349
+ type: "function",
350
+ },
351
+ {
352
+ inputs: [
353
+ {
354
+ internalType: "uint32",
355
+ name: "_eid",
356
+ type: "uint32",
357
+ },
358
+ {
359
+ internalType: "bytes32",
360
+ name: "_peer",
361
+ type: "bytes32",
362
+ },
363
+ ],
364
+ name: "setPeer",
365
+ outputs: [],
366
+ stateMutability: "nonpayable",
367
+ type: "function",
368
+ },
369
+ {
370
+ inputs: [
371
+ {
372
+ internalType: "address",
373
+ name: "newOwner",
374
+ type: "address",
375
+ },
376
+ ],
377
+ name: "transferOwnership",
378
+ outputs: [],
379
+ stateMutability: "nonpayable",
380
+ type: "function",
381
+ },
382
+ ];
383
+
384
+ export class OAppReceiverUpgradeable__factory {
385
+ static readonly abi = _abi;
386
+ static createInterface(): OAppReceiverUpgradeableInterface {
387
+ return new utils.Interface(_abi) as OAppReceiverUpgradeableInterface;
388
+ }
389
+ static connect(
390
+ address: string,
391
+ signerOrProvider: Signer | Provider
392
+ ): OAppReceiverUpgradeable {
393
+ return new Contract(
394
+ address,
395
+ _abi,
396
+ signerOrProvider
397
+ ) as OAppReceiverUpgradeable;
398
+ }
399
+ }