@pendle/core-v2 0.8.1-gamma → 0.9.2-beta

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 (519) hide show
  1. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +1 -1
  2. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +2 -2
  3. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +1 -1
  4. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.dbg.json +1 -1
  5. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.json +2 -2
  6. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  7. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +1 -1
  8. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.json +2 -2
  9. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.dbg.json +1 -1
  10. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.json +2 -2
  11. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.dbg.json +1 -1
  12. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.json +2 -2
  13. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +1 -1
  14. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.json +2 -2
  15. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.dbg.json +1 -1
  16. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.json +2 -2
  17. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +1 -1
  18. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.json +2 -2
  19. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.dbg.json +1 -1
  20. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.json +2 -2
  21. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.dbg.json +1 -1
  22. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.json +2 -2
  23. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
  24. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  30. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  32. package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  35. package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  38. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  40. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
  43. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  45. package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +2 -2
  48. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  52. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  54. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +2 -2
  56. package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.dbg.json +1 -1
  57. package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.json +446 -131
  58. package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +75 -41
  60. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +1 -1
  61. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.json +1 -1
  62. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.json +1 -1
  64. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.json +1 -1
  66. package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.json +442 -127
  79. package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.json +71 -37
  81. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +513 -164
  83. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +2 -2
  94. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +1 -1
  114. package/build/artifacts/contracts/libraries/RewardManager.sol/RewardManager.dbg.json +1 -1
  115. package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  116. package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.dbg.json +1 -1
  117. package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  118. package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  119. package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  120. package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  121. package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  122. package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  123. package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  124. package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  125. package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.json +2 -2
  126. package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +1 -1
  127. package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  128. package/build/artifacts/contracts/libraries/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +4 -0
  129. package/build/artifacts/contracts/libraries/{traderjoe/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.json → kyberswap/KyberSwapHelper.sol/KyberSwapHelper.json} +3 -3
  130. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  131. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +1 -1
  132. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.json +2 -2
  133. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  134. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +2 -2
  135. package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
  136. package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +2 -2
  137. package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.dbg.json +1 -1
  138. package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.dbg.json +1 -1
  139. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  140. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +80 -41
  141. package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
  142. package/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol +6 -8
  143. package/contracts/core/PendleRouter.sol +14 -12
  144. package/contracts/core/actions/ActionCore.sol +125 -89
  145. package/contracts/core/actions/ActionYT.sol +17 -37
  146. package/contracts/core/actions/base/ActionSCYAndPTBase.sol +82 -42
  147. package/contracts/core/actions/base/ActionSCYAndPYBase.sol +39 -51
  148. package/contracts/core/actions/base/ActionSCYAndYTBase.sol +10 -27
  149. package/contracts/interfaces/IPActionCore.sol +89 -54
  150. package/contracts/interfaces/IPActionYT.sol +11 -12
  151. package/contracts/interfaces/IPRouterStatic.sol +2 -2
  152. package/contracts/libraries/helpers/TokenHelper.sol +8 -3
  153. package/contracts/libraries/kyberswap/KyberSwapHelper.sol +61 -0
  154. package/contracts/libraries/math/Math.sol +4 -0
  155. package/contracts/offchain-helpers/RouterStatic.sol +39 -3
  156. package/package.json +1 -1
  157. package/typechain-types/ActionCore.ts +545 -379
  158. package/typechain-types/ActionSCYAndPTBase.ts +11 -8
  159. package/typechain-types/ActionSCYAndPYBase.ts +11 -8
  160. package/typechain-types/ActionSCYAndYTBase.ts +11 -8
  161. package/typechain-types/ActionYT.ts +119 -106
  162. package/typechain-types/FeeDistributorAbstract.ts +164 -0
  163. package/typechain-types/IPActionCore.ts +533 -370
  164. package/typechain-types/IPActionYT.ts +110 -100
  165. package/typechain-types/IPAllAction.ts +611 -466
  166. package/typechain-types/IPRouterStatic.ts +16 -16
  167. package/typechain-types/IPVotingControllerStorage.ts +169 -0
  168. package/typechain-types/{PermissionsV2.ts → KyberSwapHelper.ts} +13 -13
  169. package/typechain-types/{PendleYearnVaultScy.ts → PendleYearnVaultSCY.ts} +0 -0
  170. package/typechain-types/RouterStatic.ts +145 -95
  171. package/typechain-types/factories/ActionCallback__factory.ts +1 -1
  172. package/typechain-types/factories/ActionCore__factory.ts +449 -134
  173. package/typechain-types/factories/ActionSCYAndPTBase__factory.ts +1 -1
  174. package/typechain-types/factories/ActionSCYAndPYBase__factory.ts +1 -1
  175. package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +1 -1
  176. package/typechain-types/factories/ActionYT__factory.ts +78 -44
  177. package/typechain-types/factories/{VotingEscrowController__factory.ts → FeeDistributorAbstract__factory.ts} +33 -23
  178. package/typechain-types/factories/IPActionCore__factory.ts +442 -127
  179. package/typechain-types/factories/IPActionYT__factory.ts +71 -37
  180. package/typechain-types/factories/IPAllAction__factory.ts +513 -164
  181. package/typechain-types/factories/IPRouterStatic__factory.ts +2 -2
  182. package/typechain-types/factories/IPVotingControllerStorage__factory.ts +107 -0
  183. package/typechain-types/factories/{IPermissionsV2__factory.ts → KyberSwapHelper__factory.ts} +9 -9
  184. package/typechain-types/factories/PendleAaveV3SCY__factory.ts +1 -1
  185. package/typechain-types/factories/PendleERC4626SCY__factory.ts +1 -1
  186. package/typechain-types/factories/PendleEulerSCY__factory.ts +1 -1
  187. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  188. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  189. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  190. package/typechain-types/factories/PendleMarket__factory.ts +1 -1
  191. package/typechain-types/factories/PendleQiSAvaxSCY__factory.ts +1 -1
  192. package/typechain-types/factories/PendleQiTokenSCY__factory.ts +1 -1
  193. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  194. package/typechain-types/factories/PendleSAvaxSCY__factory.ts +1 -1
  195. package/typechain-types/factories/PendleSJoeSCY__factory.ts +1 -1
  196. package/typechain-types/factories/PendleStargateSCY__factory.ts +1 -1
  197. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  198. package/typechain-types/factories/PendleWstEthSCY__factory.ts +1 -1
  199. package/typechain-types/factories/{PendleYearnVaultScy__factory.ts → PendleYearnVaultSCY__factory.ts} +1 -1
  200. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  201. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  202. package/typechain-types/factories/RouterStatic__factory.ts +79 -40
  203. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  204. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  205. package/typechain-types/hardhat.d.ts +9 -54
  206. package/typechain-types/index.ts +2 -12
  207. package/build/artifacts/contracts/interfaces/IJoePair.sol/IJoePair.dbg.json +0 -4
  208. package/build/artifacts/contracts/interfaces/IJoePair.sol/IJoePair.json +0 -662
  209. package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.dbg.json +0 -4
  210. package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.json +0 -760
  211. package/build/artifacts/contracts/interfaces/IJoeRouter02.sol/IJoeRouter02.dbg.json +0 -4
  212. package/build/artifacts/contracts/interfaces/IJoeRouter02.sol/IJoeRouter02.json +0 -962
  213. package/build/artifacts/contracts/libraries/traderjoe/JoeLibrary.sol/JoeLibrary.dbg.json +0 -4
  214. package/build/artifacts/contracts/libraries/traderjoe/JoeLibrary.sol/JoeLibrary.json +0 -10
  215. package/build/artifacts/contracts/libraries/traderjoe/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.dbg.json +0 -4
  216. package/contracts/interfaces/IJoePair.sol +0 -98
  217. package/contracts/interfaces/IJoeRouter01.sol +0 -162
  218. package/contracts/interfaces/IJoeRouter02.sol +0 -52
  219. package/contracts/libraries/traderjoe/JoeLibrary.sol +0 -122
  220. package/contracts/libraries/traderjoe/PendleJoeSwapHelperUpg.sol +0 -80
  221. package/typechain-types/ActionRedeem.ts +0 -125
  222. package/typechain-types/ActionSCYAndYOBase.ts +0 -223
  223. package/typechain-types/AggregatorV2V3Interface.ts +0 -380
  224. package/typechain-types/BenqiChainlinkOracle.ts +0 -362
  225. package/typechain-types/BoringOwnable.ts +0 -194
  226. package/typechain-types/BoringOwnableData.ts +0 -100
  227. package/typechain-types/BoringOwnableUpg.ts +0 -194
  228. package/typechain-types/BoringOwnableUpgData.ts +0 -100
  229. package/typechain-types/CelerReceiver.ts +0 -267
  230. package/typechain-types/CelerSender.ts +0 -197
  231. package/typechain-types/Comptroller.ts +0 -2860
  232. package/typechain-types/ComptrollerErrorReporter.ts +0 -70
  233. package/typechain-types/ComptrollerInterface.ts +0 -881
  234. package/typechain-types/ComptrollerVXStorage.ts +0 -781
  235. package/typechain-types/CrosschainContract.ts +0 -113
  236. package/typechain-types/CrosschainReceiver.ts +0 -347
  237. package/typechain-types/CrosschainSender.ts +0 -210
  238. package/typechain-types/EIP20Interface.ts +0 -337
  239. package/typechain-types/EIP20NonStandardInterface.ts +0 -298
  240. package/typechain-types/ERC20Burnable.ts +0 -473
  241. package/typechain-types/ERC20Locker.ts +0 -91
  242. package/typechain-types/ERC20Permit.ts +0 -521
  243. package/typechain-types/ERC20Premined.ts +0 -473
  244. package/typechain-types/ERC20PresetFixedSupply.ts +0 -473
  245. package/typechain-types/EpochController.ts +0 -195
  246. package/typechain-types/FundKeeper.ts +0 -347
  247. package/typechain-types/GaugeTypeControllerAbstract.ts +0 -546
  248. package/typechain-types/GaugeTypeControllerCrosschain.ts +0 -733
  249. package/typechain-types/GaugeTypeControllerMainchain.ts +0 -604
  250. package/typechain-types/IERC20Permit.ts +0 -175
  251. package/typechain-types/IGaugeController.ts +0 -99
  252. package/typechain-types/IJoePair.ts +0 -888
  253. package/typechain-types/IJoeRouter01.ts +0 -1107
  254. package/typechain-types/IJoeRouter02.ts +0 -1420
  255. package/typechain-types/ILiquidYieldToken.ts +0 -639
  256. package/typechain-types/ILiquidYieldTokenWrap.ts +0 -790
  257. package/typechain-types/IMessageBus.ts +0 -543
  258. package/typechain-types/IMessageReceiverApp.ts +0 -110
  259. package/typechain-types/IPActionRedeem.ts +0 -125
  260. package/typechain-types/IPActionSCYAndPY.ts +0 -183
  261. package/typechain-types/IPBaseToken.ts +0 -365
  262. package/typechain-types/IPFlashCallback.ts +0 -115
  263. package/typechain-types/IPGauge.ts +0 -212
  264. package/typechain-types/IPLiquidYieldToken.ts +0 -641
  265. package/typechain-types/IPMarketAddRemoveCallback.ts +0 -169
  266. package/typechain-types/IPMarketCallback.ts +0 -107
  267. package/typechain-types/IPOwnershipToken.ts +0 -488
  268. package/typechain-types/IPRouterCore.ts +0 -769
  269. package/typechain-types/IPRouterRedeem.ts +0 -155
  270. package/typechain-types/IPRouterYT.ts +0 -489
  271. package/typechain-types/IPVotingEscrowController.ts +0 -154
  272. package/typechain-types/IPendleGauge.ts +0 -241
  273. package/typechain-types/IPermissionsV2.ts +0 -87
  274. package/typechain-types/IRainbowBridge.ts +0 -91
  275. package/typechain-types/ISCYRewardIndex.ts +0 -695
  276. package/typechain-types/IVEPendleToken.ts +0 -121
  277. package/typechain-types/IVePToken.ts +0 -103
  278. package/typechain-types/IVotingEscrowPendle.ts +0 -297
  279. package/typechain-types/IXPendle.ts +0 -114
  280. package/typechain-types/InterestRateModel.ts +0 -178
  281. package/typechain-types/JumpRateModel.ts +0 -347
  282. package/typechain-types/LYTBase.ts +0 -721
  283. package/typechain-types/LYTBaseWithRewards.ts +0 -806
  284. package/typechain-types/LYTWrap.ts +0 -872
  285. package/typechain-types/LYTWrapWithRewards.ts +0 -979
  286. package/typechain-types/LiquidityMining.ts +0 -468
  287. package/typechain-types/Maximillion.ts +0 -145
  288. package/typechain-types/Ownable.ts +0 -160
  289. package/typechain-types/PendleAaveV3LYT.ts +0 -808
  290. package/typechain-types/PendleBaseToken.ts +0 -475
  291. package/typechain-types/PendleBenQiErc20LYT.ts +0 -901
  292. package/typechain-types/PendleBenQiErc20SCY.ts +0 -1050
  293. package/typechain-types/PendleBenqiLiquidYieldToken.ts +0 -1013
  294. package/typechain-types/PendleBtrflyLYT.ts +0 -781
  295. package/typechain-types/PendleBtrflyScy.ts +0 -822
  296. package/typechain-types/PendleCelerRouter.ts +0 -359
  297. package/typechain-types/PendleERC20Permit.ts +0 -443
  298. package/typechain-types/PendleGaugeController.ts +0 -346
  299. package/typechain-types/PendleGaugeControllerMainchain.ts +0 -410
  300. package/typechain-types/PendleGaugeControllerSidechain.ts +0 -524
  301. package/typechain-types/PendleJoeLpSCY.ts +0 -835
  302. package/typechain-types/PendleJoeSwapHelper.ts +0 -92
  303. package/typechain-types/PendleJoeSwapHelperUpg.ts +0 -84
  304. package/typechain-types/PendleLYTMockYT.ts +0 -894
  305. package/typechain-types/PendleLiquidYieldToken.ts +0 -814
  306. package/typechain-types/PendleLiquidYieldTokenBase.ts +0 -941
  307. package/typechain-types/PendleOwnershipToken.ts +0 -598
  308. package/typechain-types/PendleRouter01.ts +0 -184
  309. package/typechain-types/PendleRouter02.ts +0 -564
  310. package/typechain-types/PendleRouter03.ts +0 -224
  311. package/typechain-types/PendleRouterBase.ts +0 -126
  312. package/typechain-types/PendleRouterCore.ts +0 -328
  313. package/typechain-types/PendleRouterCoreUpg.ts +0 -798
  314. package/typechain-types/PendleRouterLytAndForge.ts +0 -331
  315. package/typechain-types/PendleRouterMarketBase.ts +0 -82
  316. package/typechain-types/PendleRouterOT.ts +0 -463
  317. package/typechain-types/PendleRouterProxy.ts +0 -335
  318. package/typechain-types/PendleRouterRawTokenOT.ts +0 -865
  319. package/typechain-types/PendleRouterRawTokenYT.ts +0 -520
  320. package/typechain-types/PendleRouterRedeemUpg.ts +0 -125
  321. package/typechain-types/PendleRouterSCYAndForgeBaseUpg.ts +0 -98
  322. package/typechain-types/PendleRouterStaticUpg.ts +0 -399
  323. package/typechain-types/PendleRouterYT.ts +0 -227
  324. package/typechain-types/PendleRouterYTBaseUpg.ts +0 -134
  325. package/typechain-types/PendleRouterYTUpg.ts +0 -537
  326. package/typechain-types/PendleStEthSCY.ts +0 -872
  327. package/typechain-types/PendleStargatePool.ts +0 -1135
  328. package/typechain-types/PendleVotingController.ts +0 -983
  329. package/typechain-types/PendleYTLYTBenqi.ts +0 -863
  330. package/typechain-types/PendleYearnVaultLYT.ts +0 -723
  331. package/typechain-types/PermlessAbstract.ts +0 -57
  332. package/typechain-types/PglStakingContract.ts +0 -662
  333. package/typechain-types/PglStakingContractProxy.ts +0 -256
  334. package/typechain-types/PglStakingContractProxyStorage.ts +0 -136
  335. package/typechain-types/PglStakingContractStorage.ts +0 -397
  336. package/typechain-types/PriceOracle.ts +0 -116
  337. package/typechain-types/ProtocolFakeUser.ts +0 -105
  338. package/typechain-types/Qi.ts +0 -760
  339. package/typechain-types/QiAvax.ts +0 -1720
  340. package/typechain-types/QiDelegateInterface.ts +0 -145
  341. package/typechain-types/QiDelegationStorage.ts +0 -82
  342. package/typechain-types/QiDelegatorInterface.ts +0 -149
  343. package/typechain-types/QiErc20.ts +0 -1846
  344. package/typechain-types/QiErc20Delegate.ts +0 -1926
  345. package/typechain-types/QiErc20Delegator.ts +0 -1885
  346. package/typechain-types/QiErc20Interface.ts +0 -382
  347. package/typechain-types/QiErc20Storage.ts +0 -79
  348. package/typechain-types/QiToken.ts +0 -1475
  349. package/typechain-types/QiTokenInterface.ts +0 -1419
  350. package/typechain-types/QiTokenSaleDistributor.ts +0 -771
  351. package/typechain-types/QiTokenSaleDistributorProxy.ts +0 -256
  352. package/typechain-types/QiTokenSaleDistributorProxyStorage.ts +0 -136
  353. package/typechain-types/QiTokenSaleDistributorStorage.ts +0 -401
  354. package/typechain-types/QiTokenStorage.ts +0 -311
  355. package/typechain-types/ReentrancyGuard.ts +0 -52
  356. package/typechain-types/SingleGaugeTypeController.ts +0 -478
  357. package/typechain-types/TokenErrorReporter.ts +0 -70
  358. package/typechain-types/Unitroller.ts +0 -356
  359. package/typechain-types/UnitrollerAdminStorage.ts +0 -143
  360. package/typechain-types/VePendle.ts +0 -1156
  361. package/typechain-types/VePendleCrosschain.ts +0 -969
  362. package/typechain-types/VePendleToken.ts +0 -688
  363. package/typechain-types/VotingController.ts +0 -1004
  364. package/typechain-types/VotingControllerStorage.ts +0 -448
  365. package/typechain-types/VotingEscrowController.ts +0 -154
  366. package/typechain-types/VotingEscrowPendle.ts +0 -752
  367. package/typechain-types/VotingEscrowToken.ts +0 -251
  368. package/typechain-types/WETH9.ts +0 -414
  369. package/typechain-types/WhitePaperInterestRateModel.ts +0 -304
  370. package/typechain-types/XPendle.ts +0 -618
  371. package/typechain-types/factories/ActionRedeem__factory.ts +0 -105
  372. package/typechain-types/factories/ActionSCYAndYOBase__factory.ts +0 -200
  373. package/typechain-types/factories/AggregatorV2V3Interface__factory.ts +0 -288
  374. package/typechain-types/factories/BenqiChainlinkOracle__factory.ts +0 -311
  375. package/typechain-types/factories/BoringOwnableData__factory.ts +0 -90
  376. package/typechain-types/factories/BoringOwnableUpgData__factory.ts +0 -94
  377. package/typechain-types/factories/BoringOwnableUpg__factory.ts +0 -139
  378. package/typechain-types/factories/BoringOwnable__factory.ts +0 -149
  379. package/typechain-types/factories/CelerReceiver__factory.ts +0 -140
  380. package/typechain-types/factories/CelerSender__factory.ts +0 -85
  381. package/typechain-types/factories/ComptrollerErrorReporter__factory.ts +0 -93
  382. package/typechain-types/factories/ComptrollerInterface__factory.ts +0 -595
  383. package/typechain-types/factories/ComptrollerVXStorage__factory.ts +0 -610
  384. package/typechain-types/factories/Comptroller__factory.ts +0 -2189
  385. package/typechain-types/factories/CrosschainContract__factory.ts +0 -52
  386. package/typechain-types/factories/CrosschainReceiver__factory.ts +0 -187
  387. package/typechain-types/factories/CrosschainSender__factory.ts +0 -104
  388. package/typechain-types/factories/EIP20Interface__factory.ts +0 -248
  389. package/typechain-types/factories/EIP20NonStandardInterface__factory.ts +0 -213
  390. package/typechain-types/factories/ERC20Burnable__factory.ts +0 -324
  391. package/typechain-types/factories/ERC20Locker__factory.ts +0 -73
  392. package/typechain-types/factories/ERC20Permit__factory.ts +0 -368
  393. package/typechain-types/factories/ERC20Premined__factory.ts +0 -393
  394. package/typechain-types/factories/ERC20PresetFixedSupply__factory.ts +0 -422
  395. package/typechain-types/factories/EpochController__factory.ts +0 -170
  396. package/typechain-types/factories/FundKeeper__factory.ts +0 -212
  397. package/typechain-types/factories/GaugeTypeControllerAbstract__factory.ts +0 -387
  398. package/typechain-types/factories/GaugeTypeControllerCrosschain__factory.ts +0 -522
  399. package/typechain-types/factories/GaugeTypeControllerMainchain__factory.ts +0 -431
  400. package/typechain-types/factories/IERC20Permit__factory.ts +0 -98
  401. package/typechain-types/factories/IGaugeController__factory.ts +0 -45
  402. package/typechain-types/factories/IJoePair__factory.ts +0 -674
  403. package/typechain-types/factories/IJoeRouter01__factory.ts +0 -772
  404. package/typechain-types/factories/IJoeRouter02__factory.ts +0 -974
  405. package/typechain-types/factories/ILiquidYieldTokenWrap__factory.ts +0 -533
  406. package/typechain-types/factories/ILiquidYieldToken__factory.ts +0 -429
  407. package/typechain-types/factories/IMessageBus__factory.ts +0 -396
  408. package/typechain-types/factories/IMessageReceiverApp__factory.ts +0 -55
  409. package/typechain-types/factories/IPActionRedeem__factory.ts +0 -70
  410. package/typechain-types/factories/IPActionSCYAndPY__factory.ts +0 -174
  411. package/typechain-types/factories/IPBaseToken__factory.ts +0 -271
  412. package/typechain-types/factories/IPFlashCallback__factory.ts +0 -49
  413. package/typechain-types/factories/IPGauge__factory.ts +0 -110
  414. package/typechain-types/factories/IPLiquidYieldToken__factory.ts +0 -433
  415. package/typechain-types/factories/IPMarketAddRemoveCallback__factory.ts +0 -86
  416. package/typechain-types/factories/IPMarketCallback__factory.ts +0 -55
  417. package/typechain-types/factories/IPOwnershipToken__factory.ts +0 -349
  418. package/typechain-types/factories/IPRouterCore__factory.ts +0 -531
  419. package/typechain-types/factories/IPRouterRedeem__factory.ts +0 -72
  420. package/typechain-types/factories/IPRouterYT__factory.ts +0 -305
  421. package/typechain-types/factories/IPVotingEscrowController__factory.ts +0 -80
  422. package/typechain-types/factories/IPendleGauge__factory.ts +0 -125
  423. package/typechain-types/factories/IRainbowBridge__factory.ts +0 -76
  424. package/typechain-types/factories/ISCYRewardIndex__factory.ts +0 -465
  425. package/typechain-types/factories/IVEPendleToken__factory.ts +0 -71
  426. package/typechain-types/factories/IVePToken__factory.ts +0 -55
  427. package/typechain-types/factories/IVotingEscrowPendle__factory.ts +0 -182
  428. package/typechain-types/factories/IXPendle__factory.ts +0 -61
  429. package/typechain-types/factories/InterestRateModel__factory.ts +0 -108
  430. package/typechain-types/factories/JumpRateModel__factory.ts +0 -334
  431. package/typechain-types/factories/LYTBaseWithRewards__factory.ts +0 -530
  432. package/typechain-types/factories/LYTBase__factory.ts +0 -474
  433. package/typechain-types/factories/LYTWrapWithRewards__factory.ts +0 -643
  434. package/typechain-types/factories/LYTWrap__factory.ts +0 -574
  435. package/typechain-types/factories/LiquidityMining__factory.ts +0 -367
  436. package/typechain-types/factories/Maximillion__factory.ts +0 -125
  437. package/typechain-types/factories/Ownable__factory.ts +0 -75
  438. package/typechain-types/factories/PendleAaveV3LYT__factory.ts +0 -657
  439. package/typechain-types/factories/PendleBaseToken__factory.ts +0 -348
  440. package/typechain-types/factories/PendleBenQiErc20LYT__factory.ts +0 -748
  441. package/typechain-types/factories/PendleBenQiErc20SCY__factory.ts +0 -871
  442. package/typechain-types/factories/PendleBenqiLiquidYieldToken__factory.ts +0 -785
  443. package/typechain-types/factories/PendleBtrflyLYT__factory.ts +0 -647
  444. package/typechain-types/factories/PendleBtrflyScy__factory.ts +0 -710
  445. package/typechain-types/factories/PendleCelerRouter__factory.ts +0 -259
  446. package/typechain-types/factories/PendleERC20Permit__factory.ts +0 -405
  447. package/typechain-types/factories/PendleGaugeControllerMainchain__factory.ts +0 -332
  448. package/typechain-types/factories/PendleGaugeControllerSidechain__factory.ts +0 -391
  449. package/typechain-types/factories/PendleGaugeController__factory.ts +0 -212
  450. package/typechain-types/factories/PendleJoeLpSCY__factory.ts +0 -732
  451. package/typechain-types/factories/PendleJoeSwapHelperUpg__factory.ts +0 -43
  452. package/typechain-types/factories/PendleJoeSwapHelper__factory.ts +0 -52
  453. package/typechain-types/factories/PendleLYTMockYT__factory.ts +0 -732
  454. package/typechain-types/factories/PendleLiquidYieldTokenBase__factory.ts +0 -603
  455. package/typechain-types/factories/PendleLiquidYieldToken__factory.ts +0 -510
  456. package/typechain-types/factories/PendleOwnershipToken__factory.ts +0 -527
  457. package/typechain-types/factories/PendleRouter01__factory.ts +0 -152
  458. package/typechain-types/factories/PendleRouter02__factory.ts +0 -438
  459. package/typechain-types/factories/PendleRouter03__factory.ts +0 -190
  460. package/typechain-types/factories/PendleRouterBase__factory.ts +0 -68
  461. package/typechain-types/factories/PendleRouterCoreUpg__factory.ts +0 -635
  462. package/typechain-types/factories/PendleRouterCore__factory.ts +0 -268
  463. package/typechain-types/factories/PendleRouterLytAndForge__factory.ts +0 -294
  464. package/typechain-types/factories/PendleRouterMarketBase__factory.ts +0 -43
  465. package/typechain-types/factories/PendleRouterOT__factory.ts +0 -372
  466. package/typechain-types/factories/PendleRouterProxy__factory.ts +0 -285
  467. package/typechain-types/factories/PendleRouterRawTokenOT__factory.ts +0 -697
  468. package/typechain-types/factories/PendleRouterRawTokenYT__factory.ts +0 -431
  469. package/typechain-types/factories/PendleRouterRedeemUpg__factory.ts +0 -112
  470. package/typechain-types/factories/PendleRouterSCYAndForgeBaseUpg__factory.ts +0 -56
  471. package/typechain-types/factories/PendleRouterStaticUpg__factory.ts +0 -315
  472. package/typechain-types/factories/PendleRouterYTBaseUpg__factory.ts +0 -66
  473. package/typechain-types/factories/PendleRouterYTUpg__factory.ts +0 -422
  474. package/typechain-types/factories/PendleRouterYT__factory.ts +0 -184
  475. package/typechain-types/factories/PendleStEthSCY__factory.ts +0 -716
  476. package/typechain-types/factories/PendleStargatePool__factory.ts +0 -961
  477. package/typechain-types/factories/PendleVotingController__factory.ts +0 -730
  478. package/typechain-types/factories/PendleYTLYTBenqi__factory.ts +0 -713
  479. package/typechain-types/factories/PendleYearnVaultLYT__factory.ts +0 -586
  480. package/typechain-types/factories/PermissionsV2__factory.ts +0 -36
  481. package/typechain-types/factories/PermlessAbstract__factory.ts +0 -30
  482. package/typechain-types/factories/PglStakingContractProxyStorage__factory.ts +0 -130
  483. package/typechain-types/factories/PglStakingContractProxy__factory.ts +0 -187
  484. package/typechain-types/factories/PglStakingContractStorage__factory.ts +0 -309
  485. package/typechain-types/factories/PglStakingContract__factory.ts +0 -446
  486. package/typechain-types/factories/PriceOracle__factory.ts +0 -59
  487. package/typechain-types/factories/ProtocolFakeUser__factory.ts +0 -87
  488. package/typechain-types/factories/QiAvax__factory.ts +0 -1471
  489. package/typechain-types/factories/QiDelegateInterface__factory.ts +0 -65
  490. package/typechain-types/factories/QiDelegationStorage__factory.ts +0 -79
  491. package/typechain-types/factories/QiDelegatorInterface__factory.ts +0 -89
  492. package/typechain-types/factories/QiErc20Delegate__factory.ts +0 -1563
  493. package/typechain-types/factories/QiErc20Delegator__factory.ts +0 -1648
  494. package/typechain-types/factories/QiErc20Interface__factory.ts +0 -239
  495. package/typechain-types/factories/QiErc20Storage__factory.ts +0 -79
  496. package/typechain-types/factories/QiErc20__factory.ts +0 -1515
  497. package/typechain-types/factories/QiTokenInterface__factory.ts +0 -1182
  498. package/typechain-types/factories/QiTokenSaleDistributorProxyStorage__factory.ts +0 -124
  499. package/typechain-types/factories/QiTokenSaleDistributorProxy__factory.ts +0 -171
  500. package/typechain-types/factories/QiTokenSaleDistributorStorage__factory.ts +0 -289
  501. package/typechain-types/factories/QiTokenSaleDistributor__factory.ts +0 -480
  502. package/typechain-types/factories/QiTokenStorage__factory.ts +0 -274
  503. package/typechain-types/factories/QiToken__factory.ts +0 -1219
  504. package/typechain-types/factories/Qi__factory.ts +0 -648
  505. package/typechain-types/factories/ReentrancyGuard__factory.ts +0 -69
  506. package/typechain-types/factories/SingleGaugeTypeController__factory.ts +0 -341
  507. package/typechain-types/factories/TokenErrorReporter__factory.ts +0 -89
  508. package/typechain-types/factories/UnitrollerAdminStorage__factory.ts +0 -128
  509. package/typechain-types/factories/Unitroller__factory.ts +0 -305
  510. package/typechain-types/factories/VePendleCrosschain__factory.ts +0 -727
  511. package/typechain-types/factories/VePendleToken__factory.ts +0 -494
  512. package/typechain-types/factories/VePendle__factory.ts +0 -800
  513. package/typechain-types/factories/VotingControllerStorage__factory.ts +0 -315
  514. package/typechain-types/factories/VotingController__factory.ts +0 -645
  515. package/typechain-types/factories/VotingEscrowPendle__factory.ts +0 -527
  516. package/typechain-types/factories/VotingEscrowToken__factory.ts +0 -153
  517. package/typechain-types/factories/WETH9__factory.ts +0 -342
  518. package/typechain-types/factories/WhitePaperInterestRateModel__factory.ts +0 -281
  519. package/typechain-types/factories/XPendle__factory.ts +0 -473
