@pendle/core-v2 2.21.1 → 2.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (378) 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/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
  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/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
  32. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  34. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.json +19 -0
  36. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +21 -2
  38. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  40. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
  44. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.dbg.json +4 -0
  47. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.json +1027 -0
  48. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +2 -2
  50. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.json +2 -2
  52. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.json +2 -2
  54. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.json +2 -2
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
  57. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.json +2 -2
  58. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.json +2 -2
  60. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.dbg.json +4 -0
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.json +1171 -0
  62. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  64. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
  65. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +1 -1
  66. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.json +2 -2
  67. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +1 -1
  68. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.json +2 -2
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.dbg.json +1 -1
  70. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.dbg.json +1 -1
  71. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.json +2 -2
  72. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +1 -1
  73. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.json +2 -2
  74. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  75. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +2 -2
  76. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  77. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +2 -2
  78. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
  79. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.json +2 -2
  80. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
  81. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +2 -2
  82. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
  83. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.json +2 -2
  84. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  85. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  86. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +2 -2
  87. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.dbg.json +1 -1
  88. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.json +2 -2
  89. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
  90. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +2 -2
  91. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  92. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -2
  93. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
  94. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.json +2 -2
  95. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
  96. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.json +2 -2
  97. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.dbg.json +4 -0
  98. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.json +979 -0
  99. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  100. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
  101. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.dbg.json +4 -0
  102. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.json +961 -0
  103. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.dbg.json +4 -0
  104. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.json +1266 -0
  105. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaLpHelper.sol/ThenaLpHelper.dbg.json +4 -0
  106. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaLpHelper.sol/ThenaLpHelper.json +128 -0
  107. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaMath.sol/ThenaMath.dbg.json +4 -0
  108. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaMath.sol/ThenaMath.json +24 -0
  109. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/IThenaSY.dbg.json +4 -0
  110. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/IThenaSY.json +24 -0
  111. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/ThenaPreview.dbg.json +4 -0
  112. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/ThenaPreview.json +267 -0
  113. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  114. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  115. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  116. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  117. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  118. package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +1 -1
  119. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
  120. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +2 -2
  121. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
  122. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +2 -2
  123. package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.dbg.json +1 -1
  124. package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.json +2 -2
  125. package/build/artifacts/contracts/interfaces/Ankr/IAnkrBNB.sol/IAnkrBNB.dbg.json +4 -0
  126. package/build/artifacts/contracts/interfaces/Ankr/IAnkrBNB.sol/IAnkrBNB.json +62 -0
  127. package/build/artifacts/contracts/interfaces/Ankr/IAnkrLiquidStaking.sol/IAnkrLiquidStaking.dbg.json +4 -0
  128. package/build/artifacts/contracts/interfaces/Ankr/IAnkrLiquidStaking.sol/IAnkrLiquidStaking.json +108 -0
  129. package/build/artifacts/contracts/interfaces/BinanceEth/IWBETH.sol/IWBETH.dbg.json +4 -0
  130. package/build/artifacts/contracts/interfaces/BinanceEth/IWBETH.sol/IWBETH.json +42 -0
  131. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.json +13 -0
  133. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.json +13 -0
  135. package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.json +26 -0
  137. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  143. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  144. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  145. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  146. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.json +19 -0
  147. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  148. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +19 -0
  149. package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
  150. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  151. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  152. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  153. package/build/artifacts/contracts/interfaces/IPendlePreviewHelper.sol/IPendlePreviewHelper.dbg.json +4 -0
  154. package/build/artifacts/contracts/interfaces/IPendlePreviewHelper.sol/IPendlePreviewHelper.json +59 -0
  155. package/build/artifacts/contracts/interfaces/ISwETH.sol/ISwETH.dbg.json +4 -0
  156. package/build/artifacts/contracts/interfaces/ISwETH.sol/ISwETH.json +44 -0
  157. package/build/artifacts/contracts/interfaces/Thena/IThenaFactory.sol/IThenaFactory.dbg.json +4 -0
  158. package/build/artifacts/contracts/interfaces/Thena/IThenaFactory.sol/IThenaFactory.json +152 -0
  159. package/build/artifacts/contracts/interfaces/Thena/IThenaGaugeV2.sol/IThenaGaugeV2.dbg.json +4 -0
  160. package/build/artifacts/contracts/interfaces/Thena/IThenaGaugeV2.sol/IThenaGaugeV2.json +71 -0
  161. package/build/artifacts/contracts/interfaces/Thena/IThenaPair.sol/IThenaPair.dbg.json +4 -0
  162. package/build/artifacts/contracts/interfaces/Thena/IThenaPair.sol/IThenaPair.json +409 -0
  163. package/build/artifacts/contracts/interfaces/Thena/IThenaRouter.sol/IThenaRouter.dbg.json +4 -0
  164. package/build/artifacts/contracts/interfaces/Thena/IThenaRouter.sol/IThenaRouter.json +188 -0
  165. package/build/artifacts/contracts/offchain-helpers/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  168. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
  169. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
  171. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +1 -1
  172. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.json +2 -2
  173. package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.json +2 -2
  175. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  177. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  179. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  181. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  182. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  183. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  185. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  186. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  187. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  188. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  189. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  190. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  191. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
  192. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
  193. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.json +2 -2
  194. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
  195. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.json +2 -2
  196. package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.dbg.json +1 -1
  197. package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.json +2 -2
  198. package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.dbg.json +1 -1
  199. package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.json +2 -2
  200. package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.dbg.json +1 -1
  201. package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.json +2 -2
  202. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  203. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
  204. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  205. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
  206. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  207. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
  208. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  209. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
  210. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  211. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
  212. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
  213. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.json +2 -2
  214. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
  215. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  216. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  217. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  218. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  219. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  220. package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +4 -0
  221. package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.json +160 -0
  222. package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +4 -0
  223. package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.json +10 -0
  224. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  225. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +18 -2
  226. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol/IExecutorHelper.dbg.json +1 -1
  227. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol/IExecutorHelper.json +76 -118
  228. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberInputScalingHelper.sol/KyberInputScalingHelper.dbg.json +1 -1
  229. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol/ScalingDataLib.dbg.json +1 -1
  230. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol/ScalingDataLib.json +2 -2
  231. package/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol +163 -0
  232. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol +153 -0
  233. package/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol +102 -0
  234. package/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol +202 -0
  235. package/contracts/core/StandardizedYield/implementations/Thena/ThenaLpHelper.sol +156 -0
  236. package/contracts/core/StandardizedYield/implementations/Thena/ThenaMath.sol +128 -0
  237. package/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol +193 -0
  238. package/contracts/core/libraries/math/Math.sol +4 -0
  239. package/contracts/interfaces/Ankr/IAnkrBNB.sol +11 -0
  240. package/contracts/interfaces/Ankr/IAnkrLiquidStaking.sol +21 -0
  241. package/contracts/interfaces/Camelot/ICamelotNFTPool.sol +2 -0
  242. package/contracts/interfaces/Camelot/ICamelotNitroPool.sol +3 -0
  243. package/contracts/interfaces/Camelot/ICamelotPair.sol +4 -0
  244. package/contracts/interfaces/IPendlePreviewHelper.sol +14 -0
  245. package/contracts/interfaces/ISwETH.sol +10 -0
  246. package/contracts/interfaces/Thena/IThenaFactory.sol +23 -0
  247. package/contracts/interfaces/Thena/IThenaGaugeV2.sol +18 -0
  248. package/contracts/interfaces/Thena/IThenaPair.sol +30 -0
  249. package/contracts/interfaces/Thena/IThenaRouter.sol +38 -0
  250. package/contracts/oracles/PendleLpOracleLib.sol +21 -40
  251. package/contracts/oracles/PendlePtOracleLib.sol +33 -28
  252. package/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol +45 -0
  253. package/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol +67 -0
  254. package/contracts/router/swap-aggregator/PendleSwap.sol +3 -2
  255. package/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol +110 -118
  256. package/contracts/router/swap-aggregator/kyberswap/KyberInputScalingHelper.sol +22 -21
  257. package/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol +22 -2
  258. package/deployments/1-core.json +4 -3
  259. package/deployments/1-markets/BALANCER-LP-AURA-WSTETH-ANKRETH-JUNE-27-2024.json +10 -0
  260. package/deployments/1-markets/SWETH-DEC2024.json +12 -0
  261. package/deployments/42161-core.json +4 -3
  262. package/deployments/42161-markets/WSTETH-ARBITRUM-DEC2023.json +10 -0
  263. package/deployments/56-core.json +3 -3
  264. package/deployments/56-markets/ANKRBNB-26JUN2025.json +10 -0
  265. package/package.json +1 -1
  266. package/typechain-types/IAnkrBNB.ts +150 -0
  267. package/typechain-types/IAnkrLiquidStaking.ts +253 -0
  268. package/typechain-types/ICamelotNFTPool.ts +19 -0
  269. package/typechain-types/ICamelotNitroPool.ts +19 -0
  270. package/typechain-types/ICamelotPair.ts +42 -0
  271. package/typechain-types/IExecutorHelper.ts +310 -331
  272. package/typechain-types/IPGauge.ts +23 -3
  273. package/typechain-types/IPMarket.ts +18 -0
  274. package/typechain-types/IPendlePreviewHelper.ts +147 -0
  275. package/typechain-types/ISwETH.ts +123 -0
  276. package/typechain-types/IThenaFactory.ts +245 -0
  277. package/typechain-types/IThenaGaugeV2.ts +206 -0
  278. package/typechain-types/IThenaPair.ts +579 -0
  279. package/typechain-types/IThenaRouter.ts +313 -0
  280. package/typechain-types/IThenaSY.ts +81 -0
  281. package/typechain-types/IWBETH.ts +128 -0
  282. package/typechain-types/PendleAnkrBNBSY.ts +1235 -0
  283. package/typechain-types/PendleAuraWstethAnkreth.ts +1511 -0
  284. package/typechain-types/PendleGauge.ts +23 -3
  285. package/typechain-types/PendleMarket.ts +18 -0
  286. package/typechain-types/PendleThenaSY.ts +1598 -0
  287. package/typechain-types/PendleWbEthSY.ts +1229 -0
  288. package/typechain-types/SwETHSY.ts +1216 -0
  289. package/typechain-types/ThenaLpHelper.ts +191 -0
  290. package/typechain-types/ThenaMath.ts +87 -0
  291. package/typechain-types/ThenaPreview.ts +450 -0
  292. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
  293. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  294. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  295. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  296. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  297. package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
  298. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  299. package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
  300. package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
  301. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  302. package/typechain-types/factories/Broadcaster__factory.ts +1 -1
  303. package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
  304. package/typechain-types/factories/BulkSeller__factory.ts +1 -1
  305. package/typechain-types/factories/CamelotRewardHelper__factory.ts +1 -1
  306. package/typechain-types/factories/CamelotV1VolatilePreview__factory.ts +1 -1
  307. package/typechain-types/factories/IAnkrBNB__factory.ts +74 -0
  308. package/typechain-types/factories/IAnkrLiquidStaking__factory.ts +123 -0
  309. package/typechain-types/factories/ICamelotNFTPool__factory.ts +13 -0
  310. package/typechain-types/factories/ICamelotNitroPool__factory.ts +13 -0
  311. package/typechain-types/factories/ICamelotPair__factory.ts +26 -0
  312. package/typechain-types/factories/IExecutorHelper__factory.ts +74 -116
  313. package/typechain-types/factories/IPGauge__factory.ts +19 -0
  314. package/typechain-types/factories/IPMarket__factory.ts +19 -0
  315. package/typechain-types/factories/IPendlePreviewHelper__factory.ts +78 -0
  316. package/typechain-types/factories/ISwETH__factory.ts +53 -0
  317. package/typechain-types/factories/IThenaFactory__factory.ts +164 -0
  318. package/typechain-types/factories/IThenaGaugeV2__factory.ts +83 -0
  319. package/typechain-types/factories/IThenaPair__factory.ts +421 -0
  320. package/typechain-types/factories/IThenaRouter__factory.ts +200 -0
  321. package/typechain-types/factories/IThenaSY__factory.ts +36 -0
  322. package/typechain-types/factories/IWBETH__factory.ts +51 -0
  323. package/typechain-types/factories/PendleAnkrBNBSY__factory.ts +1100 -0
  324. package/typechain-types/factories/PendleArbitrumStakedEthSY__factory.ts +1 -1
  325. package/typechain-types/factories/PendleAuraBbAWethSwethSY__factory.ts +1 -1
  326. package/typechain-types/factories/PendleAuraWethAnkrethSYV2__factory.ts +1 -1
  327. package/typechain-types/factories/PendleAuraWethRocketEthSYV2__factory.ts +1 -1
  328. package/typechain-types/factories/PendleAuraWethStafiEthSY__factory.ts +1 -1
  329. package/typechain-types/factories/PendleAuraWethWstethSYV2__factory.ts +1 -1
  330. package/typechain-types/factories/PendleAuraWstethAnkreth__factory.ts +1244 -0
  331. package/typechain-types/factories/PendleCamelotV1VolatileSY__factory.ts +1 -1
  332. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
  333. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
  334. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  335. package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -1
  336. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  337. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  338. package/typechain-types/factories/PendleGauge__factory.ts +19 -0
  339. package/typechain-types/factories/PendleGlpSY__factory.ts +1 -1
  340. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
  341. package/typechain-types/factories/PendleLpGlpOracle__factory.ts +1 -1
  342. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  343. package/typechain-types/factories/PendleMarket__factory.ts +20 -1
  344. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  345. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  346. package/typechain-types/factories/PendlePtGlpOracle__factory.ts +1 -1
  347. package/typechain-types/factories/PendlePtOracle__factory.ts +1 -1
  348. package/typechain-types/factories/PendlePtUsdChainlinkOracle__factory.ts +1 -1
  349. package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
  350. package/typechain-types/factories/PendleRouterHelper__factory.ts +1 -1
  351. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  352. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  353. package/typechain-types/factories/PendleSfrxEthSY__factory.ts +1 -1
  354. package/typechain-types/factories/PendleStargateLPSY__factory.ts +1 -1
  355. package/typechain-types/factories/PendleSwap__factory.ts +17 -1
  356. package/typechain-types/factories/PendleThenaSY__factory.ts +1352 -0
  357. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  358. package/typechain-types/factories/PendleWbEthSY__factory.ts +1049 -0
  359. package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
  360. package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +1 -1
  361. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  362. package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1 -1
  363. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  364. package/typechain-types/factories/PtAndLpToAsset__factory.ts +1 -1
  365. package/typechain-types/factories/SAPE__factory.ts +1 -1
  366. package/typechain-types/factories/SwETHSY__factory.ts +1022 -0
  367. package/typechain-types/factories/ThenaLpHelper__factory.ts +140 -0
  368. package/typechain-types/factories/ThenaMath__factory.ts +36 -0
  369. package/typechain-types/factories/ThenaPreview__factory.ts +319 -0
  370. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  371. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  372. package/typechain-types/hardhat.d.ts +162 -99
  373. package/typechain-types/index.ts +38 -12
  374. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IHashflow.sol/IHashflow.dbg.json +0 -4
  375. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IHashflow.sol/IHashflow.json +0 -101
  376. package/contracts/router/swap-aggregator/kyberswap/IHashflow.sol +0 -30
  377. /package/deployments/1-markets/{APE-JUNE-29.json → deprecated/APE-JUNE-29.json} +0 -0
  378. /package/deployments/1-markets/{STETH-JUNE29.json → deprecated/STETH-JUNE29.json} +0 -0
