@pendle/core-v2 0.8.0-beta-2 → 0.8.0-beta-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 (261) 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 +50 -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/AaveV3/WadRayMath.sol/WadRayMath.json +2 -2
  5. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  6. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  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 +55 -2
  9. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +1 -1
  10. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.json +50 -2
  11. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +1 -1
  12. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.json +50 -2
  13. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.dbg.json +1 -1
  14. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.json +50 -2
  15. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
  16. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.json +48 -0
  17. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
  18. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.json +48 -0
  19. package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.dbg.json +1 -1
  20. package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +0 -13
  23. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchain.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchain.sol/PendleGaugeControllerMainchainUpg.json +2 -15
  25. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechain.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechain.sol/PendleGaugeControllerSidechainUpg.json +2 -15
  27. package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +60 -58
  30. package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +39 -24
  32. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +4 -29
  34. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +3 -22
  36. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.json +1 -20
  38. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +30 -105
  40. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  42. package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.json +2 -2
  44. package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.json +2 -2
  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/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  51. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  53. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +137 -18
  55. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +2 -2
  57. package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.json +206 -16
  59. package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +1 -1
  60. package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +12 -117
  61. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +1 -1
  62. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.json +0 -148
  63. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +1 -1
  64. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.json +0 -148
  65. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.dbg.json +1 -1
  66. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.json +0 -173
  67. package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IJoePair.sol/IJoePair.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IJoeRouter02.sol/IJoeRouter02.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.json +338 -0
  81. package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.json +68 -0
  83. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +406 -0
  85. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +28 -28
  91. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +31 -2
  97. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.json +0 -19
  99. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.json +1 -7
  102. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +97 -16
  105. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.json +48 -0
  112. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.json +74 -1
  117. package/build/artifacts/contracts/libraries/RewardManager.sol/RewardManager.dbg.json +1 -1
  118. package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  119. package/build/artifacts/contracts/libraries/SCY/SCYIndex.sol/SCYIndexLib.dbg.json +1 -1
  120. package/build/artifacts/contracts/libraries/SCY/SCYIndex.sol/SCYIndexLib.json +2 -2
  121. package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.dbg.json +1 -1
  122. package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.json +2 -2
  123. package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  124. package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  125. package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  126. package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  127. package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  128. package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.json +2 -2
  129. package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  130. package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.json +2 -2
  131. package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  132. package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.json +2 -2
  133. package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +1 -1
  134. package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.json +2 -2
  135. package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  136. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  137. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.json +2 -2
  138. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +1 -1
  139. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.json +2 -2
  140. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  141. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +2 -2
  142. package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
  143. package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +2 -2
  144. package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.dbg.json +1 -1
  145. package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.json +2 -2
  146. package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.dbg.json +1 -1
  147. package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.json +2 -2
  148. package/build/artifacts/contracts/libraries/traderjoe/JoeLibrary.sol/JoeLibrary.dbg.json +1 -1
  149. package/build/artifacts/contracts/libraries/traderjoe/JoeLibrary.sol/JoeLibrary.json +2 -2
  150. package/build/artifacts/contracts/libraries/traderjoe/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.dbg.json +1 -1
  151. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  152. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +377 -116
  153. package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.dbg.json +1 -1
  154. package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.json +2 -2
  155. package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
  156. package/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol +2 -9
  157. package/contracts/core/PendleERC20Permit.sol +1 -1
  158. package/contracts/offchain-helpers/RouterStatic.sol +90 -25
  159. package/package.json +1 -1
  160. package/typechain-types/ActionCore.ts +180 -38
  161. package/typechain-types/ActionSCYAndPTBase.ts +3 -129
  162. package/typechain-types/ActionSCYAndPYBase.ts +3 -129
  163. package/typechain-types/ActionSCYAndYTBase.ts +3 -149
  164. package/typechain-types/ActionYT.ts +31 -117
  165. package/typechain-types/IPActionCore.ts +271 -3
  166. package/typechain-types/IPActionYT.ts +63 -3
  167. package/typechain-types/IPAllAction.ts +329 -3
  168. package/typechain-types/IPMarket.ts +38 -38
  169. package/typechain-types/IPRouterStatic.ts +61 -16
  170. package/typechain-types/IPVeToken.ts +0 -31
  171. package/typechain-types/IPVotingEscrow.ts +3 -7
  172. package/typechain-types/IPYieldToken.ts +107 -30
  173. package/typechain-types/ISuperComposableYield.ts +78 -0
  174. package/typechain-types/IYearnVault.ts +100 -9
  175. package/typechain-types/PendleAaveV3SCY.ts +78 -0
  176. package/typechain-types/PendleERC4626SCY.ts +78 -0
  177. package/typechain-types/PendleGaugeControllerBaseUpg.ts +0 -13
  178. package/typechain-types/PendleGaugeControllerMainchainUpg.ts +0 -13
  179. package/typechain-types/PendleGaugeControllerSidechainUpg.ts +0 -13
  180. package/typechain-types/PendleMarket.ts +38 -142
  181. package/typechain-types/PendleQiTokenSCY.ts +78 -0
  182. package/typechain-types/PendleVotingControllerUpg.ts +139 -132
  183. package/typechain-types/PendleWstEthSCY.ts +78 -0
  184. package/typechain-types/PendleYearnVaultSCY.ts +78 -0
  185. package/typechain-types/PendleYieldToken.ts +186 -39
  186. package/typechain-types/RouterStatic.ts +624 -220
  187. package/typechain-types/SCYBase.ts +78 -0
  188. package/typechain-types/SCYBaseWithRewards.ts +78 -0
  189. package/typechain-types/VotingControllerStorageUpg.ts +93 -64
  190. package/typechain-types/VotingEscrowPendleMainchain.ts +11 -46
  191. package/typechain-types/VotingEscrowPendleSidechain.ts +8 -39
  192. package/typechain-types/VotingEscrowTokenBase.ts +8 -39
  193. package/typechain-types/factories/ActionCallback__factory.ts +1 -1
  194. package/typechain-types/factories/ActionCore__factory.ts +205 -15
  195. package/typechain-types/factories/ActionSCYAndPTBase__factory.ts +0 -148
  196. package/typechain-types/factories/ActionSCYAndPYBase__factory.ts +0 -148
  197. package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +0 -173
  198. package/typechain-types/factories/ActionYT__factory.ts +11 -116
  199. package/typechain-types/factories/ERC20__factory.ts +1 -1
  200. package/typechain-types/factories/IPActionCore__factory.ts +338 -0
  201. package/typechain-types/factories/IPActionYT__factory.ts +68 -0
  202. package/typechain-types/factories/IPAllAction__factory.ts +406 -0
  203. package/typechain-types/factories/IPMarket__factory.ts +28 -28
  204. package/typechain-types/factories/IPRouterStatic__factory.ts +31 -2
  205. package/typechain-types/factories/IPVeToken__factory.ts +0 -19
  206. package/typechain-types/factories/IPVotingEscrow__factory.ts +1 -7
  207. package/typechain-types/factories/IPYieldToken__factory.ts +97 -16
  208. package/typechain-types/factories/ISuperComposableYield__factory.ts +48 -0
  209. package/typechain-types/factories/IYearnVault__factory.ts +74 -1
  210. package/typechain-types/factories/PendleAaveV3SCY__factory.ts +49 -1
  211. package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
  212. package/typechain-types/factories/PendleERC20__factory.ts +1 -1
  213. package/typechain-types/factories/PendleERC4626SCY__factory.ts +49 -1
  214. package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +0 -13
  215. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -14
  216. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -14
  217. package/typechain-types/factories/PendleGovernanceManager__factory.ts +1 -1
  218. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  219. package/typechain-types/factories/PendleMarket__factory.ts +29 -104
  220. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  221. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  222. package/typechain-types/factories/PendleQiTokenSCY__factory.ts +58 -1
  223. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  224. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +59 -57
  225. package/typechain-types/factories/PendleWstEthSCY__factory.ts +49 -1
  226. package/typechain-types/factories/PendleYearnVaultSCY__factory.ts +49 -1
  227. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  228. package/typechain-types/factories/PendleYieldToken__factory.ts +136 -17
  229. package/typechain-types/factories/RouterStatic__factory.ts +376 -115
  230. package/typechain-types/factories/SCYBaseWithRewards__factory.ts +48 -0
  231. package/typechain-types/factories/SCYBase__factory.ts +48 -0
  232. package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +39 -24
  233. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +3 -28
  234. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +2 -21
  235. package/typechain-types/factories/VotingEscrowTokenBase__factory.ts +1 -20
  236. package/typechain-types/CelerReceiver.ts +0 -267
  237. package/typechain-types/CelerSender.ts +0 -164
  238. package/typechain-types/IPMarketAddRemoveCallback.ts +0 -169
  239. package/typechain-types/IPVotingEscrowController.ts +0 -154
  240. package/typechain-types/PendleBtrflyScy.ts +0 -822
  241. package/typechain-types/PendleGaugeController.ts +0 -282
  242. package/typechain-types/PendleGaugeControllerMainchain.ts +0 -346
  243. package/typechain-types/PendleGaugeControllerSidechain.ts +0 -460
  244. package/typechain-types/PendleJoeLpSCY.ts +0 -835
  245. package/typechain-types/PendleVotingController.ts +0 -865
  246. package/typechain-types/VotingControllerStorage.ts +0 -410
  247. package/typechain-types/VotingEscrowController.ts +0 -154
  248. package/typechain-types/VotingEscrowToken.ts +0 -335
  249. package/typechain-types/factories/CelerReceiver__factory.ts +0 -140
  250. package/typechain-types/factories/CelerSender__factory.ts +0 -67
  251. package/typechain-types/factories/IPMarketAddRemoveCallback__factory.ts +0 -86
  252. package/typechain-types/factories/IPVotingEscrowController__factory.ts +0 -80
  253. package/typechain-types/factories/PendleBtrflyScy__factory.ts +0 -728
  254. package/typechain-types/factories/PendleGaugeControllerMainchain__factory.ts +0 -269
  255. package/typechain-types/factories/PendleGaugeControllerSidechain__factory.ts +0 -328
  256. package/typechain-types/factories/PendleGaugeController__factory.ts +0 -149
  257. package/typechain-types/factories/PendleJoeLpSCY__factory.ts +0 -732
  258. package/typechain-types/factories/PendleVotingController__factory.ts +0 -584
  259. package/typechain-types/factories/VotingControllerStorage__factory.ts +0 -298
  260. package/typechain-types/factories/VotingEscrowController__factory.ts +0 -80
  261. package/typechain-types/factories/VotingEscrowToken__factory.ts +0 -225
