@pendle/core-v2 0.6.5 → 0.6.6

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 (415) hide show
  1. package/build/artifacts/contracts/SuperComposableYield/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
  2. package/build/artifacts/contracts/SuperComposableYield/ISuperComposableYield.sol/ISuperComposableYield.json +13 -0
  3. package/build/artifacts/contracts/SuperComposableYield/SCYUtils.sol/SCYUtils.dbg.json +1 -1
  4. package/build/artifacts/contracts/SuperComposableYield/implementations/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  5. package/build/artifacts/contracts/SuperComposableYield/implementations/RewardManager.sol/RewardManager.dbg.json +1 -1
  6. package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
  7. package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBase.sol/SCYBase.json +13 -0
  8. package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
  9. package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.json +13 -0
  10. package/build/artifacts/contracts/core/PendleBaseToken.sol/PendleBaseToken.dbg.json +1 -1
  11. package/build/artifacts/contracts/core/PendleBaseToken.sol/PendleBaseToken.json +1 -1
  12. package/build/artifacts/contracts/core/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  13. package/build/artifacts/contracts/core/PendleMarket.sol/PendleMarket.json +56 -51
  14. package/build/artifacts/contracts/core/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  15. package/build/artifacts/contracts/core/PendleMarketFactory.sol/PendleMarketFactory.json +30 -4
  16. package/build/artifacts/contracts/core/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +4 -0
  17. package/build/artifacts/contracts/core/PendlePrincipalToken.sol/PendlePrincipalToken.json +452 -0
  18. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  19. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +2 -2
  20. package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +20 -2
  22. package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/PendleSCYImpl/PendleBenQiErc20SCY.sol/PendleBenQiErc20SCY.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/PendleSCYImpl/PendleBenQiErc20SCY.sol/PendleBenQiErc20SCY.json +21 -16
  25. package/build/artifacts/contracts/core/PendleSCYImpl/PendleBtrflySCY.sol/PendleBtrflyScy.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/PendleSCYImpl/PendleBtrflySCY.sol/PendleBtrflyScy.json +21 -16
  27. package/build/artifacts/contracts/core/PendleSCYImpl/PendleStETHSCY.sol/PendleStEthSCY.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/PendleSCYImpl/PendleStETHSCY.sol/PendleStEthSCY.json +23 -18
  29. package/build/artifacts/contracts/core/PendleSCYImpl/PendleYearnVaultSCY.sol/PendleYearnVaultScy.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/PendleSCYImpl/PendleYearnVaultSCY.sol/PendleYearnVaultScy.json +22 -17
  31. package/build/artifacts/contracts/core/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +7 -7
  33. package/build/artifacts/contracts/core/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/PendleYieldToken.sol/PendleYieldToken.json +9 -9
  35. package/build/artifacts/contracts/core/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/RouterStatic.sol/RouterStatic.json +628 -12
  37. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +3 -3
  39. package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.json +128 -92
  41. package/build/artifacts/contracts/core/actions/ActionRedeem.sol/ActionRedeem.dbg.json +4 -0
  42. package/build/artifacts/contracts/core/actions/ActionRedeem.sol/{PendleRouterRedeemUpg.json → ActionRedeem.json} +3 -3
  43. package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +105 -69
  45. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +4 -0
  46. package/build/artifacts/contracts/core/actions/base/{ActionSCYAndOTBase.sol/ActionSCYAndOTBase.json → ActionSCYAndPTBase.sol/ActionSCYAndPTBase.json} +2 -2
  47. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +4 -0
  48. package/build/artifacts/contracts/core/actions/base/{ActionSCYAndYOBase.sol/ActionSCYAndYOBase.json → ActionSCYAndPYBase.sol/ActionSCYAndPYBase.json} +14 -14
  49. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.json +12 -12
  51. package/build/artifacts/contracts/core/actions/base/ActionType.sol/ActionType.dbg.json +1 -1
  52. package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
  53. package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +1 -1
  54. package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
  55. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
  56. package/build/artifacts/contracts/interfaces/IJoePair.sol/IJoePair.dbg.json +1 -1
  57. package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.dbg.json +1 -1
  58. package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.json +114 -78
  60. package/build/artifacts/contracts/interfaces/IPActionRedeem.sol/IPActionRedeem.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.json +90 -54
  63. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +210 -138
  65. package/build/artifacts/contracts/interfaces/IPBaseToken.sol/IPBaseToken.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +14 -14
  69. package/build/artifacts/contracts/interfaces/IPMarketAddRemoveCallback.sol/IPMarketAddRemoveCallback.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPMarketAddRemoveCallback.sol/IPMarketAddRemoveCallback.json +2 -2
  71. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +4 -0
  77. package/build/artifacts/contracts/interfaces/{IPOwnershipToken.sol/IPOwnershipToken.json → IPPrincipalToken.sol/IPPrincipalToken.json} +2 -2
  78. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +626 -10
  80. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.json +3 -3
  82. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +5 -5
  84. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +1 -1
  91. package/build/artifacts/contracts/libraries/JoeLibrary.sol/JoeLibrary.dbg.json +1 -1
  92. package/build/artifacts/contracts/libraries/JoeLibrary.sol/JoeLibrary.json +2 -2
  93. package/build/artifacts/contracts/libraries/SCYIndex.sol/SCYIndexLib.dbg.json +1 -1
  94. package/build/artifacts/contracts/libraries/SCYIndex.sol/SCYIndexLib.json +2 -2
  95. package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  96. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  97. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.json +2 -2
  98. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +1 -1
  99. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.json +2 -2
  100. package/build/artifacts/contracts/libraries/math/MarketMathAux.sol/MarketMathAux.dbg.json +1 -1
  101. package/build/artifacts/contracts/libraries/math/MarketMathAux.sol/MarketMathAux.json +2 -2
  102. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  103. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +2 -2
  104. package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
  105. package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +2 -2
  106. package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.dbg.json +1 -1
  107. package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.json +3 -3
  108. package/build/artifacts/contracts/periphery/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.dbg.json +1 -1
  109. package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
  110. package/contracts/libraries/math/MarketApproxLib.sol +1 -1
  111. package/package.json +1 -1
  112. package/typechain-types/ActionCallback.ts +5 -5
  113. package/typechain-types/ActionCore.ts +232 -280
  114. package/typechain-types/{PendleRouterRedeemUpg.ts → ActionRedeem.ts} +5 -5
  115. package/typechain-types/{ActionSCYAndYOBase.ts → ActionSCYAndPYBase.ts} +54 -54
  116. package/typechain-types/ActionSCYAndYTBase.ts +49 -49
  117. package/typechain-types/ActionYT.ts +92 -140
  118. package/typechain-types/IPActionCore.ts +183 -231
  119. package/typechain-types/IPActionYT.ts +43 -91
  120. package/typechain-types/IPAllAction.ts +204 -322
  121. package/typechain-types/IPMarket.ts +55 -55
  122. package/typechain-types/IPMarketAddRemoveCallback.ts +10 -10
  123. package/typechain-types/IPMarketFactory.ts +3 -3
  124. package/typechain-types/IPMarketSwapCallback.ts +5 -5
  125. package/typechain-types/{IPOwnershipToken.ts → IPPrincipalToken.ts} +5 -5
  126. package/typechain-types/IPRouterStatic.ts +529 -49
  127. package/typechain-types/IPYieldContractFactory.ts +19 -19
  128. package/typechain-types/IPYieldToken.ts +29 -29
  129. package/typechain-types/ISuperComposableYield.ts +13 -0
  130. package/typechain-types/PendleAaveV3SCY.ts +13 -0
  131. package/typechain-types/PendleBaseToken.ts +1 -1
  132. package/typechain-types/PendleBenQiErc20SCY.ts +14 -20
  133. package/typechain-types/PendleBtrflyScy.ts +14 -20
  134. package/typechain-types/PendleGovernanceManager.ts +5 -5
  135. package/typechain-types/PendleMarket.ts +102 -105
  136. package/typechain-types/PendleMarketFactory.ts +48 -8
  137. package/typechain-types/{PendleOwnershipToken.ts → PendlePrincipalToken.ts} +15 -6
  138. package/typechain-types/PendleStEthSCY.ts +15 -23
  139. package/typechain-types/PendleYearnVaultScy.ts +15 -23
  140. package/typechain-types/PendleYieldContractFactory.ts +28 -28
  141. package/typechain-types/PendleYieldToken.ts +30 -30
  142. package/typechain-types/RouterStatic.ts +529 -49
  143. package/typechain-types/SCYBase.ts +13 -0
  144. package/typechain-types/SCYBaseWithRewards.ts +13 -0
  145. package/typechain-types/factories/ActionCallback__factory.ts +2 -2
  146. package/typechain-types/factories/ActionCore__factory.ts +127 -91
  147. package/typechain-types/factories/{PendleRouterRedeemUpg__factory.ts → ActionRedeem__factory.ts} +19 -26
  148. package/typechain-types/factories/{ActionSCYAndYOBase__factory.ts → ActionSCYAndPYBase__factory.ts} +20 -20
  149. package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +12 -12
  150. package/typechain-types/factories/ActionYT__factory.ts +104 -68
  151. package/typechain-types/factories/IPActionCore__factory.ts +114 -78
  152. package/typechain-types/factories/IPActionYT__factory.ts +90 -54
  153. package/typechain-types/factories/IPAllAction__factory.ts +210 -138
  154. package/typechain-types/factories/IPMarketAddRemoveCallback__factory.ts +2 -2
  155. package/typechain-types/factories/IPMarketFactory__factory.ts +1 -1
  156. package/typechain-types/factories/IPMarketSwapCallback__factory.ts +1 -1
  157. package/typechain-types/factories/IPMarket__factory.ts +14 -14
  158. package/typechain-types/factories/{IPOwnershipToken__factory.ts → IPPrincipalToken__factory.ts} +8 -8
  159. package/typechain-types/factories/IPRouterStatic__factory.ts +626 -10
  160. package/typechain-types/factories/IPYieldContractFactory__factory.ts +3 -3
  161. package/typechain-types/factories/IPYieldToken__factory.ts +5 -5
  162. package/typechain-types/factories/ISuperComposableYield__factory.ts +13 -0
  163. package/typechain-types/factories/PendleAaveV3SCY__factory.ts +24 -1
  164. package/typechain-types/factories/PendleBaseToken__factory.ts +1 -1
  165. package/typechain-types/factories/PendleBenQiErc20SCY__factory.ts +25 -15
  166. package/typechain-types/factories/PendleBtrflyScy__factory.ts +25 -15
  167. package/typechain-types/factories/PendleGovernanceManager__factory.ts +2 -2
  168. package/typechain-types/factories/PendleMarketFactory__factory.ts +29 -3
  169. package/typechain-types/factories/PendleMarket__factory.ts +59 -54
  170. package/typechain-types/factories/PendlePrincipalToken__factory.ts +540 -0
  171. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  172. package/typechain-types/factories/PendleStEthSCY__factory.ts +27 -17
  173. package/typechain-types/factories/PendleYearnVaultScy__factory.ts +26 -16
  174. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +6 -6
  175. package/typechain-types/factories/PendleYieldToken__factory.ts +12 -12
  176. package/typechain-types/factories/RouterStatic__factory.ts +627 -11
  177. package/typechain-types/factories/SCYBaseWithRewards__factory.ts +13 -0
  178. package/typechain-types/factories/SCYBase__factory.ts +13 -0
  179. package/typechain-types/hardhat.d.ts +20 -20
  180. package/typechain-types/index.ts +8 -8
  181. package/build/artifacts/contracts/core/PendleOwnershipToken.sol/PendleOwnershipToken.dbg.json +0 -4
  182. package/build/artifacts/contracts/core/PendleOwnershipToken.sol/PendleOwnershipToken.json +0 -439
  183. package/build/artifacts/contracts/core/actions/ActionRedeem.sol/PendleRouterRedeemUpg.dbg.json +0 -4
  184. package/build/artifacts/contracts/core/actions/base/ActionSCYAndOTBase.sol/ActionSCYAndOTBase.dbg.json +0 -4
  185. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYOBase.sol/ActionSCYAndYOBase.dbg.json +0 -4
  186. package/build/artifacts/contracts/interfaces/IPOwnershipToken.sol/IPOwnershipToken.dbg.json +0 -4
  187. package/typechain-types/AggregatorV2V3Interface.ts +0 -380
  188. package/typechain-types/BenqiChainlinkOracle.ts +0 -362
  189. package/typechain-types/BoringOwnable.ts +0 -194
  190. package/typechain-types/BoringOwnableData.ts +0 -100
  191. package/typechain-types/BoringOwnableUpg.ts +0 -194
  192. package/typechain-types/BoringOwnableUpgData.ts +0 -100
  193. package/typechain-types/Comptroller.ts +0 -2860
  194. package/typechain-types/ComptrollerErrorReporter.ts +0 -70
  195. package/typechain-types/ComptrollerInterface.ts +0 -881
  196. package/typechain-types/ComptrollerVXStorage.ts +0 -781
  197. package/typechain-types/CrosschainContract.ts +0 -113
  198. package/typechain-types/CrosschainReceiver.ts +0 -347
  199. package/typechain-types/CrosschainSender.ts +0 -210
  200. package/typechain-types/EIP20Interface.ts +0 -337
  201. package/typechain-types/EIP20NonStandardInterface.ts +0 -298
  202. package/typechain-types/ERC20Burnable.ts +0 -473
  203. package/typechain-types/ERC20Locker.ts +0 -91
  204. package/typechain-types/ERC20Premined.ts +0 -473
  205. package/typechain-types/ERC20PresetFixedSupply.ts +0 -473
  206. package/typechain-types/EpochController.ts +0 -195
  207. package/typechain-types/FundKeeper.ts +0 -347
  208. package/typechain-types/GaugeTypeControllerAbstract.ts +0 -546
  209. package/typechain-types/GaugeTypeControllerCrosschain.ts +0 -733
  210. package/typechain-types/GaugeTypeControllerMainchain.ts +0 -604
  211. package/typechain-types/IGaugeController.ts +0 -99
  212. package/typechain-types/ILiquidYieldToken.ts +0 -639
  213. package/typechain-types/ILiquidYieldTokenWrap.ts +0 -790
  214. package/typechain-types/IMessageBus.ts +0 -543
  215. package/typechain-types/IMessageReceiverApp.ts +0 -110
  216. package/typechain-types/IPFlashCallback.ts +0 -115
  217. package/typechain-types/IPLiquidYieldToken.ts +0 -641
  218. package/typechain-types/IPMarketCallback.ts +0 -107
  219. package/typechain-types/IPRouterCore.ts +0 -769
  220. package/typechain-types/IPRouterRedeem.ts +0 -155
  221. package/typechain-types/IPRouterYT.ts +0 -489
  222. package/typechain-types/IPermissionsV2.ts +0 -87
  223. package/typechain-types/IRainbowBridge.ts +0 -91
  224. package/typechain-types/ISCYRewardIndex.ts +0 -695
  225. package/typechain-types/IVEPendleToken.ts +0 -121
  226. package/typechain-types/IXPendle.ts +0 -114
  227. package/typechain-types/InterestRateModel.ts +0 -178
  228. package/typechain-types/JumpRateModel.ts +0 -347
  229. package/typechain-types/LYTBase.ts +0 -721
  230. package/typechain-types/LYTBaseWithRewards.ts +0 -806
  231. package/typechain-types/LYTWrap.ts +0 -872
  232. package/typechain-types/LYTWrapWithRewards.ts +0 -979
  233. package/typechain-types/LiquidityMining.ts +0 -468
  234. package/typechain-types/Maximillion.ts +0 -145
  235. package/typechain-types/Ownable.ts +0 -160
  236. package/typechain-types/PendleAaveV3LYT.ts +0 -808
  237. package/typechain-types/PendleBenQiErc20LYT.ts +0 -901
  238. package/typechain-types/PendleBenqiLiquidYieldToken.ts +0 -1013
  239. package/typechain-types/PendleBtrflyLYT.ts +0 -781
  240. package/typechain-types/PendleGauge.ts +0 -469
  241. package/typechain-types/PendleJoeSwapHelper.ts +0 -92
  242. package/typechain-types/PendleLYTMockYT.ts +0 -894
  243. package/typechain-types/PendleLiquidYieldToken.ts +0 -814
  244. package/typechain-types/PendleLiquidYieldTokenBase.ts +0 -941
  245. package/typechain-types/PendleRouter01.ts +0 -184
  246. package/typechain-types/PendleRouter02.ts +0 -564
  247. package/typechain-types/PendleRouter03.ts +0 -224
  248. package/typechain-types/PendleRouterBase.ts +0 -126
  249. package/typechain-types/PendleRouterCore.ts +0 -328
  250. package/typechain-types/PendleRouterCoreUpg.ts +0 -798
  251. package/typechain-types/PendleRouterLytAndForge.ts +0 -331
  252. package/typechain-types/PendleRouterMarketBase.ts +0 -82
  253. package/typechain-types/PendleRouterOT.ts +0 -463
  254. package/typechain-types/PendleRouterProxy.ts +0 -335
  255. package/typechain-types/PendleRouterRawTokenOT.ts +0 -865
  256. package/typechain-types/PendleRouterRawTokenYT.ts +0 -520
  257. package/typechain-types/PendleRouterSCYAndForgeBaseUpg.ts +0 -98
  258. package/typechain-types/PendleRouterStaticUpg.ts +0 -399
  259. package/typechain-types/PendleRouterYT.ts +0 -227
  260. package/typechain-types/PendleRouterYTBaseUpg.ts +0 -134
  261. package/typechain-types/PendleRouterYTUpg.ts +0 -537
  262. package/typechain-types/PendleYTLYTBenqi.ts +0 -863
  263. package/typechain-types/PendleYearnVaultLYT.ts +0 -723
  264. package/typechain-types/PermissionsV2.ts +0 -87
  265. package/typechain-types/PermlessAbstract.ts +0 -57
  266. package/typechain-types/PglStakingContract.ts +0 -662
  267. package/typechain-types/PglStakingContractProxy.ts +0 -256
  268. package/typechain-types/PglStakingContractProxyStorage.ts +0 -136
  269. package/typechain-types/PglStakingContractStorage.ts +0 -397
  270. package/typechain-types/PriceOracle.ts +0 -116
  271. package/typechain-types/ProtocolFakeUser.ts +0 -105
  272. package/typechain-types/Qi.ts +0 -760
  273. package/typechain-types/QiAvax.ts +0 -1720
  274. package/typechain-types/QiDelegateInterface.ts +0 -145
  275. package/typechain-types/QiDelegationStorage.ts +0 -82
  276. package/typechain-types/QiDelegatorInterface.ts +0 -149
  277. package/typechain-types/QiErc20.ts +0 -1846
  278. package/typechain-types/QiErc20Delegate.ts +0 -1926
  279. package/typechain-types/QiErc20Delegator.ts +0 -1885
  280. package/typechain-types/QiErc20Interface.ts +0 -382
  281. package/typechain-types/QiErc20Storage.ts +0 -79
  282. package/typechain-types/QiToken.ts +0 -1475
  283. package/typechain-types/QiTokenInterface.ts +0 -1419
  284. package/typechain-types/QiTokenSaleDistributor.ts +0 -771
  285. package/typechain-types/QiTokenSaleDistributorProxy.ts +0 -256
  286. package/typechain-types/QiTokenSaleDistributorProxyStorage.ts +0 -136
  287. package/typechain-types/QiTokenSaleDistributorStorage.ts +0 -401
  288. package/typechain-types/QiTokenStorage.ts +0 -311
  289. package/typechain-types/ReentrancyGuard.ts +0 -52
  290. package/typechain-types/SingleGaugeTypeController.ts +0 -478
  291. package/typechain-types/TokenErrorReporter.ts +0 -70
  292. package/typechain-types/Unitroller.ts +0 -356
  293. package/typechain-types/UnitrollerAdminStorage.ts +0 -143
  294. package/typechain-types/VePendle.ts +0 -1156
  295. package/typechain-types/VePendleCrosschain.ts +0 -969
  296. package/typechain-types/VePendleToken.ts +0 -688
  297. package/typechain-types/VotingController.ts +0 -883
  298. package/typechain-types/WETH9.ts +0 -414
  299. package/typechain-types/WhitePaperInterestRateModel.ts +0 -304
  300. package/typechain-types/XPendle.ts +0 -618
  301. package/typechain-types/factories/AggregatorV2V3Interface__factory.ts +0 -288
  302. package/typechain-types/factories/BenqiChainlinkOracle__factory.ts +0 -311
  303. package/typechain-types/factories/BoringOwnableData__factory.ts +0 -90
  304. package/typechain-types/factories/BoringOwnableUpgData__factory.ts +0 -94
  305. package/typechain-types/factories/BoringOwnableUpg__factory.ts +0 -139
  306. package/typechain-types/factories/BoringOwnable__factory.ts +0 -149
  307. package/typechain-types/factories/ComptrollerErrorReporter__factory.ts +0 -93
  308. package/typechain-types/factories/ComptrollerInterface__factory.ts +0 -595
  309. package/typechain-types/factories/ComptrollerVXStorage__factory.ts +0 -610
  310. package/typechain-types/factories/Comptroller__factory.ts +0 -2189
  311. package/typechain-types/factories/CrosschainContract__factory.ts +0 -52
  312. package/typechain-types/factories/CrosschainReceiver__factory.ts +0 -187
  313. package/typechain-types/factories/CrosschainSender__factory.ts +0 -104
  314. package/typechain-types/factories/EIP20Interface__factory.ts +0 -248
  315. package/typechain-types/factories/EIP20NonStandardInterface__factory.ts +0 -213
  316. package/typechain-types/factories/ERC20Burnable__factory.ts +0 -324
  317. package/typechain-types/factories/ERC20Locker__factory.ts +0 -73
  318. package/typechain-types/factories/ERC20Premined__factory.ts +0 -393
  319. package/typechain-types/factories/ERC20PresetFixedSupply__factory.ts +0 -422
  320. package/typechain-types/factories/EpochController__factory.ts +0 -170
  321. package/typechain-types/factories/FundKeeper__factory.ts +0 -212
  322. package/typechain-types/factories/GaugeTypeControllerAbstract__factory.ts +0 -387
  323. package/typechain-types/factories/GaugeTypeControllerCrosschain__factory.ts +0 -522
  324. package/typechain-types/factories/GaugeTypeControllerMainchain__factory.ts +0 -431
  325. package/typechain-types/factories/IGaugeController__factory.ts +0 -45
  326. package/typechain-types/factories/ILiquidYieldTokenWrap__factory.ts +0 -533
  327. package/typechain-types/factories/ILiquidYieldToken__factory.ts +0 -429
  328. package/typechain-types/factories/IMessageBus__factory.ts +0 -396
  329. package/typechain-types/factories/IMessageReceiverApp__factory.ts +0 -55
  330. package/typechain-types/factories/IPFlashCallback__factory.ts +0 -49
  331. package/typechain-types/factories/IPLiquidYieldToken__factory.ts +0 -433
  332. package/typechain-types/factories/IPMarketCallback__factory.ts +0 -55
  333. package/typechain-types/factories/IPRouterCore__factory.ts +0 -531
  334. package/typechain-types/factories/IPRouterRedeem__factory.ts +0 -72
  335. package/typechain-types/factories/IPRouterYT__factory.ts +0 -305
  336. package/typechain-types/factories/IPermissionsV2__factory.ts +0 -39
  337. package/typechain-types/factories/IRainbowBridge__factory.ts +0 -76
  338. package/typechain-types/factories/ISCYRewardIndex__factory.ts +0 -465
  339. package/typechain-types/factories/IVEPendleToken__factory.ts +0 -71
  340. package/typechain-types/factories/IXPendle__factory.ts +0 -61
  341. package/typechain-types/factories/InterestRateModel__factory.ts +0 -108
  342. package/typechain-types/factories/JumpRateModel__factory.ts +0 -334
  343. package/typechain-types/factories/LYTBaseWithRewards__factory.ts +0 -530
  344. package/typechain-types/factories/LYTBase__factory.ts +0 -474
  345. package/typechain-types/factories/LYTWrapWithRewards__factory.ts +0 -643
  346. package/typechain-types/factories/LYTWrap__factory.ts +0 -574
  347. package/typechain-types/factories/LiquidityMining__factory.ts +0 -367
  348. package/typechain-types/factories/Maximillion__factory.ts +0 -125
  349. package/typechain-types/factories/Ownable__factory.ts +0 -75
  350. package/typechain-types/factories/PendleAaveV3LYT__factory.ts +0 -657
  351. package/typechain-types/factories/PendleBenQiErc20LYT__factory.ts +0 -748
  352. package/typechain-types/factories/PendleBenqiLiquidYieldToken__factory.ts +0 -785
  353. package/typechain-types/factories/PendleBtrflyLYT__factory.ts +0 -647
  354. package/typechain-types/factories/PendleGauge__factory.ts +0 -383
  355. package/typechain-types/factories/PendleJoeSwapHelper__factory.ts +0 -52
  356. package/typechain-types/factories/PendleLYTMockYT__factory.ts +0 -732
  357. package/typechain-types/factories/PendleLiquidYieldTokenBase__factory.ts +0 -603
  358. package/typechain-types/factories/PendleLiquidYieldToken__factory.ts +0 -510
  359. package/typechain-types/factories/PendleOwnershipToken__factory.ts +0 -527
  360. package/typechain-types/factories/PendleRouter01__factory.ts +0 -152
  361. package/typechain-types/factories/PendleRouter02__factory.ts +0 -438
  362. package/typechain-types/factories/PendleRouter03__factory.ts +0 -190
  363. package/typechain-types/factories/PendleRouterBase__factory.ts +0 -68
  364. package/typechain-types/factories/PendleRouterCoreUpg__factory.ts +0 -635
  365. package/typechain-types/factories/PendleRouterCore__factory.ts +0 -268
  366. package/typechain-types/factories/PendleRouterLytAndForge__factory.ts +0 -294
  367. package/typechain-types/factories/PendleRouterMarketBase__factory.ts +0 -43
  368. package/typechain-types/factories/PendleRouterOT__factory.ts +0 -372
  369. package/typechain-types/factories/PendleRouterProxy__factory.ts +0 -285
  370. package/typechain-types/factories/PendleRouterRawTokenOT__factory.ts +0 -697
  371. package/typechain-types/factories/PendleRouterRawTokenYT__factory.ts +0 -431
  372. package/typechain-types/factories/PendleRouterSCYAndForgeBaseUpg__factory.ts +0 -56
  373. package/typechain-types/factories/PendleRouterStaticUpg__factory.ts +0 -315
  374. package/typechain-types/factories/PendleRouterYTBaseUpg__factory.ts +0 -66
  375. package/typechain-types/factories/PendleRouterYTUpg__factory.ts +0 -422
  376. package/typechain-types/factories/PendleRouterYT__factory.ts +0 -184
  377. package/typechain-types/factories/PendleYTLYTBenqi__factory.ts +0 -713
  378. package/typechain-types/factories/PendleYearnVaultLYT__factory.ts +0 -586
  379. package/typechain-types/factories/PermissionsV2__factory.ts +0 -36
  380. package/typechain-types/factories/PermlessAbstract__factory.ts +0 -30
  381. package/typechain-types/factories/PglStakingContractProxyStorage__factory.ts +0 -130
  382. package/typechain-types/factories/PglStakingContractProxy__factory.ts +0 -187
  383. package/typechain-types/factories/PglStakingContractStorage__factory.ts +0 -309
  384. package/typechain-types/factories/PglStakingContract__factory.ts +0 -446
  385. package/typechain-types/factories/PriceOracle__factory.ts +0 -59
  386. package/typechain-types/factories/ProtocolFakeUser__factory.ts +0 -87
  387. package/typechain-types/factories/QiAvax__factory.ts +0 -1471
  388. package/typechain-types/factories/QiDelegateInterface__factory.ts +0 -65
  389. package/typechain-types/factories/QiDelegationStorage__factory.ts +0 -79
  390. package/typechain-types/factories/QiDelegatorInterface__factory.ts +0 -89
  391. package/typechain-types/factories/QiErc20Delegate__factory.ts +0 -1563
  392. package/typechain-types/factories/QiErc20Delegator__factory.ts +0 -1648
  393. package/typechain-types/factories/QiErc20Interface__factory.ts +0 -239
  394. package/typechain-types/factories/QiErc20Storage__factory.ts +0 -79
  395. package/typechain-types/factories/QiErc20__factory.ts +0 -1515
  396. package/typechain-types/factories/QiTokenInterface__factory.ts +0 -1182
  397. package/typechain-types/factories/QiTokenSaleDistributorProxyStorage__factory.ts +0 -124
  398. package/typechain-types/factories/QiTokenSaleDistributorProxy__factory.ts +0 -171
  399. package/typechain-types/factories/QiTokenSaleDistributorStorage__factory.ts +0 -289
  400. package/typechain-types/factories/QiTokenSaleDistributor__factory.ts +0 -480
  401. package/typechain-types/factories/QiTokenStorage__factory.ts +0 -274
  402. package/typechain-types/factories/QiToken__factory.ts +0 -1219
  403. package/typechain-types/factories/Qi__factory.ts +0 -648
  404. package/typechain-types/factories/ReentrancyGuard__factory.ts +0 -69
  405. package/typechain-types/factories/SingleGaugeTypeController__factory.ts +0 -341
  406. package/typechain-types/factories/TokenErrorReporter__factory.ts +0 -89
  407. package/typechain-types/factories/UnitrollerAdminStorage__factory.ts +0 -128
  408. package/typechain-types/factories/Unitroller__factory.ts +0 -305
  409. package/typechain-types/factories/VePendleCrosschain__factory.ts +0 -727
  410. package/typechain-types/factories/VePendleToken__factory.ts +0 -494
  411. package/typechain-types/factories/VePendle__factory.ts +0 -800
  412. package/typechain-types/factories/VotingController__factory.ts +0 -610
  413. package/typechain-types/factories/WETH9__factory.ts +0 -342
  414. package/typechain-types/factories/WhitePaperInterestRateModel__factory.ts +0 -281
  415. package/typechain-types/factories/XPendle__factory.ts +0 -473
