@meterio/sumer-js 0.2.171 → 0.2.173

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 (68) hide show
  1. package/dist/browser/sumer.min.js +1 -1
  2. package/dist/nodejs/abi.d.ts +32 -0
  3. package/dist/nodejs/abi.js +46 -0
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/constants/goat.js +1 -1
  6. package/dist/nodejs/constants/goat.js.map +1 -1
  7. package/dist/nodejs/constants/metertest.d.ts +1 -0
  8. package/dist/nodejs/constants/metertest.js +1 -0
  9. package/dist/nodejs/constants/metertest.js.map +1 -1
  10. package/dist/nodejs/constants/sepolia.d.ts +1 -0
  11. package/dist/nodejs/constants/sepolia.js +3 -2
  12. package/dist/nodejs/constants/sepolia.js.map +1 -1
  13. package/dist/nodejs/index.d.ts +32 -0
  14. package/dist/nodejs/typechain/contracts/CToken/CsuErc20V2.d.ts +1011 -0
  15. package/dist/nodejs/typechain/contracts/CToken/CsuErc20V2.js +3 -0
  16. package/dist/nodejs/typechain/contracts/CToken/CsuErc20V2.js.map +1 -0
  17. package/dist/nodejs/typechain/contracts/CToken/CsuErc20V2.sol/CsuErc20V2.d.ts +1073 -0
  18. package/dist/nodejs/typechain/contracts/CToken/CsuErc20V2.sol/CsuErc20V2.js +3 -0
  19. package/dist/nodejs/typechain/contracts/CToken/CsuErc20V2.sol/CsuErc20V2.js.map +1 -0
  20. package/dist/nodejs/typechain/contracts/CToken/CsuErc20V2.sol/ILiquidStabilityPool.d.ts +37 -0
  21. package/dist/nodejs/typechain/contracts/CToken/CsuErc20V2.sol/ILiquidStabilityPool.js +3 -0
  22. package/dist/nodejs/typechain/contracts/CToken/CsuErc20V2.sol/ILiquidStabilityPool.js.map +1 -0
  23. package/dist/nodejs/typechain/contracts/CToken/CsuErc20V2.sol/index.d.ts +2 -0
  24. package/dist/nodejs/typechain/contracts/CToken/CsuErc20V2.sol/index.js +3 -0
  25. package/dist/nodejs/typechain/contracts/CToken/CsuErc20V2.sol/index.js.map +1 -0
  26. package/dist/nodejs/typechain/contracts/CToken/index.d.ts +2 -2
  27. package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +2 -0
  28. package/dist/nodejs/typechain/contracts/Oracle/yArtBTCAdapter.sol/IyArtBTC.d.ts +25 -0
  29. package/dist/nodejs/typechain/contracts/Oracle/yArtBTCAdapter.sol/IyArtBTC.js +3 -0
  30. package/dist/nodejs/typechain/contracts/Oracle/yArtBTCAdapter.sol/IyArtBTC.js.map +1 -0
  31. package/dist/nodejs/typechain/contracts/Oracle/yArtBTCAdapter.sol/YArtBTCAdapter.d.ts +25 -0
  32. package/dist/nodejs/typechain/contracts/Oracle/yArtBTCAdapter.sol/YArtBTCAdapter.js +3 -0
  33. package/dist/nodejs/typechain/contracts/Oracle/yArtBTCAdapter.sol/YArtBTCAdapter.js.map +1 -0
  34. package/dist/nodejs/typechain/contracts/Oracle/yArtBTCAdapter.sol/index.d.ts +2 -0
  35. package/dist/nodejs/typechain/contracts/Oracle/yArtBTCAdapter.sol/index.js +3 -0
  36. package/dist/nodejs/typechain/contracts/Oracle/yArtBTCAdapter.sol/index.js.map +1 -0
  37. package/dist/nodejs/typechain/factories/contracts/CToken/CsuErc20V2.sol/CsuErc20V2__factory.d.ts +1811 -0
  38. package/dist/nodejs/typechain/factories/contracts/CToken/CsuErc20V2.sol/CsuErc20V2__factory.js +2327 -0
  39. package/dist/nodejs/typechain/factories/contracts/CToken/CsuErc20V2.sol/CsuErc20V2__factory.js.map +1 -0
  40. package/dist/nodejs/typechain/factories/contracts/CToken/CsuErc20V2.sol/ILiquidStabilityPool__factory.d.ts +25 -0
  41. package/dist/nodejs/typechain/factories/contracts/CToken/CsuErc20V2.sol/ILiquidStabilityPool__factory.js +43 -0
  42. package/dist/nodejs/typechain/factories/contracts/CToken/CsuErc20V2.sol/ILiquidStabilityPool__factory.js.map +1 -0
  43. package/dist/nodejs/typechain/factories/contracts/CToken/CsuErc20V2.sol/index.d.ts +2 -0
  44. package/dist/nodejs/typechain/factories/contracts/CToken/CsuErc20V2.sol/index.js +11 -0
  45. package/dist/nodejs/typechain/factories/contracts/CToken/CsuErc20V2.sol/index.js.map +1 -0
  46. package/dist/nodejs/typechain/factories/contracts/CToken/CsuErc20V2__factory.d.ts +1735 -0
  47. package/dist/nodejs/typechain/factories/contracts/CToken/CsuErc20V2__factory.js +2230 -0
  48. package/dist/nodejs/typechain/factories/contracts/CToken/CsuErc20V2__factory.js.map +1 -0
  49. package/dist/nodejs/typechain/factories/contracts/CToken/index.d.ts +1 -1
  50. package/dist/nodejs/typechain/factories/contracts/CToken/index.js +2 -2
  51. package/dist/nodejs/typechain/factories/contracts/CToken/index.js.map +1 -1
  52. package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +1 -0
  53. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +2 -1
  54. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
  55. package/dist/nodejs/typechain/factories/contracts/Oracle/yArtBTCAdapter.sol/IyArtBTC__factory.d.ts +17 -0
  56. package/dist/nodejs/typechain/factories/contracts/Oracle/yArtBTCAdapter.sol/IyArtBTC__factory.js +33 -0
  57. package/dist/nodejs/typechain/factories/contracts/Oracle/yArtBTCAdapter.sol/IyArtBTC__factory.js.map +1 -0
  58. package/dist/nodejs/typechain/factories/contracts/Oracle/yArtBTCAdapter.sol/YArtBTCAdapter__factory.d.ts +44 -0
  59. package/dist/nodejs/typechain/factories/contracts/Oracle/yArtBTCAdapter.sol/YArtBTCAdapter__factory.js +69 -0
  60. package/dist/nodejs/typechain/factories/contracts/Oracle/yArtBTCAdapter.sol/YArtBTCAdapter__factory.js.map +1 -0
  61. package/dist/nodejs/typechain/factories/contracts/Oracle/yArtBTCAdapter.sol/index.d.ts +2 -0
  62. package/dist/nodejs/typechain/factories/contracts/Oracle/yArtBTCAdapter.sol/index.js +11 -0
  63. package/dist/nodejs/typechain/factories/contracts/Oracle/yArtBTCAdapter.sol/index.js.map +1 -0
  64. package/dist/nodejs/typechain/hardhat.d.ts +70 -16
  65. package/dist/nodejs/typechain/index.d.ts +8 -0
  66. package/dist/nodejs/typechain/index.js +10 -2
  67. package/dist/nodejs/typechain/index.js.map +1 -1
  68. package/package.json +1 -1