@@ -10,7 +10,7 @@ import {
10
10
  Signer,
11
11
  utils,
12
12
  } from "ethers";
13
- import { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
13
+ import { FunctionFragment, Result } from "@ethersproject/abi";
14
14
  import { Listener, Provider } from "@ethersproject/providers";
15
15
  import type {
16
16
  TypedEventFilter,
@@ -32,75 +32,9 @@ export interface ActionSCYAndPTBaseInterface extends utils.Interface {
32
32
 
33
33
  decodeFunctionResult(functionFragment: "joeFactory", data: BytesLike): Result;
34
34
 
35
- events: {
36
- "MintPyFromRawToken(address,address,uint256,address,uint256)": EventFragment;
37
- "MintScyFromRawToken(address,address,uint256,address,uint256)": EventFragment;
38
- "RedeemPyToRawToken(address,address,uint256,address,uint256)": EventFragment;
39
- "RedeemScyToRawToken(address,address,uint256,address,uint256)": EventFragment;
40
- };
41
-
42
- getEvent(nameOrSignatureOrTopic: "MintPyFromRawToken"): EventFragment;
43
- getEvent(nameOrSignatureOrTopic: "MintScyFromRawToken"): EventFragment;
44
- getEvent(nameOrSignatureOrTopic: "RedeemPyToRawToken"): EventFragment;
45
- getEvent(nameOrSignatureOrTopic: "RedeemScyToRawToken"): EventFragment;
35
+ events: {};
46
36
  }
47
37
 
48
- export type MintPyFromRawTokenEvent = TypedEvent<
49
- [string, string, BigNumber, string, BigNumber],
50
- {
51
- user: string;
52
- rawTokenIn: string;
53
- netRawTokenIn: BigNumber;
54
- YT: string;
55
- netPyOut: BigNumber;
56
- }
57
- >;
58
-
59
- export type MintPyFromRawTokenEventFilter =
60
- TypedEventFilter<MintPyFromRawTokenEvent>;
61
-
62
- export type MintScyFromRawTokenEvent = TypedEvent<
63
- [string, string, BigNumber, string, BigNumber],
64
- {
65
- user: string;
66
- rawTokenIn: string;
67
- netRawTokenIn: BigNumber;
68
- SCY: string;
69
- netScyOut: BigNumber;
70
- }
71
- >;
72
-
73
- export type MintScyFromRawTokenEventFilter =
74
- TypedEventFilter<MintScyFromRawTokenEvent>;
75
-
76
- export type RedeemPyToRawTokenEvent = TypedEvent<
77
- [string, string, BigNumber, string, BigNumber],
78
- {
79
- user: string;
80
- YT: string;
81
- netPyIn: BigNumber;
82
- rawTokenOut: string;
83
- netRawTokenOut: BigNumber;
84
- }
85
- >;
86
-
87
- export type RedeemPyToRawTokenEventFilter =
88
- TypedEventFilter<RedeemPyToRawTokenEvent>;
89
-
90
- export type RedeemScyToRawTokenEvent = TypedEvent<
91
- [string, string, BigNumber, string, BigNumber],
92
- {
93
- user: string;
94
- SCY: string;
95
- netScyIn: BigNumber;
96
- rawTokenOut: string;
97
- netRawTokenOut: BigNumber;
98
- }
99
- >;
100
-
101
- export type RedeemScyToRawTokenEventFilter =
102
- TypedEventFilter<RedeemScyToRawTokenEvent>;
103
-
104
38
  export interface ActionSCYAndPTBase extends BaseContract {
105
39
  contractName: "ActionSCYAndPTBase";
106
40
  connect(signerOrProvider: Signer | Provider | string): this;
@@ -138,67 +72,7 @@ export interface ActionSCYAndPTBase extends BaseContract {
138
72
  joeFactory(overrides?: CallOverrides): Promise<string>;
139
73
  };
140
74
 
141
- filters: {
142
- "MintPyFromRawToken(address,address,uint256,address,uint256)"(
143
- user?: string | null,
144
- rawTokenIn?: string | null,
145
- netRawTokenIn?: null,
146
- YT?: string | null,
147
- netPyOut?: null
148
- ): MintPyFromRawTokenEventFilter;
149
- MintPyFromRawToken(
150
- user?: string | null,
151
- rawTokenIn?: string | null,
152
- netRawTokenIn?: null,
153
- YT?: string | null,
154
- netPyOut?: null
155
- ): MintPyFromRawTokenEventFilter;
156
-
157
- "MintScyFromRawToken(address,address,uint256,address,uint256)"(
158
- user?: string | null,
159
- rawTokenIn?: string | null,
160
- netRawTokenIn?: null,
161
- SCY?: string | null,
162
- netScyOut?: null
163
- ): MintScyFromRawTokenEventFilter;
164
- MintScyFromRawToken(
165
- user?: string | null,
166
- rawTokenIn?: string | null,
167
- netRawTokenIn?: null,
168
- SCY?: string | null,
169
- netScyOut?: null
170
- ): MintScyFromRawTokenEventFilter;
171
-
172
- "RedeemPyToRawToken(address,address,uint256,address,uint256)"(
173
- user?: string | null,
174
- YT?: string | null,
175
- netPyIn?: null,
176
- rawTokenOut?: string | null,
177
- netRawTokenOut?: null
178
- ): RedeemPyToRawTokenEventFilter;
179
- RedeemPyToRawToken(
180
- user?: string | null,
181
- YT?: string | null,
182
- netPyIn?: null,
183
- rawTokenOut?: string | null,
184
- netRawTokenOut?: null
185
- ): RedeemPyToRawTokenEventFilter;
186
-
187
- "RedeemScyToRawToken(address,address,uint256,address,uint256)"(
188
- user?: string | null,
189
- SCY?: string | null,
190
- netScyIn?: null,
191
- rawTokenOut?: string | null,
192
- netRawTokenOut?: null
193
- ): RedeemScyToRawTokenEventFilter;
194
- RedeemScyToRawToken(
195
- user?: string | null,
196
- SCY?: string | null,
197
- netScyIn?: null,
198
- rawTokenOut?: string | null,
199
- netRawTokenOut?: null
200
- ): RedeemScyToRawTokenEventFilter;
201
- };
75
+ filters: {};
202
76
 
203
77
  estimateGas: {
204
78
  joeFactory(overrides?: CallOverrides): Promise<BigNumber>;
@@ -10,7 +10,7 @@ import {
10
10
  Signer,
11
11
  utils,
12
12
  } from "ethers";
13
- import { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
13
+ import { FunctionFragment, Result } from "@ethersproject/abi";
14
14
  import { Listener, Provider } from "@ethersproject/providers";
15
15
  import type {
16
16
  TypedEventFilter,
@@ -32,75 +32,9 @@ export interface ActionSCYAndPYBaseInterface extends utils.Interface {
32
32
 
33
33
  decodeFunctionResult(functionFragment: "joeFactory", data: BytesLike): Result;
34
34
 
35
- events: {
36
- "MintPyFromRawToken(address,address,uint256,address,uint256)": EventFragment;
37
- "MintScyFromRawToken(address,address,uint256,address,uint256)": EventFragment;
38
- "RedeemPyToRawToken(address,address,uint256,address,uint256)": EventFragment;
39
- "RedeemScyToRawToken(address,address,uint256,address,uint256)": EventFragment;
40
- };
41
-
42
- getEvent(nameOrSignatureOrTopic: "MintPyFromRawToken"): EventFragment;
43
- getEvent(nameOrSignatureOrTopic: "MintScyFromRawToken"): EventFragment;
44
- getEvent(nameOrSignatureOrTopic: "RedeemPyToRawToken"): EventFragment;
45
- getEvent(nameOrSignatureOrTopic: "RedeemScyToRawToken"): EventFragment;
35
+ events: {};
46
36
  }
47
37
 
48
- export type MintPyFromRawTokenEvent = TypedEvent<
49
- [string, string, BigNumber, string, BigNumber],
50
- {
51
- user: string;
52
- rawTokenIn: string;
53
- netRawTokenIn: BigNumber;
54
- YT: string;
55
- netPyOut: BigNumber;
56
- }
57
- >;
58
-
59
- export type MintPyFromRawTokenEventFilter =
60
- TypedEventFilter<MintPyFromRawTokenEvent>;
61
-
62
- export type MintScyFromRawTokenEvent = TypedEvent<
63
- [string, string, BigNumber, string, BigNumber],
64
- {
65
- user: string;
66
- rawTokenIn: string;
67
- netRawTokenIn: BigNumber;
68
- SCY: string;
69
- netScyOut: BigNumber;
70
- }
71
- >;
72
-
73
- export type MintScyFromRawTokenEventFilter =
74
- TypedEventFilter<MintScyFromRawTokenEvent>;
75
-
76
- export type RedeemPyToRawTokenEvent = TypedEvent<
77
- [string, string, BigNumber, string, BigNumber],
78
- {
79
- user: string;
80
- YT: string;
81
- netPyIn: BigNumber;
82
- rawTokenOut: string;
83
- netRawTokenOut: BigNumber;
84
- }
85
- >;
86
-
87
- export type RedeemPyToRawTokenEventFilter =
88
- TypedEventFilter<RedeemPyToRawTokenEvent>;
89
-
90
- export type RedeemScyToRawTokenEvent = TypedEvent<
91
- [string, string, BigNumber, string, BigNumber],
92
- {
93
- user: string;
94
- SCY: string;
95
- netScyIn: BigNumber;
96
- rawTokenOut: string;
97
- netRawTokenOut: BigNumber;
98
- }
99
- >;
100
-
101
- export type RedeemScyToRawTokenEventFilter =
102
- TypedEventFilter<RedeemScyToRawTokenEvent>;
103
-
104
38
  export interface ActionSCYAndPYBase extends BaseContract {
105
39
  contractName: "ActionSCYAndPYBase";
106
40
  connect(signerOrProvider: Signer | Provider | string): this;
@@ -138,67 +72,7 @@ export interface ActionSCYAndPYBase extends BaseContract {
138
72
  joeFactory(overrides?: CallOverrides): Promise<string>;
139
73
  };
140
74
 
141
- filters: {
142
- "MintPyFromRawToken(address,address,uint256,address,uint256)"(
143
- user?: string | null,
144
- rawTokenIn?: string | null,
145
- netRawTokenIn?: null,
146
- YT?: string | null,
147
- netPyOut?: null
148
- ): MintPyFromRawTokenEventFilter;
149
- MintPyFromRawToken(
150
- user?: string | null,
151
- rawTokenIn?: string | null,
152
- netRawTokenIn?: null,
153
- YT?: string | null,
154
- netPyOut?: null
155
- ): MintPyFromRawTokenEventFilter;
156
-
157
- "MintScyFromRawToken(address,address,uint256,address,uint256)"(
158
- user?: string | null,
159
- rawTokenIn?: string | null,
160
- netRawTokenIn?: null,
161
- SCY?: string | null,
162
- netScyOut?: null
163
- ): MintScyFromRawTokenEventFilter;
164
- MintScyFromRawToken(
165
- user?: string | null,
166
- rawTokenIn?: string | null,
167
- netRawTokenIn?: null,
168
- SCY?: string | null,
169
- netScyOut?: null
170
- ): MintScyFromRawTokenEventFilter;
171
-
172
- "RedeemPyToRawToken(address,address,uint256,address,uint256)"(
173
- user?: string | null,
174
- YT?: string | null,
175
- netPyIn?: null,
176
- rawTokenOut?: string | null,
177
- netRawTokenOut?: null
178
- ): RedeemPyToRawTokenEventFilter;
179
- RedeemPyToRawToken(
180
- user?: string | null,
181
- YT?: string | null,
182
- netPyIn?: null,
183
- rawTokenOut?: string | null,
184
- netRawTokenOut?: null
185
- ): RedeemPyToRawTokenEventFilter;
186
-
187
- "RedeemScyToRawToken(address,address,uint256,address,uint256)"(
188
- user?: string | null,
189
- SCY?: string | null,
190
- netScyIn?: null,
191
- rawTokenOut?: string | null,
192
- netRawTokenOut?: null
193
- ): RedeemScyToRawTokenEventFilter;
194
- RedeemScyToRawToken(
195
- user?: string | null,
196
- SCY?: string | null,
197
- netScyIn?: null,
198
- rawTokenOut?: string | null,
199
- netRawTokenOut?: null
200
- ): RedeemScyToRawTokenEventFilter;
201
- };
75
+ filters: {};
202
76
 
203
77
  estimateGas: {
204
78
  joeFactory(overrides?: CallOverrides): Promise<BigNumber>;
@@ -10,7 +10,7 @@ import {
10
10
  Signer,
11
11
  utils,
12
12
  } from "ethers";
13
- import { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
13
+ import { FunctionFragment, Result } from "@ethersproject/abi";
14
14
  import { Listener, Provider } from "@ethersproject/providers";
15
15
  import type {
16
16
  TypedEventFilter,
@@ -32,84 +32,9 @@ export interface ActionSCYAndYTBaseInterface extends utils.Interface {
32
32
 
33
33
  decodeFunctionResult(functionFragment: "joeFactory", data: BytesLike): Result;
34
34
 
35
- events: {
36
- "MintPyFromRawToken(address,address,uint256,address,uint256)": EventFragment;
37
- "MintScyFromRawToken(address,address,uint256,address,uint256)": EventFragment;
38
- "RedeemPyToRawToken(address,address,uint256,address,uint256)": EventFragment;
39
- "RedeemScyToRawToken(address,address,uint256,address,uint256)": EventFragment;
40
- "SwapYTAndSCY(address,int256,int256)": EventFragment;
41
- };
42
-
43
- getEvent(nameOrSignatureOrTopic: "MintPyFromRawToken"): EventFragment;
44
- getEvent(nameOrSignatureOrTopic: "MintScyFromRawToken"): EventFragment;
45
- getEvent(nameOrSignatureOrTopic: "RedeemPyToRawToken"): EventFragment;
46
- getEvent(nameOrSignatureOrTopic: "RedeemScyToRawToken"): EventFragment;
47
- getEvent(nameOrSignatureOrTopic: "SwapYTAndSCY"): EventFragment;
35
+ events: {};
48
36
  }
49
37
 
50
- export type MintPyFromRawTokenEvent = TypedEvent<
51
- [string, string, BigNumber, string, BigNumber],
52
- {
53
- user: string;
54
- rawTokenIn: string;
55
- netRawTokenIn: BigNumber;
56
- YT: string;
57
- netPyOut: BigNumber;
58
- }
59
- >;
60
-
61
- export type MintPyFromRawTokenEventFilter =
62
- TypedEventFilter<MintPyFromRawTokenEvent>;
63
-
64
- export type MintScyFromRawTokenEvent = TypedEvent<
65
- [string, string, BigNumber, string, BigNumber],
66
- {
67
- user: string;
68
- rawTokenIn: string;
69
- netRawTokenIn: BigNumber;
70
- SCY: string;
71
- netScyOut: BigNumber;
72
- }
73
- >;
74
-
75
- export type MintScyFromRawTokenEventFilter =
76
- TypedEventFilter<MintScyFromRawTokenEvent>;
77
-
78
- export type RedeemPyToRawTokenEvent = TypedEvent<
79
- [string, string, BigNumber, string, BigNumber],
80
- {
81
- user: string;
82
- YT: string;
83
- netPyIn: BigNumber;
84
- rawTokenOut: string;
85
- netRawTokenOut: BigNumber;
86
- }
87
- >;
88
-
89
- export type RedeemPyToRawTokenEventFilter =
90
- TypedEventFilter<RedeemPyToRawTokenEvent>;
91
-
92
- export type RedeemScyToRawTokenEvent = TypedEvent<
93
- [string, string, BigNumber, string, BigNumber],
94
- {
95
- user: string;
96
- SCY: string;
97
- netScyIn: BigNumber;
98
- rawTokenOut: string;
99
- netRawTokenOut: BigNumber;
100
- }
101
- >;
102
-
103
- export type RedeemScyToRawTokenEventFilter =
104
- TypedEventFilter<RedeemScyToRawTokenEvent>;
105
-
106
- export type SwapYTAndSCYEvent = TypedEvent<
107
- [string, BigNumber, BigNumber],
108
- { user: string; ytToAccount: BigNumber; scyToAccount: BigNumber }
109
- >;
110
-
111
- export type SwapYTAndSCYEventFilter = TypedEventFilter<SwapYTAndSCYEvent>;
112
-
113
38
  export interface ActionSCYAndYTBase extends BaseContract {
114
39
  contractName: "ActionSCYAndYTBase";
115
40
  connect(signerOrProvider: Signer | Provider | string): this;
@@ -147,78 +72,7 @@ export interface ActionSCYAndYTBase extends BaseContract {
147
72
  joeFactory(overrides?: CallOverrides): Promise<string>;
148
73
  };
149
74
 
150
- filters: {
151
- "MintPyFromRawToken(address,address,uint256,address,uint256)"(
152
- user?: string | null,
153
- rawTokenIn?: string | null,
154
- netRawTokenIn?: null,
155
- YT?: string | null,
156
- netPyOut?: null
157
- ): MintPyFromRawTokenEventFilter;
158
- MintPyFromRawToken(
159
- user?: string | null,
160
- rawTokenIn?: string | null,
161
- netRawTokenIn?: null,
162
- YT?: string | null,
163
- netPyOut?: null
164
- ): MintPyFromRawTokenEventFilter;
165
-
166
- "MintScyFromRawToken(address,address,uint256,address,uint256)"(
167
- user?: string | null,
168
- rawTokenIn?: string | null,
169
- netRawTokenIn?: null,
170
- SCY?: string | null,
171
- netScyOut?: null
172
- ): MintScyFromRawTokenEventFilter;
173
- MintScyFromRawToken(
174
- user?: string | null,
175
- rawTokenIn?: string | null,
176
- netRawTokenIn?: null,
177
- SCY?: string | null,
178
- netScyOut?: null
179
- ): MintScyFromRawTokenEventFilter;
180
-
181
- "RedeemPyToRawToken(address,address,uint256,address,uint256)"(
182
- user?: string | null,
183
- YT?: string | null,
184
- netPyIn?: null,
185
- rawTokenOut?: string | null,
186
- netRawTokenOut?: null
187
- ): RedeemPyToRawTokenEventFilter;
188
- RedeemPyToRawToken(
189
- user?: string | null,
190
- YT?: string | null,
191
- netPyIn?: null,
192
- rawTokenOut?: string | null,
193
- netRawTokenOut?: null
194
- ): RedeemPyToRawTokenEventFilter;
195
-
196
- "RedeemScyToRawToken(address,address,uint256,address,uint256)"(
197
- user?: string | null,
198
- SCY?: string | null,
199
- netScyIn?: null,
200
- rawTokenOut?: string | null,
201
- netRawTokenOut?: null
202
- ): RedeemScyToRawTokenEventFilter;
203
- RedeemScyToRawToken(
204
- user?: string | null,
205
- SCY?: string | null,
206
- netScyIn?: null,
207
- rawTokenOut?: string | null,
208
- netRawTokenOut?: null
209
- ): RedeemScyToRawTokenEventFilter;
210
-
211
- "SwapYTAndSCY(address,int256,int256)"(
212
- user?: string | null,
213
- ytToAccount?: null,
214
- scyToAccount?: null
215
- ): SwapYTAndSCYEventFilter;
216
- SwapYTAndSCY(
217
- user?: string | null,
218
- ytToAccount?: null,
219
- scyToAccount?: null
220
- ): SwapYTAndSCYEventFilter;
221
- };
75
+ filters: {};
222
76
 
223
77
  estimateGas: {
224
78
  joeFactory(overrides?: CallOverrides): Promise<BigNumber>;
@@ -119,81 +119,38 @@ export interface ActionYTInterface extends utils.Interface {
119
119
  ): Result;
120
120
 
121
121
  events: {
122
- "MintPyFromRawToken(address,address,uint256,address,uint256)": EventFragment;
123
- "MintScyFromRawToken(address,address,uint256,address,uint256)": EventFragment;
124
- "RedeemPyToRawToken(address,address,uint256,address,uint256)": EventFragment;
125
- "RedeemScyToRawToken(address,address,uint256,address,uint256)": EventFragment;
126
- "SwapYTAndSCY(address,int256,int256)": EventFragment;
122
+ "SwapYTAndRawToken(address,address,address,int256,int256)": EventFragment;
123
+ "SwapYTAndSCY(address,address,int256,int256)": EventFragment;
127
124
  };
128
125
 
129
- getEvent(nameOrSignatureOrTopic: "MintPyFromRawToken"): EventFragment;
130
- getEvent(nameOrSignatureOrTopic: "MintScyFromRawToken"): EventFragment;
131
- getEvent(nameOrSignatureOrTopic: "RedeemPyToRawToken"): EventFragment;
132
- getEvent(nameOrSignatureOrTopic: "RedeemScyToRawToken"): EventFragment;
126
+ getEvent(nameOrSignatureOrTopic: "SwapYTAndRawToken"): EventFragment;
133
127
  getEvent(nameOrSignatureOrTopic: "SwapYTAndSCY"): EventFragment;
134
128
  }
135
129
 
136
- export type MintPyFromRawTokenEvent = TypedEvent<
137
- [string, string, BigNumber, string, BigNumber],
130
+ export type SwapYTAndRawTokenEvent = TypedEvent<
131
+ [string, string, string, BigNumber, BigNumber],
138
132
  {
139
133
  user: string;
140
- rawTokenIn: string;
141
- netRawTokenIn: BigNumber;
142
- YT: string;
143
- netPyOut: BigNumber;
134
+ market: string;
135
+ rawToken: string;
136
+ ytToAccount: BigNumber;
137
+ rawTokenToAccount: BigNumber;
144
138
  }
145
139
  >;
146
140
 
147
- export type MintPyFromRawTokenEventFilter =
148
- TypedEventFilter<MintPyFromRawTokenEvent>;
141
+ export type SwapYTAndRawTokenEventFilter =
142
+ TypedEventFilter<SwapYTAndRawTokenEvent>;
149
143
 
150
- export type MintScyFromRawTokenEvent = TypedEvent<
151
- [string, string, BigNumber, string, BigNumber],
152
- {
153
- user: string;
154
- rawTokenIn: string;
155
- netRawTokenIn: BigNumber;
156
- SCY: string;
157
- netScyOut: BigNumber;
158
- }
159
- >;
160
-
161
- export type MintScyFromRawTokenEventFilter =
162
- TypedEventFilter<MintScyFromRawTokenEvent>;
163
-
164
- export type RedeemPyToRawTokenEvent = TypedEvent<
165
- [string, string, BigNumber, string, BigNumber],
166
- {
167
- user: string;
168
- YT: string;
169
- netPyIn: BigNumber;
170
- rawTokenOut: string;
171
- netRawTokenOut: BigNumber;
172
- }
173
- >;
174
-
175
- export type RedeemPyToRawTokenEventFilter =
176
- TypedEventFilter<RedeemPyToRawTokenEvent>;
177
-
178
- export type RedeemScyToRawTokenEvent = TypedEvent<
179
- [string, string, BigNumber, string, BigNumber],
144
+ export type SwapYTAndSCYEvent = TypedEvent<
145
+ [string, string, BigNumber, BigNumber],
180
146
  {
181
147
  user: string;
182
- SCY: string;
183
- netScyIn: BigNumber;
184
- rawTokenOut: string;
185
- netRawTokenOut: BigNumber;
148
+ market: string;
149
+ ytToAccount: BigNumber;
150
+ scyToAccount: BigNumber;
186
151
  }
187
152
  >;
188
153
 
189
- export type RedeemScyToRawTokenEventFilter =
190
- TypedEventFilter<RedeemScyToRawTokenEvent>;
191
-
192
- export type SwapYTAndSCYEvent = TypedEvent<
193
- [string, BigNumber, BigNumber],
194
- { user: string; ytToAccount: BigNumber; scyToAccount: BigNumber }
195
- >;
196
-
197
154
  export type SwapYTAndSCYEventFilter = TypedEventFilter<SwapYTAndSCYEvent>;
198
155
 
199
156
  export interface ActionYT extends BaseContract {
@@ -393,73 +350,30 @@ export interface ActionYT extends BaseContract {
393
350
  };
394
351
 
395
352
  filters: {
396
- "MintPyFromRawToken(address,address,uint256,address,uint256)"(
397
- user?: string | null,
398
- rawTokenIn?: string | null,
399
- netRawTokenIn?: null,
400
- YT?: string | null,
401
- netPyOut?: null
402
- ): MintPyFromRawTokenEventFilter;
403
- MintPyFromRawToken(
404
- user?: string | null,
405
- rawTokenIn?: string | null,
406
- netRawTokenIn?: null,
407
- YT?: string | null,
408
- netPyOut?: null
409
- ): MintPyFromRawTokenEventFilter;
410
-
411
- "MintScyFromRawToken(address,address,uint256,address,uint256)"(
412
- user?: string | null,
413
- rawTokenIn?: string | null,
414
- netRawTokenIn?: null,
415
- SCY?: string | null,
416
- netScyOut?: null
417
- ): MintScyFromRawTokenEventFilter;
418
- MintScyFromRawToken(
353
+ "SwapYTAndRawToken(address,address,address,int256,int256)"(
419
354
  user?: string | null,
420
- rawTokenIn?: string | null,
421
- netRawTokenIn?: null,
422
- SCY?: string | null,
423
- netScyOut?: null
424
- ): MintScyFromRawTokenEventFilter;
425
-
426
- "RedeemPyToRawToken(address,address,uint256,address,uint256)"(
427
- user?: string | null,
428
- YT?: string | null,
429
- netPyIn?: null,
430
- rawTokenOut?: string | null,
431
- netRawTokenOut?: null
432
- ): RedeemPyToRawTokenEventFilter;
433
- RedeemPyToRawToken(
434
- user?: string | null,
435
- YT?: string | null,
436
- netPyIn?: null,
437
- rawTokenOut?: string | null,
438
- netRawTokenOut?: null
439
- ): RedeemPyToRawTokenEventFilter;
440
-
441
- "RedeemScyToRawToken(address,address,uint256,address,uint256)"(
442
- user?: string | null,
443
- SCY?: string | null,
444
- netScyIn?: null,
445
- rawTokenOut?: string | null,
446
- netRawTokenOut?: null
447
- ): RedeemScyToRawTokenEventFilter;
448
- RedeemScyToRawToken(
355
+ market?: string | null,
356
+ rawToken?: string | null,
357
+ ytToAccount?: null,
358
+ rawTokenToAccount?: null
359
+ ): SwapYTAndRawTokenEventFilter;
360
+ SwapYTAndRawToken(
449
361
  user?: string | null,
450
- SCY?: string | null,
451
- netScyIn?: null,
452
- rawTokenOut?: string | null,
453
- netRawTokenOut?: null
454
- ): RedeemScyToRawTokenEventFilter;
362
+ market?: string | null,
363
+ rawToken?: string | null,
364
+ ytToAccount?: null,
365
+ rawTokenToAccount?: null
366
+ ): SwapYTAndRawTokenEventFilter;
455
367
 
456
- "SwapYTAndSCY(address,int256,int256)"(
368
+ "SwapYTAndSCY(address,address,int256,int256)"(
457
369
  user?: string | null,
370
+ market?: string | null,
458
371
  ytToAccount?: null,
459
372
  scyToAccount?: null
460
373
  ): SwapYTAndSCYEventFilter;
461
374
  SwapYTAndSCY(
462
375
  user?: string | null,
376
+ market?: string | null,
463
377
  ytToAccount?: null,
464
378
  scyToAccount?: null
465
379
  ): SwapYTAndSCYEventFilter;