@@ -24,7 +24,7 @@ const _abi = [
24
24
  },
25
25
  {
26
26
  internalType: "uint256",
27
- name: "otDesired",
27
+ name: "ptDesired",
28
28
  type: "uint256",
29
29
  },
30
30
  ],
@@ -42,7 +42,7 @@ const _abi = [
42
42
  },
43
43
  {
44
44
  internalType: "uint256",
45
- name: "otUsed",
45
+ name: "ptUsed",
46
46
  type: "uint256",
47
47
  },
48
48
  ],
@@ -57,17 +57,164 @@ const _abi = [
57
57
  type: "address",
58
58
  },
59
59
  ],
60
- name: "getOtImpliedYield",
60
+ name: "getMarketInfo",
61
61
  outputs: [
62
+ {
63
+ internalType: "address",
64
+ name: "pt",
65
+ type: "address",
66
+ },
67
+ {
68
+ internalType: "address",
69
+ name: "scy",
70
+ type: "address",
71
+ },
72
+ {
73
+ components: [
74
+ {
75
+ internalType: "int256",
76
+ name: "totalPt",
77
+ type: "int256",
78
+ },
79
+ {
80
+ internalType: "int256",
81
+ name: "totalScy",
82
+ type: "int256",
83
+ },
84
+ {
85
+ internalType: "int256",
86
+ name: "totalLp",
87
+ type: "int256",
88
+ },
89
+ {
90
+ internalType: "uint256",
91
+ name: "oracleRate",
92
+ type: "uint256",
93
+ },
94
+ {
95
+ internalType: "address",
96
+ name: "treasury",
97
+ type: "address",
98
+ },
99
+ {
100
+ internalType: "int256",
101
+ name: "scalarRoot",
102
+ type: "int256",
103
+ },
104
+ {
105
+ internalType: "uint256",
106
+ name: "lnFeeRateRoot",
107
+ type: "uint256",
108
+ },
109
+ {
110
+ internalType: "uint256",
111
+ name: "rateOracleTimeWindow",
112
+ type: "uint256",
113
+ },
114
+ {
115
+ internalType: "uint256",
116
+ name: "expiry",
117
+ type: "uint256",
118
+ },
119
+ {
120
+ internalType: "uint256",
121
+ name: "reserveFeePercent",
122
+ type: "uint256",
123
+ },
124
+ {
125
+ internalType: "uint256",
126
+ name: "lastLnImpliedRate",
127
+ type: "uint256",
128
+ },
129
+ {
130
+ internalType: "uint256",
131
+ name: "lastTradeTime",
132
+ type: "uint256",
133
+ },
134
+ ],
135
+ internalType: "struct MarketState",
136
+ name: "state",
137
+ type: "tuple",
138
+ },
62
139
  {
63
140
  internalType: "int256",
64
- name: "",
141
+ name: "impliedYield",
65
142
  type: "int256",
66
143
  },
144
+ {
145
+ internalType: "uint256",
146
+ name: "exchangeRate",
147
+ type: "uint256",
148
+ },
67
149
  ],