@@ -31,7 +31,7 @@ const _abi = [
31
31
  {
32
32
  indexed: false,
33
33
  internalType: "uint256",
34
- name: "scyUsed",
34
+ name: "ibTokenUsed",
35
35
  type: "uint256",
36
36
  },
37
37
  {
@@ -47,7 +47,7 @@ const _abi = [
47
47
  type: "uint256",
48
48
  },
49
49
  ],
50
- name: "AddLiquidity",
50
+ name: "AddLiquidityDualIbTokenAndPt",
51
51
  type: "event",
52
52
  },
53
53
  {
@@ -62,35 +62,35 @@ const _abi = [
62
62
  {
63
63
  indexed: true,
64
64
  internalType: "address",
65
- name: "receiver",
65
+ name: "market",
66
66
  type: "address",
67
67
  },
68
68
  {
69
69
  indexed: true,
70
70
  internalType: "address",
71
- name: "YT",
71
+ name: "receiver",
72
72
  type: "address",
73
73
  },
74
74
  {
75
75
  indexed: false,
76
- internalType: "address",
77
- name: "rawTokenIn",
78
- type: "address",
76
+ internalType: "uint256",
77
+ name: "scyUsed",
78
+ type: "uint256",
79
79
  },
80
80
  {
81
81
  indexed: false,
82
82
  internalType: "uint256",
83
- name: "netRawTokenIn",
83
+ name: "ptUsed",
84
84
  type: "uint256",
85
85
  },
86
86
  {
87
87
  indexed: false,
88
88
  internalType: "uint256",
89
- name: "netPyOut",
89
+ name: "lpOut",
90
90
  type: "uint256",
91
91
  },
92
92
  ],
93
- name: "MintPyFromRawToken",
93
+ name: "AddLiquidityDualScyAndPt",
94
94
  type: "event",
95
95
  },
