@pendle/core-v2 2.3.2-mainnet → 2.5.0-mainnet

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 (235) 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/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  10. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  12. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
  14. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  16. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  19. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  21. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  22. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  23. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  24. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  25. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  26. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  27. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  28. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -2
  30. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +2 -2
  32. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
  34. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  36. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  38. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
  40. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  42. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +2 -2
  46. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.json +2 -2
  48. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.json +2 -2
  50. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.json +2 -2
  52. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
  57. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +2 -2
  59. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  60. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +2 -2
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  62. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +2 -2
  64. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +2 -2
  66. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  67. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -2
  68. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +4 -0
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.json +1157 -0
  70. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  71. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
  72. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  73. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  74. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  75. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  76. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  77. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  78. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
  79. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.json +2 -2
  80. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
  81. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +2 -2
  82. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
  83. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +2 -2
  84. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  85. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +18 -2
  86. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IStargateLP.sol/IStargateLP.dbg.json +4 -0
  99. package/build/artifacts/contracts/interfaces/{IStargatePool.sol/IStargatePool.json → IStargateLP.sol/IStargateLP.json} +68 -3
  100. package/build/artifacts/contracts/interfaces/IStargateStaking.sol/IStargateStaking.dbg.json +4 -0
  101. package/build/artifacts/contracts/interfaces/{IStargateLPStaking.sol/IStargateLPStaking.json → IStargateStaking.sol/IStargateStaking.json} +20 -27
  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/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  105. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
  106. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  107. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  108. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  109. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  110. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  111. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  112. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  113. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  114. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  115. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  116. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  117. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  118. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  119. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  120. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  121. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  122. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
  123. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  124. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
  125. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  126. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
  127. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  128. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
  129. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  130. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
  131. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
  132. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  133. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  134. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  135. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  136. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  137. package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
  138. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapArbitrum.sol/PendleSwapArbitrum.dbg.json +1 -1
  139. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapArbitrum.sol/PendleSwapArbitrum.json +2 -2
  140. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapEthereum.sol/PendleSwapEthereum.dbg.json +1 -1
  141. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapEthereum.sol/PendleSwapEthereum.json +2 -2
  142. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
  143. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IExecutorHelper1.sol/IExecutorHelper1.dbg.json +1 -1
  144. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IExecutorHelper2.sol/IExecutorHelper2.dbg.json +1 -1
  145. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IHashflow.sol/IHashflow.dbg.json +1 -1
  146. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
  147. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/KyberHelperArbitrum.sol/KyberHelperArbitrum.dbg.json +1 -1
  148. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/ScaleDataHelperArbitrum.sol/ScaleDataHelperArbitrum.dbg.json +1 -1
  149. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
  150. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.dbg.json +1 -1
  151. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IHashflow.sol/IHashflow.dbg.json +1 -1
  152. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
  153. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/KyberHelperEthereum.sol/KyberHelperEthereum.dbg.json +1 -1
  154. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/ScaleDataHelperEthereum.sol/ScaleDataHelperEthereum.dbg.json +1 -1
  155. package/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol +222 -0
  156. package/contracts/core/libraries/Errors.sol +2 -0
  157. package/contracts/interfaces/{IStargatePool.sol → IStargateLP.sol} +14 -1
  158. package/contracts/interfaces/{IStargateLPStaking.sol → IStargateStaking.sol} +2 -2
  159. package/deployments/1-core.json +3 -2
  160. package/deployments/1-markets/STARGATE-USDT-27JUNE2024-ETHEREUM.json +10 -0
  161. package/deployments/1-markets/STETH-26DEC2024.json +10 -0
  162. package/deployments/42161-core.json +3 -2
  163. package/deployments/42161-markets/STARGATE-USDT-27JUNE2024-ARBITRUM.json +10 -0
  164. package/package.json +1 -1
  165. package/typechain-types/IChainlinkAggregator.ts +246 -0
  166. package/typechain-types/IPLiquidityMigrator.ts +565 -0
  167. package/typechain-types/IPRouterHelper.ts +638 -0
  168. package/typechain-types/ISiloPriceProvider.ts +150 -0
  169. package/typechain-types/PendlePtOracleBase.ts +26 -0
  170. package/typechain-types/PendleRouterHelper.ts +746 -0
  171. package/typechain-types/PendleStargateLPSY.ts +1442 -0
  172. package/typechain-types/PtFraxUsdcOracle.ts +202 -0
  173. package/typechain-types/PtStETHOracle.ts +189 -0
  174. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
  175. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  176. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  177. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  178. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  179. package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
  180. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  181. package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
  182. package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
  183. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  184. package/typechain-types/factories/Broadcaster__factory.ts +1 -1
  185. package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
  186. package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
  187. package/typechain-types/factories/BulkSeller__factory.ts +1 -1
  188. package/typechain-types/factories/Errors__factory.ts +17 -1
  189. package/typechain-types/factories/IChainlinkAggregator__factory.ts +170 -0
  190. package/typechain-types/factories/IPLiquidityMigrator__factory.ts +677 -0
  191. package/typechain-types/factories/IPRouterHelper__factory.ts +763 -0
  192. package/typechain-types/factories/ISiloPriceProvider__factory.ts +90 -0
  193. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  194. package/typechain-types/factories/PendleAuraWethAnkrethSY__factory.ts +1 -1
  195. package/typechain-types/factories/PendleAuraWethRethSY__factory.ts +1 -1
  196. package/typechain-types/factories/PendleAuraWethWstethSY__factory.ts +1 -1
  197. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
  198. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
  199. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  200. package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -1
  201. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  202. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  203. package/typechain-types/factories/PendleGlpSY__factory.ts +1 -1
  204. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
  205. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  206. package/typechain-types/factories/PendleMarket__factory.ts +1 -1
  207. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  208. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  209. package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +1 -1
  210. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  211. package/typechain-types/factories/PendlePtOracleBase__factory.ts +26 -0
  212. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  213. package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
  214. package/typechain-types/factories/PendleRouterHelper__factory.ts +953 -0
  215. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  216. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  217. package/typechain-types/factories/PendleStargateLPSY__factory.ts +1241 -0
  218. package/typechain-types/factories/PendleSwapAggregator__factory.ts +1 -1
  219. package/typechain-types/factories/PendleSwapArbitrum__factory.ts +1 -1
  220. package/typechain-types/factories/PendleSwapEthereum__factory.ts +1 -1
  221. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  222. package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
  223. package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +1 -1
  224. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  225. package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1 -1
  226. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  227. package/typechain-types/factories/PtFraxUsdcOracle__factory.ts +252 -0
  228. package/typechain-types/factories/PtStETHOracle__factory.ts +227 -0
  229. package/typechain-types/factories/SAPE__factory.ts +1 -1
  230. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  231. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  232. package/typechain-types/hardhat.d.ts +54 -0
  233. package/typechain-types/index.ts +12 -0
  234. package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +0 -4
  235. package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +0 -4
