@pendle/core-v2 0.9.0-gamma-2 → 0.9.2-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (486) hide show
  1. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +1 -1
  2. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +2 -2
  3. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +1 -1
  4. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.dbg.json +1 -1
  5. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.json +2 -2
  6. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  7. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +1 -1
  8. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.json +2 -2
  9. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.dbg.json +1 -1
  10. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.json +2 -2
  11. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.dbg.json +1 -1
  12. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.json +2 -2
  13. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +1 -1
  14. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.json +2 -2
  15. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.dbg.json +1 -1
  16. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.json +2 -2
  17. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +1 -1
  18. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.json +2 -2
  19. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.dbg.json +1 -1
  20. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.json +2 -2
  21. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.dbg.json +1 -1
  22. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.json +2 -2
  23. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
  24. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  30. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  32. package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  35. package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  38. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  40. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
  43. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  45. package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +2 -2
  48. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  52. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  54. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +2 -2
  56. package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.dbg.json +1 -1
  57. package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.json +185 -6
  58. package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +2 -2
  60. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +1 -1
  61. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +1 -1
  62. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.json +183 -4
  76. package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +183 -4
  79. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +2 -2
  90. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +1 -1
  110. package/build/artifacts/contracts/libraries/RewardManager.sol/RewardManager.dbg.json +1 -1
  111. package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  112. package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.dbg.json +1 -1
  113. package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  114. package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  115. package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  116. package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  117. package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  118. package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  119. package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  120. package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  121. package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.json +2 -2
  122. package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +1 -1
  123. package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  124. package/build/artifacts/contracts/libraries/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
  125. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  126. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +1 -1
  127. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.json +2 -2
  128. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  129. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +2 -2
  130. package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
  131. package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +2 -2
  132. package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.dbg.json +1 -1
  133. package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.dbg.json +1 -1
  134. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  135. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +80 -41
  136. package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
  137. package/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +1 -1
  138. package/contracts/core/PendleRouter.sol +4 -2
  139. package/contracts/core/actions/ActionCore.sol +71 -8
  140. package/contracts/core/actions/base/ActionSCYAndPTBase.sol +71 -14
  141. package/contracts/core/actions/base/ActionSCYAndYTBase.sol +1 -1
  142. package/contracts/interfaces/IPActionCore.sol +46 -4
  143. package/contracts/interfaces/IPRouterStatic.sol +2 -2
  144. package/contracts/libraries/math/Math.sol +4 -0
  145. package/contracts/offchain-helpers/RouterStatic.sol +39 -3
  146. package/package.json +1 -1
  147. package/typechain-types/ActionCore.ts +224 -32
  148. package/typechain-types/FeeDistributorAbstract.ts +164 -0
  149. package/typechain-types/IPActionCore.ts +224 -32
  150. package/typechain-types/IPAllAction.ts +224 -32
  151. package/typechain-types/IPRouterStatic.ts +16 -16
  152. package/typechain-types/IPVotingControllerStorage.ts +169 -0
  153. package/typechain-types/{PendleYearnVaultScy.ts → PendleYearnVaultSCY.ts} +0 -0
  154. package/typechain-types/RouterStatic.ts +145 -95
  155. package/typechain-types/factories/ActionCallback__factory.ts +1 -1
  156. package/typechain-types/factories/ActionCore__factory.ts +184 -5
  157. package/typechain-types/factories/ActionYT__factory.ts +1 -1
  158. package/typechain-types/factories/{VotingEscrowController__factory.ts → FeeDistributorAbstract__factory.ts} +33 -23
  159. package/typechain-types/factories/IPActionCore__factory.ts +183 -4
  160. package/typechain-types/factories/IPAllAction__factory.ts +183 -4
  161. package/typechain-types/factories/IPRouterStatic__factory.ts +2 -2
  162. package/typechain-types/factories/IPVotingControllerStorage__factory.ts +107 -0
  163. package/typechain-types/factories/PendleAaveV3SCY__factory.ts +1 -1
  164. package/typechain-types/factories/PendleERC4626SCY__factory.ts +1 -1
  165. package/typechain-types/factories/PendleEulerSCY__factory.ts +1 -1
  166. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  167. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  168. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  169. package/typechain-types/factories/PendleMarket__factory.ts +1 -1
  170. package/typechain-types/factories/PendleQiSAvaxSCY__factory.ts +1 -1
  171. package/typechain-types/factories/PendleQiTokenSCY__factory.ts +1 -1
  172. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  173. package/typechain-types/factories/PendleSAvaxSCY__factory.ts +1 -1
  174. package/typechain-types/factories/PendleSJoeSCY__factory.ts +1 -1
  175. package/typechain-types/factories/PendleStargateSCY__factory.ts +1 -1
  176. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  177. package/typechain-types/factories/PendleWstEthSCY__factory.ts +1 -1
  178. package/typechain-types/factories/{PendleYearnVaultScy__factory.ts → PendleYearnVaultSCY__factory.ts} +1 -1
  179. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  180. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  181. package/typechain-types/factories/RouterStatic__factory.ts +79 -40
  182. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  183. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  184. package/typechain-types/hardhat.d.ts +0 -54
  185. package/typechain-types/index.ts +0 -12
  186. package/typechain-types/ActionRedeem.ts +0 -125
  187. package/typechain-types/ActionSCYAndYOBase.ts +0 -223
  188. package/typechain-types/AggregatorV2V3Interface.ts +0 -380
  189. package/typechain-types/BenqiChainlinkOracle.ts +0 -362
  190. package/typechain-types/BoringOwnable.ts +0 -194
  191. package/typechain-types/BoringOwnableData.ts +0 -100
  192. package/typechain-types/BoringOwnableUpg.ts +0 -194
  193. package/typechain-types/BoringOwnableUpgData.ts +0 -100
  194. package/typechain-types/CelerReceiver.ts +0 -267
  195. package/typechain-types/CelerSender.ts +0 -197
  196. package/typechain-types/Comptroller.ts +0 -2860
  197. package/typechain-types/ComptrollerErrorReporter.ts +0 -70
  198. package/typechain-types/ComptrollerInterface.ts +0 -881
  199. package/typechain-types/ComptrollerVXStorage.ts +0 -781
  200. package/typechain-types/CrosschainContract.ts +0 -113
  201. package/typechain-types/CrosschainReceiver.ts +0 -347
  202. package/typechain-types/CrosschainSender.ts +0 -210
  203. package/typechain-types/EIP20Interface.ts +0 -337
  204. package/typechain-types/EIP20NonStandardInterface.ts +0 -298
  205. package/typechain-types/ERC20Burnable.ts +0 -473
  206. package/typechain-types/ERC20Locker.ts +0 -91
  207. package/typechain-types/ERC20Permit.ts +0 -521
  208. package/typechain-types/ERC20Premined.ts +0 -473
  209. package/typechain-types/ERC20PresetFixedSupply.ts +0 -473
  210. package/typechain-types/EpochController.ts +0 -195
  211. package/typechain-types/FundKeeper.ts +0 -347
  212. package/typechain-types/GaugeTypeControllerAbstract.ts +0 -546
  213. package/typechain-types/GaugeTypeControllerCrosschain.ts +0 -733
  214. package/typechain-types/GaugeTypeControllerMainchain.ts +0 -604
  215. package/typechain-types/IERC20Permit.ts +0 -175
  216. package/typechain-types/IGaugeController.ts +0 -99
  217. package/typechain-types/IJoePair.ts +0 -888
  218. package/typechain-types/IJoeRouter01.ts +0 -1107
  219. package/typechain-types/IJoeRouter02.ts +0 -1420
  220. package/typechain-types/ILiquidYieldToken.ts +0 -639
  221. package/typechain-types/ILiquidYieldTokenWrap.ts +0 -790
  222. package/typechain-types/IMessageBus.ts +0 -543
  223. package/typechain-types/IMessageReceiverApp.ts +0 -110
  224. package/typechain-types/IPActionRedeem.ts +0 -125
  225. package/typechain-types/IPActionSCYAndPY.ts +0 -183
  226. package/typechain-types/IPBaseToken.ts +0 -365
  227. package/typechain-types/IPFlashCallback.ts +0 -115
  228. package/typechain-types/IPGauge.ts +0 -212
  229. package/typechain-types/IPLiquidYieldToken.ts +0 -641
  230. package/typechain-types/IPMarketAddRemoveCallback.ts +0 -169
  231. package/typechain-types/IPMarketCallback.ts +0 -107
  232. package/typechain-types/IPOwnershipToken.ts +0 -488
  233. package/typechain-types/IPRouterCore.ts +0 -769
  234. package/typechain-types/IPRouterRedeem.ts +0 -155
  235. package/typechain-types/IPRouterYT.ts +0 -489
  236. package/typechain-types/IPVotingEscrowController.ts +0 -154
  237. package/typechain-types/IPendleGauge.ts +0 -241
  238. package/typechain-types/IPermissionsV2.ts +0 -87
  239. package/typechain-types/IRainbowBridge.ts +0 -91
  240. package/typechain-types/ISCYRewardIndex.ts +0 -695
  241. package/typechain-types/IVEPendleToken.ts +0 -121
  242. package/typechain-types/IVePToken.ts +0 -103
  243. package/typechain-types/IVotingEscrowPendle.ts +0 -297
  244. package/typechain-types/IXPendle.ts +0 -114
  245. package/typechain-types/InterestRateModel.ts +0 -178
  246. package/typechain-types/JumpRateModel.ts +0 -347
  247. package/typechain-types/LYTBase.ts +0 -721
  248. package/typechain-types/LYTBaseWithRewards.ts +0 -806
  249. package/typechain-types/LYTWrap.ts +0 -872
  250. package/typechain-types/LYTWrapWithRewards.ts +0 -979
  251. package/typechain-types/LiquidityMining.ts +0 -468
  252. package/typechain-types/Maximillion.ts +0 -145
  253. package/typechain-types/Ownable.ts +0 -160
  254. package/typechain-types/PendleAaveV3LYT.ts +0 -808
  255. package/typechain-types/PendleBaseToken.ts +0 -475
  256. package/typechain-types/PendleBenQiErc20LYT.ts +0 -901
  257. package/typechain-types/PendleBenQiErc20SCY.ts +0 -1050
  258. package/typechain-types/PendleBenqiLiquidYieldToken.ts +0 -1013
  259. package/typechain-types/PendleBtrflyLYT.ts +0 -781
  260. package/typechain-types/PendleBtrflyScy.ts +0 -822
  261. package/typechain-types/PendleCelerRouter.ts +0 -359
  262. package/typechain-types/PendleERC20Permit.ts +0 -443
  263. package/typechain-types/PendleGaugeController.ts +0 -346
  264. package/typechain-types/PendleGaugeControllerMainchain.ts +0 -410
  265. package/typechain-types/PendleGaugeControllerSidechain.ts +0 -524
  266. package/typechain-types/PendleJoeLpSCY.ts +0 -835
  267. package/typechain-types/PendleJoeSwapHelper.ts +0 -92
  268. package/typechain-types/PendleJoeSwapHelperUpg.ts +0 -84
  269. package/typechain-types/PendleLYTMockYT.ts +0 -894
  270. package/typechain-types/PendleLiquidYieldToken.ts +0 -814
  271. package/typechain-types/PendleLiquidYieldTokenBase.ts +0 -941
  272. package/typechain-types/PendleOwnershipToken.ts +0 -598
  273. package/typechain-types/PendleRouter01.ts +0 -184
  274. package/typechain-types/PendleRouter02.ts +0 -564
  275. package/typechain-types/PendleRouter03.ts +0 -224
  276. package/typechain-types/PendleRouterBase.ts +0 -126
  277. package/typechain-types/PendleRouterCore.ts +0 -328
  278. package/typechain-types/PendleRouterCoreUpg.ts +0 -798
  279. package/typechain-types/PendleRouterLytAndForge.ts +0 -331
  280. package/typechain-types/PendleRouterMarketBase.ts +0 -82
  281. package/typechain-types/PendleRouterOT.ts +0 -463
  282. package/typechain-types/PendleRouterProxy.ts +0 -335
  283. package/typechain-types/PendleRouterRawTokenOT.ts +0 -865
  284. package/typechain-types/PendleRouterRawTokenYT.ts +0 -520
  285. package/typechain-types/PendleRouterRedeemUpg.ts +0 -125
  286. package/typechain-types/PendleRouterSCYAndForgeBaseUpg.ts +0 -98
  287. package/typechain-types/PendleRouterStaticUpg.ts +0 -399
  288. package/typechain-types/PendleRouterYT.ts +0 -227
  289. package/typechain-types/PendleRouterYTBaseUpg.ts +0 -134
  290. package/typechain-types/PendleRouterYTUpg.ts +0 -537
  291. package/typechain-types/PendleStEthSCY.ts +0 -872
  292. package/typechain-types/PendleStargatePool.ts +0 -1135
  293. package/typechain-types/PendleVotingController.ts +0 -983
  294. package/typechain-types/PendleYTLYTBenqi.ts +0 -863
  295. package/typechain-types/PendleYearnVaultLYT.ts +0 -723
  296. package/typechain-types/PermissionsV2.ts +0 -87
  297. package/typechain-types/PermlessAbstract.ts +0 -57
  298. package/typechain-types/PglStakingContract.ts +0 -662
  299. package/typechain-types/PglStakingContractProxy.ts +0 -256
  300. package/typechain-types/PglStakingContractProxyStorage.ts +0 -136
  301. package/typechain-types/PglStakingContractStorage.ts +0 -397
  302. package/typechain-types/PriceOracle.ts +0 -116
  303. package/typechain-types/ProtocolFakeUser.ts +0 -105
  304. package/typechain-types/Qi.ts +0 -760
  305. package/typechain-types/QiAvax.ts +0 -1720
  306. package/typechain-types/QiDelegateInterface.ts +0 -145
  307. package/typechain-types/QiDelegationStorage.ts +0 -82
  308. package/typechain-types/QiDelegatorInterface.ts +0 -149
  309. package/typechain-types/QiErc20.ts +0 -1846
  310. package/typechain-types/QiErc20Delegate.ts +0 -1926
  311. package/typechain-types/QiErc20Delegator.ts +0 -1885
  312. package/typechain-types/QiErc20Interface.ts +0 -382
  313. package/typechain-types/QiErc20Storage.ts +0 -79
  314. package/typechain-types/QiToken.ts +0 -1475
  315. package/typechain-types/QiTokenInterface.ts +0 -1419
  316. package/typechain-types/QiTokenSaleDistributor.ts +0 -771
  317. package/typechain-types/QiTokenSaleDistributorProxy.ts +0 -256
  318. package/typechain-types/QiTokenSaleDistributorProxyStorage.ts +0 -136
  319. package/typechain-types/QiTokenSaleDistributorStorage.ts +0 -401
  320. package/typechain-types/QiTokenStorage.ts +0 -311
  321. package/typechain-types/ReentrancyGuard.ts +0 -52
  322. package/typechain-types/SingleGaugeTypeController.ts +0 -478
  323. package/typechain-types/TokenErrorReporter.ts +0 -70
  324. package/typechain-types/Unitroller.ts +0 -356
  325. package/typechain-types/UnitrollerAdminStorage.ts +0 -143
  326. package/typechain-types/VePendle.ts +0 -1156
  327. package/typechain-types/VePendleCrosschain.ts +0 -969
  328. package/typechain-types/VePendleToken.ts +0 -688
  329. package/typechain-types/VotingController.ts +0 -1004
  330. package/typechain-types/VotingControllerStorage.ts +0 -448
  331. package/typechain-types/VotingEscrowController.ts +0 -154
  332. package/typechain-types/VotingEscrowPendle.ts +0 -752
  333. package/typechain-types/VotingEscrowToken.ts +0 -251
  334. package/typechain-types/WETH9.ts +0 -414
  335. package/typechain-types/WhitePaperInterestRateModel.ts +0 -304
  336. package/typechain-types/XPendle.ts +0 -618
  337. package/typechain-types/factories/ActionRedeem__factory.ts +0 -105
  338. package/typechain-types/factories/ActionSCYAndYOBase__factory.ts +0 -200
  339. package/typechain-types/factories/AggregatorV2V3Interface__factory.ts +0 -288
  340. package/typechain-types/factories/BenqiChainlinkOracle__factory.ts +0 -311
  341. package/typechain-types/factories/BoringOwnableData__factory.ts +0 -90
  342. package/typechain-types/factories/BoringOwnableUpgData__factory.ts +0 -94
  343. package/typechain-types/factories/BoringOwnableUpg__factory.ts +0 -139
  344. package/typechain-types/factories/BoringOwnable__factory.ts +0 -149
  345. package/typechain-types/factories/CelerReceiver__factory.ts +0 -140
  346. package/typechain-types/factories/CelerSender__factory.ts +0 -85
  347. package/typechain-types/factories/ComptrollerErrorReporter__factory.ts +0 -93
  348. package/typechain-types/factories/ComptrollerInterface__factory.ts +0 -595
  349. package/typechain-types/factories/ComptrollerVXStorage__factory.ts +0 -610
  350. package/typechain-types/factories/Comptroller__factory.ts +0 -2189
  351. package/typechain-types/factories/CrosschainContract__factory.ts +0 -52
  352. package/typechain-types/factories/CrosschainReceiver__factory.ts +0 -187
  353. package/typechain-types/factories/CrosschainSender__factory.ts +0 -104
  354. package/typechain-types/factories/EIP20Interface__factory.ts +0 -248
  355. package/typechain-types/factories/EIP20NonStandardInterface__factory.ts +0 -213
  356. package/typechain-types/factories/ERC20Burnable__factory.ts +0 -324
  357. package/typechain-types/factories/ERC20Locker__factory.ts +0 -73
  358. package/typechain-types/factories/ERC20Permit__factory.ts +0 -368
  359. package/typechain-types/factories/ERC20Premined__factory.ts +0 -393
  360. package/typechain-types/factories/ERC20PresetFixedSupply__factory.ts +0 -422
  361. package/typechain-types/factories/EpochController__factory.ts +0 -170
  362. package/typechain-types/factories/FundKeeper__factory.ts +0 -212
  363. package/typechain-types/factories/GaugeTypeControllerAbstract__factory.ts +0 -387
  364. package/typechain-types/factories/GaugeTypeControllerCrosschain__factory.ts +0 -522
  365. package/typechain-types/factories/GaugeTypeControllerMainchain__factory.ts +0 -431
  366. package/typechain-types/factories/IERC20Permit__factory.ts +0 -98
  367. package/typechain-types/factories/IGaugeController__factory.ts +0 -45
  368. package/typechain-types/factories/IJoePair__factory.ts +0 -674
  369. package/typechain-types/factories/IJoeRouter01__factory.ts +0 -772
  370. package/typechain-types/factories/IJoeRouter02__factory.ts +0 -974
  371. package/typechain-types/factories/ILiquidYieldTokenWrap__factory.ts +0 -533
  372. package/typechain-types/factories/ILiquidYieldToken__factory.ts +0 -429
  373. package/typechain-types/factories/IMessageBus__factory.ts +0 -396
  374. package/typechain-types/factories/IMessageReceiverApp__factory.ts +0 -55
  375. package/typechain-types/factories/IPActionRedeem__factory.ts +0 -70
  376. package/typechain-types/factories/IPActionSCYAndPY__factory.ts +0 -174
  377. package/typechain-types/factories/IPBaseToken__factory.ts +0 -271
  378. package/typechain-types/factories/IPFlashCallback__factory.ts +0 -49
  379. package/typechain-types/factories/IPGauge__factory.ts +0 -110
  380. package/typechain-types/factories/IPLiquidYieldToken__factory.ts +0 -433
  381. package/typechain-types/factories/IPMarketAddRemoveCallback__factory.ts +0 -86
  382. package/typechain-types/factories/IPMarketCallback__factory.ts +0 -55
  383. package/typechain-types/factories/IPOwnershipToken__factory.ts +0 -349
  384. package/typechain-types/factories/IPRouterCore__factory.ts +0 -531
  385. package/typechain-types/factories/IPRouterRedeem__factory.ts +0 -72
  386. package/typechain-types/factories/IPRouterYT__factory.ts +0 -305
  387. package/typechain-types/factories/IPVotingEscrowController__factory.ts +0 -80
  388. package/typechain-types/factories/IPendleGauge__factory.ts +0 -125
  389. package/typechain-types/factories/IPermissionsV2__factory.ts +0 -39
  390. package/typechain-types/factories/IRainbowBridge__factory.ts +0 -76
  391. package/typechain-types/factories/ISCYRewardIndex__factory.ts +0 -465
  392. package/typechain-types/factories/IVEPendleToken__factory.ts +0 -71
  393. package/typechain-types/factories/IVePToken__factory.ts +0 -55
  394. package/typechain-types/factories/IVotingEscrowPendle__factory.ts +0 -182
  395. package/typechain-types/factories/IXPendle__factory.ts +0 -61
  396. package/typechain-types/factories/InterestRateModel__factory.ts +0 -108
  397. package/typechain-types/factories/JumpRateModel__factory.ts +0 -334
  398. package/typechain-types/factories/LYTBaseWithRewards__factory.ts +0 -530
  399. package/typechain-types/factories/LYTBase__factory.ts +0 -474
  400. package/typechain-types/factories/LYTWrapWithRewards__factory.ts +0 -643
  401. package/typechain-types/factories/LYTWrap__factory.ts +0 -574
  402. package/typechain-types/factories/LiquidityMining__factory.ts +0 -367
  403. package/typechain-types/factories/Maximillion__factory.ts +0 -125
  404. package/typechain-types/factories/Ownable__factory.ts +0 -75
  405. package/typechain-types/factories/PendleAaveV3LYT__factory.ts +0 -657
  406. package/typechain-types/factories/PendleBaseToken__factory.ts +0 -348
  407. package/typechain-types/factories/PendleBenQiErc20LYT__factory.ts +0 -748
  408. package/typechain-types/factories/PendleBenQiErc20SCY__factory.ts +0 -871
  409. package/typechain-types/factories/PendleBenqiLiquidYieldToken__factory.ts +0 -785
  410. package/typechain-types/factories/PendleBtrflyLYT__factory.ts +0 -647
  411. package/typechain-types/factories/PendleBtrflyScy__factory.ts +0 -710
  412. package/typechain-types/factories/PendleCelerRouter__factory.ts +0 -259
  413. package/typechain-types/factories/PendleERC20Permit__factory.ts +0 -405
  414. package/typechain-types/factories/PendleGaugeControllerMainchain__factory.ts +0 -332
  415. package/typechain-types/factories/PendleGaugeControllerSidechain__factory.ts +0 -391
  416. package/typechain-types/factories/PendleGaugeController__factory.ts +0 -212
  417. package/typechain-types/factories/PendleJoeLpSCY__factory.ts +0 -732
  418. package/typechain-types/factories/PendleJoeSwapHelperUpg__factory.ts +0 -43
  419. package/typechain-types/factories/PendleJoeSwapHelper__factory.ts +0 -52
  420. package/typechain-types/factories/PendleLYTMockYT__factory.ts +0 -732
  421. package/typechain-types/factories/PendleLiquidYieldTokenBase__factory.ts +0 -603
  422. package/typechain-types/factories/PendleLiquidYieldToken__factory.ts +0 -510
  423. package/typechain-types/factories/PendleOwnershipToken__factory.ts +0 -527
  424. package/typechain-types/factories/PendleRouter01__factory.ts +0 -152
  425. package/typechain-types/factories/PendleRouter02__factory.ts +0 -438
  426. package/typechain-types/factories/PendleRouter03__factory.ts +0 -190
  427. package/typechain-types/factories/PendleRouterBase__factory.ts +0 -68
  428. package/typechain-types/factories/PendleRouterCoreUpg__factory.ts +0 -635
  429. package/typechain-types/factories/PendleRouterCore__factory.ts +0 -268
  430. package/typechain-types/factories/PendleRouterLytAndForge__factory.ts +0 -294
  431. package/typechain-types/factories/PendleRouterMarketBase__factory.ts +0 -43
  432. package/typechain-types/factories/PendleRouterOT__factory.ts +0 -372
  433. package/typechain-types/factories/PendleRouterProxy__factory.ts +0 -285
  434. package/typechain-types/factories/PendleRouterRawTokenOT__factory.ts +0 -697
  435. package/typechain-types/factories/PendleRouterRawTokenYT__factory.ts +0 -431
  436. package/typechain-types/factories/PendleRouterRedeemUpg__factory.ts +0 -112
  437. package/typechain-types/factories/PendleRouterSCYAndForgeBaseUpg__factory.ts +0 -56
  438. package/typechain-types/factories/PendleRouterStaticUpg__factory.ts +0 -315
  439. package/typechain-types/factories/PendleRouterYTBaseUpg__factory.ts +0 -66
  440. package/typechain-types/factories/PendleRouterYTUpg__factory.ts +0 -422
  441. package/typechain-types/factories/PendleRouterYT__factory.ts +0 -184
  442. package/typechain-types/factories/PendleStEthSCY__factory.ts +0 -716
  443. package/typechain-types/factories/PendleStargatePool__factory.ts +0 -961
  444. package/typechain-types/factories/PendleVotingController__factory.ts +0 -730
  445. package/typechain-types/factories/PendleYTLYTBenqi__factory.ts +0 -713
  446. package/typechain-types/factories/PendleYearnVaultLYT__factory.ts +0 -586
  447. package/typechain-types/factories/PermissionsV2__factory.ts +0 -36
  448. package/typechain-types/factories/PermlessAbstract__factory.ts +0 -30
  449. package/typechain-types/factories/PglStakingContractProxyStorage__factory.ts +0 -130
  450. package/typechain-types/factories/PglStakingContractProxy__factory.ts +0 -187
  451. package/typechain-types/factories/PglStakingContractStorage__factory.ts +0 -309
  452. package/typechain-types/factories/PglStakingContract__factory.ts +0 -446
  453. package/typechain-types/factories/PriceOracle__factory.ts +0 -59
  454. package/typechain-types/factories/ProtocolFakeUser__factory.ts +0 -87
  455. package/typechain-types/factories/QiAvax__factory.ts +0 -1471
  456. package/typechain-types/factories/QiDelegateInterface__factory.ts +0 -65
  457. package/typechain-types/factories/QiDelegationStorage__factory.ts +0 -79
  458. package/typechain-types/factories/QiDelegatorInterface__factory.ts +0 -89
  459. package/typechain-types/factories/QiErc20Delegate__factory.ts +0 -1563
  460. package/typechain-types/factories/QiErc20Delegator__factory.ts +0 -1648
  461. package/typechain-types/factories/QiErc20Interface__factory.ts +0 -239
  462. package/typechain-types/factories/QiErc20Storage__factory.ts +0 -79
  463. package/typechain-types/factories/QiErc20__factory.ts +0 -1515
  464. package/typechain-types/factories/QiTokenInterface__factory.ts +0 -1182
  465. package/typechain-types/factories/QiTokenSaleDistributorProxyStorage__factory.ts +0 -124
  466. package/typechain-types/factories/QiTokenSaleDistributorProxy__factory.ts +0 -171
  467. package/typechain-types/factories/QiTokenSaleDistributorStorage__factory.ts +0 -289
  468. package/typechain-types/factories/QiTokenSaleDistributor__factory.ts +0 -480
  469. package/typechain-types/factories/QiTokenStorage__factory.ts +0 -274
  470. package/typechain-types/factories/QiToken__factory.ts +0 -1219
  471. package/typechain-types/factories/Qi__factory.ts +0 -648
  472. package/typechain-types/factories/ReentrancyGuard__factory.ts +0 -69
  473. package/typechain-types/factories/SingleGaugeTypeController__factory.ts +0 -341
  474. package/typechain-types/factories/TokenErrorReporter__factory.ts +0 -89
  475. package/typechain-types/factories/UnitrollerAdminStorage__factory.ts +0 -128
  476. package/typechain-types/factories/Unitroller__factory.ts +0 -305
  477. package/typechain-types/factories/VePendleCrosschain__factory.ts +0 -727
  478. package/typechain-types/factories/VePendleToken__factory.ts +0 -494
  479. package/typechain-types/factories/VePendle__factory.ts +0 -800
  480. package/typechain-types/factories/VotingControllerStorage__factory.ts +0 -315
  481. package/typechain-types/factories/VotingController__factory.ts +0 -645
  482. package/typechain-types/factories/VotingEscrowPendle__factory.ts +0 -527
  483. package/typechain-types/factories/VotingEscrowToken__factory.ts +0 -153
  484. package/typechain-types/factories/WETH9__factory.ts +0 -342
  485. package/typechain-types/factories/WhitePaperInterestRateModel__factory.ts +0 -281
  486. package/typechain-types/factories/XPendle__factory.ts +0 -473