96
96
  {
@@ -148,29 +148,29 @@ const _abi = [
148
148
  {
149
149
  indexed: true,
150
150
  internalType: "address",
151
- name: "SCY",
151
+ name: "YT",
152
152
  type: "address",
153
153
  },
154
154
  {
155
155
  indexed: false,
156
156
  internalType: "address",
157
- name: "rawTokenIn",
157
+ name: "tokenIn",
158
158
  type: "address",
159
159
  },
160
160
  {
161
161
  indexed: false,
162
162
  internalType: "uint256",
163
- name: "netRawTokenIn",
163
+ name: "netTokenIn",
164
164
  type: "uint256",
165
165
  },
166
166
  {
167
167
  indexed: false,
168
168
  internalType: "uint256",
169
- name: "netScyOut",
169
+ name: "netPyOut",
170
170
  type: "uint256",
171
171
  },
172
172
  ],
173
- name: "MintScyFromRawToken",
173
+ name: "MintPyFromToken",
174
174
  type: "event",
175
175
  },
176
176
  {
@@ -191,29 +191,66 @@ const _abi = [
191
191
  {
192
192
  indexed: true,
193
193
  internalType: "address",
194
- name: "YT",
194
+ name: "SCY",
195
+ type: "address",
196
+ },
197
+ {
198
+ indexed: false,
199
+ internalType: "address",
200
+ name: "tokenIn",
195
201
  type: "address",
196
202
  },
197
203
  {
198
204
  indexed: false,
199
205
  internalType: "uint256",
200
- name: "netPyIn",
206
+ name: "netTokenIn",
201
207
  type: "uint256",
202
208
  },
203
209
  {
204
210
  indexed: false,
211
+ internalType: "uint256",
212
+ name: "netScyOut",
213
+ type: "uint256",
214
+ },
215
+ ],
216
+ name: "MintScyFromToken",
217
+ type: "event",
218
+ },
219
+ {
220
+ anonymous: false,
221
+ inputs: [
222
+ {
223
+ indexed: true,
224
+ internalType: "address",
225
+ name: "caller",
226
+ type: "address",
227
+ },
228
+ {
229
+ indexed: true,
205
230
  internalType: "address",
206
- name: "rawTokenOut",
231
+ name: "receiver",
232
+ type: "address",
233
+ },
234
+ {
235
+ indexed: true,
236
+ internalType: "address",
237
+ name: "YT",
207
238
  type: "address",
208
239
  },
209
240
  {
210
241
  indexed: false,
211
242
  internalType: "uint256",
212
- name: "netRawTokenOut",
243
+ name: "netPyIn",
244
+ type: "uint256",
245
+ },
246
+ {
247
+ indexed: false,
248
+ internalType: "uint256",
249
+ name: "netScyOut",
213
250
  type: "uint256",
214
251
  },
215
252
  ],
216
- name: "RedeemPyToRawToken",
253
+ name: "RedeemPyToScy",
217
254
  type: "event",
218
255
  },