@@ -0,0 +1,421 @@
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 { IThenaPair, IThenaPairInterface } from "../IThenaPair";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [
12
+ {
13
+ internalType: "address",
14
+ name: "to",
15
+ type: "address",
16
+ },
17
+ ],
18
+ name: "burn",
19
+ outputs: [
20
+ {
21
+ internalType: "uint256",
22
+ name: "amount0",
23
+ type: "uint256",
24
+ },
25
+ {
26
+ internalType: "uint256",
27
+ name: "amount1",
28
+ type: "uint256",
29
+ },
30
+ ],
31
+ stateMutability: "nonpayable",
32
+ type: "function",
33
+ },
34
+ {
35
+ inputs: [],
36
+ name: "claimFees",
37
+ outputs: [
38
+ {
39
+ internalType: "uint256",
40
+ name: "",
41
+ type: "uint256",
42
+ },
43
+ {
44
+ internalType: "uint256",
45
+ name: "",
46
+ type: "uint256",
47
+ },
48
+ ],
49
+ stateMutability: "nonpayable",
50
+ type: "function",
51
+ },
52
+ {
53
+ inputs: [
54
+ {
55
+ internalType: "address",
56
+ name: "_user",
57
+ type: "address",
58
+ },
59
+ ],
60
+ name: "claimable0",
61
+ outputs: [
62
+ {
63
+ internalType: "uint256",
64
+ name: "",
65
+ type: "uint256",
66
+ },
67
+ ],
68
+ stateMutability: "view",
69
+ type: "function",
70
+ },
71
+ {
72
+ inputs: [
73
+ {
74
+ internalType: "address",
75
+ name: "_user",
76
+ type: "address",
77
+ },
78
+ ],
79
+ name: "claimable1",
80
+ outputs: [
81
+ {
82
+ internalType: "uint256",
83
+ name: "",
84
+ type: "uint256",
85
+ },
86
+ ],
87
+ stateMutability: "view",
88
+ type: "function",
89
+ },
90
+ {
91
+ inputs: [],
92
+ name: "decimals",
93
+ outputs: [
94
+ {
95
+ internalType: "uint8",
96
+ name: "",
97
+ type: "uint8",
98
+ },
99
+ ],
100
+ stateMutability: "view",
101
+ type: "function",
102
+ },
103
+ {
104
+ inputs: [
105
+ {
106
+ internalType: "uint256",
107
+ name: "",
108
+ type: "uint256",
109
+ },
110
+ {
111
+ internalType: "address",
112
+ name: "",
113
+ type: "address",
114
+ },
115
+ ],
116
+ name: "getAmountOut",
117
+ outputs: [
118
+ {
119
+ internalType: "uint256",
120
+ name: "",
121
+ type: "uint256",
122
+ },
123
+ ],
124
+ stateMutability: "view",
125
+ type: "function",
126
+ },
127
+ {
128
+ inputs: [],
129
+ name: "getReserves",
130
+ outputs: [
131
+ {
132
+ internalType: "uint256",
133
+ name: "_reserve0",
134
+ type: "uint256",
135
+ },
136
+ {
137
+ internalType: "uint256",
138
+ name: "_reserve1",
139
+ type: "uint256",
140
+ },
141
+ {
142
+ internalType: "uint256",
143
+ name: "_blockTimestampLast",
144
+ type: "uint256",
145
+ },
146
+ ],
147
+ stateMutability: "view",
148
+ type: "function",
149
+ },
150
+ {
151
+ inputs: [],
152
+ name: "isStable",
153
+ outputs: [
154
+ {
155
+ internalType: "bool",
156
+ name: "",
157
+ type: "bool",
158
+ },
159
+ ],
160
+ stateMutability: "view",
161
+ type: "function",
162
+ },
163
+ {
164
+ inputs: [],
165
+ name: "metadata",
166
+ outputs: [
167
+ {
168
+ internalType: "uint256",
169
+ name: "dec0",
170
+ type: "uint256",
171
+ },
172
+ {
173
+ internalType: "uint256",
174
+ name: "dec1",
175
+ type: "uint256",
176
+ },
177
+ {
178
+ internalType: "uint256",
179
+ name: "r0",
180
+ type: "uint256",
181
+ },
182
+ {
183
+ internalType: "uint256",
184
+ name: "r1",
185
+ type: "uint256",
186
+ },
187
+ {
188
+ internalType: "bool",
189
+ name: "st",
190
+ type: "bool",
191
+ },
192
+ {
193
+ internalType: "address",
194
+ name: "t0",
195
+ type: "address",
196
+ },
197
+ {
198
+ internalType: "address",
199
+ name: "t1",
200
+ type: "address",
201
+ },
202
+ ],
203
+ stateMutability: "view",
204
+ type: "function",
205
+ },
206
+ {
207
+ inputs: [
208
+ {
209
+ internalType: "address",
210
+ name: "to",
211
+ type: "address",
212
+ },
213
+ ],
214
+ name: "mint",
215
+ outputs: [
216
+ {
217
+ internalType: "uint256",
218
+ name: "liquidity",
219
+ type: "uint256",
220
+ },
221
+ ],
222
+ stateMutability: "nonpayable",
223
+ type: "function",
224
+ },
225
+ {
226
+ inputs: [],
227
+ name: "name",
228
+ outputs: [
229
+ {
230
+ internalType: "string",
231
+ name: "",
232
+ type: "string",
233
+ },
234
+ ],
235
+ stateMutability: "view",
236
+ type: "function",
237
+ },
238
+ {
239
+ inputs: [
240
+ {
241
+ internalType: "address",
242
+ name: "owner",
243
+ type: "address",
244
+ },
245
+ {
246
+ internalType: "address",
247
+ name: "spender",
248
+ type: "address",
249
+ },
250
+ {
251
+ internalType: "uint256",
252
+ name: "value",
253
+ type: "uint256",
254
+ },
255
+ {
256
+ internalType: "uint256",
257
+ name: "deadline",
258
+ type: "uint256",
259
+ },
260
+ {
261
+ internalType: "uint8",
262
+ name: "v",
263
+ type: "uint8",
264
+ },
265
+ {
266
+ internalType: "bytes32",
267
+ name: "r",
268
+ type: "bytes32",
269
+ },
270
+ {
271
+ internalType: "bytes32",
272
+ name: "s",
273
+ type: "bytes32",
274
+ },
275
+ ],
276
+ name: "permit",
277
+ outputs: [],
278
+ stateMutability: "nonpayable",
279
+ type: "function",
280
+ },
281
+ {
282
+ inputs: [
283
+ {
284
+ internalType: "uint256",
285
+ name: "amount0Out",
286
+ type: "uint256",
287
+ },
288
+ {
289
+ internalType: "uint256",
290
+ name: "amount1Out",
291
+ type: "uint256",
292
+ },
293
+ {
294
+ internalType: "address",
295
+ name: "to",
296
+ type: "address",
297
+ },
298
+ {
299
+ internalType: "bytes",
300
+ name: "data",
301
+ type: "bytes",
302
+ },
303
+ ],
304
+ name: "swap",
305
+ outputs: [],
306
+ stateMutability: "nonpayable",
307
+ type: "function",
308
+ },
309
+ {
310
+ inputs: [],
311
+ name: "symbol",
312
+ outputs: [
313
+ {
314
+ internalType: "string",
315
+ name: "",
316
+ type: "string",
317
+ },
318
+ ],
319
+ stateMutability: "view",
320
+ type: "function",
321
+ },
322
+ {
323
+ inputs: [],
324
+ name: "token0",
325
+ outputs: [
326
+ {
327
+ internalType: "address",
328
+ name: "",
329
+ type: "address",
330
+ },
331
+ ],
332
+ stateMutability: "view",
333
+ type: "function",
334
+ },
335
+ {
336
+ inputs: [],
337
+ name: "token1",
338
+ outputs: [
339
+ {
340
+ internalType: "address",
341
+ name: "",
342
+ type: "address",
343
+ },
344
+ ],
345
+ stateMutability: "view",
346
+ type: "function",
347
+ },
348
+ {
349
+ inputs: [],
350
+ name: "tokens",
351
+ outputs: [
352
+ {
353
+ internalType: "address",
354
+ name: "",
355
+ type: "address",
356
+ },
357
+ {
358
+ internalType: "address",
359
+ name: "",
360
+ type: "address",
361
+ },
362
+ ],
363
+ stateMutability: "view",
364
+ type: "function",
365
+ },
366
+ {
367
+ inputs: [],
368
+ name: "totalSupply",
369
+ outputs: [
370
+ {
371
+ internalType: "uint256",
372
+ name: "",
373
+ type: "uint256",
374
+ },
375
+ ],
376
+ stateMutability: "view",
377
+ type: "function",
378
+ },
379
+ {
380
+ inputs: [
381
+ {
382
+ internalType: "address",
383
+ name: "src",
384
+ type: "address",
385
+ },
386
+ {
387
+ internalType: "address",
388
+ name: "dst",
389
+ type: "address",
390
+ },
391
+ {
392
+ internalType: "uint256",
393
+ name: "amount",
394
+ type: "uint256",
395
+ },
396
+ ],
397
+ name: "transferFrom",
398
+ outputs: [
399
+ {
400
+ internalType: "bool",
401
+ name: "",
402
+ type: "bool",
403
+ },
404
+ ],
405
+ stateMutability: "nonpayable",
406
+ type: "function",
407
+ },
408
+ ];
409
+
410
+ export class IThenaPair__factory {
411
+ static readonly abi = _abi;
412
+ static createInterface(): IThenaPairInterface {
413
+ return new utils.Interface(_abi) as IThenaPairInterface;
414
+ }
415
+ static connect(
416
+ address: string,
417
+ signerOrProvider: Signer | Provider
418
+ ): IThenaPair {
419
+ return new Contract(address, _abi, signerOrProvider) as IThenaPair;
420
+ }
421
+ }
@@ -0,0 +1,200 @@
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 { IThenaRouter, IThenaRouterInterface } from "../IThenaRouter";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [
12
+ {
13
+ internalType: "address",
14
+ name: "tokenA",
15
+ type: "address",
16
+ },
17
+ {
18
+ internalType: "address",
19
+ name: "tokenB",
20
+ type: "address",
21
+ },
22
+ {
23
+ internalType: "bool",
24
+ name: "stable",
25
+ type: "bool",
26
+ },
27
+ {
28
+ internalType: "uint256",
29
+ name: "amountADesired",
30
+ type: "uint256",
31
+ },
32
+ {
33
+ internalType: "uint256",
34
+ name: "amountBDesired",
35
+ type: "uint256",
36
+ },
37
+ {
38
+ internalType: "uint256",
39
+ name: "amountAMin",
40
+ type: "uint256",
41
+ },
42
+ {
43
+ internalType: "uint256",
44
+ name: "amountBMin",
45
+ type: "uint256",
46
+ },
47
+ {
48
+ internalType: "address",
49
+ name: "to",
50
+ type: "address",
51
+ },
52
+ {
53
+ internalType: "uint256",
54
+ name: "deadline",
55
+ type: "uint256",
56
+ },
57
+ ],
58
+ name: "addLiquidity",
59
+ outputs: [
60
+ {
61
+ internalType: "uint256",
62
+ name: "amountA",
63
+ type: "uint256",
64
+ },
65
+ {
66
+ internalType: "uint256",
67
+ name: "amountB",
68
+ type: "uint256",
69
+ },
70
+ {
71
+ internalType: "uint256",
72
+ name: "liquidity",
73
+ type: "uint256",
74
+ },
75
+ ],
76
+ stateMutability: "nonpayable",
77
+ type: "function",
78
+ },
79
+ {
80
+ inputs: [
81
+ {
82
+ internalType: "address",
83
+ name: "tokenA",
84
+ type: "address",
85
+ },
86
+ {
87
+ internalType: "address",
88
+ name: "tokenB",
89
+ type: "address",
90
+ },
91
+ {
92
+ internalType: "bool",
93
+ name: "stable",
94
+ type: "bool",
95
+ },
96
+ {
97
+ internalType: "uint256",
98
+ name: "liquidity",
99
+ type: "uint256",
100
+ },
101
+ {
102
+ internalType: "uint256",
103
+ name: "amountAMin",
104
+ type: "uint256",
105
+ },
106
+ {
107
+ internalType: "uint256",
108
+ name: "amountBMin",
109
+ type: "uint256",
110
+ },
111
+ {
112
+ internalType: "address",
113
+ name: "to",
114
+ type: "address",
115
+ },
116
+ {
117
+ internalType: "uint256",
118
+ name: "deadline",
119
+ type: "uint256",
120
+ },
121
+ ],
122
+ name: "removeLiquidity",
123
+ outputs: [
124
+ {
125
+ internalType: "uint256",
126
+ name: "amountA",
127
+ type: "uint256",
128
+ },
129
+ {
130
+ internalType: "uint256",
131
+ name: "amountB",
132
+ type: "uint256",
133
+ },
134
+ ],
135
+ stateMutability: "nonpayable",
136
+ type: "function",
137
+ },
138
+ {
139
+ inputs: [
140
+ {
141
+ internalType: "uint256",
142
+ name: "amountIn",
143
+ type: "uint256",
144
+ },
145
+ {
146
+ internalType: "uint256",
147
+ name: "amountOutMin",
148
+ type: "uint256",
149
+ },
150
+ {
151
+ internalType: "address",
152
+ name: "tokenFrom",
153
+ type: "address",
154
+ },
155
+ {
156
+ internalType: "address",
157
+ name: "tokenTo",
158
+ type: "address",
159
+ },
160
+ {
161
+ internalType: "bool",
162
+ name: "stable",
163
+ type: "bool",
164
+ },
165
+ {
166
+ internalType: "address",
167
+ name: "to",
168
+ type: "address",
169
+ },
170
+ {
171
+ internalType: "uint256",
172
+ name: "deadline",
173
+ type: "uint256",
174
+ },
175
+ ],
176
+ name: "swapExactTokensForTokensSimple",
177
+ outputs: [
178
+ {
179
+ internalType: "uint256[]",
180
+ name: "amounts",
181
+ type: "uint256[]",
182
+ },
183
+ ],
184
+ stateMutability: "nonpayable",
185
+ type: "function",
186
+ },
187
+ ];
188
+
189
+ export class IThenaRouter__factory {
190
+ static readonly abi = _abi;
191
+ static createInterface(): IThenaRouterInterface {
192
+ return new utils.Interface(_abi) as IThenaRouterInterface;
193
+ }
194
+ static connect(
195
+ address: string,
196
+ signerOrProvider: Signer | Provider
197
+ ): IThenaRouter {
198
+ return new Contract(address, _abi, signerOrProvider) as IThenaRouter;
199
+ }
200
+ }
@@ -0,0 +1,36 @@
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 { IThenaSY, IThenaSYInterface } from "../IThenaSY";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [],
12
+ name: "pair",
13
+ outputs: [
14
+ {
15
+ internalType: "address",
16
+ name: "",
17
+ type: "address",
18
+ },
19
+ ],
20
+ stateMutability: "view",
21
+ type: "function",
22
+ },
23
+ ];
24
+
25
+ export class IThenaSY__factory {
26
+ static readonly abi = _abi;
27
+ static createInterface(): IThenaSYInterface {
28
+ return new utils.Interface(_abi) as IThenaSYInterface;
29
+ }
30
+ static connect(
31
+ address: string,
32
+ signerOrProvider: Signer | Provider
33
+ ): IThenaSY {
34
+ return new Contract(address, _abi, signerOrProvider) as IThenaSY;
35
+ }
36
+ }
@@ -0,0 +1,51 @@
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 { IWBETH, IWBETHInterface } from "../IWBETH";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [
12
+ {
13
+ internalType: "uint256",
14
+ name: "amount",
15
+ type: "uint256",
16
+ },
17
+ {
18
+ internalType: "address",
19
+ name: "referral",
20
+ type: "address",
21
+ },
22
+ ],
23
+ name: "deposit",
24
+ outputs: [],
25
+ stateMutability: "nonpayable",
26
+ type: "function",
27
+ },
28
+ {
29
+ inputs: [],
30
+ name: "exchangeRate",
31
+ outputs: [
32
+ {
33
+ internalType: "uint256",
34
+ name: "_exchangeRate",
35
+ type: "uint256",
36
+ },
37
+ ],
38
+ stateMutability: "view",
39
+ type: "function",
40
+ },
41
+ ];
42
+
43
+ export class IWBETH__factory {
44
+ static readonly abi = _abi;
45
+ static createInterface(): IWBETHInterface {
46
+ return new utils.Interface(_abi) as IWBETHInterface;
47
+ }
48
+ static connect(address: string, signerOrProvider: Signer | Provider): IWBETH {
49
+ return new Contract(address, _abi, signerOrProvider) as IWBETH;
50
+ }
51
+ }