@venusprotocol/protocol-reserve 1.5.0 → 1.6.0-dev.1

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 (133) hide show
  1. package/package.json +3 -2
  2. package/typechain/AbstractTokenConverter.d.ts +1775 -0
  3. package/typechain/AccessControl.d.ts +388 -0
  4. package/typechain/AccessControlledV8.d.ts +341 -0
  5. package/typechain/BeaconProxy.d.ts +126 -0
  6. package/typechain/BoundValidatorInterface.d.ts +126 -0
  7. package/typechain/ContextUpgradeable.d.ts +92 -0
  8. package/typechain/ConverterNetwork.d.ts +723 -0
  9. package/typechain/ERC165.d.ts +116 -0
  10. package/typechain/ERC1967Proxy.d.ts +126 -0
  11. package/typechain/ERC1967Upgrade.d.ts +126 -0
  12. package/typechain/ERC20.d.ts +441 -0
  13. package/typechain/IAbstractTokenConverter.d.ts +773 -0
  14. package/typechain/IAccessControl.d.ts +333 -0
  15. package/typechain/IAccessControlManagerV8.d.ts +504 -0
  16. package/typechain/IBeacon.d.ts +101 -0
  17. package/typechain/IComptroller.d.ts +136 -0
  18. package/typechain/IConverterNetwork.d.ts +292 -0
  19. package/typechain/IERC165.d.ts +116 -0
  20. package/typechain/IERC1822Proxiable.d.ts +101 -0
  21. package/typechain/IERC1967.d.ts +126 -0
  22. package/typechain/IERC20.d.ts +324 -0
  23. package/typechain/IERC20Metadata.d.ts +363 -0
  24. package/typechain/IERC20PermitUpgradeable.d.ts +187 -0
  25. package/typechain/IERC20Upgradeable.d.ts +324 -0
  26. package/typechain/IIncomeDestination.d.ts +122 -0
  27. package/typechain/IPoolRegistry.d.ts +155 -0
  28. package/typechain/IProtocolShareReserve.d.ts +127 -0
  29. package/typechain/IRiskFund.d.ts +200 -0
  30. package/typechain/IRiskFundConverter.d.ts +138 -0
  31. package/typechain/IRiskFundGetters.d.ts +103 -0
  32. package/typechain/IShortfall.d.ts +110 -0
  33. package/typechain/ITransparentUpgradeableProxy.d.ts +256 -0
  34. package/typechain/IVToken.d.ts +98 -0
  35. package/typechain/IXVSVault.d.ts +95 -0
  36. package/typechain/Initializable.d.ts +92 -0
  37. package/typechain/MaxLoopsLimitHelper.d.ts +128 -0
  38. package/typechain/MaxLoopsLimitHelpersStorage.d.ts +101 -0
  39. package/typechain/MockACM.d.ts +615 -0
  40. package/typechain/MockArraySorter.d.ts +118 -0
  41. package/typechain/MockConverter.d.ts +1969 -0
  42. package/typechain/MockDeflatingToken.d.ts +486 -0
  43. package/typechain/MockRiskFundConverter.d.ts +2479 -0
  44. package/typechain/MockToken.d.ts +505 -0
  45. package/typechain/OracleInterface.d.ts +98 -0
  46. package/typechain/Ownable.d.ts +181 -0
  47. package/typechain/Ownable2StepUpgradeable.d.ts +261 -0
  48. package/typechain/OwnableUpgradeable.d.ts +193 -0
  49. package/typechain/PausableUpgradeable.d.ts +129 -0
  50. package/typechain/ProtocolShareReserve.d.ts +1214 -0
  51. package/typechain/Proxy.d.ts +78 -0
  52. package/typechain/ProxyAdmin.d.ts +357 -0
  53. package/typechain/ReentrancyGuardUpgradeable.d.ts +92 -0
  54. package/typechain/ReserveHelpersStorage.d.ts +300 -0
  55. package/typechain/ResilientOracle.d.ts +1034 -0
  56. package/typechain/ResilientOracleInterface.d.ts +192 -0
  57. package/typechain/RiskFundConverter.d.ts +2235 -0
  58. package/typechain/RiskFundV1Storage.d.ts +353 -0
  59. package/typechain/RiskFundV2.d.ts +965 -0
  60. package/typechain/RiskFundV2Storage.d.ts +372 -0
  61. package/typechain/SingleTokenConverter.d.ts +1944 -0
  62. package/typechain/TransparentUpgradeableProxy.d.ts +126 -0
  63. package/typechain/TwapInterface.d.ts +124 -0
  64. package/typechain/UpgradeableBeacon.d.ts +240 -0
  65. package/typechain/VBep20Interface.d.ts +379 -0
  66. package/typechain/XVSVaultTreasury.d.ts +515 -0
  67. package/typechain/common.d.ts +35 -0
  68. package/typechain/factories/AbstractTokenConverter__factory.ts +1297 -0
  69. package/typechain/factories/AccessControl__factory.ts +227 -0
  70. package/typechain/factories/AccessControlledV8__factory.ts +196 -0
  71. package/typechain/factories/BeaconProxy__factory.ts +133 -0
  72. package/typechain/factories/BoundValidatorInterface__factory.ts +59 -0
  73. package/typechain/factories/ContextUpgradeable__factory.ts +39 -0
  74. package/typechain/factories/ConverterNetwork__factory.ts +502 -0
  75. package/typechain/factories/ERC165__factory.ts +39 -0
  76. package/typechain/factories/ERC1967Proxy__factory.ts +137 -0
  77. package/typechain/factories/ERC1967Upgrade__factory.ts +71 -0
  78. package/typechain/factories/ERC20__factory.ts +340 -0
  79. package/typechain/factories/IAbstractTokenConverter__factory.ts +466 -0
  80. package/typechain/factories/IAccessControlManagerV8__factory.ts +301 -0
  81. package/typechain/factories/IAccessControl__factory.ts +198 -0
  82. package/typechain/factories/IBeacon__factory.ts +36 -0
  83. package/typechain/factories/IComptroller__factory.ts +68 -0
  84. package/typechain/factories/IConverterNetwork__factory.ts +142 -0
  85. package/typechain/factories/IERC165__factory.ts +42 -0
  86. package/typechain/factories/IERC1822Proxiable__factory.ts +39 -0
  87. package/typechain/factories/IERC1967__factory.ts +68 -0
  88. package/typechain/factories/IERC20Metadata__factory.ts +248 -0
  89. package/typechain/factories/IERC20PermitUpgradeable__factory.ts +105 -0
  90. package/typechain/factories/IERC20Upgradeable__factory.ts +209 -0
  91. package/typechain/factories/IERC20__factory.ts +203 -0
  92. package/typechain/factories/IIncomeDestination__factory.ts +44 -0
  93. package/typechain/factories/IPoolRegistry__factory.ts +66 -0
  94. package/typechain/factories/IProtocolShareReserve__factory.ts +53 -0
  95. package/typechain/factories/IRiskFundConverter__factory.ts +63 -0
  96. package/typechain/factories/IRiskFundGetters__factory.ts +39 -0
  97. package/typechain/factories/IRiskFund__factory.ts +89 -0
  98. package/typechain/factories/IShortfall__factory.ts +36 -0
  99. package/typechain/factories/ITransparentUpgradeableProxy__factory.ts +145 -0
  100. package/typechain/factories/IVToken__factory.ts +36 -0
  101. package/typechain/factories/IXVSVault__factory.ts +36 -0
  102. package/typechain/factories/Initializable__factory.ts +36 -0
  103. package/typechain/factories/MaxLoopsLimitHelper__factory.ts +74 -0
  104. package/typechain/factories/MaxLoopsLimitHelpersStorage__factory.ts +75 -0
  105. package/typechain/factories/MockACM__factory.ts +411 -0
  106. package/typechain/factories/MockArraySorter__factory.ts +85 -0
  107. package/typechain/factories/MockConverter__factory.ts +1439 -0
  108. package/typechain/factories/MockDeflatingToken__factory.ts +389 -0
  109. package/typechain/factories/MockRiskFundConverter__factory.ts +1828 -0
  110. package/typechain/factories/MockToken__factory.ts +398 -0
  111. package/typechain/factories/OracleInterface__factory.ts +45 -0
  112. package/typechain/factories/Ownable2StepUpgradeable__factory.ts +134 -0
  113. package/typechain/factories/OwnableUpgradeable__factory.ts +91 -0
  114. package/typechain/factories/Ownable__factory.ts +75 -0
  115. package/typechain/factories/PausableUpgradeable__factory.ts +78 -0
  116. package/typechain/factories/ProtocolShareReserve__factory.ts +874 -0
  117. package/typechain/factories/ProxyAdmin__factory.ts +202 -0
  118. package/typechain/factories/Proxy__factory.ts +28 -0
  119. package/typechain/factories/ReentrancyGuardUpgradeable__factory.ts +43 -0
  120. package/typechain/factories/ReserveHelpersStorage__factory.ts +188 -0
  121. package/typechain/factories/ResilientOracleInterface__factory.ts +94 -0
  122. package/typechain/factories/ResilientOracle__factory.ts +710 -0
  123. package/typechain/factories/RiskFundConverter__factory.ts +1694 -0
  124. package/typechain/factories/RiskFundV1Storage__factory.ts +223 -0
  125. package/typechain/factories/RiskFundV2Storage__factory.ts +236 -0
  126. package/typechain/factories/RiskFundV2__factory.ts +672 -0
  127. package/typechain/factories/SingleTokenConverter__factory.ts +1441 -0
  128. package/typechain/factories/TransparentUpgradeableProxy__factory.ts +152 -0
  129. package/typechain/factories/TwapInterface__factory.ts +61 -0
  130. package/typechain/factories/UpgradeableBeacon__factory.ts +163 -0
  131. package/typechain/factories/VBep20Interface__factory.ts +261 -0
  132. package/typechain/factories/XVSVaultTreasury__factory.ts +365 -0
  133. package/typechain/index.ts +134 -0