@@ -5,51 +5,61 @@
5
5
  import { Contract, Signer, utils } from "ethers";
6
6
  import { Provider } from "@ethersproject/providers";
7
7
  import type {
8
- VotingEscrowController,
9
- VotingEscrowControllerInterface,
10
- } from "../VotingEscrowController";
8
+ FeeDistributorAbstract,
9
+ FeeDistributorAbstractInterface,
10
+ } from "../FeeDistributorAbstract";
11
11
 
12
12
  const _abi = [
13
13
  {
14
- inputs: [],
15
- name: "pendlePerSec",
16
- outputs: [
14
+ inputs: [
15
+ {
16
+ internalType: "address",
17
+ name: "rewardToken",
18
+ type: "address",
19
+ },
17
20
  {
18
21
  internalType: "uint256",
19
- name: "",
22
+ name: "amount",
23
+ type: "uint256",
24
+ },
25
+ {
26
+ internalType: "uint256",
27
+ name: "numEpoch",
20
28
  type: "uint256",
21
29
  },
22
30
  ],
31
+ name: "fund",
32
+ outputs: [],
23
33
  stateMutability: "nonpayable",
24
34
  type: "function",
25
35
  },
26
36
  {
27
37
  inputs: [
38
+ {
39
+ internalType: "uint256",
40
+ name: "",
41
+ type: "uint256",
42
+ },
28
43
  {
29
44
  internalType: "address",
30
- name: "pool",
45
+ name: "",
31
46
  type: "address",
32
47
  },
33
48
  ],
34
- name: "readPoolRewardInfo",
49
+ name: "incentivesForEpoch",
35
50
  outputs: [
36
51
  {
37
52
  internalType: "uint256",
38
- name: "vote",
39
- type: "uint256",
40
- },
41
- {
42
- internalType: "uint256",
43
- name: "pendleSpeed",
53
+ name: "",
44
54
  type: "uint256",
45
55
  },
46
56
  ],
47
- stateMutability: "nonpayable",
57
+ stateMutability: "view",
48
58
  type: "function",
49
59
  },
50
60
  {
51
61
  inputs: [],
52
- name: "totalVote",
62
+ name: "startTime",
53
63
  outputs: [
54
64
  {
55
65
  internalType: "uint256",
@@ -57,24 +67,24 @@ const _abi = [
57
67
  type: "uint256",
58
68
  },
59
69
  ],
60
- stateMutability: "nonpayable",
70
+ stateMutability: "view",
61
71
  type: "function",
62
72
  },
63
73
  ];
64
74
 
65
- export class VotingEscrowController__factory {
75
+ export class FeeDistributorAbstract__factory {
66
76
  static readonly abi = _abi;
67
- static createInterface(): VotingEscrowControllerInterface {
68
- return new utils.Interface(_abi) as VotingEscrowControllerInterface;
77
+ static createInterface(): FeeDistributorAbstractInterface {
78
+ return new utils.Interface(_abi) as FeeDistributorAbstractInterface;
69
79
  }
70
80
  static connect(
71
81
  address: string,
72
82
  signerOrProvider: Signer | Provider
73
- ): VotingEscrowController {
83
+ ): FeeDistributorAbstract {
74
84
  return new Contract(
75
85
  address,
76
86
  _abi,
77
87
  signerOrProvider
78
- ) as VotingEscrowController;
88
+ ) as FeeDistributorAbstract;
79
89
  }
80
90
  }
@@ -7,6 +7,49 @@ import { Provider } from "@ethersproject/providers";
7
7
  import type { IPActionCore, IPActionCoreInterface } from "../IPActionCore";
8
8
 
9
9
  const _abi = [
10
+ {
11
+ anonymous: false,
12
+ inputs: [
13
+ {
14
+ indexed: true,
15
+ internalType: "address",
16
+ name: "caller",
17
+ type: "address",
18
+ },
19
+ {
20
+ indexed: true,
21
+ internalType: "address",
22
+ name: "market",
23
+ type: "address",
24
+ },
25
+ {
26
+ indexed: true,
27
+ internalType: "address",
28
+ name: "receiver",
29
+ type: "address",
30
+ },
31
+ {
32
+ indexed: false,
33
+ internalType: "uint256",
34
+ name: "ibTokenUsed",
35
+ type: "uint256",
36
+ },
37
+ {
38
+ indexed: false,
39
+ internalType: "uint256",
40
+ name: "ptUsed",
41
+ type: "uint256",
42
+ },
43
+ {
44
+ indexed: false,
45
+ internalType: "uint256",
46
+ name: "lpOut",
47
+ type: "uint256",
48
+ },
49
+ ],
50
+ name: "AddLiquidityDualIbTokenAndPt",
51
+ type: "event",
52
+ },
10
53
  {
11
54
  anonymous: false,
12
55
  inputs: [
@@ -47,7 +90,7 @@ const _abi = [
47
90
  type: "uint256",
48
91
  },
49
92
  ],
50
- name: "AddLiquidity",
93
+ name: "AddLiquidityDualScyAndPt",
51
94
  type: "event",
52
95
  },
53
96
  {
@@ -296,6 +339,49 @@ const _abi = [
296
339
  name: "RedeemScyToToken",
297
340
  type: "event",
298
341
  },
342
+ {
343
+ anonymous: false,
344
+ inputs: [
345
+ {
346
+ indexed: true,
347
+ internalType: "address",
348
+ name: "caller",
349
+ type: "address",
350
+ },
351
+ {
352
+ indexed: true,
353
+ internalType: "address",
354
+ name: "market",
355
+ type: "address",
356
+ },
357
+ {
358
+ indexed: false,
359
+ internalType: "address",
360
+ name: "receiver",
361
+ type: "address",
362
+ },
363
+ {
364
+ indexed: false,
365
+ internalType: "uint256",
366
+ name: "lpIn",
367
+ type: "uint256",
368
+ },
369
+ {
370
+ indexed: false,
371
+ internalType: "uint256",
372
+ name: "amountPTOut",
373
+ type: "uint256",
374
+ },
375
+ {
376
+ indexed: false,
377
+ internalType: "uint256",
378
+ name: "amountIbTokenOut",
379
+ type: "uint256",
380
+ },
381
+ ],
382
+ name: "RemoveLiquidityDualIbTokenAndPt",
383
+ type: "event",
384
+ },
299
385
  {
300
386
  anonymous: false,
301
387
  inputs: [
@@ -336,7 +422,7 @@ const _abi = [
336
422
  type: "uint256",
337
423
  },
338
424
  ],
339
- name: "RemoveLiquidity",
425
+ name: "RemoveLiquidityDualScyAndPt",
340
426
  type: "event",
341
427
  },
342
428
  {
@@ -419,6 +505,55 @@ const _abi = [
419
505
  name: "SwapPtAndToken",
420
506
  type: "event",
421
507
  },
508
+ {
509
+ inputs: [
510
+ {
511
+ internalType: "address",
512
+ name: "receiver",
513
+ type: "address",
514
+ },
515
+ {
516
+ internalType: "address",
517
+ name: "market",
518
+ type: "address",
519
+ },
520
+ {
521
+ internalType: "uint256",
522
+ name: "ibTokenDesired",
523
+ type: "uint256",
524
+ },
525
+ {
526
+ internalType: "uint256",
527
+ name: "ptDesired",
528
+ type: "uint256",
529
+ },
530
+ {
531
+ internalType: "uint256",
532
+ name: "minLpOut",
533
+ type: "uint256",
534
+ },
535
+ ],
536
+ name: "addLiquidityDualIbTokenAndPt",
537
+ outputs: [
538
+ {
539
+ internalType: "uint256",
540
+ name: "netLpOut",
541
+ type: "uint256",
542
+ },
543
+ {
544
+ internalType: "uint256",
545
+ name: "ibTokenUsed",
546
+ type: "uint256",
547
+ },
548
+ {
549
+ internalType: "uint256",
550
+ name: "ptUsed",
551
+ type: "uint256",
552
+ },
553
+ ],
554
+ stateMutability: "nonpayable",
555
+ type: "function",
556
+ },
422
557
  {
423
558
  inputs: [
424
559
  {
@@ -447,7 +582,7 @@ const _abi = [
447
582
  type: "uint256",
448
583
  },
449
584
  ],
450
- name: "addLiquidity",
585
+ name: "addLiquidityDualScyAndPt",
451
586
  outputs: [
452
587
  {
453
588
  internalType: "uint256",
@@ -1029,6 +1164,50 @@ const _abi = [
1029
1164
  stateMutability: "nonpayable",
1030
1165
  type: "function",
1031
1166
  },
1167
+ {
1168
+ inputs: [
1169
+ {
1170
+ internalType: "address",
1171
+ name: "receiver",
1172
+ type: "address",
1173
+ },
1174
+ {
1175
+ internalType: "address",
1176
+ name: "market",
1177
+ type: "address",
1178
+ },
1179
+ {
1180
+ internalType: "uint256",
1181
+ name: "lpToRemove",
1182
+ type: "uint256",
1183
+ },
1184
+ {
1185
+ internalType: "uint256",
1186
+ name: "ibTokenMin",
1187
+ type: "uint256",
1188
+ },
1189
+ {
1190
+ internalType: "uint256",
1191
+ name: "ptOutMin",
1192
+ type: "uint256",
1193
+ },
1194
+ ],
1195
+ name: "removeLiquidityDualIbTokenAndPt",
1196
+ outputs: [
1197
+ {
1198
+ internalType: "uint256",
1199
+ name: "netIbTokenOut",
1200
+ type: "uint256",
1201
+ },
1202
+ {
1203
+ internalType: "uint256",
1204
+ name: "netPtOut",
1205
+ type: "uint256",
1206
+ },
1207
+ ],
1208
+ stateMutability: "nonpayable",
1209
+ type: "function",
1210
+ },
1032
1211
  {
1033
1212
  inputs: [
1034
1213
  {
@@ -1057,7 +1236,7 @@ const _abi = [
1057
1236
  type: "uint256",
1058
1237
  },
1059
1238
  ],
1060
- name: "removeLiquidity",
1239
+ name: "removeLiquidityDualScyAndPt",
1061
1240
  outputs: [
1062
1241
  {
1063
1242
  internalType: "uint256",
@@ -7,6 +7,49 @@ import { Provider } from "@ethersproject/providers";
7
7
  import type { IPAllAction, IPAllActionInterface } from "../IPAllAction";
8
8
 
9
9
  const _abi = [
10
+ {
11
+ anonymous: false,
12
+ inputs: [
13
+ {
14
+ indexed: true,
15
+ internalType: "address",
16
+ name: "caller",
17
+ type: "address",
18
+ },
19
+ {
20
+ indexed: true,
21
+ internalType: "address",
22
+ name: "market",
23
+ type: "address",
24
+ },
25
+ {
26
+ indexed: true,
27
+ internalType: "address",
28
+ name: "receiver",
29
+ type: "address",
30
+ },
31
+ {
32
+ indexed: false,
33
+ internalType: "uint256",
34
+ name: "ibTokenUsed",
35
+ type: "uint256",
36
+ },
37
+ {
38
+ indexed: false,
39
+ internalType: "uint256",
40
+ name: "ptUsed",
41
+ type: "uint256",
42
+ },
43
+ {
44
+ indexed: false,
45
+ internalType: "uint256",
46
+ name: "lpOut",
47
+ type: "uint256",
48
+ },
49
+ ],
50
+ name: "AddLiquidityDualIbTokenAndPt",
51
+ type: "event",
52
+ },
10
53
  {
11
54
  anonymous: false,
12
55
  inputs: [
@@ -47,7 +90,7 @@ const _abi = [
47
90
  type: "uint256",
48
91
  },
49
92
  ],
50
- name: "AddLiquidity",
93
+ name: "AddLiquidityDualScyAndPt",
51
94
  type: "event",
52
95
  },
53
96
  {
@@ -296,6 +339,49 @@ const _abi = [
296
339
  name: "RedeemScyToToken",
297
340
  type: "event",
298
341
  },
342
+ {
343
+ anonymous: false,
344
+ inputs: [
345
+ {
346
+ indexed: true,
347
+ internalType: "address",
348
+ name: "caller",
349
+ type: "address",
350
+ },
351
+ {
352
+ indexed: true,
353
+ internalType: "address",
354
+ name: "market",
355
+ type: "address",
356
+ },
357
+ {
358
+ indexed: false,
359
+ internalType: "address",
360
+ name: "receiver",
361
+ type: "address",
362
+ },
363
+ {
364
+ indexed: false,
365
+ internalType: "uint256",
366
+ name: "lpIn",
367
+ type: "uint256",
368
+ },
369
+ {
370
+ indexed: false,
371
+ internalType: "uint256",
372
+ name: "amountPTOut",
373
+ type: "uint256",
374
+ },
375
+ {
376
+ indexed: false,
377
+ internalType: "uint256",
378
+ name: "amountIbTokenOut",
379
+ type: "uint256",
380
+ },
381
+ ],
382
+ name: "RemoveLiquidityDualIbTokenAndPt",
383
+ type: "event",
384
+ },
299
385
  {
300
386
  anonymous: false,
301
387
  inputs: [
@@ -336,7 +422,7 @@ const _abi = [
336
422
  type: "uint256",
337
423
  },
338
424
  ],
339
- name: "RemoveLiquidity",
425
+ name: "RemoveLiquidityDualScyAndPt",
340
426
  type: "event",
341
427
  },
342
428
  {
@@ -487,6 +573,55 @@ const _abi = [
487
573
  name: "SwapYTAndToken",
488
574
  type: "event",
489
575
  },
576
+ {
577
+ inputs: [
578
+ {
579
+ internalType: "address",
580
+ name: "receiver",
581
+ type: "address",
582
+ },
583
+ {
584
+ internalType: "address",
585
+ name: "market",
586
+ type: "address",
587
+ },
588
+ {
589
+ internalType: "uint256",
590
+ name: "ibTokenDesired",
591
+ type: "uint256",
592
+ },
593
+ {
594
+ internalType: "uint256",
595
+ name: "ptDesired",
596
+ type: "uint256",
597
+ },
598
+ {
599
+ internalType: "uint256",
600
+ name: "minLpOut",
601
+ type: "uint256",
602
+ },
603
+ ],
604
+ name: "addLiquidityDualIbTokenAndPt",
605
+ outputs: [
606
+ {
607
+ internalType: "uint256",
608
+ name: "netLpOut",
609
+ type: "uint256",
610
+ },
611
+ {
612
+ internalType: "uint256",
613
+ name: "ibTokenUsed",
614
+ type: "uint256",
615
+ },
616
+ {
617
+ internalType: "uint256",
618
+ name: "ptUsed",
619
+ type: "uint256",
620
+ },
621
+ ],
622
+ stateMutability: "nonpayable",
623
+ type: "function",
624
+ },
490
625
  {
491
626
  inputs: [
492
627
  {
@@ -515,7 +650,7 @@ const _abi = [
515
650
  type: "uint256",
516
651
  },
517
652
  ],
518
- name: "addLiquidity",
653
+ name: "addLiquidityDualScyAndPt",
519
654
  outputs: [
520
655
  {
521
656
  internalType: "uint256",
@@ -1097,6 +1232,50 @@ const _abi = [
1097
1232
  stateMutability: "nonpayable",
1098
1233
  type: "function",
1099
1234
  },
1235
+ {
1236
+ inputs: [
1237
+ {
1238
+ internalType: "address",
1239
+ name: "receiver",
1240
+ type: "address",
1241
+ },
1242
+ {
1243
+ internalType: "address",
1244
+ name: "market",
1245
+ type: "address",
1246
+ },
1247
+ {
1248
+ internalType: "uint256",
1249
+ name: "lpToRemove",
1250
+ type: "uint256",
1251
+ },
1252
+ {
1253
+ internalType: "uint256",
1254
+ name: "ibTokenMin",
1255
+ type: "uint256",
1256
+ },
1257
+ {
1258
+ internalType: "uint256",
1259
+ name: "ptOutMin",
1260
+ type: "uint256",
1261
+ },
1262
+ ],
1263
+ name: "removeLiquidityDualIbTokenAndPt",
1264
+ outputs: [
1265
+ {
1266
+ internalType: "uint256",
1267
+ name: "netIbTokenOut",
1268
+ type: "uint256",
1269
+ },
1270
+ {
1271
+ internalType: "uint256",
1272
+ name: "netPtOut",
1273
+ type: "uint256",
1274
+ },
1275
+ ],
1276
+ stateMutability: "nonpayable",
1277
+ type: "function",
1278
+ },
1100
1279
  {
1101
1280
  inputs: [
1102
1281
  {
@@ -1125,7 +1304,7 @@ const _abi = [
1125
1304
  type: "uint256",
1126
1305
  },
1127
1306
  ],
1128
- name: "removeLiquidity",
1307
+ name: "removeLiquidityDualScyAndPt",
1129
1308
  outputs: [
1130
1309
  {
1131
1310
  internalType: "uint256",
@@ -28,7 +28,7 @@ const _abi = [
28
28
  type: "uint256",
29
29
  },
30
30
  ],
31
- name: "addLiquidityStatic",
31
+ name: "addLiquidityDualScyAndPtStatic",
32
32
  outputs: [
33
33
  {
34
34
  internalType: "uint256",
@@ -755,7 +755,7 @@ const _abi = [
755
755
  type: "uint256",
756
756
  },
757
757
  ],
758
- name: "removeLiquidityStatic",
758
+ name: "removeLiquidityDualScyAndPtStatic",
759
759
  outputs: [
760
760
  {
761
761
  internalType: "uint256",
@@ -0,0 +1,107 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ IPVotingControllerStorage,
9
+ IPVotingControllerStorageInterface,
10
+ } from "../IPVotingControllerStorage";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ internalType: "address",
17
+ name: "user",
18
+ type: "address",
19
+ },
20
+ {
21
+ internalType: "address",
22
+ name: "pool",
23
+ type: "address",
24
+ },
25
+ {
26
+ internalType: "uint256",
27
+ name: "index",
28
+ type: "uint256",
29
+ },
30
+ ],
31
+ name: "getUserPoolHistoryAt",
32
+ outputs: [
33
+ {
34
+ components: [
35
+ {
36
+ internalType: "uint32",
37
+ name: "timestamp",
38
+ type: "uint32",
39
+ },
40
+ {
41
+ components: [
42
+ {
43
+ internalType: "uint128",
44
+ name: "bias",
45
+ type: "uint128",
46
+ },
47
+ {
48
+ internalType: "uint128",
49
+ name: "slope",
50
+ type: "uint128",
51
+ },
52
+ ],
53
+ internalType: "struct VeBalance",
54
+ name: "value",
55
+ type: "tuple",
56
+ },
57
+ ],
58
+ internalType: "struct Checkpoint",
59
+ name: "",
60
+ type: "tuple",
61
+ },
62
+ ],
63
+ stateMutability: "view",
64
+ type: "function",
65
+ },
66
+ {
67
+ inputs: [
68
+ {
69
+ internalType: "address",
70
+ name: "user",
71
+ type: "address",
72
+ },
73
+ {
74
+ internalType: "address",
75
+ name: "pool",
76
+ type: "address",
77
+ },
78
+ ],
79
+ name: "getUserPoolHistoryLength",
80
+ outputs: [
81
+ {
82
+ internalType: "uint256",
83
+ name: "",
84
+ type: "uint256",
85
+ },
86
+ ],
87
+ stateMutability: "view",
88
+ type: "function",
89
+ },
90
+ ];
91
+
92
+ export class IPVotingControllerStorage__factory {
93
+ static readonly abi = _abi;
94
+ static createInterface(): IPVotingControllerStorageInterface {
95
+ return new utils.Interface(_abi) as IPVotingControllerStorageInterface;
96
+ }
97
+ static connect(
98
+ address: string,
99
+ signerOrProvider: Signer | Provider
100
+ ): IPVotingControllerStorage {
101
+ return new Contract(
102
+ address,
103
+ _abi,
104
+ signerOrProvider
105
+ ) as IPVotingControllerStorage;
106
+ }
107
+ }