@@ -0,0 +1,1011 @@
1
+ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
+ import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
3
+ export interface CsuErc20V2Interface 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" | "borrowIndexIntermintable" | "borrowRatePerBlock" | "comptroller" | "decimals" | "disableIntermint" | "discountRateMantissa" | "enableIntermint" | "exchangeRateCurrent" | "exchangeRateStored" | "executeRedemption" | "getAccountSnapshot" | "getCash" | "initialize" | "initializeV2" | "interestRateModel" | "interestRateModelIntermintable" | "isCEther" | "isCEtherDeprecated" | "isCToken" | "isCTokenDeprecated" | "liquidateBorrow" | "liquidateCalculateSeizeTokens" | "mint" | "mintFeeRateMantissa" | "mintWithPermit" | "name" | "pendingAdmin" | "percentScale" | "protectedMint" | "protocolSeizeShareMantissa" | "redeem" | "redeemUnderlying" | "repayBorrow" | "repayBorrowBehalf" | "repayBorrowWithPermit" | "reserveFactorMantissa" | "seize" | "supplyRatePerBlock" | "sweepToken" | "symbol" | "tokenType" | "totalBorrows" | "totalBorrowsCurrent" | "totalBorrowsIntermintable" | "totalBorrowsNotIntermintable" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance"): FunctionFragment;
5
+ getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "Initialized" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Redeem" | "RedeemFaceValue" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "Transfer"): EventFragment;
6
+ encodeFunctionData(functionFragment: "_acceptAdmin", values?: undefined): string;
7
+ encodeFunctionData(functionFragment: "_addReserves", values: [BigNumberish]): string;
8
+ encodeFunctionData(functionFragment: "_reduceReserves", values: [BigNumberish]): string;
9
+ encodeFunctionData(functionFragment: "_setComptroller", values: [AddressLike]): string;
10
+ encodeFunctionData(functionFragment: "_setDiscountRate", values: [BigNumberish]): string;
11
+ encodeFunctionData(functionFragment: "_setInterestRateModel", values: [AddressLike]): string;
12
+ encodeFunctionData(functionFragment: "_setPendingAdmin", values: [AddressLike]): string;
13
+ encodeFunctionData(functionFragment: "_setReserveFactor", values: [BigNumberish]): string;
14
+ encodeFunctionData(functionFragment: "_syncUnderlyingBalance", values?: undefined): string;
15
+ encodeFunctionData(functionFragment: "accrualBlockTimestamp", values?: undefined): string;
16
+ encodeFunctionData(functionFragment: "accrueInterest", values?: undefined): string;
17
+ encodeFunctionData(functionFragment: "admin", values?: undefined): string;
18
+ encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string;
19
+ encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
20
+ encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
21
+ encodeFunctionData(functionFragment: "balanceOfUnderlying", values: [AddressLike]): string;
22
+ encodeFunctionData(functionFragment: "borrow", values: [BigNumberish]): string;
23
+ encodeFunctionData(functionFragment: "borrowAndDepositBack", values: [AddressLike, BigNumberish]): string;
24
+ encodeFunctionData(functionFragment: "borrowBalanceCurrent", values: [AddressLike]): string;
25
+ encodeFunctionData(functionFragment: "borrowBalanceStored", values: [AddressLike]): string;
26
+ encodeFunctionData(functionFragment: "borrowIndex", values?: undefined): string;
27
+ encodeFunctionData(functionFragment: "borrowIndexIntermintable", values?: undefined): string;
28
+ encodeFunctionData(functionFragment: "borrowRatePerBlock", values?: undefined): string;
29
+ encodeFunctionData(functionFragment: "comptroller", values?: undefined): string;
30
+ encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
31
+ encodeFunctionData(functionFragment: "disableIntermint", values: [AddressLike]): string;
32
+ encodeFunctionData(functionFragment: "discountRateMantissa", values?: undefined): string;
33
+ encodeFunctionData(functionFragment: "enableIntermint", values: [AddressLike]): string;
34
+ encodeFunctionData(functionFragment: "exchangeRateCurrent", values?: undefined): string;
35
+ encodeFunctionData(functionFragment: "exchangeRateStored", values?: undefined): string;
36
+ encodeFunctionData(functionFragment: "executeRedemption", values: [
37
+ AddressLike,
38
+ AddressLike,
39
+ BigNumberish,
40
+ AddressLike,
41
+ BigNumberish,
42
+ BigNumberish
43
+ ]): string;
44
+ encodeFunctionData(functionFragment: "getAccountSnapshot", values: [AddressLike]): string;
45
+ encodeFunctionData(functionFragment: "getCash", values?: undefined): string;
46
+ encodeFunctionData(functionFragment: "initialize", values: [
47
+ AddressLike,
48
+ AddressLike,
49
+ AddressLike,
50
+ BigNumberish,
51
+ string,
52
+ string,
53
+ BigNumberish,
54
+ AddressLike
55
+ ]): string;
56
+ encodeFunctionData(functionFragment: "initializeV2", values: [AddressLike]): string;
57
+ encodeFunctionData(functionFragment: "interestRateModel", values?: undefined): string;
58
+ encodeFunctionData(functionFragment: "interestRateModelIntermintable", values?: undefined): string;
59
+ encodeFunctionData(functionFragment: "isCEther", values?: undefined): string;
60
+ encodeFunctionData(functionFragment: "isCEtherDeprecated", values?: undefined): string;
61
+ encodeFunctionData(functionFragment: "isCToken", values?: undefined): string;
62
+ encodeFunctionData(functionFragment: "isCTokenDeprecated", values?: undefined): string;
63
+ encodeFunctionData(functionFragment: "liquidateBorrow", values: [AddressLike, BigNumberish, AddressLike]): string;
64
+ encodeFunctionData(functionFragment: "liquidateCalculateSeizeTokens", values: [AddressLike, BigNumberish]): string;
65
+ encodeFunctionData(functionFragment: "mint", values: [BigNumberish]): string;
66
+ encodeFunctionData(functionFragment: "mintFeeRateMantissa", values?: undefined): string;
67
+ encodeFunctionData(functionFragment: "mintWithPermit", values: [BigNumberish, BigNumberish, BytesLike]): string;
68
+ encodeFunctionData(functionFragment: "name", values?: undefined): string;
69
+ encodeFunctionData(functionFragment: "pendingAdmin", values?: undefined): string;
70
+ encodeFunctionData(functionFragment: "percentScale", values?: undefined): string;
71
+ encodeFunctionData(functionFragment: "protectedMint", values: [AddressLike, BigNumberish, BigNumberish]): string;
72
+ encodeFunctionData(functionFragment: "protocolSeizeShareMantissa", values?: undefined): string;
73
+ encodeFunctionData(functionFragment: "redeem", values: [BigNumberish]): string;
74
+ encodeFunctionData(functionFragment: "redeemUnderlying", values: [BigNumberish]): string;
75
+ encodeFunctionData(functionFragment: "repayBorrow", values: [BigNumberish]): string;
76
+ encodeFunctionData(functionFragment: "repayBorrowBehalf", values: [AddressLike, BigNumberish]): string;
77
+ encodeFunctionData(functionFragment: "repayBorrowWithPermit", values: [BigNumberish, BigNumberish, BytesLike]): string;
78
+ encodeFunctionData(functionFragment: "reserveFactorMantissa", values?: undefined): string;
79
+ encodeFunctionData(functionFragment: "seize", values: [
80
+ AddressLike,
81
+ AddressLike,
82
+ BigNumberish,
83
+ BigNumberish,
84
+ boolean,
85
+ BigNumberish
86
+ ]): string;
87
+ encodeFunctionData(functionFragment: "supplyRatePerBlock", values?: undefined): string;
88
+ encodeFunctionData(functionFragment: "sweepToken", values: [AddressLike]): string;
89
+ encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
90
+ encodeFunctionData(functionFragment: "tokenType", values?: undefined): string;
91
+ encodeFunctionData(functionFragment: "totalBorrows", values?: undefined): string;
92
+ encodeFunctionData(functionFragment: "totalBorrowsCurrent", values?: undefined): string;
93
+ encodeFunctionData(functionFragment: "totalBorrowsIntermintable", values?: undefined): string;
94
+ encodeFunctionData(functionFragment: "totalBorrowsNotIntermintable", values?: undefined): string;
95
+ encodeFunctionData(functionFragment: "totalReserves", values?: undefined): string;
96
+ encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
97
+ encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
98
+ encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
99
+ encodeFunctionData(functionFragment: "underlying", values?: undefined): string;
100
+ encodeFunctionData(functionFragment: "underlyingBalance", values?: undefined): string;
101
+ decodeFunctionResult(functionFragment: "_acceptAdmin", data: BytesLike): Result;
102
+ decodeFunctionResult(functionFragment: "_addReserves", data: BytesLike): Result;
103
+ decodeFunctionResult(functionFragment: "_reduceReserves", data: BytesLike): Result;
104
+ decodeFunctionResult(functionFragment: "_setComptroller", data: BytesLike): Result;
105
+ decodeFunctionResult(functionFragment: "_setDiscountRate", data: BytesLike): Result;
106
+ decodeFunctionResult(functionFragment: "_setInterestRateModel", data: BytesLike): Result;
107
+ decodeFunctionResult(functionFragment: "_setPendingAdmin", data: BytesLike): Result;
108
+ decodeFunctionResult(functionFragment: "_setReserveFactor", data: BytesLike): Result;
109
+ decodeFunctionResult(functionFragment: "_syncUnderlyingBalance", data: BytesLike): Result;
110
+ decodeFunctionResult(functionFragment: "accrualBlockTimestamp", data: BytesLike): Result;
111
+ decodeFunctionResult(functionFragment: "accrueInterest", data: BytesLike): Result;
112
+ decodeFunctionResult(functionFragment: "admin", data: BytesLike): Result;
113
+ decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
114
+ decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
115
+ decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
116
+ decodeFunctionResult(functionFragment: "balanceOfUnderlying", data: BytesLike): Result;
117
+ decodeFunctionResult(functionFragment: "borrow", data: BytesLike): Result;
118
+ decodeFunctionResult(functionFragment: "borrowAndDepositBack", data: BytesLike): Result;
119
+ decodeFunctionResult(functionFragment: "borrowBalanceCurrent", data: BytesLike): Result;
120
+ decodeFunctionResult(functionFragment: "borrowBalanceStored", data: BytesLike): Result;
121
+ decodeFunctionResult(functionFragment: "borrowIndex", data: BytesLike): Result;
122
+ decodeFunctionResult(functionFragment: "borrowIndexIntermintable", data: BytesLike): Result;
123
+ decodeFunctionResult(functionFragment: "borrowRatePerBlock", data: BytesLike): Result;
124
+ decodeFunctionResult(functionFragment: "comptroller", data: BytesLike): Result;
125
+ decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
126
+ decodeFunctionResult(functionFragment: "disableIntermint", data: BytesLike): Result;
127
+ decodeFunctionResult(functionFragment: "discountRateMantissa", data: BytesLike): Result;
128
+ decodeFunctionResult(functionFragment: "enableIntermint", data: BytesLike): Result;
129
+ decodeFunctionResult(functionFragment: "exchangeRateCurrent", data: BytesLike): Result;
130
+ decodeFunctionResult(functionFragment: "exchangeRateStored", data: BytesLike): Result;
131
+ decodeFunctionResult(functionFragment: "executeRedemption", data: BytesLike): Result;
132
+ decodeFunctionResult(functionFragment: "getAccountSnapshot", data: BytesLike): Result;
133
+ decodeFunctionResult(functionFragment: "getCash", data: BytesLike): Result;
134
+ decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
135
+ decodeFunctionResult(functionFragment: "initializeV2", data: BytesLike): Result;
136
+ decodeFunctionResult(functionFragment: "interestRateModel", data: BytesLike): Result;
137
+ decodeFunctionResult(functionFragment: "interestRateModelIntermintable", data: BytesLike): Result;
138
+ decodeFunctionResult(functionFragment: "isCEther", data: BytesLike): Result;
139
+ decodeFunctionResult(functionFragment: "isCEtherDeprecated", data: BytesLike): Result;
140
+ decodeFunctionResult(functionFragment: "isCToken", data: BytesLike): Result;
141
+ decodeFunctionResult(functionFragment: "isCTokenDeprecated", data: BytesLike): Result;
142
+ decodeFunctionResult(functionFragment: "liquidateBorrow", data: BytesLike): Result;
143
+ decodeFunctionResult(functionFragment: "liquidateCalculateSeizeTokens", data: BytesLike): Result;
144
+ decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
145
+ decodeFunctionResult(functionFragment: "mintFeeRateMantissa", data: BytesLike): Result;
146
+ decodeFunctionResult(functionFragment: "mintWithPermit", data: BytesLike): Result;
147
+ decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
148
+ decodeFunctionResult(functionFragment: "pendingAdmin", data: BytesLike): Result;
149
+ decodeFunctionResult(functionFragment: "percentScale", data: BytesLike): Result;
150
+ decodeFunctionResult(functionFragment: "protectedMint", data: BytesLike): Result;
151
+ decodeFunctionResult(functionFragment: "protocolSeizeShareMantissa", data: BytesLike): Result;
152
+ decodeFunctionResult(functionFragment: "redeem", data: BytesLike): Result;
153
+ decodeFunctionResult(functionFragment: "redeemUnderlying", data: BytesLike): Result;
154
+ decodeFunctionResult(functionFragment: "repayBorrow", data: BytesLike): Result;
155
+ decodeFunctionResult(functionFragment: "repayBorrowBehalf", data: BytesLike): Result;
156
+ decodeFunctionResult(functionFragment: "repayBorrowWithPermit", data: BytesLike): Result;
157
+ decodeFunctionResult(functionFragment: "reserveFactorMantissa", data: BytesLike): Result;
158
+ decodeFunctionResult(functionFragment: "seize", data: BytesLike): Result;
159
+ decodeFunctionResult(functionFragment: "supplyRatePerBlock", data: BytesLike): Result;
160
+ decodeFunctionResult(functionFragment: "sweepToken", data: BytesLike): Result;
161
+ decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
162
+ decodeFunctionResult(functionFragment: "tokenType", data: BytesLike): Result;
163
+ decodeFunctionResult(functionFragment: "totalBorrows", data: BytesLike): Result;
164
+ decodeFunctionResult(functionFragment: "totalBorrowsCurrent", data: BytesLike): Result;
165
+ decodeFunctionResult(functionFragment: "totalBorrowsIntermintable", data: BytesLike): Result;
166
+ decodeFunctionResult(functionFragment: "totalBorrowsNotIntermintable", data: BytesLike): Result;
167
+ decodeFunctionResult(functionFragment: "totalReserves", data: BytesLike): Result;
168
+ decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
169
+ decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
170
+ decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
171
+ decodeFunctionResult(functionFragment: "underlying", data: BytesLike): Result;
172
+ decodeFunctionResult(functionFragment: "underlyingBalance", data: BytesLike): Result;
173
+ }
174
+ export declare namespace AccrueInterestEvent {
175
+ type InputTuple = [
176
+ cashPrior: BigNumberish,
177
+ interestAccumulated: BigNumberish,
178
+ borrowIndex: BigNumberish,
179
+ totalBorrows: BigNumberish
180
+ ];
181
+ type OutputTuple = [
182
+ cashPrior: bigint,
183
+ interestAccumulated: bigint,
184
+ borrowIndex: bigint,
185
+ totalBorrows: bigint
186
+ ];
187
+ interface OutputObject {
188
+ cashPrior: bigint;
189
+ interestAccumulated: bigint;
190
+ borrowIndex: bigint;
191
+ totalBorrows: bigint;
192
+ }
193
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
194
+ type Filter = TypedDeferredTopicFilter<Event>;
195
+ type Log = TypedEventLog<Event>;
196
+ type LogDescription = TypedLogDescription<Event>;
197
+ }
198
+ export declare namespace ApprovalEvent {
199
+ type InputTuple = [
200
+ owner: AddressLike,
201
+ spender: AddressLike,
202
+ amount: BigNumberish
203
+ ];
204
+ type OutputTuple = [owner: string, spender: string, amount: bigint];
205
+ interface OutputObject {
206
+ owner: string;
207
+ spender: string;
208
+ amount: bigint;
209
+ }
210
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
211
+ type Filter = TypedDeferredTopicFilter<Event>;
212
+ type Log = TypedEventLog<Event>;
213
+ type LogDescription = TypedLogDescription<Event>;
214
+ }
215
+ export declare namespace BorrowEvent {
216
+ type InputTuple = [
217
+ borrower: AddressLike,
218
+ borrowAmount: BigNumberish,
219
+ accountBorrows: BigNumberish,
220
+ totalBorrows: BigNumberish
221
+ ];
222
+ type OutputTuple = [
223
+ borrower: string,
224
+ borrowAmount: bigint,
225
+ accountBorrows: bigint,
226
+ totalBorrows: bigint
227
+ ];
228
+ interface OutputObject {
229
+ borrower: string;
230
+ borrowAmount: bigint;
231
+ accountBorrows: bigint;
232
+ totalBorrows: bigint;
233
+ }
234
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
235
+ type Filter = TypedDeferredTopicFilter<Event>;
236
+ type Log = TypedEventLog<Event>;
237
+ type LogDescription = TypedLogDescription<Event>;
238
+ }
239
+ export declare namespace InitializedEvent {
240
+ type InputTuple = [version: BigNumberish];
241
+ type OutputTuple = [version: bigint];
242
+ interface OutputObject {
243
+ version: bigint;
244
+ }
245
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
246
+ type Filter = TypedDeferredTopicFilter<Event>;
247
+ type Log = TypedEventLog<Event>;
248
+ type LogDescription = TypedLogDescription<Event>;
249
+ }
250
+ export declare namespace LiquidateBorrowEvent {
251
+ type InputTuple = [
252
+ liquidator: AddressLike,
253
+ borrower: AddressLike,
254
+ repayAmount: BigNumberish,
255
+ cTokenCollateral: AddressLike,
256
+ seizeTokens: BigNumberish
257
+ ];
258
+ type OutputTuple = [
259
+ liquidator: string,
260
+ borrower: string,
261
+ repayAmount: bigint,
262
+ cTokenCollateral: string,
263
+ seizeTokens: bigint
264
+ ];
265
+ interface OutputObject {
266
+ liquidator: string;
267
+ borrower: string;
268
+ repayAmount: bigint;
269
+ cTokenCollateral: string;
270
+ seizeTokens: bigint;
271
+ }
272
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
273
+ type Filter = TypedDeferredTopicFilter<Event>;
274
+ type Log = TypedEventLog<Event>;
275
+ type LogDescription = TypedLogDescription<Event>;
276
+ }
277
+ export declare namespace MintEvent {
278
+ type InputTuple = [
279
+ minter: AddressLike,
280
+ mintAmount: BigNumberish,
281
+ mintTokens: BigNumberish
282
+ ];
283
+ type OutputTuple = [
284
+ minter: string,
285
+ mintAmount: bigint,
286
+ mintTokens: bigint
287
+ ];
288
+ interface OutputObject {
289
+ minter: string;
290
+ mintAmount: bigint;
291
+ mintTokens: bigint;
292
+ }
293
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
294
+ type Filter = TypedDeferredTopicFilter<Event>;
295
+ type Log = TypedEventLog<Event>;
296
+ type LogDescription = TypedLogDescription<Event>;
297
+ }
298
+ export declare namespace NewAdminEvent {
299
+ type InputTuple = [oldAdmin: AddressLike, newAdmin: AddressLike];
300
+ type OutputTuple = [oldAdmin: string, newAdmin: string];
301
+ interface OutputObject {
302
+ oldAdmin: string;
303
+ newAdmin: string;
304
+ }
305
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
306
+ type Filter = TypedDeferredTopicFilter<Event>;
307
+ type Log = TypedEventLog<Event>;
308
+ type LogDescription = TypedLogDescription<Event>;
309
+ }
310
+ export declare namespace NewComptrollerEvent {
311
+ type InputTuple = [
312
+ oldComptroller: AddressLike,
313
+ newComptroller: AddressLike
314
+ ];
315
+ type OutputTuple = [oldComptroller: string, newComptroller: string];
316
+ interface OutputObject {
317
+ oldComptroller: string;
318
+ newComptroller: string;
319
+ }
320
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
321
+ type Filter = TypedDeferredTopicFilter<Event>;
322
+ type Log = TypedEventLog<Event>;
323
+ type LogDescription = TypedLogDescription<Event>;
324
+ }
325
+ export declare namespace NewDiscountRateEvent {
326
+ type InputTuple = [
327
+ oldDiscountRateMantissa: BigNumberish,
328
+ newDiscountRateMantissa: BigNumberish
329
+ ];
330
+ type OutputTuple = [
331
+ oldDiscountRateMantissa: bigint,
332
+ newDiscountRateMantissa: bigint
333
+ ];
334
+ interface OutputObject {
335
+ oldDiscountRateMantissa: bigint;
336
+ newDiscountRateMantissa: bigint;
337
+ }
338
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
339
+ type Filter = TypedDeferredTopicFilter<Event>;
340
+ type Log = TypedEventLog<Event>;
341
+ type LogDescription = TypedLogDescription<Event>;
342
+ }
343
+ export declare namespace NewMarketInterestRateModelEvent {
344
+ type InputTuple = [
345
+ oldInterestRateModel: AddressLike,
346
+ newInterestRateModel: AddressLike
347
+ ];
348
+ type OutputTuple = [
349
+ oldInterestRateModel: string,
350
+ newInterestRateModel: string
351
+ ];
352
+ interface OutputObject {
353
+ oldInterestRateModel: string;
354
+ newInterestRateModel: string;
355
+ }
356
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
357
+ type Filter = TypedDeferredTopicFilter<Event>;
358
+ type Log = TypedEventLog<Event>;
359
+ type LogDescription = TypedLogDescription<Event>;
360
+ }
361
+ export declare namespace NewPendingAdminEvent {
362
+ type InputTuple = [
363
+ oldPendingAdmin: AddressLike,
364
+ newPendingAdmin: AddressLike
365
+ ];
366
+ type OutputTuple = [oldPendingAdmin: string, newPendingAdmin: string];
367
+ interface OutputObject {
368
+ oldPendingAdmin: string;
369
+ newPendingAdmin: string;
370
+ }
371
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
372
+ type Filter = TypedDeferredTopicFilter<Event>;
373
+ type Log = TypedEventLog<Event>;
374
+ type LogDescription = TypedLogDescription<Event>;
375
+ }
376
+ export declare namespace NewReserveFactorEvent {
377
+ type InputTuple = [
378
+ oldReserveFactorMantissa: BigNumberish,
379
+ newReserveFactorMantissa: BigNumberish
380
+ ];
381
+ type OutputTuple = [
382
+ oldReserveFactorMantissa: bigint,
383
+ newReserveFactorMantissa: bigint
384
+ ];
385
+ interface OutputObject {
386
+ oldReserveFactorMantissa: bigint;
387
+ newReserveFactorMantissa: bigint;
388
+ }
389
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
390
+ type Filter = TypedDeferredTopicFilter<Event>;
391
+ type Log = TypedEventLog<Event>;
392
+ type LogDescription = TypedLogDescription<Event>;
393
+ }
394
+ export declare namespace RedeemEvent {
395
+ type InputTuple = [
396
+ redeemer: AddressLike,
397
+ redeemAmount: BigNumberish,
398
+ redeemTokens: BigNumberish
399
+ ];
400
+ type OutputTuple = [
401
+ redeemer: string,
402
+ redeemAmount: bigint,
403
+ redeemTokens: bigint
404
+ ];
405
+ interface OutputObject {
406
+ redeemer: string;
407
+ redeemAmount: bigint;
408
+ redeemTokens: bigint;
409
+ }
410
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
411
+ type Filter = TypedDeferredTopicFilter<Event>;
412
+ type Log = TypedEventLog<Event>;
413
+ type LogDescription = TypedLogDescription<Event>;
414
+ }
415
+ export declare namespace RedeemFaceValueEvent {
416
+ type InputTuple = [
417
+ redeemer: AddressLike,
418
+ provider: AddressLike,
419
+ repayAmount: BigNumberish,
420
+ seizeToken: AddressLike,
421
+ seizeAmount: BigNumberish,
422
+ redemptionRateMantissa: BigNumberish
423
+ ];
424
+ type OutputTuple = [
425
+ redeemer: string,
426
+ provider: string,
427
+ repayAmount: bigint,
428
+ seizeToken: string,
429
+ seizeAmount: bigint,
430
+ redemptionRateMantissa: bigint
431
+ ];
432
+ interface OutputObject {
433
+ redeemer: string;
434
+ provider: string;
435
+ repayAmount: bigint;
436
+ seizeToken: string;
437
+ seizeAmount: bigint;
438
+ redemptionRateMantissa: bigint;
439
+ }
440
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
441
+ type Filter = TypedDeferredTopicFilter<Event>;
442
+ type Log = TypedEventLog<Event>;
443
+ type LogDescription = TypedLogDescription<Event>;
444
+ }
445
+ export declare namespace RepayBorrowEvent {
446
+ type InputTuple = [
447
+ payer: AddressLike,
448
+ borrower: AddressLike,
449
+ repayAmount: BigNumberish,
450
+ accountBorrows: BigNumberish,
451
+ totalBorrows: BigNumberish
452
+ ];
453
+ type OutputTuple = [
454
+ payer: string,
455
+ borrower: string,
456
+ repayAmount: bigint,
457
+ accountBorrows: bigint,
458
+ totalBorrows: bigint
459
+ ];
460
+ interface OutputObject {
461
+ payer: string;
462
+ borrower: string;
463
+ repayAmount: bigint;
464
+ accountBorrows: bigint;
465
+ totalBorrows: bigint;
466
+ }
467
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
468
+ type Filter = TypedDeferredTopicFilter<Event>;
469
+ type Log = TypedEventLog<Event>;
470
+ type LogDescription = TypedLogDescription<Event>;
471
+ }
472
+ export declare namespace ReservesAddedEvent {
473
+ type InputTuple = [
474
+ benefactor: AddressLike,
475
+ addAmount: BigNumberish,
476
+ newTotalReserves: BigNumberish
477
+ ];
478
+ type OutputTuple = [
479
+ benefactor: string,
480
+ addAmount: bigint,
481
+ newTotalReserves: bigint
482
+ ];
483
+ interface OutputObject {
484
+ benefactor: string;
485
+ addAmount: bigint;
486
+ newTotalReserves: bigint;
487
+ }
488
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
489
+ type Filter = TypedDeferredTopicFilter<Event>;
490
+ type Log = TypedEventLog<Event>;
491
+ type LogDescription = TypedLogDescription<Event>;
492
+ }
493
+ export declare namespace ReservesReducedEvent {
494
+ type InputTuple = [
495
+ admin: AddressLike,
496
+ reduceAmount: BigNumberish,
497
+ newTotalReserves: BigNumberish
498
+ ];
499
+ type OutputTuple = [
500
+ admin: string,
501
+ reduceAmount: bigint,
502
+ newTotalReserves: bigint
503
+ ];
504
+ interface OutputObject {
505
+ admin: string;
506
+ reduceAmount: bigint;
507
+ newTotalReserves: bigint;
508
+ }
509
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
510
+ type Filter = TypedDeferredTopicFilter<Event>;
511
+ type Log = TypedEventLog<Event>;
512
+ type LogDescription = TypedLogDescription<Event>;
513
+ }
514
+ export declare namespace TransferEvent {
515
+ type InputTuple = [
516
+ from: AddressLike,
517
+ to: AddressLike,
518
+ amount: BigNumberish
519
+ ];
520
+ type OutputTuple = [from: string, to: string, amount: bigint];
521
+ interface OutputObject {
522
+ from: string;
523
+ to: string;
524
+ amount: bigint;
525
+ }
526
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
527
+ type Filter = TypedDeferredTopicFilter<Event>;
528
+ type Log = TypedEventLog<Event>;
529
+ type LogDescription = TypedLogDescription<Event>;
530
+ }
531
+ export interface CsuErc20V2 extends BaseContract {
532
+ connect(runner?: ContractRunner | null): CsuErc20V2;
533
+ waitForDeployment(): Promise<this>;
534
+ interface: CsuErc20V2Interface;
535
+ queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
536
+ queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
537
+ on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
538
+ on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
539
+ once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
540
+ once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
541
+ listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
542
+ listeners(eventName?: string): Promise<Array<Listener>>;
543
+ removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
544
+ _acceptAdmin: TypedContractMethod<[], [void], "nonpayable">;
545
+ _addReserves: TypedContractMethod<[
546
+ addAmount: BigNumberish
547
+ ], [
548
+ void
549
+ ], "nonpayable">;
550
+ _reduceReserves: TypedContractMethod<[
551
+ reduceAmount: BigNumberish
552
+ ], [
553
+ void
554
+ ], "nonpayable">;
555
+ _setComptroller: TypedContractMethod<[
556
+ newComptroller: AddressLike
557
+ ], [
558
+ void
559
+ ], "nonpayable">;
560
+ _setDiscountRate: TypedContractMethod<[
561
+ discountRateMantissa_: BigNumberish
562
+ ], [
563
+ bigint
564
+ ], "nonpayable">;
565
+ _setInterestRateModel: TypedContractMethod<[
566
+ newInterestRateModel: AddressLike
567
+ ], [
568
+ void
569
+ ], "nonpayable">;
570
+ _setPendingAdmin: TypedContractMethod<[
571
+ newPendingAdmin: AddressLike
572
+ ], [
573
+ void
574
+ ], "nonpayable">;
575
+ _setReserveFactor: TypedContractMethod<[
576
+ newReserveFactorMantissa: BigNumberish
577
+ ], [
578
+ void
579
+ ], "nonpayable">;
580
+ _syncUnderlyingBalance: TypedContractMethod<[], [void], "nonpayable">;
581
+ accrualBlockTimestamp: TypedContractMethod<[], [bigint], "view">;
582
+ accrueInterest: TypedContractMethod<[], [void], "nonpayable">;
583
+ admin: TypedContractMethod<[], [string], "view">;
584
+ allowance: TypedContractMethod<[
585
+ owner: AddressLike,
586
+ spender: AddressLike
587
+ ], [
588
+ bigint
589
+ ], "view">;
590
+ approve: TypedContractMethod<[
591
+ spender: AddressLike,
592
+ amount: BigNumberish
593
+ ], [
594
+ boolean
595
+ ], "nonpayable">;
596
+ balanceOf: TypedContractMethod<[owner: AddressLike], [bigint], "view">;
597
+ balanceOfUnderlying: TypedContractMethod<[
598
+ owner: AddressLike
599
+ ], [
600
+ bigint
601
+ ], "nonpayable">;
602
+ borrow: TypedContractMethod<[
603
+ borrowAmount: BigNumberish
604
+ ], [
605
+ void
606
+ ], "nonpayable">;
607
+ borrowAndDepositBack: TypedContractMethod<[
608
+ borrower: AddressLike,
609
+ borrowAmount: BigNumberish
610
+ ], [
611
+ void
612
+ ], "nonpayable">;
613
+ borrowBalanceCurrent: TypedContractMethod<[
614
+ account: AddressLike
615
+ ], [
616
+ bigint
617
+ ], "nonpayable">;
618
+ borrowBalanceStored: TypedContractMethod<[
619
+ account: AddressLike
620
+ ], [
621
+ bigint
622
+ ], "view">;
623
+ borrowIndex: TypedContractMethod<[], [bigint], "view">;
624
+ borrowIndexIntermintable: TypedContractMethod<[], [bigint], "view">;
625
+ borrowRatePerBlock: TypedContractMethod<[], [bigint], "view">;
626
+ comptroller: TypedContractMethod<[], [string], "view">;
627
+ decimals: TypedContractMethod<[], [bigint], "view">;
628
+ disableIntermint: TypedContractMethod<[
629
+ account: AddressLike
630
+ ], [
631
+ void
632
+ ], "nonpayable">;
633
+ discountRateMantissa: TypedContractMethod<[], [bigint], "view">;
634
+ enableIntermint: TypedContractMethod<[
635
+ account: AddressLike
636
+ ], [
637
+ void
638
+ ], "nonpayable">;
639
+ exchangeRateCurrent: TypedContractMethod<[], [bigint], "nonpayable">;
640
+ exchangeRateStored: TypedContractMethod<[], [bigint], "view">;
641
+ executeRedemption: TypedContractMethod<[
642
+ redeemer: AddressLike,
643
+ provider: AddressLike,
644
+ repayAmount: BigNumberish,
645
+ cTokenCollateral: AddressLike,
646
+ seizeAmount: BigNumberish,
647
+ redemptionRateMantissa: BigNumberish
648
+ ], [
649
+ void
650
+ ], "nonpayable">;
651
+ getAccountSnapshot: TypedContractMethod<[
652
+ account: AddressLike
653
+ ], [
654
+ [bigint, bigint, bigint, bigint]
655
+ ], "view">;
656
+ getCash: TypedContractMethod<[], [bigint], "view">;
657
+ initialize: TypedContractMethod<[
658
+ underlying_: AddressLike,
659
+ comptroller_: AddressLike,
660
+ interestRateModel_: AddressLike,
661
+ initialExchangeRateMantissa_: BigNumberish,
662
+ name_: string,
663
+ symbol_: string,
664
+ decimals_: BigNumberish,
665
+ admin_: AddressLike
666
+ ], [
667
+ void
668
+ ], "nonpayable">;
669
+ initializeV2: TypedContractMethod<[
670
+ irmIntermintable: AddressLike
671
+ ], [
672
+ void
673
+ ], "nonpayable">;
674
+ interestRateModel: TypedContractMethod<[], [string], "view">;
675
+ interestRateModelIntermintable: TypedContractMethod<[], [string], "view">;
676
+ isCEther: TypedContractMethod<[], [boolean], "view">;
677
+ isCEtherDeprecated: TypedContractMethod<[], [boolean], "view">;
678
+ isCToken: TypedContractMethod<[], [boolean], "view">;
679
+ isCTokenDeprecated: TypedContractMethod<[], [boolean], "view">;
680
+ liquidateBorrow: TypedContractMethod<[
681
+ borrower: AddressLike,
682
+ repayAmount: BigNumberish,
683
+ cTokenCollateral: AddressLike
684
+ ], [
685
+ void
686
+ ], "nonpayable">;
687
+ liquidateCalculateSeizeTokens: TypedContractMethod<[
688
+ cTokenCollateral: AddressLike,
689
+ actualRepayAmount: BigNumberish
690
+ ], [
691
+ [bigint, bigint]
692
+ ], "view">;
693
+ mint: TypedContractMethod<[mintAmount: BigNumberish], [void], "nonpayable">;
694
+ mintFeeRateMantissa: TypedContractMethod<[], [bigint], "view">;
695
+ mintWithPermit: TypedContractMethod<[
696
+ mintAmount: BigNumberish,
697
+ deadline: BigNumberish,
698
+ signature: BytesLike
699
+ ], [
700
+ void
701
+ ], "nonpayable">;
702
+ name: TypedContractMethod<[], [string], "view">;
703
+ pendingAdmin: TypedContractMethod<[], [string], "view">;
704
+ percentScale: TypedContractMethod<[], [bigint], "view">;
705
+ protectedMint: TypedContractMethod<[
706
+ cTokenCollateral: AddressLike,
707
+ cBorrowAmount: BigNumberish,
708
+ suBorrowAmount: BigNumberish
709
+ ], [
710
+ void
711
+ ], "nonpayable">;
712
+ protocolSeizeShareMantissa: TypedContractMethod<[], [bigint], "view">;
713
+ redeem: TypedContractMethod<[
714
+ redeemTokens: BigNumberish
715
+ ], [
716
+ void
717
+ ], "nonpayable">;
718
+ redeemUnderlying: TypedContractMethod<[
719
+ redeemAmount: BigNumberish
720
+ ], [
721
+ void
722
+ ], "nonpayable">;
723
+ repayBorrow: TypedContractMethod<[
724
+ repayAmount: BigNumberish
725
+ ], [
726
+ void
727
+ ], "nonpayable">;
728
+ repayBorrowBehalf: TypedContractMethod<[
729
+ borrower: AddressLike,
730
+ repayAmount: BigNumberish
731
+ ], [
732
+ void
733
+ ], "nonpayable">;
734
+ repayBorrowWithPermit: TypedContractMethod<[
735
+ repayAmount: BigNumberish,
736
+ deadline: BigNumberish,
737
+ signature: BytesLike
738
+ ], [
739
+ void
740
+ ], "nonpayable">;
741
+ reserveFactorMantissa: TypedContractMethod<[], [bigint], "view">;
742
+ seize: TypedContractMethod<[
743
+ liquidator: AddressLike,
744
+ borrower: AddressLike,
745
+ seizeTokens: BigNumberish,
746
+ seizeProfitTokens: BigNumberish,
747
+ isRedemption: boolean,
748
+ redemptionRateMantissa: BigNumberish
749
+ ], [
750
+ void
751
+ ], "nonpayable">;
752
+ supplyRatePerBlock: TypedContractMethod<[], [bigint], "view">;
753
+ sweepToken: TypedContractMethod<[token: AddressLike], [void], "nonpayable">;
754
+ symbol: TypedContractMethod<[], [string], "view">;
755
+ tokenType: TypedContractMethod<[], [bigint], "view">;
756
+ totalBorrows: TypedContractMethod<[], [bigint], "view">;
757
+ totalBorrowsCurrent: TypedContractMethod<[], [bigint], "nonpayable">;
758
+ totalBorrowsIntermintable: TypedContractMethod<[], [bigint], "view">;
759
+ totalBorrowsNotIntermintable: TypedContractMethod<[], [bigint], "view">;
760
+ totalReserves: TypedContractMethod<[], [bigint], "view">;
761
+ totalSupply: TypedContractMethod<[], [bigint], "view">;
762
+ transfer: TypedContractMethod<[
763
+ dst: AddressLike,
764
+ amount: BigNumberish
765
+ ], [
766
+ boolean
767
+ ], "nonpayable">;
768
+ transferFrom: TypedContractMethod<[
769
+ src: AddressLike,
770
+ dst: AddressLike,
771
+ amount: BigNumberish
772
+ ], [
773
+ boolean
774
+ ], "nonpayable">;
775
+ underlying: TypedContractMethod<[], [string], "view">;
776
+ underlyingBalance: TypedContractMethod<[], [bigint], "view">;
777
+ getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
778
+ getFunction(nameOrSignature: "_acceptAdmin"): TypedContractMethod<[], [void], "nonpayable">;
779
+ getFunction(nameOrSignature: "_addReserves"): TypedContractMethod<[addAmount: BigNumberish], [void], "nonpayable">;
780
+ getFunction(nameOrSignature: "_reduceReserves"): TypedContractMethod<[reduceAmount: BigNumberish], [void], "nonpayable">;
781
+ getFunction(nameOrSignature: "_setComptroller"): TypedContractMethod<[newComptroller: AddressLike], [void], "nonpayable">;
782
+ getFunction(nameOrSignature: "_setDiscountRate"): TypedContractMethod<[
783
+ discountRateMantissa_: BigNumberish
784
+ ], [
785
+ bigint
786
+ ], "nonpayable">;
787
+ getFunction(nameOrSignature: "_setInterestRateModel"): TypedContractMethod<[
788
+ newInterestRateModel: AddressLike
789
+ ], [
790
+ void
791
+ ], "nonpayable">;
792
+ getFunction(nameOrSignature: "_setPendingAdmin"): TypedContractMethod<[newPendingAdmin: AddressLike], [void], "nonpayable">;
793
+ getFunction(nameOrSignature: "_setReserveFactor"): TypedContractMethod<[
794
+ newReserveFactorMantissa: BigNumberish
795
+ ], [
796
+ void
797
+ ], "nonpayable">;
798
+ getFunction(nameOrSignature: "_syncUnderlyingBalance"): TypedContractMethod<[], [void], "nonpayable">;
799
+ getFunction(nameOrSignature: "accrualBlockTimestamp"): TypedContractMethod<[], [bigint], "view">;
800
+ getFunction(nameOrSignature: "accrueInterest"): TypedContractMethod<[], [void], "nonpayable">;
801
+ getFunction(nameOrSignature: "admin"): TypedContractMethod<[], [string], "view">;
802
+ getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
803
+ owner: AddressLike,
804
+ spender: AddressLike
805
+ ], [
806
+ bigint
807
+ ], "view">;
808
+ getFunction(nameOrSignature: "approve"): TypedContractMethod<[
809
+ spender: AddressLike,
810
+ amount: BigNumberish
811
+ ], [
812
+ boolean
813
+ ], "nonpayable">;
814
+ getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[owner: AddressLike], [bigint], "view">;
815
+ getFunction(nameOrSignature: "balanceOfUnderlying"): TypedContractMethod<[owner: AddressLike], [bigint], "nonpayable">;
816
+ getFunction(nameOrSignature: "borrow"): TypedContractMethod<[borrowAmount: BigNumberish], [void], "nonpayable">;
817
+ getFunction(nameOrSignature: "borrowAndDepositBack"): TypedContractMethod<[
818
+ borrower: AddressLike,
819
+ borrowAmount: BigNumberish
820
+ ], [
821
+ void
822
+ ], "nonpayable">;
823
+ getFunction(nameOrSignature: "borrowBalanceCurrent"): TypedContractMethod<[account: AddressLike], [bigint], "nonpayable">;
824
+ getFunction(nameOrSignature: "borrowBalanceStored"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
825
+ getFunction(nameOrSignature: "borrowIndex"): TypedContractMethod<[], [bigint], "view">;
826
+ getFunction(nameOrSignature: "borrowIndexIntermintable"): TypedContractMethod<[], [bigint], "view">;
827
+ getFunction(nameOrSignature: "borrowRatePerBlock"): TypedContractMethod<[], [bigint], "view">;
828
+ getFunction(nameOrSignature: "comptroller"): TypedContractMethod<[], [string], "view">;
829
+ getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">;
830
+ getFunction(nameOrSignature: "disableIntermint"): TypedContractMethod<[account: AddressLike], [void], "nonpayable">;
831
+ getFunction(nameOrSignature: "discountRateMantissa"): TypedContractMethod<[], [bigint], "view">;
832
+ getFunction(nameOrSignature: "enableIntermint"): TypedContractMethod<[account: AddressLike], [void], "nonpayable">;
833
+ getFunction(nameOrSignature: "exchangeRateCurrent"): TypedContractMethod<[], [bigint], "nonpayable">;
834
+ getFunction(nameOrSignature: "exchangeRateStored"): TypedContractMethod<[], [bigint], "view">;
835
+ getFunction(nameOrSignature: "executeRedemption"): TypedContractMethod<[
836
+ redeemer: AddressLike,
837
+ provider: AddressLike,
838
+ repayAmount: BigNumberish,
839
+ cTokenCollateral: AddressLike,
840
+ seizeAmount: BigNumberish,
841
+ redemptionRateMantissa: BigNumberish
842
+ ], [
843
+ void
844
+ ], "nonpayable">;
845
+ getFunction(nameOrSignature: "getAccountSnapshot"): TypedContractMethod<[
846
+ account: AddressLike
847
+ ], [
848
+ [bigint, bigint, bigint, bigint]
849
+ ], "view">;
850
+ getFunction(nameOrSignature: "getCash"): TypedContractMethod<[], [bigint], "view">;
851
+ getFunction(nameOrSignature: "initialize"): TypedContractMethod<[
852
+ underlying_: AddressLike,
853
+ comptroller_: AddressLike,
854
+ interestRateModel_: AddressLike,
855
+ initialExchangeRateMantissa_: BigNumberish,
856
+ name_: string,
857
+ symbol_: string,
858
+ decimals_: BigNumberish,
859
+ admin_: AddressLike
860
+ ], [
861
+ void
862
+ ], "nonpayable">;
863
+ getFunction(nameOrSignature: "initializeV2"): TypedContractMethod<[irmIntermintable: AddressLike], [void], "nonpayable">;
864
+ getFunction(nameOrSignature: "interestRateModel"): TypedContractMethod<[], [string], "view">;
865
+ getFunction(nameOrSignature: "interestRateModelIntermintable"): TypedContractMethod<[], [string], "view">;
866
+ getFunction(nameOrSignature: "isCEther"): TypedContractMethod<[], [boolean], "view">;
867
+ getFunction(nameOrSignature: "isCEtherDeprecated"): TypedContractMethod<[], [boolean], "view">;
868
+ getFunction(nameOrSignature: "isCToken"): TypedContractMethod<[], [boolean], "view">;
869
+ getFunction(nameOrSignature: "isCTokenDeprecated"): TypedContractMethod<[], [boolean], "view">;
870
+ getFunction(nameOrSignature: "liquidateBorrow"): TypedContractMethod<[
871
+ borrower: AddressLike,
872
+ repayAmount: BigNumberish,
873
+ cTokenCollateral: AddressLike
874
+ ], [
875
+ void
876
+ ], "nonpayable">;
877
+ getFunction(nameOrSignature: "liquidateCalculateSeizeTokens"): TypedContractMethod<[
878
+ cTokenCollateral: AddressLike,
879
+ actualRepayAmount: BigNumberish
880
+ ], [
881
+ [bigint, bigint]
882
+ ], "view">;
883
+ getFunction(nameOrSignature: "mint"): TypedContractMethod<[mintAmount: BigNumberish], [void], "nonpayable">;
884
+ getFunction(nameOrSignature: "mintFeeRateMantissa"): TypedContractMethod<[], [bigint], "view">;
885
+ getFunction(nameOrSignature: "mintWithPermit"): TypedContractMethod<[
886
+ mintAmount: BigNumberish,
887
+ deadline: BigNumberish,
888
+ signature: BytesLike
889
+ ], [
890
+ void
891
+ ], "nonpayable">;
892
+ getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
893
+ getFunction(nameOrSignature: "pendingAdmin"): TypedContractMethod<[], [string], "view">;
894
+ getFunction(nameOrSignature: "percentScale"): TypedContractMethod<[], [bigint], "view">;
895
+ getFunction(nameOrSignature: "protectedMint"): TypedContractMethod<[
896
+ cTokenCollateral: AddressLike,
897
+ cBorrowAmount: BigNumberish,
898
+ suBorrowAmount: BigNumberish
899
+ ], [
900
+ void
901
+ ], "nonpayable">;
902
+ getFunction(nameOrSignature: "protocolSeizeShareMantissa"): TypedContractMethod<[], [bigint], "view">;
903
+ getFunction(nameOrSignature: "redeem"): TypedContractMethod<[redeemTokens: BigNumberish], [void], "nonpayable">;
904
+ getFunction(nameOrSignature: "redeemUnderlying"): TypedContractMethod<[redeemAmount: BigNumberish], [void], "nonpayable">;
905
+ getFunction(nameOrSignature: "repayBorrow"): TypedContractMethod<[repayAmount: BigNumberish], [void], "nonpayable">;
906
+ getFunction(nameOrSignature: "repayBorrowBehalf"): TypedContractMethod<[
907
+ borrower: AddressLike,
908
+ repayAmount: BigNumberish
909
+ ], [
910
+ void
911
+ ], "nonpayable">;
912
+ getFunction(nameOrSignature: "repayBorrowWithPermit"): TypedContractMethod<[
913
+ repayAmount: BigNumberish,
914
+ deadline: BigNumberish,
915
+ signature: BytesLike
916
+ ], [
917
+ void
918
+ ], "nonpayable">;
919
+ getFunction(nameOrSignature: "reserveFactorMantissa"): TypedContractMethod<[], [bigint], "view">;
920
+ getFunction(nameOrSignature: "seize"): TypedContractMethod<[
921
+ liquidator: AddressLike,
922
+ borrower: AddressLike,
923
+ seizeTokens: BigNumberish,
924
+ seizeProfitTokens: BigNumberish,
925
+ isRedemption: boolean,
926
+ redemptionRateMantissa: BigNumberish
927
+ ], [
928
+ void
929
+ ], "nonpayable">;
930
+ getFunction(nameOrSignature: "supplyRatePerBlock"): TypedContractMethod<[], [bigint], "view">;
931
+ getFunction(nameOrSignature: "sweepToken"): TypedContractMethod<[token: AddressLike], [void], "nonpayable">;
932
+ getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">;
933
+ getFunction(nameOrSignature: "tokenType"): TypedContractMethod<[], [bigint], "view">;
934
+ getFunction(nameOrSignature: "totalBorrows"): TypedContractMethod<[], [bigint], "view">;
935
+ getFunction(nameOrSignature: "totalBorrowsCurrent"): TypedContractMethod<[], [bigint], "nonpayable">;
936
+ getFunction(nameOrSignature: "totalBorrowsIntermintable"): TypedContractMethod<[], [bigint], "view">;
937
+ getFunction(nameOrSignature: "totalBorrowsNotIntermintable"): TypedContractMethod<[], [bigint], "view">;
938
+ getFunction(nameOrSignature: "totalReserves"): TypedContractMethod<[], [bigint], "view">;
939
+ getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
940
+ getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
941
+ dst: AddressLike,
942
+ amount: BigNumberish
943
+ ], [
944
+ boolean
945
+ ], "nonpayable">;
946
+ getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[
947
+ src: AddressLike,
948
+ dst: AddressLike,
949
+ amount: BigNumberish
950
+ ], [
951
+ boolean
952
+ ], "nonpayable">;
953
+ getFunction(nameOrSignature: "underlying"): TypedContractMethod<[], [string], "view">;
954
+ getFunction(nameOrSignature: "underlyingBalance"): TypedContractMethod<[], [bigint], "view">;
955
+ getEvent(key: "AccrueInterest"): TypedContractEvent<AccrueInterestEvent.InputTuple, AccrueInterestEvent.OutputTuple, AccrueInterestEvent.OutputObject>;
956
+ getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
957
+ getEvent(key: "Borrow"): TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
958
+ getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
959
+ getEvent(key: "LiquidateBorrow"): TypedContractEvent<LiquidateBorrowEvent.InputTuple, LiquidateBorrowEvent.OutputTuple, LiquidateBorrowEvent.OutputObject>;
960
+ getEvent(key: "Mint"): TypedContractEvent<MintEvent.InputTuple, MintEvent.OutputTuple, MintEvent.OutputObject>;
961
+ getEvent(key: "NewAdmin"): TypedContractEvent<NewAdminEvent.InputTuple, NewAdminEvent.OutputTuple, NewAdminEvent.OutputObject>;
962
+ getEvent(key: "NewComptroller"): TypedContractEvent<NewComptrollerEvent.InputTuple, NewComptrollerEvent.OutputTuple, NewComptrollerEvent.OutputObject>;
963
+ getEvent(key: "NewDiscountRate"): TypedContractEvent<NewDiscountRateEvent.InputTuple, NewDiscountRateEvent.OutputTuple, NewDiscountRateEvent.OutputObject>;
964
+ getEvent(key: "NewMarketInterestRateModel"): TypedContractEvent<NewMarketInterestRateModelEvent.InputTuple, NewMarketInterestRateModelEvent.OutputTuple, NewMarketInterestRateModelEvent.OutputObject>;
965
+ getEvent(key: "NewPendingAdmin"): TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
966
+ getEvent(key: "NewReserveFactor"): TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
967
+ getEvent(key: "Redeem"): TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
968
+ getEvent(key: "RedeemFaceValue"): TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
969
+ getEvent(key: "RepayBorrow"): TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
970
+ getEvent(key: "ReservesAdded"): TypedContractEvent<ReservesAddedEvent.InputTuple, ReservesAddedEvent.OutputTuple, ReservesAddedEvent.OutputObject>;
971
+ getEvent(key: "ReservesReduced"): TypedContractEvent<ReservesReducedEvent.InputTuple, ReservesReducedEvent.OutputTuple, ReservesReducedEvent.OutputObject>;
972
+ getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
973
+ filters: {
974
+ "AccrueInterest(uint256,uint256,uint256,uint256)": TypedContractEvent<AccrueInterestEvent.InputTuple, AccrueInterestEvent.OutputTuple, AccrueInterestEvent.OutputObject>;
975
+ AccrueInterest: TypedContractEvent<AccrueInterestEvent.InputTuple, AccrueInterestEvent.OutputTuple, AccrueInterestEvent.OutputObject>;
976
+ "Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
977
+ Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
978
+ "Borrow(address,uint256,uint256,uint256)": TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
979
+ Borrow: TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
980
+ "Initialized(uint8)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
981
+ Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
982
+ "LiquidateBorrow(address,address,uint256,address,uint256)": TypedContractEvent<LiquidateBorrowEvent.InputTuple, LiquidateBorrowEvent.OutputTuple, LiquidateBorrowEvent.OutputObject>;
983
+ LiquidateBorrow: TypedContractEvent<LiquidateBorrowEvent.InputTuple, LiquidateBorrowEvent.OutputTuple, LiquidateBorrowEvent.OutputObject>;
984
+ "Mint(address,uint256,uint256)": TypedContractEvent<MintEvent.InputTuple, MintEvent.OutputTuple, MintEvent.OutputObject>;
985
+ Mint: TypedContractEvent<MintEvent.InputTuple, MintEvent.OutputTuple, MintEvent.OutputObject>;
986
+ "NewAdmin(address,address)": TypedContractEvent<NewAdminEvent.InputTuple, NewAdminEvent.OutputTuple, NewAdminEvent.OutputObject>;
987
+ NewAdmin: TypedContractEvent<NewAdminEvent.InputTuple, NewAdminEvent.OutputTuple, NewAdminEvent.OutputObject>;
988
+ "NewComptroller(address,address)": TypedContractEvent<NewComptrollerEvent.InputTuple, NewComptrollerEvent.OutputTuple, NewComptrollerEvent.OutputObject>;
989
+ NewComptroller: TypedContractEvent<NewComptrollerEvent.InputTuple, NewComptrollerEvent.OutputTuple, NewComptrollerEvent.OutputObject>;
990
+ "NewDiscountRate(uint256,uint256)": TypedContractEvent<NewDiscountRateEvent.InputTuple, NewDiscountRateEvent.OutputTuple, NewDiscountRateEvent.OutputObject>;
991
+ NewDiscountRate: TypedContractEvent<NewDiscountRateEvent.InputTuple, NewDiscountRateEvent.OutputTuple, NewDiscountRateEvent.OutputObject>;
992
+ "NewMarketInterestRateModel(address,address)": TypedContractEvent<NewMarketInterestRateModelEvent.InputTuple, NewMarketInterestRateModelEvent.OutputTuple, NewMarketInterestRateModelEvent.OutputObject>;
993
+ NewMarketInterestRateModel: TypedContractEvent<NewMarketInterestRateModelEvent.InputTuple, NewMarketInterestRateModelEvent.OutputTuple, NewMarketInterestRateModelEvent.OutputObject>;
994
+ "NewPendingAdmin(address,address)": TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
995
+ NewPendingAdmin: TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
996
+ "NewReserveFactor(uint256,uint256)": TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
997
+ NewReserveFactor: TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
998
+ "Redeem(address,uint256,uint256)": TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
999
+ Redeem: TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
1000
+ "RedeemFaceValue(address,address,uint256,address,uint256,uint256)": TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
1001
+ RedeemFaceValue: TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
1002
+ "RepayBorrow(address,address,uint256,uint256,uint256)": TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
1003
+ RepayBorrow: TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
1004
+ "ReservesAdded(address,uint256,uint256)": TypedContractEvent<ReservesAddedEvent.InputTuple, ReservesAddedEvent.OutputTuple, ReservesAddedEvent.OutputObject>;
1005
+ ReservesAdded: TypedContractEvent<ReservesAddedEvent.InputTuple, ReservesAddedEvent.OutputTuple, ReservesAddedEvent.OutputObject>;
1006
+ "ReservesReduced(address,uint256,uint256)": TypedContractEvent<ReservesReducedEvent.InputTuple, ReservesReducedEvent.OutputTuple, ReservesReducedEvent.OutputObject>;
1007
+ ReservesReduced: TypedContractEvent<ReservesReducedEvent.InputTuple, ReservesReducedEvent.OutputTuple, ReservesReducedEvent.OutputObject>;
1008
+ "Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
1009
+ Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
1010
+ };
1011
+ }