68
150
  stateMutability: "view",
69
151
  type: "function",
70
152
  },
153
+ {
154
+ inputs: [
155
+ {
156
+ internalType: "address",
157
+ name: "py",
158
+ type: "address",
159
+ },
160
+ ],
161
+ name: "getPY",
162
+ outputs: [
163
+ {
164
+ internalType: "address",
165
+ name: "yt",
166
+ type: "address",
167
+ },
168
+ {
169
+ internalType: "address",
170
+ name: "pt",
171
+ type: "address",
172
+ },
173
+ ],
174
+ stateMutability: "view",
175
+ type: "function",
176
+ },
177
+ {
178
+ inputs: [
179
+ {
180
+ internalType: "address",
181
+ name: "py",
182
+ type: "address",
183
+ },
184
+ ],
185
+ name: "getPYInfo",
186
+ outputs: [
187
+ {
188
+ internalType: "uint256",
189
+ name: "exchangeRate",
190
+ type: "uint256",
191
+ },
192
+ {
193
+ internalType: "uint256",
194
+ name: "totalSupply",
195
+ type: "uint256",
196
+ },
197
+ {
198
+ components: [
199
+ {
200
+ internalType: "address",
201
+ name: "rewardToken",
202
+ type: "address",
203
+ },
204
+ {
205
+ internalType: "uint256",
206
+ name: "index",
207
+ type: "uint256",
208
+ },
209
+ ],
210
+ internalType: "struct IPRouterStatic.RewardIndex[]",
211
+ name: "rewardIndexes",
212
+ type: "tuple[]",
213
+ },
214
+ ],
215
+ stateMutability: "nonpayable",
216
+ type: "function",
217
+ },
71
218
  {
72
219
  inputs: [
73
220
  {
@@ -80,7 +227,7 @@ const _abi = [
80
227
  outputs: [
81
228
  {
82
229
  internalType: "bool",
83
- name: "isOT",
230
+ name: "isPT",
84
231
  type: "bool",
85
232
  },
86
233
  {
@@ -97,6 +244,475 @@ const _abi = [
97
244
  stateMutability: "view",
98
245
  type: "function",
99
246
  },
247
+ {
248
+ inputs: [
249
+ {
250
+ internalType: "address",
251
+ name: "market",
252
+ type: "address",
253
+ },
254
+ ],
255
+ name: "getPtImpliedYield",
256
+ outputs: [
257
+ {
258
+ internalType: "int256",
259
+ name: "",
260
+ type: "int256",
261
+ },
262
+ ],
263
+ stateMutability: "view",
264
+ type: "function",
265
+ },
266
+ {
267
+ inputs: [
268
+ {
269
+ internalType: "address",
270
+ name: "market",
271
+ type: "address",
272
+ },
273
+ {
274
+ internalType: "address",
275
+ name: "user",
276
+ type: "address",
277
+ },
278
+ ],
279
+ name: "getUserMarketInfo",
280
+ outputs: [
281
+ {
282
+ components: [
283
+ {
284
+ internalType: "address",
285
+ name: "market",
286
+ type: "address",
287
+ },
288
+ {
289
+ internalType: "uint256",
290
+ name: "lpBalance",
291
+ type: "uint256",
292
+ },
293
+ {
294
+ components: [
295
+ {
296
+ internalType: "address",
297
+ name: "token",
298
+ type: "address",
299
+ },
300
+ {
301
+ internalType: "uint256",
302
+ name: "amount",
303
+ type: "uint256",
304
+ },
305
+ ],
306
+ internalType: "struct IPRouterStatic.TokenAmount",
307
+ name: "ptBalance",
308
+ type: "tuple",
309
+ },
310
+ {
311
+ components: [
312
+ {
313
+ internalType: "address",
314
+ name: "token",
315
+ type: "address",
316
+ },
317
+ {
318
+ internalType: "uint256",
319
+ name: "amount",
320
+ type: "uint256",
321
+ },
322
+ ],
323
+ internalType: "struct IPRouterStatic.TokenAmount",
324
+ name: "scyBalance",
325
+ type: "tuple",
326
+ },
327
+ {
328
+ components: [
329
+ {
330
+ internalType: "address",
331
+ name: "token",
332
+ type: "address",
333
+ },
334
+ {
335
+ internalType: "uint256",
336
+ name: "amount",
337
+ type: "uint256",
338
+ },
339
+ ],
340
+ internalType: "struct IPRouterStatic.TokenAmount",
341
+ name: "assetBalance",
342
+ type: "tuple",
343
+ },
344
+ ],
345
+ internalType: "struct IPRouterStatic.UserMarketInfo",
346
+ name: "userMarketInfo",
347
+ type: "tuple",
348
+ },
349
+ ],
350
+ stateMutability: "view",
351
+ type: "function",
352
+ },
353
+ {
354
+ inputs: [
355
+ {
356
+ internalType: "address",
357
+ name: "user",
358
+ type: "address",
359
+ },
360
+ {
361
+ internalType: "address[]",
362
+ name: "markets",
363
+ type: "address[]",
364
+ },
365
+ ],
366
+ name: "getUserMarketPositions",
367
+ outputs: [
368
+ {
369
+ components: [
370
+ {
371
+ internalType: "address",
372
+ name: "market",
373
+ type: "address",
374
+ },
375
+ {
376
+ internalType: "uint256",
377
+ name: "lpBalance",
378
+ type: "uint256",
379
+ },
380
+ {
381
+ components: [
382
+ {
383
+ internalType: "address",
384
+ name: "token",
385
+ type: "address",
386
+ },
387
+ {
388
+ internalType: "uint256",
389
+ name: "amount",
390
+ type: "uint256",
391
+ },
392
+ ],
393
+ internalType: "struct IPRouterStatic.TokenAmount",
394
+ name: "ptBalance",
395
+ type: "tuple",
396
+ },
397
+ {
398
+ components: [
399
+ {
400
+ internalType: "address",
401
+ name: "token",
402
+ type: "address",
403
+ },
404
+ {
405
+ internalType: "uint256",
406
+ name: "amount",
407
+ type: "uint256",
408
+ },
409
+ ],
410
+ internalType: "struct IPRouterStatic.TokenAmount",
411
+ name: "scyBalance",
412
+ type: "tuple",
413
+ },
414
+ {
415
+ components: [
416
+ {
417
+ internalType: "address",
418
+ name: "token",
419
+ type: "address",
420
+ },
421
+ {
422
+ internalType: "uint256",
423
+ name: "amount",
424
+ type: "uint256",
425
+ },
426
+ ],
427
+ internalType: "struct IPRouterStatic.TokenAmount",
428
+ name: "assetBalance",
429
+ type: "tuple",
430
+ },
431
+ ],
432
+ internalType: "struct IPRouterStatic.UserMarketInfo[]",
433
+ name: "userMarketPositions",
434
+ type: "tuple[]",
435
+ },
436
+ ],
437
+ stateMutability: "view",
438
+ type: "function",
439
+ },
440
+ {
441
+ inputs: [
442
+ {
443
+ internalType: "address",
444
+ name: "py",
445
+ type: "address",
446
+ },
447
+ {
448
+ internalType: "address",
449
+ name: "user",
450
+ type: "address",
451
+ },
452
+ ],
453
+ name: "getUserPYInfo",
454
+ outputs: [
455
+ {
456
+ components: [
457
+ {
458
+ internalType: "address",
459
+ name: "yt",
460
+ type: "address",
461
+ },
462
+ {
463
+ internalType: "address",
464
+ name: "pt",
465
+ type: "address",
466
+ },
467
+ {
468
+ internalType: "uint256",
469
+ name: "ytBalance",
470
+ type: "uint256",
471
+ },
472
+ {
473
+ internalType: "uint256",
474
+ name: "ptBalance",
475
+ type: "uint256",
476
+ },
477
+ {
478
+ components: [
479
+ {
480
+ internalType: "address",
481
+ name: "token",
482
+ type: "address",
483
+ },
484
+ {
485
+ internalType: "uint256",
486
+ name: "amount",
487
+ type: "uint256",
488
+ },
489
+ ],
490
+ internalType: "struct IPRouterStatic.TokenAmount",
491
+ name: "unclaimedInterest",
492
+ type: "tuple",
493
+ },
494
+ {
495
+ components: [
496
+ {
497
+ internalType: "address",
498
+ name: "token",
499
+ type: "address",
500
+ },
501
+ {
502
+ internalType: "uint256",
503
+ name: "amount",
504
+ type: "uint256",
505
+ },
506
+ ],
507
+ internalType: "struct IPRouterStatic.TokenAmount[]",
508
+ name: "unclaimedRewards",
509
+ type: "tuple[]",
510
+ },
511
+ ],
512
+ internalType: "struct IPRouterStatic.UserPYInfo",
513
+ name: "userPYInfo",
514
+ type: "tuple",
515
+ },
516
+ ],
517
+ stateMutability: "view",
518
+ type: "function",
519
+ },
520
+ {
521
+ inputs: [
522
+ {
523
+ internalType: "address",
524
+ name: "user",
525
+ type: "address",
526
+ },
527
+ {
528
+ internalType: "address[]",
529
+ name: "pys",
530
+ type: "address[]",
531
+ },
532
+ ],
533
+ name: "getUserPYPositionsByPYs",
534
+ outputs: [
535
+ {
536
+ components: [
537
+ {
538
+ internalType: "address",
539
+ name: "yt",
540
+ type: "address",
541
+ },
542
+ {
543
+ internalType: "address",
544
+ name: "pt",
545
+ type: "address",
546
+ },
547
+ {
548
+ internalType: "uint256",
549
+ name: "ytBalance",
550
+ type: "uint256",
551
+ },
552
+ {
553
+ internalType: "uint256",
554
+ name: "ptBalance",
555
+ type: "uint256",
556
+ },
557
+ {
558
+ components: [
559
+ {
560
+ internalType: "address",
561
+ name: "token",
562
+ type: "address",
563
+ },
564
+ {
565
+ internalType: "uint256",
566
+ name: "amount",
567
+ type: "uint256",
568
+ },
569
+ ],
570
+ internalType: "struct IPRouterStatic.TokenAmount",
571
+ name: "unclaimedInterest",
572
+ type: "tuple",
573
+ },
574
+ {
575
+ components: [
576
+ {
577
+ internalType: "address",
578
+ name: "token",
579
+ type: "address",
580
+ },
581
+ {
582
+ internalType: "uint256",
583
+ name: "amount",
584
+ type: "uint256",
585
+ },
586
+ ],
587
+ internalType: "struct IPRouterStatic.TokenAmount[]",
588
+ name: "unclaimedRewards",
589
+ type: "tuple[]",
590
+ },
591
+ ],
592
+ internalType: "struct IPRouterStatic.UserPYInfo[]",
593
+ name: "userPYPositions",
594
+ type: "tuple[]",
595
+ },
596
+ ],
597
+ stateMutability: "view",
598
+ type: "function",
599
+ },
600
+ {
601
+ inputs: [
602
+ {
603
+ internalType: "address",
604
+ name: "scy",
605
+ type: "address",
606
+ },
607
+ {
608
+ internalType: "address",
609
+ name: "user",
610
+ type: "address",
611
+ },
612
+ ],
613
+ name: "getUserSCYInfo",
614
+ outputs: [
615
+ {
616
+ internalType: "uint256",
617
+ name: "balance",
618
+ type: "uint256",
619
+ },
620
+ {
621
+ components: [
622
+ {
623
+ internalType: "address",
624
+ name: "token",
625
+ type: "address",
626
+ },
627
+ {
628
+ internalType: "uint256",
629
+ name: "amount",
630
+ type: "uint256",
631
+ },
632
+ ],
633
+ internalType: "struct IPRouterStatic.TokenAmount[]",
634
+ name: "rewards",
635
+ type: "tuple[]",
636
+ },
637
+ ],
638
+ stateMutability: "view",
639
+ type: "function",
640
+ },
641
+ {
642
+ inputs: [
643
+ {
644
+ components: [
645
+ {
646
+ internalType: "address",
647
+ name: "yt",
648
+ type: "address",
649
+ },
650
+ {
651
+ internalType: "address",
652
+ name: "pt",
653
+ type: "address",
654
+ },
655
+ {
656
+ internalType: "uint256",
657
+ name: "ytBalance",
658
+ type: "uint256",
659
+ },
660
+ {
661
+ internalType: "uint256",
662
+ name: "ptBalance",
663
+ type: "uint256",
664
+ },
665
+ {
666
+ components: [
667
+ {
668
+ internalType: "address",
669
+ name: "token",
670
+ type: "address",
671
+ },
672
+ {
673
+ internalType: "uint256",
674
+ name: "amount",
675
+ type: "uint256",
676
+ },
677
+ ],
678
+ internalType: "struct IPRouterStatic.TokenAmount",
679
+ name: "unclaimedInterest",
680
+ type: "tuple",
681
+ },
682
+ {
683
+ components: [
684
+ {
685
+ internalType: "address",
686
+ name: "token",
687
+ type: "address",
688
+ },
689
+ {
690
+ internalType: "uint256",
691
+ name: "amount",
692
+ type: "uint256",
693
+ },
694
+ ],
695
+ internalType: "struct IPRouterStatic.TokenAmount[]",
696
+ name: "unclaimedRewards",
697
+ type: "tuple[]",
698
+ },
699
+ ],
700
+ internalType: "struct IPRouterStatic.UserPYInfo",
701
+ name: "userPYInfo",
702
+ type: "tuple",
703
+ },
704
+ ],
705
+ name: "hasPYPosition",
706
+ outputs: [
707
+ {
708
+ internalType: "bool",
709
+ name: "hasPosition",
710
+ type: "bool",
711
+ },
712
+ ],
713
+ stateMutability: "pure",
714
+ type: "function",
715
+ },
100
716
  {
101
717
  inputs: [
102
718
  {
@@ -119,7 +735,7 @@ const _abi = [
119
735
  },
120
736
  {
121
737
  internalType: "uint256",
122
- name: "netOtOut",
738
+ name: "netPtOut",
123
739
  type: "uint256",
124
740
  },
125
741
  ],
@@ -154,11 +770,11 @@ const _abi = [
154
770
  },
155
771
  {
156
772
  internalType: "uint256",
157
- name: "exactOtIn",
773
+ name: "exactPtIn",
158
774
  type: "uint256",
159
775
  },
160
776
  ],
161
- name: "swapOtForScyStatic",
777
+ name: "swapPtForScyStatic",
162
778
  outputs: [
163
779
  {
164
780
  internalType: "uint256",
@@ -183,11 +799,11 @@ const _abi = [
183
799
  },
184
800
  {
185
801
  internalType: "uint256",
186
- name: "exactOtOut",
802
+ name: "exactPtOut",
187
803
  type: "uint256",
188
804
  },
189
805
  ],
190
- name: "swapScyForOtStatic",
806
+ name: "swapScyForPtStatic",
191
807
  outputs: [
192
808
  {
193
809
  internalType: "uint256",
@@ -22,7 +22,7 @@ const _abi = [
22
22
  {
23
23
  indexed: false,
24
24
  internalType: "address",
25
- name: "OT",
25
+ name: "PT",
26
26
  type: "address",
27
27
  },
28
28
  {
@@ -106,7 +106,7 @@ const _abi = [
106
106
  type: "uint256",
107
107
  },
108
108
  ],
109
- name: "getOT",
109
+ name: "getPT",
110
110
  outputs: [
111
111
  {
112
112
  internalType: "address",
@@ -162,7 +162,7 @@ const _abi = [
162
162
  type: "address",
163
163
  },
164
164
  ],
165
- name: "isOT",
165
+ name: "isPT",
166
166
  outputs: [
167
167
  {
168
168
  internalType: "bool",