@pendle/core-v2 0.6.5 → 0.6.7

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 (430) hide show
  1. package/build/artifacts/contracts/SuperComposableYield/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
  2. package/build/artifacts/contracts/SuperComposableYield/ISuperComposableYield.sol/ISuperComposableYield.json +13 -0
  3. package/build/artifacts/contracts/SuperComposableYield/SCYUtils.sol/SCYUtils.dbg.json +1 -1
  4. package/build/artifacts/contracts/SuperComposableYield/implementations/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  5. package/build/artifacts/contracts/SuperComposableYield/implementations/RewardManager.sol/RewardManager.dbg.json +1 -1
  6. package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
  7. package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBase.sol/SCYBase.json +13 -0
  8. package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
  9. package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.json +13 -0
  10. package/build/artifacts/contracts/core/PendleBaseToken.sol/PendleBaseToken.dbg.json +1 -1
  11. package/build/artifacts/contracts/core/PendleBaseToken.sol/PendleBaseToken.json +1 -1
  12. package/build/artifacts/contracts/core/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  13. package/build/artifacts/contracts/core/PendleMarket.sol/PendleMarket.json +56 -51
  14. package/build/artifacts/contracts/core/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  15. package/build/artifacts/contracts/core/PendleMarketFactory.sol/PendleMarketFactory.json +30 -4
  16. package/build/artifacts/contracts/core/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +4 -0
  17. package/build/artifacts/contracts/core/PendlePrincipalToken.sol/PendlePrincipalToken.json +452 -0
  18. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  19. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +2 -2
  20. package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +20 -2
  22. package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/PendleSCYImpl/PendleBenQiErc20SCY.sol/PendleBenQiErc20SCY.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/PendleSCYImpl/PendleBenQiErc20SCY.sol/PendleBenQiErc20SCY.json +21 -16
  25. package/build/artifacts/contracts/core/PendleSCYImpl/PendleBtrflySCY.sol/PendleBtrflyScy.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/PendleSCYImpl/PendleBtrflySCY.sol/PendleBtrflyScy.json +21 -16
  27. package/build/artifacts/contracts/core/PendleSCYImpl/PendleStETHSCY.sol/PendleStEthSCY.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/PendleSCYImpl/PendleStETHSCY.sol/PendleStEthSCY.json +23 -18
  29. package/build/artifacts/contracts/core/PendleSCYImpl/PendleYearnVaultSCY.sol/PendleYearnVaultScy.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/PendleSCYImpl/PendleYearnVaultSCY.sol/PendleYearnVaultScy.json +22 -17
  31. package/build/artifacts/contracts/core/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +7 -7
  33. package/build/artifacts/contracts/core/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/PendleYieldToken.sol/PendleYieldToken.json +9 -9
  35. package/build/artifacts/contracts/core/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/RouterStatic.sol/RouterStatic.json +628 -12
  37. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +3 -3
  39. package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.json +128 -92
  41. package/build/artifacts/contracts/core/actions/ActionRedeem.sol/ActionRedeem.dbg.json +4 -0
  42. package/build/artifacts/contracts/core/actions/ActionRedeem.sol/{PendleRouterRedeemUpg.json → ActionRedeem.json} +3 -3
  43. package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +105 -69
  45. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +4 -0
  46. package/build/artifacts/contracts/core/actions/base/{ActionSCYAndOTBase.sol/ActionSCYAndOTBase.json → ActionSCYAndPTBase.sol/ActionSCYAndPTBase.json} +2 -2
  47. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +4 -0
  48. package/build/artifacts/contracts/core/actions/base/{ActionSCYAndYOBase.sol/ActionSCYAndYOBase.json → ActionSCYAndPYBase.sol/ActionSCYAndPYBase.json} +14 -14
  49. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.json +12 -12
  51. package/build/artifacts/contracts/core/actions/base/ActionType.sol/ActionType.dbg.json +1 -1
  52. package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
  53. package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +1 -1
  54. package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
  55. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
  56. package/build/artifacts/contracts/interfaces/IJoePair.sol/IJoePair.dbg.json +1 -1
  57. package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.dbg.json +1 -1
  58. package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.json +114 -78
  60. package/build/artifacts/contracts/interfaces/IPActionRedeem.sol/IPActionRedeem.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.json +90 -54
  63. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +210 -138
  65. package/build/artifacts/contracts/interfaces/IPBaseToken.sol/IPBaseToken.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +14 -14
  69. package/build/artifacts/contracts/interfaces/IPMarketAddRemoveCallback.sol/IPMarketAddRemoveCallback.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPMarketAddRemoveCallback.sol/IPMarketAddRemoveCallback.json +2 -2
  71. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +4 -0
  77. package/build/artifacts/contracts/interfaces/{IPOwnershipToken.sol/IPOwnershipToken.json → IPPrincipalToken.sol/IPPrincipalToken.json} +2 -2
  78. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +626 -10
  80. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.json +3 -3
  82. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +5 -5
  84. package/build/artifacts/contracts/interfaces/IPendleGauge.sol/IPendleGauge.dbg.json +4 -0
  85. package/build/artifacts/contracts/interfaces/IPendleGauge.sol/IPendleGauge.json +113 -0
  86. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IVePToken.sol/IVePToken.dbg.json +4 -0
  90. package/build/artifacts/contracts/interfaces/IVePToken.sol/IVePToken.json +43 -0
  91. package/build/artifacts/contracts/interfaces/IVotingEscrowController.sol/VotingEscrowController.dbg.json +4 -0
  92. package/build/artifacts/contracts/interfaces/IVotingEscrowController.sol/VotingEscrowController.json +61 -0
  93. package/build/artifacts/contracts/interfaces/IVotingEscrowPendle.sol/IVotingEscrowPendle.dbg.json +4 -0
  94. package/build/artifacts/contracts/interfaces/IVotingEscrowPendle.sol/IVotingEscrowPendle.json +167 -0
  95. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +1 -1
  99. package/build/artifacts/contracts/libraries/JoeLibrary.sol/JoeLibrary.dbg.json +1 -1
  100. package/build/artifacts/contracts/libraries/JoeLibrary.sol/JoeLibrary.json +2 -2
  101. package/build/artifacts/contracts/libraries/SCYIndex.sol/SCYIndexLib.dbg.json +1 -1
  102. package/build/artifacts/contracts/libraries/SCYIndex.sol/SCYIndexLib.json +2 -2
  103. package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  104. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  105. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.json +2 -2
  106. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +1 -1
  107. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.json +2 -2
  108. package/build/artifacts/contracts/libraries/math/MarketMathAux.sol/MarketMathAux.dbg.json +1 -1
  109. package/build/artifacts/contracts/libraries/math/MarketMathAux.sol/MarketMathAux.json +2 -2
  110. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  111. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +2 -2
  112. package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
  113. package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +2 -2
  114. package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.dbg.json +1 -1
  115. package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.json +3 -3
  116. package/build/artifacts/contracts/periphery/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.dbg.json +1 -1
  117. package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
  118. package/contracts/interfaces/IPendleGauge.sol +32 -0
  119. package/contracts/interfaces/IVePToken.sol +14 -0
  120. package/contracts/interfaces/IVotingEscrowController.sol +14 -0
  121. package/contracts/interfaces/IVotingEscrowPendle.sol +32 -0
  122. package/contracts/libraries/math/MarketApproxLib.sol +1 -1
  123. package/package.json +1 -1
  124. package/typechain-types/ActionCallback.ts +5 -5
  125. package/typechain-types/ActionCore.ts +232 -280
  126. package/typechain-types/{PendleRouterRedeemUpg.ts → ActionRedeem.ts} +5 -5
  127. package/typechain-types/{ActionSCYAndYOBase.ts → ActionSCYAndPYBase.ts} +54 -54
  128. package/typechain-types/ActionSCYAndYTBase.ts +49 -49
  129. package/typechain-types/ActionYT.ts +92 -140
  130. package/typechain-types/IPActionCore.ts +183 -231
  131. package/typechain-types/IPActionYT.ts +43 -91
  132. package/typechain-types/IPAllAction.ts +204 -322
  133. package/typechain-types/IPMarket.ts +55 -55
  134. package/typechain-types/IPMarketAddRemoveCallback.ts +10 -10
  135. package/typechain-types/IPMarketFactory.ts +3 -3
  136. package/typechain-types/IPMarketSwapCallback.ts +5 -5
  137. package/typechain-types/{IPOwnershipToken.ts → IPPrincipalToken.ts} +5 -5
  138. package/typechain-types/IPRouterStatic.ts +529 -49
  139. package/typechain-types/IPYieldContractFactory.ts +19 -19
  140. package/typechain-types/IPYieldToken.ts +29 -29
  141. package/typechain-types/IPendleGauge.ts +241 -0
  142. package/typechain-types/ISuperComposableYield.ts +13 -0
  143. package/typechain-types/{IVEPendleToken.ts → IVePToken.ts} +16 -34
  144. package/typechain-types/IVotingEscrowPendle.ts +297 -0
  145. package/typechain-types/PendleAaveV3SCY.ts +13 -0
  146. package/typechain-types/PendleBaseToken.ts +1 -1
  147. package/typechain-types/PendleBenQiErc20SCY.ts +14 -20
  148. package/typechain-types/PendleBtrflyScy.ts +14 -20
  149. package/typechain-types/PendleGovernanceManager.ts +5 -5
  150. package/typechain-types/PendleMarket.ts +102 -105
  151. package/typechain-types/PendleMarketFactory.ts +48 -8
  152. package/typechain-types/{PendleOwnershipToken.ts → PendlePrincipalToken.ts} +15 -6
  153. package/typechain-types/PendleStEthSCY.ts +15 -23
  154. package/typechain-types/PendleYearnVaultScy.ts +15 -23
  155. package/typechain-types/PendleYieldContractFactory.ts +28 -28
  156. package/typechain-types/PendleYieldToken.ts +30 -30
  157. package/typechain-types/RouterStatic.ts +529 -49
  158. package/typechain-types/SCYBase.ts +13 -0
  159. package/typechain-types/SCYBaseWithRewards.ts +13 -0
  160. package/typechain-types/{IPRouterRedeem.ts → VotingEscrowController.ts} +55 -56
  161. package/typechain-types/factories/ActionCallback__factory.ts +2 -2
  162. package/typechain-types/factories/ActionCore__factory.ts +127 -91
  163. package/typechain-types/factories/{PendleRouterRedeemUpg__factory.ts → ActionRedeem__factory.ts} +19 -26
  164. package/typechain-types/factories/{ActionSCYAndYOBase__factory.ts → ActionSCYAndPYBase__factory.ts} +20 -20
  165. package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +12 -12
  166. package/typechain-types/factories/ActionYT__factory.ts +104 -68
  167. package/typechain-types/factories/IPActionCore__factory.ts +114 -78
  168. package/typechain-types/factories/IPActionYT__factory.ts +90 -54
  169. package/typechain-types/factories/IPAllAction__factory.ts +210 -138
  170. package/typechain-types/factories/IPMarketAddRemoveCallback__factory.ts +2 -2
  171. package/typechain-types/factories/IPMarketFactory__factory.ts +1 -1
  172. package/typechain-types/factories/IPMarketSwapCallback__factory.ts +1 -1
  173. package/typechain-types/factories/IPMarket__factory.ts +14 -14
  174. package/typechain-types/factories/{IPOwnershipToken__factory.ts → IPPrincipalToken__factory.ts} +8 -8
  175. package/typechain-types/factories/IPRouterStatic__factory.ts +626 -10
  176. package/typechain-types/factories/IPYieldContractFactory__factory.ts +3 -3
  177. package/typechain-types/factories/IPYieldToken__factory.ts +5 -5
  178. package/typechain-types/factories/IPendleGauge__factory.ts +125 -0
  179. package/typechain-types/factories/ISuperComposableYield__factory.ts +13 -0
  180. package/typechain-types/factories/{IXPendle__factory.ts → IVePToken__factory.ts} +10 -16
  181. package/typechain-types/factories/{QiErc20Interface__factory.ts → IVotingEscrowPendle__factory.ts} +41 -98
  182. package/typechain-types/factories/PendleAaveV3SCY__factory.ts +24 -1
  183. package/typechain-types/factories/PendleBaseToken__factory.ts +1 -1
  184. package/typechain-types/factories/PendleBenQiErc20SCY__factory.ts +25 -15
  185. package/typechain-types/factories/PendleBtrflyScy__factory.ts +25 -15
  186. package/typechain-types/factories/PendleGovernanceManager__factory.ts +2 -2
  187. package/typechain-types/factories/PendleMarketFactory__factory.ts +29 -3
  188. package/typechain-types/factories/PendleMarket__factory.ts +59 -54
  189. package/typechain-types/factories/PendlePrincipalToken__factory.ts +540 -0
  190. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  191. package/typechain-types/factories/PendleStEthSCY__factory.ts +27 -17
  192. package/typechain-types/factories/PendleYearnVaultScy__factory.ts +26 -16
  193. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +6 -6
  194. package/typechain-types/factories/PendleYieldToken__factory.ts +12 -12
  195. package/typechain-types/factories/RouterStatic__factory.ts +627 -11
  196. package/typechain-types/factories/SCYBaseWithRewards__factory.ts +13 -0
  197. package/typechain-types/factories/SCYBase__factory.ts +13 -0
  198. package/typechain-types/factories/{IVEPendleToken__factory.ts → VotingEscrowController__factory.ts} +33 -24
  199. package/typechain-types/hardhat.d.ts +56 -20
  200. package/typechain-types/index.ts +16 -8
  201. package/build/artifacts/contracts/core/PendleOwnershipToken.sol/PendleOwnershipToken.dbg.json +0 -4
  202. package/build/artifacts/contracts/core/PendleOwnershipToken.sol/PendleOwnershipToken.json +0 -439
  203. package/build/artifacts/contracts/core/actions/ActionRedeem.sol/PendleRouterRedeemUpg.dbg.json +0 -4
  204. package/build/artifacts/contracts/core/actions/base/ActionSCYAndOTBase.sol/ActionSCYAndOTBase.dbg.json +0 -4
  205. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYOBase.sol/ActionSCYAndYOBase.dbg.json +0 -4
  206. package/build/artifacts/contracts/interfaces/IPOwnershipToken.sol/IPOwnershipToken.dbg.json +0 -4
  207. package/typechain-types/AggregatorV2V3Interface.ts +0 -380
  208. package/typechain-types/BenqiChainlinkOracle.ts +0 -362
  209. package/typechain-types/BoringOwnable.ts +0 -194
  210. package/typechain-types/BoringOwnableData.ts +0 -100
  211. package/typechain-types/BoringOwnableUpg.ts +0 -194
  212. package/typechain-types/BoringOwnableUpgData.ts +0 -100
  213. package/typechain-types/Comptroller.ts +0 -2860
  214. package/typechain-types/ComptrollerErrorReporter.ts +0 -70
  215. package/typechain-types/ComptrollerInterface.ts +0 -881
  216. package/typechain-types/ComptrollerVXStorage.ts +0 -781
  217. package/typechain-types/CrosschainContract.ts +0 -113
  218. package/typechain-types/CrosschainReceiver.ts +0 -347
  219. package/typechain-types/CrosschainSender.ts +0 -210
  220. package/typechain-types/EIP20Interface.ts +0 -337
  221. package/typechain-types/EIP20NonStandardInterface.ts +0 -298
  222. package/typechain-types/ERC20Burnable.ts +0 -473
  223. package/typechain-types/ERC20Locker.ts +0 -91
  224. package/typechain-types/ERC20Premined.ts +0 -473
  225. package/typechain-types/ERC20PresetFixedSupply.ts +0 -473
  226. package/typechain-types/EpochController.ts +0 -195
  227. package/typechain-types/FundKeeper.ts +0 -347
  228. package/typechain-types/GaugeTypeControllerAbstract.ts +0 -546
  229. package/typechain-types/GaugeTypeControllerCrosschain.ts +0 -733
  230. package/typechain-types/GaugeTypeControllerMainchain.ts +0 -604
  231. package/typechain-types/IGaugeController.ts +0 -99
  232. package/typechain-types/ILiquidYieldToken.ts +0 -639
  233. package/typechain-types/ILiquidYieldTokenWrap.ts +0 -790
  234. package/typechain-types/IMessageBus.ts +0 -543
  235. package/typechain-types/IMessageReceiverApp.ts +0 -110
  236. package/typechain-types/IPFlashCallback.ts +0 -115
  237. package/typechain-types/IPLiquidYieldToken.ts +0 -641
  238. package/typechain-types/IPMarketCallback.ts +0 -107
  239. package/typechain-types/IPRouterCore.ts +0 -769
  240. package/typechain-types/IPRouterYT.ts +0 -489
  241. package/typechain-types/IPermissionsV2.ts +0 -87
  242. package/typechain-types/IRainbowBridge.ts +0 -91
  243. package/typechain-types/ISCYRewardIndex.ts +0 -695
  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/PendleBenQiErc20LYT.ts +0 -901
  256. package/typechain-types/PendleBenqiLiquidYieldToken.ts +0 -1013
  257. package/typechain-types/PendleBtrflyLYT.ts +0 -781
  258. package/typechain-types/PendleGauge.ts +0 -469
  259. package/typechain-types/PendleJoeSwapHelper.ts +0 -92
  260. package/typechain-types/PendleLYTMockYT.ts +0 -894
  261. package/typechain-types/PendleLiquidYieldToken.ts +0 -814
  262. package/typechain-types/PendleLiquidYieldTokenBase.ts +0 -941
  263. package/typechain-types/PendleRouter01.ts +0 -184
  264. package/typechain-types/PendleRouter02.ts +0 -564
  265. package/typechain-types/PendleRouter03.ts +0 -224
  266. package/typechain-types/PendleRouterBase.ts +0 -126
  267. package/typechain-types/PendleRouterCore.ts +0 -328
  268. package/typechain-types/PendleRouterCoreUpg.ts +0 -798
  269. package/typechain-types/PendleRouterLytAndForge.ts +0 -331
  270. package/typechain-types/PendleRouterMarketBase.ts +0 -82
  271. package/typechain-types/PendleRouterOT.ts +0 -463
  272. package/typechain-types/PendleRouterProxy.ts +0 -335
  273. package/typechain-types/PendleRouterRawTokenOT.ts +0 -865
  274. package/typechain-types/PendleRouterRawTokenYT.ts +0 -520
  275. package/typechain-types/PendleRouterSCYAndForgeBaseUpg.ts +0 -98
  276. package/typechain-types/PendleRouterStaticUpg.ts +0 -399
  277. package/typechain-types/PendleRouterYT.ts +0 -227
  278. package/typechain-types/PendleRouterYTBaseUpg.ts +0 -134
  279. package/typechain-types/PendleRouterYTUpg.ts +0 -537
  280. package/typechain-types/PendleYTLYTBenqi.ts +0 -863
  281. package/typechain-types/PendleYearnVaultLYT.ts +0 -723
  282. package/typechain-types/PermissionsV2.ts +0 -87
  283. package/typechain-types/PermlessAbstract.ts +0 -57
  284. package/typechain-types/PglStakingContract.ts +0 -662
  285. package/typechain-types/PglStakingContractProxy.ts +0 -256
  286. package/typechain-types/PglStakingContractProxyStorage.ts +0 -136
  287. package/typechain-types/PglStakingContractStorage.ts +0 -397
  288. package/typechain-types/PriceOracle.ts +0 -116
  289. package/typechain-types/ProtocolFakeUser.ts +0 -105
  290. package/typechain-types/Qi.ts +0 -760
  291. package/typechain-types/QiAvax.ts +0 -1720
  292. package/typechain-types/QiDelegateInterface.ts +0 -145
  293. package/typechain-types/QiDelegationStorage.ts +0 -82
  294. package/typechain-types/QiDelegatorInterface.ts +0 -149
  295. package/typechain-types/QiErc20.ts +0 -1846
  296. package/typechain-types/QiErc20Delegate.ts +0 -1926
  297. package/typechain-types/QiErc20Delegator.ts +0 -1885
  298. package/typechain-types/QiErc20Interface.ts +0 -382
  299. package/typechain-types/QiErc20Storage.ts +0 -79
  300. package/typechain-types/QiToken.ts +0 -1475
  301. package/typechain-types/QiTokenInterface.ts +0 -1419
  302. package/typechain-types/QiTokenSaleDistributor.ts +0 -771
  303. package/typechain-types/QiTokenSaleDistributorProxy.ts +0 -256
  304. package/typechain-types/QiTokenSaleDistributorProxyStorage.ts +0 -136
  305. package/typechain-types/QiTokenSaleDistributorStorage.ts +0 -401
  306. package/typechain-types/QiTokenStorage.ts +0 -311
  307. package/typechain-types/ReentrancyGuard.ts +0 -52
  308. package/typechain-types/SingleGaugeTypeController.ts +0 -478
  309. package/typechain-types/TokenErrorReporter.ts +0 -70
  310. package/typechain-types/Unitroller.ts +0 -356
  311. package/typechain-types/UnitrollerAdminStorage.ts +0 -143
  312. package/typechain-types/VePendle.ts +0 -1156
  313. package/typechain-types/VePendleCrosschain.ts +0 -969
  314. package/typechain-types/VePendleToken.ts +0 -688
  315. package/typechain-types/VotingController.ts +0 -883
  316. package/typechain-types/WETH9.ts +0 -414
  317. package/typechain-types/WhitePaperInterestRateModel.ts +0 -304
  318. package/typechain-types/XPendle.ts +0 -618
  319. package/typechain-types/factories/AggregatorV2V3Interface__factory.ts +0 -288
  320. package/typechain-types/factories/BenqiChainlinkOracle__factory.ts +0 -311
  321. package/typechain-types/factories/BoringOwnableData__factory.ts +0 -90
  322. package/typechain-types/factories/BoringOwnableUpgData__factory.ts +0 -94
  323. package/typechain-types/factories/BoringOwnableUpg__factory.ts +0 -139
  324. package/typechain-types/factories/BoringOwnable__factory.ts +0 -149
  325. package/typechain-types/factories/ComptrollerErrorReporter__factory.ts +0 -93
  326. package/typechain-types/factories/ComptrollerInterface__factory.ts +0 -595
  327. package/typechain-types/factories/ComptrollerVXStorage__factory.ts +0 -610
  328. package/typechain-types/factories/Comptroller__factory.ts +0 -2189
  329. package/typechain-types/factories/CrosschainContract__factory.ts +0 -52
  330. package/typechain-types/factories/CrosschainReceiver__factory.ts +0 -187
  331. package/typechain-types/factories/CrosschainSender__factory.ts +0 -104
  332. package/typechain-types/factories/EIP20Interface__factory.ts +0 -248
  333. package/typechain-types/factories/EIP20NonStandardInterface__factory.ts +0 -213
  334. package/typechain-types/factories/ERC20Burnable__factory.ts +0 -324
  335. package/typechain-types/factories/ERC20Locker__factory.ts +0 -73
  336. package/typechain-types/factories/ERC20Premined__factory.ts +0 -393
  337. package/typechain-types/factories/ERC20PresetFixedSupply__factory.ts +0 -422
  338. package/typechain-types/factories/EpochController__factory.ts +0 -170
  339. package/typechain-types/factories/FundKeeper__factory.ts +0 -212
  340. package/typechain-types/factories/GaugeTypeControllerAbstract__factory.ts +0 -387
  341. package/typechain-types/factories/GaugeTypeControllerCrosschain__factory.ts +0 -522
  342. package/typechain-types/factories/GaugeTypeControllerMainchain__factory.ts +0 -431
  343. package/typechain-types/factories/IGaugeController__factory.ts +0 -45
  344. package/typechain-types/factories/ILiquidYieldTokenWrap__factory.ts +0 -533
  345. package/typechain-types/factories/ILiquidYieldToken__factory.ts +0 -429
  346. package/typechain-types/factories/IMessageBus__factory.ts +0 -396
  347. package/typechain-types/factories/IMessageReceiverApp__factory.ts +0 -55
  348. package/typechain-types/factories/IPFlashCallback__factory.ts +0 -49
  349. package/typechain-types/factories/IPLiquidYieldToken__factory.ts +0 -433
  350. package/typechain-types/factories/IPMarketCallback__factory.ts +0 -55
  351. package/typechain-types/factories/IPRouterCore__factory.ts +0 -531
  352. package/typechain-types/factories/IPRouterRedeem__factory.ts +0 -72
  353. package/typechain-types/factories/IPRouterYT__factory.ts +0 -305
  354. package/typechain-types/factories/IPermissionsV2__factory.ts +0 -39
  355. package/typechain-types/factories/IRainbowBridge__factory.ts +0 -76
  356. package/typechain-types/factories/ISCYRewardIndex__factory.ts +0 -465
  357. package/typechain-types/factories/InterestRateModel__factory.ts +0 -108
  358. package/typechain-types/factories/JumpRateModel__factory.ts +0 -334
  359. package/typechain-types/factories/LYTBaseWithRewards__factory.ts +0 -530
  360. package/typechain-types/factories/LYTBase__factory.ts +0 -474
  361. package/typechain-types/factories/LYTWrapWithRewards__factory.ts +0 -643
  362. package/typechain-types/factories/LYTWrap__factory.ts +0 -574
  363. package/typechain-types/factories/LiquidityMining__factory.ts +0 -367
  364. package/typechain-types/factories/Maximillion__factory.ts +0 -125
  365. package/typechain-types/factories/Ownable__factory.ts +0 -75
  366. package/typechain-types/factories/PendleAaveV3LYT__factory.ts +0 -657
  367. package/typechain-types/factories/PendleBenQiErc20LYT__factory.ts +0 -748
  368. package/typechain-types/factories/PendleBenqiLiquidYieldToken__factory.ts +0 -785
  369. package/typechain-types/factories/PendleBtrflyLYT__factory.ts +0 -647
  370. package/typechain-types/factories/PendleGauge__factory.ts +0 -383
  371. package/typechain-types/factories/PendleJoeSwapHelper__factory.ts +0 -52
  372. package/typechain-types/factories/PendleLYTMockYT__factory.ts +0 -732
  373. package/typechain-types/factories/PendleLiquidYieldTokenBase__factory.ts +0 -603
  374. package/typechain-types/factories/PendleLiquidYieldToken__factory.ts +0 -510
  375. package/typechain-types/factories/PendleOwnershipToken__factory.ts +0 -527
  376. package/typechain-types/factories/PendleRouter01__factory.ts +0 -152
  377. package/typechain-types/factories/PendleRouter02__factory.ts +0 -438
  378. package/typechain-types/factories/PendleRouter03__factory.ts +0 -190
  379. package/typechain-types/factories/PendleRouterBase__factory.ts +0 -68
  380. package/typechain-types/factories/PendleRouterCoreUpg__factory.ts +0 -635
  381. package/typechain-types/factories/PendleRouterCore__factory.ts +0 -268
  382. package/typechain-types/factories/PendleRouterLytAndForge__factory.ts +0 -294
  383. package/typechain-types/factories/PendleRouterMarketBase__factory.ts +0 -43
  384. package/typechain-types/factories/PendleRouterOT__factory.ts +0 -372
  385. package/typechain-types/factories/PendleRouterProxy__factory.ts +0 -285
  386. package/typechain-types/factories/PendleRouterRawTokenOT__factory.ts +0 -697
  387. package/typechain-types/factories/PendleRouterRawTokenYT__factory.ts +0 -431
  388. package/typechain-types/factories/PendleRouterSCYAndForgeBaseUpg__factory.ts +0 -56
  389. package/typechain-types/factories/PendleRouterStaticUpg__factory.ts +0 -315
  390. package/typechain-types/factories/PendleRouterYTBaseUpg__factory.ts +0 -66
  391. package/typechain-types/factories/PendleRouterYTUpg__factory.ts +0 -422
  392. package/typechain-types/factories/PendleRouterYT__factory.ts +0 -184
  393. package/typechain-types/factories/PendleYTLYTBenqi__factory.ts +0 -713
  394. package/typechain-types/factories/PendleYearnVaultLYT__factory.ts +0 -586
  395. package/typechain-types/factories/PermissionsV2__factory.ts +0 -36
  396. package/typechain-types/factories/PermlessAbstract__factory.ts +0 -30
  397. package/typechain-types/factories/PglStakingContractProxyStorage__factory.ts +0 -130
  398. package/typechain-types/factories/PglStakingContractProxy__factory.ts +0 -187
  399. package/typechain-types/factories/PglStakingContractStorage__factory.ts +0 -309
  400. package/typechain-types/factories/PglStakingContract__factory.ts +0 -446
  401. package/typechain-types/factories/PriceOracle__factory.ts +0 -59
  402. package/typechain-types/factories/ProtocolFakeUser__factory.ts +0 -87
  403. package/typechain-types/factories/QiAvax__factory.ts +0 -1471
  404. package/typechain-types/factories/QiDelegateInterface__factory.ts +0 -65
  405. package/typechain-types/factories/QiDelegationStorage__factory.ts +0 -79
  406. package/typechain-types/factories/QiDelegatorInterface__factory.ts +0 -89
  407. package/typechain-types/factories/QiErc20Delegate__factory.ts +0 -1563
  408. package/typechain-types/factories/QiErc20Delegator__factory.ts +0 -1648
  409. package/typechain-types/factories/QiErc20Storage__factory.ts +0 -79
  410. package/typechain-types/factories/QiErc20__factory.ts +0 -1515
  411. package/typechain-types/factories/QiTokenInterface__factory.ts +0 -1182
  412. package/typechain-types/factories/QiTokenSaleDistributorProxyStorage__factory.ts +0 -124
  413. package/typechain-types/factories/QiTokenSaleDistributorProxy__factory.ts +0 -171
  414. package/typechain-types/factories/QiTokenSaleDistributorStorage__factory.ts +0 -289
  415. package/typechain-types/factories/QiTokenSaleDistributor__factory.ts +0 -480
  416. package/typechain-types/factories/QiTokenStorage__factory.ts +0 -274
  417. package/typechain-types/factories/QiToken__factory.ts +0 -1219
  418. package/typechain-types/factories/Qi__factory.ts +0 -648
  419. package/typechain-types/factories/ReentrancyGuard__factory.ts +0 -69
  420. package/typechain-types/factories/SingleGaugeTypeController__factory.ts +0 -341
  421. package/typechain-types/factories/TokenErrorReporter__factory.ts +0 -89
  422. package/typechain-types/factories/UnitrollerAdminStorage__factory.ts +0 -128
  423. package/typechain-types/factories/Unitroller__factory.ts +0 -305
  424. package/typechain-types/factories/VePendleCrosschain__factory.ts +0 -727
  425. package/typechain-types/factories/VePendleToken__factory.ts +0 -494
  426. package/typechain-types/factories/VePendle__factory.ts +0 -800
  427. package/typechain-types/factories/VotingController__factory.ts +0 -610
  428. package/typechain-types/factories/WETH9__factory.ts +0 -342
  429. package/typechain-types/factories/WhitePaperInterestRateModel__factory.ts +0 -281
  430. package/typechain-types/factories/XPendle__factory.ts +0 -473
