@pendle/core-v2 6.2.2-beta → 6.2.2-sweed

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 (494) 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/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +13 -0
  11. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +20 -2
  13. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +20 -2
  15. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.json +2 -2
  18. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +6 -24
  20. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  21. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  22. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  23. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  24. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  25. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  26. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  27. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  28. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  29. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  30. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  31. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  32. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  35. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  37. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.json +19 -0
  39. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.dbg.json +4 -0
  40. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.json +636 -0
  41. package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.dbg.json +4 -0
  42. package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.json +1181 -0
  43. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
  47. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +28 -2
  51. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +4 -0
  52. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.json +608 -0
  53. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +28 -2
  55. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.json +15 -2
  57. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  60. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  61. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
  62. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +27 -2
  64. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  66. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  67. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.json +2 -2
  68. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  69. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  70. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  71. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +1 -1
  72. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +1 -1
  73. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  74. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  75. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  76. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
  77. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  78. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +2 -2
  79. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +4 -0
  84. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.json +141 -0
  85. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +4 -0
  115. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.json +282 -0
  116. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.json +19 -0
  122. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +58 -0
  133. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +81 -19
  135. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  143. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  144. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  145. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  146. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  147. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  148. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  149. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.json +26 -0
  150. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  151. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  152. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  153. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  154. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  155. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  156. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  157. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.json +13 -0
  158. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  159. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +26 -0
  160. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  161. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  162. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  163. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  164. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  165. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  166. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  167. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
  168. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  169. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  170. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
  171. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  172. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  173. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.json +2 -2
  179. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
  182. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  183. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  185. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.json +2 -2
  186. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  187. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  188. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  189. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.json +2 -2
  190. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +4 -0
  191. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +333 -0
  192. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  193. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  194. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  195. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  196. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.json +15 -2
  197. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  198. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.json +2 -2
  199. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  200. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  201. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  202. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  203. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  204. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  205. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.json +2 -2
  206. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  207. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  208. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  209. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +7 -2
  210. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  211. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  212. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  213. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  214. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
  215. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  216. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  217. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  218. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  219. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  220. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  221. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  222. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  223. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  224. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  225. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  226. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  227. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  228. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  229. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  230. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  231. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  232. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
  233. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  234. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
  235. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  236. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +4 -0
  237. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.json +533 -0
  238. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +4 -0
  239. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.json +889 -0
  240. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +4 -0
  241. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.json +84 -0
  242. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +4 -0
  243. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.json +24 -0
  244. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  245. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
  246. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  247. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.json +2 -2
  248. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  249. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.json +2 -2
  250. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  251. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +2 -2
  252. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  253. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +2 -2
  254. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  255. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +2 -2
  256. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  257. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  258. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +2 -2
  259. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  260. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +2 -2
  261. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  262. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  263. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  264. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.json +2 -2
  265. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  266. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  267. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  268. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  269. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  270. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  271. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  272. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  273. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  274. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.json +2 -2
  275. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  276. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  277. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
  278. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
  279. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  280. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  281. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  282. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
  283. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  284. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
  285. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  286. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  287. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  288. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  289. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  290. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  291. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  292. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  293. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  294. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  295. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  296. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  297. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  298. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  299. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  300. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  301. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.json +2 -2
  302. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  303. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  304. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  305. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  306. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  307. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
  308. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  309. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
  310. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  311. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  312. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  313. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  314. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  315. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  316. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  317. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  318. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +6 -2
  319. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol +12 -2
  320. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol +9 -1
  321. package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +10 -14
  322. package/contracts/core/Market/PendleGauge.sol +2 -0
  323. package/contracts/core/Market/{v3/PendleMarketFactoryV3.sol → PendleMarketFactoryV6Upg.sol} +18 -14
  324. package/contracts/core/Market/{v3/PendleMarketV3.sol → PendleMarketV6.sol} +48 -13
  325. package/contracts/core/YieldContracts/PendlePrincipalToken.sol +6 -0
  326. package/contracts/core/YieldContracts/{PendleYieldContractFactory.sol → PendleYieldContractFactoryUpg.sol} +10 -13
  327. package/contracts/core/YieldContracts/PendleYieldToken.sol +6 -0
  328. package/contracts/core/erc20/PendleERC20.sol +12 -0
  329. package/contracts/core/libraries/Errors.sol +7 -0
  330. package/contracts/core/libraries/StringLib.sol +12 -0
  331. package/contracts/interfaces/IMarketSweed.sol +23 -0
  332. package/contracts/interfaces/IPExchangeRateOracleApp.sol +86 -0
  333. package/contracts/interfaces/IPGauge.sol +4 -3
  334. package/contracts/interfaces/IPMarket.sol +8 -2
  335. package/contracts/interfaces/IPMarketFactory.sol +22 -10
  336. package/contracts/interfaces/IPPrincipalToken.sol +4 -0
  337. package/contracts/interfaces/IPYieldContractFactory.sol +2 -0
  338. package/contracts/interfaces/IPYieldToken.sol +4 -0
  339. package/contracts/offchain-helpers/MarketSweed.sol +239 -0
  340. package/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol +10 -10
  341. package/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol +6 -6
  342. package/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol +3 -3
  343. package/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol +23 -0
  344. package/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol +160 -0
  345. package/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol +25 -0
  346. package/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol +36 -0
  347. package/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol +9 -0
  348. package/package.json +3 -2
  349. package/typechain-types/ExchangeRateMsgCodec.ts +89 -0
  350. package/typechain-types/IMarketSweed.ts +203 -0
  351. package/typechain-types/IPExchangeRateOracleApp.ts +352 -0
  352. package/typechain-types/IPGauge.ts +19 -0
  353. package/typechain-types/IPMarket.ts +76 -0
  354. package/typechain-types/IPMarketFactory.ts +146 -46
  355. package/typechain-types/IPPrincipalToken.ts +34 -0
  356. package/typechain-types/IPYieldContractFactory.ts +13 -0
  357. package/typechain-types/IPYieldToken.ts +34 -0
  358. package/typechain-types/LimitMathCore.ts +102 -0
  359. package/typechain-types/MarketSweed.ts +255 -0
  360. package/typechain-types/{PendleFeeSetter.ts → OAppCoreUpgradeable.ts} +123 -140
  361. package/typechain-types/OAppOptionsType3Upgradeable.ts +319 -0
  362. package/typechain-types/OAppReceiverUpgradeable.ts +498 -0
  363. package/typechain-types/OAppSenderUpgradeable.ts +320 -0
  364. package/typechain-types/OAppUpgradeable.ts +498 -0
  365. package/typechain-types/OwnableUpgradeable.ts +174 -0
  366. package/typechain-types/PendleCommonPoolDeployHelperV2.ts +7 -1
  367. package/typechain-types/PendleCrossChainOracleBaseApp_Init.ts +662 -0
  368. package/typechain-types/PendleERC20.ts +21 -0
  369. package/typechain-types/PendleExchangeRateOracleApp.ts +1012 -0
  370. package/typechain-types/PendleExchangeRateOracleV2.ts +142 -0
  371. package/typechain-types/PendleGauge.ts +19 -0
  372. package/typechain-types/PendleGaugeControllerBaseUpg.ts +19 -0
  373. package/typechain-types/PendleGaugeControllerMainchainUpg.ts +19 -0
  374. package/typechain-types/PendleGaugeControllerSidechainUpg.ts +19 -0
  375. package/typechain-types/PendleLPWrapper.ts +21 -0
  376. package/typechain-types/PendleMarketFactoryV6Upg.ts +773 -0
  377. package/typechain-types/PendleMarketV6.ts +1248 -0
  378. package/typechain-types/PendlePrincipalToken.ts +34 -0
  379. package/typechain-types/PendleVotingControllerUpg.ts +18 -48
  380. package/typechain-types/PendleYieldContractFactoryUpg.ts +820 -0
  381. package/typechain-types/PendleYieldToken.ts +34 -0
  382. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  383. package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
  384. package/typechain-types/factories/ActionDelegateBase__factory.ts +1 -1
  385. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  386. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  387. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  388. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  389. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  390. package/typechain-types/factories/ActionSimple__factory.ts +1 -1
  391. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  392. package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
  393. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  394. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  395. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  396. package/typechain-types/factories/BalanceReader__factory.ts +1 -1
  397. package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +1 -1
  398. package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +1 -1
  399. package/typechain-types/factories/Broadcaster__factory.ts +1 -1
  400. package/typechain-types/factories/Errors__factory.ts +26 -1
  401. package/typechain-types/factories/ExchangeRateMsgCodec__factory.ts +81 -0
  402. package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
  403. package/typechain-types/factories/{IPActionCrossChain__factory.ts → IMarketSweed__factory.ts} +61 -22
  404. package/typechain-types/factories/IPExchangeRateOracleApp__factory.ts +301 -0
  405. package/typechain-types/factories/IPGauge__factory.ts +19 -0
  406. package/typechain-types/factories/IPMarketFactory__factory.ts +81 -19
  407. package/typechain-types/factories/IPMarket__factory.ts +58 -0
  408. package/typechain-types/factories/IPPrincipalToken__factory.ts +26 -0
  409. package/typechain-types/factories/IPYieldContractFactory__factory.ts +13 -0
  410. package/typechain-types/factories/IPYieldToken__factory.ts +26 -0
  411. package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
  412. package/typechain-types/factories/LimitMathCore__factory.ts +87 -0
  413. package/typechain-types/factories/MarketSweed__factory.ts +385 -0
  414. package/typechain-types/factories/OAppCoreUpgradeable__factory.ts +228 -0
  415. package/typechain-types/factories/OAppOptionsType3Upgradeable__factory.ts +219 -0
  416. package/typechain-types/factories/OAppReceiverUpgradeable__factory.ts +399 -0
  417. package/typechain-types/factories/OAppSenderUpgradeable__factory.ts +248 -0
  418. package/typechain-types/factories/OAppUpgradeable__factory.ts +411 -0
  419. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  420. package/typechain-types/factories/OwnableUpgradeable__factory.ts +91 -0
  421. package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +1 -1
  422. package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +1 -1
  423. package/typechain-types/factories/PendleChainlinkOracle__factory.ts +1 -1
  424. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +6 -1
  425. package/typechain-types/factories/PendleCrossChainOracleBaseApp_Init__factory.ts +554 -0
  426. package/typechain-types/factories/PendleERC20__factory.ts +14 -1
  427. package/typechain-types/factories/PendleExchangeRateOracleApp__factory.ts +958 -0
  428. package/typechain-types/factories/PendleExchangeRateOracleV2__factory.ts +165 -0
  429. package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
  430. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  431. package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +13 -0
  432. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +23 -1
  433. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +23 -1
  434. package/typechain-types/factories/PendleGauge__factory.ts +19 -0
  435. package/typechain-types/factories/PendleLPWrapperFactory__factory.ts +1 -1
  436. package/typechain-types/factories/PendleLPWrapper__factory.ts +14 -1
  437. package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
  438. package/typechain-types/factories/PendleMarketFactoryV6Upg__factory.ts +732 -0
  439. package/typechain-types/factories/PendleMarketV6__factory.ts +1261 -0
  440. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  441. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  442. package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +1 -1
  443. package/typechain-types/factories/PendlePYLpOracle__factory.ts +1 -1
  444. package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
  445. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  446. package/typechain-types/factories/PendlePrincipalToken__factory.ts +27 -1
  447. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  448. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  449. package/typechain-types/factories/PendleSparkLinearDiscountOracleFactoryWrapper__factory.ts +1 -1
  450. package/typechain-types/factories/PendleSparkLinearDiscountOracleFactory__factory.ts +1 -1
  451. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +5 -23
  452. package/typechain-types/factories/PendleYieldContractFactoryUpg__factory.ts +692 -0
  453. package/typechain-types/factories/PendleYieldToken__factory.ts +27 -1
  454. package/typechain-types/factories/Reflector__factory.ts +1 -1
  455. package/typechain-types/factories/SimulateHelper__factory.ts +1 -1
  456. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  457. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  458. package/typechain-types/hardhat.d.ts +144 -0
  459. package/typechain-types/index.ts +32 -0
  460. package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.dbg.json +0 -4
  461. package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.json +0 -610
  462. package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +0 -4
  463. package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.json +0 -1131
  464. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +0 -4
  465. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +0 -590
  466. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +0 -4
  467. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.json +0 -394
  468. package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.dbg.json +0 -4
  469. package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.json +0 -370
  470. package/build/artifacts/contracts/core/erc20/PendleERC20Upg.sol/PendleERC20Upg.dbg.json +0 -4
  471. package/build/artifacts/contracts/core/erc20/PendleERC20Upg.sol/PendleERC20Upg.json +0 -246
  472. package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.dbg.json +0 -4
  473. package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.json +0 -202
  474. package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.dbg.json +0 -4
  475. package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.json +0 -833
  476. package/contracts/core/erc20/PendleERC20Permit.sol +0 -80
  477. package/contracts/core/erc20/PendleERC20PermitUpg.sol +0 -82
  478. package/contracts/core/erc20/PendleERC20Upg.sol +0 -334
  479. package/contracts/interfaces/IPMarketFactoryV3.sol +0 -33
  480. package/contracts/interfaces/IPMarketV3.sol +0 -8
  481. package/typechain-types/ActionCrossChain.ts +0 -161
  482. package/typechain-types/BasePendleBridgedPrincipalToken.ts +0 -1689
  483. package/typechain-types/IPActionCrossChain.ts +0 -161
  484. package/typechain-types/LimitBackendHelper.ts +0 -287
  485. package/typechain-types/PendleBridgedPrincipalToken_18Decimals.ts +0 -1689
  486. package/typechain-types/PendleBridgedPrincipalToken_6Decimals.ts +0 -1689
  487. package/typechain-types/PendleBridgedPrincipalToken_8Decimals.ts +0 -1689
  488. package/typechain-types/factories/ActionCrossChain__factory.ts +0 -152
  489. package/typechain-types/factories/BasePendleBridgedPrincipalToken__factory.ts +0 -1548
  490. package/typechain-types/factories/LimitBackendHelper__factory.ts +0 -232
  491. package/typechain-types/factories/PendleBridgedPrincipalToken_18Decimals__factory.ts +0 -1652
  492. package/typechain-types/factories/PendleBridgedPrincipalToken_6Decimals__factory.ts +0 -1650
  493. package/typechain-types/factories/PendleBridgedPrincipalToken_8Decimals__factory.ts +0 -1650
  494. package/typechain-types/factories/PendleFeeSetter__factory.ts +0 -257