@@ -0,0 +1,763 @@
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
+ IPRouterHelper,
9
+ IPRouterHelperInterface,
10
+ } from "../IPRouterHelper";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ indexed: true,
18
+ internalType: "address",
19
+ name: "caller",
20
+ type: "address",
21
+ },
22
+ {
23
+ indexed: true,
24
+ internalType: "address",
25
+ name: "market",
26
+ type: "address",
27
+ },
28
+ {
29
+ indexed: true,
30
+ internalType: "address",
31
+ name: "receiver",
32
+ type: "address",
33
+ },
34
+ {
35
+ indexed: false,
36
+ internalType: "uint256",
37
+ name: "netSyIn",
38
+ type: "uint256",
39
+ },
40
+ {
41
+ indexed: false,
42
+ internalType: "uint256",
43
+ name: "netLpOut",
44
+ type: "uint256",
45
+ },
46
+ ],
47
+ name: "AddLiquiditySingleSy",
48
+ type: "event",
49
+ },
50
+ {
51
+ anonymous: false,
52
+ inputs: [
53
+ {
54
+ indexed: true,
55
+ internalType: "address",
56
+ name: "caller",
57
+ type: "address",
58
+ },
59
+ {
60
+ indexed: true,
61
+ internalType: "address",
62
+ name: "market",
63
+ type: "address",
64
+ },
65
+ {
66
+ indexed: true,
67
+ internalType: "address",
68
+ name: "receiver",
69
+ type: "address",
70
+ },
71
+ {
72
+ indexed: false,
73
+ internalType: "uint256",
74
+ name: "netSyIn",
75
+ type: "uint256",
76
+ },
77
+ {
78
+ indexed: false,
79
+ internalType: "uint256",
80
+ name: "netLpOut",
81
+ type: "uint256",
82
+ },
83
+ {
84
+ indexed: false,
85
+ internalType: "uint256",
86
+ name: "netYtOut",
87
+ type: "uint256",
88
+ },
89
+ ],
90
+ name: "AddLiquiditySingleSyKeepYt",
91
+ type: "event",
92
+ },
93
+ {
94
+ anonymous: false,
95
+ inputs: [
96
+ {
97
+ indexed: true,
98
+ internalType: "address",
99
+ name: "caller",
100
+ type: "address",
101
+ },
102
+ {
103
+ indexed: true,
104
+ internalType: "address",
105
+ name: "market",
106
+ type: "address",
107
+ },
108
+ {
109
+ indexed: true,
110
+ internalType: "address",
111
+ name: "token",
112
+ type: "address",
113
+ },
114
+ {
115
+ indexed: false,
116
+ internalType: "address",
117
+ name: "receiver",
118
+ type: "address",
119
+ },
120
+ {
121
+ indexed: false,
122
+ internalType: "uint256",
123
+ name: "netTokenIn",
124
+ type: "uint256",
125
+ },
126
+ {
127
+ indexed: false,
128
+ internalType: "uint256",
129
+ name: "netLpOut",
130
+ type: "uint256",
131
+ },
132
+ ],
133
+ name: "AddLiquiditySingleToken",
134
+ type: "event",
135
+ },
136
+ {
137
+ anonymous: false,
138
+ inputs: [
139
+ {
140
+ indexed: true,
141
+ internalType: "address",
142
+ name: "caller",
143
+ type: "address",
144
+ },
145
+ {
146
+ indexed: true,
147
+ internalType: "address",
148
+ name: "market",
149
+ type: "address",
150
+ },
151
+ {
152
+ indexed: true,
153
+ internalType: "address",
154
+ name: "token",
155
+ type: "address",
156
+ },
157
+ {
158
+ indexed: false,
159
+ internalType: "address",
160
+ name: "receiver",
161
+ type: "address",
162
+ },
163
+ {
164
+ indexed: false,
165
+ internalType: "uint256",
166
+ name: "netTokenIn",
167
+ type: "uint256",
168
+ },
169
+ {
170
+ indexed: false,
171
+ internalType: "uint256",
172
+ name: "netLpOut",
173
+ type: "uint256",
174
+ },
175
+ {
176
+ indexed: false,
177
+ internalType: "uint256",
178
+ name: "netYtOut",
179
+ type: "uint256",
180
+ },
181
+ ],
182
+ name: "AddLiquiditySingleTokenKeepYt",
183
+ type: "event",
184
+ },
185
+ {
186
+ anonymous: false,
187
+ inputs: [
188
+ {
189
+ indexed: true,
190
+ internalType: "address",
191
+ name: "caller",
192
+ type: "address",
193
+ },
194
+ {
195
+ indexed: true,
196
+ internalType: "address",
197
+ name: "market",
198
+ type: "address",
199
+ },
200
+ {
201
+ indexed: true,
202
+ internalType: "address",
203
+ name: "receiver",
204
+ type: "address",
205
+ },
206
+ {
207
+ indexed: false,
208
+ internalType: "uint256",
209
+ name: "netLpToRemove",
210
+ type: "uint256",
211
+ },
212
+ {
213
+ indexed: false,
214
+ internalType: "uint256",
215
+ name: "netSyOut",
216
+ type: "uint256",
217
+ },
218
+ ],
219
+ name: "RemoveLiquiditySingleSy",
220
+ type: "event",
221
+ },
222
+ {
223
+ anonymous: false,
224
+ inputs: [
225
+ {
226
+ indexed: true,
227
+ internalType: "address",
228
+ name: "caller",
229
+ type: "address",
230
+ },
231
+ {
232
+ indexed: true,
233
+ internalType: "address",
234
+ name: "market",
235
+ type: "address",
236
+ },
237
+ {
238
+ indexed: true,
239
+ internalType: "address",
240
+ name: "token",
241
+ type: "address",
242
+ },
243
+ {
244
+ indexed: false,
245
+ internalType: "address",
246
+ name: "receiver",
247
+ type: "address",
248
+ },
249
+ {
250
+ indexed: false,
251
+ internalType: "uint256",
252
+ name: "netLpToRemove",
253
+ type: "uint256",
254
+ },
255
+ {
256
+ indexed: false,
257
+ internalType: "uint256",
258
+ name: "netTokenOut",
259
+ type: "uint256",
260
+ },
261
+ ],
262
+ name: "RemoveLiquiditySingleToken",
263
+ type: "event",
264
+ },
265
+ {
266
+ inputs: [
267
+ {
268
+ components: [
269
+ {
270
+ internalType: "address",
271
+ name: "market",
272
+ type: "address",
273
+ },
274
+ {
275
+ internalType: "uint256",
276
+ name: "netLpToRemove",
277
+ type: "uint256",
278
+ },
279
+ {
280
+ internalType: "bool",
281
+ name: "doRedeemRewards",
282
+ type: "bool",
283
+ },
284
+ {
285
+ components: [
286
+ {
287
+ internalType: "address",
288
+ name: "tokenOut",
289
+ type: "address",
290
+ },
291
+ {
292
+ internalType: "uint256",
293
+ name: "minTokenOut",
294
+ type: "uint256",
295
+ },
296
+ {
297
+ internalType: "address",
298
+ name: "tokenRedeemSy",
299
+ type: "address",
300
+ },
301
+ {
302
+ internalType: "address",
303
+ name: "bulk",
304
+ type: "address",
305
+ },
306
+ {
307
+ internalType: "address",
308
+ name: "pendleSwap",
309
+ type: "address",
310
+ },
311
+ {
312
+ components: [
313
+ {
314
+ internalType: "enum SwapType",
315
+ name: "swapType",
316
+ type: "uint8",
317
+ },
318
+ {
319
+ internalType: "address",
320
+ name: "extRouter",
321
+ type: "address",
322
+ },
323
+ {
324
+ internalType: "bytes",
325
+ name: "extCalldata",
326
+ type: "bytes",
327
+ },
328
+ {
329
+ internalType: "bool",
330
+ name: "needScale",
331
+ type: "bool",
332
+ },
333
+ ],
334
+ internalType: "struct SwapData",
335
+ name: "swapData",
336
+ type: "tuple",
337
+ },
338
+ ],
339
+ internalType: "struct TokenOutput",
340
+ name: "output",
341
+ type: "tuple",
342
+ },
343
+ ],
344
+ internalType: "struct IPRouterHelper.RemoveLiquiditySingleTokenStruct",
345
+ name: "fromMarket",
346
+ type: "tuple",
347
+ },
348
+ {
349
+ components: [
350
+ {
351
+ internalType: "address",
352
+ name: "market",
353
+ type: "address",
354
+ },
355
+ {
356
+ internalType: "uint256",
357
+ name: "minLpOut",
358
+ type: "uint256",
359
+ },
360
+ {
361
+ internalType: "uint256",
362
+ name: "minYtOut",
363
+ type: "uint256",
364
+ },
365
+ {
366
+ internalType: "address",
367
+ name: "bulk",
368
+ type: "address",
369
+ },
370
+ ],
371
+ internalType:
372
+ "struct IPRouterHelper.AddLiquiditySingleTokenKeepYtStruct",
373
+ name: "toMarket",
374
+ type: "tuple",
375
+ },
376
+ ],
377
+ name: "transferLiquidityDifferentSyKeepYt",
378
+ outputs: [
379
+ {
380
+ internalType: "uint256",
381
+ name: "netLpOut",
382
+ type: "uint256",
383
+ },
384
+ {
385
+ internalType: "uint256",
386
+ name: "netYtOut",
387
+ type: "uint256",
388
+ },
389
+ {
390
+ internalType: "uint256",
391
+ name: "netTokenZapIn",
392
+ type: "uint256",
393
+ },
394
+ {
395
+ internalType: "uint256",
396
+ name: "netSyFeeOfRemove",
397
+ type: "uint256",
398
+ },
399
+ ],
400
+ stateMutability: "nonpayable",
401
+ type: "function",
402
+ },
403
+ {
404
+ inputs: [
405
+ {
406
+ components: [
407
+ {
408
+ internalType: "address",
409
+ name: "market",
410
+ type: "address",
411
+ },
412
+ {
413
+ internalType: "uint256",
414
+ name: "netLpToRemove",
415
+ type: "uint256",
416
+ },
417
+ {
418
+ internalType: "bool",
419
+ name: "doRedeemRewards",
420
+ type: "bool",
421
+ },
422
+ {
423
+ components: [
424
+ {
425
+ internalType: "address",
426
+ name: "tokenOut",
427
+ type: "address",
428
+ },
429
+ {
430
+ internalType: "uint256",
431
+ name: "minTokenOut",
432
+ type: "uint256",
433
+ },
434
+ {
435
+ internalType: "address",
436
+ name: "tokenRedeemSy",
437
+ type: "address",
438
+ },
439
+ {
440
+ internalType: "address",
441
+ name: "bulk",
442
+ type: "address",
443
+ },
444
+ {
445
+ internalType: "address",
446
+ name: "pendleSwap",
447
+ type: "address",
448
+ },
449
+ {
450
+ components: [
451
+ {
452
+ internalType: "enum SwapType",
453
+ name: "swapType",
454
+ type: "uint8",
455
+ },
456
+ {
457
+ internalType: "address",
458
+ name: "extRouter",
459
+ type: "address",
460
+ },
461
+ {
462
+ internalType: "bytes",
463
+ name: "extCalldata",
464
+ type: "bytes",
465
+ },
466
+ {
467
+ internalType: "bool",
468
+ name: "needScale",
469
+ type: "bool",
470
+ },
471
+ ],
472
+ internalType: "struct SwapData",
473
+ name: "swapData",
474
+ type: "tuple",
475
+ },
476
+ ],
477
+ internalType: "struct TokenOutput",
478
+ name: "output",
479
+ type: "tuple",
480
+ },
481
+ ],
482
+ internalType: "struct IPRouterHelper.RemoveLiquiditySingleTokenStruct",
483
+ name: "fromMarket",
484
+ type: "tuple",
485
+ },
486
+ {
487
+ components: [
488
+ {
489
+ internalType: "address",
490
+ name: "market",
491
+ type: "address",
492
+ },
493
+ {
494
+ internalType: "uint256",
495
+ name: "minLpOut",
496
+ type: "uint256",
497
+ },
498
+ {
499
+ internalType: "uint256",
500
+ name: "guessNetTokenIn",
501
+ type: "uint256",
502
+ },
503
+ {
504
+ components: [
505
+ {
506
+ internalType: "uint256",
507
+ name: "guessMin",
508
+ type: "uint256",
509
+ },
510
+ {
511
+ internalType: "uint256",
512
+ name: "guessMax",
513
+ type: "uint256",
514
+ },
515
+ {
516
+ internalType: "uint256",
517
+ name: "guessOffchain",
518
+ type: "uint256",
519
+ },
520
+ {
521
+ internalType: "uint256",
522
+ name: "maxIteration",
523
+ type: "uint256",
524
+ },
525
+ {
526
+ internalType: "uint256",
527
+ name: "eps",
528
+ type: "uint256",
529
+ },
530
+ ],
531
+ internalType: "struct ApproxParams",
532
+ name: "guessPtReceivedFromSy",
533
+ type: "tuple",
534
+ },
535
+ {
536
+ internalType: "address",
537
+ name: "bulk",
538
+ type: "address",
539
+ },
540
+ ],
541
+ internalType: "struct IPRouterHelper.AddLiquiditySingleTokenStruct",
542
+ name: "toMarket",
543
+ type: "tuple",
544
+ },
545
+ ],
546
+ name: "transferLiquidityDifferentSyNormal",
547
+ outputs: [
548
+ {
549
+ internalType: "uint256",
550
+ name: "netLpOut",
551
+ type: "uint256",
552
+ },
553
+ {
554
+ internalType: "uint256",
555
+ name: "netTokenZapIn",
556
+ type: "uint256",
557
+ },
558
+ {
559
+ internalType: "uint256",
560
+ name: "netSyFeeOfRemove",
561
+ type: "uint256",
562
+ },
563
+ {
564
+ internalType: "uint256",
565
+ name: "netSyFeeOfAdd",
566
+ type: "uint256",
567
+ },
568
+ ],
569
+ stateMutability: "nonpayable",
570
+ type: "function",
571
+ },
572
+ {
573
+ inputs: [
574
+ {
575
+ components: [
576
+ {
577
+ internalType: "address",
578
+ name: "market",
579
+ type: "address",
580
+ },
581
+ {
582
+ internalType: "uint256",
583
+ name: "netLpToRemove",
584
+ type: "uint256",
585
+ },
586
+ {
587
+ internalType: "bool",
588
+ name: "doRedeemRewards",
589
+ type: "bool",
590
+ },
591
+ ],
592
+ internalType: "struct IPRouterHelper.RemoveLiquiditySingleSyStruct",
593
+ name: "fromMarket",
594
+ type: "tuple",
595
+ },
596
+ {
597
+ components: [
598
+ {
599
+ internalType: "address",
600
+ name: "market",
601
+ type: "address",
602
+ },
603
+ {
604
+ internalType: "uint256",
605
+ name: "minLpOut",
606
+ type: "uint256",
607
+ },
608
+ {
609
+ internalType: "uint256",
610
+ name: "minYtOut",
611
+ type: "uint256",
612
+ },
613
+ ],
614
+ internalType: "struct IPRouterHelper.AddLiquiditySingleSyKeepYtStruct",
615
+ name: "toMarket",
616
+ type: "tuple",
617
+ },
618
+ ],
619
+ name: "transferLiquiditySameSyKeepYt",
620
+ outputs: [
621
+ {
622
+ internalType: "uint256",
623
+ name: "netLpOut",
624
+ type: "uint256",
625
+ },
626
+ {
627
+ internalType: "uint256",
628
+ name: "netYtOut",
629
+ type: "uint256",
630
+ },
631
+ {
632
+ internalType: "uint256",
633
+ name: "netSyZapIn",
634
+ type: "uint256",
635
+ },
636
+ {
637
+ internalType: "uint256",
638
+ name: "netSyFeeOfRemove",
639
+ type: "uint256",
640
+ },
641
+ ],
642
+ stateMutability: "nonpayable",
643
+ type: "function",
644
+ },
645
+ {
646
+ inputs: [
647
+ {
648
+ components: [
649
+ {
650
+ internalType: "address",
651
+ name: "market",
652
+ type: "address",
653
+ },
654
+ {
655
+ internalType: "uint256",
656
+ name: "netLpToRemove",
657
+ type: "uint256",
658
+ },
659
+ {
660
+ internalType: "bool",
661
+ name: "doRedeemRewards",
662
+ type: "bool",
663
+ },
664
+ ],
665
+ internalType: "struct IPRouterHelper.RemoveLiquiditySingleSyStruct",
666
+ name: "fromMarket",
667
+ type: "tuple",
668
+ },
669
+ {
670
+ components: [
671
+ {
672
+ internalType: "address",
673
+ name: "market",
674
+ type: "address",
675
+ },
676
+ {
677
+ internalType: "uint256",
678
+ name: "minLpOut",
679
+ type: "uint256",
680
+ },
681
+ {
682
+ internalType: "uint256",
683
+ name: "guessNetSyIn",
684
+ type: "uint256",
685
+ },
686
+ {
687
+ components: [
688
+ {
689
+ internalType: "uint256",
690
+ name: "guessMin",
691
+ type: "uint256",
692
+ },
693
+ {
694
+ internalType: "uint256",
695
+ name: "guessMax",
696
+ type: "uint256",
697
+ },
698
+ {
699
+ internalType: "uint256",
700
+ name: "guessOffchain",
701
+ type: "uint256",
702
+ },
703
+ {
704
+ internalType: "uint256",
705
+ name: "maxIteration",
706
+ type: "uint256",
707
+ },
708
+ {
709
+ internalType: "uint256",
710
+ name: "eps",
711
+ type: "uint256",
712
+ },
713
+ ],
714
+ internalType: "struct ApproxParams",
715
+ name: "guessPtReceivedFromSy",
716
+ type: "tuple",
717
+ },
718
+ ],
719
+ internalType: "struct IPRouterHelper.AddLiquiditySingleSyStruct",
720
+ name: "toMarket",
721
+ type: "tuple",
722
+ },
723
+ ],
724
+ name: "transferLiquiditySameSyNormal",
725
+ outputs: [
726
+ {
727
+ internalType: "uint256",
728
+ name: "netLpOut",
729
+ type: "uint256",
730
+ },
731
+ {
732
+ internalType: "uint256",
733
+ name: "netSyZapIn",
734
+ type: "uint256",
735
+ },
736
+ {
737
+ internalType: "uint256",
738
+ name: "netSyFeeOfRemove",
739
+ type: "uint256",
740
+ },
741
+ {
742
+ internalType: "uint256",
743
+ name: "netSyFeeOfAdd",
744
+ type: "uint256",
745
+ },
746
+ ],
747
+ stateMutability: "nonpayable",
748
+ type: "function",
749
+ },
750
+ ];
751
+
752
+ export class IPRouterHelper__factory {
753
+ static readonly abi = _abi;
754
+ static createInterface(): IPRouterHelperInterface {
755
+ return new utils.Interface(_abi) as IPRouterHelperInterface;
756
+ }
757
+ static connect(
758
+ address: string,
759
+ signerOrProvider: Signer | Provider
760
+ ): IPRouterHelper {
761
+ return new Contract(address, _abi, signerOrProvider) as IPRouterHelper;
762
+ }
763
+ }