@meterio/sumer-js 0.2.129 → 0.2.130

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