@meterio/sumer-js 0.1.3 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/dist/nodejs/abi.js +13 -0
  2. package/dist/nodejs/abi.js.map +1 -1
  3. package/dist/nodejs/typechain/contracts/CToken/Interfaces/index.d.ts +4 -0
  4. package/dist/nodejs/typechain/contracts/CToken/Interfaces/index.js.map +1 -0
  5. package/dist/nodejs/typechain/contracts/CToken/Test.sol/index.d.ts +1 -0
  6. package/dist/nodejs/typechain/contracts/CToken/Test.sol/index.js.map +1 -0
  7. package/dist/nodejs/typechain/contracts/CToken/index.d.ts +5 -0
  8. package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +9 -1
  9. package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.sol/Comptroller.d.ts +1446 -0
  10. package/dist/nodejs/typechain/contracts/{ITimelock.js → Comptroller/Comptroller.sol/Comptroller.js} +1 -1
  11. package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.sol/Comptroller.js.map +1 -0
  12. package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.sol/index.d.ts +3 -0
  13. package/dist/nodejs/typechain/contracts/{Interface/ICErc20.js → Comptroller/Comptroller.sol/index.js} +1 -1
  14. package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.sol/index.js.map +1 -0
  15. package/dist/nodejs/typechain/contracts/Comptroller/Interfaces/index.d.ts +6 -0
  16. package/dist/nodejs/typechain/contracts/{Interface/ICToken.js → Comptroller/Interfaces/index.js} +1 -1
  17. package/dist/nodejs/typechain/contracts/Comptroller/Interfaces/index.js.map +1 -0
  18. package/dist/nodejs/typechain/contracts/Comptroller/index.d.ts +4 -1
  19. package/dist/nodejs/typechain/contracts/InterestRateModel/index.d.ts +1 -0
  20. package/dist/nodejs/typechain/contracts/Oracle/Interfaces/index.d.ts +4 -0
  21. package/dist/nodejs/typechain/contracts/Oracle/Interfaces/index.js +3 -0
  22. package/dist/nodejs/typechain/contracts/Oracle/Interfaces/index.js.map +1 -0
  23. package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +3 -0
  24. package/dist/nodejs/typechain/contracts/index.d.ts +1 -0
  25. package/dist/nodejs/typechain/factories/contracts/CToken/Interfaces/index.d.ts +4 -0
  26. package/dist/nodejs/typechain/factories/contracts/CToken/Interfaces/index.js +15 -0
  27. package/dist/nodejs/typechain/factories/contracts/CToken/Interfaces/index.js.map +1 -0
  28. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +1 -1
  29. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +1 -1
  30. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
  31. package/dist/nodejs/typechain/factories/contracts/CToken/Test.sol/index.d.ts +1 -0
  32. package/dist/nodejs/typechain/factories/contracts/CToken/Test.sol/index.js +9 -0
  33. package/dist/nodejs/typechain/factories/contracts/CToken/Test.sol/index.js.map +1 -0
  34. package/dist/nodejs/typechain/factories/contracts/CToken/index.d.ts +3 -0
  35. package/dist/nodejs/typechain/factories/contracts/CToken/index.js +28 -1
  36. package/dist/nodejs/typechain/factories/contracts/CToken/index.js.map +1 -1
  37. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +1 -1
  38. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +1 -1
  39. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
  40. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller.sol/Comptroller__factory.d.ts +2066 -0
  41. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller.sol/Comptroller__factory.js +2689 -0
  42. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller.sol/Comptroller__factory.js.map +1 -0
  43. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller.sol/index.d.ts +3 -0
  44. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller.sol/index.js +13 -0
  45. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller.sol/index.js.map +1 -0
  46. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +11 -1
  47. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +14 -1
  48. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
  49. package/dist/nodejs/typechain/factories/contracts/Comptroller/Interfaces/index.d.ts +6 -0
  50. package/dist/nodejs/typechain/factories/contracts/Comptroller/Interfaces/index.js +19 -0
  51. package/dist/nodejs/typechain/factories/contracts/Comptroller/Interfaces/index.js.map +1 -0
  52. package/dist/nodejs/typechain/factories/contracts/Comptroller/index.d.ts +2 -1
  53. package/dist/nodejs/typechain/factories/contracts/Comptroller/index.js +26 -3
  54. package/dist/nodejs/typechain/factories/contracts/Comptroller/index.js.map +1 -1
  55. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.d.ts +1 -0
  56. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js +3 -1
  57. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js.map +1 -1
  58. package/dist/nodejs/typechain/factories/contracts/Oracle/Interfaces/index.d.ts +4 -0
  59. package/dist/nodejs/typechain/factories/contracts/Oracle/Interfaces/index.js +15 -0
  60. package/dist/nodejs/typechain/factories/contracts/Oracle/Interfaces/index.js.map +1 -0
  61. package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +2 -0
  62. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +4 -1
  63. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
  64. package/dist/nodejs/typechain/factories/contracts/index.d.ts +1 -0
  65. package/dist/nodejs/typechain/factories/contracts/index.js +3 -1
  66. package/dist/nodejs/typechain/factories/contracts/index.js.map +1 -1
  67. package/dist/nodejs/typechain/hardhat.d.ts +378 -0
  68. package/dist/nodejs/typechain/index.d.ts +32 -24
  69. package/dist/nodejs/typechain/index.js +33 -25
  70. package/dist/nodejs/typechain/index.js.map +1 -1
  71. package/package.json +1 -1
  72. package/dist/browser/compound.min.js +0 -18
  73. package/dist/browser/sumer.min.js +0 -18
  74. package/dist/nodejs/constants.d.ts +0 -29
  75. package/dist/nodejs/constants.js +0 -1109
  76. package/dist/nodejs/constants.js.map +0 -1
  77. package/dist/nodejs/typechain/contracts/ITimelock.d.ts +0 -184
  78. package/dist/nodejs/typechain/contracts/ITimelock.js.map +0 -1
  79. package/dist/nodejs/typechain/contracts/Interface/IAccountLiquidity.d.ts +0 -57
  80. package/dist/nodejs/typechain/contracts/Interface/IAccountLiquidity.js +0 -3
  81. package/dist/nodejs/typechain/contracts/Interface/IAccountLiquidity.js.map +0 -1
  82. package/dist/nodejs/typechain/contracts/Interface/ICErc20.d.ts +0 -99
  83. package/dist/nodejs/typechain/contracts/Interface/ICErc20.js.map +0 -1
  84. package/dist/nodejs/typechain/contracts/Interface/ICToken.d.ts +0 -611
  85. package/dist/nodejs/typechain/contracts/Interface/ICToken.js.map +0 -1
  86. package/dist/nodejs/typechain/contracts/Interface/ICTokenExternal.sol/ICToken.d.ts +0 -198
  87. package/dist/nodejs/typechain/contracts/Interface/ICTokenExternal.sol/ICToken.js +0 -3
  88. package/dist/nodejs/typechain/contracts/Interface/ICTokenExternal.sol/ICToken.js.map +0 -1
  89. package/dist/nodejs/typechain/contracts/Interface/ICTokenExternal.sol/index.d.ts +0 -1
  90. package/dist/nodejs/typechain/contracts/Interface/ICTokenExternal.sol/index.js.map +0 -1
  91. package/dist/nodejs/typechain/contracts/Interface/IChainlinkFeed.d.ts +0 -59
  92. package/dist/nodejs/typechain/contracts/Interface/IChainlinkFeed.js +0 -3
  93. package/dist/nodejs/typechain/contracts/Interface/IChainlinkFeed.js.map +0 -1
  94. package/dist/nodejs/typechain/contracts/Interface/ICompLogic.d.ts +0 -127
  95. package/dist/nodejs/typechain/contracts/Interface/ICompLogic.js +0 -3
  96. package/dist/nodejs/typechain/contracts/Interface/ICompLogic.js.map +0 -1
  97. package/dist/nodejs/typechain/contracts/Interface/IComptroller.d.ts +0 -562
  98. package/dist/nodejs/typechain/contracts/Interface/IComptroller.js +0 -3
  99. package/dist/nodejs/typechain/contracts/Interface/IComptroller.js.map +0 -1
  100. package/dist/nodejs/typechain/contracts/Interface/IEIP20NonStandard.d.ts +0 -161
  101. package/dist/nodejs/typechain/contracts/Interface/IEIP20NonStandard.js +0 -3
  102. package/dist/nodejs/typechain/contracts/Interface/IEIP20NonStandard.js.map +0 -1
  103. package/dist/nodejs/typechain/contracts/Interface/IGovernorAlpha.d.ts +0 -119
  104. package/dist/nodejs/typechain/contracts/Interface/IGovernorAlpha.js +0 -3
  105. package/dist/nodejs/typechain/contracts/Interface/IGovernorAlpha.js.map +0 -1
  106. package/dist/nodejs/typechain/contracts/Interface/IGovernorBravo.d.ts +0 -130
  107. package/dist/nodejs/typechain/contracts/Interface/IGovernorBravo.js +0 -3
  108. package/dist/nodejs/typechain/contracts/Interface/IGovernorBravo.js.map +0 -1
  109. package/dist/nodejs/typechain/contracts/Interface/IInterestRateModel.d.ts +0 -59
  110. package/dist/nodejs/typechain/contracts/Interface/IInterestRateModel.js +0 -3
  111. package/dist/nodejs/typechain/contracts/Interface/IInterestRateModel.js.map +0 -1
  112. package/dist/nodejs/typechain/contracts/Interface/IPriceOracle.d.ts +0 -37
  113. package/dist/nodejs/typechain/contracts/Interface/IPriceOracle.js +0 -3
  114. package/dist/nodejs/typechain/contracts/Interface/IPriceOracle.js.map +0 -1
  115. package/dist/nodejs/typechain/contracts/Interface/IRedemptionManager.d.ts +0 -103
  116. package/dist/nodejs/typechain/contracts/Interface/IRedemptionManager.js +0 -3
  117. package/dist/nodejs/typechain/contracts/Interface/IRedemptionManager.js.map +0 -1
  118. package/dist/nodejs/typechain/contracts/Interface/ISortedBorrows.d.ts +0 -210
  119. package/dist/nodejs/typechain/contracts/Interface/ISortedBorrows.js +0 -3
  120. package/dist/nodejs/typechain/contracts/Interface/ISortedBorrows.js.map +0 -1
  121. package/dist/nodejs/typechain/contracts/Interface/IStdReference.d.ts +0 -65
  122. package/dist/nodejs/typechain/contracts/Interface/IStdReference.js +0 -3
  123. package/dist/nodejs/typechain/contracts/Interface/IStdReference.js.map +0 -1
  124. package/dist/nodejs/typechain/contracts/Interface/IUnitroller.d.ts +0 -29
  125. package/dist/nodejs/typechain/contracts/Interface/IUnitroller.js +0 -3
  126. package/dist/nodejs/typechain/contracts/Interface/IUnitroller.js.map +0 -1
  127. package/dist/nodejs/typechain/contracts/Interface/IVoltPair.d.ts +0 -71
  128. package/dist/nodejs/typechain/contracts/Interface/IVoltPair.js +0 -3
  129. package/dist/nodejs/typechain/contracts/Interface/IVoltPair.js.map +0 -1
  130. package/dist/nodejs/typechain/contracts/Interface/IWitnetFeed.d.ts +0 -25
  131. package/dist/nodejs/typechain/contracts/Interface/IWitnetFeed.js +0 -3
  132. package/dist/nodejs/typechain/contracts/Interface/IWitnetFeed.js.map +0 -1
  133. package/dist/nodejs/typechain/contracts/Interface/index.d.ts +0 -19
  134. package/dist/nodejs/typechain/contracts/Interface/index.js.map +0 -1
  135. package/dist/nodejs/typechain/factories/contracts/ITimelock__factory.d.ts +0 -188
  136. package/dist/nodejs/typechain/factories/contracts/ITimelock__factory.js +0 -250
  137. package/dist/nodejs/typechain/factories/contracts/ITimelock__factory.js.map +0 -1
  138. package/dist/nodejs/typechain/factories/contracts/Interface/IAccountLiquidity__factory.d.ts +0 -67
  139. package/dist/nodejs/typechain/factories/contracts/Interface/IAccountLiquidity__factory.js +0 -98
  140. package/dist/nodejs/typechain/factories/contracts/Interface/IAccountLiquidity__factory.js.map +0 -1
  141. package/dist/nodejs/typechain/factories/contracts/Interface/ICErc20__factory.d.ts +0 -141
  142. package/dist/nodejs/typechain/factories/contracts/Interface/ICErc20__factory.js +0 -200
  143. package/dist/nodejs/typechain/factories/contracts/Interface/ICErc20__factory.js.map +0 -1
  144. package/dist/nodejs/typechain/factories/contracts/Interface/ICTokenExternal.sol/ICToken__factory.d.ts +0 -357
  145. package/dist/nodejs/typechain/factories/contracts/Interface/ICTokenExternal.sol/ICToken__factory.js +0 -481
  146. package/dist/nodejs/typechain/factories/contracts/Interface/ICTokenExternal.sol/ICToken__factory.js.map +0 -1
  147. package/dist/nodejs/typechain/factories/contracts/Interface/ICTokenExternal.sol/index.d.ts +0 -1
  148. package/dist/nodejs/typechain/factories/contracts/Interface/ICTokenExternal.sol/index.js +0 -9
  149. package/dist/nodejs/typechain/factories/contracts/Interface/ICTokenExternal.sol/index.js.map +0 -1
  150. package/dist/nodejs/typechain/factories/contracts/Interface/ICToken__factory.d.ts +0 -705
  151. package/dist/nodejs/typechain/factories/contracts/Interface/ICToken__factory.js +0 -922
  152. package/dist/nodejs/typechain/factories/contracts/Interface/ICToken__factory.js.map +0 -1
  153. package/dist/nodejs/typechain/factories/contracts/Interface/IChainlinkFeed__factory.d.ts +0 -43
  154. package/dist/nodejs/typechain/factories/contracts/Interface/IChainlinkFeed__factory.js +0 -66
  155. package/dist/nodejs/typechain/factories/contracts/Interface/IChainlinkFeed__factory.js.map +0 -1
  156. package/dist/nodejs/typechain/factories/contracts/Interface/ICompLogic__factory.d.ts +0 -133
  157. package/dist/nodejs/typechain/factories/contracts/Interface/ICompLogic__factory.js +0 -184
  158. package/dist/nodejs/typechain/factories/contracts/Interface/ICompLogic__factory.js.map +0 -1
  159. package/dist/nodejs/typechain/factories/contracts/Interface/IComptroller__factory.d.ts +0 -803
  160. package/dist/nodejs/typechain/factories/contracts/Interface/IComptroller__factory.js +0 -1052
  161. package/dist/nodejs/typechain/factories/contracts/Interface/IComptroller__factory.js.map +0 -1
  162. package/dist/nodejs/typechain/factories/contracts/Interface/IEIP20NonStandard__factory.d.ts +0 -177
  163. package/dist/nodejs/typechain/factories/contracts/Interface/IEIP20NonStandard__factory.js +0 -240
  164. package/dist/nodejs/typechain/factories/contracts/Interface/IEIP20NonStandard__factory.js.map +0 -1
  165. package/dist/nodejs/typechain/factories/contracts/Interface/IGovernorAlpha__factory.d.ts +0 -105
  166. package/dist/nodejs/typechain/factories/contracts/Interface/IGovernorAlpha__factory.js +0 -147
  167. package/dist/nodejs/typechain/factories/contracts/Interface/IGovernorAlpha__factory.js.map +0 -1
  168. package/dist/nodejs/typechain/factories/contracts/Interface/IGovernorBravo__factory.d.ts +0 -119
  169. package/dist/nodejs/typechain/factories/contracts/Interface/IGovernorBravo__factory.js +0 -166
  170. package/dist/nodejs/typechain/factories/contracts/Interface/IGovernorBravo__factory.js.map +0 -1
  171. package/dist/nodejs/typechain/factories/contracts/Interface/IInterestRateModel__factory.d.ts +0 -65
  172. package/dist/nodejs/typechain/factories/contracts/Interface/IInterestRateModel__factory.js +0 -96
  173. package/dist/nodejs/typechain/factories/contracts/Interface/IInterestRateModel__factory.js.map +0 -1
  174. package/dist/nodejs/typechain/factories/contracts/Interface/IPriceOracle__factory.d.ts +0 -35
  175. package/dist/nodejs/typechain/factories/contracts/Interface/IPriceOracle__factory.js +0 -58
  176. package/dist/nodejs/typechain/factories/contracts/Interface/IPriceOracle__factory.js.map +0 -1
  177. package/dist/nodejs/typechain/factories/contracts/Interface/IRedemptionManager__factory.d.ts +0 -147
  178. package/dist/nodejs/typechain/factories/contracts/Interface/IRedemptionManager__factory.js +0 -204
  179. package/dist/nodejs/typechain/factories/contracts/Interface/IRedemptionManager__factory.js.map +0 -1
  180. package/dist/nodejs/typechain/factories/contracts/Interface/ISortedBorrows__factory.d.ts +0 -284
  181. package/dist/nodejs/typechain/factories/contracts/Interface/ISortedBorrows__factory.js +0 -382
  182. package/dist/nodejs/typechain/factories/contracts/Interface/ISortedBorrows__factory.js.map +0 -1
  183. package/dist/nodejs/typechain/factories/contracts/Interface/IStdReference__factory.d.ts +0 -69
  184. package/dist/nodejs/typechain/factories/contracts/Interface/IStdReference__factory.js +0 -102
  185. package/dist/nodejs/typechain/factories/contracts/Interface/IStdReference__factory.js.map +0 -1
  186. package/dist/nodejs/typechain/factories/contracts/Interface/IUnitroller__factory.d.ts +0 -27
  187. package/dist/nodejs/typechain/factories/contracts/Interface/IUnitroller__factory.js +0 -46
  188. package/dist/nodejs/typechain/factories/contracts/Interface/IUnitroller__factory.js.map +0 -1
  189. package/dist/nodejs/typechain/factories/contracts/Interface/IVoltPair__factory.d.ts +0 -61
  190. package/dist/nodejs/typechain/factories/contracts/Interface/IVoltPair__factory.js +0 -89
  191. package/dist/nodejs/typechain/factories/contracts/Interface/IVoltPair__factory.js.map +0 -1
  192. package/dist/nodejs/typechain/factories/contracts/Interface/IWitnetFeed__factory.d.ts +0 -17
  193. package/dist/nodejs/typechain/factories/contracts/Interface/IWitnetFeed__factory.js +0 -33
  194. package/dist/nodejs/typechain/factories/contracts/Interface/IWitnetFeed__factory.js.map +0 -1
  195. package/dist/nodejs/typechain/factories/contracts/Interface/index.d.ts +0 -18
  196. package/dist/nodejs/typechain/factories/contracts/Interface/index.js +0 -65
  197. package/dist/nodejs/typechain/factories/contracts/Interface/index.js.map +0 -1
  198. /package/dist/nodejs/typechain/contracts/{Interface/ICTokenExternal.sol → CToken/Interfaces}/index.js +0 -0
  199. /package/dist/nodejs/typechain/contracts/{Interface → CToken/Test.sol}/index.js +0 -0
