@bgd-labs/toolbox 0.0.13 → 0.0.15
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.
- package/dist/{index-m0rinBbj.d.mts → index-JWWtIseU.d.mts} +1235 -12
- package/dist/{index-m0rinBbj.d.ts → index-JWWtIseU.d.ts} +1235 -12
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +22242 -20528
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +22282 -20576
- package/dist/index.mjs.map +1 -1
- package/dist/node.d.mts +2 -2
- package/dist/node.d.ts +2 -2
- package/dist/node.js +22240 -20526
- package/dist/node.js.map +1 -1
- package/dist/node.mjs +22278 -20572
- package/dist/node.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as viem from 'viem';
|
|
2
|
-
import {
|
|
2
|
+
import { Address, Client, GetContractReturnType, Hex, TestClient, WalletClient, HttpTransportConfig, ClientConfig, AbiEvent, GetLogsReturnType, Account, HttpTransport, Chain, TransactionRequest, Log, Abi } from 'viem';
|
|
3
3
|
import { IPayloadsControllerCore_ABI, IGovernanceCore_ABI } from '@bgd-labs/aave-address-book/abis';
|
|
4
4
|
import * as viem_zksync from 'viem/zksync';
|
|
5
5
|
import * as viem_chains from 'viem/chains';
|
|
@@ -47,10 +47,10 @@ declare function decodeUserConfiguration(userConfiguration: bigint): {
|
|
|
47
47
|
};
|
|
48
48
|
|
|
49
49
|
type ReserveConfiguration = {
|
|
50
|
-
ltv:
|
|
51
|
-
liquidationThreshold:
|
|
52
|
-
liquidationBonus:
|
|
53
|
-
decimals:
|
|
50
|
+
ltv: number;
|
|
51
|
+
liquidationThreshold: number;
|
|
52
|
+
liquidationBonus: number;
|
|
53
|
+
decimals: number;
|
|
54
54
|
active: boolean;
|
|
55
55
|
frozen: boolean;
|
|
56
56
|
borrowingEnabled: boolean;
|
|
@@ -61,7 +61,7 @@ type ReserveConfiguration = {
|
|
|
61
61
|
reserveFactor: bigint;
|
|
62
62
|
borrowCap: bigint;
|
|
63
63
|
supplyCap: bigint;
|
|
64
|
-
liquidationProtocolFee:
|
|
64
|
+
liquidationProtocolFee: number;
|
|
65
65
|
unbackedMintCap: bigint;
|
|
66
66
|
debtCeiling: bigint;
|
|
67
67
|
virtualAccountingEnabled: boolean;
|
|
@@ -144,6 +144,30 @@ interface MarketReferenceAndUsdBalanceResponse {
|
|
|
144
144
|
* @returns non humanized/normalized values for usd/marketReference
|
|
145
145
|
*/
|
|
146
146
|
declare function getMarketReferenceCurrencyAndUsdBalance({ balance, priceInMarketReferenceCurrency, marketReferenceCurrencyDecimals, decimals, marketReferencePriceInUsdNormalized, }: MarketReferenceCurrencyAndUsdBalanceRequest): MarketReferenceAndUsdBalanceResponse;
|
|
147
|
+
declare function assetToBase(amount: bigint, price: number, assetDecimals: number): bigint;
|
|
148
|
+
declare function calculateHealthFactor(user: {
|
|
149
|
+
emode: number;
|
|
150
|
+
}, positions: {
|
|
151
|
+
underlying: Address;
|
|
152
|
+
scaledATokenBalance: string;
|
|
153
|
+
scaledVariableDebtTokenBalance: string;
|
|
154
|
+
}[], reserves: Record<Address, {
|
|
155
|
+
id: number;
|
|
156
|
+
liquidityIndex: string;
|
|
157
|
+
liquidityRate: string;
|
|
158
|
+
variableBorrowIndex: string;
|
|
159
|
+
variableBorrowRate: string;
|
|
160
|
+
lastUpdateTimestamp: number;
|
|
161
|
+
decimals: number;
|
|
162
|
+
liquidationThreshold: number;
|
|
163
|
+
}>, prices: Record<Address, number>, emodes: Record<number, {
|
|
164
|
+
liquidationThreshold: number;
|
|
165
|
+
collateralBitmap: string;
|
|
166
|
+
}>, currentTimestamp: number): {
|
|
167
|
+
healthFactor: number;
|
|
168
|
+
totalDebtInBaseCurrency: bigint;
|
|
169
|
+
totalCollateralInBaseCurrency: bigint;
|
|
170
|
+
};
|
|
147
171
|
|
|
148
172
|
declare const WAD: bigint;
|
|
149
173
|
declare const HALF_WAD: bigint;
|
|
@@ -156,22 +180,79 @@ declare function rayToWad(a: bigint): bigint;
|
|
|
156
180
|
declare function wadToRay(a: bigint): bigint;
|
|
157
181
|
declare function wadDiv(a: bigint, b: bigint): bigint;
|
|
158
182
|
|
|
183
|
+
/**
|
|
184
|
+
* Fetch all pool addresses that are considered immutable
|
|
185
|
+
* @returns
|
|
186
|
+
*/
|
|
187
|
+
declare function fetchImmutablePoolAddresses(client: Client, poolAddressesProvider: Address): Promise<{
|
|
188
|
+
pool: `0x${string}`;
|
|
189
|
+
configurator: `0x${string}`;
|
|
190
|
+
oracle: `0x${string}`;
|
|
191
|
+
aclAdmin: `0x${string}`;
|
|
192
|
+
incentivesController: `0x${string}`;
|
|
193
|
+
emissionManager: `0x${string}`;
|
|
194
|
+
}>;
|
|
195
|
+
/**
|
|
196
|
+
* Fetch all pool addresses that are considered mutable
|
|
197
|
+
* @returns
|
|
198
|
+
*/
|
|
199
|
+
declare function fetchMutablePoolAddresses(client: Client, poolAddressesProvider: Address): Promise<{
|
|
200
|
+
oracleSentinel: `0x${string}`;
|
|
201
|
+
aclAdmin: `0x${string}`;
|
|
202
|
+
pdp: `0x${string}`;
|
|
203
|
+
}>;
|
|
159
204
|
/**
|
|
160
205
|
* Returns all the addresses from the PoolAddressesProvider that can be considered immutable.
|
|
161
206
|
* @param client
|
|
162
207
|
* @param poolAddressesProvider
|
|
163
208
|
*/
|
|
164
209
|
declare function fetchPoolAddresses(client: Client, poolAddressesProvider: Address): Promise<{
|
|
165
|
-
pool: `0x${string}`;
|
|
166
|
-
configurator: `0x${string}`;
|
|
167
|
-
oracle: `0x${string}`;
|
|
168
210
|
oracleSentinel: `0x${string}`;
|
|
169
211
|
aclAdmin: `0x${string}`;
|
|
170
|
-
aclManager: `0x${string}`;
|
|
171
212
|
pdp: `0x${string}`;
|
|
213
|
+
pool: `0x${string}`;
|
|
214
|
+
configurator: `0x${string}`;
|
|
215
|
+
oracle: `0x${string}`;
|
|
172
216
|
incentivesController: `0x${string}`;
|
|
173
217
|
emissionManager: `0x${string}`;
|
|
174
218
|
}>;
|
|
219
|
+
declare function getReserveTokens(client: Client, pool: Address): Promise<{
|
|
220
|
+
reserve: `0x${string}`;
|
|
221
|
+
aToken: `0x${string}`;
|
|
222
|
+
variableDebtToken: `0x${string}`;
|
|
223
|
+
symbol: string;
|
|
224
|
+
}[]>;
|
|
225
|
+
/**
|
|
226
|
+
* Returns all the reserves of a pool with the aToken/vToken and the decoded reserve configuration.
|
|
227
|
+
* @param client
|
|
228
|
+
* @param pool
|
|
229
|
+
* @returns
|
|
230
|
+
*/
|
|
231
|
+
declare function getReserveConfigurations(client: Client, pool: Address, reserves: {
|
|
232
|
+
reserve: Address;
|
|
233
|
+
}[]): Promise<{
|
|
234
|
+
reserves: {
|
|
235
|
+
ltv: number;
|
|
236
|
+
liquidationThreshold: number;
|
|
237
|
+
liquidationBonus: number;
|
|
238
|
+
decimals: number;
|
|
239
|
+
active: boolean;
|
|
240
|
+
frozen: boolean;
|
|
241
|
+
borrowingEnabled: boolean;
|
|
242
|
+
paused: boolean;
|
|
243
|
+
borrowingInIsolation: boolean;
|
|
244
|
+
siloedBorrowingEnabled: boolean;
|
|
245
|
+
flashloaningEnabled: boolean;
|
|
246
|
+
reserveFactor: bigint;
|
|
247
|
+
borrowCap: bigint;
|
|
248
|
+
supplyCap: bigint;
|
|
249
|
+
liquidationProtocolFee: number;
|
|
250
|
+
unbackedMintCap: bigint;
|
|
251
|
+
debtCeiling: bigint;
|
|
252
|
+
virtualAccountingEnabled: boolean;
|
|
253
|
+
reserve: Address;
|
|
254
|
+
}[];
|
|
255
|
+
}>;
|
|
175
256
|
|
|
176
257
|
declare enum PayloadState {
|
|
177
258
|
None = 0,
|
|
@@ -4201,7 +4282,7 @@ declare const publicRPCs: {
|
|
|
4201
4282
|
readonly 59144: "https://rpc.linea.build";
|
|
4202
4283
|
};
|
|
4203
4284
|
declare const alchemySupportedChainIds: (1 | 10 | 56 | 100 | 137 | 146 | 250 | 324 | 1101 | 4002 | 5000 | 8453 | 42161 | 42220 | 43113 | 43114 | 59144 | 80002 | 84532 | 421614 | 534351 | 534352 | 11155111 | 11155420 | 1088 | 57073 | 1666600000 | 1868)[];
|
|
4204
|
-
declare const getNetworkEnv: (chainId: SupportedChainIds) => "RPC_MAINNET" | "RPC_OPTIMISM" | "RPC_FANTOM" | "RPC_CELO" | "RPC_POLYGON" | "RPC_POLYGON_AMOY" | "RPC_AVALANCHE" | "RPC_AVALANCHE_FUJI" | "RPC_ARBITRUM" | "RPC_ARBITRUM_SEPOLIA" | "RPC_FANTOM_TESTNET" | "RPC_OPTIMISM_SEPOLIA" | "RPC_HARMONY" | "RPC_SEPOLIA" | "RPC_SCROLL" | "RPC_SCROLL_SEPOLIA" | "RPC_SONIC" | "RPC_MANTLE" | "RPC_METIS" | "
|
|
4285
|
+
declare const getNetworkEnv: (chainId: SupportedChainIds) => "RPC_BASE" | "RPC_MAINNET" | "RPC_OPTIMISM" | "RPC_FANTOM" | "RPC_CELO" | "RPC_POLYGON" | "RPC_POLYGON_AMOY" | "RPC_AVALANCHE" | "RPC_AVALANCHE_FUJI" | "RPC_ARBITRUM" | "RPC_ARBITRUM_SEPOLIA" | "RPC_FANTOM_TESTNET" | "RPC_OPTIMISM_SEPOLIA" | "RPC_HARMONY" | "RPC_SEPOLIA" | "RPC_SCROLL" | "RPC_SCROLL_SEPOLIA" | "RPC_SONIC" | "RPC_MANTLE" | "RPC_METIS" | "RPC_BASE_SEPOLIA" | "RPC_BNB" | "RPC_GNOSIS" | "RPC_ZKEVM" | "RPC_ZKSYNC" | "RPC_LINEA" | "RPC_INK" | "RPC_SONEIUM";
|
|
4205
4286
|
declare function getExplicitRPC(chainId: SupportedChainIds): string;
|
|
4206
4287
|
declare function getAlchemyRPC(chainId: SupportedChainIds, alchemyKey: string): string;
|
|
4207
4288
|
declare function getPublicRpc(chainId: SupportedChainIds): "https://eth.llamarpc.com" | "https://polygon.llamarpc.com" | "https://base.llamarpc.com" | "https://binance.llamarpc.com" | "https://andromeda.metis.io/?owner=1088" | "https://rpc.ankr.com/gnosis" | "https://rpc.scroll.io" | "https://mainnet.era.zksync.io" | "https://rpc.ftm.tools" | "https://api.avax.network/ext/bc/C/rpc" | "https://rpc.linea.build";
|
|
@@ -4251,6 +4332,25 @@ interface GetLogsRecursiveArgs<TAbiEvents extends AbiEvent[]> {
|
|
|
4251
4332
|
* fetches logs recursively
|
|
4252
4333
|
*/
|
|
4253
4334
|
declare function getLogsRecursive<TAbiEvents extends AbiEvent[]>({ client, events, address, fromBlock, toBlock, }: GetLogsRecursiveArgs<TAbiEvents>): Promise<GetLogsReturnType<undefined, TAbiEvents>>;
|
|
4335
|
+
interface GetContractDeploymentBlockArgs {
|
|
4336
|
+
client: Client;
|
|
4337
|
+
contractAddress: Address;
|
|
4338
|
+
fromBlock: bigint;
|
|
4339
|
+
toBlock: bigint;
|
|
4340
|
+
maxDelta: bigint;
|
|
4341
|
+
}
|
|
4342
|
+
/**
|
|
4343
|
+
* In some cases it's important to know when a contract was first seen onChain.
|
|
4344
|
+
* This data is hard to obtain, as it's not indexed data.
|
|
4345
|
+
* On way of doing it is recursively checking on an archive node when the code was first seen.
|
|
4346
|
+
* @param client a viem Client
|
|
4347
|
+
* @param fromBlock a block on which the contract is not yet deployed
|
|
4348
|
+
* @param toBlock a block on which the contract is deployed
|
|
4349
|
+
* @param contractAddress address of the contract
|
|
4350
|
+
* @param maxDelta the maximum block distance between the returned block and the deployment block
|
|
4351
|
+
* @returns a blockNumber on which the contract is not yet deployed with a max delta to when it was deployed
|
|
4352
|
+
*/
|
|
4353
|
+
declare function getContractDeploymentBlock({ client, contractAddress, fromBlock, toBlock, maxDelta, }: GetContractDeploymentBlockArgs): Promise<bigint>;
|
|
4254
4354
|
|
|
4255
4355
|
type BundleParams = {
|
|
4256
4356
|
inclusion: {
|
|
@@ -4326,6 +4426,10 @@ declare function flashbotsClientExtension<T extends WalletClient<HttpTransport<u
|
|
|
4326
4426
|
sendBundle(bundleParams: BundleParams): Promise<void>;
|
|
4327
4427
|
};
|
|
4328
4428
|
declare function onMevHandler(callback: (event: {}) => void, streamUrl?: string): EventSource;
|
|
4429
|
+
declare function priceUpdateDecoder(receiver: Address, calldata: Hex): {
|
|
4430
|
+
receiver: `0x${string}`;
|
|
4431
|
+
answer: bigint;
|
|
4432
|
+
} | undefined;
|
|
4329
4433
|
|
|
4330
4434
|
declare const alchemyNetworkMap: {
|
|
4331
4435
|
readonly 1: "eth-mainnet";
|
|
@@ -5941,6 +6045,7 @@ declare const chainlinkFeeds: {
|
|
|
5941
6045
|
readonly proxyAddress: "0x76F8C9E423C228E83DCB11d17F0Bd8aEB0Ca01bb";
|
|
5942
6046
|
readonly decimals: 8;
|
|
5943
6047
|
readonly name: "LINK / USD";
|
|
6048
|
+
readonly secondaryProxyAddress: "0xC7e9b623ed51F033b32AE7f1282b1AD62C28C183";
|
|
5944
6049
|
}, {
|
|
5945
6050
|
readonly contractAddress: "0x658Aa21601C8c0bB511C21999F7cad35B6A15192";
|
|
5946
6051
|
readonly proxyAddress: "0xCc70F09A6CC17553b2E31954cD36E4A2d89501f7";
|
|
@@ -6016,6 +6121,7 @@ declare const chainlinkFeeds: {
|
|
|
6016
6121
|
readonly proxyAddress: "0x5147eA642CAEF7BD9c1265AadcA78f997AbB9649";
|
|
6017
6122
|
readonly decimals: 8;
|
|
6018
6123
|
readonly name: "ETH / USD";
|
|
6124
|
+
readonly secondaryProxyAddress: "0x5424384B256154046E9667dDFaaa5e550145215e";
|
|
6019
6125
|
}, {
|
|
6020
6126
|
readonly contractAddress: "0x7d4E742018fb52E48b08BE73d041C18B21de6Fb5";
|
|
6021
6127
|
readonly proxyAddress: "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419";
|
|
@@ -6221,6 +6327,7 @@ declare const chainlinkFeeds: {
|
|
|
6221
6327
|
readonly proxyAddress: "0x7bB7bF4ca536DbC49545704BFAcaa13633D18718";
|
|
6222
6328
|
readonly decimals: 8;
|
|
6223
6329
|
readonly name: "USDT / USD";
|
|
6330
|
+
readonly secondaryProxyAddress: "0x62c2ab773B7324ad9e030D777989B3b5d5c54c0A";
|
|
6224
6331
|
}, {
|
|
6225
6332
|
readonly contractAddress: "0x9e6e40dC0A35D6eD96BB09D928261EB598523645";
|
|
6226
6333
|
readonly proxyAddress: "0x58921Ac140522867bf50b9E009599Da0CA4A2379";
|
|
@@ -6561,6 +6668,7 @@ declare const chainlinkFeeds: {
|
|
|
6561
6668
|
readonly proxyAddress: "0xbd7F896e60B650C01caf2d7279a1148189A68884";
|
|
6562
6669
|
readonly decimals: 8;
|
|
6563
6670
|
readonly name: "AAVE / USD";
|
|
6671
|
+
readonly secondaryProxyAddress: "0xF02C1e2A3B77c1cacC72f72B44f7d0a4c62e4a85";
|
|
6564
6672
|
}, {
|
|
6565
6673
|
readonly contractAddress: "0xced238b8B9D39f2B1CD42adbEeFBB85cd46C14F2";
|
|
6566
6674
|
readonly proxyAddress: "0x269f871c80b50a5cF34cDfCfEC11460adA4D66f1";
|
|
@@ -6606,6 +6714,7 @@ declare const chainlinkFeeds: {
|
|
|
6606
6714
|
readonly proxyAddress: "0x85355da30ee4b35F4B30759Bd49a1EBE3fc41Bdb";
|
|
6607
6715
|
readonly decimals: 8;
|
|
6608
6716
|
readonly name: "BTC / USD";
|
|
6717
|
+
readonly secondaryProxyAddress: "0xb41E773f507F7a7EA890b1afB7d2b660c30C8B0A";
|
|
6609
6718
|
}, {
|
|
6610
6719
|
readonly contractAddress: "0xe07f52971153dB2713ACe5ebAAf2eA8b0A9230B7";
|
|
6611
6720
|
readonly proxyAddress: "0xFF3BC18cCBd5999CE63E788A1c250a88626aD099";
|
|
@@ -6616,6 +6725,7 @@ declare const chainlinkFeeds: {
|
|
|
6616
6725
|
readonly proxyAddress: "0xfB6471ACD42c91FF265344Ff73E88353521d099F";
|
|
6617
6726
|
readonly decimals: 8;
|
|
6618
6727
|
readonly name: "USDC / USD";
|
|
6728
|
+
readonly secondaryProxyAddress: "0xEa674bBC33AE708Bc9EB4ba348b04E4eB55b496b";
|
|
6619
6729
|
}, {
|
|
6620
6730
|
readonly contractAddress: "0xe88C679E2D42963acDC76810d21daC2e6a8D7c29";
|
|
6621
6731
|
readonly proxyAddress: "0x2885d15b8Af22648b98B122b22FDF4D2a56c6023";
|
|
@@ -14654,6 +14764,21 @@ declare const erc1967_AdminSlot = "0xb53127684a568b3173ae13b9f8a6016e243e63b6e8e
|
|
|
14654
14764
|
|
|
14655
14765
|
declare function diffCode(before: StandardJsonInput, after: StandardJsonInput): Promise<Record<string, string>>;
|
|
14656
14766
|
|
|
14767
|
+
type IndexerTopicState<T extends {} = {}> = {
|
|
14768
|
+
address: Address;
|
|
14769
|
+
lastIndexedBlockNumber: bigint;
|
|
14770
|
+
abi: AbiEvent;
|
|
14771
|
+
endBlock?: bigint | null;
|
|
14772
|
+
} & T;
|
|
14773
|
+
interface GenericIndexerArgs<T extends {} = {}> {
|
|
14774
|
+
client: Client;
|
|
14775
|
+
getIndexerState: () => Promise<IndexerTopicState<T>[]> | IndexerTopicState<T>[];
|
|
14776
|
+
updateIndexerState: (newState: IndexerTopicState<T>[]) => void | Promise<void>;
|
|
14777
|
+
processLogs: (eventLogs: Log<unknown, unknown, false, AbiEvent>[]) => void | Promise<void>;
|
|
14778
|
+
chunkSize?: bigint;
|
|
14779
|
+
}
|
|
14780
|
+
declare function genericIndexer<T extends {} = {}>(args: GenericIndexerArgs<T>): (latestBlock: bigint) => Promise<void>;
|
|
14781
|
+
|
|
14657
14782
|
type LogType = {
|
|
14658
14783
|
topics: [Hex];
|
|
14659
14784
|
data: Hex;
|
|
@@ -21984,6 +22109,1104 @@ declare const IERC20Metadata_ABI: readonly [{
|
|
|
21984
22109
|
readonly anonymous: false;
|
|
21985
22110
|
}];
|
|
21986
22111
|
|
|
22112
|
+
declare const IPoolConfigurator_ABI: readonly [{
|
|
22113
|
+
readonly type: "function";
|
|
22114
|
+
readonly name: "MAX_GRACE_PERIOD";
|
|
22115
|
+
readonly inputs: readonly [];
|
|
22116
|
+
readonly outputs: readonly [{
|
|
22117
|
+
readonly name: "";
|
|
22118
|
+
readonly type: "uint40";
|
|
22119
|
+
readonly internalType: "uint40";
|
|
22120
|
+
}];
|
|
22121
|
+
readonly stateMutability: "view";
|
|
22122
|
+
}, {
|
|
22123
|
+
readonly type: "function";
|
|
22124
|
+
readonly name: "configureReserveAsCollateral";
|
|
22125
|
+
readonly inputs: readonly [{
|
|
22126
|
+
readonly name: "asset";
|
|
22127
|
+
readonly type: "address";
|
|
22128
|
+
readonly internalType: "address";
|
|
22129
|
+
}, {
|
|
22130
|
+
readonly name: "ltv";
|
|
22131
|
+
readonly type: "uint256";
|
|
22132
|
+
readonly internalType: "uint256";
|
|
22133
|
+
}, {
|
|
22134
|
+
readonly name: "liquidationThreshold";
|
|
22135
|
+
readonly type: "uint256";
|
|
22136
|
+
readonly internalType: "uint256";
|
|
22137
|
+
}, {
|
|
22138
|
+
readonly name: "liquidationBonus";
|
|
22139
|
+
readonly type: "uint256";
|
|
22140
|
+
readonly internalType: "uint256";
|
|
22141
|
+
}];
|
|
22142
|
+
readonly outputs: readonly [];
|
|
22143
|
+
readonly stateMutability: "nonpayable";
|
|
22144
|
+
}, {
|
|
22145
|
+
readonly type: "function";
|
|
22146
|
+
readonly name: "disableLiquidationGracePeriod";
|
|
22147
|
+
readonly inputs: readonly [{
|
|
22148
|
+
readonly name: "asset";
|
|
22149
|
+
readonly type: "address";
|
|
22150
|
+
readonly internalType: "address";
|
|
22151
|
+
}];
|
|
22152
|
+
readonly outputs: readonly [];
|
|
22153
|
+
readonly stateMutability: "nonpayable";
|
|
22154
|
+
}, {
|
|
22155
|
+
readonly type: "function";
|
|
22156
|
+
readonly name: "dropReserve";
|
|
22157
|
+
readonly inputs: readonly [{
|
|
22158
|
+
readonly name: "asset";
|
|
22159
|
+
readonly type: "address";
|
|
22160
|
+
readonly internalType: "address";
|
|
22161
|
+
}];
|
|
22162
|
+
readonly outputs: readonly [];
|
|
22163
|
+
readonly stateMutability: "nonpayable";
|
|
22164
|
+
}, {
|
|
22165
|
+
readonly type: "function";
|
|
22166
|
+
readonly name: "getConfiguratorLogic";
|
|
22167
|
+
readonly inputs: readonly [];
|
|
22168
|
+
readonly outputs: readonly [{
|
|
22169
|
+
readonly name: "";
|
|
22170
|
+
readonly type: "address";
|
|
22171
|
+
readonly internalType: "address";
|
|
22172
|
+
}];
|
|
22173
|
+
readonly stateMutability: "view";
|
|
22174
|
+
}, {
|
|
22175
|
+
readonly type: "function";
|
|
22176
|
+
readonly name: "getPendingLtv";
|
|
22177
|
+
readonly inputs: readonly [{
|
|
22178
|
+
readonly name: "asset";
|
|
22179
|
+
readonly type: "address";
|
|
22180
|
+
readonly internalType: "address";
|
|
22181
|
+
}];
|
|
22182
|
+
readonly outputs: readonly [{
|
|
22183
|
+
readonly name: "";
|
|
22184
|
+
readonly type: "uint256";
|
|
22185
|
+
readonly internalType: "uint256";
|
|
22186
|
+
}];
|
|
22187
|
+
readonly stateMutability: "view";
|
|
22188
|
+
}, {
|
|
22189
|
+
readonly type: "function";
|
|
22190
|
+
readonly name: "initReserves";
|
|
22191
|
+
readonly inputs: readonly [{
|
|
22192
|
+
readonly name: "input";
|
|
22193
|
+
readonly type: "tuple[]";
|
|
22194
|
+
readonly internalType: "struct ConfiguratorInputTypes.InitReserveInput[]";
|
|
22195
|
+
readonly components: readonly [{
|
|
22196
|
+
readonly name: "aTokenImpl";
|
|
22197
|
+
readonly type: "address";
|
|
22198
|
+
readonly internalType: "address";
|
|
22199
|
+
}, {
|
|
22200
|
+
readonly name: "variableDebtTokenImpl";
|
|
22201
|
+
readonly type: "address";
|
|
22202
|
+
readonly internalType: "address";
|
|
22203
|
+
}, {
|
|
22204
|
+
readonly name: "useVirtualBalance";
|
|
22205
|
+
readonly type: "bool";
|
|
22206
|
+
readonly internalType: "bool";
|
|
22207
|
+
}, {
|
|
22208
|
+
readonly name: "interestRateStrategyAddress";
|
|
22209
|
+
readonly type: "address";
|
|
22210
|
+
readonly internalType: "address";
|
|
22211
|
+
}, {
|
|
22212
|
+
readonly name: "underlyingAsset";
|
|
22213
|
+
readonly type: "address";
|
|
22214
|
+
readonly internalType: "address";
|
|
22215
|
+
}, {
|
|
22216
|
+
readonly name: "treasury";
|
|
22217
|
+
readonly type: "address";
|
|
22218
|
+
readonly internalType: "address";
|
|
22219
|
+
}, {
|
|
22220
|
+
readonly name: "incentivesController";
|
|
22221
|
+
readonly type: "address";
|
|
22222
|
+
readonly internalType: "address";
|
|
22223
|
+
}, {
|
|
22224
|
+
readonly name: "aTokenName";
|
|
22225
|
+
readonly type: "string";
|
|
22226
|
+
readonly internalType: "string";
|
|
22227
|
+
}, {
|
|
22228
|
+
readonly name: "aTokenSymbol";
|
|
22229
|
+
readonly type: "string";
|
|
22230
|
+
readonly internalType: "string";
|
|
22231
|
+
}, {
|
|
22232
|
+
readonly name: "variableDebtTokenName";
|
|
22233
|
+
readonly type: "string";
|
|
22234
|
+
readonly internalType: "string";
|
|
22235
|
+
}, {
|
|
22236
|
+
readonly name: "variableDebtTokenSymbol";
|
|
22237
|
+
readonly type: "string";
|
|
22238
|
+
readonly internalType: "string";
|
|
22239
|
+
}, {
|
|
22240
|
+
readonly name: "params";
|
|
22241
|
+
readonly type: "bytes";
|
|
22242
|
+
readonly internalType: "bytes";
|
|
22243
|
+
}, {
|
|
22244
|
+
readonly name: "interestRateData";
|
|
22245
|
+
readonly type: "bytes";
|
|
22246
|
+
readonly internalType: "bytes";
|
|
22247
|
+
}];
|
|
22248
|
+
}];
|
|
22249
|
+
readonly outputs: readonly [];
|
|
22250
|
+
readonly stateMutability: "nonpayable";
|
|
22251
|
+
}, {
|
|
22252
|
+
readonly type: "function";
|
|
22253
|
+
readonly name: "setAssetBorrowableInEMode";
|
|
22254
|
+
readonly inputs: readonly [{
|
|
22255
|
+
readonly name: "asset";
|
|
22256
|
+
readonly type: "address";
|
|
22257
|
+
readonly internalType: "address";
|
|
22258
|
+
}, {
|
|
22259
|
+
readonly name: "categoryId";
|
|
22260
|
+
readonly type: "uint8";
|
|
22261
|
+
readonly internalType: "uint8";
|
|
22262
|
+
}, {
|
|
22263
|
+
readonly name: "borrowable";
|
|
22264
|
+
readonly type: "bool";
|
|
22265
|
+
readonly internalType: "bool";
|
|
22266
|
+
}];
|
|
22267
|
+
readonly outputs: readonly [];
|
|
22268
|
+
readonly stateMutability: "nonpayable";
|
|
22269
|
+
}, {
|
|
22270
|
+
readonly type: "function";
|
|
22271
|
+
readonly name: "setAssetCollateralInEMode";
|
|
22272
|
+
readonly inputs: readonly [{
|
|
22273
|
+
readonly name: "asset";
|
|
22274
|
+
readonly type: "address";
|
|
22275
|
+
readonly internalType: "address";
|
|
22276
|
+
}, {
|
|
22277
|
+
readonly name: "categoryId";
|
|
22278
|
+
readonly type: "uint8";
|
|
22279
|
+
readonly internalType: "uint8";
|
|
22280
|
+
}, {
|
|
22281
|
+
readonly name: "collateral";
|
|
22282
|
+
readonly type: "bool";
|
|
22283
|
+
readonly internalType: "bool";
|
|
22284
|
+
}];
|
|
22285
|
+
readonly outputs: readonly [];
|
|
22286
|
+
readonly stateMutability: "nonpayable";
|
|
22287
|
+
}, {
|
|
22288
|
+
readonly type: "function";
|
|
22289
|
+
readonly name: "setBorrowCap";
|
|
22290
|
+
readonly inputs: readonly [{
|
|
22291
|
+
readonly name: "asset";
|
|
22292
|
+
readonly type: "address";
|
|
22293
|
+
readonly internalType: "address";
|
|
22294
|
+
}, {
|
|
22295
|
+
readonly name: "newBorrowCap";
|
|
22296
|
+
readonly type: "uint256";
|
|
22297
|
+
readonly internalType: "uint256";
|
|
22298
|
+
}];
|
|
22299
|
+
readonly outputs: readonly [];
|
|
22300
|
+
readonly stateMutability: "nonpayable";
|
|
22301
|
+
}, {
|
|
22302
|
+
readonly type: "function";
|
|
22303
|
+
readonly name: "setBorrowableInIsolation";
|
|
22304
|
+
readonly inputs: readonly [{
|
|
22305
|
+
readonly name: "asset";
|
|
22306
|
+
readonly type: "address";
|
|
22307
|
+
readonly internalType: "address";
|
|
22308
|
+
}, {
|
|
22309
|
+
readonly name: "borrowable";
|
|
22310
|
+
readonly type: "bool";
|
|
22311
|
+
readonly internalType: "bool";
|
|
22312
|
+
}];
|
|
22313
|
+
readonly outputs: readonly [];
|
|
22314
|
+
readonly stateMutability: "nonpayable";
|
|
22315
|
+
}, {
|
|
22316
|
+
readonly type: "function";
|
|
22317
|
+
readonly name: "setDebtCeiling";
|
|
22318
|
+
readonly inputs: readonly [{
|
|
22319
|
+
readonly name: "asset";
|
|
22320
|
+
readonly type: "address";
|
|
22321
|
+
readonly internalType: "address";
|
|
22322
|
+
}, {
|
|
22323
|
+
readonly name: "newDebtCeiling";
|
|
22324
|
+
readonly type: "uint256";
|
|
22325
|
+
readonly internalType: "uint256";
|
|
22326
|
+
}];
|
|
22327
|
+
readonly outputs: readonly [];
|
|
22328
|
+
readonly stateMutability: "nonpayable";
|
|
22329
|
+
}, {
|
|
22330
|
+
readonly type: "function";
|
|
22331
|
+
readonly name: "setEModeCategory";
|
|
22332
|
+
readonly inputs: readonly [{
|
|
22333
|
+
readonly name: "categoryId";
|
|
22334
|
+
readonly type: "uint8";
|
|
22335
|
+
readonly internalType: "uint8";
|
|
22336
|
+
}, {
|
|
22337
|
+
readonly name: "ltv";
|
|
22338
|
+
readonly type: "uint16";
|
|
22339
|
+
readonly internalType: "uint16";
|
|
22340
|
+
}, {
|
|
22341
|
+
readonly name: "liquidationThreshold";
|
|
22342
|
+
readonly type: "uint16";
|
|
22343
|
+
readonly internalType: "uint16";
|
|
22344
|
+
}, {
|
|
22345
|
+
readonly name: "liquidationBonus";
|
|
22346
|
+
readonly type: "uint16";
|
|
22347
|
+
readonly internalType: "uint16";
|
|
22348
|
+
}, {
|
|
22349
|
+
readonly name: "label";
|
|
22350
|
+
readonly type: "string";
|
|
22351
|
+
readonly internalType: "string";
|
|
22352
|
+
}];
|
|
22353
|
+
readonly outputs: readonly [];
|
|
22354
|
+
readonly stateMutability: "nonpayable";
|
|
22355
|
+
}, {
|
|
22356
|
+
readonly type: "function";
|
|
22357
|
+
readonly name: "setLiquidationProtocolFee";
|
|
22358
|
+
readonly inputs: readonly [{
|
|
22359
|
+
readonly name: "asset";
|
|
22360
|
+
readonly type: "address";
|
|
22361
|
+
readonly internalType: "address";
|
|
22362
|
+
}, {
|
|
22363
|
+
readonly name: "newFee";
|
|
22364
|
+
readonly type: "uint256";
|
|
22365
|
+
readonly internalType: "uint256";
|
|
22366
|
+
}];
|
|
22367
|
+
readonly outputs: readonly [];
|
|
22368
|
+
readonly stateMutability: "nonpayable";
|
|
22369
|
+
}, {
|
|
22370
|
+
readonly type: "function";
|
|
22371
|
+
readonly name: "setPoolPause";
|
|
22372
|
+
readonly inputs: readonly [{
|
|
22373
|
+
readonly name: "paused";
|
|
22374
|
+
readonly type: "bool";
|
|
22375
|
+
readonly internalType: "bool";
|
|
22376
|
+
}, {
|
|
22377
|
+
readonly name: "gracePeriod";
|
|
22378
|
+
readonly type: "uint40";
|
|
22379
|
+
readonly internalType: "uint40";
|
|
22380
|
+
}];
|
|
22381
|
+
readonly outputs: readonly [];
|
|
22382
|
+
readonly stateMutability: "nonpayable";
|
|
22383
|
+
}, {
|
|
22384
|
+
readonly type: "function";
|
|
22385
|
+
readonly name: "setPoolPause";
|
|
22386
|
+
readonly inputs: readonly [{
|
|
22387
|
+
readonly name: "paused";
|
|
22388
|
+
readonly type: "bool";
|
|
22389
|
+
readonly internalType: "bool";
|
|
22390
|
+
}];
|
|
22391
|
+
readonly outputs: readonly [];
|
|
22392
|
+
readonly stateMutability: "nonpayable";
|
|
22393
|
+
}, {
|
|
22394
|
+
readonly type: "function";
|
|
22395
|
+
readonly name: "setReserveActive";
|
|
22396
|
+
readonly inputs: readonly [{
|
|
22397
|
+
readonly name: "asset";
|
|
22398
|
+
readonly type: "address";
|
|
22399
|
+
readonly internalType: "address";
|
|
22400
|
+
}, {
|
|
22401
|
+
readonly name: "active";
|
|
22402
|
+
readonly type: "bool";
|
|
22403
|
+
readonly internalType: "bool";
|
|
22404
|
+
}];
|
|
22405
|
+
readonly outputs: readonly [];
|
|
22406
|
+
readonly stateMutability: "nonpayable";
|
|
22407
|
+
}, {
|
|
22408
|
+
readonly type: "function";
|
|
22409
|
+
readonly name: "setReserveBorrowing";
|
|
22410
|
+
readonly inputs: readonly [{
|
|
22411
|
+
readonly name: "asset";
|
|
22412
|
+
readonly type: "address";
|
|
22413
|
+
readonly internalType: "address";
|
|
22414
|
+
}, {
|
|
22415
|
+
readonly name: "enabled";
|
|
22416
|
+
readonly type: "bool";
|
|
22417
|
+
readonly internalType: "bool";
|
|
22418
|
+
}];
|
|
22419
|
+
readonly outputs: readonly [];
|
|
22420
|
+
readonly stateMutability: "nonpayable";
|
|
22421
|
+
}, {
|
|
22422
|
+
readonly type: "function";
|
|
22423
|
+
readonly name: "setReserveFactor";
|
|
22424
|
+
readonly inputs: readonly [{
|
|
22425
|
+
readonly name: "asset";
|
|
22426
|
+
readonly type: "address";
|
|
22427
|
+
readonly internalType: "address";
|
|
22428
|
+
}, {
|
|
22429
|
+
readonly name: "newReserveFactor";
|
|
22430
|
+
readonly type: "uint256";
|
|
22431
|
+
readonly internalType: "uint256";
|
|
22432
|
+
}];
|
|
22433
|
+
readonly outputs: readonly [];
|
|
22434
|
+
readonly stateMutability: "nonpayable";
|
|
22435
|
+
}, {
|
|
22436
|
+
readonly type: "function";
|
|
22437
|
+
readonly name: "setReserveFlashLoaning";
|
|
22438
|
+
readonly inputs: readonly [{
|
|
22439
|
+
readonly name: "asset";
|
|
22440
|
+
readonly type: "address";
|
|
22441
|
+
readonly internalType: "address";
|
|
22442
|
+
}, {
|
|
22443
|
+
readonly name: "enabled";
|
|
22444
|
+
readonly type: "bool";
|
|
22445
|
+
readonly internalType: "bool";
|
|
22446
|
+
}];
|
|
22447
|
+
readonly outputs: readonly [];
|
|
22448
|
+
readonly stateMutability: "nonpayable";
|
|
22449
|
+
}, {
|
|
22450
|
+
readonly type: "function";
|
|
22451
|
+
readonly name: "setReserveFreeze";
|
|
22452
|
+
readonly inputs: readonly [{
|
|
22453
|
+
readonly name: "asset";
|
|
22454
|
+
readonly type: "address";
|
|
22455
|
+
readonly internalType: "address";
|
|
22456
|
+
}, {
|
|
22457
|
+
readonly name: "freeze";
|
|
22458
|
+
readonly type: "bool";
|
|
22459
|
+
readonly internalType: "bool";
|
|
22460
|
+
}];
|
|
22461
|
+
readonly outputs: readonly [];
|
|
22462
|
+
readonly stateMutability: "nonpayable";
|
|
22463
|
+
}, {
|
|
22464
|
+
readonly type: "function";
|
|
22465
|
+
readonly name: "setReserveInterestRateData";
|
|
22466
|
+
readonly inputs: readonly [{
|
|
22467
|
+
readonly name: "asset";
|
|
22468
|
+
readonly type: "address";
|
|
22469
|
+
readonly internalType: "address";
|
|
22470
|
+
}, {
|
|
22471
|
+
readonly name: "rateData";
|
|
22472
|
+
readonly type: "bytes";
|
|
22473
|
+
readonly internalType: "bytes";
|
|
22474
|
+
}];
|
|
22475
|
+
readonly outputs: readonly [];
|
|
22476
|
+
readonly stateMutability: "nonpayable";
|
|
22477
|
+
}, {
|
|
22478
|
+
readonly type: "function";
|
|
22479
|
+
readonly name: "setReserveInterestRateStrategyAddress";
|
|
22480
|
+
readonly inputs: readonly [{
|
|
22481
|
+
readonly name: "asset";
|
|
22482
|
+
readonly type: "address";
|
|
22483
|
+
readonly internalType: "address";
|
|
22484
|
+
}, {
|
|
22485
|
+
readonly name: "newRateStrategyAddress";
|
|
22486
|
+
readonly type: "address";
|
|
22487
|
+
readonly internalType: "address";
|
|
22488
|
+
}, {
|
|
22489
|
+
readonly name: "rateData";
|
|
22490
|
+
readonly type: "bytes";
|
|
22491
|
+
readonly internalType: "bytes";
|
|
22492
|
+
}];
|
|
22493
|
+
readonly outputs: readonly [];
|
|
22494
|
+
readonly stateMutability: "nonpayable";
|
|
22495
|
+
}, {
|
|
22496
|
+
readonly type: "function";
|
|
22497
|
+
readonly name: "setReservePause";
|
|
22498
|
+
readonly inputs: readonly [{
|
|
22499
|
+
readonly name: "asset";
|
|
22500
|
+
readonly type: "address";
|
|
22501
|
+
readonly internalType: "address";
|
|
22502
|
+
}, {
|
|
22503
|
+
readonly name: "paused";
|
|
22504
|
+
readonly type: "bool";
|
|
22505
|
+
readonly internalType: "bool";
|
|
22506
|
+
}];
|
|
22507
|
+
readonly outputs: readonly [];
|
|
22508
|
+
readonly stateMutability: "nonpayable";
|
|
22509
|
+
}, {
|
|
22510
|
+
readonly type: "function";
|
|
22511
|
+
readonly name: "setReservePause";
|
|
22512
|
+
readonly inputs: readonly [{
|
|
22513
|
+
readonly name: "asset";
|
|
22514
|
+
readonly type: "address";
|
|
22515
|
+
readonly internalType: "address";
|
|
22516
|
+
}, {
|
|
22517
|
+
readonly name: "paused";
|
|
22518
|
+
readonly type: "bool";
|
|
22519
|
+
readonly internalType: "bool";
|
|
22520
|
+
}, {
|
|
22521
|
+
readonly name: "gracePeriod";
|
|
22522
|
+
readonly type: "uint40";
|
|
22523
|
+
readonly internalType: "uint40";
|
|
22524
|
+
}];
|
|
22525
|
+
readonly outputs: readonly [];
|
|
22526
|
+
readonly stateMutability: "nonpayable";
|
|
22527
|
+
}, {
|
|
22528
|
+
readonly type: "function";
|
|
22529
|
+
readonly name: "setSiloedBorrowing";
|
|
22530
|
+
readonly inputs: readonly [{
|
|
22531
|
+
readonly name: "asset";
|
|
22532
|
+
readonly type: "address";
|
|
22533
|
+
readonly internalType: "address";
|
|
22534
|
+
}, {
|
|
22535
|
+
readonly name: "siloed";
|
|
22536
|
+
readonly type: "bool";
|
|
22537
|
+
readonly internalType: "bool";
|
|
22538
|
+
}];
|
|
22539
|
+
readonly outputs: readonly [];
|
|
22540
|
+
readonly stateMutability: "nonpayable";
|
|
22541
|
+
}, {
|
|
22542
|
+
readonly type: "function";
|
|
22543
|
+
readonly name: "setSupplyCap";
|
|
22544
|
+
readonly inputs: readonly [{
|
|
22545
|
+
readonly name: "asset";
|
|
22546
|
+
readonly type: "address";
|
|
22547
|
+
readonly internalType: "address";
|
|
22548
|
+
}, {
|
|
22549
|
+
readonly name: "newSupplyCap";
|
|
22550
|
+
readonly type: "uint256";
|
|
22551
|
+
readonly internalType: "uint256";
|
|
22552
|
+
}];
|
|
22553
|
+
readonly outputs: readonly [];
|
|
22554
|
+
readonly stateMutability: "nonpayable";
|
|
22555
|
+
}, {
|
|
22556
|
+
readonly type: "function";
|
|
22557
|
+
readonly name: "setUnbackedMintCap";
|
|
22558
|
+
readonly inputs: readonly [{
|
|
22559
|
+
readonly name: "asset";
|
|
22560
|
+
readonly type: "address";
|
|
22561
|
+
readonly internalType: "address";
|
|
22562
|
+
}, {
|
|
22563
|
+
readonly name: "newUnbackedMintCap";
|
|
22564
|
+
readonly type: "uint256";
|
|
22565
|
+
readonly internalType: "uint256";
|
|
22566
|
+
}];
|
|
22567
|
+
readonly outputs: readonly [];
|
|
22568
|
+
readonly stateMutability: "nonpayable";
|
|
22569
|
+
}, {
|
|
22570
|
+
readonly type: "function";
|
|
22571
|
+
readonly name: "updateAToken";
|
|
22572
|
+
readonly inputs: readonly [{
|
|
22573
|
+
readonly name: "input";
|
|
22574
|
+
readonly type: "tuple";
|
|
22575
|
+
readonly internalType: "struct ConfiguratorInputTypes.UpdateATokenInput";
|
|
22576
|
+
readonly components: readonly [{
|
|
22577
|
+
readonly name: "asset";
|
|
22578
|
+
readonly type: "address";
|
|
22579
|
+
readonly internalType: "address";
|
|
22580
|
+
}, {
|
|
22581
|
+
readonly name: "treasury";
|
|
22582
|
+
readonly type: "address";
|
|
22583
|
+
readonly internalType: "address";
|
|
22584
|
+
}, {
|
|
22585
|
+
readonly name: "incentivesController";
|
|
22586
|
+
readonly type: "address";
|
|
22587
|
+
readonly internalType: "address";
|
|
22588
|
+
}, {
|
|
22589
|
+
readonly name: "name";
|
|
22590
|
+
readonly type: "string";
|
|
22591
|
+
readonly internalType: "string";
|
|
22592
|
+
}, {
|
|
22593
|
+
readonly name: "symbol";
|
|
22594
|
+
readonly type: "string";
|
|
22595
|
+
readonly internalType: "string";
|
|
22596
|
+
}, {
|
|
22597
|
+
readonly name: "implementation";
|
|
22598
|
+
readonly type: "address";
|
|
22599
|
+
readonly internalType: "address";
|
|
22600
|
+
}, {
|
|
22601
|
+
readonly name: "params";
|
|
22602
|
+
readonly type: "bytes";
|
|
22603
|
+
readonly internalType: "bytes";
|
|
22604
|
+
}];
|
|
22605
|
+
}];
|
|
22606
|
+
readonly outputs: readonly [];
|
|
22607
|
+
readonly stateMutability: "nonpayable";
|
|
22608
|
+
}, {
|
|
22609
|
+
readonly type: "function";
|
|
22610
|
+
readonly name: "updateBridgeProtocolFee";
|
|
22611
|
+
readonly inputs: readonly [{
|
|
22612
|
+
readonly name: "newBridgeProtocolFee";
|
|
22613
|
+
readonly type: "uint256";
|
|
22614
|
+
readonly internalType: "uint256";
|
|
22615
|
+
}];
|
|
22616
|
+
readonly outputs: readonly [];
|
|
22617
|
+
readonly stateMutability: "nonpayable";
|
|
22618
|
+
}, {
|
|
22619
|
+
readonly type: "function";
|
|
22620
|
+
readonly name: "updateFlashloanPremiumToProtocol";
|
|
22621
|
+
readonly inputs: readonly [{
|
|
22622
|
+
readonly name: "newFlashloanPremiumToProtocol";
|
|
22623
|
+
readonly type: "uint128";
|
|
22624
|
+
readonly internalType: "uint128";
|
|
22625
|
+
}];
|
|
22626
|
+
readonly outputs: readonly [];
|
|
22627
|
+
readonly stateMutability: "nonpayable";
|
|
22628
|
+
}, {
|
|
22629
|
+
readonly type: "function";
|
|
22630
|
+
readonly name: "updateFlashloanPremiumTotal";
|
|
22631
|
+
readonly inputs: readonly [{
|
|
22632
|
+
readonly name: "newFlashloanPremiumTotal";
|
|
22633
|
+
readonly type: "uint128";
|
|
22634
|
+
readonly internalType: "uint128";
|
|
22635
|
+
}];
|
|
22636
|
+
readonly outputs: readonly [];
|
|
22637
|
+
readonly stateMutability: "nonpayable";
|
|
22638
|
+
}, {
|
|
22639
|
+
readonly type: "function";
|
|
22640
|
+
readonly name: "updateVariableDebtToken";
|
|
22641
|
+
readonly inputs: readonly [{
|
|
22642
|
+
readonly name: "input";
|
|
22643
|
+
readonly type: "tuple";
|
|
22644
|
+
readonly internalType: "struct ConfiguratorInputTypes.UpdateDebtTokenInput";
|
|
22645
|
+
readonly components: readonly [{
|
|
22646
|
+
readonly name: "asset";
|
|
22647
|
+
readonly type: "address";
|
|
22648
|
+
readonly internalType: "address";
|
|
22649
|
+
}, {
|
|
22650
|
+
readonly name: "incentivesController";
|
|
22651
|
+
readonly type: "address";
|
|
22652
|
+
readonly internalType: "address";
|
|
22653
|
+
}, {
|
|
22654
|
+
readonly name: "name";
|
|
22655
|
+
readonly type: "string";
|
|
22656
|
+
readonly internalType: "string";
|
|
22657
|
+
}, {
|
|
22658
|
+
readonly name: "symbol";
|
|
22659
|
+
readonly type: "string";
|
|
22660
|
+
readonly internalType: "string";
|
|
22661
|
+
}, {
|
|
22662
|
+
readonly name: "implementation";
|
|
22663
|
+
readonly type: "address";
|
|
22664
|
+
readonly internalType: "address";
|
|
22665
|
+
}, {
|
|
22666
|
+
readonly name: "params";
|
|
22667
|
+
readonly type: "bytes";
|
|
22668
|
+
readonly internalType: "bytes";
|
|
22669
|
+
}];
|
|
22670
|
+
}];
|
|
22671
|
+
readonly outputs: readonly [];
|
|
22672
|
+
readonly stateMutability: "nonpayable";
|
|
22673
|
+
}, {
|
|
22674
|
+
readonly type: "event";
|
|
22675
|
+
readonly name: "ATokenUpgraded";
|
|
22676
|
+
readonly inputs: readonly [{
|
|
22677
|
+
readonly name: "asset";
|
|
22678
|
+
readonly type: "address";
|
|
22679
|
+
readonly indexed: true;
|
|
22680
|
+
readonly internalType: "address";
|
|
22681
|
+
}, {
|
|
22682
|
+
readonly name: "proxy";
|
|
22683
|
+
readonly type: "address";
|
|
22684
|
+
readonly indexed: true;
|
|
22685
|
+
readonly internalType: "address";
|
|
22686
|
+
}, {
|
|
22687
|
+
readonly name: "implementation";
|
|
22688
|
+
readonly type: "address";
|
|
22689
|
+
readonly indexed: true;
|
|
22690
|
+
readonly internalType: "address";
|
|
22691
|
+
}];
|
|
22692
|
+
readonly anonymous: false;
|
|
22693
|
+
}, {
|
|
22694
|
+
readonly type: "event";
|
|
22695
|
+
readonly name: "AssetBorrowableInEModeChanged";
|
|
22696
|
+
readonly inputs: readonly [{
|
|
22697
|
+
readonly name: "asset";
|
|
22698
|
+
readonly type: "address";
|
|
22699
|
+
readonly indexed: true;
|
|
22700
|
+
readonly internalType: "address";
|
|
22701
|
+
}, {
|
|
22702
|
+
readonly name: "categoryId";
|
|
22703
|
+
readonly type: "uint8";
|
|
22704
|
+
readonly indexed: false;
|
|
22705
|
+
readonly internalType: "uint8";
|
|
22706
|
+
}, {
|
|
22707
|
+
readonly name: "borrowable";
|
|
22708
|
+
readonly type: "bool";
|
|
22709
|
+
readonly indexed: false;
|
|
22710
|
+
readonly internalType: "bool";
|
|
22711
|
+
}];
|
|
22712
|
+
readonly anonymous: false;
|
|
22713
|
+
}, {
|
|
22714
|
+
readonly type: "event";
|
|
22715
|
+
readonly name: "AssetCollateralInEModeChanged";
|
|
22716
|
+
readonly inputs: readonly [{
|
|
22717
|
+
readonly name: "asset";
|
|
22718
|
+
readonly type: "address";
|
|
22719
|
+
readonly indexed: true;
|
|
22720
|
+
readonly internalType: "address";
|
|
22721
|
+
}, {
|
|
22722
|
+
readonly name: "categoryId";
|
|
22723
|
+
readonly type: "uint8";
|
|
22724
|
+
readonly indexed: false;
|
|
22725
|
+
readonly internalType: "uint8";
|
|
22726
|
+
}, {
|
|
22727
|
+
readonly name: "collateral";
|
|
22728
|
+
readonly type: "bool";
|
|
22729
|
+
readonly indexed: false;
|
|
22730
|
+
readonly internalType: "bool";
|
|
22731
|
+
}];
|
|
22732
|
+
readonly anonymous: false;
|
|
22733
|
+
}, {
|
|
22734
|
+
readonly type: "event";
|
|
22735
|
+
readonly name: "BorrowCapChanged";
|
|
22736
|
+
readonly inputs: readonly [{
|
|
22737
|
+
readonly name: "asset";
|
|
22738
|
+
readonly type: "address";
|
|
22739
|
+
readonly indexed: true;
|
|
22740
|
+
readonly internalType: "address";
|
|
22741
|
+
}, {
|
|
22742
|
+
readonly name: "oldBorrowCap";
|
|
22743
|
+
readonly type: "uint256";
|
|
22744
|
+
readonly indexed: false;
|
|
22745
|
+
readonly internalType: "uint256";
|
|
22746
|
+
}, {
|
|
22747
|
+
readonly name: "newBorrowCap";
|
|
22748
|
+
readonly type: "uint256";
|
|
22749
|
+
readonly indexed: false;
|
|
22750
|
+
readonly internalType: "uint256";
|
|
22751
|
+
}];
|
|
22752
|
+
readonly anonymous: false;
|
|
22753
|
+
}, {
|
|
22754
|
+
readonly type: "event";
|
|
22755
|
+
readonly name: "BorrowableInIsolationChanged";
|
|
22756
|
+
readonly inputs: readonly [{
|
|
22757
|
+
readonly name: "asset";
|
|
22758
|
+
readonly type: "address";
|
|
22759
|
+
readonly indexed: false;
|
|
22760
|
+
readonly internalType: "address";
|
|
22761
|
+
}, {
|
|
22762
|
+
readonly name: "borrowable";
|
|
22763
|
+
readonly type: "bool";
|
|
22764
|
+
readonly indexed: false;
|
|
22765
|
+
readonly internalType: "bool";
|
|
22766
|
+
}];
|
|
22767
|
+
readonly anonymous: false;
|
|
22768
|
+
}, {
|
|
22769
|
+
readonly type: "event";
|
|
22770
|
+
readonly name: "BridgeProtocolFeeUpdated";
|
|
22771
|
+
readonly inputs: readonly [{
|
|
22772
|
+
readonly name: "oldBridgeProtocolFee";
|
|
22773
|
+
readonly type: "uint256";
|
|
22774
|
+
readonly indexed: false;
|
|
22775
|
+
readonly internalType: "uint256";
|
|
22776
|
+
}, {
|
|
22777
|
+
readonly name: "newBridgeProtocolFee";
|
|
22778
|
+
readonly type: "uint256";
|
|
22779
|
+
readonly indexed: false;
|
|
22780
|
+
readonly internalType: "uint256";
|
|
22781
|
+
}];
|
|
22782
|
+
readonly anonymous: false;
|
|
22783
|
+
}, {
|
|
22784
|
+
readonly type: "event";
|
|
22785
|
+
readonly name: "CollateralConfigurationChanged";
|
|
22786
|
+
readonly inputs: readonly [{
|
|
22787
|
+
readonly name: "asset";
|
|
22788
|
+
readonly type: "address";
|
|
22789
|
+
readonly indexed: true;
|
|
22790
|
+
readonly internalType: "address";
|
|
22791
|
+
}, {
|
|
22792
|
+
readonly name: "ltv";
|
|
22793
|
+
readonly type: "uint256";
|
|
22794
|
+
readonly indexed: false;
|
|
22795
|
+
readonly internalType: "uint256";
|
|
22796
|
+
}, {
|
|
22797
|
+
readonly name: "liquidationThreshold";
|
|
22798
|
+
readonly type: "uint256";
|
|
22799
|
+
readonly indexed: false;
|
|
22800
|
+
readonly internalType: "uint256";
|
|
22801
|
+
}, {
|
|
22802
|
+
readonly name: "liquidationBonus";
|
|
22803
|
+
readonly type: "uint256";
|
|
22804
|
+
readonly indexed: false;
|
|
22805
|
+
readonly internalType: "uint256";
|
|
22806
|
+
}];
|
|
22807
|
+
readonly anonymous: false;
|
|
22808
|
+
}, {
|
|
22809
|
+
readonly type: "event";
|
|
22810
|
+
readonly name: "DebtCeilingChanged";
|
|
22811
|
+
readonly inputs: readonly [{
|
|
22812
|
+
readonly name: "asset";
|
|
22813
|
+
readonly type: "address";
|
|
22814
|
+
readonly indexed: true;
|
|
22815
|
+
readonly internalType: "address";
|
|
22816
|
+
}, {
|
|
22817
|
+
readonly name: "oldDebtCeiling";
|
|
22818
|
+
readonly type: "uint256";
|
|
22819
|
+
readonly indexed: false;
|
|
22820
|
+
readonly internalType: "uint256";
|
|
22821
|
+
}, {
|
|
22822
|
+
readonly name: "newDebtCeiling";
|
|
22823
|
+
readonly type: "uint256";
|
|
22824
|
+
readonly indexed: false;
|
|
22825
|
+
readonly internalType: "uint256";
|
|
22826
|
+
}];
|
|
22827
|
+
readonly anonymous: false;
|
|
22828
|
+
}, {
|
|
22829
|
+
readonly type: "event";
|
|
22830
|
+
readonly name: "EModeCategoryAdded";
|
|
22831
|
+
readonly inputs: readonly [{
|
|
22832
|
+
readonly name: "categoryId";
|
|
22833
|
+
readonly type: "uint8";
|
|
22834
|
+
readonly indexed: true;
|
|
22835
|
+
readonly internalType: "uint8";
|
|
22836
|
+
}, {
|
|
22837
|
+
readonly name: "ltv";
|
|
22838
|
+
readonly type: "uint256";
|
|
22839
|
+
readonly indexed: false;
|
|
22840
|
+
readonly internalType: "uint256";
|
|
22841
|
+
}, {
|
|
22842
|
+
readonly name: "liquidationThreshold";
|
|
22843
|
+
readonly type: "uint256";
|
|
22844
|
+
readonly indexed: false;
|
|
22845
|
+
readonly internalType: "uint256";
|
|
22846
|
+
}, {
|
|
22847
|
+
readonly name: "liquidationBonus";
|
|
22848
|
+
readonly type: "uint256";
|
|
22849
|
+
readonly indexed: false;
|
|
22850
|
+
readonly internalType: "uint256";
|
|
22851
|
+
}, {
|
|
22852
|
+
readonly name: "oracle";
|
|
22853
|
+
readonly type: "address";
|
|
22854
|
+
readonly indexed: false;
|
|
22855
|
+
readonly internalType: "address";
|
|
22856
|
+
}, {
|
|
22857
|
+
readonly name: "label";
|
|
22858
|
+
readonly type: "string";
|
|
22859
|
+
readonly indexed: false;
|
|
22860
|
+
readonly internalType: "string";
|
|
22861
|
+
}];
|
|
22862
|
+
readonly anonymous: false;
|
|
22863
|
+
}, {
|
|
22864
|
+
readonly type: "event";
|
|
22865
|
+
readonly name: "FlashloanPremiumToProtocolUpdated";
|
|
22866
|
+
readonly inputs: readonly [{
|
|
22867
|
+
readonly name: "oldFlashloanPremiumToProtocol";
|
|
22868
|
+
readonly type: "uint128";
|
|
22869
|
+
readonly indexed: false;
|
|
22870
|
+
readonly internalType: "uint128";
|
|
22871
|
+
}, {
|
|
22872
|
+
readonly name: "newFlashloanPremiumToProtocol";
|
|
22873
|
+
readonly type: "uint128";
|
|
22874
|
+
readonly indexed: false;
|
|
22875
|
+
readonly internalType: "uint128";
|
|
22876
|
+
}];
|
|
22877
|
+
readonly anonymous: false;
|
|
22878
|
+
}, {
|
|
22879
|
+
readonly type: "event";
|
|
22880
|
+
readonly name: "FlashloanPremiumTotalUpdated";
|
|
22881
|
+
readonly inputs: readonly [{
|
|
22882
|
+
readonly name: "oldFlashloanPremiumTotal";
|
|
22883
|
+
readonly type: "uint128";
|
|
22884
|
+
readonly indexed: false;
|
|
22885
|
+
readonly internalType: "uint128";
|
|
22886
|
+
}, {
|
|
22887
|
+
readonly name: "newFlashloanPremiumTotal";
|
|
22888
|
+
readonly type: "uint128";
|
|
22889
|
+
readonly indexed: false;
|
|
22890
|
+
readonly internalType: "uint128";
|
|
22891
|
+
}];
|
|
22892
|
+
readonly anonymous: false;
|
|
22893
|
+
}, {
|
|
22894
|
+
readonly type: "event";
|
|
22895
|
+
readonly name: "LiquidationGracePeriodChanged";
|
|
22896
|
+
readonly inputs: readonly [{
|
|
22897
|
+
readonly name: "asset";
|
|
22898
|
+
readonly type: "address";
|
|
22899
|
+
readonly indexed: true;
|
|
22900
|
+
readonly internalType: "address";
|
|
22901
|
+
}, {
|
|
22902
|
+
readonly name: "gracePeriodUntil";
|
|
22903
|
+
readonly type: "uint40";
|
|
22904
|
+
readonly indexed: false;
|
|
22905
|
+
readonly internalType: "uint40";
|
|
22906
|
+
}];
|
|
22907
|
+
readonly anonymous: false;
|
|
22908
|
+
}, {
|
|
22909
|
+
readonly type: "event";
|
|
22910
|
+
readonly name: "LiquidationGracePeriodDisabled";
|
|
22911
|
+
readonly inputs: readonly [{
|
|
22912
|
+
readonly name: "asset";
|
|
22913
|
+
readonly type: "address";
|
|
22914
|
+
readonly indexed: true;
|
|
22915
|
+
readonly internalType: "address";
|
|
22916
|
+
}];
|
|
22917
|
+
readonly anonymous: false;
|
|
22918
|
+
}, {
|
|
22919
|
+
readonly type: "event";
|
|
22920
|
+
readonly name: "LiquidationProtocolFeeChanged";
|
|
22921
|
+
readonly inputs: readonly [{
|
|
22922
|
+
readonly name: "asset";
|
|
22923
|
+
readonly type: "address";
|
|
22924
|
+
readonly indexed: true;
|
|
22925
|
+
readonly internalType: "address";
|
|
22926
|
+
}, {
|
|
22927
|
+
readonly name: "oldFee";
|
|
22928
|
+
readonly type: "uint256";
|
|
22929
|
+
readonly indexed: false;
|
|
22930
|
+
readonly internalType: "uint256";
|
|
22931
|
+
}, {
|
|
22932
|
+
readonly name: "newFee";
|
|
22933
|
+
readonly type: "uint256";
|
|
22934
|
+
readonly indexed: false;
|
|
22935
|
+
readonly internalType: "uint256";
|
|
22936
|
+
}];
|
|
22937
|
+
readonly anonymous: false;
|
|
22938
|
+
}, {
|
|
22939
|
+
readonly type: "event";
|
|
22940
|
+
readonly name: "PendingLtvChanged";
|
|
22941
|
+
readonly inputs: readonly [{
|
|
22942
|
+
readonly name: "asset";
|
|
22943
|
+
readonly type: "address";
|
|
22944
|
+
readonly indexed: true;
|
|
22945
|
+
readonly internalType: "address";
|
|
22946
|
+
}, {
|
|
22947
|
+
readonly name: "ltv";
|
|
22948
|
+
readonly type: "uint256";
|
|
22949
|
+
readonly indexed: false;
|
|
22950
|
+
readonly internalType: "uint256";
|
|
22951
|
+
}];
|
|
22952
|
+
readonly anonymous: false;
|
|
22953
|
+
}, {
|
|
22954
|
+
readonly type: "event";
|
|
22955
|
+
readonly name: "ReserveActive";
|
|
22956
|
+
readonly inputs: readonly [{
|
|
22957
|
+
readonly name: "asset";
|
|
22958
|
+
readonly type: "address";
|
|
22959
|
+
readonly indexed: true;
|
|
22960
|
+
readonly internalType: "address";
|
|
22961
|
+
}, {
|
|
22962
|
+
readonly name: "active";
|
|
22963
|
+
readonly type: "bool";
|
|
22964
|
+
readonly indexed: false;
|
|
22965
|
+
readonly internalType: "bool";
|
|
22966
|
+
}];
|
|
22967
|
+
readonly anonymous: false;
|
|
22968
|
+
}, {
|
|
22969
|
+
readonly type: "event";
|
|
22970
|
+
readonly name: "ReserveBorrowing";
|
|
22971
|
+
readonly inputs: readonly [{
|
|
22972
|
+
readonly name: "asset";
|
|
22973
|
+
readonly type: "address";
|
|
22974
|
+
readonly indexed: true;
|
|
22975
|
+
readonly internalType: "address";
|
|
22976
|
+
}, {
|
|
22977
|
+
readonly name: "enabled";
|
|
22978
|
+
readonly type: "bool";
|
|
22979
|
+
readonly indexed: false;
|
|
22980
|
+
readonly internalType: "bool";
|
|
22981
|
+
}];
|
|
22982
|
+
readonly anonymous: false;
|
|
22983
|
+
}, {
|
|
22984
|
+
readonly type: "event";
|
|
22985
|
+
readonly name: "ReserveDropped";
|
|
22986
|
+
readonly inputs: readonly [{
|
|
22987
|
+
readonly name: "asset";
|
|
22988
|
+
readonly type: "address";
|
|
22989
|
+
readonly indexed: true;
|
|
22990
|
+
readonly internalType: "address";
|
|
22991
|
+
}];
|
|
22992
|
+
readonly anonymous: false;
|
|
22993
|
+
}, {
|
|
22994
|
+
readonly type: "event";
|
|
22995
|
+
readonly name: "ReserveFactorChanged";
|
|
22996
|
+
readonly inputs: readonly [{
|
|
22997
|
+
readonly name: "asset";
|
|
22998
|
+
readonly type: "address";
|
|
22999
|
+
readonly indexed: true;
|
|
23000
|
+
readonly internalType: "address";
|
|
23001
|
+
}, {
|
|
23002
|
+
readonly name: "oldReserveFactor";
|
|
23003
|
+
readonly type: "uint256";
|
|
23004
|
+
readonly indexed: false;
|
|
23005
|
+
readonly internalType: "uint256";
|
|
23006
|
+
}, {
|
|
23007
|
+
readonly name: "newReserveFactor";
|
|
23008
|
+
readonly type: "uint256";
|
|
23009
|
+
readonly indexed: false;
|
|
23010
|
+
readonly internalType: "uint256";
|
|
23011
|
+
}];
|
|
23012
|
+
readonly anonymous: false;
|
|
23013
|
+
}, {
|
|
23014
|
+
readonly type: "event";
|
|
23015
|
+
readonly name: "ReserveFlashLoaning";
|
|
23016
|
+
readonly inputs: readonly [{
|
|
23017
|
+
readonly name: "asset";
|
|
23018
|
+
readonly type: "address";
|
|
23019
|
+
readonly indexed: true;
|
|
23020
|
+
readonly internalType: "address";
|
|
23021
|
+
}, {
|
|
23022
|
+
readonly name: "enabled";
|
|
23023
|
+
readonly type: "bool";
|
|
23024
|
+
readonly indexed: false;
|
|
23025
|
+
readonly internalType: "bool";
|
|
23026
|
+
}];
|
|
23027
|
+
readonly anonymous: false;
|
|
23028
|
+
}, {
|
|
23029
|
+
readonly type: "event";
|
|
23030
|
+
readonly name: "ReserveFrozen";
|
|
23031
|
+
readonly inputs: readonly [{
|
|
23032
|
+
readonly name: "asset";
|
|
23033
|
+
readonly type: "address";
|
|
23034
|
+
readonly indexed: true;
|
|
23035
|
+
readonly internalType: "address";
|
|
23036
|
+
}, {
|
|
23037
|
+
readonly name: "frozen";
|
|
23038
|
+
readonly type: "bool";
|
|
23039
|
+
readonly indexed: false;
|
|
23040
|
+
readonly internalType: "bool";
|
|
23041
|
+
}];
|
|
23042
|
+
readonly anonymous: false;
|
|
23043
|
+
}, {
|
|
23044
|
+
readonly type: "event";
|
|
23045
|
+
readonly name: "ReserveInitialized";
|
|
23046
|
+
readonly inputs: readonly [{
|
|
23047
|
+
readonly name: "asset";
|
|
23048
|
+
readonly type: "address";
|
|
23049
|
+
readonly indexed: true;
|
|
23050
|
+
readonly internalType: "address";
|
|
23051
|
+
}, {
|
|
23052
|
+
readonly name: "aToken";
|
|
23053
|
+
readonly type: "address";
|
|
23054
|
+
readonly indexed: true;
|
|
23055
|
+
readonly internalType: "address";
|
|
23056
|
+
}, {
|
|
23057
|
+
readonly name: "stableDebtToken";
|
|
23058
|
+
readonly type: "address";
|
|
23059
|
+
readonly indexed: false;
|
|
23060
|
+
readonly internalType: "address";
|
|
23061
|
+
}, {
|
|
23062
|
+
readonly name: "variableDebtToken";
|
|
23063
|
+
readonly type: "address";
|
|
23064
|
+
readonly indexed: false;
|
|
23065
|
+
readonly internalType: "address";
|
|
23066
|
+
}, {
|
|
23067
|
+
readonly name: "interestRateStrategyAddress";
|
|
23068
|
+
readonly type: "address";
|
|
23069
|
+
readonly indexed: false;
|
|
23070
|
+
readonly internalType: "address";
|
|
23071
|
+
}];
|
|
23072
|
+
readonly anonymous: false;
|
|
23073
|
+
}, {
|
|
23074
|
+
readonly type: "event";
|
|
23075
|
+
readonly name: "ReserveInterestRateDataChanged";
|
|
23076
|
+
readonly inputs: readonly [{
|
|
23077
|
+
readonly name: "asset";
|
|
23078
|
+
readonly type: "address";
|
|
23079
|
+
readonly indexed: true;
|
|
23080
|
+
readonly internalType: "address";
|
|
23081
|
+
}, {
|
|
23082
|
+
readonly name: "strategy";
|
|
23083
|
+
readonly type: "address";
|
|
23084
|
+
readonly indexed: true;
|
|
23085
|
+
readonly internalType: "address";
|
|
23086
|
+
}, {
|
|
23087
|
+
readonly name: "data";
|
|
23088
|
+
readonly type: "bytes";
|
|
23089
|
+
readonly indexed: false;
|
|
23090
|
+
readonly internalType: "bytes";
|
|
23091
|
+
}];
|
|
23092
|
+
readonly anonymous: false;
|
|
23093
|
+
}, {
|
|
23094
|
+
readonly type: "event";
|
|
23095
|
+
readonly name: "ReserveInterestRateStrategyChanged";
|
|
23096
|
+
readonly inputs: readonly [{
|
|
23097
|
+
readonly name: "asset";
|
|
23098
|
+
readonly type: "address";
|
|
23099
|
+
readonly indexed: true;
|
|
23100
|
+
readonly internalType: "address";
|
|
23101
|
+
}, {
|
|
23102
|
+
readonly name: "oldStrategy";
|
|
23103
|
+
readonly type: "address";
|
|
23104
|
+
readonly indexed: false;
|
|
23105
|
+
readonly internalType: "address";
|
|
23106
|
+
}, {
|
|
23107
|
+
readonly name: "newStrategy";
|
|
23108
|
+
readonly type: "address";
|
|
23109
|
+
readonly indexed: false;
|
|
23110
|
+
readonly internalType: "address";
|
|
23111
|
+
}];
|
|
23112
|
+
readonly anonymous: false;
|
|
23113
|
+
}, {
|
|
23114
|
+
readonly type: "event";
|
|
23115
|
+
readonly name: "ReservePaused";
|
|
23116
|
+
readonly inputs: readonly [{
|
|
23117
|
+
readonly name: "asset";
|
|
23118
|
+
readonly type: "address";
|
|
23119
|
+
readonly indexed: true;
|
|
23120
|
+
readonly internalType: "address";
|
|
23121
|
+
}, {
|
|
23122
|
+
readonly name: "paused";
|
|
23123
|
+
readonly type: "bool";
|
|
23124
|
+
readonly indexed: false;
|
|
23125
|
+
readonly internalType: "bool";
|
|
23126
|
+
}];
|
|
23127
|
+
readonly anonymous: false;
|
|
23128
|
+
}, {
|
|
23129
|
+
readonly type: "event";
|
|
23130
|
+
readonly name: "SiloedBorrowingChanged";
|
|
23131
|
+
readonly inputs: readonly [{
|
|
23132
|
+
readonly name: "asset";
|
|
23133
|
+
readonly type: "address";
|
|
23134
|
+
readonly indexed: true;
|
|
23135
|
+
readonly internalType: "address";
|
|
23136
|
+
}, {
|
|
23137
|
+
readonly name: "oldState";
|
|
23138
|
+
readonly type: "bool";
|
|
23139
|
+
readonly indexed: false;
|
|
23140
|
+
readonly internalType: "bool";
|
|
23141
|
+
}, {
|
|
23142
|
+
readonly name: "newState";
|
|
23143
|
+
readonly type: "bool";
|
|
23144
|
+
readonly indexed: false;
|
|
23145
|
+
readonly internalType: "bool";
|
|
23146
|
+
}];
|
|
23147
|
+
readonly anonymous: false;
|
|
23148
|
+
}, {
|
|
23149
|
+
readonly type: "event";
|
|
23150
|
+
readonly name: "SupplyCapChanged";
|
|
23151
|
+
readonly inputs: readonly [{
|
|
23152
|
+
readonly name: "asset";
|
|
23153
|
+
readonly type: "address";
|
|
23154
|
+
readonly indexed: true;
|
|
23155
|
+
readonly internalType: "address";
|
|
23156
|
+
}, {
|
|
23157
|
+
readonly name: "oldSupplyCap";
|
|
23158
|
+
readonly type: "uint256";
|
|
23159
|
+
readonly indexed: false;
|
|
23160
|
+
readonly internalType: "uint256";
|
|
23161
|
+
}, {
|
|
23162
|
+
readonly name: "newSupplyCap";
|
|
23163
|
+
readonly type: "uint256";
|
|
23164
|
+
readonly indexed: false;
|
|
23165
|
+
readonly internalType: "uint256";
|
|
23166
|
+
}];
|
|
23167
|
+
readonly anonymous: false;
|
|
23168
|
+
}, {
|
|
23169
|
+
readonly type: "event";
|
|
23170
|
+
readonly name: "UnbackedMintCapChanged";
|
|
23171
|
+
readonly inputs: readonly [{
|
|
23172
|
+
readonly name: "asset";
|
|
23173
|
+
readonly type: "address";
|
|
23174
|
+
readonly indexed: true;
|
|
23175
|
+
readonly internalType: "address";
|
|
23176
|
+
}, {
|
|
23177
|
+
readonly name: "oldUnbackedMintCap";
|
|
23178
|
+
readonly type: "uint256";
|
|
23179
|
+
readonly indexed: false;
|
|
23180
|
+
readonly internalType: "uint256";
|
|
23181
|
+
}, {
|
|
23182
|
+
readonly name: "newUnbackedMintCap";
|
|
23183
|
+
readonly type: "uint256";
|
|
23184
|
+
readonly indexed: false;
|
|
23185
|
+
readonly internalType: "uint256";
|
|
23186
|
+
}];
|
|
23187
|
+
readonly anonymous: false;
|
|
23188
|
+
}, {
|
|
23189
|
+
readonly type: "event";
|
|
23190
|
+
readonly name: "VariableDebtTokenUpgraded";
|
|
23191
|
+
readonly inputs: readonly [{
|
|
23192
|
+
readonly name: "asset";
|
|
23193
|
+
readonly type: "address";
|
|
23194
|
+
readonly indexed: true;
|
|
23195
|
+
readonly internalType: "address";
|
|
23196
|
+
}, {
|
|
23197
|
+
readonly name: "proxy";
|
|
23198
|
+
readonly type: "address";
|
|
23199
|
+
readonly indexed: true;
|
|
23200
|
+
readonly internalType: "address";
|
|
23201
|
+
}, {
|
|
23202
|
+
readonly name: "implementation";
|
|
23203
|
+
readonly type: "address";
|
|
23204
|
+
readonly indexed: true;
|
|
23205
|
+
readonly internalType: "address";
|
|
23206
|
+
}];
|
|
23207
|
+
readonly anonymous: false;
|
|
23208
|
+
}];
|
|
23209
|
+
|
|
21987
23210
|
declare const IERC20_ABI: readonly [{
|
|
21988
23211
|
readonly type: "function";
|
|
21989
23212
|
readonly name: "allowance";
|
|
@@ -22349,4 +23572,4 @@ declare const IAuthorizedForwarder_ABI: readonly [{
|
|
|
22349
23572
|
readonly type: "function";
|
|
22350
23573
|
}];
|
|
22351
23574
|
|
|
22352
|
-
export {
|
|
23575
|
+
export { getExplorer as $, wadDiv as A, fetchImmutablePoolAddresses as B, fetchMutablePoolAddresses as C, fetchPoolAddresses as D, getReserveTokens as E, getReserveConfigurations as F, HUMAN_READABLE_PAYLOAD_STATE as G, HALF_WAD as H, type PayloadsControllerContract as I, getPayloadsController as J, getPayloadStorageOverrides as K, LTV_PRECISION as L, makePayloadExecutableOnTestClient as M, isPayloadFinal as N, getNonFinalizedPayloads as O, PayloadState as P, ProposalState as Q, type ReserveConfiguration as R, type StandardJsonInput as S, HUMAN_READABLE_PROPOSAL_STATE as T, type GovernanceContract as U, getGovernance as V, WAD as W, makeProposalExecutableOnTestClient as X, isProposalFinal as Y, getNonFinalizedProposals as Z, type ExplorerConfig as _, decodeReserveConfiguration as a, IAuthorizedForwarder_ABI as a$, getSourceCode as a0, parseEtherscanStyleSourceCode as a1, type Tenderly_createVnetParamsResponse as a2, tenderly_deleteVnet as a3, tenderly_simVnet as a4, tenderly_getVnet as a5, tenderly_createVnet as a6, type StateObject as a7, type ContractObject as a8, type TenderlySimRequest as a9, erc1967_ImplementationSlot as aA, erc1967_AdminSlot as aB, diffCode as aC, type IndexerTopicState as aD, type GenericIndexerArgs as aE, genericIndexer as aF, parseLogs as aG, SelfdestuctCheckState as aH, checkForSelfdestruct as aI, renderTenderlyReport as aJ, IReserveInterestRateStrategy_ABI as aK, IStataTokenFactory_ABI as aL, IAToken_ABI as aM, IWrappedTokenGatewayV3_ABI as aN, IPoolAddressesProvider_ABI as aO, IStataTokenV2_ABI as aP, IDualAggregator_ABI as aQ, IAaveOracle_ABI as aR, ICollector_ABI as aS, IPool_ABI as aT, AggregatorInterface_ABI as aU, IAaveV3ConfigEngine_ABI as aV, IEmissionManager_ABI as aW, IRewardsController_ABI as aX, IERC20Metadata_ABI as aY, IPoolConfigurator_ABI as aZ, IERC20_ABI as a_, tenderly_sim as aa, EVENT_DB as ab, ChainId as ac, ChainList as ad, publicRPCs as ae, alchemySupportedChainIds as af, getNetworkEnv as ag, getExplicitRPC as ah, getAlchemyRPC as ai, getPublicRpc as aj, getQuicknodeRpc as ak, getRPCUrl as al, getClient as am, getImplementationSlot as an, getLogsRecursive as ao, getContractDeploymentBlock as ap, type BundleParams as aq, flashbotsOnFetchRequest as ar, flashbotsClientExtension as as, onMevHandler as at, priceUpdateDecoder as au, alchemyNetworkMap as av, quicknodeNetworkMap as aw, etherscanExplorers as ax, routescanExplorers as ay, chainlinkFeeds as az, bitmapToIndexes as b, decodeReserveConfigurationV2 as c, decodeUserConfiguration as d, SECONDS_PER_YEAR as e, aaveAddressesProvider_IncentivesControllerSlot as f, getBits as g, calculateCompoundedInterest as h, calculateLinearInterest as i, getNormalizedIncome as j, getNormalizedDebt as k, getCurrentLiquidityBalance as l, getCurrentDebtBalance as m, calculateHealthFactorFromBalances as n, calculateAvailableBorrowsMarketReferenceCurrency as o, getMarketReferenceCurrencyAndUsdBalance as p, assetToBase as q, calculateHealthFactor as r, setBits as s, RAY as t, HALF_RAY as u, WAD_RAY_RATIO as v, rayMul as w, rayDiv as x, rayToWad as y, wadToRay as z };
|