@pendle/core-v2 0.8.0-beta → 0.8.0-beta-3

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 (278) 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 +50 -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 +249 -4
  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/PendleYearnVaultScy.sol +8 -4
  157. package/contracts/SuperComposableYield/base-implementations/SCYBase.sol +1 -1
  158. package/contracts/core/Market/PendleMarket.sol +2 -2
  159. package/contracts/core/YieldContracts/PendleYieldToken.sol +26 -0
  160. package/contracts/core/actions/ActionCallback.sol +1 -3
  161. package/contracts/core/actions/base/ActionSCYAndPTBase.sol +2 -2
  162. package/contracts/core/actions/base/ActionSCYAndYTBase.sol +4 -1
  163. package/contracts/interfaces/IPRouterStatic.sol +7 -2
  164. package/contracts/interfaces/IYearnVault.sol +5 -1
  165. package/contracts/libraries/SCY/SCYIndex.sol +8 -1
  166. package/contracts/libraries/SCY/SCYUtils.sol +16 -0
  167. package/contracts/libraries/math/MarketMathCore.sol +21 -25
  168. package/contracts/libraries/math/Math.sol +0 -5
  169. package/contracts/offchain-helpers/RouterStatic.sol +137 -5
  170. package/deployments/43113-core.json +10 -10
  171. package/deployments/43113-markets/benqi-market-0x9f080Af83E84099ED92b1b9b4B4BbE4400f2A3CB.json +7 -0
  172. package/deployments/80001-core.json +9 -9
  173. package/deployments/80001-markets/benqi-market-0x78699fa58C484e9867B8047A12E959ccB8BaD90E.json +7 -0
  174. package/package.json +1 -1
  175. package/typechain-types/ActionCore.ts +180 -38
  176. package/typechain-types/ActionSCYAndPTBase.ts +3 -129
  177. package/typechain-types/ActionSCYAndPYBase.ts +3 -129
  178. package/typechain-types/ActionSCYAndYTBase.ts +3 -149
  179. package/typechain-types/ActionYT.ts +31 -117
  180. package/typechain-types/IPActionCore.ts +271 -3
  181. package/typechain-types/IPActionYT.ts +63 -3
  182. package/typechain-types/IPAllAction.ts +329 -3
  183. package/typechain-types/IPMarket.ts +38 -38
  184. package/typechain-types/IPRouterStatic.ts +61 -16
  185. package/typechain-types/IPVeToken.ts +0 -31
  186. package/typechain-types/IPVotingEscrow.ts +3 -7
  187. package/typechain-types/IPYieldToken.ts +107 -30
  188. package/typechain-types/ISuperComposableYield.ts +78 -0
  189. package/typechain-types/IYearnVault.ts +100 -9
  190. package/typechain-types/PendleAaveV3SCY.ts +78 -0
  191. package/typechain-types/PendleERC4626SCY.ts +78 -0
  192. package/typechain-types/PendleGaugeControllerBaseUpg.ts +0 -13
  193. package/typechain-types/PendleGaugeControllerMainchainUpg.ts +0 -13
  194. package/typechain-types/PendleGaugeControllerSidechainUpg.ts +0 -13
  195. package/typechain-types/PendleMarket.ts +38 -142
  196. package/typechain-types/PendleQiTokenSCY.ts +78 -0
  197. package/typechain-types/PendleVotingControllerUpg.ts +139 -132
  198. package/typechain-types/PendleWstEthSCY.ts +78 -0
  199. package/typechain-types/PendleYearnVaultSCY.ts +78 -0
  200. package/typechain-types/PendleYieldToken.ts +186 -39
  201. package/typechain-types/RouterStatic.ts +402 -16
  202. package/typechain-types/SCYBase.ts +78 -0
  203. package/typechain-types/SCYBaseWithRewards.ts +78 -0
  204. package/typechain-types/VotingControllerStorageUpg.ts +93 -64
  205. package/typechain-types/VotingEscrowPendleMainchain.ts +11 -46
  206. package/typechain-types/VotingEscrowPendleSidechain.ts +8 -39
  207. package/typechain-types/VotingEscrowTokenBase.ts +8 -39
  208. package/typechain-types/factories/ActionCallback__factory.ts +1 -1
  209. package/typechain-types/factories/ActionCore__factory.ts +205 -15
  210. package/typechain-types/factories/ActionSCYAndPTBase__factory.ts +0 -148
  211. package/typechain-types/factories/ActionSCYAndPYBase__factory.ts +0 -148
  212. package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +0 -173
  213. package/typechain-types/factories/ActionYT__factory.ts +11 -116
  214. package/typechain-types/factories/ERC20__factory.ts +1 -1
  215. package/typechain-types/factories/IPActionCore__factory.ts +338 -0
  216. package/typechain-types/factories/IPActionYT__factory.ts +68 -0
  217. package/typechain-types/factories/IPAllAction__factory.ts +406 -0
  218. package/typechain-types/factories/IPMarket__factory.ts +28 -28
  219. package/typechain-types/factories/IPRouterStatic__factory.ts +31 -2
  220. package/typechain-types/factories/IPVeToken__factory.ts +0 -19
  221. package/typechain-types/factories/IPVotingEscrow__factory.ts +1 -7
  222. package/typechain-types/factories/IPYieldToken__factory.ts +97 -16
  223. package/typechain-types/factories/ISuperComposableYield__factory.ts +48 -0
  224. package/typechain-types/factories/IYearnVault__factory.ts +74 -1
  225. package/typechain-types/factories/PendleAaveV3SCY__factory.ts +49 -1
  226. package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
  227. package/typechain-types/factories/PendleERC20__factory.ts +1 -1
  228. package/typechain-types/factories/PendleERC4626SCY__factory.ts +49 -1
  229. package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +0 -13
  230. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -14
  231. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -14
  232. package/typechain-types/factories/PendleGovernanceManager__factory.ts +1 -1
  233. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  234. package/typechain-types/factories/PendleMarket__factory.ts +29 -104
  235. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  236. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  237. package/typechain-types/factories/PendleQiTokenSCY__factory.ts +49 -1
  238. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  239. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +59 -57
  240. package/typechain-types/factories/PendleWstEthSCY__factory.ts +49 -1
  241. package/typechain-types/factories/PendleYearnVaultSCY__factory.ts +49 -1
  242. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  243. package/typechain-types/factories/PendleYieldToken__factory.ts +136 -17
  244. package/typechain-types/factories/RouterStatic__factory.ts +248 -3
  245. package/typechain-types/factories/SCYBaseWithRewards__factory.ts +48 -0
  246. package/typechain-types/factories/SCYBase__factory.ts +48 -0
  247. package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +39 -24
  248. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +3 -28
  249. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +2 -21
  250. package/typechain-types/factories/VotingEscrowTokenBase__factory.ts +1 -20
  251. package/deployments/43113-markets/benqi-market-0xF3150c14F776c50C9D397054d38979c7B77FC41D.json +0 -7
  252. package/deployments/80001-markets/benqi-market-0x150b6eb90Bf636eC0c4328d13d1e1d4adDBAF904.json +0 -7
  253. package/typechain-types/CelerReceiver.ts +0 -267
  254. package/typechain-types/CelerSender.ts +0 -164
  255. package/typechain-types/IPMarketAddRemoveCallback.ts +0 -169
  256. package/typechain-types/IPVotingEscrowController.ts +0 -154
  257. package/typechain-types/PendleBtrflyScy.ts +0 -822
  258. package/typechain-types/PendleGaugeController.ts +0 -282
  259. package/typechain-types/PendleGaugeControllerMainchain.ts +0 -346
  260. package/typechain-types/PendleGaugeControllerSidechain.ts +0 -460
  261. package/typechain-types/PendleJoeLpSCY.ts +0 -835
  262. package/typechain-types/PendleVotingController.ts +0 -865
  263. package/typechain-types/VotingControllerStorage.ts +0 -410
  264. package/typechain-types/VotingEscrowController.ts +0 -154
  265. package/typechain-types/VotingEscrowToken.ts +0 -335
  266. package/typechain-types/factories/CelerReceiver__factory.ts +0 -140
  267. package/typechain-types/factories/CelerSender__factory.ts +0 -67
  268. package/typechain-types/factories/IPMarketAddRemoveCallback__factory.ts +0 -86
  269. package/typechain-types/factories/IPVotingEscrowController__factory.ts +0 -80
  270. package/typechain-types/factories/PendleBtrflyScy__factory.ts +0 -728
  271. package/typechain-types/factories/PendleGaugeControllerMainchain__factory.ts +0 -269
  272. package/typechain-types/factories/PendleGaugeControllerSidechain__factory.ts +0 -328
  273. package/typechain-types/factories/PendleGaugeController__factory.ts +0 -149
  274. package/typechain-types/factories/PendleJoeLpSCY__factory.ts +0 -732
  275. package/typechain-types/factories/PendleVotingController__factory.ts +0 -584
  276. package/typechain-types/factories/VotingControllerStorage__factory.ts +0 -298
  277. package/typechain-types/factories/VotingEscrowController__factory.ts +0 -80
  278. 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,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;
