@pendle/core-v2 0.6.5 → 0.6.7

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 (430) 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/IPendleGauge.sol/IPendleGauge.dbg.json +4 -0
  85. package/build/artifacts/contracts/interfaces/IPendleGauge.sol/IPendleGauge.json +113 -0
  86. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IVePToken.sol/IVePToken.dbg.json +4 -0
  90. package/build/artifacts/contracts/interfaces/IVePToken.sol/IVePToken.json +43 -0
  91. package/build/artifacts/contracts/interfaces/IVotingEscrowController.sol/VotingEscrowController.dbg.json +4 -0
  92. package/build/artifacts/contracts/interfaces/IVotingEscrowController.sol/VotingEscrowController.json +61 -0
  93. package/build/artifacts/contracts/interfaces/IVotingEscrowPendle.sol/IVotingEscrowPendle.dbg.json +4 -0
  94. package/build/artifacts/contracts/interfaces/IVotingEscrowPendle.sol/IVotingEscrowPendle.json +167 -0
  95. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +1 -1
  99. package/build/artifacts/contracts/libraries/JoeLibrary.sol/JoeLibrary.dbg.json +1 -1
  100. package/build/artifacts/contracts/libraries/JoeLibrary.sol/JoeLibrary.json +2 -2
  101. package/build/artifacts/contracts/libraries/SCYIndex.sol/SCYIndexLib.dbg.json +1 -1
  102. package/build/artifacts/contracts/libraries/SCYIndex.sol/SCYIndexLib.json +2 -2
  103. package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  104. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  105. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.json +2 -2
  106. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +1 -1
  107. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.json +2 -2
  108. package/build/artifacts/contracts/libraries/math/MarketMathAux.sol/MarketMathAux.dbg.json +1 -1
  109. package/build/artifacts/contracts/libraries/math/MarketMathAux.sol/MarketMathAux.json +2 -2
  110. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  111. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +2 -2
  112. package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
  113. package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +2 -2
  114. package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.dbg.json +1 -1
  115. package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.json +3 -3
  116. package/build/artifacts/contracts/periphery/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.dbg.json +1 -1
  117. package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
  118. package/contracts/interfaces/IPendleGauge.sol +32 -0
  119. package/contracts/interfaces/IVePToken.sol +14 -0
  120. package/contracts/interfaces/IVotingEscrowController.sol +14 -0
  121. package/contracts/interfaces/IVotingEscrowPendle.sol +32 -0
  122. package/contracts/libraries/math/MarketApproxLib.sol +1 -1
  123. package/package.json +1 -1
  124. package/typechain-types/ActionCallback.ts +5 -5
  125. package/typechain-types/ActionCore.ts +232 -280
  126. package/typechain-types/{PendleRouterRedeemUpg.ts → ActionRedeem.ts} +5 -5
  127. package/typechain-types/{ActionSCYAndYOBase.ts → ActionSCYAndPYBase.ts} +54 -54
  128. package/typechain-types/ActionSCYAndYTBase.ts +49 -49
  129. package/typechain-types/ActionYT.ts +92 -140
  130. package/typechain-types/IPActionCore.ts +183 -231
  131. package/typechain-types/IPActionYT.ts +43 -91
  132. package/typechain-types/IPAllAction.ts +204 -322
  133. package/typechain-types/IPMarket.ts +55 -55
  134. package/typechain-types/IPMarketAddRemoveCallback.ts +10 -10
  135. package/typechain-types/IPMarketFactory.ts +3 -3
  136. package/typechain-types/IPMarketSwapCallback.ts +5 -5
  137. package/typechain-types/{IPOwnershipToken.ts → IPPrincipalToken.ts} +5 -5
  138. package/typechain-types/IPRouterStatic.ts +529 -49
  139. package/typechain-types/IPYieldContractFactory.ts +19 -19
  140. package/typechain-types/IPYieldToken.ts +29 -29
  141. package/typechain-types/IPendleGauge.ts +241 -0
  142. package/typechain-types/ISuperComposableYield.ts +13 -0
  143. package/typechain-types/{IVEPendleToken.ts → IVePToken.ts} +16 -34
  144. package/typechain-types/IVotingEscrowPendle.ts +297 -0
  145. package/typechain-types/PendleAaveV3SCY.ts +13 -0
  146. package/typechain-types/PendleBaseToken.ts +1 -1
  147. package/typechain-types/PendleBenQiErc20SCY.ts +14 -20
  148. package/typechain-types/PendleBtrflyScy.ts +14 -20
  149. package/typechain-types/PendleGovernanceManager.ts +5 -5
  150. package/typechain-types/PendleMarket.ts +102 -105
  151. package/typechain-types/PendleMarketFactory.ts +48 -8
  152. package/typechain-types/{PendleOwnershipToken.ts → PendlePrincipalToken.ts} +15 -6
  153. package/typechain-types/PendleStEthSCY.ts +15 -23
  154. package/typechain-types/PendleYearnVaultScy.ts +15 -23
  155. package/typechain-types/PendleYieldContractFactory.ts +28 -28
  156. package/typechain-types/PendleYieldToken.ts +30 -30
  157. package/typechain-types/RouterStatic.ts +529 -49
  158. package/typechain-types/SCYBase.ts +13 -0
  159. package/typechain-types/SCYBaseWithRewards.ts +13 -0
  160. package/typechain-types/{IPRouterRedeem.ts → VotingEscrowController.ts} +55 -56
  161. package/typechain-types/factories/ActionCallback__factory.ts +2 -2
  162. package/typechain-types/factories/ActionCore__factory.ts +127 -91
  163. package/typechain-types/factories/{PendleRouterRedeemUpg__factory.ts → ActionRedeem__factory.ts} +19 -26
  164. package/typechain-types/factories/{ActionSCYAndYOBase__factory.ts → ActionSCYAndPYBase__factory.ts} +20 -20
  165. package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +12 -12
  166. package/typechain-types/factories/ActionYT__factory.ts +104 -68
  167. package/typechain-types/factories/IPActionCore__factory.ts +114 -78
  168. package/typechain-types/factories/IPActionYT__factory.ts +90 -54
  169. package/typechain-types/factories/IPAllAction__factory.ts +210 -138
  170. package/typechain-types/factories/IPMarketAddRemoveCallback__factory.ts +2 -2
  171. package/typechain-types/factories/IPMarketFactory__factory.ts +1 -1
  172. package/typechain-types/factories/IPMarketSwapCallback__factory.ts +1 -1
  173. package/typechain-types/factories/IPMarket__factory.ts +14 -14
  174. package/typechain-types/factories/{IPOwnershipToken__factory.ts → IPPrincipalToken__factory.ts} +8 -8
  175. package/typechain-types/factories/IPRouterStatic__factory.ts +626 -10
  176. package/typechain-types/factories/IPYieldContractFactory__factory.ts +3 -3
  177. package/typechain-types/factories/IPYieldToken__factory.ts +5 -5
  178. package/typechain-types/factories/IPendleGauge__factory.ts +125 -0
  179. package/typechain-types/factories/ISuperComposableYield__factory.ts +13 -0
  180. package/typechain-types/factories/{IXPendle__factory.ts → IVePToken__factory.ts} +10 -16
  181. package/typechain-types/factories/{QiErc20Interface__factory.ts → IVotingEscrowPendle__factory.ts} +41 -98
  182. package/typechain-types/factories/PendleAaveV3SCY__factory.ts +24 -1
  183. package/typechain-types/factories/PendleBaseToken__factory.ts +1 -1
  184. package/typechain-types/factories/PendleBenQiErc20SCY__factory.ts +25 -15
  185. package/typechain-types/factories/PendleBtrflyScy__factory.ts +25 -15
  186. package/typechain-types/factories/PendleGovernanceManager__factory.ts +2 -2
  187. package/typechain-types/factories/PendleMarketFactory__factory.ts +29 -3
  188. package/typechain-types/factories/PendleMarket__factory.ts +59 -54
  189. package/typechain-types/factories/PendlePrincipalToken__factory.ts +540 -0
  190. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  191. package/typechain-types/factories/PendleStEthSCY__factory.ts +27 -17
  192. package/typechain-types/factories/PendleYearnVaultScy__factory.ts +26 -16
  193. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +6 -6
  194. package/typechain-types/factories/PendleYieldToken__factory.ts +12 -12
  195. package/typechain-types/factories/RouterStatic__factory.ts +627 -11
  196. package/typechain-types/factories/SCYBaseWithRewards__factory.ts +13 -0
  197. package/typechain-types/factories/SCYBase__factory.ts +13 -0
  198. package/typechain-types/factories/{IVEPendleToken__factory.ts → VotingEscrowController__factory.ts} +33 -24
  199. package/typechain-types/hardhat.d.ts +56 -20
  200. package/typechain-types/index.ts +16 -8
  201. package/build/artifacts/contracts/core/PendleOwnershipToken.sol/PendleOwnershipToken.dbg.json +0 -4
  202. package/build/artifacts/contracts/core/PendleOwnershipToken.sol/PendleOwnershipToken.json +0 -439
  203. package/build/artifacts/contracts/core/actions/ActionRedeem.sol/PendleRouterRedeemUpg.dbg.json +0 -4
  204. package/build/artifacts/contracts/core/actions/base/ActionSCYAndOTBase.sol/ActionSCYAndOTBase.dbg.json +0 -4
  205. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYOBase.sol/ActionSCYAndYOBase.dbg.json +0 -4
  206. package/build/artifacts/contracts/interfaces/IPOwnershipToken.sol/IPOwnershipToken.dbg.json +0 -4
  207. package/typechain-types/AggregatorV2V3Interface.ts +0 -380
  208. package/typechain-types/BenqiChainlinkOracle.ts +0 -362
  209. package/typechain-types/BoringOwnable.ts +0 -194
  210. package/typechain-types/BoringOwnableData.ts +0 -100
  211. package/typechain-types/BoringOwnableUpg.ts +0 -194
  212. package/typechain-types/BoringOwnableUpgData.ts +0 -100
  213. package/typechain-types/Comptroller.ts +0 -2860
  214. package/typechain-types/ComptrollerErrorReporter.ts +0 -70
  215. package/typechain-types/ComptrollerInterface.ts +0 -881
  216. package/typechain-types/ComptrollerVXStorage.ts +0 -781
  217. package/typechain-types/CrosschainContract.ts +0 -113
  218. package/typechain-types/CrosschainReceiver.ts +0 -347
  219. package/typechain-types/CrosschainSender.ts +0 -210
  220. package/typechain-types/EIP20Interface.ts +0 -337
  221. package/typechain-types/EIP20NonStandardInterface.ts +0 -298
  222. package/typechain-types/ERC20Burnable.ts +0 -473
  223. package/typechain-types/ERC20Locker.ts +0 -91
  224. package/typechain-types/ERC20Premined.ts +0 -473
  225. package/typechain-types/ERC20PresetFixedSupply.ts +0 -473
  226. package/typechain-types/EpochController.ts +0 -195
  227. package/typechain-types/FundKeeper.ts +0 -347
  228. package/typechain-types/GaugeTypeControllerAbstract.ts +0 -546
  229. package/typechain-types/GaugeTypeControllerCrosschain.ts +0 -733
  230. package/typechain-types/GaugeTypeControllerMainchain.ts +0 -604
  231. package/typechain-types/IGaugeController.ts +0 -99
  232. package/typechain-types/ILiquidYieldToken.ts +0 -639
  233. package/typechain-types/ILiquidYieldTokenWrap.ts +0 -790
  234. package/typechain-types/IMessageBus.ts +0 -543
  235. package/typechain-types/IMessageReceiverApp.ts +0 -110
  236. package/typechain-types/IPFlashCallback.ts +0 -115
  237. package/typechain-types/IPLiquidYieldToken.ts +0 -641
  238. package/typechain-types/IPMarketCallback.ts +0 -107
  239. package/typechain-types/IPRouterCore.ts +0 -769
  240. package/typechain-types/IPRouterYT.ts +0 -489
  241. package/typechain-types/IPermissionsV2.ts +0 -87
  242. package/typechain-types/IRainbowBridge.ts +0 -91
  243. package/typechain-types/ISCYRewardIndex.ts +0 -695
  244. package/typechain-types/IXPendle.ts +0 -114
  245. package/typechain-types/InterestRateModel.ts +0 -178
  246. package/typechain-types/JumpRateModel.ts +0 -347
  247. package/typechain-types/LYTBase.ts +0 -721
  248. package/typechain-types/LYTBaseWithRewards.ts +0 -806
  249. package/typechain-types/LYTWrap.ts +0 -872
  250. package/typechain-types/LYTWrapWithRewards.ts +0 -979
  251. package/typechain-types/LiquidityMining.ts +0 -468
  252. package/typechain-types/Maximillion.ts +0 -145
  253. package/typechain-types/Ownable.ts +0 -160
  254. package/typechain-types/PendleAaveV3LYT.ts +0 -808
  255. package/typechain-types/PendleBenQiErc20LYT.ts +0 -901
  256. package/typechain-types/PendleBenqiLiquidYieldToken.ts +0 -1013
  257. package/typechain-types/PendleBtrflyLYT.ts +0 -781
  258. package/typechain-types/PendleGauge.ts +0 -469
  259. package/typechain-types/PendleJoeSwapHelper.ts +0 -92
  260. package/typechain-types/PendleLYTMockYT.ts +0 -894
  261. package/typechain-types/PendleLiquidYieldToken.ts +0 -814
  262. package/typechain-types/PendleLiquidYieldTokenBase.ts +0 -941
  263. package/typechain-types/PendleRouter01.ts +0 -184
  264. package/typechain-types/PendleRouter02.ts +0 -564
  265. package/typechain-types/PendleRouter03.ts +0 -224
  266. package/typechain-types/PendleRouterBase.ts +0 -126
  267. package/typechain-types/PendleRouterCore.ts +0 -328
  268. package/typechain-types/PendleRouterCoreUpg.ts +0 -798
  269. package/typechain-types/PendleRouterLytAndForge.ts +0 -331
  270. package/typechain-types/PendleRouterMarketBase.ts +0 -82
  271. package/typechain-types/PendleRouterOT.ts +0 -463
  272. package/typechain-types/PendleRouterProxy.ts +0 -335
  273. package/typechain-types/PendleRouterRawTokenOT.ts +0 -865
  274. package/typechain-types/PendleRouterRawTokenYT.ts +0 -520
  275. package/typechain-types/PendleRouterSCYAndForgeBaseUpg.ts +0 -98
  276. package/typechain-types/PendleRouterStaticUpg.ts +0 -399
  277. package/typechain-types/PendleRouterYT.ts +0 -227
  278. package/typechain-types/PendleRouterYTBaseUpg.ts +0 -134
  279. package/typechain-types/PendleRouterYTUpg.ts +0 -537
  280. package/typechain-types/PendleYTLYTBenqi.ts +0 -863
  281. package/typechain-types/PendleYearnVaultLYT.ts +0 -723
  282. package/typechain-types/PermissionsV2.ts +0 -87
  283. package/typechain-types/PermlessAbstract.ts +0 -57
  284. package/typechain-types/PglStakingContract.ts +0 -662
  285. package/typechain-types/PglStakingContractProxy.ts +0 -256
  286. package/typechain-types/PglStakingContractProxyStorage.ts +0 -136
  287. package/typechain-types/PglStakingContractStorage.ts +0 -397
  288. package/typechain-types/PriceOracle.ts +0 -116
  289. package/typechain-types/ProtocolFakeUser.ts +0 -105
  290. package/typechain-types/Qi.ts +0 -760
  291. package/typechain-types/QiAvax.ts +0 -1720
  292. package/typechain-types/QiDelegateInterface.ts +0 -145
  293. package/typechain-types/QiDelegationStorage.ts +0 -82
  294. package/typechain-types/QiDelegatorInterface.ts +0 -149
  295. package/typechain-types/QiErc20.ts +0 -1846
  296. package/typechain-types/QiErc20Delegate.ts +0 -1926
  297. package/typechain-types/QiErc20Delegator.ts +0 -1885
  298. package/typechain-types/QiErc20Interface.ts +0 -382
  299. package/typechain-types/QiErc20Storage.ts +0 -79
  300. package/typechain-types/QiToken.ts +0 -1475
  301. package/typechain-types/QiTokenInterface.ts +0 -1419
  302. package/typechain-types/QiTokenSaleDistributor.ts +0 -771
  303. package/typechain-types/QiTokenSaleDistributorProxy.ts +0 -256
  304. package/typechain-types/QiTokenSaleDistributorProxyStorage.ts +0 -136
  305. package/typechain-types/QiTokenSaleDistributorStorage.ts +0 -401
  306. package/typechain-types/QiTokenStorage.ts +0 -311
  307. package/typechain-types/ReentrancyGuard.ts +0 -52
  308. package/typechain-types/SingleGaugeTypeController.ts +0 -478
  309. package/typechain-types/TokenErrorReporter.ts +0 -70
  310. package/typechain-types/Unitroller.ts +0 -356
  311. package/typechain-types/UnitrollerAdminStorage.ts +0 -143
  312. package/typechain-types/VePendle.ts +0 -1156
  313. package/typechain-types/VePendleCrosschain.ts +0 -969
  314. package/typechain-types/VePendleToken.ts +0 -688
  315. package/typechain-types/VotingController.ts +0 -883
  316. package/typechain-types/WETH9.ts +0 -414
  317. package/typechain-types/WhitePaperInterestRateModel.ts +0 -304
  318. package/typechain-types/XPendle.ts +0 -618
  319. package/typechain-types/factories/AggregatorV2V3Interface__factory.ts +0 -288
  320. package/typechain-types/factories/BenqiChainlinkOracle__factory.ts +0 -311
  321. package/typechain-types/factories/BoringOwnableData__factory.ts +0 -90
  322. package/typechain-types/factories/BoringOwnableUpgData__factory.ts +0 -94
  323. package/typechain-types/factories/BoringOwnableUpg__factory.ts +0 -139
  324. package/typechain-types/factories/BoringOwnable__factory.ts +0 -149
  325. package/typechain-types/factories/ComptrollerErrorReporter__factory.ts +0 -93
  326. package/typechain-types/factories/ComptrollerInterface__factory.ts +0 -595
  327. package/typechain-types/factories/ComptrollerVXStorage__factory.ts +0 -610
  328. package/typechain-types/factories/Comptroller__factory.ts +0 -2189
  329. package/typechain-types/factories/CrosschainContract__factory.ts +0 -52
  330. package/typechain-types/factories/CrosschainReceiver__factory.ts +0 -187
  331. package/typechain-types/factories/CrosschainSender__factory.ts +0 -104
  332. package/typechain-types/factories/EIP20Interface__factory.ts +0 -248
  333. package/typechain-types/factories/EIP20NonStandardInterface__factory.ts +0 -213
  334. package/typechain-types/factories/ERC20Burnable__factory.ts +0 -324
  335. package/typechain-types/factories/ERC20Locker__factory.ts +0 -73
  336. package/typechain-types/factories/ERC20Premined__factory.ts +0 -393
  337. package/typechain-types/factories/ERC20PresetFixedSupply__factory.ts +0 -422
  338. package/typechain-types/factories/EpochController__factory.ts +0 -170
  339. package/typechain-types/factories/FundKeeper__factory.ts +0 -212
  340. package/typechain-types/factories/GaugeTypeControllerAbstract__factory.ts +0 -387
  341. package/typechain-types/factories/GaugeTypeControllerCrosschain__factory.ts +0 -522
  342. package/typechain-types/factories/GaugeTypeControllerMainchain__factory.ts +0 -431
  343. package/typechain-types/factories/IGaugeController__factory.ts +0 -45
  344. package/typechain-types/factories/ILiquidYieldTokenWrap__factory.ts +0 -533
  345. package/typechain-types/factories/ILiquidYieldToken__factory.ts +0 -429
  346. package/typechain-types/factories/IMessageBus__factory.ts +0 -396
  347. package/typechain-types/factories/IMessageReceiverApp__factory.ts +0 -55
  348. package/typechain-types/factories/IPFlashCallback__factory.ts +0 -49
  349. package/typechain-types/factories/IPLiquidYieldToken__factory.ts +0 -433
  350. package/typechain-types/factories/IPMarketCallback__factory.ts +0 -55
  351. package/typechain-types/factories/IPRouterCore__factory.ts +0 -531
  352. package/typechain-types/factories/IPRouterRedeem__factory.ts +0 -72
  353. package/typechain-types/factories/IPRouterYT__factory.ts +0 -305
  354. package/typechain-types/factories/IPermissionsV2__factory.ts +0 -39
  355. package/typechain-types/factories/IRainbowBridge__factory.ts +0 -76
  356. package/typechain-types/factories/ISCYRewardIndex__factory.ts +0 -465
  357. package/typechain-types/factories/InterestRateModel__factory.ts +0 -108
  358. package/typechain-types/factories/JumpRateModel__factory.ts +0 -334
  359. package/typechain-types/factories/LYTBaseWithRewards__factory.ts +0 -530
  360. package/typechain-types/factories/LYTBase__factory.ts +0 -474
  361. package/typechain-types/factories/LYTWrapWithRewards__factory.ts +0 -643
  362. package/typechain-types/factories/LYTWrap__factory.ts +0 -574
  363. package/typechain-types/factories/LiquidityMining__factory.ts +0 -367
  364. package/typechain-types/factories/Maximillion__factory.ts +0 -125
  365. package/typechain-types/factories/Ownable__factory.ts +0 -75
  366. package/typechain-types/factories/PendleAaveV3LYT__factory.ts +0 -657
  367. package/typechain-types/factories/PendleBenQiErc20LYT__factory.ts +0 -748
  368. package/typechain-types/factories/PendleBenqiLiquidYieldToken__factory.ts +0 -785
  369. package/typechain-types/factories/PendleBtrflyLYT__factory.ts +0 -647
  370. package/typechain-types/factories/PendleGauge__factory.ts +0 -383
  371. package/typechain-types/factories/PendleJoeSwapHelper__factory.ts +0 -52
  372. package/typechain-types/factories/PendleLYTMockYT__factory.ts +0 -732
  373. package/typechain-types/factories/PendleLiquidYieldTokenBase__factory.ts +0 -603
  374. package/typechain-types/factories/PendleLiquidYieldToken__factory.ts +0 -510
  375. package/typechain-types/factories/PendleOwnershipToken__factory.ts +0 -527
  376. package/typechain-types/factories/PendleRouter01__factory.ts +0 -152
  377. package/typechain-types/factories/PendleRouter02__factory.ts +0 -438
  378. package/typechain-types/factories/PendleRouter03__factory.ts +0 -190
  379. package/typechain-types/factories/PendleRouterBase__factory.ts +0 -68
  380. package/typechain-types/factories/PendleRouterCoreUpg__factory.ts +0 -635
  381. package/typechain-types/factories/PendleRouterCore__factory.ts +0 -268
  382. package/typechain-types/factories/PendleRouterLytAndForge__factory.ts +0 -294
  383. package/typechain-types/factories/PendleRouterMarketBase__factory.ts +0 -43
  384. package/typechain-types/factories/PendleRouterOT__factory.ts +0 -372
  385. package/typechain-types/factories/PendleRouterProxy__factory.ts +0 -285
  386. package/typechain-types/factories/PendleRouterRawTokenOT__factory.ts +0 -697
  387. package/typechain-types/factories/PendleRouterRawTokenYT__factory.ts +0 -431
  388. package/typechain-types/factories/PendleRouterSCYAndForgeBaseUpg__factory.ts +0 -56
  389. package/typechain-types/factories/PendleRouterStaticUpg__factory.ts +0 -315
  390. package/typechain-types/factories/PendleRouterYTBaseUpg__factory.ts +0 -66
  391. package/typechain-types/factories/PendleRouterYTUpg__factory.ts +0 -422
  392. package/typechain-types/factories/PendleRouterYT__factory.ts +0 -184
  393. package/typechain-types/factories/PendleYTLYTBenqi__factory.ts +0 -713
  394. package/typechain-types/factories/PendleYearnVaultLYT__factory.ts +0 -586
  395. package/typechain-types/factories/PermissionsV2__factory.ts +0 -36
  396. package/typechain-types/factories/PermlessAbstract__factory.ts +0 -30
  397. package/typechain-types/factories/PglStakingContractProxyStorage__factory.ts +0 -130
  398. package/typechain-types/factories/PglStakingContractProxy__factory.ts +0 -187
  399. package/typechain-types/factories/PglStakingContractStorage__factory.ts +0 -309
  400. package/typechain-types/factories/PglStakingContract__factory.ts +0 -446
  401. package/typechain-types/factories/PriceOracle__factory.ts +0 -59
  402. package/typechain-types/factories/ProtocolFakeUser__factory.ts +0 -87
  403. package/typechain-types/factories/QiAvax__factory.ts +0 -1471
  404. package/typechain-types/factories/QiDelegateInterface__factory.ts +0 -65
  405. package/typechain-types/factories/QiDelegationStorage__factory.ts +0 -79
  406. package/typechain-types/factories/QiDelegatorInterface__factory.ts +0 -89
  407. package/typechain-types/factories/QiErc20Delegate__factory.ts +0 -1563
  408. package/typechain-types/factories/QiErc20Delegator__factory.ts +0 -1648
  409. package/typechain-types/factories/QiErc20Storage__factory.ts +0 -79
  410. package/typechain-types/factories/QiErc20__factory.ts +0 -1515
  411. package/typechain-types/factories/QiTokenInterface__factory.ts +0 -1182
  412. package/typechain-types/factories/QiTokenSaleDistributorProxyStorage__factory.ts +0 -124
  413. package/typechain-types/factories/QiTokenSaleDistributorProxy__factory.ts +0 -171
  414. package/typechain-types/factories/QiTokenSaleDistributorStorage__factory.ts +0 -289
  415. package/typechain-types/factories/QiTokenSaleDistributor__factory.ts +0 -480
  416. package/typechain-types/factories/QiTokenStorage__factory.ts +0 -274
  417. package/typechain-types/factories/QiToken__factory.ts +0 -1219
  418. package/typechain-types/factories/Qi__factory.ts +0 -648
  419. package/typechain-types/factories/ReentrancyGuard__factory.ts +0 -69
  420. package/typechain-types/factories/SingleGaugeTypeController__factory.ts +0 -341
  421. package/typechain-types/factories/TokenErrorReporter__factory.ts +0 -89
  422. package/typechain-types/factories/UnitrollerAdminStorage__factory.ts +0 -128
  423. package/typechain-types/factories/Unitroller__factory.ts +0 -305
  424. package/typechain-types/factories/VePendleCrosschain__factory.ts +0 -727
  425. package/typechain-types/factories/VePendleToken__factory.ts +0 -494
  426. package/typechain-types/factories/VePendle__factory.ts +0 -800
  427. package/typechain-types/factories/VotingController__factory.ts +0 -610
  428. package/typechain-types/factories/WETH9__factory.ts +0 -342
  429. package/typechain-types/factories/WhitePaperInterestRateModel__factory.ts +0 -281
  430. package/typechain-types/factories/XPendle__factory.ts +0 -473