@@ -0,0 +1,301 @@
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
+ IAccessControlManagerV8,
9
+ IAccessControlManagerV8Interface,
10
+ } from "../IAccessControlManagerV8";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ indexed: true,
18
+ internalType: "bytes32",
19
+ name: "role",
20
+ type: "bytes32",
21
+ },
22
+ {
23
+ indexed: true,
24
+ internalType: "bytes32",
25
+ name: "previousAdminRole",
26
+ type: "bytes32",
27
+ },
28
+ {
29
+ indexed: true,
30
+ internalType: "bytes32",
31
+ name: "newAdminRole",
32
+ type: "bytes32",
33
+ },
34
+ ],
35
+ name: "RoleAdminChanged",
36
+ type: "event",
37
+ },
38
+ {
39
+ anonymous: false,
40
+ inputs: [
41
+ {
42
+ indexed: true,
43
+ internalType: "bytes32",
44
+ name: "role",
45
+ type: "bytes32",
46
+ },
47
+ {
48
+ indexed: true,
49
+ internalType: "address",
50
+ name: "account",
51
+ type: "address",
52
+ },
53
+ {
54
+ indexed: true,
55
+ internalType: "address",
56
+ name: "sender",
57
+ type: "address",
58
+ },
59
+ ],
60
+ name: "RoleGranted",
61
+ type: "event",
62
+ },
63
+ {
64
+ anonymous: false,
65
+ inputs: [
66
+ {
67
+ indexed: true,
68
+ internalType: "bytes32",
69
+ name: "role",
70
+ type: "bytes32",
71
+ },
72
+ {
73
+ indexed: true,
74
+ internalType: "address",
75
+ name: "account",
76
+ type: "address",
77
+ },
78
+ {
79
+ indexed: true,
80
+ internalType: "address",
81
+ name: "sender",
82
+ type: "address",
83
+ },
84
+ ],
85
+ name: "RoleRevoked",
86
+ type: "event",
87
+ },
88
+ {
89
+ inputs: [
90
+ {
91
+ internalType: "bytes32",
92
+ name: "role",
93
+ type: "bytes32",
94
+ },
95
+ ],
96
+ name: "getRoleAdmin",
97
+ outputs: [
98
+ {
99
+ internalType: "bytes32",
100
+ name: "",
101
+ type: "bytes32",
102
+ },
103
+ ],
104
+ stateMutability: "view",
105
+ type: "function",
106
+ },
107
+ {
108
+ inputs: [
109
+ {
110
+ internalType: "address",
111
+ name: "contractAddress",
112
+ type: "address",
113
+ },
114
+ {
115
+ internalType: "string",
116
+ name: "functionSig",
117
+ type: "string",
118
+ },
119
+ {
120
+ internalType: "address",
121
+ name: "accountToPermit",
122
+ type: "address",
123
+ },
124
+ ],
125
+ name: "giveCallPermission",
126
+ outputs: [],
127
+ stateMutability: "nonpayable",
128
+ type: "function",
129
+ },
130
+ {
131
+ inputs: [
132
+ {
133
+ internalType: "bytes32",
134
+ name: "role",
135
+ type: "bytes32",
136
+ },
137
+ {
138
+ internalType: "address",
139
+ name: "account",
140
+ type: "address",
141
+ },
142
+ ],
143
+ name: "grantRole",
144
+ outputs: [],
145
+ stateMutability: "nonpayable",
146
+ type: "function",
147
+ },
148
+ {
149
+ inputs: [
150
+ {
151
+ internalType: "address",
152
+ name: "account",
153
+ type: "address",
154
+ },
155
+ {
156
+ internalType: "address",
157
+ name: "contractAddress",
158
+ type: "address",
159
+ },
160
+ {
161
+ internalType: "string",
162
+ name: "functionSig",
163
+ type: "string",
164
+ },
165
+ ],
166
+ name: "hasPermission",
167
+ outputs: [
168
+ {
169
+ internalType: "bool",
170
+ name: "",
171
+ type: "bool",
172
+ },
173
+ ],
174
+ stateMutability: "view",
175
+ type: "function",
176
+ },
177
+ {
178
+ inputs: [
179
+ {
180
+ internalType: "bytes32",
181
+ name: "role",
182
+ type: "bytes32",
183
+ },
184
+ {
185
+ internalType: "address",
186
+ name: "account",
187
+ type: "address",
188
+ },
189
+ ],
190
+ name: "hasRole",
191
+ outputs: [
192
+ {
193
+ internalType: "bool",
194
+ name: "",
195
+ type: "bool",
196
+ },
197
+ ],
198
+ stateMutability: "view",
199
+ type: "function",
200
+ },
201
+ {
202
+ inputs: [
203
+ {
204
+ internalType: "address",
205
+ name: "account",
206
+ type: "address",
207
+ },
208
+ {
209
+ internalType: "string",
210
+ name: "functionSig",
211
+ type: "string",
212
+ },
213
+ ],
214
+ name: "isAllowedToCall",
215
+ outputs: [
216
+ {
217
+ internalType: "bool",
218
+ name: "",
219
+ type: "bool",
220
+ },
221
+ ],
222
+ stateMutability: "view",
223
+ type: "function",
224
+ },
225
+ {
226
+ inputs: [
227
+ {
228
+ internalType: "bytes32",
229
+ name: "role",
230
+ type: "bytes32",
231
+ },
232
+ {
233
+ internalType: "address",
234
+ name: "account",
235
+ type: "address",
236
+ },
237
+ ],
238
+ name: "renounceRole",
239
+ outputs: [],
240
+ stateMutability: "nonpayable",
241
+ type: "function",
242
+ },
243
+ {
244
+ inputs: [
245
+ {
246
+ internalType: "address",
247
+ name: "contractAddress",
248
+ type: "address",
249
+ },
250
+ {
251
+ internalType: "string",
252
+ name: "functionSig",
253
+ type: "string",
254
+ },
255
+ {
256
+ internalType: "address",
257
+ name: "accountToRevoke",
258
+ type: "address",
259
+ },
260
+ ],
261
+ name: "revokeCallPermission",
262
+ outputs: [],
263
+ stateMutability: "nonpayable",
264
+ type: "function",
265
+ },
266
+ {
267
+ inputs: [
268
+ {
269
+ internalType: "bytes32",
270
+ name: "role",
271
+ type: "bytes32",
272
+ },
273
+ {
274
+ internalType: "address",
275
+ name: "account",
276
+ type: "address",
277
+ },
278
+ ],
279
+ name: "revokeRole",
280
+ outputs: [],
281
+ stateMutability: "nonpayable",
282
+ type: "function",
283
+ },
284
+ ];
285
+
286
+ export class IAccessControlManagerV8__factory {
287
+ static readonly abi = _abi;
288
+ static createInterface(): IAccessControlManagerV8Interface {
289
+ return new utils.Interface(_abi) as IAccessControlManagerV8Interface;
290
+ }
291
+ static connect(
292
+ address: string,
293
+ signerOrProvider: Signer | Provider
294
+ ): IAccessControlManagerV8 {
295
+ return new Contract(
296
+ address,
297
+ _abi,
298
+ signerOrProvider
299
+ ) as IAccessControlManagerV8;
300
+ }
301
+ }
@@ -0,0 +1,198 @@
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
+ IAccessControl,
9
+ IAccessControlInterface,
10
+ } from "../IAccessControl";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ indexed: true,
18
+ internalType: "bytes32",
19
+ name: "role",
20
+ type: "bytes32",
21
+ },
22
+ {
23
+ indexed: true,
24
+ internalType: "bytes32",
25
+ name: "previousAdminRole",
26
+ type: "bytes32",
27
+ },
28
+ {
29
+ indexed: true,
30
+ internalType: "bytes32",
31
+ name: "newAdminRole",
32
+ type: "bytes32",
33
+ },
34
+ ],
35
+ name: "RoleAdminChanged",
36
+ type: "event",
37
+ },
38
+ {
39
+ anonymous: false,
40
+ inputs: [
41
+ {
42
+ indexed: true,
43
+ internalType: "bytes32",
44
+ name: "role",
45
+ type: "bytes32",
46
+ },
47
+ {
48
+ indexed: true,
49
+ internalType: "address",
50
+ name: "account",
51
+ type: "address",
52
+ },
53
+ {
54
+ indexed: true,
55
+ internalType: "address",
56
+ name: "sender",
57
+ type: "address",
58
+ },
59
+ ],
60
+ name: "RoleGranted",
61
+ type: "event",
62
+ },
63
+ {
64
+ anonymous: false,
65
+ inputs: [
66
+ {
67
+ indexed: true,
68
+ internalType: "bytes32",
69
+ name: "role",
70
+ type: "bytes32",
71
+ },
72
+ {
73
+ indexed: true,
74
+ internalType: "address",
75
+ name: "account",
76
+ type: "address",
77
+ },
78
+ {
79
+ indexed: true,
80
+ internalType: "address",
81
+ name: "sender",
82
+ type: "address",
83
+ },
84
+ ],
85
+ name: "RoleRevoked",
86
+ type: "event",
87
+ },
88
+ {
89
+ inputs: [
90
+ {
91
+ internalType: "bytes32",
92
+ name: "role",
93
+ type: "bytes32",
94
+ },
95
+ ],
96
+ name: "getRoleAdmin",
97
+ outputs: [
98
+ {
99
+ internalType: "bytes32",
100
+ name: "",
101
+ type: "bytes32",
102
+ },
103
+ ],
104
+ stateMutability: "view",
105
+ type: "function",
106
+ },
107
+ {
108
+ inputs: [
109
+ {
110
+ internalType: "bytes32",
111
+ name: "role",
112
+ type: "bytes32",
113
+ },
114
+ {
115
+ internalType: "address",
116
+ name: "account",
117
+ type: "address",
118
+ },
119
+ ],
120
+ name: "grantRole",
121
+ outputs: [],
122
+ stateMutability: "nonpayable",
123
+ type: "function",
124
+ },
125
+ {
126
+ inputs: [
127
+ {
128
+ internalType: "bytes32",
129
+ name: "role",
130
+ type: "bytes32",
131
+ },
132
+ {
133
+ internalType: "address",
134
+ name: "account",
135
+ type: "address",
136
+ },
137
+ ],
138
+ name: "hasRole",
139
+ outputs: [
140
+ {
141
+ internalType: "bool",
142
+ name: "",
143
+ type: "bool",
144
+ },
145
+ ],
146
+ stateMutability: "view",
147
+ type: "function",
148
+ },
149
+ {
150
+ inputs: [
151
+ {
152
+ internalType: "bytes32",
153
+ name: "role",
154
+ type: "bytes32",
155
+ },
156
+ {
157
+ internalType: "address",
158
+ name: "account",
159
+ type: "address",
160
+ },
161
+ ],
162
+ name: "renounceRole",
163
+ outputs: [],
164
+ stateMutability: "nonpayable",
165
+ type: "function",
166
+ },
167
+ {
168
+ inputs: [
169
+ {
170
+ internalType: "bytes32",
171
+ name: "role",
172
+ type: "bytes32",
173
+ },
174
+ {
175
+ internalType: "address",
176
+ name: "account",
177
+ type: "address",
178
+ },
179
+ ],
180
+ name: "revokeRole",
181
+ outputs: [],
182
+ stateMutability: "nonpayable",
183
+ type: "function",
184
+ },
185
+ ];
186
+
187
+ export class IAccessControl__factory {
188
+ static readonly abi = _abi;
189
+ static createInterface(): IAccessControlInterface {
190
+ return new utils.Interface(_abi) as IAccessControlInterface;
191
+ }
192
+ static connect(
193
+ address: string,
194
+ signerOrProvider: Signer | Provider
195
+ ): IAccessControl {
196
+ return new Contract(address, _abi, signerOrProvider) as IAccessControl;
197
+ }
198
+ }
@@ -0,0 +1,36 @@
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 { IBeacon, IBeaconInterface } from "../IBeacon";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [],
12
+ name: "implementation",
13
+ outputs: [
14
+ {
15
+ internalType: "address",
16
+ name: "",
17
+ type: "address",
18
+ },
19
+ ],
20
+ stateMutability: "view",
21
+ type: "function",
22
+ },
23
+ ];
24
+
25
+ export class IBeacon__factory {
26
+ static readonly abi = _abi;
27
+ static createInterface(): IBeaconInterface {
28
+ return new utils.Interface(_abi) as IBeaconInterface;
29
+ }
30
+ static connect(
31
+ address: string,
32
+ signerOrProvider: Signer | Provider
33
+ ): IBeacon {
34
+ return new Contract(address, _abi, signerOrProvider) as IBeacon;
35
+ }
36
+ }
@@ -0,0 +1,68 @@
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 { IComptroller, IComptrollerInterface } from "../IComptroller";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [],
12
+ name: "getAllMarkets",
13
+ outputs: [
14
+ {
15
+ internalType: "address[]",
16
+ name: "",
17
+ type: "address[]",
18
+ },
19
+ ],
20
+ stateMutability: "view",
21
+ type: "function",
22
+ },
23
+ {
24
+ inputs: [],
25
+ name: "isComptroller",
26
+ outputs: [
27
+ {
28
+ internalType: "bool",
29
+ name: "",
30
+ type: "bool",
31
+ },
32
+ ],
33
+ stateMutability: "view",
34
+ type: "function",
35
+ },
36
+ {
37
+ inputs: [
38
+ {
39
+ internalType: "address",
40
+ name: "",
41
+ type: "address",
42
+ },
43
+ ],
44
+ name: "markets",
45
+ outputs: [
46
+ {
47
+ internalType: "bool",
48
+ name: "",
49
+ type: "bool",
50
+ },
51
+ ],
52
+ stateMutability: "view",
53
+ type: "function",
54
+ },
55
+ ];
56
+
57
+ export class IComptroller__factory {
58
+ static readonly abi = _abi;
59
+ static createInterface(): IComptrollerInterface {
60
+ return new utils.Interface(_abi) as IComptrollerInterface;
61
+ }
62
+ static connect(
63
+ address: string,
64
+ signerOrProvider: Signer | Provider
65
+ ): IComptroller {
66
+ return new Contract(address, _abi, signerOrProvider) as IComptroller;
67
+ }
68
+ }