@@ -1,611 +0,0 @@
1
- import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
- import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
3
- export interface ICTokenInterface extends Interface {
4
- getFunction(nameOrSignature: "_acceptAdmin" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "accrualBlockNumber" | "accrueInterest" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowRatePerBlock" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getCash" | "seize" | "supplyRatePerBlock" | "totalBorrowsCurrent" | "totalSupply" | "transfer" | "transferFrom"): FunctionFragment;
5
- getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Redeem" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "Transfer"): EventFragment;
6
- encodeFunctionData(functionFragment: "_acceptAdmin", values?: undefined): string;
7
- encodeFunctionData(functionFragment: "_reduceReserves", values: [BigNumberish]): string;
8
- encodeFunctionData(functionFragment: "_setComptroller", values: [AddressLike]): string;
9
- encodeFunctionData(functionFragment: "_setDiscountRate", values: [BigNumberish]): string;
10
- encodeFunctionData(functionFragment: "_setInterestRateModel", values: [AddressLike]): string;
11
- encodeFunctionData(functionFragment: "_setPendingAdmin", values: [AddressLike]): string;
12
- encodeFunctionData(functionFragment: "_setReserveFactor", values: [BigNumberish]): string;
13
- encodeFunctionData(functionFragment: "accrualBlockNumber", values?: undefined): string;
14
- encodeFunctionData(functionFragment: "accrueInterest", values?: undefined): string;
15
- encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string;
16
- encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
17
- encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
18
- encodeFunctionData(functionFragment: "balanceOfUnderlying", values: [AddressLike]): string;
19
- encodeFunctionData(functionFragment: "borrowBalanceCurrent", values: [AddressLike]): string;
20
- encodeFunctionData(functionFragment: "borrowBalanceStored", values: [AddressLike]): string;
21
- encodeFunctionData(functionFragment: "borrowRatePerBlock", values?: undefined): string;
22
- encodeFunctionData(functionFragment: "discountRateMantissa", values?: undefined): string;
23
- encodeFunctionData(functionFragment: "exchangeRateCurrent", values?: undefined): string;
24
- encodeFunctionData(functionFragment: "exchangeRateStored", values?: undefined): string;
25
- encodeFunctionData(functionFragment: "getAccountSnapshot", values: [AddressLike]): string;
26
- encodeFunctionData(functionFragment: "getCash", values?: undefined): string;
27
- encodeFunctionData(functionFragment: "seize", values: [AddressLike, AddressLike, BigNumberish, BigNumberish]): string;
28
- encodeFunctionData(functionFragment: "supplyRatePerBlock", values?: undefined): string;
29
- encodeFunctionData(functionFragment: "totalBorrowsCurrent", values?: undefined): string;
30
- encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
31
- encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
32
- encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
33
- decodeFunctionResult(functionFragment: "_acceptAdmin", data: BytesLike): Result;
34
- decodeFunctionResult(functionFragment: "_reduceReserves", data: BytesLike): Result;
35
- decodeFunctionResult(functionFragment: "_setComptroller", data: BytesLike): Result;
36
- decodeFunctionResult(functionFragment: "_setDiscountRate", data: BytesLike): Result;
37
- decodeFunctionResult(functionFragment: "_setInterestRateModel", data: BytesLike): Result;
38
- decodeFunctionResult(functionFragment: "_setPendingAdmin", data: BytesLike): Result;
39
- decodeFunctionResult(functionFragment: "_setReserveFactor", data: BytesLike): Result;
40
- decodeFunctionResult(functionFragment: "accrualBlockNumber", data: BytesLike): Result;
41
- decodeFunctionResult(functionFragment: "accrueInterest", data: BytesLike): Result;
42
- decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
43
- decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
44
- decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
45
- decodeFunctionResult(functionFragment: "balanceOfUnderlying", data: BytesLike): Result;
46
- decodeFunctionResult(functionFragment: "borrowBalanceCurrent", data: BytesLike): Result;
47
- decodeFunctionResult(functionFragment: "borrowBalanceStored", data: BytesLike): Result;
48
- decodeFunctionResult(functionFragment: "borrowRatePerBlock", data: BytesLike): Result;
49
- decodeFunctionResult(functionFragment: "discountRateMantissa", data: BytesLike): Result;
50
- decodeFunctionResult(functionFragment: "exchangeRateCurrent", data: BytesLike): Result;
51
- decodeFunctionResult(functionFragment: "exchangeRateStored", data: BytesLike): Result;
52
- decodeFunctionResult(functionFragment: "getAccountSnapshot", data: BytesLike): Result;
53
- decodeFunctionResult(functionFragment: "getCash", data: BytesLike): Result;
54
- decodeFunctionResult(functionFragment: "seize", data: BytesLike): Result;
55
- decodeFunctionResult(functionFragment: "supplyRatePerBlock", data: BytesLike): Result;
56
- decodeFunctionResult(functionFragment: "totalBorrowsCurrent", data: BytesLike): Result;
57
- decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
58
- decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
59
- decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
60
- }
61
- export declare namespace AccrueInterestEvent {
62
- type InputTuple = [
63
- cashPrior: BigNumberish,
64
- interestAccumulated: BigNumberish,
65
- borrowIndex: BigNumberish,
66
- totalBorrows: BigNumberish
67
- ];
68
- type OutputTuple = [
69
- cashPrior: bigint,
70
- interestAccumulated: bigint,
71
- borrowIndex: bigint,
72
- totalBorrows: bigint
73
- ];
74
- interface OutputObject {
75
- cashPrior: bigint;
76
- interestAccumulated: bigint;
77
- borrowIndex: bigint;
78
- totalBorrows: bigint;
79
- }
80
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
81
- type Filter = TypedDeferredTopicFilter<Event>;
82
- type Log = TypedEventLog<Event>;
83
- type LogDescription = TypedLogDescription<Event>;
84
- }
85
- export declare namespace ApprovalEvent {
86
- type InputTuple = [
87
- owner: AddressLike,
88
- spender: AddressLike,
89
- amount: BigNumberish
90
- ];
91
- type OutputTuple = [owner: string, spender: string, amount: bigint];
92
- interface OutputObject {
93
- owner: string;
94
- spender: string;
95
- amount: bigint;
96
- }
97
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
98
- type Filter = TypedDeferredTopicFilter<Event>;
99
- type Log = TypedEventLog<Event>;
100
- type LogDescription = TypedLogDescription<Event>;
101
- }
102
- export declare namespace BorrowEvent {
103
- type InputTuple = [
104
- borrower: AddressLike,
105
- borrowAmount: BigNumberish,
106
- accountBorrows: BigNumberish,
107
- totalBorrows: BigNumberish
108
- ];
109
- type OutputTuple = [
110
- borrower: string,
111
- borrowAmount: bigint,
112
- accountBorrows: bigint,
113
- totalBorrows: bigint
114
- ];
115
- interface OutputObject {
116
- borrower: string;
117
- borrowAmount: bigint;
118
- accountBorrows: bigint;
119
- totalBorrows: bigint;
120
- }
121
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
122
- type Filter = TypedDeferredTopicFilter<Event>;
123
- type Log = TypedEventLog<Event>;
124
- type LogDescription = TypedLogDescription<Event>;
125
- }
126
- export declare namespace LiquidateBorrowEvent {
127
- type InputTuple = [
128
- liquidator: AddressLike,
129
- borrower: AddressLike,
130
- repayAmount: BigNumberish,
131
- cTokenCollateral: AddressLike,
132
- seizeTokens: BigNumberish
133
- ];
134
- type OutputTuple = [
135
- liquidator: string,
136
- borrower: string,
137
- repayAmount: bigint,
138
- cTokenCollateral: string,
139
- seizeTokens: bigint
140
- ];
141
- interface OutputObject {
142
- liquidator: string;
143
- borrower: string;
144
- repayAmount: bigint;
145
- cTokenCollateral: string;
146
- seizeTokens: bigint;
147
- }
148
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
149
- type Filter = TypedDeferredTopicFilter<Event>;
150
- type Log = TypedEventLog<Event>;
151
- type LogDescription = TypedLogDescription<Event>;
152
- }
153
- export declare namespace MintEvent {
154
- type InputTuple = [
155
- minter: AddressLike,
156
- mintAmount: BigNumberish,
157
- mintTokens: BigNumberish
158
- ];
159
- type OutputTuple = [
160
- minter: string,
161
- mintAmount: bigint,
162
- mintTokens: bigint
163
- ];
164
- interface OutputObject {
165
- minter: string;
166
- mintAmount: bigint;
167
- mintTokens: bigint;
168
- }
169
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
170
- type Filter = TypedDeferredTopicFilter<Event>;
171
- type Log = TypedEventLog<Event>;
172
- type LogDescription = TypedLogDescription<Event>;
173
- }
174
- export declare namespace NewAdminEvent {
175
- type InputTuple = [oldAdmin: AddressLike, newAdmin: AddressLike];
176
- type OutputTuple = [oldAdmin: string, newAdmin: string];
177
- interface OutputObject {
178
- oldAdmin: string;
179
- newAdmin: string;
180
- }
181
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
182
- type Filter = TypedDeferredTopicFilter<Event>;
183
- type Log = TypedEventLog<Event>;
184
- type LogDescription = TypedLogDescription<Event>;
185
- }
186
- export declare namespace NewComptrollerEvent {
187
- type InputTuple = [
188
- oldComptroller: AddressLike,
189
- newComptroller: AddressLike
190
- ];
191
- type OutputTuple = [oldComptroller: string, newComptroller: string];
192
- interface OutputObject {
193
- oldComptroller: string;
194
- newComptroller: string;
195
- }
196
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
197
- type Filter = TypedDeferredTopicFilter<Event>;
198
- type Log = TypedEventLog<Event>;
199
- type LogDescription = TypedLogDescription<Event>;
200
- }
201
- export declare namespace NewDiscountRateEvent {
202
- type InputTuple = [
203
- oldDiscountRateMantissa: BigNumberish,
204
- newDiscountRateMantissa: BigNumberish
205
- ];
206
- type OutputTuple = [
207
- oldDiscountRateMantissa: bigint,
208
- newDiscountRateMantissa: bigint
209
- ];
210
- interface OutputObject {
211
- oldDiscountRateMantissa: bigint;
212
- newDiscountRateMantissa: bigint;
213
- }
214
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
215
- type Filter = TypedDeferredTopicFilter<Event>;
216
- type Log = TypedEventLog<Event>;
217
- type LogDescription = TypedLogDescription<Event>;
218
- }
219
- export declare namespace NewMarketInterestRateModelEvent {
220
- type InputTuple = [
221
- oldInterestRateModel: AddressLike,
222
- newInterestRateModel: AddressLike
223
- ];
224
- type OutputTuple = [
225
- oldInterestRateModel: string,
226
- newInterestRateModel: string
227
- ];
228
- interface OutputObject {
229
- oldInterestRateModel: string;
230
- newInterestRateModel: string;
231
- }
232
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
233
- type Filter = TypedDeferredTopicFilter<Event>;
234
- type Log = TypedEventLog<Event>;
235
- type LogDescription = TypedLogDescription<Event>;
236
- }
237
- export declare namespace NewPendingAdminEvent {
238
- type InputTuple = [
239
- oldPendingAdmin: AddressLike,
240
- newPendingAdmin: AddressLike
241
- ];
242
- type OutputTuple = [oldPendingAdmin: string, newPendingAdmin: string];
243
- interface OutputObject {
244
- oldPendingAdmin: string;
245
- newPendingAdmin: string;
246
- }
247
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
248
- type Filter = TypedDeferredTopicFilter<Event>;
249
- type Log = TypedEventLog<Event>;
250
- type LogDescription = TypedLogDescription<Event>;
251
- }
252
- export declare namespace NewReserveFactorEvent {
253
- type InputTuple = [
254
- oldReserveFactorMantissa: BigNumberish,
255
- newReserveFactorMantissa: BigNumberish
256
- ];
257
- type OutputTuple = [
258
- oldReserveFactorMantissa: bigint,
259
- newReserveFactorMantissa: bigint
260
- ];
261
- interface OutputObject {
262
- oldReserveFactorMantissa: bigint;
263
- newReserveFactorMantissa: bigint;
264
- }
265
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
266
- type Filter = TypedDeferredTopicFilter<Event>;
267
- type Log = TypedEventLog<Event>;
268
- type LogDescription = TypedLogDescription<Event>;
269
- }
270
- export declare namespace RedeemEvent {
271
- type InputTuple = [
272
- redeemer: AddressLike,
273
- redeemAmount: BigNumberish,
274
- redeemTokens: BigNumberish
275
- ];
276
- type OutputTuple = [
277
- redeemer: string,
278
- redeemAmount: bigint,
279
- redeemTokens: bigint
280
- ];
281
- interface OutputObject {
282
- redeemer: string;
283
- redeemAmount: bigint;
284
- redeemTokens: bigint;
285
- }
286
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
287
- type Filter = TypedDeferredTopicFilter<Event>;
288
- type Log = TypedEventLog<Event>;
289
- type LogDescription = TypedLogDescription<Event>;
290
- }
291
- export declare namespace RepayBorrowEvent {
292
- type InputTuple = [
293
- payer: AddressLike,
294
- borrower: AddressLike,
295
- repayAmount: BigNumberish,
296
- accountBorrows: BigNumberish,
297
- totalBorrows: BigNumberish
298
- ];
299
- type OutputTuple = [
300
- payer: string,
301
- borrower: string,
302
- repayAmount: bigint,
303
- accountBorrows: bigint,
304
- totalBorrows: bigint
305
- ];
306
- interface OutputObject {
307
- payer: string;
308
- borrower: string;
309
- repayAmount: bigint;
310
- accountBorrows: bigint;
311
- totalBorrows: bigint;
312
- }
313
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
314
- type Filter = TypedDeferredTopicFilter<Event>;
315
- type Log = TypedEventLog<Event>;
316
- type LogDescription = TypedLogDescription<Event>;
317
- }
318
- export declare namespace ReservesAddedEvent {
319
- type InputTuple = [
320
- benefactor: AddressLike,
321
- addAmount: BigNumberish,
322
- newTotalReserves: BigNumberish
323
- ];
324
- type OutputTuple = [
325
- benefactor: string,
326
- addAmount: bigint,
327
- newTotalReserves: bigint
328
- ];
329
- interface OutputObject {
330
- benefactor: string;
331
- addAmount: bigint;
332
- newTotalReserves: bigint;
333
- }
334
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
335
- type Filter = TypedDeferredTopicFilter<Event>;
336
- type Log = TypedEventLog<Event>;
337
- type LogDescription = TypedLogDescription<Event>;
338
- }
339
- export declare namespace ReservesReducedEvent {
340
- type InputTuple = [
341
- admin: AddressLike,
342
- reduceAmount: BigNumberish,
343
- newTotalReserves: BigNumberish
344
- ];
345
- type OutputTuple = [
346
- admin: string,
347
- reduceAmount: bigint,
348
- newTotalReserves: bigint
349
- ];
350
- interface OutputObject {
351
- admin: string;
352
- reduceAmount: bigint;
353
- newTotalReserves: bigint;
354
- }
355
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
356
- type Filter = TypedDeferredTopicFilter<Event>;
357
- type Log = TypedEventLog<Event>;
358
- type LogDescription = TypedLogDescription<Event>;
359
- }
360
- export declare namespace TransferEvent {
361
- type InputTuple = [
362
- from: AddressLike,
363
- to: AddressLike,
364
- amount: BigNumberish
365
- ];
366
- type OutputTuple = [from: string, to: string, amount: bigint];
367
- interface OutputObject {
368
- from: string;
369
- to: string;
370
- amount: bigint;
371
- }
372
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
373
- type Filter = TypedDeferredTopicFilter<Event>;
374
- type Log = TypedEventLog<Event>;
375
- type LogDescription = TypedLogDescription<Event>;
376
- }
377
- export interface ICToken extends BaseContract {
378
- connect(runner?: ContractRunner | null): ICToken;
379
- waitForDeployment(): Promise<this>;
380
- interface: ICTokenInterface;
381
- queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
382
- queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
383
- on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
384
- on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
385
- once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
386
- once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
387
- listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
388
- listeners(eventName?: string): Promise<Array<Listener>>;
389
- removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
390
- _acceptAdmin: TypedContractMethod<[], [bigint], "nonpayable">;
391
- _reduceReserves: TypedContractMethod<[
392
- reduceAmount: BigNumberish
393
- ], [
394
- bigint
395
- ], "nonpayable">;
396
- _setComptroller: TypedContractMethod<[
397
- newComptroller: AddressLike
398
- ], [
399
- bigint
400
- ], "nonpayable">;
401
- _setDiscountRate: TypedContractMethod<[
402
- discountRateMantissa: BigNumberish
403
- ], [
404
- bigint
405
- ], "nonpayable">;
406
- _setInterestRateModel: TypedContractMethod<[
407
- newInterestRateModel: AddressLike
408
- ], [
409
- bigint
410
- ], "nonpayable">;
411
- _setPendingAdmin: TypedContractMethod<[
412
- newPendingAdmin: AddressLike
413
- ], [
414
- bigint
415
- ], "nonpayable">;
416
- _setReserveFactor: TypedContractMethod<[
417
- newReserveFactorMantissa: BigNumberish
418
- ], [
419
- bigint
420
- ], "nonpayable">;
421
- accrualBlockNumber: TypedContractMethod<[], [bigint], "nonpayable">;
422
- accrueInterest: TypedContractMethod<[], [bigint], "nonpayable">;
423
- allowance: TypedContractMethod<[
424
- owner: AddressLike,
425
- spender: AddressLike
426
- ], [
427
- bigint
428
- ], "view">;
429
- approve: TypedContractMethod<[
430
- spender: AddressLike,
431
- amount: BigNumberish
432
- ], [
433
- boolean
434
- ], "nonpayable">;
435
- balanceOf: TypedContractMethod<[owner: AddressLike], [bigint], "view">;
436
- balanceOfUnderlying: TypedContractMethod<[
437
- owner: AddressLike
438
- ], [
439
- bigint
440
- ], "nonpayable">;
441
- borrowBalanceCurrent: TypedContractMethod<[
442
- account: AddressLike
443
- ], [
444
- bigint
445
- ], "nonpayable">;
446
- borrowBalanceStored: TypedContractMethod<[
447
- account: AddressLike
448
- ], [
449
- bigint
450
- ], "view">;
451
- borrowRatePerBlock: TypedContractMethod<[], [bigint], "view">;
452
- discountRateMantissa: TypedContractMethod<[], [bigint], "view">;
453
- exchangeRateCurrent: TypedContractMethod<[], [bigint], "nonpayable">;
454
- exchangeRateStored: TypedContractMethod<[], [bigint], "view">;
455
- getAccountSnapshot: TypedContractMethod<[
456
- account: AddressLike
457
- ], [
458
- [bigint, bigint, bigint, bigint]
459
- ], "view">;
460
- getCash: TypedContractMethod<[], [bigint], "view">;
461
- seize: TypedContractMethod<[
462
- liquidator: AddressLike,
463
- borrower: AddressLike,
464
- seizeTokens: BigNumberish,
465
- protocolShareMantissa: BigNumberish
466
- ], [
467
- bigint
468
- ], "nonpayable">;
469
- supplyRatePerBlock: TypedContractMethod<[], [bigint], "view">;
470
- totalBorrowsCurrent: TypedContractMethod<[], [bigint], "nonpayable">;
471
- totalSupply: TypedContractMethod<[], [bigint], "view">;
472
- transfer: TypedContractMethod<[
473
- dst: AddressLike,
474
- amount: BigNumberish
475
- ], [
476
- boolean
477
- ], "nonpayable">;
478
- transferFrom: TypedContractMethod<[
479
- src: AddressLike,
480
- dst: AddressLike,
481
- amount: BigNumberish
482
- ], [
483
- boolean
484
- ], "nonpayable">;
485
- getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
486
- getFunction(nameOrSignature: "_acceptAdmin"): TypedContractMethod<[], [bigint], "nonpayable">;
487
- getFunction(nameOrSignature: "_reduceReserves"): TypedContractMethod<[reduceAmount: BigNumberish], [bigint], "nonpayable">;
488
- getFunction(nameOrSignature: "_setComptroller"): TypedContractMethod<[newComptroller: AddressLike], [bigint], "nonpayable">;
489
- getFunction(nameOrSignature: "_setDiscountRate"): TypedContractMethod<[
490
- discountRateMantissa: BigNumberish
491
- ], [
492
- bigint
493
- ], "nonpayable">;
494
- getFunction(nameOrSignature: "_setInterestRateModel"): TypedContractMethod<[
495
- newInterestRateModel: AddressLike
496
- ], [
497
- bigint
498
- ], "nonpayable">;
499
- getFunction(nameOrSignature: "_setPendingAdmin"): TypedContractMethod<[
500
- newPendingAdmin: AddressLike
501
- ], [
502
- bigint
503
- ], "nonpayable">;
504
- getFunction(nameOrSignature: "_setReserveFactor"): TypedContractMethod<[
505
- newReserveFactorMantissa: BigNumberish
506
- ], [
507
- bigint
508
- ], "nonpayable">;
509
- getFunction(nameOrSignature: "accrualBlockNumber"): TypedContractMethod<[], [bigint], "nonpayable">;
510
- getFunction(nameOrSignature: "accrueInterest"): TypedContractMethod<[], [bigint], "nonpayable">;
511
- getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
512
- owner: AddressLike,
513
- spender: AddressLike
514
- ], [
515
- bigint
516
- ], "view">;
517
- getFunction(nameOrSignature: "approve"): TypedContractMethod<[
518
- spender: AddressLike,
519
- amount: BigNumberish
520
- ], [
521
- boolean
522
- ], "nonpayable">;
523
- getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[owner: AddressLike], [bigint], "view">;
524
- getFunction(nameOrSignature: "balanceOfUnderlying"): TypedContractMethod<[owner: AddressLike], [bigint], "nonpayable">;
525
- getFunction(nameOrSignature: "borrowBalanceCurrent"): TypedContractMethod<[account: AddressLike], [bigint], "nonpayable">;
526
- getFunction(nameOrSignature: "borrowBalanceStored"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
527
- getFunction(nameOrSignature: "borrowRatePerBlock"): TypedContractMethod<[], [bigint], "view">;
528
- getFunction(nameOrSignature: "discountRateMantissa"): TypedContractMethod<[], [bigint], "view">;
529
- getFunction(nameOrSignature: "exchangeRateCurrent"): TypedContractMethod<[], [bigint], "nonpayable">;
530
- getFunction(nameOrSignature: "exchangeRateStored"): TypedContractMethod<[], [bigint], "view">;
531
- getFunction(nameOrSignature: "getAccountSnapshot"): TypedContractMethod<[
532
- account: AddressLike
533
- ], [
534
- [bigint, bigint, bigint, bigint]
535
- ], "view">;
536
- getFunction(nameOrSignature: "getCash"): TypedContractMethod<[], [bigint], "view">;
537
- getFunction(nameOrSignature: "seize"): TypedContractMethod<[
538
- liquidator: AddressLike,
539
- borrower: AddressLike,
540
- seizeTokens: BigNumberish,
541
- protocolShareMantissa: BigNumberish
542
- ], [
543
- bigint
544
- ], "nonpayable">;
545
- getFunction(nameOrSignature: "supplyRatePerBlock"): TypedContractMethod<[], [bigint], "view">;
546
- getFunction(nameOrSignature: "totalBorrowsCurrent"): TypedContractMethod<[], [bigint], "nonpayable">;
547
- getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
548
- getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
549
- dst: AddressLike,
550
- amount: BigNumberish
551
- ], [
552
- boolean
553
- ], "nonpayable">;
554
- getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[
555
- src: AddressLike,
556
- dst: AddressLike,
557
- amount: BigNumberish
558
- ], [
559
- boolean
560
- ], "nonpayable">;
561
- getEvent(key: "AccrueInterest"): TypedContractEvent<AccrueInterestEvent.InputTuple, AccrueInterestEvent.OutputTuple, AccrueInterestEvent.OutputObject>;
562
- getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
563
- getEvent(key: "Borrow"): TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
564
- getEvent(key: "LiquidateBorrow"): TypedContractEvent<LiquidateBorrowEvent.InputTuple, LiquidateBorrowEvent.OutputTuple, LiquidateBorrowEvent.OutputObject>;
565
- getEvent(key: "Mint"): TypedContractEvent<MintEvent.InputTuple, MintEvent.OutputTuple, MintEvent.OutputObject>;
566
- getEvent(key: "NewAdmin"): TypedContractEvent<NewAdminEvent.InputTuple, NewAdminEvent.OutputTuple, NewAdminEvent.OutputObject>;
567
- getEvent(key: "NewComptroller"): TypedContractEvent<NewComptrollerEvent.InputTuple, NewComptrollerEvent.OutputTuple, NewComptrollerEvent.OutputObject>;
568
- getEvent(key: "NewDiscountRate"): TypedContractEvent<NewDiscountRateEvent.InputTuple, NewDiscountRateEvent.OutputTuple, NewDiscountRateEvent.OutputObject>;
569
- getEvent(key: "NewMarketInterestRateModel"): TypedContractEvent<NewMarketInterestRateModelEvent.InputTuple, NewMarketInterestRateModelEvent.OutputTuple, NewMarketInterestRateModelEvent.OutputObject>;
570
- getEvent(key: "NewPendingAdmin"): TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
571
- getEvent(key: "NewReserveFactor"): TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
572
- getEvent(key: "Redeem"): TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
573
- getEvent(key: "RepayBorrow"): TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
574
- getEvent(key: "ReservesAdded"): TypedContractEvent<ReservesAddedEvent.InputTuple, ReservesAddedEvent.OutputTuple, ReservesAddedEvent.OutputObject>;
575
- getEvent(key: "ReservesReduced"): TypedContractEvent<ReservesReducedEvent.InputTuple, ReservesReducedEvent.OutputTuple, ReservesReducedEvent.OutputObject>;
576
- getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
577
- filters: {
578
- "AccrueInterest(uint256,uint256,uint256,uint256)": TypedContractEvent<AccrueInterestEvent.InputTuple, AccrueInterestEvent.OutputTuple, AccrueInterestEvent.OutputObject>;
579
- AccrueInterest: TypedContractEvent<AccrueInterestEvent.InputTuple, AccrueInterestEvent.OutputTuple, AccrueInterestEvent.OutputObject>;
580
- "Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
581
- Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
582
- "Borrow(address,uint256,uint256,uint256)": TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
583
- Borrow: TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
584
- "LiquidateBorrow(address,address,uint256,address,uint256)": TypedContractEvent<LiquidateBorrowEvent.InputTuple, LiquidateBorrowEvent.OutputTuple, LiquidateBorrowEvent.OutputObject>;
585
- LiquidateBorrow: TypedContractEvent<LiquidateBorrowEvent.InputTuple, LiquidateBorrowEvent.OutputTuple, LiquidateBorrowEvent.OutputObject>;
586
- "Mint(address,uint256,uint256)": TypedContractEvent<MintEvent.InputTuple, MintEvent.OutputTuple, MintEvent.OutputObject>;
587
- Mint: TypedContractEvent<MintEvent.InputTuple, MintEvent.OutputTuple, MintEvent.OutputObject>;
588
- "NewAdmin(address,address)": TypedContractEvent<NewAdminEvent.InputTuple, NewAdminEvent.OutputTuple, NewAdminEvent.OutputObject>;
589
- NewAdmin: TypedContractEvent<NewAdminEvent.InputTuple, NewAdminEvent.OutputTuple, NewAdminEvent.OutputObject>;
590
- "NewComptroller(address,address)": TypedContractEvent<NewComptrollerEvent.InputTuple, NewComptrollerEvent.OutputTuple, NewComptrollerEvent.OutputObject>;
591
- NewComptroller: TypedContractEvent<NewComptrollerEvent.InputTuple, NewComptrollerEvent.OutputTuple, NewComptrollerEvent.OutputObject>;
592
- "NewDiscountRate(uint256,uint256)": TypedContractEvent<NewDiscountRateEvent.InputTuple, NewDiscountRateEvent.OutputTuple, NewDiscountRateEvent.OutputObject>;
593
- NewDiscountRate: TypedContractEvent<NewDiscountRateEvent.InputTuple, NewDiscountRateEvent.OutputTuple, NewDiscountRateEvent.OutputObject>;
594
- "NewMarketInterestRateModel(address,address)": TypedContractEvent<NewMarketInterestRateModelEvent.InputTuple, NewMarketInterestRateModelEvent.OutputTuple, NewMarketInterestRateModelEvent.OutputObject>;
595
- NewMarketInterestRateModel: TypedContractEvent<NewMarketInterestRateModelEvent.InputTuple, NewMarketInterestRateModelEvent.OutputTuple, NewMarketInterestRateModelEvent.OutputObject>;
596
- "NewPendingAdmin(address,address)": TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
597
- NewPendingAdmin: TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
598
- "NewReserveFactor(uint256,uint256)": TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
599
- NewReserveFactor: TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
600
- "Redeem(address,uint256,uint256)": TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
601
- Redeem: TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
602
- "RepayBorrow(address,address,uint256,uint256,uint256)": TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
603
- RepayBorrow: TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
604
- "ReservesAdded(address,uint256,uint256)": TypedContractEvent<ReservesAddedEvent.InputTuple, ReservesAddedEvent.OutputTuple, ReservesAddedEvent.OutputObject>;
605
- ReservesAdded: TypedContractEvent<ReservesAddedEvent.InputTuple, ReservesAddedEvent.OutputTuple, ReservesAddedEvent.OutputObject>;
606
- "ReservesReduced(address,uint256,uint256)": TypedContractEvent<ReservesReducedEvent.InputTuple, ReservesReducedEvent.OutputTuple, ReservesReducedEvent.OutputObject>;
607
- ReservesReduced: TypedContractEvent<ReservesReducedEvent.InputTuple, ReservesReducedEvent.OutputTuple, ReservesReducedEvent.OutputObject>;
608
- "Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
609
- Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
610
- };
611
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"ICToken.js","sourceRoot":"","sources":["../../../../../src/typechain/contracts/Interface/ICToken.ts"],"names":[],"mappings":""}