@@ -1,1219 +0,0 @@
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 { QiToken, QiTokenInterface } from "../QiToken";
8
-
9
- const _abi = [
10
- {
11
- anonymous: false,
12
- inputs: [
13
- {
14
- indexed: false,
15
- internalType: "uint256",
16
- name: "cashPrior",
17
- type: "uint256",
18
- },
19
- {
20
- indexed: false,
21
- internalType: "uint256",
22
- name: "interestAccumulated",
23
- type: "uint256",
24
- },
25
- {
26
- indexed: false,
27
- internalType: "uint256",
28
- name: "borrowIndex",
29
- type: "uint256",
30
- },
31
- {
32
- indexed: false,
33
- internalType: "uint256",
34
- name: "totalBorrows",
35
- type: "uint256",
36
- },
37
- ],
38
- name: "AccrueInterest",
39
- type: "event",
40
- },
41
- {
42
- anonymous: false,
43
- inputs: [
44
- {
45
- indexed: true,
46
- internalType: "address",
47
- name: "owner",
48
- type: "address",
49
- },
50
- {
51
- indexed: true,
52
- internalType: "address",
53
- name: "spender",
54
- type: "address",
55
- },
56
- {
57
- indexed: false,
58
- internalType: "uint256",
59
- name: "amount",
60
- type: "uint256",
61
- },
62
- ],
63
- name: "Approval",
64
- type: "event",
65
- },
66
- {
67
- anonymous: false,
68
- inputs: [
69
- {
70
- indexed: false,
71
- internalType: "address",
72
- name: "borrower",
73
- type: "address",
74
- },
75
- {
76
- indexed: false,
77
- internalType: "uint256",
78
- name: "borrowAmount",
79
- type: "uint256",
80
- },
81
- {
82
- indexed: false,
83
- internalType: "uint256",
84
- name: "accountBorrows",
85
- type: "uint256",
86
- },
87
- {
88
- indexed: false,
89
- internalType: "uint256",
90
- name: "totalBorrows",
91
- type: "uint256",
92
- },
93
- ],
94
- name: "Borrow",
95
- type: "event",
96
- },
97
- {
98
- anonymous: false,
99
- inputs: [
100
- {
101
- indexed: false,
102
- internalType: "uint256",
103
- name: "error",
104
- type: "uint256",
105
- },
106
- {
107
- indexed: false,
108
- internalType: "uint256",
109
- name: "info",
110
- type: "uint256",
111
- },
112
- {
113
- indexed: false,
114
- internalType: "uint256",
115
- name: "detail",
116
- type: "uint256",
117
- },
118
- ],
119
- name: "Failure",
120
- type: "event",
121
- },
122
- {
123
- anonymous: false,
124
- inputs: [
125
- {
126
- indexed: false,
127
- internalType: "address",
128
- name: "liquidator",
129
- type: "address",
130
- },
131
- {
132
- indexed: false,
133
- internalType: "address",
134
- name: "borrower",
135
- type: "address",
136
- },
137
- {
138
- indexed: false,
139
- internalType: "uint256",
140
- name: "repayAmount",
141
- type: "uint256",
142
- },
143
- {
144
- indexed: false,
145
- internalType: "address",
146
- name: "qiTokenCollateral",
147
- type: "address",
148
- },
149
- {
150
- indexed: false,
151
- internalType: "uint256",
152
- name: "seizeTokens",
153
- type: "uint256",
154
- },
155
- ],
156
- name: "LiquidateBorrow",
157
- type: "event",
158
- },
159
- {
160
- anonymous: false,
161
- inputs: [
162
- {
163
- indexed: false,
164
- internalType: "address",
165
- name: "minter",
166
- type: "address",
167
- },
168
- {
169
- indexed: false,
170
- internalType: "uint256",
171
- name: "mintAmount",
172
- type: "uint256",
173
- },
174
- {
175
- indexed: false,
176
- internalType: "uint256",
177
- name: "mintTokens",
178
- type: "uint256",
179
- },
180
- ],
181
- name: "Mint",
182
- type: "event",
183
- },
184
- {
185
- anonymous: false,
186
- inputs: [
187
- {
188
- indexed: false,
189
- internalType: "address",
190
- name: "oldAdmin",
191
- type: "address",
192
- },
193
- {
194
- indexed: false,
195
- internalType: "address",
196
- name: "newAdmin",
197
- type: "address",
198
- },
199
- ],
200
- name: "NewAdmin",
201
- type: "event",
202
- },
203
- {
204
- anonymous: false,
205
- inputs: [
206
- {
207
- indexed: false,
208
- internalType: "contract ComptrollerInterface",
209
- name: "oldComptroller",
210
- type: "address",
211
- },
212
- {
213
- indexed: false,
214
- internalType: "contract ComptrollerInterface",
215
- name: "newComptroller",
216
- type: "address",
217
- },
218
- ],
219
- name: "NewComptroller",
220
- type: "event",
221
- },
222
- {
223
- anonymous: false,
224
- inputs: [
225
- {
226
- indexed: false,
227
- internalType: "contract InterestRateModel",
228
- name: "oldInterestRateModel",
229
- type: "address",
230
- },
231
- {
232
- indexed: false,
233
- internalType: "contract InterestRateModel",
234
- name: "newInterestRateModel",
235
- type: "address",
236
- },
237
- ],
238
- name: "NewMarketInterestRateModel",
239
- type: "event",
240
- },
241
- {
242
- anonymous: false,
243
- inputs: [
244
- {
245
- indexed: false,
246
- internalType: "address",
247
- name: "oldPendingAdmin",
248
- type: "address",
249
- },
250
- {
251
- indexed: false,
252
- internalType: "address",
253
- name: "newPendingAdmin",
254
- type: "address",
255
- },
256
- ],
257
- name: "NewPendingAdmin",
258
- type: "event",
259
- },
260
- {
261
- anonymous: false,
262
- inputs: [
263
- {
264
- indexed: false,
265
- internalType: "uint256",
266
- name: "oldProtocolSeizeShareMantissa",
267
- type: "uint256",
268
- },
269
- {
270
- indexed: false,
271
- internalType: "uint256",
272
- name: "newProtocolSeizeShareMantissa",
273
- type: "uint256",
274
- },
275
- ],
276
- name: "NewProtocolSeizeShare",
277
- type: "event",
278
- },
279
- {
280
- anonymous: false,
281
- inputs: [
282
- {
283
- indexed: false,
284
- internalType: "uint256",
285
- name: "oldReserveFactorMantissa",
286
- type: "uint256",
287
- },
288
- {
289
- indexed: false,
290
- internalType: "uint256",
291
- name: "newReserveFactorMantissa",
292
- type: "uint256",
293
- },
294
- ],
295
- name: "NewReserveFactor",
296
- type: "event",
297
- },
298
- {
299
- anonymous: false,
300
- inputs: [
301
- {
302
- indexed: false,
303
- internalType: "address",
304
- name: "redeemer",
305
- type: "address",
306
- },
307
- {
308
- indexed: false,
309
- internalType: "uint256",
310
- name: "redeemAmount",
311
- type: "uint256",
312
- },
313
- {
314
- indexed: false,
315
- internalType: "uint256",
316
- name: "redeemTokens",
317
- type: "uint256",
318
- },
319
- ],
320
- name: "Redeem",
321
- type: "event",
322
- },
323
- {
324
- anonymous: false,
325
- inputs: [
326
- {
327
- indexed: false,
328
- internalType: "address",
329
- name: "payer",
330
- type: "address",
331
- },
332
- {
333
- indexed: false,
334
- internalType: "address",
335
- name: "borrower",
336
- type: "address",
337
- },
338
- {
339
- indexed: false,
340
- internalType: "uint256",
341
- name: "repayAmount",
342
- type: "uint256",
343
- },
344
- {
345
- indexed: false,
346
- internalType: "uint256",
347
- name: "accountBorrows",
348
- type: "uint256",
349
- },
350
- {
351
- indexed: false,
352
- internalType: "uint256",
353
- name: "totalBorrows",
354
- type: "uint256",
355
- },
356
- ],
357
- name: "RepayBorrow",
358
- type: "event",
359
- },
360
- {
361
- anonymous: false,
362
- inputs: [
363
- {
364
- indexed: false,
365
- internalType: "address",
366
- name: "benefactor",
367
- type: "address",
368
- },
369
- {
370
- indexed: false,
371
- internalType: "uint256",
372
- name: "addAmount",
373
- type: "uint256",
374
- },
375
- {
376
- indexed: false,
377
- internalType: "uint256",
378
- name: "newTotalReserves",
379
- type: "uint256",
380
- },
381
- ],
382
- name: "ReservesAdded",
383
- type: "event",
384
- },
385
- {
386
- anonymous: false,
387
- inputs: [
388
- {
389
- indexed: false,
390
- internalType: "address",
391
- name: "admin",
392
- type: "address",
393
- },
394
- {
395
- indexed: false,
396
- internalType: "uint256",
397
- name: "reduceAmount",
398
- type: "uint256",
399
- },
400
- {
401
- indexed: false,
402
- internalType: "uint256",
403
- name: "newTotalReserves",
404
- type: "uint256",
405
- },
406
- ],
407
- name: "ReservesReduced",
408
- type: "event",
409
- },
410
- {
411
- anonymous: false,
412
- inputs: [
413
- {
414
- indexed: true,
415
- internalType: "address",
416
- name: "from",
417
- type: "address",
418
- },
419
- {
420
- indexed: true,
421
- internalType: "address",
422
- name: "to",
423
- type: "address",
424
- },
425
- {
426
- indexed: false,
427
- internalType: "uint256",
428
- name: "amount",
429
- type: "uint256",
430
- },
431
- ],
432
- name: "Transfer",
433
- type: "event",
434
- },
435
- {
436
- constant: false,
437
- inputs: [],
438
- name: "_acceptAdmin",
439
- outputs: [
440
- {
441
- internalType: "uint256",
442
- name: "",
443
- type: "uint256",
444
- },
445
- ],
446
- payable: false,
447
- stateMutability: "nonpayable",
448
- type: "function",
449
- },
450
- {
451
- constant: false,
452
- inputs: [
453
- {
454
- internalType: "uint256",
455
- name: "reduceAmount",
456
- type: "uint256",
457
- },
458
- ],
459
- name: "_reduceReserves",
460
- outputs: [
461
- {
462
- internalType: "uint256",
463
- name: "",
464
- type: "uint256",
465
- },
466
- ],
467
- payable: false,
468
- stateMutability: "nonpayable",
469
- type: "function",
470
- },
471
- {
472
- constant: false,
473
- inputs: [
474
- {
475
- internalType: "contract ComptrollerInterface",
476
- name: "newComptroller",
477
- type: "address",
478
- },
479
- ],
480
- name: "_setComptroller",
481
- outputs: [
482
- {
483
- internalType: "uint256",
484
- name: "",
485
- type: "uint256",
486
- },
487
- ],
488
- payable: false,
489
- stateMutability: "nonpayable",
490
- type: "function",
491
- },
492
- {
493
- constant: false,
494
- inputs: [
495
- {
496
- internalType: "contract InterestRateModel",
497
- name: "newInterestRateModel",
498
- type: "address",
499
- },
500
- ],
501
- name: "_setInterestRateModel",
502
- outputs: [
503
- {
504
- internalType: "uint256",
505
- name: "",
506
- type: "uint256",
507
- },
508
- ],
509
- payable: false,
510
- stateMutability: "nonpayable",
511
- type: "function",
512
- },
513
- {
514
- constant: false,
515
- inputs: [
516
- {
517
- internalType: "address payable",
518
- name: "newPendingAdmin",
519
- type: "address",
520
- },
521
- ],
522
- name: "_setPendingAdmin",
523
- outputs: [
524
- {
525
- internalType: "uint256",
526
- name: "",
527
- type: "uint256",
528
- },
529
- ],
530
- payable: false,
531
- stateMutability: "nonpayable",
532
- type: "function",
533
- },
534
- {
535
- constant: false,
536
- inputs: [
537
- {
538
- internalType: "uint256",
539
- name: "newProtocolSeizeShareMantissa",
540
- type: "uint256",
541
- },
542
- ],
543
- name: "_setProtocolSeizeShare",
544
- outputs: [
545
- {
546
- internalType: "uint256",
547
- name: "",
548
- type: "uint256",
549
- },
550
- ],
551
- payable: false,
552
- stateMutability: "nonpayable",
553
- type: "function",
554
- },
555
- {
556
- constant: false,
557
- inputs: [
558
- {
559
- internalType: "uint256",
560
- name: "newReserveFactorMantissa",
561
- type: "uint256",
562
- },
563
- ],
564
- name: "_setReserveFactor",
565
- outputs: [
566
- {
567
- internalType: "uint256",
568
- name: "",
569
- type: "uint256",
570
- },
571
- ],
572
- payable: false,
573
- stateMutability: "nonpayable",
574
- type: "function",
575
- },
576
- {
577
- constant: true,
578
- inputs: [],
579
- name: "accrualBlockTimestamp",
580
- outputs: [
581
- {
582
- internalType: "uint256",
583
- name: "",
584
- type: "uint256",
585
- },
586
- ],
587
- payable: false,
588
- stateMutability: "view",
589
- type: "function",
590
- },
591
- {
592
- constant: false,
593
- inputs: [],
594
- name: "accrueInterest",
595
- outputs: [
596
- {
597
- internalType: "uint256",
598
- name: "",
599
- type: "uint256",
600
- },
601
- ],
602
- payable: false,
603
- stateMutability: "nonpayable",
604
- type: "function",
605
- },
606
- {
607
- constant: true,
608
- inputs: [],
609
- name: "admin",
610
- outputs: [
611
- {
612
- internalType: "address payable",
613
- name: "",
614
- type: "address",
615
- },
616
- ],
617
- payable: false,
618
- stateMutability: "view",
619
- type: "function",
620
- },
621
- {
622
- constant: true,
623
- inputs: [
624
- {
625
- internalType: "address",
626
- name: "owner",
627
- type: "address",
628
- },
629
- {
630
- internalType: "address",
631
- name: "spender",
632
- type: "address",
633
- },
634
- ],
635
- name: "allowance",
636
- outputs: [
637
- {
638
- internalType: "uint256",
639
- name: "",
640
- type: "uint256",
641
- },
642
- ],
643
- payable: false,
644
- stateMutability: "view",
645
- type: "function",
646
- },
647
- {
648
- constant: false,
649
- inputs: [
650
- {
651
- internalType: "address",
652
- name: "spender",
653
- type: "address",
654
- },
655
- {
656
- internalType: "uint256",
657
- name: "amount",
658
- type: "uint256",
659
- },
660
- ],
661
- name: "approve",
662
- outputs: [
663
- {
664
- internalType: "bool",
665
- name: "",
666
- type: "bool",
667
- },
668
- ],
669
- payable: false,
670
- stateMutability: "nonpayable",
671
- type: "function",
672
- },
673
- {
674
- constant: true,
675
- inputs: [
676
- {
677
- internalType: "address",
678
- name: "owner",
679
- type: "address",
680
- },
681
- ],
682
- name: "balanceOf",
683
- outputs: [
684
- {
685
- internalType: "uint256",
686
- name: "",
687
- type: "uint256",
688
- },
689
- ],
690
- payable: false,
691
- stateMutability: "view",
692
- type: "function",
693
- },
694
- {
695
- constant: false,
696
- inputs: [
697
- {
698
- internalType: "address",
699
- name: "owner",
700
- type: "address",
701
- },
702
- ],
703
- name: "balanceOfUnderlying",
704
- outputs: [
705
- {
706
- internalType: "uint256",
707
- name: "",
708
- type: "uint256",
709
- },
710
- ],
711
- payable: false,
712
- stateMutability: "nonpayable",
713
- type: "function",
714
- },
715
- {
716
- constant: false,
717
- inputs: [
718
- {
719
- internalType: "address",
720
- name: "account",
721
- type: "address",
722
- },
723
- ],
724
- name: "borrowBalanceCurrent",
725
- outputs: [
726
- {
727
- internalType: "uint256",
728
- name: "",
729
- type: "uint256",
730
- },
731
- ],
732
- payable: false,
733
- stateMutability: "nonpayable",
734
- type: "function",
735
- },
736
- {
737
- constant: true,
738
- inputs: [
739
- {
740
- internalType: "address",
741
- name: "account",
742
- type: "address",
743
- },
744
- ],
745
- name: "borrowBalanceStored",
746
- outputs: [
747
- {
748
- internalType: "uint256",
749
- name: "",
750
- type: "uint256",
751
- },
752
- ],
753
- payable: false,
754
- stateMutability: "view",
755
- type: "function",
756
- },
757
- {
758
- constant: true,
759
- inputs: [],
760
- name: "borrowIndex",
761
- outputs: [
762
- {
763
- internalType: "uint256",
764
- name: "",
765
- type: "uint256",
766
- },
767
- ],
768
- payable: false,
769
- stateMutability: "view",
770
- type: "function",
771
- },
772
- {
773
- constant: true,
774
- inputs: [],
775
- name: "borrowRatePerTimestamp",
776
- outputs: [
777
- {
778
- internalType: "uint256",
779
- name: "",
780
- type: "uint256",
781
- },
782
- ],
783
- payable: false,
784
- stateMutability: "view",
785
- type: "function",
786
- },
787
- {
788
- constant: true,
789
- inputs: [],
790
- name: "comptroller",
791
- outputs: [
792
- {
793
- internalType: "contract ComptrollerInterface",
794
- name: "",
795
- type: "address",
796
- },
797
- ],
798
- payable: false,
799
- stateMutability: "view",
800
- type: "function",
801
- },
802
- {
803
- constant: true,
804
- inputs: [],
805
- name: "decimals",
806
- outputs: [
807
- {
808
- internalType: "uint8",
809
- name: "",
810
- type: "uint8",
811
- },
812
- ],
813
- payable: false,
814
- stateMutability: "view",
815
- type: "function",
816
- },
817
- {
818
- constant: false,
819
- inputs: [],
820
- name: "exchangeRateCurrent",
821
- outputs: [
822
- {
823
- internalType: "uint256",
824
- name: "",
825
- type: "uint256",
826
- },
827
- ],
828
- payable: false,
829
- stateMutability: "nonpayable",
830
- type: "function",
831
- },
832
- {
833
- constant: true,
834
- inputs: [],
835
- name: "exchangeRateStored",
836
- outputs: [
837
- {
838
- internalType: "uint256",
839
- name: "",
840
- type: "uint256",
841
- },
842
- ],
843
- payable: false,
844
- stateMutability: "view",
845
- type: "function",
846
- },
847
- {
848
- constant: true,
849
- inputs: [
850
- {
851
- internalType: "address",
852
- name: "account",
853
- type: "address",
854
- },
855
- ],
856
- name: "getAccountSnapshot",
857
- outputs: [
858
- {
859
- internalType: "uint256",
860
- name: "",
861
- type: "uint256",
862
- },
863
- {
864
- internalType: "uint256",
865
- name: "",
866
- type: "uint256",
867
- },
868
- {
869
- internalType: "uint256",
870
- name: "",
871
- type: "uint256",
872
- },
873
- {
874
- internalType: "uint256",
875
- name: "",
876
- type: "uint256",
877
- },
878
- ],
879
- payable: false,
880
- stateMutability: "view",
881
- type: "function",
882
- },
883
- {
884
- constant: true,
885
- inputs: [],
886
- name: "getCash",
887
- outputs: [
888
- {
889
- internalType: "uint256",
890
- name: "",
891
- type: "uint256",
892
- },
893
- ],
894
- payable: false,
895
- stateMutability: "view",
896
- type: "function",
897
- },
898
- {
899
- constant: false,
900
- inputs: [
901
- {
902
- internalType: "contract ComptrollerInterface",
903
- name: "comptroller_",
904
- type: "address",
905
- },
906
- {
907
- internalType: "contract InterestRateModel",
908
- name: "interestRateModel_",
909
- type: "address",
910
- },
911
- {
912
- internalType: "uint256",
913
- name: "initialExchangeRateMantissa_",
914
- type: "uint256",
915
- },
916
- {
917
- internalType: "string",
918
- name: "name_",
919
- type: "string",
920
- },
921
- {
922
- internalType: "string",
923
- name: "symbol_",
924
- type: "string",
925
- },
926
- {
927
- internalType: "uint8",
928
- name: "decimals_",
929
- type: "uint8",
930
- },
931
- ],
932
- name: "initialize",
933
- outputs: [],
934
- payable: false,
935
- stateMutability: "nonpayable",
936
- type: "function",
937
- },
938
- {
939
- constant: true,
940
- inputs: [],
941
- name: "interestRateModel",
942
- outputs: [
943
- {
944
- internalType: "contract InterestRateModel",
945
- name: "",
946
- type: "address",
947
- },
948
- ],
949
- payable: false,
950
- stateMutability: "view",
951
- type: "function",
952
- },
953
- {
954
- constant: true,
955
- inputs: [],
956
- name: "isQiToken",
957
- outputs: [
958
- {
959
- internalType: "bool",
960
- name: "",
961
- type: "bool",
962
- },
963
- ],
964
- payable: false,
965
- stateMutability: "view",
966
- type: "function",
967
- },
968
- {
969
- constant: true,
970
- inputs: [],
971
- name: "name",
972
- outputs: [
973
- {
974
- internalType: "string",
975
- name: "",
976
- type: "string",
977
- },
978
- ],
979
- payable: false,
980
- stateMutability: "view",
981
- type: "function",
982
- },
983
- {
984
- constant: true,
985
- inputs: [],
986
- name: "pendingAdmin",
987
- outputs: [
988
- {
989
- internalType: "address payable",
990
- name: "",
991
- type: "address",
992
- },
993
- ],
994
- payable: false,
995
- stateMutability: "view",
996
- type: "function",
997
- },
998
- {
999
- constant: true,
1000
- inputs: [],
1001
- name: "protocolSeizeShareMantissa",
1002
- outputs: [
1003
- {
1004
- internalType: "uint256",
1005
- name: "",
1006
- type: "uint256",
1007
- },
1008
- ],
1009
- payable: false,
1010
- stateMutability: "view",
1011
- type: "function",
1012
- },
1013
- {
1014
- constant: true,
1015
- inputs: [],
1016
- name: "reserveFactorMantissa",
1017
- outputs: [
1018
- {
1019
- internalType: "uint256",
1020
- name: "",
1021
- type: "uint256",
1022
- },
1023
- ],
1024
- payable: false,
1025
- stateMutability: "view",
1026
- type: "function",
1027
- },
1028
- {
1029
- constant: false,
1030
- inputs: [
1031
- {
1032
- internalType: "address",
1033
- name: "liquidator",
1034
- type: "address",
1035
- },
1036
- {
1037
- internalType: "address",
1038
- name: "borrower",
1039
- type: "address",
1040
- },
1041
- {
1042
- internalType: "uint256",
1043
- name: "seizeTokens",
1044
- type: "uint256",
1045
- },
1046
- ],
1047
- name: "seize",
1048
- outputs: [
1049
- {
1050
- internalType: "uint256",
1051
- name: "",
1052
- type: "uint256",
1053
- },
1054
- ],
1055
- payable: false,
1056
- stateMutability: "nonpayable",
1057
- type: "function",
1058
- },
1059
- {
1060
- constant: true,
1061
- inputs: [],
1062
- name: "supplyRatePerTimestamp",
1063
- outputs: [
1064
- {
1065
- internalType: "uint256",
1066
- name: "",
1067
- type: "uint256",
1068
- },
1069
- ],
1070
- payable: false,
1071
- stateMutability: "view",
1072
- type: "function",
1073
- },
1074
- {
1075
- constant: true,
1076
- inputs: [],
1077
- name: "symbol",
1078
- outputs: [
1079
- {
1080
- internalType: "string",
1081
- name: "",
1082
- type: "string",
1083
- },
1084
- ],
1085
- payable: false,
1086
- stateMutability: "view",
1087
- type: "function",
1088
- },
1089
- {
1090
- constant: true,
1091
- inputs: [],
1092
- name: "totalBorrows",
1093
- outputs: [
1094
- {
1095
- internalType: "uint256",
1096
- name: "",
1097
- type: "uint256",
1098
- },
1099
- ],
1100
- payable: false,
1101
- stateMutability: "view",
1102
- type: "function",
1103
- },
1104
- {
1105
- constant: false,
1106
- inputs: [],
1107
- name: "totalBorrowsCurrent",
1108
- outputs: [
1109
- {
1110
- internalType: "uint256",
1111
- name: "",
1112
- type: "uint256",
1113
- },
1114
- ],
1115
- payable: false,
1116
- stateMutability: "nonpayable",
1117
- type: "function",
1118
- },
1119
- {
1120
- constant: true,
1121
- inputs: [],
1122
- name: "totalReserves",
1123
- outputs: [
1124
- {
1125
- internalType: "uint256",
1126
- name: "",
1127
- type: "uint256",
1128
- },
1129
- ],
1130
- payable: false,
1131
- stateMutability: "view",
1132
- type: "function",
1133
- },
1134
- {
1135
- constant: true,
1136
- inputs: [],
1137
- name: "totalSupply",
1138
- outputs: [
1139
- {
1140
- internalType: "uint256",
1141
- name: "",
1142
- type: "uint256",
1143
- },
1144
- ],
1145
- payable: false,
1146
- stateMutability: "view",
1147
- type: "function",
1148
- },
1149
- {
1150
- constant: false,
1151
- inputs: [
1152
- {
1153
- internalType: "address",
1154
- name: "dst",
1155
- type: "address",
1156
- },
1157
- {
1158
- internalType: "uint256",
1159
- name: "amount",
1160
- type: "uint256",
1161
- },
1162
- ],
1163
- name: "transfer",
1164
- outputs: [
1165
- {
1166
- internalType: "bool",
1167
- name: "",
1168
- type: "bool",
1169
- },
1170
- ],
1171
- payable: false,
1172
- stateMutability: "nonpayable",
1173
- type: "function",
1174
- },
1175
- {
1176
- constant: false,
1177
- inputs: [
1178
- {
1179
- internalType: "address",
1180
- name: "src",
1181
- type: "address",
1182
- },
1183
- {
1184
- internalType: "address",
1185
- name: "dst",
1186
- type: "address",
1187
- },
1188
- {
1189
- internalType: "uint256",
1190
- name: "amount",
1191
- type: "uint256",
1192
- },
1193
- ],
1194
- name: "transferFrom",
1195
- outputs: [
1196
- {
1197
- internalType: "bool",
1198
- name: "",
1199
- type: "bool",
1200
- },
1201
- ],
1202
- payable: false,
1203
- stateMutability: "nonpayable",
1204
- type: "function",
1205
- },
1206
- ];
1207
-
1208
- export class QiToken__factory {
1209
- static readonly abi = _abi;
1210
- static createInterface(): QiTokenInterface {
1211
- return new utils.Interface(_abi) as QiTokenInterface;
1212
- }
1213
- static connect(
1214
- address: string,
1215
- signerOrProvider: Signer | Provider
1216
- ): QiToken {
1217
- return new Contract(address, _abi, signerOrProvider) as QiToken;
1218
- }
1219
- }