@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,1052 +0,0 @@
1
- "use strict";
2
- /* Autogenerated file. Do not edit manually. */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.IComptroller__factory = void 0;
7
- const ethers_1 = require("ethers");
8
- const _abi = [
9
- {
10
- anonymous: false,
11
- inputs: [
12
- {
13
- indexed: false,
14
- internalType: "address",
15
- name: "cToken",
16
- type: "address",
17
- },
18
- {
19
- indexed: false,
20
- internalType: "string",
21
- name: "action",
22
- type: "string",
23
- },
24
- {
25
- indexed: false,
26
- internalType: "bool",
27
- name: "pauseState",
28
- type: "bool",
29
- },
30
- ],
31
- name: "ActionPaused",
32
- type: "event",
33
- },
34
- {
35
- anonymous: false,
36
- inputs: [
37
- {
38
- indexed: true,
39
- internalType: "address",
40
- name: "cToken",
41
- type: "address",
42
- },
43
- {
44
- indexed: false,
45
- internalType: "uint256",
46
- name: "newBorrowCap",
47
- type: "uint256",
48
- },
49
- ],
50
- name: "NewBorrowCap",
51
- type: "event",
52
- },
53
- {
54
- anonymous: false,
55
- inputs: [
56
- {
57
- indexed: false,
58
- internalType: "address",
59
- name: "oldBorrowCapGuardian",
60
- type: "address",
61
- },
62
- {
63
- indexed: false,
64
- internalType: "address",
65
- name: "newBorrowCapGuardian",
66
- type: "address",
67
- },
68
- ],
69
- name: "NewBorrowCapGuardian",
70
- type: "event",
71
- },
72
- {
73
- anonymous: false,
74
- inputs: [
75
- {
76
- indexed: false,
77
- internalType: "address",
78
- name: "oldPauseGuardian",
79
- type: "address",
80
- },
81
- {
82
- indexed: false,
83
- internalType: "address",
84
- name: "newPauseGuardian",
85
- type: "address",
86
- },
87
- ],
88
- name: "NewPauseGuardian",
89
- type: "event",
90
- },
91
- {
92
- anonymous: false,
93
- inputs: [
94
- {
95
- indexed: true,
96
- internalType: "uint8",
97
- name: "groupId",
98
- type: "uint8",
99
- },
100
- {
101
- indexed: false,
102
- internalType: "uint8",
103
- name: "equalAssetsGroupNum",
104
- type: "uint8",
105
- },
106
- ],
107
- name: "RemoveAssetGroup",
108
- type: "event",
109
- },
110
- {
111
- inputs: [
112
- {
113
- internalType: "address",
114
- name: "cToken",
115
- type: "address",
116
- },
117
- ],
118
- name: "_getBorrowPaused",
119
- outputs: [
120
- {
121
- internalType: "bool",
122
- name: "",
123
- type: "bool",
124
- },
125
- ],
126
- stateMutability: "view",
127
- type: "function",
128
- },
129
- {
130
- inputs: [
131
- {
132
- internalType: "address",
133
- name: "cToken",
134
- type: "address",
135
- },
136
- ],
137
- name: "_getMintPaused",
138
- outputs: [
139
- {
140
- internalType: "bool",
141
- name: "",
142
- type: "bool",
143
- },
144
- ],
145
- stateMutability: "nonpayable",
146
- type: "function",
147
- },
148
- {
149
- inputs: [],
150
- name: "_getSeizePaused",
151
- outputs: [
152
- {
153
- internalType: "bool",
154
- name: "",
155
- type: "bool",
156
- },
157
- ],
158
- stateMutability: "view",
159
- type: "function",
160
- },
161
- {
162
- inputs: [],
163
- name: "_getTransferPaused",
164
- outputs: [
165
- {
166
- internalType: "bool",
167
- name: "",
168
- type: "bool",
169
- },
170
- ],
171
- stateMutability: "view",
172
- type: "function",
173
- },
174
- {
175
- inputs: [
176
- {
177
- internalType: "uint8",
178
- name: "",
179
- type: "uint8",
180
- },
181
- ],
182
- name: "assetGroupIdToIndex",
183
- outputs: [
184
- {
185
- internalType: "uint8",
186
- name: "",
187
- type: "uint8",
188
- },
189
- ],
190
- stateMutability: "view",
191
- type: "function",
192
- },
193
- {
194
- inputs: [
195
- {
196
- internalType: "address",
197
- name: "cToken",
198
- type: "address",
199
- },
200
- {
201
- internalType: "address",
202
- name: "borrower",
203
- type: "address",
204
- },
205
- {
206
- internalType: "uint256",
207
- name: "borrowAmount",
208
- type: "uint256",
209
- },
210
- ],
211
- name: "borrowAllowed",
212
- outputs: [],
213
- stateMutability: "nonpayable",
214
- type: "function",
215
- },
216
- {
217
- inputs: [
218
- {
219
- internalType: "address",
220
- name: "cToken",
221
- type: "address",
222
- },
223
- ],
224
- name: "borrowCaps",
225
- outputs: [
226
- {
227
- internalType: "uint256",
228
- name: "",
229
- type: "uint256",
230
- },
231
- ],
232
- stateMutability: "view",
233
- type: "function",
234
- },
235
- {
236
- inputs: [
237
- {
238
- internalType: "address",
239
- name: "cToken",
240
- type: "address",
241
- },
242
- {
243
- internalType: "address",
244
- name: "borrower",
245
- type: "address",
246
- },
247
- {
248
- internalType: "uint256",
249
- name: "borrowAmount",
250
- type: "uint256",
251
- },
252
- ],
253
- name: "borrowVerify",
254
- outputs: [],
255
- stateMutability: "nonpayable",
256
- type: "function",
257
- },
258
- {
259
- inputs: [
260
- {
261
- internalType: "address",
262
- name: "",
263
- type: "address",
264
- },
265
- ],
266
- name: "claimComp",
267
- outputs: [],
268
- stateMutability: "nonpayable",
269
- type: "function",
270
- },
271
- {
272
- inputs: [],
273
- name: "closeFactorMantissa",
274
- outputs: [
275
- {
276
- internalType: "uint256",
277
- name: "",
278
- type: "uint256",
279
- },
280
- ],
281
- stateMutability: "view",
282
- type: "function",
283
- },
284
- {
285
- inputs: [
286
- {
287
- internalType: "address",
288
- name: "",
289
- type: "address",
290
- },
291
- ],
292
- name: "compAccrued",
293
- outputs: [
294
- {
295
- internalType: "uint256",
296
- name: "",
297
- type: "uint256",
298
- },
299
- ],
300
- stateMutability: "view",
301
- type: "function",
302
- },
303
- {
304
- inputs: [
305
- {
306
- internalType: "address[]",
307
- name: "cTokens",
308
- type: "address[]",
309
- },
310
- ],
311
- name: "enterMarkets",
312
- outputs: [
313
- {
314
- internalType: "uint256[]",
315
- name: "",
316
- type: "uint256[]",
317
- },
318
- ],
319
- stateMutability: "nonpayable",
320
- type: "function",
321
- },
322
- {
323
- inputs: [
324
- {
325
- internalType: "address",
326
- name: "cToken",
327
- type: "address",
328
- },
329
- ],
330
- name: "exitMarket",
331
- outputs: [
332
- {
333
- internalType: "uint256",
334
- name: "",
335
- type: "uint256",
336
- },
337
- ],
338
- stateMutability: "nonpayable",
339
- type: "function",
340
- },
341
- {
342
- inputs: [
343
- {
344
- internalType: "address",
345
- name: "",
346
- type: "address",
347
- },
348
- ],
349
- name: "getAccountLiquidity",
350
- outputs: [
351
- {
352
- internalType: "uint256",
353
- name: "",
354
- type: "uint256",
355
- },
356
- {
357
- internalType: "uint256",
358
- name: "",
359
- type: "uint256",
360
- },
361
- {
362
- internalType: "uint256",
363
- name: "",
364
- type: "uint256",
365
- },
366
- ],
367
- stateMutability: "view",
368
- type: "function",
369
- },
370
- {
371
- inputs: [],
372
- name: "getAllAssetGroup",
373
- outputs: [
374
- {
375
- components: [
376
- {
377
- internalType: "uint8",
378
- name: "groupId",
379
- type: "uint8",
380
- },
381
- {
382
- internalType: "string",
383
- name: "groupName",
384
- type: "string",
385
- },
386
- {
387
- internalType: "uint256",
388
- name: "intraCRateMantissa",
389
- type: "uint256",
390
- },
391
- {
392
- internalType: "uint256",
393
- name: "intraMintRateMantissa",
394
- type: "uint256",
395
- },
396
- {
397
- internalType: "uint256",
398
- name: "intraSuRateMantissa",
399
- type: "uint256",
400
- },
401
- {
402
- internalType: "uint256",
403
- name: "interCRateMantissa",
404
- type: "uint256",
405
- },
406
- {
407
- internalType: "uint256",
408
- name: "interSuRateMantissa",
409
- type: "uint256",
410
- },
411
- {
412
- internalType: "bool",
413
- name: "exist",
414
- type: "bool",
415
- },
416
- ],
417
- internalType: "struct IComptroller.AssetGroup[]",
418
- name: "",
419
- type: "tuple[]",
420
- },
421
- ],
422
- stateMutability: "view",
423
- type: "function",
424
- },
425
- {
426
- inputs: [],
427
- name: "getAllMarkets",
428
- outputs: [
429
- {
430
- internalType: "address[]",
431
- name: "",
432
- type: "address[]",
433
- },
434
- ],
435
- stateMutability: "view",
436
- type: "function",
437
- },
438
- {
439
- inputs: [
440
- {
441
- internalType: "uint8",
442
- name: "groupId",
443
- type: "uint8",
444
- },
445
- ],
446
- name: "getAssetGroup",
447
- outputs: [
448
- {
449
- components: [
450
- {
451
- internalType: "uint8",
452
- name: "groupId",
453
- type: "uint8",
454
- },
455
- {
456
- internalType: "string",
457
- name: "groupName",
458
- type: "string",
459
- },
460
- {
461
- internalType: "uint256",
462
- name: "intraCRateMantissa",
463
- type: "uint256",
464
- },
465
- {
466
- internalType: "uint256",
467
- name: "intraMintRateMantissa",
468
- type: "uint256",
469
- },
470
- {
471
- internalType: "uint256",
472
- name: "intraSuRateMantissa",
473
- type: "uint256",
474
- },
475
- {
476
- internalType: "uint256",
477
- name: "interCRateMantissa",
478
- type: "uint256",
479
- },
480
- {
481
- internalType: "uint256",
482
- name: "interSuRateMantissa",
483
- type: "uint256",
484
- },
485
- {
486
- internalType: "bool",
487
- name: "exist",
488
- type: "bool",
489
- },
490
- ],
491
- internalType: "struct IComptroller.AssetGroup",
492
- name: "",
493
- type: "tuple",
494
- },
495
- ],
496
- stateMutability: "view",
497
- type: "function",
498
- },
499
- {
500
- inputs: [],
501
- name: "getAssetGroupNum",
502
- outputs: [
503
- {
504
- internalType: "uint8",
505
- name: "",
506
- type: "uint8",
507
- },
508
- ],
509
- stateMutability: "view",
510
- type: "function",
511
- },
512
- {
513
- inputs: [
514
- {
515
- internalType: "address",
516
- name: "account",
517
- type: "address",
518
- },
519
- ],
520
- name: "getAssetsIn",
521
- outputs: [
522
- {
523
- internalType: "address[]",
524
- name: "",
525
- type: "address[]",
526
- },
527
- ],
528
- stateMutability: "view",
529
- type: "function",
530
- },
531
- {
532
- inputs: [
533
- {
534
- internalType: "address",
535
- name: "collateralToken",
536
- type: "address",
537
- },
538
- {
539
- internalType: "address",
540
- name: "liabilityToken",
541
- type: "address",
542
- },
543
- ],
544
- name: "getCollateralRate",
545
- outputs: [
546
- {
547
- internalType: "uint256",
548
- name: "",
549
- type: "uint256",
550
- },
551
- ],
552
- stateMutability: "view",
553
- type: "function",
554
- },
555
- {
556
- inputs: [],
557
- name: "getCompAddress",
558
- outputs: [
559
- {
560
- internalType: "address",
561
- name: "",
562
- type: "address",
563
- },
564
- ],
565
- stateMutability: "view",
566
- type: "function",
567
- },
568
- {
569
- inputs: [
570
- {
571
- internalType: "address",
572
- name: "account",
573
- type: "address",
574
- },
575
- {
576
- internalType: "address",
577
- name: "cTokenModify",
578
- type: "address",
579
- },
580
- {
581
- internalType: "uint256",
582
- name: "redeemTokens",
583
- type: "uint256",
584
- },
585
- {
586
- internalType: "uint256",
587
- name: "borrowAmount",
588
- type: "uint256",
589
- },
590
- ],
591
- name: "getHypotheticalAccountLiquidity",
592
- outputs: [
593
- {
594
- internalType: "uint256",
595
- name: "",
596
- type: "uint256",
597
- },
598
- {
599
- internalType: "uint256",
600
- name: "",
601
- type: "uint256",
602
- },
603
- {
604
- internalType: "uint256",
605
- name: "",
606
- type: "uint256",
607
- },
608
- ],
609
- stateMutability: "view",
610
- type: "function",
611
- },
612
- {
613
- inputs: [],
614
- name: "isComptroller",
615
- outputs: [
616
- {
617
- internalType: "bool",
618
- name: "",
619
- type: "bool",
620
- },
621
- ],
622
- stateMutability: "view",
623
- type: "function",
624
- },
625
- {
626
- inputs: [
627
- {
628
- internalType: "address",
629
- name: "asset",
630
- type: "address",
631
- },
632
- ],
633
- name: "isListed",
634
- outputs: [
635
- {
636
- internalType: "bool",
637
- name: "",
638
- type: "bool",
639
- },
640
- ],
641
- stateMutability: "view",
642
- type: "function",
643
- },
644
- {
645
- inputs: [
646
- {
647
- internalType: "address",
648
- name: "cTokenBorrowed",
649
- type: "address",
650
- },
651
- {
652
- internalType: "address",
653
- name: "cTokenCollateral",
654
- type: "address",
655
- },
656
- {
657
- internalType: "address",
658
- name: "liquidator",
659
- type: "address",
660
- },
661
- {
662
- internalType: "address",
663
- name: "borrower",
664
- type: "address",
665
- },
666
- {
667
- internalType: "uint256",
668
- name: "repayAmount",
669
- type: "uint256",
670
- },
671
- ],
672
- name: "liquidateBorrowAllowed",
673
- outputs: [],
674
- stateMutability: "view",
675
- type: "function",
676
- },
677
- {
678
- inputs: [
679
- {
680
- internalType: "address",
681
- name: "cTokenBorrowed",
682
- type: "address",
683
- },
684
- {
685
- internalType: "address",
686
- name: "cTokenCollateral",
687
- type: "address",
688
- },
689
- {
690
- internalType: "address",
691
- name: "liquidator",
692
- type: "address",
693
- },
694
- {
695
- internalType: "address",
696
- name: "borrower",
697
- type: "address",
698
- },
699
- {
700
- internalType: "uint256",
701
- name: "repayAmount",
702
- type: "uint256",
703
- },
704
- {
705
- internalType: "uint256",
706
- name: "seizeTokens",
707
- type: "uint256",
708
- },
709
- ],
710
- name: "liquidateBorrowVerify",
711
- outputs: [],
712
- stateMutability: "nonpayable",
713
- type: "function",
714
- },
715
- {
716
- inputs: [],
717
- name: "liquidationIncentiveMantissa",
718
- outputs: [
719
- {
720
- internalType: "uint256",
721
- name: "",
722
- type: "uint256",
723
- },
724
- {
725
- internalType: "uint256",
726
- name: "",
727
- type: "uint256",
728
- },
729
- {
730
- internalType: "uint256",
731
- name: "",
732
- type: "uint256",
733
- },
734
- ],
735
- stateMutability: "view",
736
- type: "function",
737
- },
738
- {
739
- inputs: [
740
- {
741
- internalType: "address",
742
- name: "asset",
743
- type: "address",
744
- },
745
- ],
746
- name: "marketGroupId",
747
- outputs: [
748
- {
749
- internalType: "uint8",
750
- name: "",
751
- type: "uint8",
752
- },
753
- ],
754
- stateMutability: "view",
755
- type: "function",
756
- },
757
- {
758
- inputs: [
759
- {
760
- internalType: "address",
761
- name: "",
762
- type: "address",
763
- },
764
- ],
765
- name: "markets",
766
- outputs: [
767
- {
768
- internalType: "bool",
769
- name: "",
770
- type: "bool",
771
- },
772
- {
773
- internalType: "uint8",
774
- name: "",
775
- type: "uint8",
776
- },
777
- {
778
- internalType: "bool",
779
- name: "",
780
- type: "bool",
781
- },
782
- ],
783
- stateMutability: "view",
784
- type: "function",
785
- },
786
- {
787
- inputs: [
788
- {
789
- internalType: "address",
790
- name: "cToken",
791
- type: "address",
792
- },
793
- {
794
- internalType: "address",
795
- name: "minter",
796
- type: "address",
797
- },
798
- {
799
- internalType: "uint256",
800
- name: "mintAmount",
801
- type: "uint256",
802
- },
803
- ],
804
- name: "mintAllowed",
805
- outputs: [],
806
- stateMutability: "nonpayable",
807
- type: "function",
808
- },
809
- {
810
- inputs: [],
811
- name: "oracle",
812
- outputs: [
813
- {
814
- internalType: "address",
815
- name: "",
816
- type: "address",
817
- },
818
- ],
819
- stateMutability: "view",
820
- type: "function",
821
- },
822
- {
823
- inputs: [
824
- {
825
- internalType: "address",
826
- name: "cToken",
827
- type: "address",
828
- },
829
- {
830
- internalType: "address",
831
- name: "redeemer",
832
- type: "address",
833
- },
834
- {
835
- internalType: "uint256",
836
- name: "redeemTokens",
837
- type: "uint256",
838
- },
839
- ],
840
- name: "redeemAllowed",
841
- outputs: [],
842
- stateMutability: "nonpayable",
843
- type: "function",
844
- },
845
- {
846
- inputs: [
847
- {
848
- internalType: "address",
849
- name: "cToken",
850
- type: "address",
851
- },
852
- {
853
- internalType: "address",
854
- name: "redeemer",
855
- type: "address",
856
- },
857
- {
858
- internalType: "uint256",
859
- name: "redeemAmount",
860
- type: "uint256",
861
- },
862
- {
863
- internalType: "uint256",
864
- name: "redeemTokens",
865
- type: "uint256",
866
- },
867
- ],
868
- name: "redeemVerify",
869
- outputs: [],
870
- stateMutability: "nonpayable",
871
- type: "function",
872
- },
873
- {
874
- inputs: [
875
- {
876
- internalType: "address",
877
- name: "cToken",
878
- type: "address",
879
- },
880
- {
881
- internalType: "address",
882
- name: "payer",
883
- type: "address",
884
- },
885
- {
886
- internalType: "address",
887
- name: "borrower",
888
- type: "address",
889
- },
890
- {
891
- internalType: "uint256",
892
- name: "repayAmount",
893
- type: "uint256",
894
- },
895
- ],
896
- name: "repayBorrowAllowed",
897
- outputs: [],
898
- stateMutability: "nonpayable",
899
- type: "function",
900
- },
901
- {
902
- inputs: [
903
- {
904
- internalType: "address",
905
- name: "cToken",
906
- type: "address",
907
- },
908
- {
909
- internalType: "address",
910
- name: "payer",
911
- type: "address",
912
- },
913
- {
914
- internalType: "address",
915
- name: "borrower",
916
- type: "address",
917
- },
918
- {
919
- internalType: "uint256",
920
- name: "repayAmount",
921
- type: "uint256",
922
- },
923
- {
924
- internalType: "uint256",
925
- name: "borrowerIndex",
926
- type: "uint256",
927
- },
928
- ],
929
- name: "repayBorrowVerify",
930
- outputs: [],
931
- stateMutability: "nonpayable",
932
- type: "function",
933
- },
934
- {
935
- inputs: [
936
- {
937
- internalType: "address",
938
- name: "cTokenCollateral",
939
- type: "address",
940
- },
941
- {
942
- internalType: "address",
943
- name: "cTokenBorrowed",
944
- type: "address",
945
- },
946
- {
947
- internalType: "address",
948
- name: "liquidator",
949
- type: "address",
950
- },
951
- {
952
- internalType: "address",
953
- name: "borrower",
954
- type: "address",
955
- },
956
- {
957
- internalType: "uint256",
958
- name: "seizeTokens",
959
- type: "uint256",
960
- },
961
- ],
962
- name: "seizeAllowed",
963
- outputs: [],
964
- stateMutability: "nonpayable",
965
- type: "function",
966
- },
967
- {
968
- inputs: [
969
- {
970
- internalType: "address",
971
- name: "cTokenCollateral",
972
- type: "address",
973
- },
974
- {
975
- internalType: "address",
976
- name: "cTokenBorrowed",
977
- type: "address",
978
- },
979
- {
980
- internalType: "address",
981
- name: "liquidator",
982
- type: "address",
983
- },
984
- {
985
- internalType: "address",
986
- name: "borrower",
987
- type: "address",
988
- },
989
- {
990
- internalType: "uint256",
991
- name: "seizeTokens",
992
- type: "uint256",
993
- },
994
- ],
995
- name: "seizeVerify",
996
- outputs: [],
997
- stateMutability: "nonpayable",
998
- type: "function",
999
- },
1000
- {
1001
- inputs: [],
1002
- name: "timelock",
1003
- outputs: [
1004
- {
1005
- internalType: "address",
1006
- name: "",
1007
- type: "address",
1008
- },
1009
- ],
1010
- stateMutability: "view",
1011
- type: "function",
1012
- },
1013
- {
1014
- inputs: [
1015
- {
1016
- internalType: "address",
1017
- name: "cToken",
1018
- type: "address",
1019
- },
1020
- {
1021
- internalType: "address",
1022
- name: "src",
1023
- type: "address",
1024
- },
1025
- {
1026
- internalType: "address",
1027
- name: "dst",
1028
- type: "address",
1029
- },
1030
- {
1031
- internalType: "uint256",
1032
- name: "transferTokens",
1033
- type: "uint256",
1034
- },
1035
- ],
1036
- name: "transferAllowed",
1037
- outputs: [],
1038
- stateMutability: "nonpayable",
1039
- type: "function",
1040
- },
1041
- ];
1042
- class IComptroller__factory {
1043
- static createInterface() {
1044
- return new ethers_1.Interface(_abi);
1045
- }
1046
- static connect(address, runner) {
1047
- return new ethers_1.Contract(address, _abi, runner);
1048
- }
1049
- }
1050
- exports.IComptroller__factory = IComptroller__factory;
1051
- IComptroller__factory.abi = _abi;
1052
- //# sourceMappingURL=IComptroller__factory.js.map