@meterio/sumer-js 0.2.126 → 0.2.128

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