@pendle/core-v2 0.6.4 → 0.6.5

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 +0 -13
  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 +0 -13
  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 +0 -13
  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 +51 -56
  14. package/build/artifacts/contracts/core/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  15. package/build/artifacts/contracts/core/PendleMarketFactory.sol/PendleMarketFactory.json +4 -30
  16. package/build/artifacts/contracts/core/PendleOwnershipToken.sol/PendleOwnershipToken.dbg.json +4 -0
  17. package/build/artifacts/contracts/core/PendleOwnershipToken.sol/PendleOwnershipToken.json +439 -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 +2 -20
  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 +16 -21
  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 +16 -21
  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 +18 -23
  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 +17 -22
  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 +12 -628
  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 +92 -128
  41. package/build/artifacts/contracts/core/actions/ActionRedeem.sol/PendleRouterRedeemUpg.dbg.json +4 -0
  42. package/build/artifacts/contracts/core/actions/ActionRedeem.sol/{ActionRedeem.json → PendleRouterRedeemUpg.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 +69 -105
  45. package/build/artifacts/contracts/core/actions/base/ActionSCYAndOTBase.sol/ActionSCYAndOTBase.dbg.json +4 -0
  46. package/build/artifacts/contracts/core/actions/base/{ActionSCYAndPTBase.sol/ActionSCYAndPTBase.json → ActionSCYAndOTBase.sol/ActionSCYAndOTBase.json} +2 -2
  47. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYOBase.sol/ActionSCYAndYOBase.dbg.json +4 -0
  48. package/build/artifacts/contracts/core/actions/base/{ActionSCYAndPYBase.sol/ActionSCYAndPYBase.json → ActionSCYAndYOBase.sol/ActionSCYAndYOBase.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 +78 -114
  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 +54 -90
  63. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +138 -210
  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/IPOwnershipToken.sol/IPOwnershipToken.dbg.json +4 -0
  76. package/build/artifacts/contracts/interfaces/{IPPrincipalToken.sol/IPPrincipalToken.json → IPOwnershipToken.sol/IPOwnershipToken.json} +2 -2
  77. package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +10 -626
  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/deployments/kovan.json +21 -24
  111. package/package.json +1 -1
  112. package/typechain-types/ActionCallback.ts +5 -5
  113. package/typechain-types/ActionCore.ts +280 -232
  114. package/typechain-types/{ActionSCYAndPYBase.ts → ActionSCYAndYOBase.ts} +54 -54
  115. package/typechain-types/ActionSCYAndYTBase.ts +49 -49
  116. package/typechain-types/ActionYT.ts +140 -92
  117. package/typechain-types/AggregatorV2V3Interface.ts +380 -0
  118. package/typechain-types/BenqiChainlinkOracle.ts +362 -0
  119. package/typechain-types/BoringOwnable.ts +194 -0
  120. package/typechain-types/BoringOwnableData.ts +100 -0
  121. package/typechain-types/BoringOwnableUpg.ts +194 -0
  122. package/typechain-types/BoringOwnableUpgData.ts +100 -0
  123. package/typechain-types/Comptroller.ts +2860 -0
  124. package/typechain-types/ComptrollerErrorReporter.ts +70 -0
  125. package/typechain-types/ComptrollerInterface.ts +881 -0
  126. package/typechain-types/ComptrollerVXStorage.ts +781 -0
  127. package/typechain-types/CrosschainContract.ts +113 -0
  128. package/typechain-types/CrosschainReceiver.ts +347 -0
  129. package/typechain-types/CrosschainSender.ts +210 -0
  130. package/typechain-types/EIP20Interface.ts +337 -0
  131. package/typechain-types/EIP20NonStandardInterface.ts +298 -0
  132. package/typechain-types/ERC20Burnable.ts +473 -0
  133. package/typechain-types/ERC20Locker.ts +91 -0
  134. package/typechain-types/ERC20Premined.ts +473 -0
  135. package/typechain-types/ERC20PresetFixedSupply.ts +473 -0
  136. package/typechain-types/EpochController.ts +195 -0
  137. package/typechain-types/FundKeeper.ts +347 -0
  138. package/typechain-types/GaugeTypeControllerAbstract.ts +546 -0
  139. package/typechain-types/GaugeTypeControllerCrosschain.ts +733 -0
  140. package/typechain-types/GaugeTypeControllerMainchain.ts +604 -0
  141. package/typechain-types/IGaugeController.ts +99 -0
  142. package/typechain-types/ILiquidYieldToken.ts +639 -0
  143. package/typechain-types/ILiquidYieldTokenWrap.ts +790 -0
  144. package/typechain-types/IMessageBus.ts +543 -0
  145. package/typechain-types/IMessageReceiverApp.ts +110 -0
  146. package/typechain-types/IPActionCore.ts +231 -183
  147. package/typechain-types/IPActionYT.ts +91 -43
  148. package/typechain-types/IPAllAction.ts +322 -204
  149. package/typechain-types/IPFlashCallback.ts +115 -0
  150. package/typechain-types/IPLiquidYieldToken.ts +641 -0
  151. package/typechain-types/IPMarket.ts +55 -55
  152. package/typechain-types/IPMarketAddRemoveCallback.ts +10 -10
  153. package/typechain-types/IPMarketCallback.ts +107 -0
  154. package/typechain-types/IPMarketFactory.ts +3 -3
  155. package/typechain-types/IPMarketSwapCallback.ts +5 -5
  156. package/typechain-types/{IPPrincipalToken.ts → IPOwnershipToken.ts} +5 -5
  157. package/typechain-types/IPRouterCore.ts +769 -0
  158. package/typechain-types/IPRouterRedeem.ts +155 -0
  159. package/typechain-types/IPRouterStatic.ts +49 -529
  160. package/typechain-types/IPRouterYT.ts +489 -0
  161. package/typechain-types/IPYieldContractFactory.ts +19 -19
  162. package/typechain-types/IPYieldToken.ts +29 -29
  163. package/typechain-types/IPermissionsV2.ts +87 -0
  164. package/typechain-types/IRainbowBridge.ts +91 -0
  165. package/typechain-types/ISCYRewardIndex.ts +695 -0
  166. package/typechain-types/ISuperComposableYield.ts +0 -13
  167. package/typechain-types/IVEPendleToken.ts +121 -0
  168. package/typechain-types/IXPendle.ts +114 -0
  169. package/typechain-types/InterestRateModel.ts +178 -0
  170. package/typechain-types/JumpRateModel.ts +347 -0
  171. package/typechain-types/LYTBase.ts +721 -0
  172. package/typechain-types/LYTBaseWithRewards.ts +806 -0
  173. package/typechain-types/LYTWrap.ts +872 -0
  174. package/typechain-types/LYTWrapWithRewards.ts +979 -0
  175. package/typechain-types/LiquidityMining.ts +468 -0
  176. package/typechain-types/Maximillion.ts +145 -0
  177. package/typechain-types/Ownable.ts +160 -0
  178. package/typechain-types/PendleAaveV3LYT.ts +808 -0
  179. package/typechain-types/PendleAaveV3SCY.ts +0 -13
  180. package/typechain-types/PendleBaseToken.ts +1 -1
  181. package/typechain-types/PendleBenQiErc20LYT.ts +901 -0
  182. package/typechain-types/PendleBenQiErc20SCY.ts +20 -14
  183. package/typechain-types/PendleBenqiLiquidYieldToken.ts +1013 -0
  184. package/typechain-types/PendleBtrflyLYT.ts +781 -0
  185. package/typechain-types/PendleBtrflyScy.ts +20 -14
  186. package/typechain-types/PendleGauge.ts +469 -0
  187. package/typechain-types/PendleGovernanceManager.ts +5 -5
  188. package/typechain-types/PendleJoeSwapHelper.ts +92 -0
  189. package/typechain-types/PendleLYTMockYT.ts +894 -0
  190. package/typechain-types/PendleLiquidYieldToken.ts +814 -0
  191. package/typechain-types/PendleLiquidYieldTokenBase.ts +941 -0
  192. package/typechain-types/PendleMarket.ts +105 -102
  193. package/typechain-types/PendleMarketFactory.ts +8 -48
  194. package/typechain-types/{PendlePrincipalToken.ts → PendleOwnershipToken.ts} +6 -15
  195. package/typechain-types/PendleRouter01.ts +184 -0
  196. package/typechain-types/PendleRouter02.ts +564 -0
  197. package/typechain-types/PendleRouter03.ts +224 -0
  198. package/typechain-types/PendleRouterBase.ts +126 -0
  199. package/typechain-types/PendleRouterCore.ts +328 -0
  200. package/typechain-types/PendleRouterCoreUpg.ts +798 -0
  201. package/typechain-types/PendleRouterLytAndForge.ts +331 -0
  202. package/typechain-types/PendleRouterMarketBase.ts +82 -0
  203. package/typechain-types/PendleRouterOT.ts +463 -0
  204. package/typechain-types/PendleRouterProxy.ts +335 -0
  205. package/typechain-types/PendleRouterRawTokenOT.ts +865 -0
  206. package/typechain-types/PendleRouterRawTokenYT.ts +520 -0
  207. package/typechain-types/{ActionRedeem.ts → PendleRouterRedeemUpg.ts} +5 -5
  208. package/typechain-types/PendleRouterSCYAndForgeBaseUpg.ts +98 -0
  209. package/typechain-types/PendleRouterStaticUpg.ts +399 -0
  210. package/typechain-types/PendleRouterYT.ts +227 -0
  211. package/typechain-types/PendleRouterYTBaseUpg.ts +134 -0
  212. package/typechain-types/PendleRouterYTUpg.ts +537 -0
  213. package/typechain-types/PendleStEthSCY.ts +23 -15
  214. package/typechain-types/PendleYTLYTBenqi.ts +863 -0
  215. package/typechain-types/PendleYearnVaultLYT.ts +723 -0
  216. package/typechain-types/PendleYearnVaultScy.ts +23 -15
  217. package/typechain-types/PendleYieldContractFactory.ts +28 -28
  218. package/typechain-types/PendleYieldToken.ts +30 -30
  219. package/typechain-types/PermissionsV2.ts +87 -0
  220. package/typechain-types/PermlessAbstract.ts +57 -0
  221. package/typechain-types/PglStakingContract.ts +662 -0
  222. package/typechain-types/PglStakingContractProxy.ts +256 -0
  223. package/typechain-types/PglStakingContractProxyStorage.ts +136 -0
  224. package/typechain-types/PglStakingContractStorage.ts +397 -0
  225. package/typechain-types/PriceOracle.ts +116 -0
  226. package/typechain-types/ProtocolFakeUser.ts +105 -0
  227. package/typechain-types/Qi.ts +760 -0
  228. package/typechain-types/QiAvax.ts +1720 -0
  229. package/typechain-types/QiDelegateInterface.ts +145 -0
  230. package/typechain-types/QiDelegationStorage.ts +82 -0
  231. package/typechain-types/QiDelegatorInterface.ts +149 -0
  232. package/typechain-types/QiErc20.ts +1846 -0
  233. package/typechain-types/QiErc20Delegate.ts +1926 -0
  234. package/typechain-types/QiErc20Delegator.ts +1885 -0
  235. package/typechain-types/QiErc20Interface.ts +382 -0
  236. package/typechain-types/QiErc20Storage.ts +79 -0
  237. package/typechain-types/QiToken.ts +1475 -0
  238. package/typechain-types/QiTokenInterface.ts +1419 -0
  239. package/typechain-types/QiTokenSaleDistributor.ts +771 -0
  240. package/typechain-types/QiTokenSaleDistributorProxy.ts +256 -0
  241. package/typechain-types/QiTokenSaleDistributorProxyStorage.ts +136 -0
  242. package/typechain-types/QiTokenSaleDistributorStorage.ts +401 -0
  243. package/typechain-types/QiTokenStorage.ts +311 -0
  244. package/typechain-types/ReentrancyGuard.ts +52 -0
  245. package/typechain-types/RouterStatic.ts +49 -529
  246. package/typechain-types/SCYBase.ts +0 -13
  247. package/typechain-types/SCYBaseWithRewards.ts +0 -13
  248. package/typechain-types/SingleGaugeTypeController.ts +478 -0
  249. package/typechain-types/TokenErrorReporter.ts +70 -0
  250. package/typechain-types/Unitroller.ts +356 -0
  251. package/typechain-types/UnitrollerAdminStorage.ts +143 -0
  252. package/typechain-types/VePendle.ts +1156 -0
  253. package/typechain-types/VePendleCrosschain.ts +969 -0
  254. package/typechain-types/VePendleToken.ts +688 -0
  255. package/typechain-types/VotingController.ts +883 -0
  256. package/typechain-types/WETH9.ts +414 -0
  257. package/typechain-types/WhitePaperInterestRateModel.ts +304 -0
  258. package/typechain-types/XPendle.ts +618 -0
  259. package/typechain-types/factories/ActionCallback__factory.ts +2 -2
  260. package/typechain-types/factories/ActionCore__factory.ts +91 -127
  261. package/typechain-types/factories/{ActionSCYAndPYBase__factory.ts → ActionSCYAndYOBase__factory.ts} +20 -20
  262. package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +12 -12
  263. package/typechain-types/factories/ActionYT__factory.ts +68 -104
  264. package/typechain-types/factories/AggregatorV2V3Interface__factory.ts +288 -0
  265. package/typechain-types/factories/BenqiChainlinkOracle__factory.ts +311 -0
  266. package/typechain-types/factories/BoringOwnableData__factory.ts +90 -0
  267. package/typechain-types/factories/BoringOwnableUpgData__factory.ts +94 -0
  268. package/typechain-types/factories/BoringOwnableUpg__factory.ts +139 -0
  269. package/typechain-types/factories/BoringOwnable__factory.ts +149 -0
  270. package/typechain-types/factories/ComptrollerErrorReporter__factory.ts +93 -0
  271. package/typechain-types/factories/ComptrollerInterface__factory.ts +595 -0
  272. package/typechain-types/factories/ComptrollerVXStorage__factory.ts +610 -0
  273. package/typechain-types/factories/Comptroller__factory.ts +2189 -0
  274. package/typechain-types/factories/CrosschainContract__factory.ts +52 -0
  275. package/typechain-types/factories/CrosschainReceiver__factory.ts +187 -0
  276. package/typechain-types/factories/CrosschainSender__factory.ts +104 -0
  277. package/typechain-types/factories/EIP20Interface__factory.ts +248 -0
  278. package/typechain-types/factories/EIP20NonStandardInterface__factory.ts +213 -0
  279. package/typechain-types/factories/ERC20Burnable__factory.ts +324 -0
  280. package/typechain-types/factories/ERC20Locker__factory.ts +73 -0
  281. package/typechain-types/factories/ERC20Premined__factory.ts +393 -0
  282. package/typechain-types/factories/ERC20PresetFixedSupply__factory.ts +422 -0
  283. package/typechain-types/factories/EpochController__factory.ts +170 -0
  284. package/typechain-types/factories/FundKeeper__factory.ts +212 -0
  285. package/typechain-types/factories/GaugeTypeControllerAbstract__factory.ts +387 -0
  286. package/typechain-types/factories/GaugeTypeControllerCrosschain__factory.ts +522 -0
  287. package/typechain-types/factories/GaugeTypeControllerMainchain__factory.ts +431 -0
  288. package/typechain-types/factories/IGaugeController__factory.ts +45 -0
  289. package/typechain-types/factories/ILiquidYieldTokenWrap__factory.ts +533 -0
  290. package/typechain-types/factories/ILiquidYieldToken__factory.ts +429 -0
  291. package/typechain-types/factories/IMessageBus__factory.ts +396 -0
  292. package/typechain-types/factories/IMessageReceiverApp__factory.ts +55 -0
  293. package/typechain-types/factories/IPActionCore__factory.ts +78 -114
  294. package/typechain-types/factories/IPActionYT__factory.ts +54 -90
  295. package/typechain-types/factories/IPAllAction__factory.ts +138 -210
  296. package/typechain-types/factories/IPFlashCallback__factory.ts +49 -0
  297. package/typechain-types/factories/IPLiquidYieldToken__factory.ts +433 -0
  298. package/typechain-types/factories/IPMarketAddRemoveCallback__factory.ts +2 -2
  299. package/typechain-types/factories/IPMarketCallback__factory.ts +55 -0
  300. package/typechain-types/factories/IPMarketFactory__factory.ts +1 -1
  301. package/typechain-types/factories/IPMarketSwapCallback__factory.ts +1 -1
  302. package/typechain-types/factories/IPMarket__factory.ts +14 -14
  303. package/typechain-types/factories/{IPPrincipalToken__factory.ts → IPOwnershipToken__factory.ts} +8 -8
  304. package/typechain-types/factories/IPRouterCore__factory.ts +531 -0
  305. package/typechain-types/factories/IPRouterRedeem__factory.ts +72 -0
  306. package/typechain-types/factories/IPRouterStatic__factory.ts +10 -626
  307. package/typechain-types/factories/IPRouterYT__factory.ts +305 -0
  308. package/typechain-types/factories/IPYieldContractFactory__factory.ts +3 -3
  309. package/typechain-types/factories/IPYieldToken__factory.ts +5 -5
  310. package/typechain-types/factories/IPermissionsV2__factory.ts +39 -0
  311. package/typechain-types/factories/IRainbowBridge__factory.ts +76 -0
  312. package/typechain-types/factories/ISCYRewardIndex__factory.ts +465 -0
  313. package/typechain-types/factories/ISuperComposableYield__factory.ts +0 -13
  314. package/typechain-types/factories/IVEPendleToken__factory.ts +71 -0
  315. package/typechain-types/factories/IXPendle__factory.ts +61 -0
  316. package/typechain-types/factories/InterestRateModel__factory.ts +108 -0
  317. package/typechain-types/factories/JumpRateModel__factory.ts +334 -0
  318. package/typechain-types/factories/LYTBaseWithRewards__factory.ts +530 -0
  319. package/typechain-types/factories/LYTBase__factory.ts +474 -0
  320. package/typechain-types/factories/LYTWrapWithRewards__factory.ts +643 -0
  321. package/typechain-types/factories/LYTWrap__factory.ts +574 -0
  322. package/typechain-types/factories/LiquidityMining__factory.ts +367 -0
  323. package/typechain-types/factories/Maximillion__factory.ts +125 -0
  324. package/typechain-types/factories/Ownable__factory.ts +75 -0
  325. package/typechain-types/factories/PendleAaveV3LYT__factory.ts +657 -0
  326. package/typechain-types/factories/PendleAaveV3SCY__factory.ts +1 -24
  327. package/typechain-types/factories/PendleBaseToken__factory.ts +1 -1
  328. package/typechain-types/factories/PendleBenQiErc20LYT__factory.ts +748 -0
  329. package/typechain-types/factories/PendleBenQiErc20SCY__factory.ts +15 -25
  330. package/typechain-types/factories/PendleBenqiLiquidYieldToken__factory.ts +785 -0
  331. package/typechain-types/factories/PendleBtrflyLYT__factory.ts +647 -0
  332. package/typechain-types/factories/PendleBtrflyScy__factory.ts +15 -25
  333. package/typechain-types/factories/PendleGauge__factory.ts +383 -0
  334. package/typechain-types/factories/PendleGovernanceManager__factory.ts +2 -2
  335. package/typechain-types/factories/PendleJoeSwapHelper__factory.ts +52 -0
  336. package/typechain-types/factories/PendleLYTMockYT__factory.ts +732 -0
  337. package/typechain-types/factories/PendleLiquidYieldTokenBase__factory.ts +603 -0
  338. package/typechain-types/factories/PendleLiquidYieldToken__factory.ts +510 -0
  339. package/typechain-types/factories/PendleMarketFactory__factory.ts +3 -29
  340. package/typechain-types/factories/PendleMarket__factory.ts +54 -59
  341. package/typechain-types/factories/PendleOwnershipToken__factory.ts +527 -0
  342. package/typechain-types/factories/PendleRouter01__factory.ts +152 -0
  343. package/typechain-types/factories/PendleRouter02__factory.ts +438 -0
  344. package/typechain-types/factories/PendleRouter03__factory.ts +190 -0
  345. package/typechain-types/factories/PendleRouterBase__factory.ts +68 -0
  346. package/typechain-types/factories/PendleRouterCoreUpg__factory.ts +635 -0
  347. package/typechain-types/factories/PendleRouterCore__factory.ts +268 -0
  348. package/typechain-types/factories/PendleRouterLytAndForge__factory.ts +294 -0
  349. package/typechain-types/factories/PendleRouterMarketBase__factory.ts +43 -0
  350. package/typechain-types/factories/PendleRouterOT__factory.ts +372 -0
  351. package/typechain-types/factories/PendleRouterProxy__factory.ts +285 -0
  352. package/typechain-types/factories/PendleRouterRawTokenOT__factory.ts +697 -0
  353. package/typechain-types/factories/PendleRouterRawTokenYT__factory.ts +431 -0
  354. package/typechain-types/factories/{ActionRedeem__factory.ts → PendleRouterRedeemUpg__factory.ts} +26 -19
  355. package/typechain-types/factories/PendleRouterSCYAndForgeBaseUpg__factory.ts +56 -0
  356. package/typechain-types/factories/PendleRouterStaticUpg__factory.ts +315 -0
  357. package/typechain-types/factories/PendleRouterYTBaseUpg__factory.ts +66 -0
  358. package/typechain-types/factories/PendleRouterYTUpg__factory.ts +422 -0
  359. package/typechain-types/factories/PendleRouterYT__factory.ts +184 -0
  360. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  361. package/typechain-types/factories/PendleStEthSCY__factory.ts +17 -27
  362. package/typechain-types/factories/PendleYTLYTBenqi__factory.ts +713 -0
  363. package/typechain-types/factories/PendleYearnVaultLYT__factory.ts +586 -0
  364. package/typechain-types/factories/PendleYearnVaultScy__factory.ts +16 -26
  365. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +6 -6
  366. package/typechain-types/factories/PendleYieldToken__factory.ts +12 -12
  367. package/typechain-types/factories/PermissionsV2__factory.ts +36 -0
  368. package/typechain-types/factories/PermlessAbstract__factory.ts +30 -0
  369. package/typechain-types/factories/PglStakingContractProxyStorage__factory.ts +130 -0
  370. package/typechain-types/factories/PglStakingContractProxy__factory.ts +187 -0
  371. package/typechain-types/factories/PglStakingContractStorage__factory.ts +309 -0
  372. package/typechain-types/factories/PglStakingContract__factory.ts +446 -0
  373. package/typechain-types/factories/PriceOracle__factory.ts +59 -0
  374. package/typechain-types/factories/ProtocolFakeUser__factory.ts +87 -0
  375. package/typechain-types/factories/QiAvax__factory.ts +1471 -0
  376. package/typechain-types/factories/QiDelegateInterface__factory.ts +65 -0
  377. package/typechain-types/factories/QiDelegationStorage__factory.ts +79 -0
  378. package/typechain-types/factories/QiDelegatorInterface__factory.ts +89 -0
  379. package/typechain-types/factories/QiErc20Delegate__factory.ts +1563 -0
  380. package/typechain-types/factories/QiErc20Delegator__factory.ts +1648 -0
  381. package/typechain-types/factories/QiErc20Interface__factory.ts +239 -0
  382. package/typechain-types/factories/QiErc20Storage__factory.ts +79 -0
  383. package/typechain-types/factories/QiErc20__factory.ts +1515 -0
  384. package/typechain-types/factories/QiTokenInterface__factory.ts +1182 -0
  385. package/typechain-types/factories/QiTokenSaleDistributorProxyStorage__factory.ts +124 -0
  386. package/typechain-types/factories/QiTokenSaleDistributorProxy__factory.ts +171 -0
  387. package/typechain-types/factories/QiTokenSaleDistributorStorage__factory.ts +289 -0
  388. package/typechain-types/factories/QiTokenSaleDistributor__factory.ts +480 -0
  389. package/typechain-types/factories/QiTokenStorage__factory.ts +274 -0
  390. package/typechain-types/factories/QiToken__factory.ts +1219 -0
  391. package/typechain-types/factories/Qi__factory.ts +648 -0
  392. package/typechain-types/factories/ReentrancyGuard__factory.ts +69 -0
  393. package/typechain-types/factories/RouterStatic__factory.ts +11 -627
  394. package/typechain-types/factories/SCYBaseWithRewards__factory.ts +0 -13
  395. package/typechain-types/factories/SCYBase__factory.ts +0 -13
  396. package/typechain-types/factories/SingleGaugeTypeController__factory.ts +341 -0
  397. package/typechain-types/factories/TokenErrorReporter__factory.ts +89 -0
  398. package/typechain-types/factories/UnitrollerAdminStorage__factory.ts +128 -0
  399. package/typechain-types/factories/Unitroller__factory.ts +305 -0
  400. package/typechain-types/factories/VePendleCrosschain__factory.ts +727 -0
  401. package/typechain-types/factories/VePendleToken__factory.ts +494 -0
  402. package/typechain-types/factories/VePendle__factory.ts +800 -0
  403. package/typechain-types/factories/VotingController__factory.ts +610 -0
  404. package/typechain-types/factories/WETH9__factory.ts +342 -0
  405. package/typechain-types/factories/WhitePaperInterestRateModel__factory.ts +281 -0
  406. package/typechain-types/factories/XPendle__factory.ts +473 -0
  407. package/typechain-types/hardhat.d.ts +20 -20
  408. package/typechain-types/index.ts +8 -8
  409. package/build/artifacts/contracts/core/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +0 -4
  410. package/build/artifacts/contracts/core/PendlePrincipalToken.sol/PendlePrincipalToken.json +0 -452
  411. package/build/artifacts/contracts/core/actions/ActionRedeem.sol/ActionRedeem.dbg.json +0 -4
  412. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +0 -4
  413. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +0 -4
  414. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +0 -4
  415. package/typechain-types/factories/PendlePrincipalToken__factory.ts +0 -540
@@ -26,7 +26,7 @@ const _abi = [
26
26
  },
27
27
  {
28
28
  internalType: "uint256",
29
- name: "ptDesired",
29
+ name: "otDesired",
30
30
  type: "uint256",
31
31
  },
32
32
  {
@@ -65,12 +65,12 @@ const _abi = [
65
65
  },
66
66
  {
67
67
  internalType: "address",
68
- name: "YT",
68
+ name: "SCY",
69
69
  type: "address",
70
70
  },
71
71
  {
72
72
  internalType: "uint256",
73
- name: "minPyOut",
73
+ name: "minScyOut",
74
74
  type: "uint256",
75
75
  },
76
76
  {
@@ -84,7 +84,7 @@ const _abi = [
84
84
  type: "address[]",
85
85
  },
86
86
  ],
87
- name: "mintPyFromRawToken",
87
+ name: "mintScyFromRawToken",
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: "SCY",
107
+ name: "YT",
108
108
  type: "address",
109
109
  },
110
110
  {
111
111
  internalType: "uint256",
112
- name: "minScyOut",
112
+ name: "minYoOut",
113
113
  type: "uint256",
114
114
  },
115
115
  {
@@ -123,7 +123,7 @@ const _abi = [
123
123
  type: "address[]",
124
124
  },
125
125
  ],
126
- name: "mintScyFromRawToken",
126
+ name: "mintYoFromRawToken",
127
127
  outputs: [
128
128
  {
129
129
  internalType: "uint256",
@@ -182,12 +182,12 @@ const _abi = [
182
182
  inputs: [
183
183
  {
184
184
  internalType: "address",
185
- name: "YT",
185
+ name: "SCY",
186
186
  type: "address",
187
187
  },
188
188
  {
189
189
  internalType: "uint256",
190
- name: "netPyIn",
190
+ name: "netScyIn",
191
191
  type: "uint256",
192
192
  },
193
193
  {
@@ -206,7 +206,7 @@ const _abi = [
206
206
  type: "address[]",
207
207
  },
208
208
  ],
209
- name: "redeemPyToRawToken",
209
+ name: "redeemScyToRawToken",
210
210
  outputs: [
211
211
  {
212
212
  internalType: "uint256",
@@ -221,12 +221,12 @@ const _abi = [
221
221
  inputs: [
222
222
  {
223
223
  internalType: "address",
224
- name: "SCY",
224
+ name: "YT",
225
225
  type: "address",
226
226
  },
227
227
  {
228
228
  internalType: "uint256",
229
- name: "netScyIn",
229
+ name: "netYoIn",
230
230
  type: "uint256",
231
231
  },
232
232
  {
@@ -245,7 +245,7 @@ const _abi = [
245
245
  type: "address[]",
246
246
  },
247
247
  ],
248
- name: "redeemScyToRawToken",
248
+ name: "redeemYoToRawToken",
249
249
  outputs: [
250
250
  {
251
251
  internalType: "uint256",
@@ -280,7 +280,7 @@ const _abi = [
280
280
  },
281
281
  {
282
282
  internalType: "uint256",
283
- name: "ptOutMin",
283
+ name: "otOutMin",
284
284
  type: "uint256",
285
285
  },
286
286
  ],
@@ -304,7 +304,7 @@ const _abi = [
304
304
  inputs: [
305
305
  {
306
306
  internalType: "uint256",
307
- name: "exactPtIn",
307
+ name: "exactOtIn",
308
308
  type: "uint256",
309
309
  },
310
310
  {
@@ -328,7 +328,7 @@ const _abi = [
328
328
  type: "uint256",
329
329
  },
330
330
  ],
331
- name: "swapExactPtForRawToken",
331
+ name: "swapExactOtForRawToken",
332
332
  outputs: [
333
333
  {
334
334
  internalType: "uint256",
@@ -353,7 +353,7 @@ const _abi = [
353
353
  },
354
354
  {
355
355
  internalType: "uint256",
356
- name: "exactPtIn",
356
+ name: "exactOtIn",
357
357
  type: "uint256",
358
358
  },
359
359
  {
@@ -362,7 +362,7 @@ const _abi = [
362
362
  type: "uint256",
363
363
  },
364
364
  ],
365
- name: "swapExactPtForScy",
365
+ name: "swapExactOtForScy",
366
366
  outputs: [
367
367
  {
368
368
  internalType: "uint256",
@@ -396,43 +396,31 @@ const _abi = [
396
396
  type: "address",
397
397
  },
398
398
  {
399
- components: [
400
- {
401
- internalType: "uint256",
402
- name: "guessMin",
403
- type: "uint256",
404
- },
405
- {
406
- internalType: "uint256",
407
- name: "guessMax",
408
- type: "uint256",
409
- },
410
- {
411
- internalType: "uint256",
412
- name: "guessOffchain",
413
- type: "uint256",
414
- },
415
- {
416
- internalType: "uint256",
417
- name: "maxIteration",
418
- type: "uint256",
419
- },
420
- {
421
- internalType: "uint256",
422
- name: "eps",
423
- type: "uint256",
424
- },
425
- ],
426
- internalType: "struct ApproxParams",
427
- name: "approx",
428
- type: "tuple",
429
- },
430
- ],
431
- name: "swapExactRawTokenForPt",
399
+ internalType: "uint256",
400
+ name: "otOutguessMin",
401
+ type: "uint256",
402
+ },
403
+ {
404
+ internalType: "uint256",
405
+ name: "otOutguessMax",
406
+ type: "uint256",
407
+ },
408
+ {
409
+ internalType: "uint256",
410
+ name: "maxIteration",
411
+ type: "uint256",
412
+ },
413
+ {
414
+ internalType: "uint256",
415
+ name: "eps",
416
+ type: "uint256",
417
+ },
418
+ ],
419
+ name: "swapExactRawTokenForOt",
432
420
  outputs: [
433
421
  {
434
422
  internalType: "uint256",
435
- name: "netPtOut",
423
+ name: "netOtOut",
436
424
  type: "uint256",
437
425
  },
438
426
  ],
@@ -462,36 +450,24 @@ const _abi = [
462
450
  type: "address",
463
451
  },
464
452
  {
465
- components: [
466
- {
467
- internalType: "uint256",
468
- name: "guessMin",
469
- type: "uint256",
470
- },
471
- {
472
- internalType: "uint256",
473
- name: "guessMax",
474
- type: "uint256",
475
- },
476
- {
477
- internalType: "uint256",
478
- name: "guessOffchain",
479
- type: "uint256",
480
- },
481
- {
482
- internalType: "uint256",
483
- name: "maxIteration",
484
- type: "uint256",
485
- },
486
- {
487
- internalType: "uint256",
488
- name: "eps",
489
- type: "uint256",
490
- },
491
- ],
492
- internalType: "struct ApproxParams",
493
- name: "approx",
494
- type: "tuple",
453
+ internalType: "uint256",
454
+ name: "netYtOutGuessMin",
455
+ type: "uint256",
456
+ },
457
+ {
458
+ internalType: "uint256",
459
+ name: "netYtOutGuessMax",
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",
495
471
  },
496
472
  ],
497
473
  name: "swapExactRawTokenForYt",
@@ -523,39 +499,27 @@ const _abi = [
523
499
  type: "uint256",
524
500
  },
525
501
  {
526
- components: [
527
- {
528
- internalType: "uint256",
529
- name: "guessMin",
530
- type: "uint256",
531
- },
532
- {
533
- internalType: "uint256",
534
- name: "guessMax",
535
- type: "uint256",
536
- },
537
- {
538
- internalType: "uint256",
539
- name: "guessOffchain",
540
- type: "uint256",
541
- },
542
- {
543
- internalType: "uint256",
544
- name: "maxIteration",
545
- type: "uint256",
546
- },
547
- {
548
- internalType: "uint256",
549
- name: "eps",
550
- type: "uint256",
551
- },
552
- ],
553
- internalType: "struct ApproxParams",
554
- name: "approx",
555
- type: "tuple",
556
- },
557
- ],
558
- name: "swapExactScyForPt",
502
+ internalType: "uint256",
503
+ name: "otOutguessMin",
504
+ type: "uint256",
505
+ },
506
+ {
507
+ internalType: "uint256",
508
+ name: "otOutguessMax",
509
+ type: "uint256",
510
+ },
511
+ {
512
+ internalType: "uint256",
513
+ name: "maxIteration",
514
+ type: "uint256",
515
+ },
516
+ {
517
+ internalType: "uint256",
518
+ name: "eps",
519
+ type: "uint256",
520
+ },
521
+ ],
522
+ name: "swapExactScyForOt",
559
523
  outputs: [
560
524
  {
561
525
  internalType: "uint256",
@@ -584,36 +548,24 @@ const _abi = [
584
548
  type: "uint256",
585
549
  },
586
550
  {
587
- components: [
588
- {
589
- internalType: "uint256",
590
- name: "guessMin",
591
- type: "uint256",
592
- },
593
- {
594
- internalType: "uint256",
595
- name: "guessMax",
596
- type: "uint256",
597
- },
598
- {
599
- internalType: "uint256",
600
- name: "guessOffchain",
601
- type: "uint256",
602
- },
603
- {
604
- internalType: "uint256",
605
- name: "maxIteration",
606
- type: "uint256",
607
- },
608
- {
609
- internalType: "uint256",
610
- name: "eps",
611
- type: "uint256",
612
- },
613
- ],
614
- internalType: "struct ApproxParams",
615
- name: "approx",
616
- type: "tuple",
551
+ internalType: "uint256",
552
+ name: "netYtOutGuessMin",
553
+ type: "uint256",
554
+ },
555
+ {
556
+ internalType: "uint256",
557
+ name: "netYtOutGuessMax",
558
+ type: "uint256",
559
+ },
560
+ {
561
+ internalType: "uint256",
562
+ name: "maxIteration",
563
+ type: "uint256",
564
+ },
565
+ {
566
+ internalType: "uint256",
567
+ name: "eps",
568
+ type: "uint256",
617
569
  },
618
570
  ],
619
571
  name: "swapExactScyForYt",
@@ -718,39 +670,27 @@ const _abi = [
718
670
  type: "uint256",
719
671
  },
720
672
  {
721
- components: [
722
- {
723
- internalType: "uint256",
724
- name: "guessMin",
725
- type: "uint256",
726
- },
727
- {
728
- internalType: "uint256",
729
- name: "guessMax",
730
- type: "uint256",
731
- },
732
- {
733
- internalType: "uint256",
734
- name: "guessOffchain",
735
- type: "uint256",
736
- },
737
- {
738
- internalType: "uint256",
739
- name: "maxIteration",
740
- type: "uint256",
741
- },
742
- {
743
- internalType: "uint256",
744
- name: "eps",
745
- type: "uint256",
746
- },
747
- ],
748
- internalType: "struct ApproxParams",
749
- name: "approx",
750
- type: "tuple",
751
- },
752
- ],
753
- name: "swapPtForExactScy",
673
+ internalType: "uint256",
674
+ name: "otInGuessMin",
675
+ type: "uint256",
676
+ },
677
+ {
678
+ internalType: "uint256",
679
+ name: "otInGuessMax",
680
+ type: "uint256",
681
+ },
682
+ {
683
+ internalType: "uint256",
684
+ name: "maxIteration",
685
+ type: "uint256",
686
+ },
687
+ {
688
+ internalType: "uint256",
689
+ name: "eps",
690
+ type: "uint256",
691
+ },
692
+ ],
693
+ name: "swapOtForExactScy",
754
694
  outputs: [
755
695
  {
756
696
  internalType: "uint256",
@@ -775,7 +715,7 @@ const _abi = [
775
715
  },
776
716
  {
777
717
  internalType: "uint256",
778
- name: "exactPtOut",
718
+ name: "exactOtOut",
779
719
  type: "uint256",
780
720
  },
781
721
  {
@@ -784,7 +724,7 @@ const _abi = [
784
724
  type: "uint256",
785
725
  },
786
726
  ],
787
- name: "swapScyForExactPt",
727
+ name: "swapScyForExactOt",
788
728
  outputs: [
789
729
  {
790
730
  internalType: "uint256",
@@ -847,36 +787,24 @@ const _abi = [
847
787
  type: "uint256",
848
788
  },
849
789
  {
850
- components: [
851
- {
852
- internalType: "uint256",
853
- name: "guessMin",
854
- type: "uint256",
855
- },
856
- {
857
- internalType: "uint256",
858
- name: "guessMax",
859
- type: "uint256",
860
- },
861
- {
862
- internalType: "uint256",
863
- name: "guessOffchain",
864
- type: "uint256",
865
- },
866
- {
867
- internalType: "uint256",
868
- name: "maxIteration",
869
- type: "uint256",
870
- },
871
- {
872
- internalType: "uint256",
873
- name: "eps",
874
- type: "uint256",
875
- },
876
- ],
877
- internalType: "struct ApproxParams",
878
- name: "approx",
879
- type: "tuple",
790
+ internalType: "uint256",
791
+ name: "netYtInGuessMin",
792
+ type: "uint256",
793
+ },
794
+ {
795
+ internalType: "uint256",
796
+ name: "netYtInGuessMax",
797
+ type: "uint256",
798
+ },
799
+ {
800
+ internalType: "uint256",
801
+ name: "maxIteration",
802
+ type: "uint256",
803
+ },
804
+ {
805
+ internalType: "uint256",
806
+ name: "eps",
807
+ type: "uint256",
880
808
  },
881
809
  ],
882
810
  name: "swapYtForExactScy",
@@ -0,0 +1,49 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ IPFlashCallback,
9
+ IPFlashCallbackInterface,
10
+ } from "../IPFlashCallback";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ internalType: "address[]",
17
+ name: "tokens",
18
+ type: "address[]",
19
+ },
20
+ {
21
+ internalType: "uint256[]",
22
+ name: "amountsToPay",
23
+ type: "uint256[]",
24
+ },
25
+ {
26
+ internalType: "bytes",
27
+ name: "data",
28
+ type: "bytes",
29
+ },
30
+ ],
31
+ name: "pendleFlashCallback",
32
+ outputs: [],
33
+ stateMutability: "nonpayable",
34
+ type: "function",
35
+ },
36
+ ];
37
+
38
+ export class IPFlashCallback__factory {
39
+ static readonly abi = _abi;
40
+ static createInterface(): IPFlashCallbackInterface {
41
+ return new utils.Interface(_abi) as IPFlashCallbackInterface;
42
+ }
43
+ static connect(
44
+ address: string,
45
+ signerOrProvider: Signer | Provider
46
+ ): IPFlashCallback {
47
+ return new Contract(address, _abi, signerOrProvider) as IPFlashCallback;
48
+ }
49
+ }