219
256
  {
@@ -243,14 +280,20 @@ const _abi = [
243
280
  name: "netPyIn",
244
281
  type: "uint256",
245
282
  },
283
+ {
284
+ indexed: false,
285
+ internalType: "address",
286
+ name: "tokenOut",
287
+ type: "address",
288
+ },
246
289
  {
247
290
  indexed: false,
248
291
  internalType: "uint256",
249
- name: "netScyOut",
292
+ name: "netTokenOut",
250
293
  type: "uint256",
251
294
  },
252
295
  ],
253
- name: "RedeemPyToScy",
296
+ name: "RedeemPyToToken",
254
297
  type: "event",
255
298
  },
256
299
  {
@@ -283,17 +326,17 @@ const _abi = [
283
326
  {
284
327
  indexed: false,
285
328
  internalType: "address",
286
- name: "rawTokenOut",
329
+ name: "tokenOut",
287
330
  type: "address",
288
331
  },
289
332
  {
290
333
  indexed: false,
291
334
  internalType: "uint256",
292
- name: "netRawTokenOut",
335
+ name: "netTokenOut",
293
336
  type: "uint256",
294
337
  },
295
338
  ],
296
- name: "RedeemScyToRawToken",
339
+ name: "RedeemScyToToken",
297
340
  type: "event",
298
341
  },
