@meterio/sumer-js 0.2.131 → 0.2.132

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 (120) hide show
  1. package/dist/browser/sumer.min.js +10 -10
  2. package/dist/nodejs/abi.d.ts +0 -180
  3. package/dist/nodejs/abi.js +50 -3155
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/constants/arbitrum.js +11 -0
  6. package/dist/nodejs/constants/arbitrum.js.map +1 -1
  7. package/dist/nodejs/constants/b2main.js +11 -0
  8. package/dist/nodejs/constants/b2main.js.map +1 -1
  9. package/dist/nodejs/constants/basemain.js +11 -0
  10. package/dist/nodejs/constants/basemain.js.map +1 -1
  11. package/dist/nodejs/constants/basetest.js +11 -0
  12. package/dist/nodejs/constants/basetest.js.map +1 -1
  13. package/dist/nodejs/constants/berabartio.js +11 -0
  14. package/dist/nodejs/constants/berabartio.js.map +1 -1
  15. package/dist/nodejs/constants/beramain.js +11 -0
  16. package/dist/nodejs/constants/beramain.js.map +1 -1
  17. package/dist/nodejs/constants/bsc.js +11 -0
  18. package/dist/nodejs/constants/bsc.js.map +1 -1
  19. package/dist/nodejs/constants/core.js +11 -0
  20. package/dist/nodejs/constants/core.js.map +1 -1
  21. package/dist/nodejs/constants/ethereum.js +11 -0
  22. package/dist/nodejs/constants/ethereum.js.map +1 -1
  23. package/dist/nodejs/constants/hemi.js +11 -0
  24. package/dist/nodejs/constants/hemi.js.map +1 -1
  25. package/dist/nodejs/constants/metertest.js +11 -0
  26. package/dist/nodejs/constants/metertest.js.map +1 -1
  27. package/dist/nodejs/constants/monadtest.js +11 -0
  28. package/dist/nodejs/constants/monadtest.js.map +1 -1
  29. package/dist/nodejs/constants/sepolia.d.ts +2 -15
  30. package/dist/nodejs/constants/sepolia.js +29 -31
  31. package/dist/nodejs/constants/sepolia.js.map +1 -1
  32. package/dist/nodejs/constants/zklink.js +11 -0
  33. package/dist/nodejs/constants/zklink.js.map +1 -1
  34. package/dist/nodejs/errorABIs.js +0 -522
  35. package/dist/nodejs/errorABIs.js.map +1 -1
  36. package/dist/nodejs/index.d.ts +0 -180
  37. package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +1 -17
  38. package/dist/nodejs/typechain/contracts/CToken/CEther.d.ts +1 -17
  39. package/dist/nodejs/typechain/contracts/CToken/CToken.d.ts +1 -17
  40. package/dist/nodejs/typechain/contracts/CToken/CTokenStorage.d.ts +1 -5
  41. package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +1 -17
  42. package/dist/nodejs/typechain/contracts/CToken/index.d.ts +0 -2
  43. package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/CInfraredVault.d.ts +1 -17
  44. package/dist/nodejs/typechain/contracts/InterestRateModel/index.d.ts +0 -2
  45. package/dist/nodejs/typechain/contracts/Oracle/{aprMONAdapter.sol/AprMONAdapter.d.ts → dualCoreAdapter.sol/ICoreVault.d.ts} +10 -10
  46. package/dist/nodejs/typechain/contracts/Oracle/{aprMONAdapter.sol/index.js → dualCoreAdapter.sol/ICoreVault.js} +1 -1
  47. package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/ICoreVault.js.map +1 -0
  48. package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/index.d.ts +1 -0
  49. package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +0 -2
  50. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +1 -35
  51. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +1 -46
  52. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
  53. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +1 -35
  54. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +1 -46
  55. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
  56. package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.d.ts +0 -14
  57. package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js +0 -19
  58. package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js.map +1 -1
  59. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +0 -34
  60. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +0 -45
  61. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
  62. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +1 -35
  63. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +1 -46
  64. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
  65. package/dist/nodejs/typechain/factories/contracts/CToken/index.d.ts +0 -1
  66. package/dist/nodejs/typechain/factories/contracts/CToken/index.js +1 -25
  67. package/dist/nodejs/typechain/factories/contracts/CToken/index.js.map +1 -1
  68. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.d.ts +1 -35
  69. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js +1 -46
  70. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js.map +1 -1
  71. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.d.ts +0 -1
  72. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js +1 -25
  73. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js.map +1 -1
  74. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/ICoreVault__factory.d.ts +21 -0
  75. package/dist/nodejs/typechain/factories/contracts/Oracle/{aprMONAdapter.sol/IAprMon__factory.js → dualCoreAdapter.sol/ICoreVault__factory.js} +6 -25
  76. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/ICoreVault__factory.js.map +1 -0
  77. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.d.ts +1 -0
  78. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.js +3 -1
  79. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.js.map +1 -1
  80. package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +0 -1
  81. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +1 -2
  82. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
  83. package/dist/nodejs/typechain/hardhat.d.ts +16 -124
  84. package/dist/nodejs/typechain/index.d.ts +2 -12
  85. package/dist/nodejs/typechain/index.js +4 -14
  86. package/dist/nodejs/typechain/index.js.map +1 -1
  87. package/package.json +1 -1
  88. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAToken.d.ts +0 -37
  89. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAToken.js +0 -3
  90. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAToken.js.map +0 -1
  91. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAaveV3Pool.d.ts +0 -133
  92. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAaveV3Pool.js +0 -3
  93. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAaveV3Pool.js.map +0 -1
  94. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/index.d.ts +0 -3
  95. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/index.js +0 -3
  96. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/index.js.map +0 -1
  97. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter.js +0 -3
  98. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter.js.map +0 -1
  99. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/IAprMon.d.ts +0 -37
  100. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/IAprMon.js +0 -3
  101. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/IAprMon.js.map +0 -1
  102. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/index.d.ts +0 -2
  103. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/index.js.map +0 -1
  104. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAToken__factory.d.ts +0 -55
  105. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAToken__factory.js +0 -84
  106. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAToken__factory.js.map +0 -1
  107. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAaveV3Pool__factory.d.ts +0 -145
  108. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAaveV3Pool__factory.js +0 -199
  109. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAaveV3Pool__factory.js.map +0 -1
  110. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/index.d.ts +0 -3
  111. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/index.js +0 -13
  112. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/index.js.map +0 -1
  113. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter__factory.d.ts +0 -44
  114. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter__factory.js +0 -69
  115. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter__factory.js.map +0 -1
  116. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/IAprMon__factory.d.ts +0 -35
  117. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/IAprMon__factory.js.map +0 -1
  118. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/index.d.ts +0 -2
  119. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/index.js +0 -11
  120. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/index.js.map +0 -1
