@pendle/core-v2 0.6.5 → 0.6.6

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