@@ -26,7 +26,7 @@ const _abi = [
26
26
  },
27
27
  {
28
28
  internalType: "uint256",
29
- name: "otDesired",
29
+ name: "ptDesired",
30
30
  type: "uint256",
31
31
  },
32
32
  {
@@ -65,12 +65,12 @@ const _abi = [
65
65
  },
66
66
  {
67
67
  internalType: "address",
68
- name: "SCY",
68
+ name: "YT",
69
69
  type: "address",
70
70
  },
71
71
  {
72
72
  internalType: "uint256",
73
- name: "minScyOut",
73
+ name: "minPyOut",
74
74
  type: "uint256",
75
75
  },
76
76
  {
@@ -84,7 +84,7 @@ const _abi = [
84
84
  type: "address[]",
85
85
  },
86
86
  ],
87
- name: "mintScyFromRawToken",
87
+ name: "mintPyFromRawToken",
88
88
  outputs: [
89
89
  {
90
90
  internalType: "uint256",
@@ -104,12 +104,12 @@ const _abi = [
104
104
  },
105
105
  {
106
106
  internalType: "address",
107
- name: "YT",
107
+ name: "SCY",
108
108
  type: "address",
109
109
  },
110
110
  {
111
111
  internalType: "uint256",
112
- name: "minYoOut",
112
+ name: "minScyOut",
113
113
  type: "uint256",
114
114
  },
115
115
  {
@@ -123,7 +123,7 @@ const _abi = [
123
123
  type: "address[]",
124
124
  },
125
125
  ],
126
- name: "mintYoFromRawToken",
126
+ name: "mintScyFromRawToken",
127
127
  outputs: [
128
128
  {
129
129
  internalType: "uint256",
@@ -138,12 +138,12 @@ const _abi = [
138
138
  inputs: [
139
139
  {
140
140
  internalType: "address",
141
- name: "SCY",
141
+ name: "YT",
142
142
  type: "address",
143
143
  },
144
144
  {
145
145
  internalType: "uint256",
146
- name: "netScyIn",
146
+ name: "netPyIn",
147
147
  type: "uint256",
148
148
  },
149
149
  {
@@ -162,7 +162,7 @@ const _abi = [
162
162
  type: "address[]",
163
163
  },
164
164
  ],
165
- name: "redeemScyToRawToken",
165
+ name: "redeemPyToRawToken",
166
166
  outputs: [
167
167
  {
168
168
  internalType: "uint256",
@@ -177,12 +177,12 @@ const _abi = [
177
177
  inputs: [
178
178
  {
179
179
  internalType: "address",
180
- name: "YT",
180
+ name: "SCY",
181
181
  type: "address",
182
182
  },
183
183
  {
184
184
  internalType: "uint256",
185
- name: "netYoIn",
185
+ name: "netScyIn",
186
186
  type: "uint256",
187
187
  },
188
188
  {
@@ -201,7 +201,7 @@ const _abi = [
201
201
  type: "address[]",
202
202
  },
203
203
  ],
204
- name: "redeemYoToRawToken",
204
+ name: "redeemScyToRawToken",
205
205
  outputs: [
206
206
  {
207
207
  internalType: "uint256",
@@ -236,7 +236,7 @@ const _abi = [
236
236
  },
237
237
  {
238
238
  internalType: "uint256",
239
- name: "otOutMin",
239
+ name: "ptOutMin",
240
240
  type: "uint256",
241
241
  },
242
242
  ],
@@ -260,7 +260,7 @@ const _abi = [
260
260
  inputs: [
261
261
  {
262
262
  internalType: "uint256",
263
- name: "exactOtIn",
263
+ name: "exactPtIn",
264
264
  type: "uint256",
265
265
  },
266
266
  {
@@ -284,7 +284,7 @@ const _abi = [
284
284
  type: "uint256",
285
285
  },
286
286
  ],
287
- name: "swapExactOtForRawToken",
287
+ name: "swapExactPtForRawToken",
288
288
  outputs: [
289
289
  {
290
290
  internalType: "uint256",
@@ -309,7 +309,7 @@ const _abi = [
309
309
  },
310
310
  {
311
311
  internalType: "uint256",
312
- name: "exactOtIn",
312
+ name: "exactPtIn",
313
313
  type: "uint256",
314
314
  },
315
315
  {
@@ -318,7 +318,7 @@ const _abi = [
318
318
  type: "uint256",
319
319
  },
320
320
  ],
321
- name: "swapExactOtForScy",
321
+ name: "swapExactPtForScy",
322
322
  outputs: [
323
323
  {
324
324
  internalType: "uint256",
@@ -352,31 +352,43 @@ const _abi = [
352
352
  type: "address",
353
353
  },
354
354
  {
355
- internalType: "uint256",
356
- name: "otOutguessMin",
357
- type: "uint256",
358
- },
359
- {
360
- internalType: "uint256",
361
- name: "otOutguessMax",
362
- type: "uint256",
363
- },
364
- {
365
- internalType: "uint256",
366
- name: "maxIteration",
367
- type: "uint256",
368
- },
369
- {
370
- internalType: "uint256",
371
- name: "eps",
372
- type: "uint256",
355
+ components: [
356
+ {
357
+ internalType: "uint256",
358
+ name: "guessMin",
359
+ type: "uint256",
360
+ },
361
+ {
362
+ internalType: "uint256",
363
+ name: "guessMax",
364
+ type: "uint256",
365
+ },
366
+ {
367
+ internalType: "uint256",
368
+ name: "guessOffchain",
369
+ type: "uint256",
370
+ },
371
+ {
372
+ internalType: "uint256",
373
+ name: "maxIteration",
374
+ type: "uint256",
375
+ },
376
+ {
377
+ internalType: "uint256",
378
+ name: "eps",
379
+ type: "uint256",
380
+ },
381
+ ],
382
+ internalType: "struct ApproxParams",
383
+ name: "approx",
384
+ type: "tuple",
373
385
  },
374
386
  ],
375
- name: "swapExactRawTokenForOt",
387
+ name: "swapExactRawTokenForPt",
376
388
  outputs: [
377
389
  {
378
390
  internalType: "uint256",
379
- name: "netOtOut",
391
+ name: "netPtOut",
380
392
  type: "uint256",
381
393
  },
382
394
  ],
@@ -401,27 +413,39 @@ const _abi = [
401
413
  type: "uint256",
402
414
  },
403
415
  {
404
- internalType: "uint256",
405
- name: "otOutguessMin",
406
- type: "uint256",
407
- },
408
- {
409
- internalType: "uint256",
410
- name: "otOutguessMax",
411
- type: "uint256",
412
- },
413
- {
414
- internalType: "uint256",
415
- name: "maxIteration",
416
- type: "uint256",
417
- },
418
- {
419
- internalType: "uint256",
420
- name: "eps",
421
- type: "uint256",
416
+ components: [
417
+ {
418
+ internalType: "uint256",
419
+ name: "guessMin",
420
+ type: "uint256",
421
+ },
422
+ {
423
+ internalType: "uint256",
424
+ name: "guessMax",
425
+ type: "uint256",
426
+ },
427
+ {
428
+ internalType: "uint256",
429
+ name: "guessOffchain",
430
+ type: "uint256",
431
+ },
432
+ {
433
+ internalType: "uint256",
434
+ name: "maxIteration",
435
+ type: "uint256",
436
+ },
437
+ {
438
+ internalType: "uint256",
439
+ name: "eps",
440
+ type: "uint256",
441
+ },
442
+ ],
443
+ internalType: "struct ApproxParams",
444
+ name: "approx",
445
+ type: "tuple",
422
446
  },
423
447
  ],
424
- name: "swapExactScyForOt",
448
+ name: "swapExactScyForPt",
425
449
  outputs: [
426
450
  {
427
451
  internalType: "uint256",
@@ -450,27 +474,39 @@ const _abi = [
450
474
  type: "uint256",
451
475
  },
452
476
  {
453
- internalType: "uint256",
454
- name: "otInGuessMin",
455
- type: "uint256",
456
- },
457
- {
458
- internalType: "uint256",
459
- name: "otInGuessMax",
460
- type: "uint256",
461
- },
462
- {
463
- internalType: "uint256",
464
- name: "maxIteration",
465
- type: "uint256",
466
- },
467
- {
468
- internalType: "uint256",
469
- name: "eps",
470
- type: "uint256",
477
+ components: [
478
+ {
479
+ internalType: "uint256",
480
+ name: "guessMin",
481
+ type: "uint256",
482
+ },
483
+ {
484
+ internalType: "uint256",
485
+ name: "guessMax",
486
+ type: "uint256",
487
+ },
488
+ {
489
+ internalType: "uint256",
490
+ name: "guessOffchain",
491
+ type: "uint256",
492
+ },
493
+ {
494
+ internalType: "uint256",
495
+ name: "maxIteration",
496
+ type: "uint256",
497
+ },
498
+ {
499
+ internalType: "uint256",
500
+ name: "eps",
501
+ type: "uint256",
502
+ },
503
+ ],
504
+ internalType: "struct ApproxParams",
505
+ name: "approx",
506
+ type: "tuple",
471
507
  },
472
508
  ],
473
- name: "swapOtForExactScy",
509
+ name: "swapPtForExactScy",
474
510
  outputs: [
475
511
  {
476
512
  internalType: "uint256",
@@ -495,7 +531,7 @@ const _abi = [
495
531
  },
496
532
  {
497
533
  internalType: "uint256",
498
- name: "exactOtOut",
534
+ name: "exactPtOut",
499
535
  type: "uint256",
500
536
  },
501
537
  {
@@ -504,7 +540,7 @@ const _abi = [
504
540
  type: "uint256",
505
541
  },
506
542
  ],
507
- name: "swapScyForExactOt",
543
+ name: "swapScyForExactPt",
508
544
  outputs: [
509
545
  {
510
546
  internalType: "uint256",
@@ -30,24 +30,36 @@ const _abi = [
30
30
  type: "address",
31
31
  },
32
32
  {
33
- internalType: "uint256",
34
- name: "netYtOutGuessMin",
35
- type: "uint256",
36
- },
37
- {
38
- internalType: "uint256",
39
- name: "netYtOutGuessMax",
40
- type: "uint256",
41
- },
42
- {
43
- internalType: "uint256",
44
- name: "maxIteration",
45
- type: "uint256",
46
- },
47
- {
48
- internalType: "uint256",
49
- name: "eps",
50
- type: "uint256",
33
+ components: [
34
+ {
35
+ internalType: "uint256",
36
+ name: "guessMin",
37
+ type: "uint256",
38
+ },
39
+ {
40
+ internalType: "uint256",
41
+ name: "guessMax",
42
+ type: "uint256",
43
+ },
44
+ {
45
+ internalType: "uint256",
46
+ name: "guessOffchain",
47
+ type: "uint256",
48
+ },
49
+ {
50
+ internalType: "uint256",
51
+ name: "maxIteration",
52
+ type: "uint256",
53
+ },
54
+ {
55
+ internalType: "uint256",
56
+ name: "eps",
57
+ type: "uint256",
58
+ },
59
+ ],
60
+ internalType: "struct ApproxParams",
61
+ name: "approx",
62
+ type: "tuple",
51
63
  },
52
64
  ],
53
65
  name: "swapExactRawTokenForYt",
@@ -79,24 +91,36 @@ const _abi = [
79
91
  type: "uint256",
80
92
  },
81
93
  {
82
- internalType: "uint256",
83
- name: "netYtOutGuessMin",
84
- type: "uint256",
85
- },
86
- {
87
- internalType: "uint256",
88
- name: "netYtOutGuessMax",
89
- type: "uint256",
90
- },
91
- {
92
- internalType: "uint256",
93
- name: "maxIteration",
94
- type: "uint256",
95
- },
96
- {
97
- internalType: "uint256",
98
- name: "eps",
99
- type: "uint256",
94
+ components: [
95
+ {
96
+ internalType: "uint256",
97
+ name: "guessMin",
98
+ type: "uint256",
99
+ },
100
+ {
101
+ internalType: "uint256",
102
+ name: "guessMax",
103
+ type: "uint256",
104
+ },
105
+ {
106
+ internalType: "uint256",
107
+ name: "guessOffchain",
108
+ type: "uint256",
109
+ },
110
+ {
111
+ internalType: "uint256",
112
+ name: "maxIteration",
113
+ type: "uint256",
114
+ },
115
+ {
116
+ internalType: "uint256",
117
+ name: "eps",
118
+ type: "uint256",
119
+ },
120
+ ],
121
+ internalType: "struct ApproxParams",
122
+ name: "approx",
123
+ type: "tuple",
100
124
  },
101
125
  ],
102
126
  name: "swapExactScyForYt",
@@ -235,24 +259,36 @@ const _abi = [
235
259
  type: "uint256",
236
260
  },
237
261
  {
238
- internalType: "uint256",
239
- name: "netYtInGuessMin",
240
- type: "uint256",
241
- },
242
- {
243
- internalType: "uint256",
244
- name: "netYtInGuessMax",
245
- type: "uint256",
246
- },
247
- {
248
- internalType: "uint256",
249
- name: "maxIteration",
250
- type: "uint256",
251
- },
252
- {
253
- internalType: "uint256",
254
- name: "eps",
255
- type: "uint256",
262
+ components: [
263
+ {
264
+ internalType: "uint256",
265
+ name: "guessMin",
266
+ type: "uint256",
267
+ },
268
+ {
269
+ internalType: "uint256",
270
+ name: "guessMax",
271
+ type: "uint256",
272
+ },
273
+ {
274
+ internalType: "uint256",
275
+ name: "guessOffchain",
276
+ type: "uint256",
277
+ },
278
+ {
279
+ internalType: "uint256",
280
+ name: "maxIteration",
281
+ type: "uint256",
282
+ },
283
+ {
284
+ internalType: "uint256",
285
+ name: "eps",
286
+ type: "uint256",
287
+ },
288
+ ],
289
+ internalType: "struct ApproxParams",
290
+ name: "approx",
291
+ type: "tuple",
256
292
  },
257
293
  ],
258
294
  name: "swapYtForExactScy",