@@ -13,7 +13,7 @@ import {
13
13
  Signer,
14
14
  utils,
15
15
  } from "ethers";
16
- import { FunctionFragment, Result } from "@ethersproject/abi";
16
+ import { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
17
17
  import { Listener, Provider } from "@ethersproject/providers";
18
18
  import type {
19
19
  TypedEventFilter,
@@ -175,9 +175,143 @@ export interface IPActionCoreInterface extends utils.Interface {
175
175
  data: BytesLike
176
176
  ): Result;
177
177
 
178
- events: {};
178
+ events: {
179
+ "AddLiquidity(address,address,address,uint256,uint256,uint256)": EventFragment;
180
+ "MintPyFromRawToken(address,address,address,address,uint256,uint256)": EventFragment;
181
+ "MintScyFromRawToken(address,address,address,address,uint256,uint256)": EventFragment;
182
+ "RedeemPyToRawToken(address,address,address,uint256,address,uint256)": EventFragment;
183
+ "RedeemScyToRawToken(address,address,address,uint256,address,uint256)": EventFragment;
184
+ "RemoveLiquidity(address,address,address,uint256,uint256,uint256)": EventFragment;
185
+ "SwapPtAndRawToken(address,address,address,address,int256,int256)": EventFragment;
186
+ "SwapPtAndScy(address,address,address,int256,int256)": EventFragment;
187
+ };
188
+
189
+ getEvent(nameOrSignatureOrTopic: "AddLiquidity"): EventFragment;
190
+ getEvent(nameOrSignatureOrTopic: "MintPyFromRawToken"): EventFragment;
191
+ getEvent(nameOrSignatureOrTopic: "MintScyFromRawToken"): EventFragment;
192
+ getEvent(nameOrSignatureOrTopic: "RedeemPyToRawToken"): EventFragment;
193
+ getEvent(nameOrSignatureOrTopic: "RedeemScyToRawToken"): EventFragment;
194
+ getEvent(nameOrSignatureOrTopic: "RemoveLiquidity"): EventFragment;
195
+ getEvent(nameOrSignatureOrTopic: "SwapPtAndRawToken"): EventFragment;
196
+ getEvent(nameOrSignatureOrTopic: "SwapPtAndScy"): EventFragment;
179
197
  }
180
198
 
199
+ export type AddLiquidityEvent = TypedEvent<
200
+ [string, string, string, BigNumber, BigNumber, BigNumber],
201
+ {
202
+ caller: string;
203
+ market: string;
204
+ receiver: string;
205
+ scyUsed: BigNumber;
206
+ ptUsed: BigNumber;
207
+ lpOut: BigNumber;
208
+ }
209
+ >;
210
+
211
+ export type AddLiquidityEventFilter = TypedEventFilter<AddLiquidityEvent>;
212
+
213
+ export type MintPyFromRawTokenEvent = TypedEvent<
214
+ [string, string, string, string, BigNumber, BigNumber],
215
+ {
216
+ caller: string;
217
+ receiver: string;
218
+ YT: string;
219
+ rawTokenIn: string;
220
+ netRawTokenIn: BigNumber;
221
+ netPyOut: BigNumber;
222
+ }
223
+ >;
224
+
225
+ export type MintPyFromRawTokenEventFilter =
226
+ TypedEventFilter<MintPyFromRawTokenEvent>;
227
+
228
+ export type MintScyFromRawTokenEvent = TypedEvent<
229
+ [string, string, string, string, BigNumber, BigNumber],
230
+ {
231
+ caller: string;
232
+ receiver: string;
233
+ SCY: string;
234
+ rawTokenIn: string;
235
+ netRawTokenIn: BigNumber;
236
+ netScyOut: BigNumber;
237
+ }
238
+ >;
239
+
240
+ export type MintScyFromRawTokenEventFilter =
241
+ TypedEventFilter<MintScyFromRawTokenEvent>;
242
+
243
+ export type RedeemPyToRawTokenEvent = TypedEvent<
244
+ [string, string, string, BigNumber, string, BigNumber],
245
+ {
246
+ caller: string;
247
+ receiver: string;
248
+ YT: string;
249
+ netPyIn: BigNumber;
250
+ rawTokenOut: string;
251
+ netRawTokenOut: BigNumber;
252
+ }
253
+ >;
254
+
255
+ export type RedeemPyToRawTokenEventFilter =
256
+ TypedEventFilter<RedeemPyToRawTokenEvent>;
257
+
258
+ export type RedeemScyToRawTokenEvent = TypedEvent<
259
+ [string, string, string, BigNumber, string, BigNumber],
260
+ {
261
+ caller: string;
262
+ receiver: string;
263
+ SCY: string;
264
+ netScyIn: BigNumber;
265
+ rawTokenOut: string;
266
+ netRawTokenOut: BigNumber;
267
+ }
268
+ >;
269
+
270
+ export type RedeemScyToRawTokenEventFilter =
271
+ TypedEventFilter<RedeemScyToRawTokenEvent>;
272
+
273
+ export type RemoveLiquidityEvent = TypedEvent<
274
+ [string, string, string, BigNumber, BigNumber, BigNumber],
275
+ {
276
+ caller: string;
277
+ market: string;
278
+ receiver: string;
279
+ lpIn: BigNumber;
280
+ amountPTOut: BigNumber;
281
+ amountSCYOut: BigNumber;
282
+ }
283
+ >;
284
+
285
+ export type RemoveLiquidityEventFilter = TypedEventFilter<RemoveLiquidityEvent>;
286
+
287
+ export type SwapPtAndRawTokenEvent = TypedEvent<
288
+ [string, string, string, string, BigNumber, BigNumber],
289
+ {
290
+ caller: string;
291
+ market: string;
292
+ rawToken: string;
293
+ receiver: string;
294
+ amountPtToAccount: BigNumber;
295
+ amountRawTokenToAccount: BigNumber;
296
+ }
297
+ >;
298
+
299
+ export type SwapPtAndRawTokenEventFilter =
300
+ TypedEventFilter<SwapPtAndRawTokenEvent>;
301
+
302
+ export type SwapPtAndScyEvent = TypedEvent<
303
+ [string, string, string, BigNumber, BigNumber],
304
+ {
305
+ caller: string;
306
+ market: string;
307
+ receiver: string;
308
+ amountPtToAccount: BigNumber;
309
+ amountScyToAccount: BigNumber;
310
+ }
311
+ >;
312
+
313
+ export type SwapPtAndScyEventFilter = TypedEventFilter<SwapPtAndScyEvent>;
314
+
181
315
  export interface IPActionCore extends BaseContract {
182
316
  contractName: "IPActionCore";
183
317
  connect(signerOrProvider: Signer | Provider | string): this;
@@ -569,7 +703,141 @@ export interface IPActionCore extends BaseContract {
569
703
  ): Promise<BigNumber>;
570
704
  };
571
705
 
572
- filters: {};
706
+ filters: {
707
+ "AddLiquidity(address,address,address,uint256,uint256,uint256)"(
708
+ caller?: string | null,
709
+ market?: string | null,
710
+ receiver?: string | null,
711
+ scyUsed?: null,
712
+ ptUsed?: null,
713
+ lpOut?: null
714
+ ): AddLiquidityEventFilter;
715
+ AddLiquidity(
716
+ caller?: string | null,
717
+ market?: string | null,
718
+ receiver?: string | null,
719
+ scyUsed?: null,
720
+ ptUsed?: null,
721
+ lpOut?: null
722
+ ): AddLiquidityEventFilter;
723
+
724
+ "MintPyFromRawToken(address,address,address,address,uint256,uint256)"(
725
+ caller?: string | null,
726
+ receiver?: string | null,
727
+ YT?: string | null,
728
+ rawTokenIn?: null,
729
+ netRawTokenIn?: null,
730
+ netPyOut?: null
731
+ ): MintPyFromRawTokenEventFilter;
732
+ MintPyFromRawToken(
733
+ caller?: string | null,
734
+ receiver?: string | null,
735
+ YT?: string | null,
736
+ rawTokenIn?: null,
737
+ netRawTokenIn?: null,
738
+ netPyOut?: null
739
+ ): MintPyFromRawTokenEventFilter;
740
+
741
+ "MintScyFromRawToken(address,address,address,address,uint256,uint256)"(
742
+ caller?: string | null,
743
+ receiver?: string | null,
744
+ SCY?: string | null,
745
+ rawTokenIn?: null,
746
+ netRawTokenIn?: null,
747
+ netScyOut?: null
748
+ ): MintScyFromRawTokenEventFilter;
749
+ MintScyFromRawToken(
750
+ caller?: string | null,
751
+ receiver?: string | null,
752
+ SCY?: string | null,
753
+ rawTokenIn?: null,
754
+ netRawTokenIn?: null,
755
+ netScyOut?: null
756
+ ): MintScyFromRawTokenEventFilter;
757
+
758
+ "RedeemPyToRawToken(address,address,address,uint256,address,uint256)"(
759
+ caller?: string | null,
760
+ receiver?: string | null,
761
+ YT?: string | null,
762
+ netPyIn?: null,
763
+ rawTokenOut?: null,
764
+ netRawTokenOut?: null
765
+ ): RedeemPyToRawTokenEventFilter;
766
+ RedeemPyToRawToken(
767
+ caller?: string | null,
768
+ receiver?: string | null,
769
+ YT?: string | null,
770
+ netPyIn?: null,
771
+ rawTokenOut?: null,
772
+ netRawTokenOut?: null
773
+ ): RedeemPyToRawTokenEventFilter;
774
+
775
+ "RedeemScyToRawToken(address,address,address,uint256,address,uint256)"(
776
+ caller?: string | null,
777
+ receiver?: string | null,
778
+ SCY?: string | null,
779
+ netScyIn?: null,
780
+ rawTokenOut?: null,
781
+ netRawTokenOut?: null
782
+ ): RedeemScyToRawTokenEventFilter;
783
+ RedeemScyToRawToken(
784
+ caller?: string | null,
785
+ receiver?: string | null,
786
+ SCY?: string | null,
787
+ netScyIn?: null,
788
+ rawTokenOut?: null,
789
+ netRawTokenOut?: null
790
+ ): RedeemScyToRawTokenEventFilter;
791
+
792
+ "RemoveLiquidity(address,address,address,uint256,uint256,uint256)"(
793
+ caller?: string | null,
794
+ market?: string | null,
795
+ receiver?: null,
796
+ lpIn?: null,
797
+ amountPTOut?: null,
798
+ amountSCYOut?: null
799
+ ): RemoveLiquidityEventFilter;
800
+ RemoveLiquidity(
801
+ caller?: string | null,
802
+ market?: string | null,
803
+ receiver?: null,
804
+ lpIn?: null,
805
+ amountPTOut?: null,
806
+ amountSCYOut?: null
807
+ ): RemoveLiquidityEventFilter;
808
+
809
+ "SwapPtAndRawToken(address,address,address,address,int256,int256)"(
810
+ caller?: string | null,
811
+ market?: string | null,
812
+ rawToken?: string | null,
813
+ receiver?: null,
814
+ amountPtToAccount?: null,
815
+ amountRawTokenToAccount?: null
816
+ ): SwapPtAndRawTokenEventFilter;
817
+ SwapPtAndRawToken(
818
+ caller?: string | null,
819
+ market?: string | null,
820
+ rawToken?: string | null,
821
+ receiver?: null,
822
+ amountPtToAccount?: null,
823
+ amountRawTokenToAccount?: null
824
+ ): SwapPtAndRawTokenEventFilter;
825
+
826
+ "SwapPtAndScy(address,address,address,int256,int256)"(
827
+ caller?: string | null,
828
+ market?: string | null,
829
+ receiver?: string | null,
830
+ amountPtToAccount?: null,
831
+ amountScyToAccount?: null
832
+ ): SwapPtAndScyEventFilter;
833
+ SwapPtAndScy(
834
+ caller?: string | null,
835
+ market?: string | null,
836
+ receiver?: string | null,
837
+ amountPtToAccount?: null,
838
+ amountScyToAccount?: null
839
+ ): SwapPtAndScyEventFilter;
840
+ };
573
841
 
574
842
  estimateGas: {
575
843
  addLiquidity(