299
342
  {
@@ -332,11 +375,11 @@ const _abi = [
332
375
  {
333
376
  indexed: false,
334
377
  internalType: "uint256",
335
- name: "amountSCYOut",
378
+ name: "amountIbTokenOut",
336
379
  type: "uint256",
337
380
  },
338
381
  ],
339
- name: "RemoveLiquidity",
382
+ name: "RemoveLiquidityDualIbTokenAndPt",
340
383
  type: "event",
341
384
  },
342
385
  {
@@ -355,13 +398,50 @@ const _abi = [
355
398
  type: "address",
356
399
  },
357
400
  {
358
- indexed: true,
401
+ indexed: false,
359
402
  internalType: "address",
360
- name: "rawToken",
403
+ name: "receiver",
361
404
  type: "address",
362
405
  },
363
406
  {
364
407
  indexed: false,
408
+ internalType: "uint256",
409
+ name: "lpIn",
410
+ type: "uint256",
411
+ },
412
+ {
413
+ indexed: false,
414
+ internalType: "uint256",
415
+ name: "amountPTOut",
416
+ type: "uint256",
417
+ },
418
+ {
419
+ indexed: false,
420
+ internalType: "uint256",
421
+ name: "amountSCYOut",
422
+ type: "uint256",
423
+ },
424
+ ],
425
+ name: "RemoveLiquidityDualScyAndPt",
426
+ type: "event",
427
+ },
428
+ {
429
+ anonymous: false,
430
+ inputs: [
431
+ {
432
+ indexed: true,
433
+ internalType: "address",
434
+ name: "caller",
435
+ type: "address",
436
+ },
437
+ {
438
+ indexed: true,
439
+ internalType: "address",
440
+ name: "market",
441
+ type: "address",
442
+ },
443
+ {
444
+ indexed: true,
365
445
  internalType: "address",
366
446
  name: "receiver",
367
447
  type: "address",
@@ -375,11 +455,11 @@ const _abi = [
375
455
  {
376
456
  indexed: false,
377
457
  internalType: "int256",
378
- name: "amountRawTokenToAccount",
458
+ name: "amountScyToAccount",
379
459
  type: "int256",
380
460
  },
381
461
  ],
382
- name: "SwapPtAndRawToken",
462
+ name: "SwapPtAndScy",
383
463
  type: "event",
384
464
  },
385
465
  {
@@ -400,6 +480,12 @@ const _abi = [
400
480
  {
401
481
  indexed: true,
402
482
  internalType: "address",
483
+ name: "token",
484
+ type: "address",
485
+ },
486
+ {
487
+ indexed: false,
488
+ internalType: "address",
403
489
  name: "receiver",
404
490
  type: "address",
405
491
  },
@@ -412,11 +498,11 @@ const _abi = [
412
498
  {
413
499
  indexed: false,
414
500
  internalType: "int256",
415
- name: "amountScyToAccount",
501
+ name: "amountTokenToAccount",
416
502
  type: "int256",
417
503
  },
418
504
  ],
419
- name: "SwapPtAndScy",
505
+ name: "SwapPtAndToken",
420
506
  type: "event",
421
507
  },
422
508
  {
@@ -434,12 +520,6 @@ const _abi = [
434
520
  name: "market",
435
521
  type: "address",
436
522
  },
437
- {
438
- indexed: true,
439
- internalType: "address",
440
- name: "rawToken",
441
- type: "address",
442
- },
443
523
  {
444
524
  indexed: false,
445
525
  internalType: "int256",
@@ -449,11 +529,11 @@ const _abi = [
449
529
  {
450
530
  indexed: false,
451
531
  internalType: "int256",
452
- name: "rawTokenToAccount",
532
+ name: "scyToAccount",
453
533
  type: "int256",
454
534
  },
455
535
  ],
456
- name: "SwapYTAndRawToken",
536
+ name: "SwapYTAndSCY",
457
537
  type: "event",
458
538
  },
459
539
  {
@@ -471,6 +551,12 @@ const _abi = [
471
551
  name: "market",
472
552
  type: "address",
473
553
  },
554
+ {
555
+ indexed: true,
556
+ internalType: "address",
557
+ name: "token",
558
+ type: "address",
559
+ },
474
560
  {
475
561
  indexed: false,
476
562
  internalType: "int256",
@@ -480,13 +566,62 @@ const _abi = [
480
566
  {
481
567
  indexed: false,
482
568
  internalType: "int256",
483
- name: "scyToAccount",
569
+ name: "tokenToAccount",
484
570
  type: "int256",
485
571
  },
486
572
  ],
487
- name: "SwapYTAndSCY",
573
+ name: "SwapYTAndToken",
488
574
  type: "event",
489
575
  },
576
+ {
577
+ inputs: [
578
+ {
579
+ internalType: "address",
580
+ name: "receiver",
581
+ type: "address",
582
+ },
583
+ {
584
+ internalType: "address",
585
+ name: "market",
586
+ type: "address",
587
+ },
588
+ {
589
+ internalType: "uint256",
590
+ name: "ibTokenDesired",
591
+ type: "uint256",
592
+ },
593
+ {
594
+ internalType: "uint256",
595
+ name: "ptDesired",
596
+ type: "uint256",
597
+ },
598
+ {
599
+ internalType: "uint256",
600
+ name: "minLpOut",
601
+ type: "uint256",
602
+ },
603
+ ],
604
+ name: "addLiquidityDualIbTokenAndPt",
605
+ outputs: [
606
+ {
607
+ internalType: "uint256",
608
+ name: "netLpOut",
609
+ type: "uint256",
610
+ },
611
+ {
612
+ internalType: "uint256",
613
+ name: "ibTokenUsed",
614
+ type: "uint256",
615
+ },
616
+ {
617
+ internalType: "uint256",
618
+ name: "ptUsed",
619
+ type: "uint256",
620
+ },
621
+ ],
622
+ stateMutability: "nonpayable",
623
+ type: "function",
624
+ },
490
625
  {
491
626
  inputs: [
492
627
  {
@@ -515,7 +650,7 @@ const _abi = [
515
650
  type: "uint256",
516
651
  },
517
652
  ],
518
- name: "addLiquidity",
653
+ name: "addLiquidityDualScyAndPt",
519
654
  outputs: [
520
655
  {
521
656
  internalType: "uint256",
@@ -616,7 +751,7 @@ const _abi = [
616
751
  },
617
752
  {
618
753
  internalType: "uint256",
619
- name: "netRawTokenIn",
754
+ name: "netScyIn",
620
755
  type: "uint256",
621
756
  },
622
757
  {
@@ -624,11 +759,6 @@ const _abi = [
624
759
  name: "minLpOut",
625
760
  type: "uint256",
626
761
  },
627
- {
628
- internalType: "address[]",
629
- name: "path",
630
- type: "address[]",
631
- },
632
762
  {
633
763
  components: [
634
764
  {
@@ -662,7 +792,7 @@ const _abi = [
662
792
  type: "tuple",
663
793
  },
664
794
  ],
665
- name: "addLiquiditySingleRawToken",
795
+ name: "addLiquiditySingleScy",
666
796
  outputs: [
667
797
  {
668
798
  internalType: "uint256",
@@ -685,11 +815,6 @@ const _abi = [
685
815
  name: "market",
686
816
  type: "address",
687
817
  },
688
- {
689
- internalType: "uint256",
690
- name: "netScyIn",
691
- type: "uint256",
692
- },
693
818
  {
694
819
  internalType: "uint256",
695
820
  name: "minLpOut",
@@ -727,8 +852,35 @@ const _abi = [
727
852
  name: "guessPtReceivedFromScy",
728
853
  type: "tuple",
729
854
  },
855
+ {
856
+ components: [
857
+ {
858
+ internalType: "address",
859
+ name: "tokenIn",
860
+ type: "address",
861
+ },
862
+ {
863
+ internalType: "uint256",
864
+ name: "netTokenIn",
865
+ type: "uint256",
866
+ },
867
+ {
868
+ internalType: "address",
869
+ name: "tokenMintScy",
870
+ type: "address",
871
+ },
872
+ {
873
+ internalType: "bytes",
874
+ name: "kybercall",
875
+ type: "bytes",
876
+ },
877
+ ],
878
+ internalType: "struct TokenInput",
879
+ name: "input",
880
+ type: "tuple",
881
+ },
730
882
  ],
731
- name: "addLiquiditySingleScy",
883
+ name: "addLiquiditySingleToken",
732
884
  outputs: [
733
885
  {
734
886
  internalType: "uint256",
@@ -753,7 +905,7 @@ const _abi = [
753
905
  },
754
906
  {
755
907
  internalType: "uint256",
756
- name: "netRawTokenIn",
908
+ name: "netScyIn",
757
909
  type: "uint256",
758
910
  },
759
911
  {
@@ -761,13 +913,8 @@ const _abi = [
761
913
  name: "minPyOut",
762
914
  type: "uint256",
763
915
  },
764
- {
765
- internalType: "address[]",
766
- name: "path",
767
- type: "address[]",
768
- },
769
916
  ],
770
- name: "mintPyFromRawToken",
917
+ name: "mintPyFromScy",
771
918
  outputs: [
772
919
  {
773
920
  internalType: "uint256",
@@ -792,16 +939,38 @@ const _abi = [
792
939
  },
793
940
  {
794
941
  internalType: "uint256",
795
- name: "netScyIn",
942
+ name: "minPyOut",
796
943
  type: "uint256",
797
944
  },
798
945
  {
799
- internalType: "uint256",
800
- name: "minPyOut",
801
- type: "uint256",
946
+ components: [
947
+ {
948
+ internalType: "address",
949
+ name: "tokenIn",
950
+ type: "address",
951
+ },
952
+ {
953
+ internalType: "uint256",
954
+ name: "netTokenIn",
955
+ type: "uint256",
956
+ },
957
+ {
958
+ internalType: "address",
959
+ name: "tokenMintScy",
960
+ type: "address",
961
+ },
962
+ {
963
+ internalType: "bytes",
964
+ name: "kybercall",
965
+ type: "bytes",
966
+ },
967
+ ],
968
+ internalType: "struct TokenInput",
969
+ name: "input",
970
+ type: "tuple",
802
971
  },
803
972
  ],
804
- name: "mintPyFromScy",
973
+ name: "mintPyFromToken",
805
974
  outputs: [
806
975
  {
807
976
  internalType: "uint256",
@@ -824,23 +993,40 @@ const _abi = [
824
993
  name: "SCY",
825
994
  type: "address",
826
995
  },
827
- {
828
- internalType: "uint256",
829
- name: "netRawTokenIn",
830
- type: "uint256",
831
- },
832
996
  {
833
997
  internalType: "uint256",
834
998
  name: "minScyOut",
835
999
  type: "uint256",
836
1000
  },
837
1001
  {
838
- internalType: "address[]",
839
- name: "path",
840
- type: "address[]",
1002
+ components: [
1003
+ {
1004
+ internalType: "address",
1005
+ name: "tokenIn",
1006
+ type: "address",
1007
+ },
1008
+ {
1009
+ internalType: "uint256",
1010
+ name: "netTokenIn",
1011
+ type: "uint256",
1012
+ },
1013
+ {
1014
+ internalType: "address",
1015
+ name: "tokenMintScy",
1016
+ type: "address",
1017
+ },
1018
+ {
1019
+ internalType: "bytes",
1020
+ name: "kybercall",
1021
+ type: "bytes",
1022
+ },
1023
+ ],
1024
+ internalType: "struct TokenInput",
1025
+ name: "input",
1026
+ type: "tuple",
841
1027
  },
842
1028
  ],
843
- name: "mintScyFromRawToken",
1029
+ name: "mintScyFromToken",
844
1030
  outputs: [
845
1031
  {
846
1032
  internalType: "uint256",
@@ -919,20 +1105,15 @@ const _abi = [
919
1105
  },
920
1106
  {
921
1107
  internalType: "uint256",
922
- name: "minRawTokenOut",
1108
+ name: "minScyOut",
923
1109
  type: "uint256",
924
1110
  },
925
- {
926
- internalType: "address[]",
927
- name: "path",
928
- type: "address[]",
929
- },
930
1111
  ],
931
- name: "redeemPyToRawToken",
1112
+ name: "redeemPyToScy",
932
1113
  outputs: [
933
1114
  {
934
1115
  internalType: "uint256",
935
- name: "netRawTokenOut",
1116
+ name: "netScyOut",
936
1117
  type: "uint256",
937
1118
  },
938
1119
  ],
@@ -957,16 +1138,38 @@ const _abi = [
957
1138
  type: "uint256",
958
1139
  },
959
1140
  {
960
- internalType: "uint256",
961
- name: "minScyOut",
962
- type: "uint256",
1141
+ components: [
1142
+ {
1143
+ internalType: "address",
1144
+ name: "tokenOut",
1145
+ type: "address",
1146
+ },
1147
+ {
1148
+ internalType: "uint256",
1149
+ name: "minTokenOut",
1150
+ type: "uint256",
1151
+ },
1152
+ {
1153
+ internalType: "address",
1154
+ name: "tokenRedeemScy",
1155
+ type: "address",
1156
+ },
1157
+ {
1158
+ internalType: "bytes",
1159
+ name: "kybercall",
1160
+ type: "bytes",
1161
+ },
1162
+ ],
1163
+ internalType: "struct TokenOutput",
1164
+ name: "output",
1165
+ type: "tuple",
963
1166
  },
964
1167
  ],
965
- name: "redeemPyToScy",
1168
+ name: "redeemPyToToken",
966
1169
  outputs: [
967
1170
  {
968
1171
  internalType: "uint256",
969
- name: "netScyOut",
1172
+ name: "netTokenOut",
970
1173
  type: "uint256",
971
1174
  },
972
1175
  ],
@@ -990,22 +1193,83 @@ const _abi = [
990
1193
  name: "netScyIn",
991
1194
  type: "uint256",
992
1195
  },
1196
+ {
1197
+ components: [
1198
+ {
1199
+ internalType: "address",
1200
+ name: "tokenOut",
1201
+ type: "address",
1202
+ },
1203
+ {
1204
+ internalType: "uint256",
1205
+ name: "minTokenOut",
1206
+ type: "uint256",
1207
+ },
1208
+ {
1209
+ internalType: "address",
1210
+ name: "tokenRedeemScy",
1211
+ type: "address",
1212
+ },
1213
+ {
1214
+ internalType: "bytes",
1215
+ name: "kybercall",
1216
+ type: "bytes",
1217
+ },
1218
+ ],
1219
+ internalType: "struct TokenOutput",
1220
+ name: "output",
1221
+ type: "tuple",
1222
+ },
1223
+ ],
1224
+ name: "redeemScyToToken",
1225
+ outputs: [
993
1226
  {
994
1227
  internalType: "uint256",
995
- name: "minRawTokenOut",
1228
+ name: "netTokenOut",
996
1229
  type: "uint256",
997
1230
  },
1231
+ ],
1232
+ stateMutability: "nonpayable",
1233
+ type: "function",
1234
+ },
1235
+ {
1236
+ inputs: [
998
1237
  {
999
- internalType: "address[]",
1000
- name: "path",
1001
- type: "address[]",
1238
+ internalType: "address",
1239
+ name: "receiver",
1240
+ type: "address",
1241
+ },
1242
+ {
1243
+ internalType: "address",
1244
+ name: "market",
1245
+ type: "address",
1246
+ },
1247
+ {
1248
+ internalType: "uint256",
1249
+ name: "lpToRemove",
1250
+ type: "uint256",
1251
+ },
1252
+ {
1253
+ internalType: "uint256",
1254
+ name: "ibTokenMin",
1255
+ type: "uint256",
1256
+ },
1257
+ {
1258
+ internalType: "uint256",
1259
+ name: "ptOutMin",
1260
+ type: "uint256",
1002
1261
  },
1003
1262
  ],
1004
- name: "redeemScyToRawToken",
1263
+ name: "removeLiquidityDualIbTokenAndPt",
1005
1264
  outputs: [
1006
1265
  {
1007
1266
  internalType: "uint256",
1008
- name: "netRawTokenOut",
1267
+ name: "netIbTokenOut",
1268
+ type: "uint256",
1269
+ },
1270
+ {
1271
+ internalType: "uint256",
1272
+ name: "netPtOut",
1009
1273
  type: "uint256",
1010
1274
  },
1011
1275
  ],
@@ -1040,7 +1304,7 @@ const _abi = [
1040
1304
  type: "uint256",
1041
1305
  },
1042
1306
  ],
1043
- name: "removeLiquidity",
1307
+ name: "removeLiquidityDualScyAndPt",
1044
1308
  outputs: [
1045
1309
  {
1046
1310
  internalType: "uint256",
@@ -1141,20 +1405,15 @@ const _abi = [
1141
1405
  },
1142
1406
  {
1143
1407
  internalType: "uint256",
1144
- name: "minRawTokenOut",
1408
+ name: "minScyOut",
1145
1409
  type: "uint256",
1146
1410
  },
1147
- {
1148
- internalType: "address[]",
1149
- name: "path",
1150
- type: "address[]",
1151
- },
1152
1411
  ],
1153
- name: "removeLiquiditySingleRawToken",
1412
+ name: "removeLiquiditySingleScy",
1154
1413
  outputs: [
1155
1414
  {
1156
1415
  internalType: "uint256",
1157
- name: "netRawTokenOut",
1416
+ name: "netScyOut",
1158
1417
  type: "uint256",
1159
1418
  },
1160
1419
  ],
@@ -1179,16 +1438,38 @@ const _abi = [
1179
1438
  type: "uint256",
1180
1439
  },
1181
1440
  {
1182
- internalType: "uint256",
1183
- name: "minScyOut",
1184
- type: "uint256",
1441
+ components: [
1442
+ {
1443
+ internalType: "address",
1444
+ name: "tokenOut",
1445
+ type: "address",
1446
+ },
1447
+ {
1448
+ internalType: "uint256",
1449
+ name: "minTokenOut",
1450
+ type: "uint256",
1451
+ },
1452
+ {
1453
+ internalType: "address",
1454
+ name: "tokenRedeemScy",
1455
+ type: "address",
1456
+ },
1457
+ {
1458
+ internalType: "bytes",
1459
+ name: "kybercall",
1460
+ type: "bytes",
1461
+ },
1462
+ ],
1463
+ internalType: "struct TokenOutput",
1464
+ name: "output",
1465
+ type: "tuple",
1185
1466
  },
1186
1467
  ],
1187
- name: "removeLiquiditySingleScy",
1468
+ name: "removeLiquiditySingleToken",
1188
1469
  outputs: [
1189
1470
  {
1190
1471
  internalType: "uint256",
1191
- name: "netScyOut",
1472
+ name: "netTokenOut",
1192
1473
  type: "uint256",
1193
1474
  },
1194
1475
  ],
@@ -1214,20 +1495,15 @@ const _abi = [
1214
1495
  },
1215
1496
  {
1216
1497
  internalType: "uint256",
1217
- name: "minRawTokenOut",
1498
+ name: "minScyOut",
1218
1499
  type: "uint256",
1219
1500
  },
1220
- {
1221
- internalType: "address[]",
1222
- name: "path",
1223
- type: "address[]",
1224
- },
1225
1501
  ],
1226
- name: "swapExactPtForRawToken",
1502
+ name: "swapExactPtForScy",
1227
1503
  outputs: [
1228
1504
  {
1229
1505
  internalType: "uint256",
1230
- name: "netRawTokenOut",
1506
+ name: "netScyOut",
1231
1507
  type: "uint256",
1232
1508
  },
1233
1509
  ],
@@ -1252,16 +1528,38 @@ const _abi = [
1252
1528
  type: "uint256",
1253
1529
  },
1254
1530
  {
1255
- internalType: "uint256",
1256
- name: "minScyOut",
1257
- type: "uint256",
1531
+ components: [
1532
+ {
1533
+ internalType: "address",
1534
+ name: "tokenOut",
1535
+ type: "address",
1536
+ },
1537
+ {
1538
+ internalType: "uint256",
1539
+ name: "minTokenOut",
1540
+ type: "uint256",
1541
+ },
1542
+ {
1543
+ internalType: "address",
1544
+ name: "tokenRedeemScy",
1545
+ type: "address",
1546
+ },
1547
+ {
1548
+ internalType: "bytes",
1549
+ name: "kybercall",
1550
+ type: "bytes",
1551
+ },
1552
+ ],
1553
+ internalType: "struct TokenOutput",
1554
+ name: "output",
1555
+ type: "tuple",
1258
1556
  },
1259
1557
  ],
1260
- name: "swapExactPtForScy",
1558
+ name: "swapExactPtForToken",
1261
1559
  outputs: [
1262
1560
  {
1263
1561
  internalType: "uint256",
1264
- name: "netScyOut",
1562
+ name: "netTokenOut",
1265
1563
  type: "uint256",
1266
1564
  },
1267
1565
  ],
@@ -1282,7 +1580,7 @@ const _abi = [
1282
1580
  },
1283
1581
  {
1284
1582
  internalType: "uint256",
1285
- name: "exactRawTokenIn",
1583
+ name: "exactScyIn",
1286
1584
  type: "uint256",
1287
1585
  },
1288
1586
  {
@@ -1290,11 +1588,6 @@ const _abi = [
1290
1588
  name: "minPtOut",
1291
1589
  type: "uint256",
1292
1590
  },
1293
- {
1294
- internalType: "address[]",
1295
- name: "path",
1296
- type: "address[]",
1297
- },
1298
1591
  {
1299
1592
  components: [
1300
1593
  {
@@ -1328,7 +1621,7 @@ const _abi = [
1328
1621
  type: "tuple",
1329
1622
  },
1330
1623
  ],
1331
- name: "swapExactRawTokenForPt",
1624
+ name: "swapExactScyForPt",
1332
1625
  outputs: [
1333
1626
  {
1334
1627
  internalType: "uint256",
@@ -1353,7 +1646,7 @@ const _abi = [
1353
1646
  },
1354
1647
  {
1355
1648
  internalType: "uint256",
1356
- name: "exactRawTokenIn",
1649
+ name: "exactScyIn",
1357
1650
  type: "uint256",
1358
1651
  },
1359
1652
  {
@@ -1361,11 +1654,6 @@ const _abi = [
1361
1654
  name: "minYtOut",
1362
1655
  type: "uint256",
1363
1656
  },
1364
- {
1365
- internalType: "address[]",
1366
- name: "path",
1367
- type: "address[]",
1368
- },
1369
1657
  {
1370
1658
  components: [
1371
1659
  {
@@ -1399,7 +1687,7 @@ const _abi = [
1399
1687
  type: "tuple",
1400
1688
  },
1401
1689
  ],
1402
- name: "swapExactRawTokenForYt",
1690
+ name: "swapExactScyForYt",
1403
1691
  outputs: [
1404
1692
  {
1405
1693
  internalType: "uint256",
@@ -1422,11 +1710,6 @@ const _abi = [
1422
1710
  name: "market",
1423
1711
  type: "address",
1424
1712
  },
1425
- {
1426
- internalType: "uint256",
1427
- name: "exactScyIn",
1428
- type: "uint256",
1429
- },
1430
1713
  {
1431
1714
  internalType: "uint256",
1432
1715
  name: "minPtOut",
@@ -1464,8 +1747,35 @@ const _abi = [
1464
1747
  name: "guessPtOut",
1465
1748
  type: "tuple",
1466
1749
  },
1750
+ {
1751
+ components: [
1752
+ {
1753
+ internalType: "address",
1754
+ name: "tokenIn",
1755
+ type: "address",
1756
+ },
1757
+ {
1758
+ internalType: "uint256",
1759
+ name: "netTokenIn",
1760
+ type: "uint256",
1761
+ },
1762
+ {
1763
+ internalType: "address",
1764
+ name: "tokenMintScy",
1765
+ type: "address",
1766
+ },
1767
+ {
1768
+ internalType: "bytes",
1769
+ name: "kybercall",
1770
+ type: "bytes",
1771
+ },
1772
+ ],
1773
+ internalType: "struct TokenInput",
1774
+ name: "input",
1775
+ type: "tuple",
1776
+ },
1467
1777
  ],
1468
- name: "swapExactScyForPt",
1778
+ name: "swapExactTokenForPt",
1469
1779
  outputs: [
1470
1780
  {
1471
1781
  internalType: "uint256",
@@ -1488,11 +1798,6 @@ const _abi = [
1488
1798
  name: "market",
1489
1799
  type: "address",
1490
1800
  },
1491
- {
1492
- internalType: "uint256",
1493
- name: "exactScyIn",
1494
- type: "uint256",
1495
- },
1496
1801
  {
1497
1802
  internalType: "uint256",
1498
1803
  name: "minYtOut",
@@ -1530,8 +1835,35 @@ const _abi = [
1530
1835
  name: "guessYtOut",
1531
1836
  type: "tuple",
1532
1837
  },
1838
+ {
1839
+ components: [
1840
+ {
1841
+ internalType: "address",
1842
+ name: "tokenIn",
1843
+ type: "address",
1844
+ },
1845
+ {
1846
+ internalType: "uint256",
1847
+ name: "netTokenIn",
1848
+ type: "uint256",
1849
+ },
1850
+ {
1851
+ internalType: "address",
1852
+ name: "tokenMintScy",
1853
+ type: "address",
1854
+ },
1855
+ {
1856
+ internalType: "bytes",
1857
+ name: "kybercall",
1858
+ type: "bytes",
1859
+ },
1860
+ ],
1861
+ internalType: "struct TokenInput",
1862
+ name: "input",
1863
+ type: "tuple",
1864
+ },
1533
1865
  ],
1534
- name: "swapExactScyForYt",
1866
+ name: "swapExactTokenForYt",
1535
1867
  outputs: [
1536
1868
  {
1537
1869
  internalType: "uint256",
@@ -1561,20 +1893,15 @@ const _abi = [
1561
1893
  },
1562
1894
  {
1563
1895
  internalType: "uint256",
1564
- name: "minRawTokenOut",
1896
+ name: "minScyOut",
1565
1897
  type: "uint256",
1566
1898
  },
1567
- {
1568
- internalType: "address[]",
1569
- name: "path",
1570
- type: "address[]",
1571
- },
1572
1899
  ],
1573
- name: "swapExactYtForRawToken",
1900
+ name: "swapExactYtForScy",
1574
1901
  outputs: [
1575
1902
  {
1576
1903
  internalType: "uint256",
1577
- name: "netRawTokenOut",
1904
+ name: "netScyOut",
1578
1905
  type: "uint256",
1579
1906
  },
1580
1907
  ],
@@ -1595,20 +1922,42 @@ const _abi = [
1595
1922
  },
1596
1923
  {
1597
1924
  internalType: "uint256",
1598
- name: "exactYtIn",
1925
+ name: "netYtIn",
1599
1926
  type: "uint256",
1600
1927
  },
1601
1928
  {
1602
- internalType: "uint256",
1603
- name: "minScyOut",
1604
- type: "uint256",
1929
+ components: [
1930
+ {
1931
+ internalType: "address",
1932
+ name: "tokenOut",
1933
+ type: "address",
1934
+ },
1935
+ {
1936
+ internalType: "uint256",
1937
+ name: "minTokenOut",
1938
+ type: "uint256",
1939
+ },
1940
+ {
1941
+ internalType: "address",
1942
+ name: "tokenRedeemScy",
1943
+ type: "address",
1944
+ },
1945
+ {
1946
+ internalType: "bytes",
1947
+ name: "kybercall",
1948
+ type: "bytes",
1949
+ },
1950
+ ],
1951
+ internalType: "struct TokenOutput",
1952
+ name: "output",
1953
+ type: "tuple",
1605
1954
  },
1606
1955
  ],
1607
- name: "swapExactYtForScy",
1956
+ name: "swapExactYtForToken",
1608
1957
  outputs: [
1609
1958
  {
1610
1959
  internalType: "uint256",
1611
- name: "netScyOut",
1960
+ name: "netTokenOut",
1612
1961
  type: "uint256",
1613
1962
  },
1614
1963
  ],