@@ -254,111 +254,6 @@ declare const Sumer: {
254
254
  anonymous?: undefined;
255
255
  outputs?: undefined;
256
256
  })[];
257
- CAavePool: ({
258
- inputs: any[];
259
- stateMutability: string;
260
- type: string;
261
- name?: undefined;
262
- anonymous?: undefined;
263
- outputs?: undefined;
264
- } | {
265
- inputs: {
266
- internalType: string;
267
- name: string;
268
- type: string;
269
- }[];
270
- name: string;
271
- type: string;
272
- stateMutability?: undefined;
273
- anonymous?: undefined;
274
- outputs?: undefined;
275
- } | {
276
- anonymous: boolean;
277
- inputs: {
278
- indexed: boolean;
279
- internalType: string;
280
- name: string;
281
- type: string;
282
- }[];
283
- name: string;
284
- type: string;
285
- stateMutability?: undefined;
286
- outputs?: undefined;
287
- } | {
288
- inputs: {
289
- internalType: string;
290
- name: string;
291
- type: string;
292
- }[];
293
- name: string;
294
- outputs: {
295
- internalType: string;
296
- name: string;
297
- type: string;
298
- }[];
299
- stateMutability: string;
300
- type: string;
301
- anonymous?: undefined;
302
- })[];
303
- IAToken: {
304
- inputs: {
305
- internalType: string;
306
- name: string;
307
- type: string;
308
- }[];
309
- name: string;
310
- outputs: {
311
- internalType: string;
312
- name: string;
313
- type: string;
314
- }[];
315
- stateMutability: string;
316
- type: string;
317
- }[];
318
- IAaveV3Pool: ({
319
- inputs: {
320
- internalType: string;
321
- name: string;
322
- type: string;
323
- }[];
324
- name: string;
325
- outputs: {
326
- components: ({
327
- components: {
328
- internalType: string;
329
- name: string;
330
- type: string;
331
- }[];
332
- internalType: string;
333
- name: string;
334
- type: string;
335
- } | {
336
- internalType: string;
337
- name: string;
338
- type: string;
339
- components?: undefined;
340
- })[];
341
- internalType: string;
342
- name: string;
343
- type: string;
344
- }[];
345
- stateMutability: string;
346
- type: string;
347
- } | {
348
- inputs: {
349
- internalType: string;
350
- name: string;
351
- type: string;
352
- }[];
353
- name: string;
354
- outputs: {
355
- internalType: string;
356
- name: string;
357
- type: string;
358
- }[];
359
- stateMutability: string;
360
- type: string;
361
- })[];
362
257
  CErc20: ({
363
258
  inputs: any[];
364
259
  stateMutability: string;
@@ -1179,45 +1074,6 @@ declare const Sumer: {
1179
1074
  type: string;
1180
1075
  anonymous?: undefined;
1181
1076
  })[];
1182
- JumpRateModelForAave: ({
1183
- inputs: {
1184
- internalType: string;
1185
- name: string;
1186
- type: string;
1187
- }[];
1188
- stateMutability: string;
1189
- type: string;
1190
- anonymous?: undefined;
1191
- name?: undefined;
1192
- outputs?: undefined;
1193
- } | {
1194
- anonymous: boolean;
1195
- inputs: {
1196
- indexed: boolean;
1197
- internalType: string;
1198
- name: string;
1199
- type: string;
1200
- }[];
1201
- name: string;
1202
- type: string;
1203
- stateMutability?: undefined;
1204
- outputs?: undefined;
1205
- } | {
1206
- inputs: {
1207
- internalType: string;
1208
- name: string;
1209
- type: string;
1210
- }[];
1211
- name: string;
1212
- outputs: {
1213
- internalType: string;
1214
- name: string;
1215
- type: string;
1216
- }[];
1217
- stateMutability: string;
1218
- type: string;
1219
- anonymous?: undefined;
1220
- })[];
1221
1077
  JumpRateModelV2: ({
1222
1078
  inputs: {
1223
1079
  internalType: string;
@@ -2181,42 +2037,6 @@ declare const Sumer: {
2181
2037
  stateMutability: string;
2182
2038
  type: string;
2183
2039
  })[];
2184
- IAprMon: {
2185
- inputs: {
2186
- internalType: string;
2187
- name: string;
2188
- type: string;
2189
- }[];
2190
- name: string;
2191
- outputs: {
2192
- internalType: string;
2193
- name: string;
2194
- type: string;
2195
- }[];
2196
- stateMutability: string;
2197
- type: string;
2198
- }[];
2199
- aprMONAdapter: ({
2200
- inputs: {
2201
- internalType: string;
2202
- name: string;
2203
- type: string;
2204
- }[];
2205
- stateMutability: string;
2206
- type: string;
2207
- name?: undefined;
2208
- outputs?: undefined;
2209
- } | {
2210
- inputs: any[];
2211
- name: string;
2212
- outputs: {
2213
- internalType: string;
2214
- name: string;
2215
- type: string;
2216
- }[];
2217
- stateMutability: string;
2218
- type: string;
2219
- })[];
2220
2040
  IDualCore: {
2221
2041
  inputs: {
2222
2042
  internalType: string;
@@ -1,7 +1,7 @@
1
1
  import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
2
  import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
3
3
  export interface CErc20Interface extends Interface {
4
- getFunction(nameOrSignature: "_acceptAdmin" | "_addReserves" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "_syncUnderlyingBalance" | "accrualBlockTimestamp" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrow" | "borrowAndDepositBack" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getCash" | "initialize" | "interestRateModel" | "isCEther" | "isCEtherDeprecated" | "isCToken" | "isCTokenDeprecated" | "liquidateBorrow" | "liquidateCalculateSeizeTokens" | "mint" | "mintWithPermit" | "name" | "pendingAdmin" | "percentScale" | "protocolSeizeShareMantissa" | "redeem" | "redeemUnderlying" | "repayBorrow" | "repayBorrowBehalf" | "repayBorrowWithPermit" | "reserveFactorMantissa" | "revokeWhitelist" | "seize" | "supplyRatePerBlock" | "sweepToken" | "symbol" | "tokenType" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance" | "whitelist" | "whitelisted"): FunctionFragment;
4
+ getFunction(nameOrSignature: "_acceptAdmin" | "_addReserves" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "_syncUnderlyingBalance" | "accrualBlockTimestamp" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrow" | "borrowAndDepositBack" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getCash" | "initialize" | "interestRateModel" | "isCEther" | "isCEtherDeprecated" | "isCToken" | "isCTokenDeprecated" | "liquidateBorrow" | "liquidateCalculateSeizeTokens" | "mint" | "mintWithPermit" | "name" | "pendingAdmin" | "percentScale" | "protocolSeizeShareMantissa" | "redeem" | "redeemUnderlying" | "repayBorrow" | "repayBorrowBehalf" | "repayBorrowWithPermit" | "reserveFactorMantissa" | "seize" | "supplyRatePerBlock" | "sweepToken" | "symbol" | "tokenType" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance"): FunctionFragment;
5
5
  getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "Initialized" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Redeem" | "RedeemFaceValue" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "Transfer"): EventFragment;
6
6
  encodeFunctionData(functionFragment: "_acceptAdmin", values?: undefined): string;
7
7
  encodeFunctionData(functionFragment: "_addReserves", values: [BigNumberish]): string;
@@ -61,7 +61,6 @@ export interface CErc20Interface extends Interface {
61
61
  encodeFunctionData(functionFragment: "repayBorrowBehalf", values: [AddressLike, BigNumberish]): string;
62
62
  encodeFunctionData(functionFragment: "repayBorrowWithPermit", values: [BigNumberish, BigNumberish, BytesLike]): string;
63
63
  encodeFunctionData(functionFragment: "reserveFactorMantissa", values?: undefined): string;
64
- encodeFunctionData(functionFragment: "revokeWhitelist", values: [AddressLike]): string;
65
64
  encodeFunctionData(functionFragment: "seize", values: [
66
65
  AddressLike,
67
66
  AddressLike,
@@ -82,8 +81,6 @@ export interface CErc20Interface extends Interface {
82
81
  encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
83
82
  encodeFunctionData(functionFragment: "underlying", values?: undefined): string;
84
83
  encodeFunctionData(functionFragment: "underlyingBalance", values?: undefined): string;
85
- encodeFunctionData(functionFragment: "whitelist", values: [AddressLike]): string;
86
- encodeFunctionData(functionFragment: "whitelisted", values: [AddressLike]): string;
87
84
  decodeFunctionResult(functionFragment: "_acceptAdmin", data: BytesLike): Result;
88
85
  decodeFunctionResult(functionFragment: "_addReserves", data: BytesLike): Result;
89
86
  decodeFunctionResult(functionFragment: "_reduceReserves", data: BytesLike): Result;
@@ -133,7 +130,6 @@ export interface CErc20Interface extends Interface {
133
130
  decodeFunctionResult(functionFragment: "repayBorrowBehalf", data: BytesLike): Result;
134
131
  decodeFunctionResult(functionFragment: "repayBorrowWithPermit", data: BytesLike): Result;
135
132
  decodeFunctionResult(functionFragment: "reserveFactorMantissa", data: BytesLike): Result;
136
- decodeFunctionResult(functionFragment: "revokeWhitelist", data: BytesLike): Result;
137
133
  decodeFunctionResult(functionFragment: "seize", data: BytesLike): Result;
138
134
  decodeFunctionResult(functionFragment: "supplyRatePerBlock", data: BytesLike): Result;
139
135
  decodeFunctionResult(functionFragment: "sweepToken", data: BytesLike): Result;
@@ -147,8 +143,6 @@ export interface CErc20Interface extends Interface {
147
143
  decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
148
144
  decodeFunctionResult(functionFragment: "underlying", data: BytesLike): Result;
149
145
  decodeFunctionResult(functionFragment: "underlyingBalance", data: BytesLike): Result;
150
- decodeFunctionResult(functionFragment: "whitelist", data: BytesLike): Result;
151
- decodeFunctionResult(functionFragment: "whitelisted", data: BytesLike): Result;
152
146
  }
153
147
  export declare namespace AccrueInterestEvent {
154
148
  type InputTuple = [
@@ -683,11 +677,6 @@ export interface CErc20 extends BaseContract {
683
677
  void
684
678
  ], "nonpayable">;
685
679
  reserveFactorMantissa: TypedContractMethod<[], [bigint], "view">;
686
- revokeWhitelist: TypedContractMethod<[
687
- addr: AddressLike
688
- ], [
689
- void
690
- ], "nonpayable">;
691
680
  seize: TypedContractMethod<[
692
681
  liquidator: AddressLike,
693
682
  borrower: AddressLike,
@@ -721,8 +710,6 @@ export interface CErc20 extends BaseContract {
721
710
  ], "nonpayable">;
722
711
  underlying: TypedContractMethod<[], [string], "view">;
723
712
  underlyingBalance: TypedContractMethod<[], [bigint], "view">;
724
- whitelist: TypedContractMethod<[addr: AddressLike], [void], "nonpayable">;
725
- whitelisted: TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
726
713
  getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
727
714
  getFunction(nameOrSignature: "_acceptAdmin"): TypedContractMethod<[], [void], "nonpayable">;
728
715
  getFunction(nameOrSignature: "_addReserves"): TypedContractMethod<[addAmount: BigNumberish], [void], "nonpayable">;
@@ -843,7 +830,6 @@ export interface CErc20 extends BaseContract {
843
830
  void
844
831
  ], "nonpayable">;
845
832
  getFunction(nameOrSignature: "reserveFactorMantissa"): TypedContractMethod<[], [bigint], "view">;
846
- getFunction(nameOrSignature: "revokeWhitelist"): TypedContractMethod<[addr: AddressLike], [void], "nonpayable">;
847
833
  getFunction(nameOrSignature: "seize"): TypedContractMethod<[
848
834
  liquidator: AddressLike,
849
835
  borrower: AddressLike,
@@ -877,8 +863,6 @@ export interface CErc20 extends BaseContract {
877
863
  ], "nonpayable">;
878
864
  getFunction(nameOrSignature: "underlying"): TypedContractMethod<[], [string], "view">;
879
865
  getFunction(nameOrSignature: "underlyingBalance"): TypedContractMethod<[], [bigint], "view">;
880
- getFunction(nameOrSignature: "whitelist"): TypedContractMethod<[addr: AddressLike], [void], "nonpayable">;
881
- getFunction(nameOrSignature: "whitelisted"): TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
882
866
  getEvent(key: "AccrueInterest"): TypedContractEvent<AccrueInterestEvent.InputTuple, AccrueInterestEvent.OutputTuple, AccrueInterestEvent.OutputObject>;
883
867
  getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
884
868
  getEvent(key: "Borrow"): TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
@@ -1,7 +1,7 @@
1
1
  import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
2
  import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
3
3
  export interface CEtherInterface extends Interface {
4
- getFunction(nameOrSignature: "_acceptAdmin" | "_addReserves" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "_syncUnderlyingBalance" | "accrualBlockTimestamp" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrow" | "borrowAndDepositBack" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getCash" | "initialize" | "initializeVersion2" | "interestRateModel" | "isCEther" | "isCEtherDeprecated" | "isCToken" | "isCTokenDeprecated" | "liquidateBorrow" | "liquidateCalculateSeizeTokens" | "mint" | "name" | "pendingAdmin" | "percentScale" | "protocolSeizeShareMantissa" | "redeem" | "redeemUnderlying" | "repayBorrow" | "repayBorrowBehalf" | "reserveFactorMantissa" | "revokeWhitelist" | "seize" | "supplyRatePerBlock" | "symbol" | "tokenType" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance" | "whitelist" | "whitelisted"): FunctionFragment;
4
+ getFunction(nameOrSignature: "_acceptAdmin" | "_addReserves" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "_syncUnderlyingBalance" | "accrualBlockTimestamp" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrow" | "borrowAndDepositBack" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getCash" | "initialize" | "initializeVersion2" | "interestRateModel" | "isCEther" | "isCEtherDeprecated" | "isCToken" | "isCTokenDeprecated" | "liquidateBorrow" | "liquidateCalculateSeizeTokens" | "mint" | "name" | "pendingAdmin" | "percentScale" | "protocolSeizeShareMantissa" | "redeem" | "redeemUnderlying" | "repayBorrow" | "repayBorrowBehalf" | "reserveFactorMantissa" | "seize" | "supplyRatePerBlock" | "symbol" | "tokenType" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance"): FunctionFragment;
5
5
  getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "Initialized" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Redeem" | "RedeemFaceValue" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "Transfer"): EventFragment;
6
6
  encodeFunctionData(functionFragment: "_acceptAdmin", values?: undefined): string;
7
7
  encodeFunctionData(functionFragment: "_addReserves", values?: undefined): string;
@@ -59,7 +59,6 @@ export interface CEtherInterface extends Interface {
59
59
  encodeFunctionData(functionFragment: "repayBorrow", values?: undefined): string;
60
60
  encodeFunctionData(functionFragment: "repayBorrowBehalf", values: [AddressLike]): string;
61
61
  encodeFunctionData(functionFragment: "reserveFactorMantissa", values?: undefined): string;
62
- encodeFunctionData(functionFragment: "revokeWhitelist", values: [AddressLike]): string;
63
62
  encodeFunctionData(functionFragment: "seize", values: [
64
63
  AddressLike,
65
64
  AddressLike,
@@ -79,8 +78,6 @@ export interface CEtherInterface extends Interface {
79
78
  encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
80
79
  encodeFunctionData(functionFragment: "underlying", values?: undefined): string;
81
80
  encodeFunctionData(functionFragment: "underlyingBalance", values?: undefined): string;
82
- encodeFunctionData(functionFragment: "whitelist", values: [AddressLike]): string;
83
- encodeFunctionData(functionFragment: "whitelisted", values: [AddressLike]): string;
84
81
  decodeFunctionResult(functionFragment: "_acceptAdmin", data: BytesLike): Result;
85
82
  decodeFunctionResult(functionFragment: "_addReserves", data: BytesLike): Result;
86
83
  decodeFunctionResult(functionFragment: "_reduceReserves", data: BytesLike): Result;
@@ -129,7 +126,6 @@ export interface CEtherInterface extends Interface {
129
126
  decodeFunctionResult(functionFragment: "repayBorrow", data: BytesLike): Result;
130
127
  decodeFunctionResult(functionFragment: "repayBorrowBehalf", data: BytesLike): Result;
131
128
  decodeFunctionResult(functionFragment: "reserveFactorMantissa", data: BytesLike): Result;
132
- decodeFunctionResult(functionFragment: "revokeWhitelist", data: BytesLike): Result;
133
129
  decodeFunctionResult(functionFragment: "seize", data: BytesLike): Result;
134
130
  decodeFunctionResult(functionFragment: "supplyRatePerBlock", data: BytesLike): Result;
135
131
  decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
@@ -142,8 +138,6 @@ export interface CEtherInterface extends Interface {
142
138
  decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
143
139
  decodeFunctionResult(functionFragment: "underlying", data: BytesLike): Result;
144
140
  decodeFunctionResult(functionFragment: "underlyingBalance", data: BytesLike): Result;
145
- decodeFunctionResult(functionFragment: "whitelist", data: BytesLike): Result;
146
- decodeFunctionResult(functionFragment: "whitelisted", data: BytesLike): Result;
147
141
  }
148
142
  export declare namespace AccrueInterestEvent {
149
143
  type InputTuple = [
@@ -654,11 +648,6 @@ export interface CEther extends BaseContract {
654
648
  void
655
649
  ], "payable">;
656
650
  reserveFactorMantissa: TypedContractMethod<[], [bigint], "view">;
657
- revokeWhitelist: TypedContractMethod<[
658
- addr: AddressLike
659
- ], [
660
- void
661
- ], "nonpayable">;
662
651
  seize: TypedContractMethod<[
663
652
  liquidator: AddressLike,
664
653
  borrower: AddressLike,
@@ -691,8 +680,6 @@ export interface CEther extends BaseContract {
691
680
  ], "nonpayable">;
692
681
  underlying: TypedContractMethod<[], [string], "view">;
693
682
  underlyingBalance: TypedContractMethod<[], [bigint], "view">;
694
- whitelist: TypedContractMethod<[addr: AddressLike], [void], "nonpayable">;
695
- whitelisted: TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
696
683
  getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
697
684
  getFunction(nameOrSignature: "_acceptAdmin"): TypedContractMethod<[], [void], "nonpayable">;
698
685
  getFunction(nameOrSignature: "_addReserves"): TypedContractMethod<[], [void], "payable">;
@@ -793,7 +780,6 @@ export interface CEther extends BaseContract {
793
780
  getFunction(nameOrSignature: "repayBorrow"): TypedContractMethod<[], [void], "payable">;
794
781
  getFunction(nameOrSignature: "repayBorrowBehalf"): TypedContractMethod<[borrower: AddressLike], [void], "payable">;
795
782
  getFunction(nameOrSignature: "reserveFactorMantissa"): TypedContractMethod<[], [bigint], "view">;
796
- getFunction(nameOrSignature: "revokeWhitelist"): TypedContractMethod<[addr: AddressLike], [void], "nonpayable">;
797
783
  getFunction(nameOrSignature: "seize"): TypedContractMethod<[
798
784
  liquidator: AddressLike,
799
785
  borrower: AddressLike,
@@ -826,8 +812,6 @@ export interface CEther extends BaseContract {
826
812
  ], "nonpayable">;
827
813
  getFunction(nameOrSignature: "underlying"): TypedContractMethod<[], [string], "view">;
828
814
  getFunction(nameOrSignature: "underlyingBalance"): TypedContractMethod<[], [bigint], "view">;
829
- getFunction(nameOrSignature: "whitelist"): TypedContractMethod<[addr: AddressLike], [void], "nonpayable">;
830
- getFunction(nameOrSignature: "whitelisted"): TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
831
815
  getEvent(key: "AccrueInterest"): TypedContractEvent<AccrueInterestEvent.InputTuple, AccrueInterestEvent.OutputTuple, AccrueInterestEvent.OutputObject>;
832
816
  getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
833
817
  getEvent(key: "Borrow"): TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
@@ -1,7 +1,7 @@
1
1
  import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
2
  import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
3
3
  export interface CTokenInterface extends Interface {
4
- getFunction(nameOrSignature: "_acceptAdmin" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "_syncUnderlyingBalance" | "accrualBlockTimestamp" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrowAndDepositBack" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getCash" | "interestRateModel" | "isCEther" | "isCEtherDeprecated" | "isCToken" | "isCTokenDeprecated" | "liquidateCalculateSeizeTokens" | "name" | "pendingAdmin" | "percentScale" | "protocolSeizeShareMantissa" | "reserveFactorMantissa" | "revokeWhitelist" | "seize" | "supplyRatePerBlock" | "symbol" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance" | "whitelist" | "whitelisted"): FunctionFragment;
4
+ getFunction(nameOrSignature: "_acceptAdmin" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "_syncUnderlyingBalance" | "accrualBlockTimestamp" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrowAndDepositBack" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getCash" | "interestRateModel" | "isCEther" | "isCEtherDeprecated" | "isCToken" | "isCTokenDeprecated" | "liquidateCalculateSeizeTokens" | "name" | "pendingAdmin" | "percentScale" | "protocolSeizeShareMantissa" | "reserveFactorMantissa" | "seize" | "supplyRatePerBlock" | "symbol" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance"): FunctionFragment;
5
5
  getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Redeem" | "RedeemFaceValue" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "Transfer"): EventFragment;
6
6
  encodeFunctionData(functionFragment: "_acceptAdmin", values?: undefined): string;
7
7
  encodeFunctionData(functionFragment: "_reduceReserves", values: [BigNumberish]): string;
@@ -41,7 +41,6 @@ export interface CTokenInterface extends Interface {
41
41
  encodeFunctionData(functionFragment: "percentScale", values?: undefined): string;
42
42
  encodeFunctionData(functionFragment: "protocolSeizeShareMantissa", values?: undefined): string;
43
43
  encodeFunctionData(functionFragment: "reserveFactorMantissa", values?: undefined): string;
44
- encodeFunctionData(functionFragment: "revokeWhitelist", values: [AddressLike]): string;
45
44
  encodeFunctionData(functionFragment: "seize", values: [
46
45
  AddressLike,
47
46
  AddressLike,
@@ -60,8 +59,6 @@ export interface CTokenInterface extends Interface {
60
59
  encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
61
60
  encodeFunctionData(functionFragment: "underlying", values?: undefined): string;
62
61
  encodeFunctionData(functionFragment: "underlyingBalance", values?: undefined): string;
63
- encodeFunctionData(functionFragment: "whitelist", values: [AddressLike]): string;
64
- encodeFunctionData(functionFragment: "whitelisted", values: [AddressLike]): string;
65
62
  decodeFunctionResult(functionFragment: "_acceptAdmin", data: BytesLike): Result;
66
63
  decodeFunctionResult(functionFragment: "_reduceReserves", data: BytesLike): Result;
67
64
  decodeFunctionResult(functionFragment: "_setComptroller", data: BytesLike): Result;
@@ -100,7 +97,6 @@ export interface CTokenInterface extends Interface {
100
97
  decodeFunctionResult(functionFragment: "percentScale", data: BytesLike): Result;
101
98
  decodeFunctionResult(functionFragment: "protocolSeizeShareMantissa", data: BytesLike): Result;
102
99
  decodeFunctionResult(functionFragment: "reserveFactorMantissa", data: BytesLike): Result;
103
- decodeFunctionResult(functionFragment: "revokeWhitelist", data: BytesLike): Result;
104
100
  decodeFunctionResult(functionFragment: "seize", data: BytesLike): Result;
105
101
  decodeFunctionResult(functionFragment: "supplyRatePerBlock", data: BytesLike): Result;
106
102
  decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
@@ -112,8 +108,6 @@ export interface CTokenInterface extends Interface {
112
108
  decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
113
109
  decodeFunctionResult(functionFragment: "underlying", data: BytesLike): Result;
114
110
  decodeFunctionResult(functionFragment: "underlyingBalance", data: BytesLike): Result;
115
- decodeFunctionResult(functionFragment: "whitelist", data: BytesLike): Result;
116
- decodeFunctionResult(functionFragment: "whitelisted", data: BytesLike): Result;
117
111
  }
118
112
  export declare namespace AccrueInterestEvent {
119
113
  type InputTuple = [
@@ -572,11 +566,6 @@ export interface CToken extends BaseContract {
572
566
  percentScale: TypedContractMethod<[], [bigint], "view">;
573
567
  protocolSeizeShareMantissa: TypedContractMethod<[], [bigint], "view">;
574
568
  reserveFactorMantissa: TypedContractMethod<[], [bigint], "view">;
575
- revokeWhitelist: TypedContractMethod<[
576
- addr: AddressLike
577
- ], [
578
- void
579
- ], "nonpayable">;
580
569
  seize: TypedContractMethod<[
581
570
  liquidator: AddressLike,
582
571
  borrower: AddressLike,
@@ -608,8 +597,6 @@ export interface CToken extends BaseContract {
608
597
  ], "nonpayable">;
609
598
  underlying: TypedContractMethod<[], [string], "view">;
610
599
  underlyingBalance: TypedContractMethod<[], [bigint], "view">;
611
- whitelist: TypedContractMethod<[addr: AddressLike], [void], "nonpayable">;
612
- whitelisted: TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
613
600
  getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
614
601
  getFunction(nameOrSignature: "_acceptAdmin"): TypedContractMethod<[], [void], "nonpayable">;
615
602
  getFunction(nameOrSignature: "_reduceReserves"): TypedContractMethod<[reduceAmount: BigNumberish], [void], "nonpayable">;
@@ -685,7 +672,6 @@ export interface CToken extends BaseContract {
685
672
  getFunction(nameOrSignature: "percentScale"): TypedContractMethod<[], [bigint], "view">;
686
673
  getFunction(nameOrSignature: "protocolSeizeShareMantissa"): TypedContractMethod<[], [bigint], "view">;
687
674
  getFunction(nameOrSignature: "reserveFactorMantissa"): TypedContractMethod<[], [bigint], "view">;
688
- getFunction(nameOrSignature: "revokeWhitelist"): TypedContractMethod<[addr: AddressLike], [void], "nonpayable">;
689
675
  getFunction(nameOrSignature: "seize"): TypedContractMethod<[
690
676
  liquidator: AddressLike,
691
677
  borrower: AddressLike,
@@ -717,8 +703,6 @@ export interface CToken extends BaseContract {
717
703
  ], "nonpayable">;
718
704
  getFunction(nameOrSignature: "underlying"): TypedContractMethod<[], [string], "view">;
719
705
  getFunction(nameOrSignature: "underlyingBalance"): TypedContractMethod<[], [bigint], "view">;
720
- getFunction(nameOrSignature: "whitelist"): TypedContractMethod<[addr: AddressLike], [void], "nonpayable">;
721
- getFunction(nameOrSignature: "whitelisted"): TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
722
706
  getEvent(key: "AccrueInterest"): TypedContractEvent<AccrueInterestEvent.InputTuple, AccrueInterestEvent.OutputTuple, AccrueInterestEvent.OutputObject>;
723
707
  getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
724
708
  getEvent(key: "Borrow"): TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
@@ -1,7 +1,7 @@
1
1
  import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
2
  import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../common";
3
3
  export interface CTokenStorageInterface extends Interface {
4
- getFunction(nameOrSignature: "_acceptAdmin" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "accrualBlockTimestamp" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getCash" | "interestRateModel" | "isCEtherDeprecated" | "isCTokenDeprecated" | "name" | "pendingAdmin" | "percentScale" | "protocolSeizeShareMantissa" | "reserveFactorMantissa" | "seize" | "supplyRatePerBlock" | "symbol" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance" | "whitelisted"): FunctionFragment;
4
+ getFunction(nameOrSignature: "_acceptAdmin" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "accrualBlockTimestamp" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getCash" | "interestRateModel" | "isCEtherDeprecated" | "isCTokenDeprecated" | "name" | "pendingAdmin" | "percentScale" | "protocolSeizeShareMantissa" | "reserveFactorMantissa" | "seize" | "supplyRatePerBlock" | "symbol" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance"): FunctionFragment;
5
5
  encodeFunctionData(functionFragment: "_acceptAdmin", values?: undefined): string;
6
6
  encodeFunctionData(functionFragment: "_reduceReserves", values: [BigNumberish]): string;
7
7
  encodeFunctionData(functionFragment: "_setComptroller", values: [AddressLike]): string;
@@ -53,7 +53,6 @@ export interface CTokenStorageInterface extends Interface {
53
53
  encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
54
54
  encodeFunctionData(functionFragment: "underlying", values?: undefined): string;
55
55
  encodeFunctionData(functionFragment: "underlyingBalance", values?: undefined): string;
56
- encodeFunctionData(functionFragment: "whitelisted", values: [AddressLike]): string;
57
56
  decodeFunctionResult(functionFragment: "_acceptAdmin", data: BytesLike): Result;
58
57
  decodeFunctionResult(functionFragment: "_reduceReserves", data: BytesLike): Result;
59
58
  decodeFunctionResult(functionFragment: "_setComptroller", data: BytesLike): Result;
@@ -98,7 +97,6 @@ export interface CTokenStorageInterface extends Interface {
98
97
  decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
99
98
  decodeFunctionResult(functionFragment: "underlying", data: BytesLike): Result;
100
99
  decodeFunctionResult(functionFragment: "underlyingBalance", data: BytesLike): Result;
101
- decodeFunctionResult(functionFragment: "whitelisted", data: BytesLike): Result;
102
100
  }
103
101
  export interface CTokenStorage extends BaseContract {
104
102
  connect(runner?: ContractRunner | null): CTokenStorage;
@@ -227,7 +225,6 @@ export interface CTokenStorage extends BaseContract {
227
225
  ], "nonpayable">;
228
226
  underlying: TypedContractMethod<[], [string], "view">;
229
227
  underlyingBalance: TypedContractMethod<[], [bigint], "view">;
230
- whitelisted: TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
231
228
  getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
232
229
  getFunction(nameOrSignature: "_acceptAdmin"): TypedContractMethod<[], [void], "nonpayable">;
233
230
  getFunction(nameOrSignature: "_reduceReserves"): TypedContractMethod<[reduceAmount: BigNumberish], [void], "nonpayable">;
@@ -319,6 +316,5 @@ export interface CTokenStorage extends BaseContract {
319
316
  ], "nonpayable">;
320
317
  getFunction(nameOrSignature: "underlying"): TypedContractMethod<[], [string], "view">;
321
318
  getFunction(nameOrSignature: "underlyingBalance"): TypedContractMethod<[], [bigint], "view">;
322
- getFunction(nameOrSignature: "whitelisted"): TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
323
319
  filters: {};
324
320
  }
@@ -1,7 +1,7 @@
1
1
  import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
2
  import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
3
3
  export interface SuErc20Interface extends Interface {
4
- getFunction(nameOrSignature: "_acceptAdmin" | "_addReserves" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "_syncUnderlyingBalance" | "accrualBlockTimestamp" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrow" | "borrowAndDepositBack" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "executeRedemption" | "getAccountSnapshot" | "getCash" | "initialize" | "interestRateModel" | "isCEther" | "isCEtherDeprecated" | "isCToken" | "isCTokenDeprecated" | "liquidateBorrow" | "liquidateCalculateSeizeTokens" | "mint" | "mintWithPermit" | "name" | "pendingAdmin" | "percentScale" | "protectedMint" | "protocolSeizeShareMantissa" | "redeem" | "redeemUnderlying" | "repayBorrow" | "repayBorrowBehalf" | "repayBorrowWithPermit" | "reserveFactorMantissa" | "revokeWhitelist" | "seize" | "supplyRatePerBlock" | "sweepToken" | "symbol" | "tokenType" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance" | "whitelist" | "whitelisted"): FunctionFragment;
4
+ getFunction(nameOrSignature: "_acceptAdmin" | "_addReserves" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "_syncUnderlyingBalance" | "accrualBlockTimestamp" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrow" | "borrowAndDepositBack" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "executeRedemption" | "getAccountSnapshot" | "getCash" | "initialize" | "interestRateModel" | "isCEther" | "isCEtherDeprecated" | "isCToken" | "isCTokenDeprecated" | "liquidateBorrow" | "liquidateCalculateSeizeTokens" | "mint" | "mintWithPermit" | "name" | "pendingAdmin" | "percentScale" | "protectedMint" | "protocolSeizeShareMantissa" | "redeem" | "redeemUnderlying" | "repayBorrow" | "repayBorrowBehalf" | "repayBorrowWithPermit" | "reserveFactorMantissa" | "seize" | "supplyRatePerBlock" | "sweepToken" | "symbol" | "tokenType" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance"): FunctionFragment;
5
5
  getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "Initialized" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Redeem" | "RedeemFaceValue" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "Transfer"): EventFragment;
6
6
  encodeFunctionData(functionFragment: "_acceptAdmin", values?: undefined): string;
7
7
  encodeFunctionData(functionFragment: "_addReserves", values: [BigNumberish]): string;
@@ -70,7 +70,6 @@ export interface SuErc20Interface extends Interface {
70
70
  encodeFunctionData(functionFragment: "repayBorrowBehalf", values: [AddressLike, BigNumberish]): string;
71
71
  encodeFunctionData(functionFragment: "repayBorrowWithPermit", values: [BigNumberish, BigNumberish, BytesLike]): string;
72
72
  encodeFunctionData(functionFragment: "reserveFactorMantissa", values?: undefined): string;
73
- encodeFunctionData(functionFragment: "revokeWhitelist", values: [AddressLike]): string;
74
73
  encodeFunctionData(functionFragment: "seize", values: [
75
74
  AddressLike,
76
75
  AddressLike,
@@ -91,8 +90,6 @@ export interface SuErc20Interface extends Interface {
91
90
  encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
92
91
  encodeFunctionData(functionFragment: "underlying", values?: undefined): string;
93
92
  encodeFunctionData(functionFragment: "underlyingBalance", values?: undefined): string;
94
- encodeFunctionData(functionFragment: "whitelist", values: [AddressLike]): string;
95
- encodeFunctionData(functionFragment: "whitelisted", values: [AddressLike]): string;
96
93
  decodeFunctionResult(functionFragment: "_acceptAdmin", data: BytesLike): Result;
97
94
  decodeFunctionResult(functionFragment: "_addReserves", data: BytesLike): Result;
98
95
  decodeFunctionResult(functionFragment: "_reduceReserves", data: BytesLike): Result;
@@ -144,7 +141,6 @@ export interface SuErc20Interface extends Interface {
144
141
  decodeFunctionResult(functionFragment: "repayBorrowBehalf", data: BytesLike): Result;
145
142
  decodeFunctionResult(functionFragment: "repayBorrowWithPermit", data: BytesLike): Result;
146
143
  decodeFunctionResult(functionFragment: "reserveFactorMantissa", data: BytesLike): Result;
147
- decodeFunctionResult(functionFragment: "revokeWhitelist", data: BytesLike): Result;
148
144
  decodeFunctionResult(functionFragment: "seize", data: BytesLike): Result;
149
145
  decodeFunctionResult(functionFragment: "supplyRatePerBlock", data: BytesLike): Result;
150
146
  decodeFunctionResult(functionFragment: "sweepToken", data: BytesLike): Result;
@@ -158,8 +154,6 @@ export interface SuErc20Interface extends Interface {
158
154
  decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
159
155
  decodeFunctionResult(functionFragment: "underlying", data: BytesLike): Result;
160
156
  decodeFunctionResult(functionFragment: "underlyingBalance", data: BytesLike): Result;
161
- decodeFunctionResult(functionFragment: "whitelist", data: BytesLike): Result;
162
- decodeFunctionResult(functionFragment: "whitelisted", data: BytesLike): Result;
163
157
  }
164
158
  export declare namespace AccrueInterestEvent {
165
159
  type InputTuple = [
@@ -711,11 +705,6 @@ export interface SuErc20 extends BaseContract {
711
705
  void
712
706
  ], "nonpayable">;
713
707
  reserveFactorMantissa: TypedContractMethod<[], [bigint], "view">;
714
- revokeWhitelist: TypedContractMethod<[
715
- addr: AddressLike
716
- ], [
717
- void
718
- ], "nonpayable">;
719
708
  seize: TypedContractMethod<[
720
709
  liquidator: AddressLike,
721
710
  borrower: AddressLike,
@@ -749,8 +738,6 @@ export interface SuErc20 extends BaseContract {
749
738
  ], "nonpayable">;
750
739
  underlying: TypedContractMethod<[], [string], "view">;
751
740
  underlyingBalance: TypedContractMethod<[], [bigint], "view">;
752
- whitelist: TypedContractMethod<[addr: AddressLike], [void], "nonpayable">;
753
- whitelisted: TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
754
741
  getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
755
742
  getFunction(nameOrSignature: "_acceptAdmin"): TypedContractMethod<[], [void], "nonpayable">;
756
743
  getFunction(nameOrSignature: "_addReserves"): TypedContractMethod<[addAmount: BigNumberish], [void], "nonpayable">;
@@ -888,7 +875,6 @@ export interface SuErc20 extends BaseContract {
888
875
  void
889
876
  ], "nonpayable">;
890
877
  getFunction(nameOrSignature: "reserveFactorMantissa"): TypedContractMethod<[], [bigint], "view">;
891
- getFunction(nameOrSignature: "revokeWhitelist"): TypedContractMethod<[addr: AddressLike], [void], "nonpayable">;
892
878
  getFunction(nameOrSignature: "seize"): TypedContractMethod<[
893
879
  liquidator: AddressLike,
894
880
  borrower: AddressLike,
@@ -922,8 +908,6 @@ export interface SuErc20 extends BaseContract {
922
908
  ], "nonpayable">;
923
909
  getFunction(nameOrSignature: "underlying"): TypedContractMethod<[], [string], "view">;
924
910
  getFunction(nameOrSignature: "underlyingBalance"): TypedContractMethod<[], [bigint], "view">;
925
- getFunction(nameOrSignature: "whitelist"): TypedContractMethod<[addr: AddressLike], [void], "nonpayable">;
926
- getFunction(nameOrSignature: "whitelisted"): TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
927
911
  getEvent(key: "AccrueInterest"): TypedContractEvent<AccrueInterestEvent.InputTuple, AccrueInterestEvent.OutputTuple, AccrueInterestEvent.OutputObject>;
928
912
  getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
929
913
  getEvent(key: "Borrow"): TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
@@ -1,5 +1,3 @@
1
- import type * as cAavePoolSol from "./CAavePool.sol";
2
- export type { cAavePoolSol };
3
1
  export type { CErc20 } from "./CErc20";
4
2
  export type { CEther } from "./CEther";
5
3
  export type { CToken } from "./CToken";