@@ -0,0 +1,958 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
+ import { Provider, TransactionRequest } from "@ethersproject/providers";
6
+ import type {
7
+ PendleExchangeRateOracleApp,
8
+ PendleExchangeRateOracleAppInterface,
9
+ } from "../PendleExchangeRateOracleApp";
10
+
11
+ const _abi = [
12
+ {
13
+ inputs: [
14
+ {
15
+ internalType: "address",
16
+ name: "_endpoint",
17
+ type: "address",
18
+ },
19
+ {
20
+ internalType: "address payable",
21
+ name: "_refundAddress",
22
+ type: "address",
23
+ },
24
+ ],
25
+ stateMutability: "nonpayable",
26
+ type: "constructor",
27
+ },
28
+ {
29
+ inputs: [],
30
+ name: "ExchangeRateCallFailed",
31
+ type: "error",
32
+ },
33
+ {
34
+ inputs: [],
35
+ name: "FeedNotInitialized",
36
+ type: "error",
37
+ },
38
+ {
39
+ inputs: [],
40
+ name: "InvalidDelegate",
41
+ type: "error",
42
+ },
43
+ {
44
+ inputs: [],
45
+ name: "InvalidDestinationEid",
46
+ type: "error",
47
+ },
48
+ {
49
+ inputs: [],
50
+ name: "InvalidEndpointCall",
51
+ type: "error",
52
+ },
53
+ {
54
+ inputs: [],
55
+ name: "InvalidMsgType",
56
+ type: "error",
57
+ },
58
+ {
59
+ inputs: [
60
+ {
61
+ internalType: "bytes",
62
+ name: "options",
63
+ type: "bytes",
64
+ },
65
+ ],
66
+ name: "InvalidOptions",
67
+ type: "error",
68
+ },
69
+ {
70
+ inputs: [],
71
+ name: "LzTokenUnavailable",
72
+ type: "error",
73
+ },
74
+ {
75
+ inputs: [
76
+ {
77
+ internalType: "uint32",
78
+ name: "eid",
79
+ type: "uint32",
80
+ },
81
+ ],
82
+ name: "NoPeer",
83
+ type: "error",
84
+ },
85
+ {
86
+ inputs: [
87
+ {
88
+ internalType: "uint256",
89
+ name: "msgValue",
90
+ type: "uint256",
91
+ },
92
+ ],
93
+ name: "NotEnoughNative",
94
+ type: "error",
95
+ },
96
+ {
97
+ inputs: [
98
+ {
99
+ internalType: "address",
100
+ name: "addr",
101
+ type: "address",
102
+ },
103
+ ],
104
+ name: "OnlyEndpoint",
105
+ type: "error",
106
+ },
107
+ {
108
+ inputs: [
109
+ {
110
+ internalType: "uint32",
111
+ name: "eid",
112
+ type: "uint32",
113
+ },
114
+ {
115
+ internalType: "bytes32",
116
+ name: "sender",
117
+ type: "bytes32",
118
+ },
119
+ ],
120
+ name: "OnlyPeer",
121
+ type: "error",
122
+ },
123
+ {
124
+ anonymous: false,
125
+ inputs: [
126
+ {
127
+ indexed: true,
128
+ internalType: "address",
129
+ name: "sender",
130
+ type: "address",
131
+ },
132
+ ],
133
+ name: "AllowedSenderSet",
134
+ type: "event",
135
+ },
136
+ {
137
+ anonymous: false,
138
+ inputs: [
139
+ {
140
+ components: [
141
+ {
142
+ internalType: "uint32",
143
+ name: "eid",
144
+ type: "uint32",
145
+ },
146
+ {
147
+ internalType: "uint16",
148
+ name: "msgType",
149
+ type: "uint16",
150
+ },
151
+ {
152
+ internalType: "bytes",
153
+ name: "options",
154
+ type: "bytes",
155
+ },
156
+ ],
157
+ indexed: false,
158
+ internalType: "struct EnforcedOptionParam[]",
159
+ name: "_enforcedOptions",
160
+ type: "tuple[]",
161
+ },
162
+ ],
163
+ name: "EnforcedOptionSet",
164
+ type: "event",
165
+ },
166
+ {
167
+ anonymous: false,
168
+ inputs: [
169
+ {
170
+ indexed: true,
171
+ internalType: "bytes32",
172
+ name: "guid",
173
+ type: "bytes32",
174
+ },
175
+ {
176
+ indexed: true,
177
+ internalType: "uint32",
178
+ name: "srcEid",
179
+ type: "uint32",
180
+ },
181
+ {
182
+ indexed: true,
183
+ internalType: "bytes32",
184
+ name: "exchangeRateSource",
185
+ type: "bytes32",
186
+ },
187
+ {
188
+ indexed: false,
189
+ internalType: "uint256",
190
+ name: "exchangeRate",
191
+ type: "uint256",
192
+ },
193
+ {
194
+ indexed: false,
195
+ internalType: "uint256",
196
+ name: "updatedAt",
197
+ type: "uint256",
198
+ },
199
+ {
200
+ indexed: false,
201
+ internalType: "bool",
202
+ name: "rateAccepted",
203
+ type: "bool",
204
+ },
205
+ ],
206
+ name: "ExchangeRateReceived",
207
+ type: "event",
208
+ },
209
+ {
210
+ anonymous: false,
211
+ inputs: [
212
+ {
213
+ indexed: true,
214
+ internalType: "bytes32",
215
+ name: "guid",
216
+ type: "bytes32",
217
+ },
218
+ {
219
+ indexed: true,
220
+ internalType: "uint32",
221
+ name: "dstEid",
222
+ type: "uint32",
223
+ },
224
+ {
225
+ indexed: true,
226
+ internalType: "address",
227
+ name: "exchangeRateSource",
228
+ type: "address",
229
+ },
230
+ {
231
+ indexed: false,
232
+ internalType: "uint256",
233
+ name: "exchangeRate",
234
+ type: "uint256",
235
+ },
236
+ ],
237
+ name: "ExchangeRateSent",
238
+ type: "event",
239
+ },
240
+ {
241
+ anonymous: false,
242
+ inputs: [
243
+ {
244
+ indexed: false,
245
+ internalType: "uint8",
246
+ name: "version",
247
+ type: "uint8",
248
+ },
249
+ ],
250
+ name: "Initialized",
251
+ type: "event",
252
+ },
253
+ {
254
+ anonymous: false,
255
+ inputs: [
256
+ {
257
+ indexed: true,
258
+ internalType: "address",
259
+ name: "previousOwner",
260
+ type: "address",
261
+ },
262
+ {
263
+ indexed: true,
264
+ internalType: "address",
265
+ name: "newOwner",
266
+ type: "address",
267
+ },
268
+ ],
269
+ name: "OwnershipTransferred",
270
+ type: "event",
271
+ },
272
+ {
273
+ anonymous: false,
274
+ inputs: [
275
+ {
276
+ indexed: false,
277
+ internalType: "uint32",
278
+ name: "eid",
279
+ type: "uint32",
280
+ },
281
+ {
282
+ indexed: false,
283
+ internalType: "bytes32",
284
+ name: "peer",
285
+ type: "bytes32",
286
+ },
287
+ ],
288
+ name: "PeerSet",
289
+ type: "event",
290
+ },
291
+ {
292
+ inputs: [
293
+ {
294
+ components: [
295
+ {
296
+ internalType: "uint32",
297
+ name: "srcEid",
298
+ type: "uint32",
299
+ },
300
+ {
301
+ internalType: "bytes32",
302
+ name: "sender",
303
+ type: "bytes32",
304
+ },
305
+ {
306
+ internalType: "uint64",
307
+ name: "nonce",
308
+ type: "uint64",
309
+ },
310
+ ],
311
+ internalType: "struct Origin",
312
+ name: "origin",
313
+ type: "tuple",
314
+ },
315
+ ],
316
+ name: "allowInitializePath",
317
+ outputs: [
318
+ {
319
+ internalType: "bool",
320
+ name: "",
321
+ type: "bool",
322
+ },
323
+ ],
324
+ stateMutability: "view",
325
+ type: "function",
326
+ },
327
+ {
328
+ inputs: [],
329
+ name: "allowedSender",
330
+ outputs: [
331
+ {
332
+ internalType: "address",
333
+ name: "",
334
+ type: "address",
335
+ },
336
+ ],
337
+ stateMutability: "view",
338
+ type: "function",
339
+ },
340
+ {
341
+ inputs: [
342
+ {
343
+ internalType: "uint32",
344
+ name: "_eid",
345
+ type: "uint32",
346
+ },
347
+ {
348
+ internalType: "uint16",
349
+ name: "_msgType",
350
+ type: "uint16",
351
+ },
352
+ {
353
+ internalType: "bytes",
354
+ name: "_extraOptions",
355
+ type: "bytes",
356
+ },
357
+ ],
358
+ name: "combineOptions",
359
+ outputs: [
360
+ {
361
+ internalType: "bytes",
362
+ name: "",
363
+ type: "bytes",
364
+ },
365
+ ],
366
+ stateMutability: "view",
367
+ type: "function",
368
+ },
369
+ {
370
+ inputs: [],
371
+ name: "eid",
372
+ outputs: [
373
+ {
374
+ internalType: "uint32",
375
+ name: "",
376
+ type: "uint32",
377
+ },
378
+ ],
379
+ stateMutability: "view",
380
+ type: "function",
381
+ },
382
+ {
383
+ inputs: [],
384
+ name: "endpoint",
385
+ outputs: [
386
+ {
387
+ internalType: "contract ILayerZeroEndpointV2",
388
+ name: "",
389
+ type: "address",
390
+ },
391
+ ],
392
+ stateMutability: "view",
393
+ type: "function",
394
+ },
395
+ {
396
+ inputs: [
397
+ {
398
+ internalType: "uint32",
399
+ name: "_eid",
400
+ type: "uint32",
401
+ },
402
+ {
403
+ internalType: "uint16",
404
+ name: "_msgType",
405
+ type: "uint16",
406
+ },
407
+ ],
408
+ name: "enforcedOptions",
409
+ outputs: [
410
+ {
411
+ internalType: "bytes",
412
+ name: "",
413
+ type: "bytes",
414
+ },
415
+ ],
416
+ stateMutability: "view",
417
+ type: "function",
418
+ },
419
+ {
420
+ inputs: [
421
+ {
422
+ internalType: "uint32",
423
+ name: "_srcEid",
424
+ type: "uint32",
425
+ },
426
+ {
427
+ internalType: "bytes32",
428
+ name: "exchangeRateSource",
429
+ type: "bytes32",
430
+ },
431
+ ],
432
+ name: "getExchangeRate",
433
+ outputs: [
434
+ {
435
+ components: [
436
+ {
437
+ internalType: "uint256",
438
+ name: "exchangeRate",
439
+ type: "uint256",
440
+ },
441
+ {
442
+ internalType: "uint256",
443
+ name: "updatedAt",
444
+ type: "uint256",
445
+ },
446
+ ],
447
+ internalType: "struct IPExchangeRateOracleApp.ExchangeRateData",
448
+ name: "exchangeRateData",
449
+ type: "tuple",
450
+ },
451
+ ],
452
+ stateMutability: "view",
453
+ type: "function",
454
+ },
455
+ {
456
+ inputs: [
457
+ {
458
+ internalType: "address",
459
+ name: "_owner",
460
+ type: "address",
461
+ },
462
+ {
463
+ internalType: "address",
464
+ name: "_delegate",
465
+ type: "address",
466
+ },
467
+ {
468
+ internalType: "address",
469
+ name: "_allowedSender",
470
+ type: "address",
471
+ },
472
+ ],
473
+ name: "initialize",
474
+ outputs: [],
475
+ stateMutability: "nonpayable",
476
+ type: "function",
477
+ },
478
+ {
479
+ inputs: [
480
+ {
481
+ components: [
482
+ {
483
+ internalType: "uint32",
484
+ name: "srcEid",
485
+ type: "uint32",
486
+ },
487
+ {
488
+ internalType: "bytes32",
489
+ name: "sender",
490
+ type: "bytes32",
491
+ },
492
+ {
493
+ internalType: "uint64",
494
+ name: "nonce",
495
+ type: "uint64",
496
+ },
497
+ ],
498
+ internalType: "struct Origin",
499
+ name: "",
500
+ type: "tuple",
501
+ },
502
+ {
503
+ internalType: "bytes",
504
+ name: "",
505
+ type: "bytes",
506
+ },
507
+ {
508
+ internalType: "address",
509
+ name: "_sender",
510
+ type: "address",
511
+ },
512
+ ],
513
+ name: "isComposeMsgSender",
514
+ outputs: [
515
+ {
516
+ internalType: "bool",
517
+ name: "",
518
+ type: "bool",
519
+ },
520
+ ],
521
+ stateMutability: "view",
522
+ type: "function",
523
+ },
524
+ {
525
+ inputs: [
526
+ {
527
+ components: [
528
+ {
529
+ internalType: "uint32",
530
+ name: "srcEid",
531
+ type: "uint32",
532
+ },
533
+ {
534
+ internalType: "bytes32",
535
+ name: "sender",
536
+ type: "bytes32",
537
+ },
538
+ {
539
+ internalType: "uint64",
540
+ name: "nonce",
541
+ type: "uint64",
542
+ },
543
+ ],
544
+ internalType: "struct Origin",
545
+ name: "_origin",
546
+ type: "tuple",
547
+ },
548
+ {
549
+ internalType: "bytes32",
550
+ name: "_guid",
551
+ type: "bytes32",
552
+ },
553
+ {
554
+ internalType: "bytes",
555
+ name: "_message",
556
+ type: "bytes",
557
+ },
558
+ {
559
+ internalType: "address",
560
+ name: "_executor",
561
+ type: "address",
562
+ },
563
+ {
564
+ internalType: "bytes",
565
+ name: "_extraData",
566
+ type: "bytes",
567
+ },
568
+ ],
569
+ name: "lzReceive",
570
+ outputs: [],
571
+ stateMutability: "payable",
572
+ type: "function",
573
+ },
574
+ {
575
+ inputs: [
576
+ {
577
+ internalType: "uint32",
578
+ name: "",
579
+ type: "uint32",
580
+ },
581
+ {
582
+ internalType: "bytes32",
583
+ name: "",
584
+ type: "bytes32",
585
+ },
586
+ ],
587
+ name: "nextNonce",
588
+ outputs: [
589
+ {
590
+ internalType: "uint64",
591
+ name: "nonce",
592
+ type: "uint64",
593
+ },
594
+ ],
595
+ stateMutability: "view",
596
+ type: "function",
597
+ },
598
+ {
599
+ inputs: [],
600
+ name: "oAppVersion",
601
+ outputs: [
602
+ {
603
+ internalType: "uint64",
604
+ name: "senderVersion",
605
+ type: "uint64",
606
+ },
607
+ {
608
+ internalType: "uint64",
609
+ name: "receiverVersion",
610
+ type: "uint64",
611
+ },
612
+ ],
613
+ stateMutability: "pure",
614
+ type: "function",
615
+ },
616
+ {
617
+ inputs: [],
618
+ name: "owner",
619
+ outputs: [
620
+ {
621
+ internalType: "address",
622
+ name: "",
623
+ type: "address",
624
+ },
625
+ ],
626
+ stateMutability: "view",
627
+ type: "function",
628
+ },
629
+ {
630
+ inputs: [
631
+ {
632
+ internalType: "uint32",
633
+ name: "_eid",
634
+ type: "uint32",
635
+ },
636
+ ],
637
+ name: "peers",
638
+ outputs: [
639
+ {
640
+ internalType: "bytes32",
641
+ name: "",
642
+ type: "bytes32",
643
+ },
644
+ ],
645
+ stateMutability: "view",
646
+ type: "function",
647
+ },
648
+ {
649
+ inputs: [
650
+ {
651
+ components: [
652
+ {
653
+ internalType: "address",
654
+ name: "exchangeRateSource",
655
+ type: "address",
656
+ },
657
+ {
658
+ internalType: "uint32",
659
+ name: "dstEid",
660
+ type: "uint32",
661
+ },
662
+ {
663
+ internalType: "bytes",
664
+ name: "extraOptions",
665
+ type: "bytes",
666
+ },
667
+ ],
668
+ internalType: "struct IPExchangeRateOracleApp.SendExchangeRateParam",
669
+ name: "sendParam",
670
+ type: "tuple",
671
+ },
672
+ {
673
+ internalType: "bool",
674
+ name: "payInLzToken",
675
+ type: "bool",
676
+ },
677
+ ],
678
+ name: "quoteSendExchangeRate",
679
+ outputs: [
680
+ {
681
+ components: [
682
+ {
683
+ internalType: "uint256",
684
+ name: "nativeFee",
685
+ type: "uint256",
686
+ },
687
+ {
688
+ internalType: "uint256",
689
+ name: "lzTokenFee",
690
+ type: "uint256",
691
+ },
692
+ ],
693
+ internalType: "struct MessagingFee",
694
+ name: "fee",
695
+ type: "tuple",
696
+ },
697
+ ],
698
+ stateMutability: "view",
699
+ type: "function",
700
+ },
701
+ {
702
+ inputs: [],
703
+ name: "refundAddress",
704
+ outputs: [
705
+ {
706
+ internalType: "address payable",
707
+ name: "",
708
+ type: "address",
709
+ },
710
+ ],
711
+ stateMutability: "view",
712
+ type: "function",
713
+ },
714
+ {
715
+ inputs: [],
716
+ name: "renounceOwnership",
717
+ outputs: [],
718
+ stateMutability: "nonpayable",
719
+ type: "function",
720
+ },
721
+ {
722
+ inputs: [
723
+ {
724
+ components: [
725
+ {
726
+ internalType: "address",
727
+ name: "exchangeRateSource",
728
+ type: "address",
729
+ },
730
+ {
731
+ internalType: "uint32",
732
+ name: "dstEid",
733
+ type: "uint32",
734
+ },
735
+ {
736
+ internalType: "bytes",
737
+ name: "extraOptions",
738
+ type: "bytes",
739
+ },
740
+ ],
741
+ internalType: "struct IPExchangeRateOracleApp.SendExchangeRateParam",
742
+ name: "sendParam",
743
+ type: "tuple",
744
+ },
745
+ {
746
+ components: [
747
+ {
748
+ internalType: "uint256",
749
+ name: "nativeFee",
750
+ type: "uint256",
751
+ },
752
+ {
753
+ internalType: "uint256",
754
+ name: "lzTokenFee",
755
+ type: "uint256",
756
+ },
757
+ ],
758
+ internalType: "struct MessagingFee",
759
+ name: "fee",
760
+ type: "tuple",
761
+ },
762
+ ],
763
+ name: "sendExchangeRate",
764
+ outputs: [
765
+ {
766
+ components: [
767
+ {
768
+ internalType: "bytes32",
769
+ name: "guid",
770
+ type: "bytes32",
771
+ },
772
+ {
773
+ internalType: "uint64",
774
+ name: "nonce",
775
+ type: "uint64",
776
+ },
777
+ {
778
+ components: [
779
+ {
780
+ internalType: "uint256",
781
+ name: "nativeFee",
782
+ type: "uint256",
783
+ },
784
+ {
785
+ internalType: "uint256",
786
+ name: "lzTokenFee",
787
+ type: "uint256",
788
+ },
789
+ ],
790
+ internalType: "struct MessagingFee",
791
+ name: "fee",
792
+ type: "tuple",
793
+ },
794
+ ],
795
+ internalType: "struct MessagingReceipt",
796
+ name: "receipt",
797
+ type: "tuple",
798
+ },
799
+ ],
800
+ stateMutability: "payable",
801
+ type: "function",
802
+ },
803
+ {
804
+ inputs: [
805
+ {
806
+ internalType: "address",
807
+ name: "_allowedSender",
808
+ type: "address",
809
+ },
810
+ ],
811
+ name: "setAllowedSender",
812
+ outputs: [],
813
+ stateMutability: "nonpayable",
814
+ type: "function",
815
+ },
816
+ {
817
+ inputs: [
818
+ {
819
+ internalType: "address",
820
+ name: "_delegate",
821
+ type: "address",
822
+ },
823
+ ],
824
+ name: "setDelegate",
825
+ outputs: [],
826
+ stateMutability: "nonpayable",
827
+ type: "function",
828
+ },
829
+ {
830
+ inputs: [
831
+ {
832
+ components: [
833
+ {
834
+ internalType: "uint32",
835
+ name: "eid",
836
+ type: "uint32",
837
+ },
838
+ {
839
+ internalType: "uint16",
840
+ name: "msgType",
841
+ type: "uint16",
842
+ },
843
+ {
844
+ internalType: "bytes",
845
+ name: "options",
846
+ type: "bytes",
847
+ },
848
+ ],
849
+ internalType: "struct EnforcedOptionParam[]",
850
+ name: "_enforcedOptions",
851
+ type: "tuple[]",
852
+ },
853
+ ],
854
+ name: "setEnforcedOptions",
855
+ outputs: [],
856
+ stateMutability: "nonpayable",
857
+ type: "function",
858
+ },
859
+ {
860
+ inputs: [
861
+ {
862
+ internalType: "uint32",
863
+ name: "_eid",
864
+ type: "uint32",
865
+ },
866
+ {
867
+ internalType: "bytes32",
868
+ name: "_peer",
869
+ type: "bytes32",
870
+ },
871
+ ],
872
+ name: "setPeer",
873
+ outputs: [],
874
+ stateMutability: "nonpayable",
875
+ type: "function",
876
+ },
877
+ {
878
+ inputs: [
879
+ {
880
+ internalType: "address",
881
+ name: "newOwner",
882
+ type: "address",
883
+ },
884
+ ],
885
+ name: "transferOwnership",
886
+ outputs: [],
887
+ stateMutability: "nonpayable",
888
+ type: "function",
889
+ },
890
+ ];
891
+
892
+ const _bytecode =
893
+ "0x60e060405234801561000f575f5ffd5b506040516126b43803806126b483398101604081905261002e9161018d565b6001600160a01b03808316608052811660a0526100496100ba565b816001600160a01b031663416ecebf6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610085573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100a991906101c5565b63ffffffff1660c052506101ef9050565b5f54610100900460ff16156101255760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b5f5460ff90811614610174575f805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6001600160a01b038116811461018a575f5ffd5b50565b5f5f6040838503121561019e575f5ffd5b82516101a981610176565b60208401519092506101ba81610176565b809150509250929050565b5f602082840312156101d5575f5ffd5b815163ffffffff811681146101e8575f5ffd5b9392505050565b60805160a05160c05161245c6102585f395f818161024b0152818161048d015261084a01525f818161012401526108de01525f81816102bf0152818161054601528181610dbc015281816110ee015281816113290152818161154101526115f8015261245c5ff3fe60806040526004361061010f575f3560e01c80630cb61f6c14610113578063124460811461015c57806313137d651461018857806314c7407b1461019d5780631575eaae146101bc57806317442b70146101db57806323882c6c146101fc5780633400288b1461021b578063416ecebf1461023a5780635535d461146102825780635e280f11146102ae578063715018a6146102e15780637d25a05e146102f557806382413eac1461032e5780638da5cb5b1461035d5780639e3a229814610371578063b98bd07014610391578063bb0b6a53146103b0578063bc70b354146103dd578063c0c53b8b146103fc578063ca5eb5e11461041b578063f2fde38b1461043a578063ff7bd03d14610459575b5f5ffd5b34801561011e575f5ffd5b506101467f000000000000000000000000000000000000000000000000000000000000000081565b6040516101539190611971565b60405180910390f35b348015610167575f5ffd5b5061017b610176366004611998565b610478565b60405161015391906119c0565b61019b610196366004611a45565b610544565b005b3480156101a8575f5ffd5b5061017b6101b7366004611aec565b6105fc565b3480156101c7575f5ffd5b5060ca54610146906001600160a01b031681565b3480156101e6575f5ffd5b5060408051600181526002602082015201610153565b348015610207575f5ffd5b5061019b610216366004611b3a565b61064d565b348015610226575f5ffd5b5061019b610235366004611998565b610661565b348015610245575f5ffd5b5061026d7f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff9091168152602001610153565b34801561028d575f5ffd5b506102a161029c366004611b66565b6106cb565b6040516101539190611be4565b3480156102b9575f5ffd5b506101467f000000000000000000000000000000000000000000000000000000000000000081565b3480156102ec575f5ffd5b5061019b61078b565b348015610300575f5ffd5b5061031661030f366004611998565b5f92915050565b6040516001600160401b039091168152602001610153565b348015610339575f5ffd5b5061034d610348366004611bf6565b61079e565b6040519015158152602001610153565b348015610368575f5ffd5b506101466107b3565b61038461037f366004611c58565b6107c2565b6040516101539190611cad565b34801561039c575f5ffd5b5061019b6103ab366004611cec565b610977565b3480156103bb575f5ffd5b506103cf6103ca366004611d5b565b610add565b604051908152602001610153565b3480156103e8575f5ffd5b506102a16103f7366004611d74565b610b03565b348015610407575f5ffd5b5061019b610416366004611dd0565b610c7d565b348015610426575f5ffd5b5061019b610435366004611b3a565b610d9d565b348015610445575f5ffd5b5061019b610454366004611b3a565b610e21565b348015610464575f5ffd5b5061034d610473366004611e18565b610e97565b604080518082019091525f80825260208201527f000000000000000000000000000000000000000000000000000000000000000063ffffffff168363ffffffff16036104e9575f6104cd83610eb4565b610eb4565b60408051808201909152908152426020820152915061053e9050565b5063ffffffff82165f90815260c960209081526040808320848452825280832081518083019092528054825260010154918101829052910361053e5760405163877eb06960e01b815260040160405180910390fd5b92915050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316331461059857336040516391ac5e4f60e01b815260040161058f9190611971565b60405180910390fd5b602087018035906105b2906105ad908a611d5b565b610f6f565b146105e4576105c46020880188611d5b565b876020013560405163309afaf360e21b815260040161058f929190611e32565b6105f387878787878787610fbe565b50505050505050565b610604611936565b5f6106156104c86020860186611b3a565b90505f5f610623868461105d565b909250905061064361063b6040880160208901611d5b565b8383886110e4565b9695505050505050565b6106556111b7565b61065e81611216565b50565b6106696111b7565b5f61067261125f565b63ffffffff84165f9081526020829052604090819020849055519091507f238399d427b947898edb290f5ff0f9109849b1c3ba196a42e35f00c50a54b98b906106be9085908590611e32565b60405180910390a1505050565b60605f6106d6611283565b63ffffffff85165f9081526020828152604080832061ffff88168452909152902080549192509061070690611e48565b80601f016020809104026020016040519081016040528092919081815260200182805461073290611e48565b801561077d5780601f106107545761010080835404028352916020019161077d565b820191905f5260205f20905b81548152906001019060200180831161076057829003601f168201915b505050505091505092915050565b6107936111b7565b61079c5f6112a7565b565b6001600160a01b03811630145b949350505050565b6033546001600160a01b031690565b6107ca61194e565b6107d26107b3565b6001600160a01b0316336001600160a01b031614806107fb575060ca546001600160a01b031633145b6108385760405162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5e995960921b604482015260640161058f565b6108486040840160208501611d5b565b7f000000000000000000000000000000000000000000000000000000000000000063ffffffff168163ffffffff16036108945760405163639662e960e11b815260040160405180910390fd5b5f6108a56104c86020870187611b3a565b90505f5f6108b3878461105d565b90925090506109026108cb6040890160208a01611d5b565b83836108dc368b90038b018b611eb6565b7f00000000000000000000000000000000000000000000000000000000000000006112f8565b94506109116020880188611b3a565b6001600160a01b031661092a6040890160208a01611d5b565b63ffffffff16865f01517f04d9e6ce9b15f33adcb2fce632432414b9544ce5a786c765a23cad47ff89c89e8660405161096591815260200190565b60405180910390a45050505092915050565b61097f6111b7565b5f610988611283565b90505f5b82811015610aab576109ce8484838181106109a9576109a9611ee7565b90506020028101906109bb9190611efb565b6109c9906040810190611f19565b6113fe565b8383828181106109e0576109e0611ee7565b90506020028101906109f29190611efb565b610a00906040810190611f19565b835f878786818110610a1457610a14611ee7565b9050602002810190610a269190611efb565b610a34906020810190611d5b565b63ffffffff1663ffffffff1681526020019081526020015f205f878786818110610a6057610a60611ee7565b9050602002810190610a729190611efb565b610a83906040810190602001611f5b565b61ffff16815260208101919091526040015f2091610aa2919083611fb8565b5060010161098c565b507fbe4864a8e820971c0247f5992e2da559595f7bf076a21cb5928d443d2a13b67483836040516106be929190612099565b5f5f610ae761125f565b63ffffffff9093165f9081526020939093525050604090205490565b60605f610b0e611283565b63ffffffff87165f9081526020828152604080832061ffff8a168452909152812080549293509091610b3f90611e48565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6b90611e48565b8015610bb65780601f10610b8d57610100808354040283529160200191610bb6565b820191905f5260205f20905b815481529060010190602001808311610b9957829003601f168201915b5050505050905080515f03610c055784848080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152509295506107ab945050505050565b5f849003610c165791506107ab9050565b60028410610c6057610c2885856113fe565b80610c36856002818961217e565b604051602001610c48939291906121a5565b604051602081830303815290604052925050506107ab565b8484604051639a6d49cd60e01b815260040161058f9291906121cb565b5f54610100900460ff1615808015610c9b57505f54600160ff909116105b80610cbb5750610caa30611444565b158015610cbb57505f5460ff166001145b610d1e5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161058f565b5f805460ff191660011790558015610d3f575f805461ff0019166101001790555b610d498484611453565b610d5282611216565b8015610d97575f805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b610da56111b7565b60405163ca5eb5e160e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ca5eb5e190610df1908490600401611971565b5f604051808303815f87803b158015610e08575f5ffd5b505af1158015610e1a573d5f5f3e3d5ffd5b5050505050565b610e296111b7565b6001600160a01b038116610e8e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161058f565b61065e816112a7565b5f60208201803590610ead906103ca9085611d5b565b1492915050565b5f816001600160a01b0316633ba0b9a96040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610f0f575060408051601f3d908101601f19168201909252610f0c918101906121de565b60015b61053e573d808015610f3c576040519150601f19603f3d011682016040523d82523d5f602084013e610f41565b606091505b5080518015610f51578060208301fd5b604051633a74c8db60e01b815260040160405180910390fd5b919050565b5f5f610f7961125f565b63ffffffff84165f9081526020829052604090205490915080610fb75760405163f6ff4fb760e01b815263ffffffff8516600482015260240161058f565b9392505050565b5f5f5f610fcb888861148f565b919450925090505f610feb610fe360208d018d611d5b565b8585856114d5565b905083610ffb60208d018d611d5b565b63ffffffff168b7f379974d7179a65c64dec15e12045840783f87b63af3eb7fa2dcc01a019cb13748686866040516110489392919092835260208301919091521515604082015260600190565b60405180910390a45050505050505050505050565b6060805f6110b56110716020870187611b3a565b604080516001602082018190526001600160a01b03939093168183015260608101889052426080808301919091528251808303909101815260a09091019091529091565b935090506110da6110cc6040870160208801611d5b565b826103f76040890189611f19565b9150509250929050565b6110ec611936565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ddc28c586040518060a001604052808863ffffffff16815260200161113b89610f6f565b8152602001878152602001868152602001851515815250306040518363ffffffff1660e01b81526004016111709291906121f5565b6040805180830381865afa15801561118a573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ae919061229c565b95945050505050565b336111c06107b3565b6001600160a01b03161461079c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058f565b60ca80546001600160a01b0319166001600160a01b0383169081179091556040517fd23ff0a6a463221f2754af2715b7505cb4887c80a6ffcf7eb85fdb9d2ea1e74b905f90a250565b7f72ab1bc1039b79dc4724ffca13de82c96834302d3c7e0d4252232d4b2dd8f90090565b7f8d2bda5d9f6ffb5796910376005392955773acee5548d0fcdb10e7c264ea000090565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b61130061194e565b5f61130d845f0151611517565b60208501519091501561132757611327846020015161153e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632637a450826040518060a001604052808b63ffffffff1681526020016113778c610f6f565b81526020018a81526020018981526020015f8960200151111515815250866040518463ffffffff1660e01b81526004016113b29291906121f5565b60806040518083038185885af11580156113ce573d5f5f3e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906113f391906122b6565b979650505050505050565b5f61140c600282848661217e565b61141591612328565b60f01c90506003811461143f578282604051639a6d49cd60e01b815260040161058f9291906121cb565b505050565b6001600160a01b03163b151590565b5f54610100900460ff166114795760405162461bcd60e51b815260040161058f9061235e565b6114828161161d565b61148b826112a7565b5050565b5f80808061149f858701876123a9565b91965094509250905061ffff81166001146114cd5760405163f23fef6f60e01b815260040160405180910390fd5b509250925092565b63ffffffff84165f90815260c9602090815260408083208684529091528120600181015483111561150e57838155600181810184905591505b50949350505050565b5f81341461153a576040516304fb820960e51b815234600482015260240161058f565b5090565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e4fe1d946040518163ffffffff1660e01b8152600401602060405180830381865afa15801561159b573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115bf91906123df565b90506001600160a01b0381166115e8576040516329b99a9560e11b815260040160405180910390fd5b61148b6001600160a01b038216337f00000000000000000000000000000000000000000000000000000000000000008561165c565b5f54610100900460ff166116435760405162461bcd60e51b815260040161058f9061235e565b61164c816116b6565b6116546116e5565b61065e6116e5565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610d9790859061170b565b5f54610100900460ff166116dc5760405162461bcd60e51b815260040161058f9061235e565b61065e816117de565b5f54610100900460ff1661079c5760405162461bcd60e51b815260040161058f9061235e565b5f61175f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661182b9092919063ffffffff16565b905080515f148061177f57508080602001905181019061177f91906123fa565b61143f5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161058f565b5f54610100900460ff166118045760405162461bcd60e51b815260040161058f9061235e565b6001600160a01b038116610da557604051632d618d8160e21b815260040160405180910390fd5b60606107ab84845f85855f5f866001600160a01b031685876040516118509190612415565b5f6040518083038185875af1925050503d805f811461188a576040519150601f19603f3d011682016040523d82523d5f602084013e61188f565b606091505b50915091506113f387838387606083156119075782515f03611900576118b485611444565b6119005760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161058f565b50816107ab565b6107ab838381511561191c5781518083602001fd5b8060405162461bcd60e51b815260040161058f9190611be4565b60405180604001604052805f81526020015f81525090565b604080516060810182525f808252602082015290810161196c611936565b905290565b6001600160a01b0391909116815260200190565b803563ffffffff81168114610f6a575f5ffd5b5f5f604083850312156119a9575f5ffd5b6119b283611985565b946020939093013593505050565b81518152602080830151908201526040810161053e565b5f606082840312156119e7575f5ffd5b50919050565b5f5f83601f8401126119fd575f5ffd5b5081356001600160401b03811115611a13575f5ffd5b602083019150836020828501011115611a2a575f5ffd5b9250929050565b6001600160a01b038116811461065e575f5ffd5b5f5f5f5f5f5f5f60e0888a031215611a5b575f5ffd5b611a6589896119d7565b96506060880135955060808801356001600160401b03811115611a86575f5ffd5b611a928a828b016119ed565b90965094505060a0880135611aa681611a31565b925060c08801356001600160401b03811115611ac0575f5ffd5b611acc8a828b016119ed565b989b979a50959850939692959293505050565b801515811461065e575f5ffd5b5f5f60408385031215611afd575f5ffd5b82356001600160401b03811115611b12575f5ffd5b611b1e858286016119d7565b9250506020830135611b2f81611adf565b809150509250929050565b5f60208284031215611b4a575f5ffd5b8135610fb781611a31565b803561ffff81168114610f6a575f5ffd5b5f5f60408385031215611b77575f5ffd5b611b8083611985565b9150611b8e60208401611b55565b90509250929050565b5f5b83811015611bb1578181015183820152602001611b99565b50505f910152565b5f8151808452611bd0816020860160208601611b97565b601f01601f19169290920160200192915050565b602081525f610fb76020830184611bb9565b5f5f5f5f60a08587031215611c09575f5ffd5b611c1386866119d7565b935060608501356001600160401b03811115611c2d575f5ffd5b611c39878288016119ed565b9094509250506080850135611c4d81611a31565b939692955090935050565b5f5f8284036060811215611c6a575f5ffd5b83356001600160401b03811115611c7f575f5ffd5b611c8b868287016119d7565b9350506040601f1982011215611c9f575f5ffd5b506020830190509250929050565b815181526020808301516001600160401b0316908201526040808301516080830191611ce59084018280518252602090810151910152565b5092915050565b5f5f60208385031215611cfd575f5ffd5b82356001600160401b03811115611d12575f5ffd5b8301601f81018513611d22575f5ffd5b80356001600160401b03811115611d37575f5ffd5b8560208260051b8401011115611d4b575f5ffd5b6020919091019590945092505050565b5f60208284031215611d6b575f5ffd5b610fb782611985565b5f5f5f5f60608587031215611d87575f5ffd5b611d9085611985565b9350611d9e60208601611b55565b925060408501356001600160401b03811115611db8575f5ffd5b611dc4878288016119ed565b95989497509550505050565b5f5f5f60608486031215611de2575f5ffd5b8335611ded81611a31565b92506020840135611dfd81611a31565b91506040840135611e0d81611a31565b809150509250925092565b5f60608284031215611e28575f5ffd5b610fb783836119d7565b63ffffffff929092168252602082015260400190565b600181811c90821680611e5c57607f821691505b6020821081036119e757634e487b7160e01b5f52602260045260245ffd5b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b0381118282101715611eb057611eb0611e7a565b60405290565b5f6040828403128015611ec7575f5ffd5b50611ed0611e8e565b823581526020928301359281019290925250919050565b634e487b7160e01b5f52603260045260245ffd5b5f8235605e19833603018112611f0f575f5ffd5b9190910192915050565b5f5f8335601e19843603018112611f2e575f5ffd5b8301803591506001600160401b03821115611f47575f5ffd5b602001915036819003821315611a2a575f5ffd5b5f60208284031215611f6b575f5ffd5b610fb782611b55565b601f82111561143f57805f5260205f20601f840160051c81016020851015611f995750805b601f840160051c820191505b81811015610e1a575f8155600101611fa5565b6001600160401b03831115611fcf57611fcf611e7a565b611fe383611fdd8354611e48565b83611f74565b5f601f841160018114612014575f8515611ffd5750838201355b5f19600387901b1c1916600186901b178355610e1a565b5f83815260208120601f198716915b828110156120435786850135825560209485019460019092019101612023565b508682101561205f575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b602080825281018290525f6040600584901b830181019083018583605e1936839003015b8782101561217157868503603f1901845282358181126120db575f5ffd5b890163ffffffff6120eb82611985565b16865261ffff6120fd60208301611b55565b1660208701526040810135601e19823603018112612119575f5ffd5b016020810190356001600160401b03811115612133575f5ffd5b803603821315612141575f5ffd5b60606040880152612156606088018284612071565b965050506020830192506020840193506001820191506120bd565b5092979650505050505050565b5f5f8585111561218c575f5ffd5b83861115612198575f5ffd5b5050820193919092039150565b5f84516121b6818460208901611b97565b8201838582375f930192835250909392505050565b602081525f6107ab602083018486612071565b5f602082840312156121ee575f5ffd5b5051919050565b6040815263ffffffff8351166040820152602083015160608201525f604084015160a0608084015261222a60e0840182611bb9565b90506060850151603f198483030160a08501526122478282611bb9565b60809690960151151560c08501525050506001600160a01b039190911660209091015290565b5f6040828403121561227d575f5ffd5b612285611e8e565b825181526020928301519281019290925250919050565b5f604082840312156122ac575f5ffd5b610fb7838361226d565b5f60808284031280156122c7575f5ffd5b50604051606081016001600160401b03811182821017156122ea576122ea611e7a565b6040528251815260208301516001600160401b038116811461230a575f5ffd5b602082015261231c846040850161226d565b60408201529392505050565b80356001600160f01b03198116906002841015611ce5576001600160f01b031960029490940360031b84901b1690921692915050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b5f5f5f5f608085870312156123bc575f5ffd5b6123c585611b55565b966020860135965060408601359560600135945092505050565b5f602082840312156123ef575f5ffd5b8151610fb781611a31565b5f6020828403121561240a575f5ffd5b8151610fb781611adf565b5f8251611f0f818460208701611b9756fea2646970667358221220eae24dd4215b3522a28dbfc1104a6b2bb25e4dba36a89e66144f900be782428964736f6c634300081e0033";
894
+
895
+ type PendleExchangeRateOracleAppConstructorParams =
896
+ | [signer?: Signer]
897
+ | ConstructorParameters<typeof ContractFactory>;
898
+
899
+ const isSuperArgs = (
900
+ xs: PendleExchangeRateOracleAppConstructorParams
901
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
902
+
903
+ export class PendleExchangeRateOracleApp__factory extends ContractFactory {
904
+ constructor(...args: PendleExchangeRateOracleAppConstructorParams) {
905
+ if (isSuperArgs(args)) {
906
+ super(...args);
907
+ } else {
908
+ super(_abi, _bytecode, args[0]);
909
+ }
910
+ this.contractName = "PendleExchangeRateOracleApp";
911
+ }
912
+
913
+ deploy(
914
+ _endpoint: string,
915
+ _refundAddress: string,
916
+ overrides?: Overrides & { from?: string | Promise<string> }
917
+ ): Promise<PendleExchangeRateOracleApp> {
918
+ return super.deploy(
919
+ _endpoint,
920
+ _refundAddress,
921
+ overrides || {}
922
+ ) as Promise<PendleExchangeRateOracleApp>;
923
+ }
924
+ getDeployTransaction(
925
+ _endpoint: string,
926
+ _refundAddress: string,
927
+ overrides?: Overrides & { from?: string | Promise<string> }
928
+ ): TransactionRequest {
929
+ return super.getDeployTransaction(
930
+ _endpoint,
931
+ _refundAddress,
932
+ overrides || {}
933
+ );
934
+ }
935
+ attach(address: string): PendleExchangeRateOracleApp {
936
+ return super.attach(address) as PendleExchangeRateOracleApp;
937
+ }
938
+ connect(signer: Signer): PendleExchangeRateOracleApp__factory {
939
+ return super.connect(signer) as PendleExchangeRateOracleApp__factory;
940
+ }
941
+ static readonly contractName: "PendleExchangeRateOracleApp";
942
+ public readonly contractName: "PendleExchangeRateOracleApp";
943
+ static readonly bytecode = _bytecode;
944
+ static readonly abi = _abi;
945
+ static createInterface(): PendleExchangeRateOracleAppInterface {
946
+ return new utils.Interface(_abi) as PendleExchangeRateOracleAppInterface;
947
+ }
948
+ static connect(
949
+ address: string,
950
+ signerOrProvider: Signer | Provider
951
+ ): PendleExchangeRateOracleApp {
952
+ return new Contract(
953
+ address,
954
+ _abi,
955
+ signerOrProvider
956
+ ) as PendleExchangeRateOracleApp;
957
+ }
958
+ }