@defisaver/positions-sdk 2.1.64 → 2.1.67
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/cjs/config/contracts.d.ts +636 -20
- package/cjs/config/contracts.js +7 -3
- package/cjs/contracts.d.ts +21 -3625
- package/esm/config/contracts.d.ts +636 -20
- package/esm/config/contracts.js +7 -3
- package/esm/contracts.d.ts +21 -3625
- package/package.json +1 -1
- package/src/config/contracts.ts +8 -4
package/cjs/contracts.d.ts
CHANGED
|
@@ -62944,24 +62944,6 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
62944
62944
|
}];
|
|
62945
62945
|
readonly stateMutability: "view";
|
|
62946
62946
|
readonly type: "function";
|
|
62947
|
-
}, {
|
|
62948
|
-
readonly inputs: readonly [{
|
|
62949
|
-
readonly internalType: "address";
|
|
62950
|
-
readonly name: "_market";
|
|
62951
|
-
readonly type: "address";
|
|
62952
|
-
}, {
|
|
62953
|
-
readonly internalType: "address";
|
|
62954
|
-
readonly name: "_tokenAddr";
|
|
62955
|
-
readonly type: "address";
|
|
62956
|
-
}, {
|
|
62957
|
-
readonly internalType: "uint256";
|
|
62958
|
-
readonly name: "_rateMode";
|
|
62959
|
-
readonly type: "uint256";
|
|
62960
|
-
}];
|
|
62961
|
-
readonly name: "switchRateMode";
|
|
62962
|
-
readonly outputs: readonly [];
|
|
62963
|
-
readonly stateMutability: "nonpayable";
|
|
62964
|
-
readonly type: "function";
|
|
62965
62947
|
}], "AAVE_REFERRAL_CODE", readonly []>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<number>;
|
|
62966
62948
|
getApyAfterValuesEstimation: (args: readonly [`0x${string}`, readonly {
|
|
62967
62949
|
reserveAddress: `0x${string}`;
|
|
@@ -63580,24 +63562,6 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
63580
63562
|
}];
|
|
63581
63563
|
readonly stateMutability: "view";
|
|
63582
63564
|
readonly type: "function";
|
|
63583
|
-
}, {
|
|
63584
|
-
readonly inputs: readonly [{
|
|
63585
|
-
readonly internalType: "address";
|
|
63586
|
-
readonly name: "_market";
|
|
63587
|
-
readonly type: "address";
|
|
63588
|
-
}, {
|
|
63589
|
-
readonly internalType: "address";
|
|
63590
|
-
readonly name: "_tokenAddr";
|
|
63591
|
-
readonly type: "address";
|
|
63592
|
-
}, {
|
|
63593
|
-
readonly internalType: "uint256";
|
|
63594
|
-
readonly name: "_rateMode";
|
|
63595
|
-
readonly type: "uint256";
|
|
63596
|
-
}];
|
|
63597
|
-
readonly name: "switchRateMode";
|
|
63598
|
-
readonly outputs: readonly [];
|
|
63599
|
-
readonly stateMutability: "nonpayable";
|
|
63600
|
-
readonly type: "function";
|
|
63601
63565
|
}], "getApyAfterValuesEstimation", readonly [`0x${string}`, readonly {
|
|
63602
63566
|
reserveAddress: `0x${string}`;
|
|
63603
63567
|
liquidityAdded: bigint;
|
|
@@ -64220,24 +64184,6 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
64220
64184
|
}];
|
|
64221
64185
|
readonly stateMutability: "view";
|
|
64222
64186
|
readonly type: "function";
|
|
64223
|
-
}, {
|
|
64224
|
-
readonly inputs: readonly [{
|
|
64225
|
-
readonly internalType: "address";
|
|
64226
|
-
readonly name: "_market";
|
|
64227
|
-
readonly type: "address";
|
|
64228
|
-
}, {
|
|
64229
|
-
readonly internalType: "address";
|
|
64230
|
-
readonly name: "_tokenAddr";
|
|
64231
|
-
readonly type: "address";
|
|
64232
|
-
}, {
|
|
64233
|
-
readonly internalType: "uint256";
|
|
64234
|
-
readonly name: "_rateMode";
|
|
64235
|
-
readonly type: "uint256";
|
|
64236
|
-
}];
|
|
64237
|
-
readonly name: "switchRateMode";
|
|
64238
|
-
readonly outputs: readonly [];
|
|
64239
|
-
readonly stateMutability: "nonpayable";
|
|
64240
|
-
readonly type: "function";
|
|
64241
64187
|
}], "getCollFactors", readonly [`0x${string}`, readonly `0x${string}`[]]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
64242
64188
|
getFullTokensInfo: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
64243
64189
|
readonly inputs: readonly [];
|
|
@@ -64851,24 +64797,6 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
64851
64797
|
}];
|
|
64852
64798
|
readonly stateMutability: "view";
|
|
64853
64799
|
readonly type: "function";
|
|
64854
|
-
}, {
|
|
64855
|
-
readonly inputs: readonly [{
|
|
64856
|
-
readonly internalType: "address";
|
|
64857
|
-
readonly name: "_market";
|
|
64858
|
-
readonly type: "address";
|
|
64859
|
-
}, {
|
|
64860
|
-
readonly internalType: "address";
|
|
64861
|
-
readonly name: "_tokenAddr";
|
|
64862
|
-
readonly type: "address";
|
|
64863
|
-
}, {
|
|
64864
|
-
readonly internalType: "uint256";
|
|
64865
|
-
readonly name: "_rateMode";
|
|
64866
|
-
readonly type: "uint256";
|
|
64867
|
-
}];
|
|
64868
|
-
readonly name: "switchRateMode";
|
|
64869
|
-
readonly outputs: readonly [];
|
|
64870
|
-
readonly stateMutability: "nonpayable";
|
|
64871
|
-
readonly type: "function";
|
|
64872
64800
|
}], "getFullTokensInfo", readonly [`0x${string}`, readonly `0x${string}`[]]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly {
|
|
64873
64801
|
aTokenAddress: `0x${string}`;
|
|
64874
64802
|
underlyingTokenAddress: `0x${string}`;
|
|
@@ -65501,24 +65429,6 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
65501
65429
|
}];
|
|
65502
65430
|
readonly stateMutability: "view";
|
|
65503
65431
|
readonly type: "function";
|
|
65504
|
-
}, {
|
|
65505
|
-
readonly inputs: readonly [{
|
|
65506
|
-
readonly internalType: "address";
|
|
65507
|
-
readonly name: "_market";
|
|
65508
|
-
readonly type: "address";
|
|
65509
|
-
}, {
|
|
65510
|
-
readonly internalType: "address";
|
|
65511
|
-
readonly name: "_tokenAddr";
|
|
65512
|
-
readonly type: "address";
|
|
65513
|
-
}, {
|
|
65514
|
-
readonly internalType: "uint256";
|
|
65515
|
-
readonly name: "_rateMode";
|
|
65516
|
-
readonly type: "uint256";
|
|
65517
|
-
}];
|
|
65518
|
-
readonly name: "switchRateMode";
|
|
65519
|
-
readonly outputs: readonly [];
|
|
65520
|
-
readonly stateMutability: "nonpayable";
|
|
65521
|
-
readonly type: "function";
|
|
65522
65432
|
}], "getLoanData", readonly [`0x${string}`, `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{
|
|
65523
65433
|
user: `0x${string}`;
|
|
65524
65434
|
ratio: bigint;
|
|
@@ -66141,24 +66051,6 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
66141
66051
|
}];
|
|
66142
66052
|
readonly stateMutability: "view";
|
|
66143
66053
|
readonly type: "function";
|
|
66144
|
-
}, {
|
|
66145
|
-
readonly inputs: readonly [{
|
|
66146
|
-
readonly internalType: "address";
|
|
66147
|
-
readonly name: "_market";
|
|
66148
|
-
readonly type: "address";
|
|
66149
|
-
}, {
|
|
66150
|
-
readonly internalType: "address";
|
|
66151
|
-
readonly name: "_tokenAddr";
|
|
66152
|
-
readonly type: "address";
|
|
66153
|
-
}, {
|
|
66154
|
-
readonly internalType: "uint256";
|
|
66155
|
-
readonly name: "_rateMode";
|
|
66156
|
-
readonly type: "uint256";
|
|
66157
|
-
}];
|
|
66158
|
-
readonly name: "switchRateMode";
|
|
66159
|
-
readonly outputs: readonly [];
|
|
66160
|
-
readonly stateMutability: "nonpayable";
|
|
66161
|
-
readonly type: "function";
|
|
66162
66054
|
}], "getLoanDataArr", readonly [`0x${string}`, readonly `0x${string}`[]]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly {
|
|
66163
66055
|
user: `0x${string}`;
|
|
66164
66056
|
ratio: bigint;
|
|
@@ -66781,24 +66673,6 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
66781
66673
|
}];
|
|
66782
66674
|
readonly stateMutability: "view";
|
|
66783
66675
|
readonly type: "function";
|
|
66784
|
-
}, {
|
|
66785
|
-
readonly inputs: readonly [{
|
|
66786
|
-
readonly internalType: "address";
|
|
66787
|
-
readonly name: "_market";
|
|
66788
|
-
readonly type: "address";
|
|
66789
|
-
}, {
|
|
66790
|
-
readonly internalType: "address";
|
|
66791
|
-
readonly name: "_tokenAddr";
|
|
66792
|
-
readonly type: "address";
|
|
66793
|
-
}, {
|
|
66794
|
-
readonly internalType: "uint256";
|
|
66795
|
-
readonly name: "_rateMode";
|
|
66796
|
-
readonly type: "uint256";
|
|
66797
|
-
}];
|
|
66798
|
-
readonly name: "switchRateMode";
|
|
66799
|
-
readonly outputs: readonly [];
|
|
66800
|
-
readonly stateMutability: "nonpayable";
|
|
66801
|
-
readonly type: "function";
|
|
66802
66676
|
}], "getPrices", readonly [`0x${string}`, readonly `0x${string}`[]]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
66803
66677
|
getRatio: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
66804
66678
|
readonly inputs: readonly [];
|
|
@@ -67412,24 +67286,6 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
67412
67286
|
}];
|
|
67413
67287
|
readonly stateMutability: "view";
|
|
67414
67288
|
readonly type: "function";
|
|
67415
|
-
}, {
|
|
67416
|
-
readonly inputs: readonly [{
|
|
67417
|
-
readonly internalType: "address";
|
|
67418
|
-
readonly name: "_market";
|
|
67419
|
-
readonly type: "address";
|
|
67420
|
-
}, {
|
|
67421
|
-
readonly internalType: "address";
|
|
67422
|
-
readonly name: "_tokenAddr";
|
|
67423
|
-
readonly type: "address";
|
|
67424
|
-
}, {
|
|
67425
|
-
readonly internalType: "uint256";
|
|
67426
|
-
readonly name: "_rateMode";
|
|
67427
|
-
readonly type: "uint256";
|
|
67428
|
-
}];
|
|
67429
|
-
readonly name: "switchRateMode";
|
|
67430
|
-
readonly outputs: readonly [];
|
|
67431
|
-
readonly stateMutability: "nonpayable";
|
|
67432
|
-
readonly type: "function";
|
|
67433
67289
|
}], "getRatio", readonly [`0x${string}`, `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
|
|
67434
67290
|
getRatios: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
67435
67291
|
readonly inputs: readonly [];
|
|
@@ -68043,24 +67899,6 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
68043
67899
|
}];
|
|
68044
67900
|
readonly stateMutability: "view";
|
|
68045
67901
|
readonly type: "function";
|
|
68046
|
-
}, {
|
|
68047
|
-
readonly inputs: readonly [{
|
|
68048
|
-
readonly internalType: "address";
|
|
68049
|
-
readonly name: "_market";
|
|
68050
|
-
readonly type: "address";
|
|
68051
|
-
}, {
|
|
68052
|
-
readonly internalType: "address";
|
|
68053
|
-
readonly name: "_tokenAddr";
|
|
68054
|
-
readonly type: "address";
|
|
68055
|
-
}, {
|
|
68056
|
-
readonly internalType: "uint256";
|
|
68057
|
-
readonly name: "_rateMode";
|
|
68058
|
-
readonly type: "uint256";
|
|
68059
|
-
}];
|
|
68060
|
-
readonly name: "switchRateMode";
|
|
68061
|
-
readonly outputs: readonly [];
|
|
68062
|
-
readonly stateMutability: "nonpayable";
|
|
68063
|
-
readonly type: "function";
|
|
68064
67902
|
}], "getRatios", readonly [`0x${string}`, readonly `0x${string}`[]]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
68065
67903
|
getSafetyRatio: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
68066
67904
|
readonly inputs: readonly [];
|
|
@@ -68674,24 +68512,6 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
68674
68512
|
}];
|
|
68675
68513
|
readonly stateMutability: "view";
|
|
68676
68514
|
readonly type: "function";
|
|
68677
|
-
}, {
|
|
68678
|
-
readonly inputs: readonly [{
|
|
68679
|
-
readonly internalType: "address";
|
|
68680
|
-
readonly name: "_market";
|
|
68681
|
-
readonly type: "address";
|
|
68682
|
-
}, {
|
|
68683
|
-
readonly internalType: "address";
|
|
68684
|
-
readonly name: "_tokenAddr";
|
|
68685
|
-
readonly type: "address";
|
|
68686
|
-
}, {
|
|
68687
|
-
readonly internalType: "uint256";
|
|
68688
|
-
readonly name: "_rateMode";
|
|
68689
|
-
readonly type: "uint256";
|
|
68690
|
-
}];
|
|
68691
|
-
readonly name: "switchRateMode";
|
|
68692
|
-
readonly outputs: readonly [];
|
|
68693
|
-
readonly stateMutability: "nonpayable";
|
|
68694
|
-
readonly type: "function";
|
|
68695
68515
|
}], "getSafetyRatio", readonly [`0x${string}`, `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
|
|
68696
68516
|
getTokenBalances: (args: readonly [`0x${string}`, `0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
68697
68517
|
readonly inputs: readonly [];
|
|
@@ -69305,24 +69125,6 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
69305
69125
|
}];
|
|
69306
69126
|
readonly stateMutability: "view";
|
|
69307
69127
|
readonly type: "function";
|
|
69308
|
-
}, {
|
|
69309
|
-
readonly inputs: readonly [{
|
|
69310
|
-
readonly internalType: "address";
|
|
69311
|
-
readonly name: "_market";
|
|
69312
|
-
readonly type: "address";
|
|
69313
|
-
}, {
|
|
69314
|
-
readonly internalType: "address";
|
|
69315
|
-
readonly name: "_tokenAddr";
|
|
69316
|
-
readonly type: "address";
|
|
69317
|
-
}, {
|
|
69318
|
-
readonly internalType: "uint256";
|
|
69319
|
-
readonly name: "_rateMode";
|
|
69320
|
-
readonly type: "uint256";
|
|
69321
|
-
}];
|
|
69322
|
-
readonly name: "switchRateMode";
|
|
69323
|
-
readonly outputs: readonly [];
|
|
69324
|
-
readonly stateMutability: "nonpayable";
|
|
69325
|
-
readonly type: "function";
|
|
69326
69128
|
}], "getTokenBalances", readonly [`0x${string}`, `0x${string}`, readonly `0x${string}`[]]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly {
|
|
69327
69129
|
token: `0x${string}`;
|
|
69328
69130
|
balance: bigint;
|
|
@@ -69943,24 +69745,6 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
69943
69745
|
}];
|
|
69944
69746
|
readonly stateMutability: "view";
|
|
69945
69747
|
readonly type: "function";
|
|
69946
|
-
}, {
|
|
69947
|
-
readonly inputs: readonly [{
|
|
69948
|
-
readonly internalType: "address";
|
|
69949
|
-
readonly name: "_market";
|
|
69950
|
-
readonly type: "address";
|
|
69951
|
-
}, {
|
|
69952
|
-
readonly internalType: "address";
|
|
69953
|
-
readonly name: "_tokenAddr";
|
|
69954
|
-
readonly type: "address";
|
|
69955
|
-
}, {
|
|
69956
|
-
readonly internalType: "uint256";
|
|
69957
|
-
readonly name: "_rateMode";
|
|
69958
|
-
readonly type: "uint256";
|
|
69959
|
-
}];
|
|
69960
|
-
readonly name: "switchRateMode";
|
|
69961
|
-
readonly outputs: readonly [];
|
|
69962
|
-
readonly stateMutability: "nonpayable";
|
|
69963
|
-
readonly type: "function";
|
|
69964
69748
|
}], "getTokenInfoFull", readonly [`0x${string}`, `0x${string}`, `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{
|
|
69965
69749
|
aTokenAddress: `0x${string}`;
|
|
69966
69750
|
underlyingTokenAddress: `0x${string}`;
|
|
@@ -70593,24 +70377,6 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
70593
70377
|
}];
|
|
70594
70378
|
readonly stateMutability: "view";
|
|
70595
70379
|
readonly type: "function";
|
|
70596
|
-
}, {
|
|
70597
|
-
readonly inputs: readonly [{
|
|
70598
|
-
readonly internalType: "address";
|
|
70599
|
-
readonly name: "_market";
|
|
70600
|
-
readonly type: "address";
|
|
70601
|
-
}, {
|
|
70602
|
-
readonly internalType: "address";
|
|
70603
|
-
readonly name: "_tokenAddr";
|
|
70604
|
-
readonly type: "address";
|
|
70605
|
-
}, {
|
|
70606
|
-
readonly internalType: "uint256";
|
|
70607
|
-
readonly name: "_rateMode";
|
|
70608
|
-
readonly type: "uint256";
|
|
70609
|
-
}];
|
|
70610
|
-
readonly name: "switchRateMode";
|
|
70611
|
-
readonly outputs: readonly [];
|
|
70612
|
-
readonly stateMutability: "nonpayable";
|
|
70613
|
-
readonly type: "function";
|
|
70614
70380
|
}], "getTokensInfo", readonly [`0x${string}`, readonly `0x${string}`[]]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly {
|
|
70615
70381
|
aTokenAddress: `0x${string}`;
|
|
70616
70382
|
underlyingTokenAddress: `0x${string}`;
|
|
@@ -71229,24 +70995,6 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
71229
70995
|
}];
|
|
71230
70996
|
readonly stateMutability: "view";
|
|
71231
70997
|
readonly type: "function";
|
|
71232
|
-
}, {
|
|
71233
|
-
readonly inputs: readonly [{
|
|
71234
|
-
readonly internalType: "address";
|
|
71235
|
-
readonly name: "_market";
|
|
71236
|
-
readonly type: "address";
|
|
71237
|
-
}, {
|
|
71238
|
-
readonly internalType: "address";
|
|
71239
|
-
readonly name: "_tokenAddr";
|
|
71240
|
-
readonly type: "address";
|
|
71241
|
-
}, {
|
|
71242
|
-
readonly internalType: "uint256";
|
|
71243
|
-
readonly name: "_rateMode";
|
|
71244
|
-
readonly type: "uint256";
|
|
71245
|
-
}];
|
|
71246
|
-
readonly name: "switchRateMode";
|
|
71247
|
-
readonly outputs: readonly [];
|
|
71248
|
-
readonly stateMutability: "nonpayable";
|
|
71249
|
-
readonly type: "function";
|
|
71250
70998
|
}], "AaveIncentivesController", readonly []>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>;
|
|
71251
70999
|
DATA_PROVIDER_ID: (options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
71252
71000
|
readonly inputs: readonly [];
|
|
@@ -71860,24 +71608,6 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
71860
71608
|
}];
|
|
71861
71609
|
readonly stateMutability: "view";
|
|
71862
71610
|
readonly type: "function";
|
|
71863
|
-
}, {
|
|
71864
|
-
readonly inputs: readonly [{
|
|
71865
|
-
readonly internalType: "address";
|
|
71866
|
-
readonly name: "_market";
|
|
71867
|
-
readonly type: "address";
|
|
71868
|
-
}, {
|
|
71869
|
-
readonly internalType: "address";
|
|
71870
|
-
readonly name: "_tokenAddr";
|
|
71871
|
-
readonly type: "address";
|
|
71872
|
-
}, {
|
|
71873
|
-
readonly internalType: "uint256";
|
|
71874
|
-
readonly name: "_rateMode";
|
|
71875
|
-
readonly type: "uint256";
|
|
71876
|
-
}];
|
|
71877
|
-
readonly name: "switchRateMode";
|
|
71878
|
-
readonly outputs: readonly [];
|
|
71879
|
-
readonly stateMutability: "nonpayable";
|
|
71880
|
-
readonly type: "function";
|
|
71881
71611
|
}], "DATA_PROVIDER_ID", readonly []>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>;
|
|
71882
71612
|
StakedToken: (options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
71883
71613
|
readonly inputs: readonly [];
|
|
@@ -72491,24 +72221,6 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
72491
72221
|
}];
|
|
72492
72222
|
readonly stateMutability: "view";
|
|
72493
72223
|
readonly type: "function";
|
|
72494
|
-
}, {
|
|
72495
|
-
readonly inputs: readonly [{
|
|
72496
|
-
readonly internalType: "address";
|
|
72497
|
-
readonly name: "_market";
|
|
72498
|
-
readonly type: "address";
|
|
72499
|
-
}, {
|
|
72500
|
-
readonly internalType: "address";
|
|
72501
|
-
readonly name: "_tokenAddr";
|
|
72502
|
-
readonly type: "address";
|
|
72503
|
-
}, {
|
|
72504
|
-
readonly internalType: "uint256";
|
|
72505
|
-
readonly name: "_rateMode";
|
|
72506
|
-
readonly type: "uint256";
|
|
72507
|
-
}];
|
|
72508
|
-
readonly name: "switchRateMode";
|
|
72509
|
-
readonly outputs: readonly [];
|
|
72510
|
-
readonly stateMutability: "nonpayable";
|
|
72511
|
-
readonly type: "function";
|
|
72512
72224
|
}], "StakedToken", readonly []>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>;
|
|
72513
72225
|
getIncentivesRewardsBalance: (args: readonly [readonly `0x${string}`[], `0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
72514
72226
|
readonly inputs: readonly [];
|
|
@@ -73122,3184 +72834,8 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
73122
72834
|
}];
|
|
73123
72835
|
readonly stateMutability: "view";
|
|
73124
72836
|
readonly type: "function";
|
|
73125
|
-
}, {
|
|
73126
|
-
|
|
73127
|
-
readonly internalType: "address";
|
|
73128
|
-
readonly name: "_market";
|
|
73129
|
-
readonly type: "address";
|
|
73130
|
-
}, {
|
|
73131
|
-
readonly internalType: "address";
|
|
73132
|
-
readonly name: "_tokenAddr";
|
|
73133
|
-
readonly type: "address";
|
|
73134
|
-
}, {
|
|
73135
|
-
readonly internalType: "uint256";
|
|
73136
|
-
readonly name: "_rateMode";
|
|
73137
|
-
readonly type: "uint256";
|
|
73138
|
-
}];
|
|
73139
|
-
readonly name: "switchRateMode";
|
|
73140
|
-
readonly outputs: readonly [];
|
|
73141
|
-
readonly stateMutability: "nonpayable";
|
|
73142
|
-
readonly type: "function";
|
|
73143
|
-
}], "getIncentivesRewardsBalance", readonly [readonly `0x${string}`[], `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
|
|
73144
|
-
getStakingRewardsBalance: (args: readonly [`0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
73145
|
-
readonly inputs: readonly [];
|
|
73146
|
-
readonly name: "AAVE_REFERRAL_CODE";
|
|
73147
|
-
readonly outputs: readonly [{
|
|
73148
|
-
readonly internalType: "uint16";
|
|
73149
|
-
readonly name: "";
|
|
73150
|
-
readonly type: "uint16";
|
|
73151
|
-
}];
|
|
73152
|
-
readonly stateMutability: "view";
|
|
73153
|
-
readonly type: "function";
|
|
73154
|
-
}, {
|
|
73155
|
-
readonly inputs: readonly [];
|
|
73156
|
-
readonly name: "AaveIncentivesController";
|
|
73157
|
-
readonly outputs: readonly [{
|
|
73158
|
-
readonly internalType: "contract IAaveIncentivesController";
|
|
73159
|
-
readonly name: "";
|
|
73160
|
-
readonly type: "address";
|
|
73161
|
-
}];
|
|
73162
|
-
readonly stateMutability: "view";
|
|
73163
|
-
readonly type: "function";
|
|
73164
|
-
}, {
|
|
73165
|
-
readonly inputs: readonly [];
|
|
73166
|
-
readonly name: "DATA_PROVIDER_ID";
|
|
73167
|
-
readonly outputs: readonly [{
|
|
73168
|
-
readonly internalType: "bytes32";
|
|
73169
|
-
readonly name: "";
|
|
73170
|
-
readonly type: "bytes32";
|
|
73171
|
-
}];
|
|
73172
|
-
readonly stateMutability: "view";
|
|
73173
|
-
readonly type: "function";
|
|
73174
|
-
}, {
|
|
73175
|
-
readonly inputs: readonly [];
|
|
73176
|
-
readonly name: "StakedToken";
|
|
73177
|
-
readonly outputs: readonly [{
|
|
73178
|
-
readonly internalType: "contract IStakedToken";
|
|
73179
|
-
readonly name: "";
|
|
73180
|
-
readonly type: "address";
|
|
73181
|
-
}];
|
|
73182
|
-
readonly stateMutability: "view";
|
|
73183
|
-
readonly type: "function";
|
|
73184
|
-
}, {
|
|
73185
|
-
readonly inputs: readonly [{
|
|
73186
|
-
readonly internalType: "address";
|
|
73187
|
-
readonly name: "_market";
|
|
73188
|
-
readonly type: "address";
|
|
73189
|
-
}, {
|
|
73190
|
-
readonly internalType: "address";
|
|
73191
|
-
readonly name: "_tokenAddr";
|
|
73192
|
-
readonly type: "address";
|
|
73193
|
-
}, {
|
|
73194
|
-
readonly internalType: "bool";
|
|
73195
|
-
readonly name: "_useAsCollateral";
|
|
73196
|
-
readonly type: "bool";
|
|
73197
|
-
}];
|
|
73198
|
-
readonly name: "enableAsCollateral";
|
|
73199
|
-
readonly outputs: readonly [];
|
|
73200
|
-
readonly stateMutability: "nonpayable";
|
|
73201
|
-
readonly type: "function";
|
|
73202
|
-
}, {
|
|
73203
|
-
readonly inputs: readonly [{
|
|
73204
|
-
readonly internalType: "address";
|
|
73205
|
-
readonly name: "_market";
|
|
73206
|
-
readonly type: "address";
|
|
73207
|
-
}, {
|
|
73208
|
-
readonly components: readonly [{
|
|
73209
|
-
readonly internalType: "address";
|
|
73210
|
-
readonly name: "reserveAddress";
|
|
73211
|
-
readonly type: "address";
|
|
73212
|
-
}, {
|
|
73213
|
-
readonly internalType: "uint256";
|
|
73214
|
-
readonly name: "liquidityAdded";
|
|
73215
|
-
readonly type: "uint256";
|
|
73216
|
-
}, {
|
|
73217
|
-
readonly internalType: "uint256";
|
|
73218
|
-
readonly name: "liquidityTaken";
|
|
73219
|
-
readonly type: "uint256";
|
|
73220
|
-
}, {
|
|
73221
|
-
readonly internalType: "bool";
|
|
73222
|
-
readonly name: "isDebtAsset";
|
|
73223
|
-
readonly type: "bool";
|
|
73224
|
-
}];
|
|
73225
|
-
readonly internalType: "struct AaveView.LiquidityChangeParams[]";
|
|
73226
|
-
readonly name: "_reserveParams";
|
|
73227
|
-
readonly type: "tuple[]";
|
|
73228
|
-
}];
|
|
73229
|
-
readonly name: "getApyAfterValuesEstimation";
|
|
73230
|
-
readonly outputs: readonly [{
|
|
73231
|
-
readonly components: readonly [{
|
|
73232
|
-
readonly internalType: "address";
|
|
73233
|
-
readonly name: "reserveAddress";
|
|
73234
|
-
readonly type: "address";
|
|
73235
|
-
}, {
|
|
73236
|
-
readonly internalType: "uint256";
|
|
73237
|
-
readonly name: "supplyRate";
|
|
73238
|
-
readonly type: "uint256";
|
|
73239
|
-
}, {
|
|
73240
|
-
readonly internalType: "uint256";
|
|
73241
|
-
readonly name: "variableBorrowRate";
|
|
73242
|
-
readonly type: "uint256";
|
|
73243
|
-
}];
|
|
73244
|
-
readonly internalType: "struct AaveView.EstimatedRates[]";
|
|
73245
|
-
readonly name: "";
|
|
73246
|
-
readonly type: "tuple[]";
|
|
73247
|
-
}];
|
|
73248
|
-
readonly stateMutability: "view";
|
|
73249
|
-
readonly type: "function";
|
|
73250
|
-
}, {
|
|
73251
|
-
readonly inputs: readonly [{
|
|
73252
|
-
readonly internalType: "address";
|
|
73253
|
-
readonly name: "_market";
|
|
73254
|
-
readonly type: "address";
|
|
73255
|
-
}, {
|
|
73256
|
-
readonly internalType: "address[]";
|
|
73257
|
-
readonly name: "_tokens";
|
|
73258
|
-
readonly type: "address[]";
|
|
73259
|
-
}];
|
|
73260
|
-
readonly name: "getCollFactors";
|
|
73261
|
-
readonly outputs: readonly [{
|
|
73262
|
-
readonly internalType: "uint256[]";
|
|
73263
|
-
readonly name: "collFactors";
|
|
73264
|
-
readonly type: "uint256[]";
|
|
73265
|
-
}];
|
|
73266
|
-
readonly stateMutability: "view";
|
|
73267
|
-
readonly type: "function";
|
|
73268
|
-
}, {
|
|
73269
|
-
readonly inputs: readonly [{
|
|
73270
|
-
readonly internalType: "address";
|
|
73271
|
-
readonly name: "_market";
|
|
73272
|
-
readonly type: "address";
|
|
73273
|
-
}, {
|
|
73274
|
-
readonly internalType: "address[]";
|
|
73275
|
-
readonly name: "_tokenAddresses";
|
|
73276
|
-
readonly type: "address[]";
|
|
73277
|
-
}];
|
|
73278
|
-
readonly name: "getFullTokensInfo";
|
|
73279
|
-
readonly outputs: readonly [{
|
|
73280
|
-
readonly components: readonly [{
|
|
73281
|
-
readonly internalType: "address";
|
|
73282
|
-
readonly name: "aTokenAddress";
|
|
73283
|
-
readonly type: "address";
|
|
73284
|
-
}, {
|
|
73285
|
-
readonly internalType: "address";
|
|
73286
|
-
readonly name: "underlyingTokenAddress";
|
|
73287
|
-
readonly type: "address";
|
|
73288
|
-
}, {
|
|
73289
|
-
readonly internalType: "uint256";
|
|
73290
|
-
readonly name: "supplyRate";
|
|
73291
|
-
readonly type: "uint256";
|
|
73292
|
-
}, {
|
|
73293
|
-
readonly internalType: "uint256";
|
|
73294
|
-
readonly name: "borrowRateVariable";
|
|
73295
|
-
readonly type: "uint256";
|
|
73296
|
-
}, {
|
|
73297
|
-
readonly internalType: "uint256";
|
|
73298
|
-
readonly name: "borrowRateStable";
|
|
73299
|
-
readonly type: "uint256";
|
|
73300
|
-
}, {
|
|
73301
|
-
readonly internalType: "uint256";
|
|
73302
|
-
readonly name: "totalSupply";
|
|
73303
|
-
readonly type: "uint256";
|
|
73304
|
-
}, {
|
|
73305
|
-
readonly internalType: "uint256";
|
|
73306
|
-
readonly name: "availableLiquidity";
|
|
73307
|
-
readonly type: "uint256";
|
|
73308
|
-
}, {
|
|
73309
|
-
readonly internalType: "uint256";
|
|
73310
|
-
readonly name: "totalBorrow";
|
|
73311
|
-
readonly type: "uint256";
|
|
73312
|
-
}, {
|
|
73313
|
-
readonly internalType: "uint256";
|
|
73314
|
-
readonly name: "collateralFactor";
|
|
73315
|
-
readonly type: "uint256";
|
|
73316
|
-
}, {
|
|
73317
|
-
readonly internalType: "uint256";
|
|
73318
|
-
readonly name: "liquidationRatio";
|
|
73319
|
-
readonly type: "uint256";
|
|
73320
|
-
}, {
|
|
73321
|
-
readonly internalType: "uint256";
|
|
73322
|
-
readonly name: "price";
|
|
73323
|
-
readonly type: "uint256";
|
|
73324
|
-
}, {
|
|
73325
|
-
readonly internalType: "uint256";
|
|
73326
|
-
readonly name: "totalBorrowVar";
|
|
73327
|
-
readonly type: "uint256";
|
|
73328
|
-
}, {
|
|
73329
|
-
readonly internalType: "uint256";
|
|
73330
|
-
readonly name: "totalBorrowStab";
|
|
73331
|
-
readonly type: "uint256";
|
|
73332
|
-
}, {
|
|
73333
|
-
readonly internalType: "bool";
|
|
73334
|
-
readonly name: "isActive";
|
|
73335
|
-
readonly type: "bool";
|
|
73336
|
-
}, {
|
|
73337
|
-
readonly internalType: "bool";
|
|
73338
|
-
readonly name: "isFrozen";
|
|
73339
|
-
readonly type: "bool";
|
|
73340
|
-
}, {
|
|
73341
|
-
readonly internalType: "bool";
|
|
73342
|
-
readonly name: "usageAsCollateralEnabled";
|
|
73343
|
-
readonly type: "bool";
|
|
73344
|
-
}, {
|
|
73345
|
-
readonly internalType: "bool";
|
|
73346
|
-
readonly name: "borrowingEnabled";
|
|
73347
|
-
readonly type: "bool";
|
|
73348
|
-
}, {
|
|
73349
|
-
readonly internalType: "bool";
|
|
73350
|
-
readonly name: "stableBorrowRateEnabled";
|
|
73351
|
-
readonly type: "bool";
|
|
73352
|
-
}];
|
|
73353
|
-
readonly internalType: "struct AaveView.TokenInfoFull[]";
|
|
73354
|
-
readonly name: "tokens";
|
|
73355
|
-
readonly type: "tuple[]";
|
|
73356
|
-
}];
|
|
73357
|
-
readonly stateMutability: "view";
|
|
73358
|
-
readonly type: "function";
|
|
73359
|
-
}, {
|
|
73360
|
-
readonly inputs: readonly [{
|
|
73361
|
-
readonly internalType: "address[]";
|
|
73362
|
-
readonly name: "_assets";
|
|
73363
|
-
readonly type: "address[]";
|
|
73364
|
-
}, {
|
|
73365
|
-
readonly internalType: "address";
|
|
73366
|
-
readonly name: "_user";
|
|
73367
|
-
readonly type: "address";
|
|
73368
|
-
}];
|
|
73369
|
-
readonly name: "getIncentivesRewardsBalance";
|
|
73370
|
-
readonly outputs: readonly [{
|
|
73371
|
-
readonly internalType: "uint256";
|
|
73372
|
-
readonly name: "";
|
|
73373
|
-
readonly type: "uint256";
|
|
73374
|
-
}];
|
|
73375
|
-
readonly stateMutability: "view";
|
|
73376
|
-
readonly type: "function";
|
|
73377
|
-
}, {
|
|
73378
|
-
readonly inputs: readonly [{
|
|
73379
|
-
readonly internalType: "address";
|
|
73380
|
-
readonly name: "_market";
|
|
73381
|
-
readonly type: "address";
|
|
73382
|
-
}, {
|
|
73383
|
-
readonly internalType: "address";
|
|
73384
|
-
readonly name: "_user";
|
|
73385
|
-
readonly type: "address";
|
|
73386
|
-
}];
|
|
73387
|
-
readonly name: "getLoanData";
|
|
73388
|
-
readonly outputs: readonly [{
|
|
73389
|
-
readonly components: readonly [{
|
|
73390
|
-
readonly internalType: "address";
|
|
73391
|
-
readonly name: "user";
|
|
73392
|
-
readonly type: "address";
|
|
73393
|
-
}, {
|
|
73394
|
-
readonly internalType: "uint128";
|
|
73395
|
-
readonly name: "ratio";
|
|
73396
|
-
readonly type: "uint128";
|
|
73397
|
-
}, {
|
|
73398
|
-
readonly internalType: "address[]";
|
|
73399
|
-
readonly name: "collAddr";
|
|
73400
|
-
readonly type: "address[]";
|
|
73401
|
-
}, {
|
|
73402
|
-
readonly internalType: "bool[]";
|
|
73403
|
-
readonly name: "enabledAsColl";
|
|
73404
|
-
readonly type: "bool[]";
|
|
73405
|
-
}, {
|
|
73406
|
-
readonly internalType: "address[]";
|
|
73407
|
-
readonly name: "borrowAddr";
|
|
73408
|
-
readonly type: "address[]";
|
|
73409
|
-
}, {
|
|
73410
|
-
readonly internalType: "uint256[]";
|
|
73411
|
-
readonly name: "collAmounts";
|
|
73412
|
-
readonly type: "uint256[]";
|
|
73413
|
-
}, {
|
|
73414
|
-
readonly internalType: "uint256[]";
|
|
73415
|
-
readonly name: "borrowStableAmounts";
|
|
73416
|
-
readonly type: "uint256[]";
|
|
73417
|
-
}, {
|
|
73418
|
-
readonly internalType: "uint256[]";
|
|
73419
|
-
readonly name: "borrowVariableAmounts";
|
|
73420
|
-
readonly type: "uint256[]";
|
|
73421
|
-
}];
|
|
73422
|
-
readonly internalType: "struct AaveView.LoanData";
|
|
73423
|
-
readonly name: "data";
|
|
73424
|
-
readonly type: "tuple";
|
|
73425
|
-
}];
|
|
73426
|
-
readonly stateMutability: "view";
|
|
73427
|
-
readonly type: "function";
|
|
73428
|
-
}, {
|
|
73429
|
-
readonly inputs: readonly [{
|
|
73430
|
-
readonly internalType: "address";
|
|
73431
|
-
readonly name: "_market";
|
|
73432
|
-
readonly type: "address";
|
|
73433
|
-
}, {
|
|
73434
|
-
readonly internalType: "address[]";
|
|
73435
|
-
readonly name: "_users";
|
|
73436
|
-
readonly type: "address[]";
|
|
73437
|
-
}];
|
|
73438
|
-
readonly name: "getLoanDataArr";
|
|
73439
|
-
readonly outputs: readonly [{
|
|
73440
|
-
readonly components: readonly [{
|
|
73441
|
-
readonly internalType: "address";
|
|
73442
|
-
readonly name: "user";
|
|
73443
|
-
readonly type: "address";
|
|
73444
|
-
}, {
|
|
73445
|
-
readonly internalType: "uint128";
|
|
73446
|
-
readonly name: "ratio";
|
|
73447
|
-
readonly type: "uint128";
|
|
73448
|
-
}, {
|
|
73449
|
-
readonly internalType: "address[]";
|
|
73450
|
-
readonly name: "collAddr";
|
|
73451
|
-
readonly type: "address[]";
|
|
73452
|
-
}, {
|
|
73453
|
-
readonly internalType: "bool[]";
|
|
73454
|
-
readonly name: "enabledAsColl";
|
|
73455
|
-
readonly type: "bool[]";
|
|
73456
|
-
}, {
|
|
73457
|
-
readonly internalType: "address[]";
|
|
73458
|
-
readonly name: "borrowAddr";
|
|
73459
|
-
readonly type: "address[]";
|
|
73460
|
-
}, {
|
|
73461
|
-
readonly internalType: "uint256[]";
|
|
73462
|
-
readonly name: "collAmounts";
|
|
73463
|
-
readonly type: "uint256[]";
|
|
73464
|
-
}, {
|
|
73465
|
-
readonly internalType: "uint256[]";
|
|
73466
|
-
readonly name: "borrowStableAmounts";
|
|
73467
|
-
readonly type: "uint256[]";
|
|
73468
|
-
}, {
|
|
73469
|
-
readonly internalType: "uint256[]";
|
|
73470
|
-
readonly name: "borrowVariableAmounts";
|
|
73471
|
-
readonly type: "uint256[]";
|
|
73472
|
-
}];
|
|
73473
|
-
readonly internalType: "struct AaveView.LoanData[]";
|
|
73474
|
-
readonly name: "loans";
|
|
73475
|
-
readonly type: "tuple[]";
|
|
73476
|
-
}];
|
|
73477
|
-
readonly stateMutability: "view";
|
|
73478
|
-
readonly type: "function";
|
|
73479
|
-
}, {
|
|
73480
|
-
readonly inputs: readonly [{
|
|
73481
|
-
readonly internalType: "address";
|
|
73482
|
-
readonly name: "_market";
|
|
73483
|
-
readonly type: "address";
|
|
73484
|
-
}, {
|
|
73485
|
-
readonly internalType: "address[]";
|
|
73486
|
-
readonly name: "_tokens";
|
|
73487
|
-
readonly type: "address[]";
|
|
73488
|
-
}];
|
|
73489
|
-
readonly name: "getPrices";
|
|
73490
|
-
readonly outputs: readonly [{
|
|
73491
|
-
readonly internalType: "uint256[]";
|
|
73492
|
-
readonly name: "prices";
|
|
73493
|
-
readonly type: "uint256[]";
|
|
73494
|
-
}];
|
|
73495
|
-
readonly stateMutability: "view";
|
|
73496
|
-
readonly type: "function";
|
|
73497
|
-
}, {
|
|
73498
|
-
readonly inputs: readonly [{
|
|
73499
|
-
readonly internalType: "address";
|
|
73500
|
-
readonly name: "_market";
|
|
73501
|
-
readonly type: "address";
|
|
73502
|
-
}, {
|
|
73503
|
-
readonly internalType: "address";
|
|
73504
|
-
readonly name: "_user";
|
|
73505
|
-
readonly type: "address";
|
|
73506
|
-
}];
|
|
73507
|
-
readonly name: "getRatio";
|
|
73508
|
-
readonly outputs: readonly [{
|
|
73509
|
-
readonly internalType: "uint256";
|
|
73510
|
-
readonly name: "";
|
|
73511
|
-
readonly type: "uint256";
|
|
73512
|
-
}];
|
|
73513
|
-
readonly stateMutability: "view";
|
|
73514
|
-
readonly type: "function";
|
|
73515
|
-
}, {
|
|
73516
|
-
readonly inputs: readonly [{
|
|
73517
|
-
readonly internalType: "address";
|
|
73518
|
-
readonly name: "_market";
|
|
73519
|
-
readonly type: "address";
|
|
73520
|
-
}, {
|
|
73521
|
-
readonly internalType: "address[]";
|
|
73522
|
-
readonly name: "_users";
|
|
73523
|
-
readonly type: "address[]";
|
|
73524
|
-
}];
|
|
73525
|
-
readonly name: "getRatios";
|
|
73526
|
-
readonly outputs: readonly [{
|
|
73527
|
-
readonly internalType: "uint256[]";
|
|
73528
|
-
readonly name: "ratios";
|
|
73529
|
-
readonly type: "uint256[]";
|
|
73530
|
-
}];
|
|
73531
|
-
readonly stateMutability: "view";
|
|
73532
|
-
readonly type: "function";
|
|
73533
|
-
}, {
|
|
73534
|
-
readonly inputs: readonly [{
|
|
73535
|
-
readonly internalType: "address";
|
|
73536
|
-
readonly name: "_market";
|
|
73537
|
-
readonly type: "address";
|
|
73538
|
-
}, {
|
|
73539
|
-
readonly internalType: "address";
|
|
73540
|
-
readonly name: "_user";
|
|
73541
|
-
readonly type: "address";
|
|
73542
|
-
}];
|
|
73543
|
-
readonly name: "getSafetyRatio";
|
|
73544
|
-
readonly outputs: readonly [{
|
|
73545
|
-
readonly internalType: "uint256";
|
|
73546
|
-
readonly name: "";
|
|
73547
|
-
readonly type: "uint256";
|
|
73548
|
-
}];
|
|
73549
|
-
readonly stateMutability: "view";
|
|
73550
|
-
readonly type: "function";
|
|
73551
|
-
}, {
|
|
73552
|
-
readonly inputs: readonly [{
|
|
73553
|
-
readonly internalType: "address";
|
|
73554
|
-
readonly name: "_staker";
|
|
73555
|
-
readonly type: "address";
|
|
73556
|
-
}];
|
|
73557
|
-
readonly name: "getStakingRewardsBalance";
|
|
73558
|
-
readonly outputs: readonly [{
|
|
73559
|
-
readonly internalType: "uint256";
|
|
73560
|
-
readonly name: "";
|
|
73561
|
-
readonly type: "uint256";
|
|
73562
|
-
}];
|
|
73563
|
-
readonly stateMutability: "view";
|
|
73564
|
-
readonly type: "function";
|
|
73565
|
-
}, {
|
|
73566
|
-
readonly inputs: readonly [{
|
|
73567
|
-
readonly internalType: "address";
|
|
73568
|
-
readonly name: "_market";
|
|
73569
|
-
readonly type: "address";
|
|
73570
|
-
}, {
|
|
73571
|
-
readonly internalType: "address";
|
|
73572
|
-
readonly name: "_user";
|
|
73573
|
-
readonly type: "address";
|
|
73574
|
-
}, {
|
|
73575
|
-
readonly internalType: "address[]";
|
|
73576
|
-
readonly name: "_tokens";
|
|
73577
|
-
readonly type: "address[]";
|
|
73578
|
-
}];
|
|
73579
|
-
readonly name: "getTokenBalances";
|
|
73580
|
-
readonly outputs: readonly [{
|
|
73581
|
-
readonly components: readonly [{
|
|
73582
|
-
readonly internalType: "address";
|
|
73583
|
-
readonly name: "token";
|
|
73584
|
-
readonly type: "address";
|
|
73585
|
-
}, {
|
|
73586
|
-
readonly internalType: "uint256";
|
|
73587
|
-
readonly name: "balance";
|
|
73588
|
-
readonly type: "uint256";
|
|
73589
|
-
}, {
|
|
73590
|
-
readonly internalType: "uint256";
|
|
73591
|
-
readonly name: "borrowsStable";
|
|
73592
|
-
readonly type: "uint256";
|
|
73593
|
-
}, {
|
|
73594
|
-
readonly internalType: "uint256";
|
|
73595
|
-
readonly name: "borrowsVariable";
|
|
73596
|
-
readonly type: "uint256";
|
|
73597
|
-
}, {
|
|
73598
|
-
readonly internalType: "uint256";
|
|
73599
|
-
readonly name: "stableBorrowRate";
|
|
73600
|
-
readonly type: "uint256";
|
|
73601
|
-
}, {
|
|
73602
|
-
readonly internalType: "bool";
|
|
73603
|
-
readonly name: "enabledAsCollateral";
|
|
73604
|
-
readonly type: "bool";
|
|
73605
|
-
}];
|
|
73606
|
-
readonly internalType: "struct AaveView.UserToken[]";
|
|
73607
|
-
readonly name: "userTokens";
|
|
73608
|
-
readonly type: "tuple[]";
|
|
73609
|
-
}];
|
|
73610
|
-
readonly stateMutability: "view";
|
|
73611
|
-
readonly type: "function";
|
|
73612
|
-
}, {
|
|
73613
|
-
readonly inputs: readonly [{
|
|
73614
|
-
readonly internalType: "contract IAaveProtocolDataProviderV2";
|
|
73615
|
-
readonly name: "_dataProvider";
|
|
73616
|
-
readonly type: "address";
|
|
73617
|
-
}, {
|
|
73618
|
-
readonly internalType: "address";
|
|
73619
|
-
readonly name: "_priceOracleAddress";
|
|
73620
|
-
readonly type: "address";
|
|
73621
|
-
}, {
|
|
73622
|
-
readonly internalType: "address";
|
|
73623
|
-
readonly name: "_token";
|
|
73624
|
-
readonly type: "address";
|
|
73625
|
-
}];
|
|
73626
|
-
readonly name: "getTokenInfoFull";
|
|
73627
|
-
readonly outputs: readonly [{
|
|
73628
|
-
readonly components: readonly [{
|
|
73629
|
-
readonly internalType: "address";
|
|
73630
|
-
readonly name: "aTokenAddress";
|
|
73631
|
-
readonly type: "address";
|
|
73632
|
-
}, {
|
|
73633
|
-
readonly internalType: "address";
|
|
73634
|
-
readonly name: "underlyingTokenAddress";
|
|
73635
|
-
readonly type: "address";
|
|
73636
|
-
}, {
|
|
73637
|
-
readonly internalType: "uint256";
|
|
73638
|
-
readonly name: "supplyRate";
|
|
73639
|
-
readonly type: "uint256";
|
|
73640
|
-
}, {
|
|
73641
|
-
readonly internalType: "uint256";
|
|
73642
|
-
readonly name: "borrowRateVariable";
|
|
73643
|
-
readonly type: "uint256";
|
|
73644
|
-
}, {
|
|
73645
|
-
readonly internalType: "uint256";
|
|
73646
|
-
readonly name: "borrowRateStable";
|
|
73647
|
-
readonly type: "uint256";
|
|
73648
|
-
}, {
|
|
73649
|
-
readonly internalType: "uint256";
|
|
73650
|
-
readonly name: "totalSupply";
|
|
73651
|
-
readonly type: "uint256";
|
|
73652
|
-
}, {
|
|
73653
|
-
readonly internalType: "uint256";
|
|
73654
|
-
readonly name: "availableLiquidity";
|
|
73655
|
-
readonly type: "uint256";
|
|
73656
|
-
}, {
|
|
73657
|
-
readonly internalType: "uint256";
|
|
73658
|
-
readonly name: "totalBorrow";
|
|
73659
|
-
readonly type: "uint256";
|
|
73660
|
-
}, {
|
|
73661
|
-
readonly internalType: "uint256";
|
|
73662
|
-
readonly name: "collateralFactor";
|
|
73663
|
-
readonly type: "uint256";
|
|
73664
|
-
}, {
|
|
73665
|
-
readonly internalType: "uint256";
|
|
73666
|
-
readonly name: "liquidationRatio";
|
|
73667
|
-
readonly type: "uint256";
|
|
73668
|
-
}, {
|
|
73669
|
-
readonly internalType: "uint256";
|
|
73670
|
-
readonly name: "price";
|
|
73671
|
-
readonly type: "uint256";
|
|
73672
|
-
}, {
|
|
73673
|
-
readonly internalType: "uint256";
|
|
73674
|
-
readonly name: "totalBorrowVar";
|
|
73675
|
-
readonly type: "uint256";
|
|
73676
|
-
}, {
|
|
73677
|
-
readonly internalType: "uint256";
|
|
73678
|
-
readonly name: "totalBorrowStab";
|
|
73679
|
-
readonly type: "uint256";
|
|
73680
|
-
}, {
|
|
73681
|
-
readonly internalType: "bool";
|
|
73682
|
-
readonly name: "isActive";
|
|
73683
|
-
readonly type: "bool";
|
|
73684
|
-
}, {
|
|
73685
|
-
readonly internalType: "bool";
|
|
73686
|
-
readonly name: "isFrozen";
|
|
73687
|
-
readonly type: "bool";
|
|
73688
|
-
}, {
|
|
73689
|
-
readonly internalType: "bool";
|
|
73690
|
-
readonly name: "usageAsCollateralEnabled";
|
|
73691
|
-
readonly type: "bool";
|
|
73692
|
-
}, {
|
|
73693
|
-
readonly internalType: "bool";
|
|
73694
|
-
readonly name: "borrowingEnabled";
|
|
73695
|
-
readonly type: "bool";
|
|
73696
|
-
}, {
|
|
73697
|
-
readonly internalType: "bool";
|
|
73698
|
-
readonly name: "stableBorrowRateEnabled";
|
|
73699
|
-
readonly type: "bool";
|
|
73700
|
-
}];
|
|
73701
|
-
readonly internalType: "struct AaveView.TokenInfoFull";
|
|
73702
|
-
readonly name: "_tokenInfo";
|
|
73703
|
-
readonly type: "tuple";
|
|
73704
|
-
}];
|
|
73705
|
-
readonly stateMutability: "view";
|
|
73706
|
-
readonly type: "function";
|
|
73707
|
-
}, {
|
|
73708
|
-
readonly inputs: readonly [{
|
|
73709
|
-
readonly internalType: "address";
|
|
73710
|
-
readonly name: "_market";
|
|
73711
|
-
readonly type: "address";
|
|
73712
|
-
}, {
|
|
73713
|
-
readonly internalType: "address[]";
|
|
73714
|
-
readonly name: "_tokenAddresses";
|
|
73715
|
-
readonly type: "address[]";
|
|
73716
|
-
}];
|
|
73717
|
-
readonly name: "getTokensInfo";
|
|
73718
|
-
readonly outputs: readonly [{
|
|
73719
|
-
readonly components: readonly [{
|
|
73720
|
-
readonly internalType: "address";
|
|
73721
|
-
readonly name: "aTokenAddress";
|
|
73722
|
-
readonly type: "address";
|
|
73723
|
-
}, {
|
|
73724
|
-
readonly internalType: "address";
|
|
73725
|
-
readonly name: "underlyingTokenAddress";
|
|
73726
|
-
readonly type: "address";
|
|
73727
|
-
}, {
|
|
73728
|
-
readonly internalType: "uint256";
|
|
73729
|
-
readonly name: "collateralFactor";
|
|
73730
|
-
readonly type: "uint256";
|
|
73731
|
-
}, {
|
|
73732
|
-
readonly internalType: "uint256";
|
|
73733
|
-
readonly name: "price";
|
|
73734
|
-
readonly type: "uint256";
|
|
73735
|
-
}];
|
|
73736
|
-
readonly internalType: "struct AaveView.TokenInfo[]";
|
|
73737
|
-
readonly name: "tokens";
|
|
73738
|
-
readonly type: "tuple[]";
|
|
73739
|
-
}];
|
|
73740
|
-
readonly stateMutability: "view";
|
|
73741
|
-
readonly type: "function";
|
|
73742
|
-
}, {
|
|
73743
|
-
readonly inputs: readonly [{
|
|
73744
|
-
readonly internalType: "address";
|
|
73745
|
-
readonly name: "_user";
|
|
73746
|
-
readonly type: "address";
|
|
73747
|
-
}];
|
|
73748
|
-
readonly name: "getUserUnclaimedRewards";
|
|
73749
|
-
readonly outputs: readonly [{
|
|
73750
|
-
readonly internalType: "uint256";
|
|
73751
|
-
readonly name: "";
|
|
73752
|
-
readonly type: "uint256";
|
|
73753
|
-
}];
|
|
73754
|
-
readonly stateMutability: "view";
|
|
73755
|
-
readonly type: "function";
|
|
73756
|
-
}, {
|
|
73757
|
-
readonly inputs: readonly [{
|
|
73758
|
-
readonly internalType: "address";
|
|
73759
|
-
readonly name: "_market";
|
|
73760
|
-
readonly type: "address";
|
|
73761
|
-
}, {
|
|
73762
|
-
readonly internalType: "address";
|
|
73763
|
-
readonly name: "_tokenAddr";
|
|
73764
|
-
readonly type: "address";
|
|
73765
|
-
}, {
|
|
73766
|
-
readonly internalType: "uint256";
|
|
73767
|
-
readonly name: "_rateMode";
|
|
73768
|
-
readonly type: "uint256";
|
|
73769
|
-
}];
|
|
73770
|
-
readonly name: "switchRateMode";
|
|
73771
|
-
readonly outputs: readonly [];
|
|
73772
|
-
readonly stateMutability: "nonpayable";
|
|
73773
|
-
readonly type: "function";
|
|
73774
|
-
}], "getStakingRewardsBalance", readonly [`0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
|
|
73775
|
-
getUserUnclaimedRewards: (args: readonly [`0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
73776
|
-
readonly inputs: readonly [];
|
|
73777
|
-
readonly name: "AAVE_REFERRAL_CODE";
|
|
73778
|
-
readonly outputs: readonly [{
|
|
73779
|
-
readonly internalType: "uint16";
|
|
73780
|
-
readonly name: "";
|
|
73781
|
-
readonly type: "uint16";
|
|
73782
|
-
}];
|
|
73783
|
-
readonly stateMutability: "view";
|
|
73784
|
-
readonly type: "function";
|
|
73785
|
-
}, {
|
|
73786
|
-
readonly inputs: readonly [];
|
|
73787
|
-
readonly name: "AaveIncentivesController";
|
|
73788
|
-
readonly outputs: readonly [{
|
|
73789
|
-
readonly internalType: "contract IAaveIncentivesController";
|
|
73790
|
-
readonly name: "";
|
|
73791
|
-
readonly type: "address";
|
|
73792
|
-
}];
|
|
73793
|
-
readonly stateMutability: "view";
|
|
73794
|
-
readonly type: "function";
|
|
73795
|
-
}, {
|
|
73796
|
-
readonly inputs: readonly [];
|
|
73797
|
-
readonly name: "DATA_PROVIDER_ID";
|
|
73798
|
-
readonly outputs: readonly [{
|
|
73799
|
-
readonly internalType: "bytes32";
|
|
73800
|
-
readonly name: "";
|
|
73801
|
-
readonly type: "bytes32";
|
|
73802
|
-
}];
|
|
73803
|
-
readonly stateMutability: "view";
|
|
73804
|
-
readonly type: "function";
|
|
73805
|
-
}, {
|
|
73806
|
-
readonly inputs: readonly [];
|
|
73807
|
-
readonly name: "StakedToken";
|
|
73808
|
-
readonly outputs: readonly [{
|
|
73809
|
-
readonly internalType: "contract IStakedToken";
|
|
73810
|
-
readonly name: "";
|
|
73811
|
-
readonly type: "address";
|
|
73812
|
-
}];
|
|
73813
|
-
readonly stateMutability: "view";
|
|
73814
|
-
readonly type: "function";
|
|
73815
|
-
}, {
|
|
73816
|
-
readonly inputs: readonly [{
|
|
73817
|
-
readonly internalType: "address";
|
|
73818
|
-
readonly name: "_market";
|
|
73819
|
-
readonly type: "address";
|
|
73820
|
-
}, {
|
|
73821
|
-
readonly internalType: "address";
|
|
73822
|
-
readonly name: "_tokenAddr";
|
|
73823
|
-
readonly type: "address";
|
|
73824
|
-
}, {
|
|
73825
|
-
readonly internalType: "bool";
|
|
73826
|
-
readonly name: "_useAsCollateral";
|
|
73827
|
-
readonly type: "bool";
|
|
73828
|
-
}];
|
|
73829
|
-
readonly name: "enableAsCollateral";
|
|
73830
|
-
readonly outputs: readonly [];
|
|
73831
|
-
readonly stateMutability: "nonpayable";
|
|
73832
|
-
readonly type: "function";
|
|
73833
|
-
}, {
|
|
73834
|
-
readonly inputs: readonly [{
|
|
73835
|
-
readonly internalType: "address";
|
|
73836
|
-
readonly name: "_market";
|
|
73837
|
-
readonly type: "address";
|
|
73838
|
-
}, {
|
|
73839
|
-
readonly components: readonly [{
|
|
73840
|
-
readonly internalType: "address";
|
|
73841
|
-
readonly name: "reserveAddress";
|
|
73842
|
-
readonly type: "address";
|
|
73843
|
-
}, {
|
|
73844
|
-
readonly internalType: "uint256";
|
|
73845
|
-
readonly name: "liquidityAdded";
|
|
73846
|
-
readonly type: "uint256";
|
|
73847
|
-
}, {
|
|
73848
|
-
readonly internalType: "uint256";
|
|
73849
|
-
readonly name: "liquidityTaken";
|
|
73850
|
-
readonly type: "uint256";
|
|
73851
|
-
}, {
|
|
73852
|
-
readonly internalType: "bool";
|
|
73853
|
-
readonly name: "isDebtAsset";
|
|
73854
|
-
readonly type: "bool";
|
|
73855
|
-
}];
|
|
73856
|
-
readonly internalType: "struct AaveView.LiquidityChangeParams[]";
|
|
73857
|
-
readonly name: "_reserveParams";
|
|
73858
|
-
readonly type: "tuple[]";
|
|
73859
|
-
}];
|
|
73860
|
-
readonly name: "getApyAfterValuesEstimation";
|
|
73861
|
-
readonly outputs: readonly [{
|
|
73862
|
-
readonly components: readonly [{
|
|
73863
|
-
readonly internalType: "address";
|
|
73864
|
-
readonly name: "reserveAddress";
|
|
73865
|
-
readonly type: "address";
|
|
73866
|
-
}, {
|
|
73867
|
-
readonly internalType: "uint256";
|
|
73868
|
-
readonly name: "supplyRate";
|
|
73869
|
-
readonly type: "uint256";
|
|
73870
|
-
}, {
|
|
73871
|
-
readonly internalType: "uint256";
|
|
73872
|
-
readonly name: "variableBorrowRate";
|
|
73873
|
-
readonly type: "uint256";
|
|
73874
|
-
}];
|
|
73875
|
-
readonly internalType: "struct AaveView.EstimatedRates[]";
|
|
73876
|
-
readonly name: "";
|
|
73877
|
-
readonly type: "tuple[]";
|
|
73878
|
-
}];
|
|
73879
|
-
readonly stateMutability: "view";
|
|
73880
|
-
readonly type: "function";
|
|
73881
|
-
}, {
|
|
73882
|
-
readonly inputs: readonly [{
|
|
73883
|
-
readonly internalType: "address";
|
|
73884
|
-
readonly name: "_market";
|
|
73885
|
-
readonly type: "address";
|
|
73886
|
-
}, {
|
|
73887
|
-
readonly internalType: "address[]";
|
|
73888
|
-
readonly name: "_tokens";
|
|
73889
|
-
readonly type: "address[]";
|
|
73890
|
-
}];
|
|
73891
|
-
readonly name: "getCollFactors";
|
|
73892
|
-
readonly outputs: readonly [{
|
|
73893
|
-
readonly internalType: "uint256[]";
|
|
73894
|
-
readonly name: "collFactors";
|
|
73895
|
-
readonly type: "uint256[]";
|
|
73896
|
-
}];
|
|
73897
|
-
readonly stateMutability: "view";
|
|
73898
|
-
readonly type: "function";
|
|
73899
|
-
}, {
|
|
73900
|
-
readonly inputs: readonly [{
|
|
73901
|
-
readonly internalType: "address";
|
|
73902
|
-
readonly name: "_market";
|
|
73903
|
-
readonly type: "address";
|
|
73904
|
-
}, {
|
|
73905
|
-
readonly internalType: "address[]";
|
|
73906
|
-
readonly name: "_tokenAddresses";
|
|
73907
|
-
readonly type: "address[]";
|
|
73908
|
-
}];
|
|
73909
|
-
readonly name: "getFullTokensInfo";
|
|
73910
|
-
readonly outputs: readonly [{
|
|
73911
|
-
readonly components: readonly [{
|
|
73912
|
-
readonly internalType: "address";
|
|
73913
|
-
readonly name: "aTokenAddress";
|
|
73914
|
-
readonly type: "address";
|
|
73915
|
-
}, {
|
|
73916
|
-
readonly internalType: "address";
|
|
73917
|
-
readonly name: "underlyingTokenAddress";
|
|
73918
|
-
readonly type: "address";
|
|
73919
|
-
}, {
|
|
73920
|
-
readonly internalType: "uint256";
|
|
73921
|
-
readonly name: "supplyRate";
|
|
73922
|
-
readonly type: "uint256";
|
|
73923
|
-
}, {
|
|
73924
|
-
readonly internalType: "uint256";
|
|
73925
|
-
readonly name: "borrowRateVariable";
|
|
73926
|
-
readonly type: "uint256";
|
|
73927
|
-
}, {
|
|
73928
|
-
readonly internalType: "uint256";
|
|
73929
|
-
readonly name: "borrowRateStable";
|
|
73930
|
-
readonly type: "uint256";
|
|
73931
|
-
}, {
|
|
73932
|
-
readonly internalType: "uint256";
|
|
73933
|
-
readonly name: "totalSupply";
|
|
73934
|
-
readonly type: "uint256";
|
|
73935
|
-
}, {
|
|
73936
|
-
readonly internalType: "uint256";
|
|
73937
|
-
readonly name: "availableLiquidity";
|
|
73938
|
-
readonly type: "uint256";
|
|
73939
|
-
}, {
|
|
73940
|
-
readonly internalType: "uint256";
|
|
73941
|
-
readonly name: "totalBorrow";
|
|
73942
|
-
readonly type: "uint256";
|
|
73943
|
-
}, {
|
|
73944
|
-
readonly internalType: "uint256";
|
|
73945
|
-
readonly name: "collateralFactor";
|
|
73946
|
-
readonly type: "uint256";
|
|
73947
|
-
}, {
|
|
73948
|
-
readonly internalType: "uint256";
|
|
73949
|
-
readonly name: "liquidationRatio";
|
|
73950
|
-
readonly type: "uint256";
|
|
73951
|
-
}, {
|
|
73952
|
-
readonly internalType: "uint256";
|
|
73953
|
-
readonly name: "price";
|
|
73954
|
-
readonly type: "uint256";
|
|
73955
|
-
}, {
|
|
73956
|
-
readonly internalType: "uint256";
|
|
73957
|
-
readonly name: "totalBorrowVar";
|
|
73958
|
-
readonly type: "uint256";
|
|
73959
|
-
}, {
|
|
73960
|
-
readonly internalType: "uint256";
|
|
73961
|
-
readonly name: "totalBorrowStab";
|
|
73962
|
-
readonly type: "uint256";
|
|
73963
|
-
}, {
|
|
73964
|
-
readonly internalType: "bool";
|
|
73965
|
-
readonly name: "isActive";
|
|
73966
|
-
readonly type: "bool";
|
|
73967
|
-
}, {
|
|
73968
|
-
readonly internalType: "bool";
|
|
73969
|
-
readonly name: "isFrozen";
|
|
73970
|
-
readonly type: "bool";
|
|
73971
|
-
}, {
|
|
73972
|
-
readonly internalType: "bool";
|
|
73973
|
-
readonly name: "usageAsCollateralEnabled";
|
|
73974
|
-
readonly type: "bool";
|
|
73975
|
-
}, {
|
|
73976
|
-
readonly internalType: "bool";
|
|
73977
|
-
readonly name: "borrowingEnabled";
|
|
73978
|
-
readonly type: "bool";
|
|
73979
|
-
}, {
|
|
73980
|
-
readonly internalType: "bool";
|
|
73981
|
-
readonly name: "stableBorrowRateEnabled";
|
|
73982
|
-
readonly type: "bool";
|
|
73983
|
-
}];
|
|
73984
|
-
readonly internalType: "struct AaveView.TokenInfoFull[]";
|
|
73985
|
-
readonly name: "tokens";
|
|
73986
|
-
readonly type: "tuple[]";
|
|
73987
|
-
}];
|
|
73988
|
-
readonly stateMutability: "view";
|
|
73989
|
-
readonly type: "function";
|
|
73990
|
-
}, {
|
|
73991
|
-
readonly inputs: readonly [{
|
|
73992
|
-
readonly internalType: "address[]";
|
|
73993
|
-
readonly name: "_assets";
|
|
73994
|
-
readonly type: "address[]";
|
|
73995
|
-
}, {
|
|
73996
|
-
readonly internalType: "address";
|
|
73997
|
-
readonly name: "_user";
|
|
73998
|
-
readonly type: "address";
|
|
73999
|
-
}];
|
|
74000
|
-
readonly name: "getIncentivesRewardsBalance";
|
|
74001
|
-
readonly outputs: readonly [{
|
|
74002
|
-
readonly internalType: "uint256";
|
|
74003
|
-
readonly name: "";
|
|
74004
|
-
readonly type: "uint256";
|
|
74005
|
-
}];
|
|
74006
|
-
readonly stateMutability: "view";
|
|
74007
|
-
readonly type: "function";
|
|
74008
|
-
}, {
|
|
74009
|
-
readonly inputs: readonly [{
|
|
74010
|
-
readonly internalType: "address";
|
|
74011
|
-
readonly name: "_market";
|
|
74012
|
-
readonly type: "address";
|
|
74013
|
-
}, {
|
|
74014
|
-
readonly internalType: "address";
|
|
74015
|
-
readonly name: "_user";
|
|
74016
|
-
readonly type: "address";
|
|
74017
|
-
}];
|
|
74018
|
-
readonly name: "getLoanData";
|
|
74019
|
-
readonly outputs: readonly [{
|
|
74020
|
-
readonly components: readonly [{
|
|
74021
|
-
readonly internalType: "address";
|
|
74022
|
-
readonly name: "user";
|
|
74023
|
-
readonly type: "address";
|
|
74024
|
-
}, {
|
|
74025
|
-
readonly internalType: "uint128";
|
|
74026
|
-
readonly name: "ratio";
|
|
74027
|
-
readonly type: "uint128";
|
|
74028
|
-
}, {
|
|
74029
|
-
readonly internalType: "address[]";
|
|
74030
|
-
readonly name: "collAddr";
|
|
74031
|
-
readonly type: "address[]";
|
|
74032
|
-
}, {
|
|
74033
|
-
readonly internalType: "bool[]";
|
|
74034
|
-
readonly name: "enabledAsColl";
|
|
74035
|
-
readonly type: "bool[]";
|
|
74036
|
-
}, {
|
|
74037
|
-
readonly internalType: "address[]";
|
|
74038
|
-
readonly name: "borrowAddr";
|
|
74039
|
-
readonly type: "address[]";
|
|
74040
|
-
}, {
|
|
74041
|
-
readonly internalType: "uint256[]";
|
|
74042
|
-
readonly name: "collAmounts";
|
|
74043
|
-
readonly type: "uint256[]";
|
|
74044
|
-
}, {
|
|
74045
|
-
readonly internalType: "uint256[]";
|
|
74046
|
-
readonly name: "borrowStableAmounts";
|
|
74047
|
-
readonly type: "uint256[]";
|
|
74048
|
-
}, {
|
|
74049
|
-
readonly internalType: "uint256[]";
|
|
74050
|
-
readonly name: "borrowVariableAmounts";
|
|
74051
|
-
readonly type: "uint256[]";
|
|
74052
|
-
}];
|
|
74053
|
-
readonly internalType: "struct AaveView.LoanData";
|
|
74054
|
-
readonly name: "data";
|
|
74055
|
-
readonly type: "tuple";
|
|
74056
|
-
}];
|
|
74057
|
-
readonly stateMutability: "view";
|
|
74058
|
-
readonly type: "function";
|
|
74059
|
-
}, {
|
|
74060
|
-
readonly inputs: readonly [{
|
|
74061
|
-
readonly internalType: "address";
|
|
74062
|
-
readonly name: "_market";
|
|
74063
|
-
readonly type: "address";
|
|
74064
|
-
}, {
|
|
74065
|
-
readonly internalType: "address[]";
|
|
74066
|
-
readonly name: "_users";
|
|
74067
|
-
readonly type: "address[]";
|
|
74068
|
-
}];
|
|
74069
|
-
readonly name: "getLoanDataArr";
|
|
74070
|
-
readonly outputs: readonly [{
|
|
74071
|
-
readonly components: readonly [{
|
|
74072
|
-
readonly internalType: "address";
|
|
74073
|
-
readonly name: "user";
|
|
74074
|
-
readonly type: "address";
|
|
74075
|
-
}, {
|
|
74076
|
-
readonly internalType: "uint128";
|
|
74077
|
-
readonly name: "ratio";
|
|
74078
|
-
readonly type: "uint128";
|
|
74079
|
-
}, {
|
|
74080
|
-
readonly internalType: "address[]";
|
|
74081
|
-
readonly name: "collAddr";
|
|
74082
|
-
readonly type: "address[]";
|
|
74083
|
-
}, {
|
|
74084
|
-
readonly internalType: "bool[]";
|
|
74085
|
-
readonly name: "enabledAsColl";
|
|
74086
|
-
readonly type: "bool[]";
|
|
74087
|
-
}, {
|
|
74088
|
-
readonly internalType: "address[]";
|
|
74089
|
-
readonly name: "borrowAddr";
|
|
74090
|
-
readonly type: "address[]";
|
|
74091
|
-
}, {
|
|
74092
|
-
readonly internalType: "uint256[]";
|
|
74093
|
-
readonly name: "collAmounts";
|
|
74094
|
-
readonly type: "uint256[]";
|
|
74095
|
-
}, {
|
|
74096
|
-
readonly internalType: "uint256[]";
|
|
74097
|
-
readonly name: "borrowStableAmounts";
|
|
74098
|
-
readonly type: "uint256[]";
|
|
74099
|
-
}, {
|
|
74100
|
-
readonly internalType: "uint256[]";
|
|
74101
|
-
readonly name: "borrowVariableAmounts";
|
|
74102
|
-
readonly type: "uint256[]";
|
|
74103
|
-
}];
|
|
74104
|
-
readonly internalType: "struct AaveView.LoanData[]";
|
|
74105
|
-
readonly name: "loans";
|
|
74106
|
-
readonly type: "tuple[]";
|
|
74107
|
-
}];
|
|
74108
|
-
readonly stateMutability: "view";
|
|
74109
|
-
readonly type: "function";
|
|
74110
|
-
}, {
|
|
74111
|
-
readonly inputs: readonly [{
|
|
74112
|
-
readonly internalType: "address";
|
|
74113
|
-
readonly name: "_market";
|
|
74114
|
-
readonly type: "address";
|
|
74115
|
-
}, {
|
|
74116
|
-
readonly internalType: "address[]";
|
|
74117
|
-
readonly name: "_tokens";
|
|
74118
|
-
readonly type: "address[]";
|
|
74119
|
-
}];
|
|
74120
|
-
readonly name: "getPrices";
|
|
74121
|
-
readonly outputs: readonly [{
|
|
74122
|
-
readonly internalType: "uint256[]";
|
|
74123
|
-
readonly name: "prices";
|
|
74124
|
-
readonly type: "uint256[]";
|
|
74125
|
-
}];
|
|
74126
|
-
readonly stateMutability: "view";
|
|
74127
|
-
readonly type: "function";
|
|
74128
|
-
}, {
|
|
74129
|
-
readonly inputs: readonly [{
|
|
74130
|
-
readonly internalType: "address";
|
|
74131
|
-
readonly name: "_market";
|
|
74132
|
-
readonly type: "address";
|
|
74133
|
-
}, {
|
|
74134
|
-
readonly internalType: "address";
|
|
74135
|
-
readonly name: "_user";
|
|
74136
|
-
readonly type: "address";
|
|
74137
|
-
}];
|
|
74138
|
-
readonly name: "getRatio";
|
|
74139
|
-
readonly outputs: readonly [{
|
|
74140
|
-
readonly internalType: "uint256";
|
|
74141
|
-
readonly name: "";
|
|
74142
|
-
readonly type: "uint256";
|
|
74143
|
-
}];
|
|
74144
|
-
readonly stateMutability: "view";
|
|
74145
|
-
readonly type: "function";
|
|
74146
|
-
}, {
|
|
74147
|
-
readonly inputs: readonly [{
|
|
74148
|
-
readonly internalType: "address";
|
|
74149
|
-
readonly name: "_market";
|
|
74150
|
-
readonly type: "address";
|
|
74151
|
-
}, {
|
|
74152
|
-
readonly internalType: "address[]";
|
|
74153
|
-
readonly name: "_users";
|
|
74154
|
-
readonly type: "address[]";
|
|
74155
|
-
}];
|
|
74156
|
-
readonly name: "getRatios";
|
|
74157
|
-
readonly outputs: readonly [{
|
|
74158
|
-
readonly internalType: "uint256[]";
|
|
74159
|
-
readonly name: "ratios";
|
|
74160
|
-
readonly type: "uint256[]";
|
|
74161
|
-
}];
|
|
74162
|
-
readonly stateMutability: "view";
|
|
74163
|
-
readonly type: "function";
|
|
74164
|
-
}, {
|
|
74165
|
-
readonly inputs: readonly [{
|
|
74166
|
-
readonly internalType: "address";
|
|
74167
|
-
readonly name: "_market";
|
|
74168
|
-
readonly type: "address";
|
|
74169
|
-
}, {
|
|
74170
|
-
readonly internalType: "address";
|
|
74171
|
-
readonly name: "_user";
|
|
74172
|
-
readonly type: "address";
|
|
74173
|
-
}];
|
|
74174
|
-
readonly name: "getSafetyRatio";
|
|
74175
|
-
readonly outputs: readonly [{
|
|
74176
|
-
readonly internalType: "uint256";
|
|
74177
|
-
readonly name: "";
|
|
74178
|
-
readonly type: "uint256";
|
|
74179
|
-
}];
|
|
74180
|
-
readonly stateMutability: "view";
|
|
74181
|
-
readonly type: "function";
|
|
74182
|
-
}, {
|
|
74183
|
-
readonly inputs: readonly [{
|
|
74184
|
-
readonly internalType: "address";
|
|
74185
|
-
readonly name: "_staker";
|
|
74186
|
-
readonly type: "address";
|
|
74187
|
-
}];
|
|
74188
|
-
readonly name: "getStakingRewardsBalance";
|
|
74189
|
-
readonly outputs: readonly [{
|
|
74190
|
-
readonly internalType: "uint256";
|
|
74191
|
-
readonly name: "";
|
|
74192
|
-
readonly type: "uint256";
|
|
74193
|
-
}];
|
|
74194
|
-
readonly stateMutability: "view";
|
|
74195
|
-
readonly type: "function";
|
|
74196
|
-
}, {
|
|
74197
|
-
readonly inputs: readonly [{
|
|
74198
|
-
readonly internalType: "address";
|
|
74199
|
-
readonly name: "_market";
|
|
74200
|
-
readonly type: "address";
|
|
74201
|
-
}, {
|
|
74202
|
-
readonly internalType: "address";
|
|
74203
|
-
readonly name: "_user";
|
|
74204
|
-
readonly type: "address";
|
|
74205
|
-
}, {
|
|
74206
|
-
readonly internalType: "address[]";
|
|
74207
|
-
readonly name: "_tokens";
|
|
74208
|
-
readonly type: "address[]";
|
|
74209
|
-
}];
|
|
74210
|
-
readonly name: "getTokenBalances";
|
|
74211
|
-
readonly outputs: readonly [{
|
|
74212
|
-
readonly components: readonly [{
|
|
74213
|
-
readonly internalType: "address";
|
|
74214
|
-
readonly name: "token";
|
|
74215
|
-
readonly type: "address";
|
|
74216
|
-
}, {
|
|
74217
|
-
readonly internalType: "uint256";
|
|
74218
|
-
readonly name: "balance";
|
|
74219
|
-
readonly type: "uint256";
|
|
74220
|
-
}, {
|
|
74221
|
-
readonly internalType: "uint256";
|
|
74222
|
-
readonly name: "borrowsStable";
|
|
74223
|
-
readonly type: "uint256";
|
|
74224
|
-
}, {
|
|
74225
|
-
readonly internalType: "uint256";
|
|
74226
|
-
readonly name: "borrowsVariable";
|
|
74227
|
-
readonly type: "uint256";
|
|
74228
|
-
}, {
|
|
74229
|
-
readonly internalType: "uint256";
|
|
74230
|
-
readonly name: "stableBorrowRate";
|
|
74231
|
-
readonly type: "uint256";
|
|
74232
|
-
}, {
|
|
74233
|
-
readonly internalType: "bool";
|
|
74234
|
-
readonly name: "enabledAsCollateral";
|
|
74235
|
-
readonly type: "bool";
|
|
74236
|
-
}];
|
|
74237
|
-
readonly internalType: "struct AaveView.UserToken[]";
|
|
74238
|
-
readonly name: "userTokens";
|
|
74239
|
-
readonly type: "tuple[]";
|
|
74240
|
-
}];
|
|
74241
|
-
readonly stateMutability: "view";
|
|
74242
|
-
readonly type: "function";
|
|
74243
|
-
}, {
|
|
74244
|
-
readonly inputs: readonly [{
|
|
74245
|
-
readonly internalType: "contract IAaveProtocolDataProviderV2";
|
|
74246
|
-
readonly name: "_dataProvider";
|
|
74247
|
-
readonly type: "address";
|
|
74248
|
-
}, {
|
|
74249
|
-
readonly internalType: "address";
|
|
74250
|
-
readonly name: "_priceOracleAddress";
|
|
74251
|
-
readonly type: "address";
|
|
74252
|
-
}, {
|
|
74253
|
-
readonly internalType: "address";
|
|
74254
|
-
readonly name: "_token";
|
|
74255
|
-
readonly type: "address";
|
|
74256
|
-
}];
|
|
74257
|
-
readonly name: "getTokenInfoFull";
|
|
74258
|
-
readonly outputs: readonly [{
|
|
74259
|
-
readonly components: readonly [{
|
|
74260
|
-
readonly internalType: "address";
|
|
74261
|
-
readonly name: "aTokenAddress";
|
|
74262
|
-
readonly type: "address";
|
|
74263
|
-
}, {
|
|
74264
|
-
readonly internalType: "address";
|
|
74265
|
-
readonly name: "underlyingTokenAddress";
|
|
74266
|
-
readonly type: "address";
|
|
74267
|
-
}, {
|
|
74268
|
-
readonly internalType: "uint256";
|
|
74269
|
-
readonly name: "supplyRate";
|
|
74270
|
-
readonly type: "uint256";
|
|
74271
|
-
}, {
|
|
74272
|
-
readonly internalType: "uint256";
|
|
74273
|
-
readonly name: "borrowRateVariable";
|
|
74274
|
-
readonly type: "uint256";
|
|
74275
|
-
}, {
|
|
74276
|
-
readonly internalType: "uint256";
|
|
74277
|
-
readonly name: "borrowRateStable";
|
|
74278
|
-
readonly type: "uint256";
|
|
74279
|
-
}, {
|
|
74280
|
-
readonly internalType: "uint256";
|
|
74281
|
-
readonly name: "totalSupply";
|
|
74282
|
-
readonly type: "uint256";
|
|
74283
|
-
}, {
|
|
74284
|
-
readonly internalType: "uint256";
|
|
74285
|
-
readonly name: "availableLiquidity";
|
|
74286
|
-
readonly type: "uint256";
|
|
74287
|
-
}, {
|
|
74288
|
-
readonly internalType: "uint256";
|
|
74289
|
-
readonly name: "totalBorrow";
|
|
74290
|
-
readonly type: "uint256";
|
|
74291
|
-
}, {
|
|
74292
|
-
readonly internalType: "uint256";
|
|
74293
|
-
readonly name: "collateralFactor";
|
|
74294
|
-
readonly type: "uint256";
|
|
74295
|
-
}, {
|
|
74296
|
-
readonly internalType: "uint256";
|
|
74297
|
-
readonly name: "liquidationRatio";
|
|
74298
|
-
readonly type: "uint256";
|
|
74299
|
-
}, {
|
|
74300
|
-
readonly internalType: "uint256";
|
|
74301
|
-
readonly name: "price";
|
|
74302
|
-
readonly type: "uint256";
|
|
74303
|
-
}, {
|
|
74304
|
-
readonly internalType: "uint256";
|
|
74305
|
-
readonly name: "totalBorrowVar";
|
|
74306
|
-
readonly type: "uint256";
|
|
74307
|
-
}, {
|
|
74308
|
-
readonly internalType: "uint256";
|
|
74309
|
-
readonly name: "totalBorrowStab";
|
|
74310
|
-
readonly type: "uint256";
|
|
74311
|
-
}, {
|
|
74312
|
-
readonly internalType: "bool";
|
|
74313
|
-
readonly name: "isActive";
|
|
74314
|
-
readonly type: "bool";
|
|
74315
|
-
}, {
|
|
74316
|
-
readonly internalType: "bool";
|
|
74317
|
-
readonly name: "isFrozen";
|
|
74318
|
-
readonly type: "bool";
|
|
74319
|
-
}, {
|
|
74320
|
-
readonly internalType: "bool";
|
|
74321
|
-
readonly name: "usageAsCollateralEnabled";
|
|
74322
|
-
readonly type: "bool";
|
|
74323
|
-
}, {
|
|
74324
|
-
readonly internalType: "bool";
|
|
74325
|
-
readonly name: "borrowingEnabled";
|
|
74326
|
-
readonly type: "bool";
|
|
74327
|
-
}, {
|
|
74328
|
-
readonly internalType: "bool";
|
|
74329
|
-
readonly name: "stableBorrowRateEnabled";
|
|
74330
|
-
readonly type: "bool";
|
|
74331
|
-
}];
|
|
74332
|
-
readonly internalType: "struct AaveView.TokenInfoFull";
|
|
74333
|
-
readonly name: "_tokenInfo";
|
|
74334
|
-
readonly type: "tuple";
|
|
74335
|
-
}];
|
|
74336
|
-
readonly stateMutability: "view";
|
|
74337
|
-
readonly type: "function";
|
|
74338
|
-
}, {
|
|
74339
|
-
readonly inputs: readonly [{
|
|
74340
|
-
readonly internalType: "address";
|
|
74341
|
-
readonly name: "_market";
|
|
74342
|
-
readonly type: "address";
|
|
74343
|
-
}, {
|
|
74344
|
-
readonly internalType: "address[]";
|
|
74345
|
-
readonly name: "_tokenAddresses";
|
|
74346
|
-
readonly type: "address[]";
|
|
74347
|
-
}];
|
|
74348
|
-
readonly name: "getTokensInfo";
|
|
74349
|
-
readonly outputs: readonly [{
|
|
74350
|
-
readonly components: readonly [{
|
|
74351
|
-
readonly internalType: "address";
|
|
74352
|
-
readonly name: "aTokenAddress";
|
|
74353
|
-
readonly type: "address";
|
|
74354
|
-
}, {
|
|
74355
|
-
readonly internalType: "address";
|
|
74356
|
-
readonly name: "underlyingTokenAddress";
|
|
74357
|
-
readonly type: "address";
|
|
74358
|
-
}, {
|
|
74359
|
-
readonly internalType: "uint256";
|
|
74360
|
-
readonly name: "collateralFactor";
|
|
74361
|
-
readonly type: "uint256";
|
|
74362
|
-
}, {
|
|
74363
|
-
readonly internalType: "uint256";
|
|
74364
|
-
readonly name: "price";
|
|
74365
|
-
readonly type: "uint256";
|
|
74366
|
-
}];
|
|
74367
|
-
readonly internalType: "struct AaveView.TokenInfo[]";
|
|
74368
|
-
readonly name: "tokens";
|
|
74369
|
-
readonly type: "tuple[]";
|
|
74370
|
-
}];
|
|
74371
|
-
readonly stateMutability: "view";
|
|
74372
|
-
readonly type: "function";
|
|
74373
|
-
}, {
|
|
74374
|
-
readonly inputs: readonly [{
|
|
74375
|
-
readonly internalType: "address";
|
|
74376
|
-
readonly name: "_user";
|
|
74377
|
-
readonly type: "address";
|
|
74378
|
-
}];
|
|
74379
|
-
readonly name: "getUserUnclaimedRewards";
|
|
74380
|
-
readonly outputs: readonly [{
|
|
74381
|
-
readonly internalType: "uint256";
|
|
74382
|
-
readonly name: "";
|
|
74383
|
-
readonly type: "uint256";
|
|
74384
|
-
}];
|
|
74385
|
-
readonly stateMutability: "view";
|
|
74386
|
-
readonly type: "function";
|
|
74387
|
-
}, {
|
|
74388
|
-
readonly inputs: readonly [{
|
|
74389
|
-
readonly internalType: "address";
|
|
74390
|
-
readonly name: "_market";
|
|
74391
|
-
readonly type: "address";
|
|
74392
|
-
}, {
|
|
74393
|
-
readonly internalType: "address";
|
|
74394
|
-
readonly name: "_tokenAddr";
|
|
74395
|
-
readonly type: "address";
|
|
74396
|
-
}, {
|
|
74397
|
-
readonly internalType: "uint256";
|
|
74398
|
-
readonly name: "_rateMode";
|
|
74399
|
-
readonly type: "uint256";
|
|
74400
|
-
}];
|
|
74401
|
-
readonly name: "switchRateMode";
|
|
74402
|
-
readonly outputs: readonly [];
|
|
74403
|
-
readonly stateMutability: "nonpayable";
|
|
74404
|
-
readonly type: "function";
|
|
74405
|
-
}], "getUserUnclaimedRewards", readonly [`0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
|
|
74406
|
-
};
|
|
74407
|
-
estimateGas: {
|
|
74408
|
-
enableAsCollateral: (args: readonly [`0x${string}`, `0x${string}`, boolean], options: import("viem").Prettify<import("viem").UnionOmit<import("viem").EstimateContractGasParameters<readonly [{
|
|
74409
|
-
readonly inputs: readonly [];
|
|
74410
|
-
readonly name: "AAVE_REFERRAL_CODE";
|
|
74411
|
-
readonly outputs: readonly [{
|
|
74412
|
-
readonly internalType: "uint16";
|
|
74413
|
-
readonly name: "";
|
|
74414
|
-
readonly type: "uint16";
|
|
74415
|
-
}];
|
|
74416
|
-
readonly stateMutability: "view";
|
|
74417
|
-
readonly type: "function";
|
|
74418
|
-
}, {
|
|
74419
|
-
readonly inputs: readonly [];
|
|
74420
|
-
readonly name: "AaveIncentivesController";
|
|
74421
|
-
readonly outputs: readonly [{
|
|
74422
|
-
readonly internalType: "contract IAaveIncentivesController";
|
|
74423
|
-
readonly name: "";
|
|
74424
|
-
readonly type: "address";
|
|
74425
|
-
}];
|
|
74426
|
-
readonly stateMutability: "view";
|
|
74427
|
-
readonly type: "function";
|
|
74428
|
-
}, {
|
|
74429
|
-
readonly inputs: readonly [];
|
|
74430
|
-
readonly name: "DATA_PROVIDER_ID";
|
|
74431
|
-
readonly outputs: readonly [{
|
|
74432
|
-
readonly internalType: "bytes32";
|
|
74433
|
-
readonly name: "";
|
|
74434
|
-
readonly type: "bytes32";
|
|
74435
|
-
}];
|
|
74436
|
-
readonly stateMutability: "view";
|
|
74437
|
-
readonly type: "function";
|
|
74438
|
-
}, {
|
|
74439
|
-
readonly inputs: readonly [];
|
|
74440
|
-
readonly name: "StakedToken";
|
|
74441
|
-
readonly outputs: readonly [{
|
|
74442
|
-
readonly internalType: "contract IStakedToken";
|
|
74443
|
-
readonly name: "";
|
|
74444
|
-
readonly type: "address";
|
|
74445
|
-
}];
|
|
74446
|
-
readonly stateMutability: "view";
|
|
74447
|
-
readonly type: "function";
|
|
74448
|
-
}, {
|
|
74449
|
-
readonly inputs: readonly [{
|
|
74450
|
-
readonly internalType: "address";
|
|
74451
|
-
readonly name: "_market";
|
|
74452
|
-
readonly type: "address";
|
|
74453
|
-
}, {
|
|
74454
|
-
readonly internalType: "address";
|
|
74455
|
-
readonly name: "_tokenAddr";
|
|
74456
|
-
readonly type: "address";
|
|
74457
|
-
}, {
|
|
74458
|
-
readonly internalType: "bool";
|
|
74459
|
-
readonly name: "_useAsCollateral";
|
|
74460
|
-
readonly type: "bool";
|
|
74461
|
-
}];
|
|
74462
|
-
readonly name: "enableAsCollateral";
|
|
74463
|
-
readonly outputs: readonly [];
|
|
74464
|
-
readonly stateMutability: "nonpayable";
|
|
74465
|
-
readonly type: "function";
|
|
74466
|
-
}, {
|
|
74467
|
-
readonly inputs: readonly [{
|
|
74468
|
-
readonly internalType: "address";
|
|
74469
|
-
readonly name: "_market";
|
|
74470
|
-
readonly type: "address";
|
|
74471
|
-
}, {
|
|
74472
|
-
readonly components: readonly [{
|
|
74473
|
-
readonly internalType: "address";
|
|
74474
|
-
readonly name: "reserveAddress";
|
|
74475
|
-
readonly type: "address";
|
|
74476
|
-
}, {
|
|
74477
|
-
readonly internalType: "uint256";
|
|
74478
|
-
readonly name: "liquidityAdded";
|
|
74479
|
-
readonly type: "uint256";
|
|
74480
|
-
}, {
|
|
74481
|
-
readonly internalType: "uint256";
|
|
74482
|
-
readonly name: "liquidityTaken";
|
|
74483
|
-
readonly type: "uint256";
|
|
74484
|
-
}, {
|
|
74485
|
-
readonly internalType: "bool";
|
|
74486
|
-
readonly name: "isDebtAsset";
|
|
74487
|
-
readonly type: "bool";
|
|
74488
|
-
}];
|
|
74489
|
-
readonly internalType: "struct AaveView.LiquidityChangeParams[]";
|
|
74490
|
-
readonly name: "_reserveParams";
|
|
74491
|
-
readonly type: "tuple[]";
|
|
74492
|
-
}];
|
|
74493
|
-
readonly name: "getApyAfterValuesEstimation";
|
|
74494
|
-
readonly outputs: readonly [{
|
|
74495
|
-
readonly components: readonly [{
|
|
74496
|
-
readonly internalType: "address";
|
|
74497
|
-
readonly name: "reserveAddress";
|
|
74498
|
-
readonly type: "address";
|
|
74499
|
-
}, {
|
|
74500
|
-
readonly internalType: "uint256";
|
|
74501
|
-
readonly name: "supplyRate";
|
|
74502
|
-
readonly type: "uint256";
|
|
74503
|
-
}, {
|
|
74504
|
-
readonly internalType: "uint256";
|
|
74505
|
-
readonly name: "variableBorrowRate";
|
|
74506
|
-
readonly type: "uint256";
|
|
74507
|
-
}];
|
|
74508
|
-
readonly internalType: "struct AaveView.EstimatedRates[]";
|
|
74509
|
-
readonly name: "";
|
|
74510
|
-
readonly type: "tuple[]";
|
|
74511
|
-
}];
|
|
74512
|
-
readonly stateMutability: "view";
|
|
74513
|
-
readonly type: "function";
|
|
74514
|
-
}, {
|
|
74515
|
-
readonly inputs: readonly [{
|
|
74516
|
-
readonly internalType: "address";
|
|
74517
|
-
readonly name: "_market";
|
|
74518
|
-
readonly type: "address";
|
|
74519
|
-
}, {
|
|
74520
|
-
readonly internalType: "address[]";
|
|
74521
|
-
readonly name: "_tokens";
|
|
74522
|
-
readonly type: "address[]";
|
|
74523
|
-
}];
|
|
74524
|
-
readonly name: "getCollFactors";
|
|
74525
|
-
readonly outputs: readonly [{
|
|
74526
|
-
readonly internalType: "uint256[]";
|
|
74527
|
-
readonly name: "collFactors";
|
|
74528
|
-
readonly type: "uint256[]";
|
|
74529
|
-
}];
|
|
74530
|
-
readonly stateMutability: "view";
|
|
74531
|
-
readonly type: "function";
|
|
74532
|
-
}, {
|
|
74533
|
-
readonly inputs: readonly [{
|
|
74534
|
-
readonly internalType: "address";
|
|
74535
|
-
readonly name: "_market";
|
|
74536
|
-
readonly type: "address";
|
|
74537
|
-
}, {
|
|
74538
|
-
readonly internalType: "address[]";
|
|
74539
|
-
readonly name: "_tokenAddresses";
|
|
74540
|
-
readonly type: "address[]";
|
|
74541
|
-
}];
|
|
74542
|
-
readonly name: "getFullTokensInfo";
|
|
74543
|
-
readonly outputs: readonly [{
|
|
74544
|
-
readonly components: readonly [{
|
|
74545
|
-
readonly internalType: "address";
|
|
74546
|
-
readonly name: "aTokenAddress";
|
|
74547
|
-
readonly type: "address";
|
|
74548
|
-
}, {
|
|
74549
|
-
readonly internalType: "address";
|
|
74550
|
-
readonly name: "underlyingTokenAddress";
|
|
74551
|
-
readonly type: "address";
|
|
74552
|
-
}, {
|
|
74553
|
-
readonly internalType: "uint256";
|
|
74554
|
-
readonly name: "supplyRate";
|
|
74555
|
-
readonly type: "uint256";
|
|
74556
|
-
}, {
|
|
74557
|
-
readonly internalType: "uint256";
|
|
74558
|
-
readonly name: "borrowRateVariable";
|
|
74559
|
-
readonly type: "uint256";
|
|
74560
|
-
}, {
|
|
74561
|
-
readonly internalType: "uint256";
|
|
74562
|
-
readonly name: "borrowRateStable";
|
|
74563
|
-
readonly type: "uint256";
|
|
74564
|
-
}, {
|
|
74565
|
-
readonly internalType: "uint256";
|
|
74566
|
-
readonly name: "totalSupply";
|
|
74567
|
-
readonly type: "uint256";
|
|
74568
|
-
}, {
|
|
74569
|
-
readonly internalType: "uint256";
|
|
74570
|
-
readonly name: "availableLiquidity";
|
|
74571
|
-
readonly type: "uint256";
|
|
74572
|
-
}, {
|
|
74573
|
-
readonly internalType: "uint256";
|
|
74574
|
-
readonly name: "totalBorrow";
|
|
74575
|
-
readonly type: "uint256";
|
|
74576
|
-
}, {
|
|
74577
|
-
readonly internalType: "uint256";
|
|
74578
|
-
readonly name: "collateralFactor";
|
|
74579
|
-
readonly type: "uint256";
|
|
74580
|
-
}, {
|
|
74581
|
-
readonly internalType: "uint256";
|
|
74582
|
-
readonly name: "liquidationRatio";
|
|
74583
|
-
readonly type: "uint256";
|
|
74584
|
-
}, {
|
|
74585
|
-
readonly internalType: "uint256";
|
|
74586
|
-
readonly name: "price";
|
|
74587
|
-
readonly type: "uint256";
|
|
74588
|
-
}, {
|
|
74589
|
-
readonly internalType: "uint256";
|
|
74590
|
-
readonly name: "totalBorrowVar";
|
|
74591
|
-
readonly type: "uint256";
|
|
74592
|
-
}, {
|
|
74593
|
-
readonly internalType: "uint256";
|
|
74594
|
-
readonly name: "totalBorrowStab";
|
|
74595
|
-
readonly type: "uint256";
|
|
74596
|
-
}, {
|
|
74597
|
-
readonly internalType: "bool";
|
|
74598
|
-
readonly name: "isActive";
|
|
74599
|
-
readonly type: "bool";
|
|
74600
|
-
}, {
|
|
74601
|
-
readonly internalType: "bool";
|
|
74602
|
-
readonly name: "isFrozen";
|
|
74603
|
-
readonly type: "bool";
|
|
74604
|
-
}, {
|
|
74605
|
-
readonly internalType: "bool";
|
|
74606
|
-
readonly name: "usageAsCollateralEnabled";
|
|
74607
|
-
readonly type: "bool";
|
|
74608
|
-
}, {
|
|
74609
|
-
readonly internalType: "bool";
|
|
74610
|
-
readonly name: "borrowingEnabled";
|
|
74611
|
-
readonly type: "bool";
|
|
74612
|
-
}, {
|
|
74613
|
-
readonly internalType: "bool";
|
|
74614
|
-
readonly name: "stableBorrowRateEnabled";
|
|
74615
|
-
readonly type: "bool";
|
|
74616
|
-
}];
|
|
74617
|
-
readonly internalType: "struct AaveView.TokenInfoFull[]";
|
|
74618
|
-
readonly name: "tokens";
|
|
74619
|
-
readonly type: "tuple[]";
|
|
74620
|
-
}];
|
|
74621
|
-
readonly stateMutability: "view";
|
|
74622
|
-
readonly type: "function";
|
|
74623
|
-
}, {
|
|
74624
|
-
readonly inputs: readonly [{
|
|
74625
|
-
readonly internalType: "address[]";
|
|
74626
|
-
readonly name: "_assets";
|
|
74627
|
-
readonly type: "address[]";
|
|
74628
|
-
}, {
|
|
74629
|
-
readonly internalType: "address";
|
|
74630
|
-
readonly name: "_user";
|
|
74631
|
-
readonly type: "address";
|
|
74632
|
-
}];
|
|
74633
|
-
readonly name: "getIncentivesRewardsBalance";
|
|
74634
|
-
readonly outputs: readonly [{
|
|
74635
|
-
readonly internalType: "uint256";
|
|
74636
|
-
readonly name: "";
|
|
74637
|
-
readonly type: "uint256";
|
|
74638
|
-
}];
|
|
74639
|
-
readonly stateMutability: "view";
|
|
74640
|
-
readonly type: "function";
|
|
74641
|
-
}, {
|
|
74642
|
-
readonly inputs: readonly [{
|
|
74643
|
-
readonly internalType: "address";
|
|
74644
|
-
readonly name: "_market";
|
|
74645
|
-
readonly type: "address";
|
|
74646
|
-
}, {
|
|
74647
|
-
readonly internalType: "address";
|
|
74648
|
-
readonly name: "_user";
|
|
74649
|
-
readonly type: "address";
|
|
74650
|
-
}];
|
|
74651
|
-
readonly name: "getLoanData";
|
|
74652
|
-
readonly outputs: readonly [{
|
|
74653
|
-
readonly components: readonly [{
|
|
74654
|
-
readonly internalType: "address";
|
|
74655
|
-
readonly name: "user";
|
|
74656
|
-
readonly type: "address";
|
|
74657
|
-
}, {
|
|
74658
|
-
readonly internalType: "uint128";
|
|
74659
|
-
readonly name: "ratio";
|
|
74660
|
-
readonly type: "uint128";
|
|
74661
|
-
}, {
|
|
74662
|
-
readonly internalType: "address[]";
|
|
74663
|
-
readonly name: "collAddr";
|
|
74664
|
-
readonly type: "address[]";
|
|
74665
|
-
}, {
|
|
74666
|
-
readonly internalType: "bool[]";
|
|
74667
|
-
readonly name: "enabledAsColl";
|
|
74668
|
-
readonly type: "bool[]";
|
|
74669
|
-
}, {
|
|
74670
|
-
readonly internalType: "address[]";
|
|
74671
|
-
readonly name: "borrowAddr";
|
|
74672
|
-
readonly type: "address[]";
|
|
74673
|
-
}, {
|
|
74674
|
-
readonly internalType: "uint256[]";
|
|
74675
|
-
readonly name: "collAmounts";
|
|
74676
|
-
readonly type: "uint256[]";
|
|
74677
|
-
}, {
|
|
74678
|
-
readonly internalType: "uint256[]";
|
|
74679
|
-
readonly name: "borrowStableAmounts";
|
|
74680
|
-
readonly type: "uint256[]";
|
|
74681
|
-
}, {
|
|
74682
|
-
readonly internalType: "uint256[]";
|
|
74683
|
-
readonly name: "borrowVariableAmounts";
|
|
74684
|
-
readonly type: "uint256[]";
|
|
74685
|
-
}];
|
|
74686
|
-
readonly internalType: "struct AaveView.LoanData";
|
|
74687
|
-
readonly name: "data";
|
|
74688
|
-
readonly type: "tuple";
|
|
74689
|
-
}];
|
|
74690
|
-
readonly stateMutability: "view";
|
|
74691
|
-
readonly type: "function";
|
|
74692
|
-
}, {
|
|
74693
|
-
readonly inputs: readonly [{
|
|
74694
|
-
readonly internalType: "address";
|
|
74695
|
-
readonly name: "_market";
|
|
74696
|
-
readonly type: "address";
|
|
74697
|
-
}, {
|
|
74698
|
-
readonly internalType: "address[]";
|
|
74699
|
-
readonly name: "_users";
|
|
74700
|
-
readonly type: "address[]";
|
|
74701
|
-
}];
|
|
74702
|
-
readonly name: "getLoanDataArr";
|
|
74703
|
-
readonly outputs: readonly [{
|
|
74704
|
-
readonly components: readonly [{
|
|
74705
|
-
readonly internalType: "address";
|
|
74706
|
-
readonly name: "user";
|
|
74707
|
-
readonly type: "address";
|
|
74708
|
-
}, {
|
|
74709
|
-
readonly internalType: "uint128";
|
|
74710
|
-
readonly name: "ratio";
|
|
74711
|
-
readonly type: "uint128";
|
|
74712
|
-
}, {
|
|
74713
|
-
readonly internalType: "address[]";
|
|
74714
|
-
readonly name: "collAddr";
|
|
74715
|
-
readonly type: "address[]";
|
|
74716
|
-
}, {
|
|
74717
|
-
readonly internalType: "bool[]";
|
|
74718
|
-
readonly name: "enabledAsColl";
|
|
74719
|
-
readonly type: "bool[]";
|
|
74720
|
-
}, {
|
|
74721
|
-
readonly internalType: "address[]";
|
|
74722
|
-
readonly name: "borrowAddr";
|
|
74723
|
-
readonly type: "address[]";
|
|
74724
|
-
}, {
|
|
74725
|
-
readonly internalType: "uint256[]";
|
|
74726
|
-
readonly name: "collAmounts";
|
|
74727
|
-
readonly type: "uint256[]";
|
|
74728
|
-
}, {
|
|
74729
|
-
readonly internalType: "uint256[]";
|
|
74730
|
-
readonly name: "borrowStableAmounts";
|
|
74731
|
-
readonly type: "uint256[]";
|
|
74732
|
-
}, {
|
|
74733
|
-
readonly internalType: "uint256[]";
|
|
74734
|
-
readonly name: "borrowVariableAmounts";
|
|
74735
|
-
readonly type: "uint256[]";
|
|
74736
|
-
}];
|
|
74737
|
-
readonly internalType: "struct AaveView.LoanData[]";
|
|
74738
|
-
readonly name: "loans";
|
|
74739
|
-
readonly type: "tuple[]";
|
|
74740
|
-
}];
|
|
74741
|
-
readonly stateMutability: "view";
|
|
74742
|
-
readonly type: "function";
|
|
74743
|
-
}, {
|
|
74744
|
-
readonly inputs: readonly [{
|
|
74745
|
-
readonly internalType: "address";
|
|
74746
|
-
readonly name: "_market";
|
|
74747
|
-
readonly type: "address";
|
|
74748
|
-
}, {
|
|
74749
|
-
readonly internalType: "address[]";
|
|
74750
|
-
readonly name: "_tokens";
|
|
74751
|
-
readonly type: "address[]";
|
|
74752
|
-
}];
|
|
74753
|
-
readonly name: "getPrices";
|
|
74754
|
-
readonly outputs: readonly [{
|
|
74755
|
-
readonly internalType: "uint256[]";
|
|
74756
|
-
readonly name: "prices";
|
|
74757
|
-
readonly type: "uint256[]";
|
|
74758
|
-
}];
|
|
74759
|
-
readonly stateMutability: "view";
|
|
74760
|
-
readonly type: "function";
|
|
74761
|
-
}, {
|
|
74762
|
-
readonly inputs: readonly [{
|
|
74763
|
-
readonly internalType: "address";
|
|
74764
|
-
readonly name: "_market";
|
|
74765
|
-
readonly type: "address";
|
|
74766
|
-
}, {
|
|
74767
|
-
readonly internalType: "address";
|
|
74768
|
-
readonly name: "_user";
|
|
74769
|
-
readonly type: "address";
|
|
74770
|
-
}];
|
|
74771
|
-
readonly name: "getRatio";
|
|
74772
|
-
readonly outputs: readonly [{
|
|
74773
|
-
readonly internalType: "uint256";
|
|
74774
|
-
readonly name: "";
|
|
74775
|
-
readonly type: "uint256";
|
|
74776
|
-
}];
|
|
74777
|
-
readonly stateMutability: "view";
|
|
74778
|
-
readonly type: "function";
|
|
74779
|
-
}, {
|
|
74780
|
-
readonly inputs: readonly [{
|
|
74781
|
-
readonly internalType: "address";
|
|
74782
|
-
readonly name: "_market";
|
|
74783
|
-
readonly type: "address";
|
|
74784
|
-
}, {
|
|
74785
|
-
readonly internalType: "address[]";
|
|
74786
|
-
readonly name: "_users";
|
|
74787
|
-
readonly type: "address[]";
|
|
74788
|
-
}];
|
|
74789
|
-
readonly name: "getRatios";
|
|
74790
|
-
readonly outputs: readonly [{
|
|
74791
|
-
readonly internalType: "uint256[]";
|
|
74792
|
-
readonly name: "ratios";
|
|
74793
|
-
readonly type: "uint256[]";
|
|
74794
|
-
}];
|
|
74795
|
-
readonly stateMutability: "view";
|
|
74796
|
-
readonly type: "function";
|
|
74797
|
-
}, {
|
|
74798
|
-
readonly inputs: readonly [{
|
|
74799
|
-
readonly internalType: "address";
|
|
74800
|
-
readonly name: "_market";
|
|
74801
|
-
readonly type: "address";
|
|
74802
|
-
}, {
|
|
74803
|
-
readonly internalType: "address";
|
|
74804
|
-
readonly name: "_user";
|
|
74805
|
-
readonly type: "address";
|
|
74806
|
-
}];
|
|
74807
|
-
readonly name: "getSafetyRatio";
|
|
74808
|
-
readonly outputs: readonly [{
|
|
74809
|
-
readonly internalType: "uint256";
|
|
74810
|
-
readonly name: "";
|
|
74811
|
-
readonly type: "uint256";
|
|
74812
|
-
}];
|
|
74813
|
-
readonly stateMutability: "view";
|
|
74814
|
-
readonly type: "function";
|
|
74815
|
-
}, {
|
|
74816
|
-
readonly inputs: readonly [{
|
|
74817
|
-
readonly internalType: "address";
|
|
74818
|
-
readonly name: "_staker";
|
|
74819
|
-
readonly type: "address";
|
|
74820
|
-
}];
|
|
74821
|
-
readonly name: "getStakingRewardsBalance";
|
|
74822
|
-
readonly outputs: readonly [{
|
|
74823
|
-
readonly internalType: "uint256";
|
|
74824
|
-
readonly name: "";
|
|
74825
|
-
readonly type: "uint256";
|
|
74826
|
-
}];
|
|
74827
|
-
readonly stateMutability: "view";
|
|
74828
|
-
readonly type: "function";
|
|
74829
|
-
}, {
|
|
74830
|
-
readonly inputs: readonly [{
|
|
74831
|
-
readonly internalType: "address";
|
|
74832
|
-
readonly name: "_market";
|
|
74833
|
-
readonly type: "address";
|
|
74834
|
-
}, {
|
|
74835
|
-
readonly internalType: "address";
|
|
74836
|
-
readonly name: "_user";
|
|
74837
|
-
readonly type: "address";
|
|
74838
|
-
}, {
|
|
74839
|
-
readonly internalType: "address[]";
|
|
74840
|
-
readonly name: "_tokens";
|
|
74841
|
-
readonly type: "address[]";
|
|
74842
|
-
}];
|
|
74843
|
-
readonly name: "getTokenBalances";
|
|
74844
|
-
readonly outputs: readonly [{
|
|
74845
|
-
readonly components: readonly [{
|
|
74846
|
-
readonly internalType: "address";
|
|
74847
|
-
readonly name: "token";
|
|
74848
|
-
readonly type: "address";
|
|
74849
|
-
}, {
|
|
74850
|
-
readonly internalType: "uint256";
|
|
74851
|
-
readonly name: "balance";
|
|
74852
|
-
readonly type: "uint256";
|
|
74853
|
-
}, {
|
|
74854
|
-
readonly internalType: "uint256";
|
|
74855
|
-
readonly name: "borrowsStable";
|
|
74856
|
-
readonly type: "uint256";
|
|
74857
|
-
}, {
|
|
74858
|
-
readonly internalType: "uint256";
|
|
74859
|
-
readonly name: "borrowsVariable";
|
|
74860
|
-
readonly type: "uint256";
|
|
74861
|
-
}, {
|
|
74862
|
-
readonly internalType: "uint256";
|
|
74863
|
-
readonly name: "stableBorrowRate";
|
|
74864
|
-
readonly type: "uint256";
|
|
74865
|
-
}, {
|
|
74866
|
-
readonly internalType: "bool";
|
|
74867
|
-
readonly name: "enabledAsCollateral";
|
|
74868
|
-
readonly type: "bool";
|
|
74869
|
-
}];
|
|
74870
|
-
readonly internalType: "struct AaveView.UserToken[]";
|
|
74871
|
-
readonly name: "userTokens";
|
|
74872
|
-
readonly type: "tuple[]";
|
|
74873
|
-
}];
|
|
74874
|
-
readonly stateMutability: "view";
|
|
74875
|
-
readonly type: "function";
|
|
74876
|
-
}, {
|
|
74877
|
-
readonly inputs: readonly [{
|
|
74878
|
-
readonly internalType: "contract IAaveProtocolDataProviderV2";
|
|
74879
|
-
readonly name: "_dataProvider";
|
|
74880
|
-
readonly type: "address";
|
|
74881
|
-
}, {
|
|
74882
|
-
readonly internalType: "address";
|
|
74883
|
-
readonly name: "_priceOracleAddress";
|
|
74884
|
-
readonly type: "address";
|
|
74885
|
-
}, {
|
|
74886
|
-
readonly internalType: "address";
|
|
74887
|
-
readonly name: "_token";
|
|
74888
|
-
readonly type: "address";
|
|
74889
|
-
}];
|
|
74890
|
-
readonly name: "getTokenInfoFull";
|
|
74891
|
-
readonly outputs: readonly [{
|
|
74892
|
-
readonly components: readonly [{
|
|
74893
|
-
readonly internalType: "address";
|
|
74894
|
-
readonly name: "aTokenAddress";
|
|
74895
|
-
readonly type: "address";
|
|
74896
|
-
}, {
|
|
74897
|
-
readonly internalType: "address";
|
|
74898
|
-
readonly name: "underlyingTokenAddress";
|
|
74899
|
-
readonly type: "address";
|
|
74900
|
-
}, {
|
|
74901
|
-
readonly internalType: "uint256";
|
|
74902
|
-
readonly name: "supplyRate";
|
|
74903
|
-
readonly type: "uint256";
|
|
74904
|
-
}, {
|
|
74905
|
-
readonly internalType: "uint256";
|
|
74906
|
-
readonly name: "borrowRateVariable";
|
|
74907
|
-
readonly type: "uint256";
|
|
74908
|
-
}, {
|
|
74909
|
-
readonly internalType: "uint256";
|
|
74910
|
-
readonly name: "borrowRateStable";
|
|
74911
|
-
readonly type: "uint256";
|
|
74912
|
-
}, {
|
|
74913
|
-
readonly internalType: "uint256";
|
|
74914
|
-
readonly name: "totalSupply";
|
|
74915
|
-
readonly type: "uint256";
|
|
74916
|
-
}, {
|
|
74917
|
-
readonly internalType: "uint256";
|
|
74918
|
-
readonly name: "availableLiquidity";
|
|
74919
|
-
readonly type: "uint256";
|
|
74920
|
-
}, {
|
|
74921
|
-
readonly internalType: "uint256";
|
|
74922
|
-
readonly name: "totalBorrow";
|
|
74923
|
-
readonly type: "uint256";
|
|
74924
|
-
}, {
|
|
74925
|
-
readonly internalType: "uint256";
|
|
74926
|
-
readonly name: "collateralFactor";
|
|
74927
|
-
readonly type: "uint256";
|
|
74928
|
-
}, {
|
|
74929
|
-
readonly internalType: "uint256";
|
|
74930
|
-
readonly name: "liquidationRatio";
|
|
74931
|
-
readonly type: "uint256";
|
|
74932
|
-
}, {
|
|
74933
|
-
readonly internalType: "uint256";
|
|
74934
|
-
readonly name: "price";
|
|
74935
|
-
readonly type: "uint256";
|
|
74936
|
-
}, {
|
|
74937
|
-
readonly internalType: "uint256";
|
|
74938
|
-
readonly name: "totalBorrowVar";
|
|
74939
|
-
readonly type: "uint256";
|
|
74940
|
-
}, {
|
|
74941
|
-
readonly internalType: "uint256";
|
|
74942
|
-
readonly name: "totalBorrowStab";
|
|
74943
|
-
readonly type: "uint256";
|
|
74944
|
-
}, {
|
|
74945
|
-
readonly internalType: "bool";
|
|
74946
|
-
readonly name: "isActive";
|
|
74947
|
-
readonly type: "bool";
|
|
74948
|
-
}, {
|
|
74949
|
-
readonly internalType: "bool";
|
|
74950
|
-
readonly name: "isFrozen";
|
|
74951
|
-
readonly type: "bool";
|
|
74952
|
-
}, {
|
|
74953
|
-
readonly internalType: "bool";
|
|
74954
|
-
readonly name: "usageAsCollateralEnabled";
|
|
74955
|
-
readonly type: "bool";
|
|
74956
|
-
}, {
|
|
74957
|
-
readonly internalType: "bool";
|
|
74958
|
-
readonly name: "borrowingEnabled";
|
|
74959
|
-
readonly type: "bool";
|
|
74960
|
-
}, {
|
|
74961
|
-
readonly internalType: "bool";
|
|
74962
|
-
readonly name: "stableBorrowRateEnabled";
|
|
74963
|
-
readonly type: "bool";
|
|
74964
|
-
}];
|
|
74965
|
-
readonly internalType: "struct AaveView.TokenInfoFull";
|
|
74966
|
-
readonly name: "_tokenInfo";
|
|
74967
|
-
readonly type: "tuple";
|
|
74968
|
-
}];
|
|
74969
|
-
readonly stateMutability: "view";
|
|
74970
|
-
readonly type: "function";
|
|
74971
|
-
}, {
|
|
74972
|
-
readonly inputs: readonly [{
|
|
74973
|
-
readonly internalType: "address";
|
|
74974
|
-
readonly name: "_market";
|
|
74975
|
-
readonly type: "address";
|
|
74976
|
-
}, {
|
|
74977
|
-
readonly internalType: "address[]";
|
|
74978
|
-
readonly name: "_tokenAddresses";
|
|
74979
|
-
readonly type: "address[]";
|
|
74980
|
-
}];
|
|
74981
|
-
readonly name: "getTokensInfo";
|
|
74982
|
-
readonly outputs: readonly [{
|
|
74983
|
-
readonly components: readonly [{
|
|
74984
|
-
readonly internalType: "address";
|
|
74985
|
-
readonly name: "aTokenAddress";
|
|
74986
|
-
readonly type: "address";
|
|
74987
|
-
}, {
|
|
74988
|
-
readonly internalType: "address";
|
|
74989
|
-
readonly name: "underlyingTokenAddress";
|
|
74990
|
-
readonly type: "address";
|
|
74991
|
-
}, {
|
|
74992
|
-
readonly internalType: "uint256";
|
|
74993
|
-
readonly name: "collateralFactor";
|
|
74994
|
-
readonly type: "uint256";
|
|
74995
|
-
}, {
|
|
74996
|
-
readonly internalType: "uint256";
|
|
74997
|
-
readonly name: "price";
|
|
74998
|
-
readonly type: "uint256";
|
|
74999
|
-
}];
|
|
75000
|
-
readonly internalType: "struct AaveView.TokenInfo[]";
|
|
75001
|
-
readonly name: "tokens";
|
|
75002
|
-
readonly type: "tuple[]";
|
|
75003
|
-
}];
|
|
75004
|
-
readonly stateMutability: "view";
|
|
75005
|
-
readonly type: "function";
|
|
75006
|
-
}, {
|
|
75007
|
-
readonly inputs: readonly [{
|
|
75008
|
-
readonly internalType: "address";
|
|
75009
|
-
readonly name: "_user";
|
|
75010
|
-
readonly type: "address";
|
|
75011
|
-
}];
|
|
75012
|
-
readonly name: "getUserUnclaimedRewards";
|
|
75013
|
-
readonly outputs: readonly [{
|
|
75014
|
-
readonly internalType: "uint256";
|
|
75015
|
-
readonly name: "";
|
|
75016
|
-
readonly type: "uint256";
|
|
75017
|
-
}];
|
|
75018
|
-
readonly stateMutability: "view";
|
|
75019
|
-
readonly type: "function";
|
|
75020
|
-
}, {
|
|
75021
|
-
readonly inputs: readonly [{
|
|
75022
|
-
readonly internalType: "address";
|
|
75023
|
-
readonly name: "_market";
|
|
75024
|
-
readonly type: "address";
|
|
75025
|
-
}, {
|
|
75026
|
-
readonly internalType: "address";
|
|
75027
|
-
readonly name: "_tokenAddr";
|
|
75028
|
-
readonly type: "address";
|
|
75029
|
-
}, {
|
|
75030
|
-
readonly internalType: "uint256";
|
|
75031
|
-
readonly name: "_rateMode";
|
|
75032
|
-
readonly type: "uint256";
|
|
75033
|
-
}];
|
|
75034
|
-
readonly name: "switchRateMode";
|
|
75035
|
-
readonly outputs: readonly [];
|
|
75036
|
-
readonly stateMutability: "nonpayable";
|
|
75037
|
-
readonly type: "function";
|
|
75038
|
-
}], "enableAsCollateral", readonly [`0x${string}`, `0x${string}`, boolean], import("viem").Chain | undefined>, "address" | "args" | "abi" | "functionName">>) => Promise<import("viem").EstimateContractGasReturnType>;
|
|
75039
|
-
switchRateMode: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify<import("viem").UnionOmit<import("viem").EstimateContractGasParameters<readonly [{
|
|
75040
|
-
readonly inputs: readonly [];
|
|
75041
|
-
readonly name: "AAVE_REFERRAL_CODE";
|
|
75042
|
-
readonly outputs: readonly [{
|
|
75043
|
-
readonly internalType: "uint16";
|
|
75044
|
-
readonly name: "";
|
|
75045
|
-
readonly type: "uint16";
|
|
75046
|
-
}];
|
|
75047
|
-
readonly stateMutability: "view";
|
|
75048
|
-
readonly type: "function";
|
|
75049
|
-
}, {
|
|
75050
|
-
readonly inputs: readonly [];
|
|
75051
|
-
readonly name: "AaveIncentivesController";
|
|
75052
|
-
readonly outputs: readonly [{
|
|
75053
|
-
readonly internalType: "contract IAaveIncentivesController";
|
|
75054
|
-
readonly name: "";
|
|
75055
|
-
readonly type: "address";
|
|
75056
|
-
}];
|
|
75057
|
-
readonly stateMutability: "view";
|
|
75058
|
-
readonly type: "function";
|
|
75059
|
-
}, {
|
|
75060
|
-
readonly inputs: readonly [];
|
|
75061
|
-
readonly name: "DATA_PROVIDER_ID";
|
|
75062
|
-
readonly outputs: readonly [{
|
|
75063
|
-
readonly internalType: "bytes32";
|
|
75064
|
-
readonly name: "";
|
|
75065
|
-
readonly type: "bytes32";
|
|
75066
|
-
}];
|
|
75067
|
-
readonly stateMutability: "view";
|
|
75068
|
-
readonly type: "function";
|
|
75069
|
-
}, {
|
|
75070
|
-
readonly inputs: readonly [];
|
|
75071
|
-
readonly name: "StakedToken";
|
|
75072
|
-
readonly outputs: readonly [{
|
|
75073
|
-
readonly internalType: "contract IStakedToken";
|
|
75074
|
-
readonly name: "";
|
|
75075
|
-
readonly type: "address";
|
|
75076
|
-
}];
|
|
75077
|
-
readonly stateMutability: "view";
|
|
75078
|
-
readonly type: "function";
|
|
75079
|
-
}, {
|
|
75080
|
-
readonly inputs: readonly [{
|
|
75081
|
-
readonly internalType: "address";
|
|
75082
|
-
readonly name: "_market";
|
|
75083
|
-
readonly type: "address";
|
|
75084
|
-
}, {
|
|
75085
|
-
readonly internalType: "address";
|
|
75086
|
-
readonly name: "_tokenAddr";
|
|
75087
|
-
readonly type: "address";
|
|
75088
|
-
}, {
|
|
75089
|
-
readonly internalType: "bool";
|
|
75090
|
-
readonly name: "_useAsCollateral";
|
|
75091
|
-
readonly type: "bool";
|
|
75092
|
-
}];
|
|
75093
|
-
readonly name: "enableAsCollateral";
|
|
75094
|
-
readonly outputs: readonly [];
|
|
75095
|
-
readonly stateMutability: "nonpayable";
|
|
75096
|
-
readonly type: "function";
|
|
75097
|
-
}, {
|
|
75098
|
-
readonly inputs: readonly [{
|
|
75099
|
-
readonly internalType: "address";
|
|
75100
|
-
readonly name: "_market";
|
|
75101
|
-
readonly type: "address";
|
|
75102
|
-
}, {
|
|
75103
|
-
readonly components: readonly [{
|
|
75104
|
-
readonly internalType: "address";
|
|
75105
|
-
readonly name: "reserveAddress";
|
|
75106
|
-
readonly type: "address";
|
|
75107
|
-
}, {
|
|
75108
|
-
readonly internalType: "uint256";
|
|
75109
|
-
readonly name: "liquidityAdded";
|
|
75110
|
-
readonly type: "uint256";
|
|
75111
|
-
}, {
|
|
75112
|
-
readonly internalType: "uint256";
|
|
75113
|
-
readonly name: "liquidityTaken";
|
|
75114
|
-
readonly type: "uint256";
|
|
75115
|
-
}, {
|
|
75116
|
-
readonly internalType: "bool";
|
|
75117
|
-
readonly name: "isDebtAsset";
|
|
75118
|
-
readonly type: "bool";
|
|
75119
|
-
}];
|
|
75120
|
-
readonly internalType: "struct AaveView.LiquidityChangeParams[]";
|
|
75121
|
-
readonly name: "_reserveParams";
|
|
75122
|
-
readonly type: "tuple[]";
|
|
75123
|
-
}];
|
|
75124
|
-
readonly name: "getApyAfterValuesEstimation";
|
|
75125
|
-
readonly outputs: readonly [{
|
|
75126
|
-
readonly components: readonly [{
|
|
75127
|
-
readonly internalType: "address";
|
|
75128
|
-
readonly name: "reserveAddress";
|
|
75129
|
-
readonly type: "address";
|
|
75130
|
-
}, {
|
|
75131
|
-
readonly internalType: "uint256";
|
|
75132
|
-
readonly name: "supplyRate";
|
|
75133
|
-
readonly type: "uint256";
|
|
75134
|
-
}, {
|
|
75135
|
-
readonly internalType: "uint256";
|
|
75136
|
-
readonly name: "variableBorrowRate";
|
|
75137
|
-
readonly type: "uint256";
|
|
75138
|
-
}];
|
|
75139
|
-
readonly internalType: "struct AaveView.EstimatedRates[]";
|
|
75140
|
-
readonly name: "";
|
|
75141
|
-
readonly type: "tuple[]";
|
|
75142
|
-
}];
|
|
75143
|
-
readonly stateMutability: "view";
|
|
75144
|
-
readonly type: "function";
|
|
75145
|
-
}, {
|
|
75146
|
-
readonly inputs: readonly [{
|
|
75147
|
-
readonly internalType: "address";
|
|
75148
|
-
readonly name: "_market";
|
|
75149
|
-
readonly type: "address";
|
|
75150
|
-
}, {
|
|
75151
|
-
readonly internalType: "address[]";
|
|
75152
|
-
readonly name: "_tokens";
|
|
75153
|
-
readonly type: "address[]";
|
|
75154
|
-
}];
|
|
75155
|
-
readonly name: "getCollFactors";
|
|
75156
|
-
readonly outputs: readonly [{
|
|
75157
|
-
readonly internalType: "uint256[]";
|
|
75158
|
-
readonly name: "collFactors";
|
|
75159
|
-
readonly type: "uint256[]";
|
|
75160
|
-
}];
|
|
75161
|
-
readonly stateMutability: "view";
|
|
75162
|
-
readonly type: "function";
|
|
75163
|
-
}, {
|
|
75164
|
-
readonly inputs: readonly [{
|
|
75165
|
-
readonly internalType: "address";
|
|
75166
|
-
readonly name: "_market";
|
|
75167
|
-
readonly type: "address";
|
|
75168
|
-
}, {
|
|
75169
|
-
readonly internalType: "address[]";
|
|
75170
|
-
readonly name: "_tokenAddresses";
|
|
75171
|
-
readonly type: "address[]";
|
|
75172
|
-
}];
|
|
75173
|
-
readonly name: "getFullTokensInfo";
|
|
75174
|
-
readonly outputs: readonly [{
|
|
75175
|
-
readonly components: readonly [{
|
|
75176
|
-
readonly internalType: "address";
|
|
75177
|
-
readonly name: "aTokenAddress";
|
|
75178
|
-
readonly type: "address";
|
|
75179
|
-
}, {
|
|
75180
|
-
readonly internalType: "address";
|
|
75181
|
-
readonly name: "underlyingTokenAddress";
|
|
75182
|
-
readonly type: "address";
|
|
75183
|
-
}, {
|
|
75184
|
-
readonly internalType: "uint256";
|
|
75185
|
-
readonly name: "supplyRate";
|
|
75186
|
-
readonly type: "uint256";
|
|
75187
|
-
}, {
|
|
75188
|
-
readonly internalType: "uint256";
|
|
75189
|
-
readonly name: "borrowRateVariable";
|
|
75190
|
-
readonly type: "uint256";
|
|
75191
|
-
}, {
|
|
75192
|
-
readonly internalType: "uint256";
|
|
75193
|
-
readonly name: "borrowRateStable";
|
|
75194
|
-
readonly type: "uint256";
|
|
75195
|
-
}, {
|
|
75196
|
-
readonly internalType: "uint256";
|
|
75197
|
-
readonly name: "totalSupply";
|
|
75198
|
-
readonly type: "uint256";
|
|
75199
|
-
}, {
|
|
75200
|
-
readonly internalType: "uint256";
|
|
75201
|
-
readonly name: "availableLiquidity";
|
|
75202
|
-
readonly type: "uint256";
|
|
75203
|
-
}, {
|
|
75204
|
-
readonly internalType: "uint256";
|
|
75205
|
-
readonly name: "totalBorrow";
|
|
75206
|
-
readonly type: "uint256";
|
|
75207
|
-
}, {
|
|
75208
|
-
readonly internalType: "uint256";
|
|
75209
|
-
readonly name: "collateralFactor";
|
|
75210
|
-
readonly type: "uint256";
|
|
75211
|
-
}, {
|
|
75212
|
-
readonly internalType: "uint256";
|
|
75213
|
-
readonly name: "liquidationRatio";
|
|
75214
|
-
readonly type: "uint256";
|
|
75215
|
-
}, {
|
|
75216
|
-
readonly internalType: "uint256";
|
|
75217
|
-
readonly name: "price";
|
|
75218
|
-
readonly type: "uint256";
|
|
75219
|
-
}, {
|
|
75220
|
-
readonly internalType: "uint256";
|
|
75221
|
-
readonly name: "totalBorrowVar";
|
|
75222
|
-
readonly type: "uint256";
|
|
75223
|
-
}, {
|
|
75224
|
-
readonly internalType: "uint256";
|
|
75225
|
-
readonly name: "totalBorrowStab";
|
|
75226
|
-
readonly type: "uint256";
|
|
75227
|
-
}, {
|
|
75228
|
-
readonly internalType: "bool";
|
|
75229
|
-
readonly name: "isActive";
|
|
75230
|
-
readonly type: "bool";
|
|
75231
|
-
}, {
|
|
75232
|
-
readonly internalType: "bool";
|
|
75233
|
-
readonly name: "isFrozen";
|
|
75234
|
-
readonly type: "bool";
|
|
75235
|
-
}, {
|
|
75236
|
-
readonly internalType: "bool";
|
|
75237
|
-
readonly name: "usageAsCollateralEnabled";
|
|
75238
|
-
readonly type: "bool";
|
|
75239
|
-
}, {
|
|
75240
|
-
readonly internalType: "bool";
|
|
75241
|
-
readonly name: "borrowingEnabled";
|
|
75242
|
-
readonly type: "bool";
|
|
75243
|
-
}, {
|
|
75244
|
-
readonly internalType: "bool";
|
|
75245
|
-
readonly name: "stableBorrowRateEnabled";
|
|
75246
|
-
readonly type: "bool";
|
|
75247
|
-
}];
|
|
75248
|
-
readonly internalType: "struct AaveView.TokenInfoFull[]";
|
|
75249
|
-
readonly name: "tokens";
|
|
75250
|
-
readonly type: "tuple[]";
|
|
75251
|
-
}];
|
|
75252
|
-
readonly stateMutability: "view";
|
|
75253
|
-
readonly type: "function";
|
|
75254
|
-
}, {
|
|
75255
|
-
readonly inputs: readonly [{
|
|
75256
|
-
readonly internalType: "address[]";
|
|
75257
|
-
readonly name: "_assets";
|
|
75258
|
-
readonly type: "address[]";
|
|
75259
|
-
}, {
|
|
75260
|
-
readonly internalType: "address";
|
|
75261
|
-
readonly name: "_user";
|
|
75262
|
-
readonly type: "address";
|
|
75263
|
-
}];
|
|
75264
|
-
readonly name: "getIncentivesRewardsBalance";
|
|
75265
|
-
readonly outputs: readonly [{
|
|
75266
|
-
readonly internalType: "uint256";
|
|
75267
|
-
readonly name: "";
|
|
75268
|
-
readonly type: "uint256";
|
|
75269
|
-
}];
|
|
75270
|
-
readonly stateMutability: "view";
|
|
75271
|
-
readonly type: "function";
|
|
75272
|
-
}, {
|
|
75273
|
-
readonly inputs: readonly [{
|
|
75274
|
-
readonly internalType: "address";
|
|
75275
|
-
readonly name: "_market";
|
|
75276
|
-
readonly type: "address";
|
|
75277
|
-
}, {
|
|
75278
|
-
readonly internalType: "address";
|
|
75279
|
-
readonly name: "_user";
|
|
75280
|
-
readonly type: "address";
|
|
75281
|
-
}];
|
|
75282
|
-
readonly name: "getLoanData";
|
|
75283
|
-
readonly outputs: readonly [{
|
|
75284
|
-
readonly components: readonly [{
|
|
75285
|
-
readonly internalType: "address";
|
|
75286
|
-
readonly name: "user";
|
|
75287
|
-
readonly type: "address";
|
|
75288
|
-
}, {
|
|
75289
|
-
readonly internalType: "uint128";
|
|
75290
|
-
readonly name: "ratio";
|
|
75291
|
-
readonly type: "uint128";
|
|
75292
|
-
}, {
|
|
75293
|
-
readonly internalType: "address[]";
|
|
75294
|
-
readonly name: "collAddr";
|
|
75295
|
-
readonly type: "address[]";
|
|
75296
|
-
}, {
|
|
75297
|
-
readonly internalType: "bool[]";
|
|
75298
|
-
readonly name: "enabledAsColl";
|
|
75299
|
-
readonly type: "bool[]";
|
|
75300
|
-
}, {
|
|
75301
|
-
readonly internalType: "address[]";
|
|
75302
|
-
readonly name: "borrowAddr";
|
|
75303
|
-
readonly type: "address[]";
|
|
75304
|
-
}, {
|
|
75305
|
-
readonly internalType: "uint256[]";
|
|
75306
|
-
readonly name: "collAmounts";
|
|
75307
|
-
readonly type: "uint256[]";
|
|
75308
|
-
}, {
|
|
75309
|
-
readonly internalType: "uint256[]";
|
|
75310
|
-
readonly name: "borrowStableAmounts";
|
|
75311
|
-
readonly type: "uint256[]";
|
|
75312
|
-
}, {
|
|
75313
|
-
readonly internalType: "uint256[]";
|
|
75314
|
-
readonly name: "borrowVariableAmounts";
|
|
75315
|
-
readonly type: "uint256[]";
|
|
75316
|
-
}];
|
|
75317
|
-
readonly internalType: "struct AaveView.LoanData";
|
|
75318
|
-
readonly name: "data";
|
|
75319
|
-
readonly type: "tuple";
|
|
75320
|
-
}];
|
|
75321
|
-
readonly stateMutability: "view";
|
|
75322
|
-
readonly type: "function";
|
|
75323
|
-
}, {
|
|
75324
|
-
readonly inputs: readonly [{
|
|
75325
|
-
readonly internalType: "address";
|
|
75326
|
-
readonly name: "_market";
|
|
75327
|
-
readonly type: "address";
|
|
75328
|
-
}, {
|
|
75329
|
-
readonly internalType: "address[]";
|
|
75330
|
-
readonly name: "_users";
|
|
75331
|
-
readonly type: "address[]";
|
|
75332
|
-
}];
|
|
75333
|
-
readonly name: "getLoanDataArr";
|
|
75334
|
-
readonly outputs: readonly [{
|
|
75335
|
-
readonly components: readonly [{
|
|
75336
|
-
readonly internalType: "address";
|
|
75337
|
-
readonly name: "user";
|
|
75338
|
-
readonly type: "address";
|
|
75339
|
-
}, {
|
|
75340
|
-
readonly internalType: "uint128";
|
|
75341
|
-
readonly name: "ratio";
|
|
75342
|
-
readonly type: "uint128";
|
|
75343
|
-
}, {
|
|
75344
|
-
readonly internalType: "address[]";
|
|
75345
|
-
readonly name: "collAddr";
|
|
75346
|
-
readonly type: "address[]";
|
|
75347
|
-
}, {
|
|
75348
|
-
readonly internalType: "bool[]";
|
|
75349
|
-
readonly name: "enabledAsColl";
|
|
75350
|
-
readonly type: "bool[]";
|
|
75351
|
-
}, {
|
|
75352
|
-
readonly internalType: "address[]";
|
|
75353
|
-
readonly name: "borrowAddr";
|
|
75354
|
-
readonly type: "address[]";
|
|
75355
|
-
}, {
|
|
75356
|
-
readonly internalType: "uint256[]";
|
|
75357
|
-
readonly name: "collAmounts";
|
|
75358
|
-
readonly type: "uint256[]";
|
|
75359
|
-
}, {
|
|
75360
|
-
readonly internalType: "uint256[]";
|
|
75361
|
-
readonly name: "borrowStableAmounts";
|
|
75362
|
-
readonly type: "uint256[]";
|
|
75363
|
-
}, {
|
|
75364
|
-
readonly internalType: "uint256[]";
|
|
75365
|
-
readonly name: "borrowVariableAmounts";
|
|
75366
|
-
readonly type: "uint256[]";
|
|
75367
|
-
}];
|
|
75368
|
-
readonly internalType: "struct AaveView.LoanData[]";
|
|
75369
|
-
readonly name: "loans";
|
|
75370
|
-
readonly type: "tuple[]";
|
|
75371
|
-
}];
|
|
75372
|
-
readonly stateMutability: "view";
|
|
75373
|
-
readonly type: "function";
|
|
75374
|
-
}, {
|
|
75375
|
-
readonly inputs: readonly [{
|
|
75376
|
-
readonly internalType: "address";
|
|
75377
|
-
readonly name: "_market";
|
|
75378
|
-
readonly type: "address";
|
|
75379
|
-
}, {
|
|
75380
|
-
readonly internalType: "address[]";
|
|
75381
|
-
readonly name: "_tokens";
|
|
75382
|
-
readonly type: "address[]";
|
|
75383
|
-
}];
|
|
75384
|
-
readonly name: "getPrices";
|
|
75385
|
-
readonly outputs: readonly [{
|
|
75386
|
-
readonly internalType: "uint256[]";
|
|
75387
|
-
readonly name: "prices";
|
|
75388
|
-
readonly type: "uint256[]";
|
|
75389
|
-
}];
|
|
75390
|
-
readonly stateMutability: "view";
|
|
75391
|
-
readonly type: "function";
|
|
75392
|
-
}, {
|
|
75393
|
-
readonly inputs: readonly [{
|
|
75394
|
-
readonly internalType: "address";
|
|
75395
|
-
readonly name: "_market";
|
|
75396
|
-
readonly type: "address";
|
|
75397
|
-
}, {
|
|
75398
|
-
readonly internalType: "address";
|
|
75399
|
-
readonly name: "_user";
|
|
75400
|
-
readonly type: "address";
|
|
75401
|
-
}];
|
|
75402
|
-
readonly name: "getRatio";
|
|
75403
|
-
readonly outputs: readonly [{
|
|
75404
|
-
readonly internalType: "uint256";
|
|
75405
|
-
readonly name: "";
|
|
75406
|
-
readonly type: "uint256";
|
|
75407
|
-
}];
|
|
75408
|
-
readonly stateMutability: "view";
|
|
75409
|
-
readonly type: "function";
|
|
75410
|
-
}, {
|
|
75411
|
-
readonly inputs: readonly [{
|
|
75412
|
-
readonly internalType: "address";
|
|
75413
|
-
readonly name: "_market";
|
|
75414
|
-
readonly type: "address";
|
|
75415
|
-
}, {
|
|
75416
|
-
readonly internalType: "address[]";
|
|
75417
|
-
readonly name: "_users";
|
|
75418
|
-
readonly type: "address[]";
|
|
75419
|
-
}];
|
|
75420
|
-
readonly name: "getRatios";
|
|
75421
|
-
readonly outputs: readonly [{
|
|
75422
|
-
readonly internalType: "uint256[]";
|
|
75423
|
-
readonly name: "ratios";
|
|
75424
|
-
readonly type: "uint256[]";
|
|
75425
|
-
}];
|
|
75426
|
-
readonly stateMutability: "view";
|
|
75427
|
-
readonly type: "function";
|
|
75428
|
-
}, {
|
|
75429
|
-
readonly inputs: readonly [{
|
|
75430
|
-
readonly internalType: "address";
|
|
75431
|
-
readonly name: "_market";
|
|
75432
|
-
readonly type: "address";
|
|
75433
|
-
}, {
|
|
75434
|
-
readonly internalType: "address";
|
|
75435
|
-
readonly name: "_user";
|
|
75436
|
-
readonly type: "address";
|
|
75437
|
-
}];
|
|
75438
|
-
readonly name: "getSafetyRatio";
|
|
75439
|
-
readonly outputs: readonly [{
|
|
75440
|
-
readonly internalType: "uint256";
|
|
75441
|
-
readonly name: "";
|
|
75442
|
-
readonly type: "uint256";
|
|
75443
|
-
}];
|
|
75444
|
-
readonly stateMutability: "view";
|
|
75445
|
-
readonly type: "function";
|
|
75446
|
-
}, {
|
|
75447
|
-
readonly inputs: readonly [{
|
|
75448
|
-
readonly internalType: "address";
|
|
75449
|
-
readonly name: "_staker";
|
|
75450
|
-
readonly type: "address";
|
|
75451
|
-
}];
|
|
75452
|
-
readonly name: "getStakingRewardsBalance";
|
|
75453
|
-
readonly outputs: readonly [{
|
|
75454
|
-
readonly internalType: "uint256";
|
|
75455
|
-
readonly name: "";
|
|
75456
|
-
readonly type: "uint256";
|
|
75457
|
-
}];
|
|
75458
|
-
readonly stateMutability: "view";
|
|
75459
|
-
readonly type: "function";
|
|
75460
|
-
}, {
|
|
75461
|
-
readonly inputs: readonly [{
|
|
75462
|
-
readonly internalType: "address";
|
|
75463
|
-
readonly name: "_market";
|
|
75464
|
-
readonly type: "address";
|
|
75465
|
-
}, {
|
|
75466
|
-
readonly internalType: "address";
|
|
75467
|
-
readonly name: "_user";
|
|
75468
|
-
readonly type: "address";
|
|
75469
|
-
}, {
|
|
75470
|
-
readonly internalType: "address[]";
|
|
75471
|
-
readonly name: "_tokens";
|
|
75472
|
-
readonly type: "address[]";
|
|
75473
|
-
}];
|
|
75474
|
-
readonly name: "getTokenBalances";
|
|
75475
|
-
readonly outputs: readonly [{
|
|
75476
|
-
readonly components: readonly [{
|
|
75477
|
-
readonly internalType: "address";
|
|
75478
|
-
readonly name: "token";
|
|
75479
|
-
readonly type: "address";
|
|
75480
|
-
}, {
|
|
75481
|
-
readonly internalType: "uint256";
|
|
75482
|
-
readonly name: "balance";
|
|
75483
|
-
readonly type: "uint256";
|
|
75484
|
-
}, {
|
|
75485
|
-
readonly internalType: "uint256";
|
|
75486
|
-
readonly name: "borrowsStable";
|
|
75487
|
-
readonly type: "uint256";
|
|
75488
|
-
}, {
|
|
75489
|
-
readonly internalType: "uint256";
|
|
75490
|
-
readonly name: "borrowsVariable";
|
|
75491
|
-
readonly type: "uint256";
|
|
75492
|
-
}, {
|
|
75493
|
-
readonly internalType: "uint256";
|
|
75494
|
-
readonly name: "stableBorrowRate";
|
|
75495
|
-
readonly type: "uint256";
|
|
75496
|
-
}, {
|
|
75497
|
-
readonly internalType: "bool";
|
|
75498
|
-
readonly name: "enabledAsCollateral";
|
|
75499
|
-
readonly type: "bool";
|
|
75500
|
-
}];
|
|
75501
|
-
readonly internalType: "struct AaveView.UserToken[]";
|
|
75502
|
-
readonly name: "userTokens";
|
|
75503
|
-
readonly type: "tuple[]";
|
|
75504
|
-
}];
|
|
75505
|
-
readonly stateMutability: "view";
|
|
75506
|
-
readonly type: "function";
|
|
75507
|
-
}, {
|
|
75508
|
-
readonly inputs: readonly [{
|
|
75509
|
-
readonly internalType: "contract IAaveProtocolDataProviderV2";
|
|
75510
|
-
readonly name: "_dataProvider";
|
|
75511
|
-
readonly type: "address";
|
|
75512
|
-
}, {
|
|
75513
|
-
readonly internalType: "address";
|
|
75514
|
-
readonly name: "_priceOracleAddress";
|
|
75515
|
-
readonly type: "address";
|
|
75516
|
-
}, {
|
|
75517
|
-
readonly internalType: "address";
|
|
75518
|
-
readonly name: "_token";
|
|
75519
|
-
readonly type: "address";
|
|
75520
|
-
}];
|
|
75521
|
-
readonly name: "getTokenInfoFull";
|
|
75522
|
-
readonly outputs: readonly [{
|
|
75523
|
-
readonly components: readonly [{
|
|
75524
|
-
readonly internalType: "address";
|
|
75525
|
-
readonly name: "aTokenAddress";
|
|
75526
|
-
readonly type: "address";
|
|
75527
|
-
}, {
|
|
75528
|
-
readonly internalType: "address";
|
|
75529
|
-
readonly name: "underlyingTokenAddress";
|
|
75530
|
-
readonly type: "address";
|
|
75531
|
-
}, {
|
|
75532
|
-
readonly internalType: "uint256";
|
|
75533
|
-
readonly name: "supplyRate";
|
|
75534
|
-
readonly type: "uint256";
|
|
75535
|
-
}, {
|
|
75536
|
-
readonly internalType: "uint256";
|
|
75537
|
-
readonly name: "borrowRateVariable";
|
|
75538
|
-
readonly type: "uint256";
|
|
75539
|
-
}, {
|
|
75540
|
-
readonly internalType: "uint256";
|
|
75541
|
-
readonly name: "borrowRateStable";
|
|
75542
|
-
readonly type: "uint256";
|
|
75543
|
-
}, {
|
|
75544
|
-
readonly internalType: "uint256";
|
|
75545
|
-
readonly name: "totalSupply";
|
|
75546
|
-
readonly type: "uint256";
|
|
75547
|
-
}, {
|
|
75548
|
-
readonly internalType: "uint256";
|
|
75549
|
-
readonly name: "availableLiquidity";
|
|
75550
|
-
readonly type: "uint256";
|
|
75551
|
-
}, {
|
|
75552
|
-
readonly internalType: "uint256";
|
|
75553
|
-
readonly name: "totalBorrow";
|
|
75554
|
-
readonly type: "uint256";
|
|
75555
|
-
}, {
|
|
75556
|
-
readonly internalType: "uint256";
|
|
75557
|
-
readonly name: "collateralFactor";
|
|
75558
|
-
readonly type: "uint256";
|
|
75559
|
-
}, {
|
|
75560
|
-
readonly internalType: "uint256";
|
|
75561
|
-
readonly name: "liquidationRatio";
|
|
75562
|
-
readonly type: "uint256";
|
|
75563
|
-
}, {
|
|
75564
|
-
readonly internalType: "uint256";
|
|
75565
|
-
readonly name: "price";
|
|
75566
|
-
readonly type: "uint256";
|
|
75567
|
-
}, {
|
|
75568
|
-
readonly internalType: "uint256";
|
|
75569
|
-
readonly name: "totalBorrowVar";
|
|
75570
|
-
readonly type: "uint256";
|
|
75571
|
-
}, {
|
|
75572
|
-
readonly internalType: "uint256";
|
|
75573
|
-
readonly name: "totalBorrowStab";
|
|
75574
|
-
readonly type: "uint256";
|
|
75575
|
-
}, {
|
|
75576
|
-
readonly internalType: "bool";
|
|
75577
|
-
readonly name: "isActive";
|
|
75578
|
-
readonly type: "bool";
|
|
75579
|
-
}, {
|
|
75580
|
-
readonly internalType: "bool";
|
|
75581
|
-
readonly name: "isFrozen";
|
|
75582
|
-
readonly type: "bool";
|
|
75583
|
-
}, {
|
|
75584
|
-
readonly internalType: "bool";
|
|
75585
|
-
readonly name: "usageAsCollateralEnabled";
|
|
75586
|
-
readonly type: "bool";
|
|
75587
|
-
}, {
|
|
75588
|
-
readonly internalType: "bool";
|
|
75589
|
-
readonly name: "borrowingEnabled";
|
|
75590
|
-
readonly type: "bool";
|
|
75591
|
-
}, {
|
|
75592
|
-
readonly internalType: "bool";
|
|
75593
|
-
readonly name: "stableBorrowRateEnabled";
|
|
75594
|
-
readonly type: "bool";
|
|
75595
|
-
}];
|
|
75596
|
-
readonly internalType: "struct AaveView.TokenInfoFull";
|
|
75597
|
-
readonly name: "_tokenInfo";
|
|
75598
|
-
readonly type: "tuple";
|
|
75599
|
-
}];
|
|
75600
|
-
readonly stateMutability: "view";
|
|
75601
|
-
readonly type: "function";
|
|
75602
|
-
}, {
|
|
75603
|
-
readonly inputs: readonly [{
|
|
75604
|
-
readonly internalType: "address";
|
|
75605
|
-
readonly name: "_market";
|
|
75606
|
-
readonly type: "address";
|
|
75607
|
-
}, {
|
|
75608
|
-
readonly internalType: "address[]";
|
|
75609
|
-
readonly name: "_tokenAddresses";
|
|
75610
|
-
readonly type: "address[]";
|
|
75611
|
-
}];
|
|
75612
|
-
readonly name: "getTokensInfo";
|
|
75613
|
-
readonly outputs: readonly [{
|
|
75614
|
-
readonly components: readonly [{
|
|
75615
|
-
readonly internalType: "address";
|
|
75616
|
-
readonly name: "aTokenAddress";
|
|
75617
|
-
readonly type: "address";
|
|
75618
|
-
}, {
|
|
75619
|
-
readonly internalType: "address";
|
|
75620
|
-
readonly name: "underlyingTokenAddress";
|
|
75621
|
-
readonly type: "address";
|
|
75622
|
-
}, {
|
|
75623
|
-
readonly internalType: "uint256";
|
|
75624
|
-
readonly name: "collateralFactor";
|
|
75625
|
-
readonly type: "uint256";
|
|
75626
|
-
}, {
|
|
75627
|
-
readonly internalType: "uint256";
|
|
75628
|
-
readonly name: "price";
|
|
75629
|
-
readonly type: "uint256";
|
|
75630
|
-
}];
|
|
75631
|
-
readonly internalType: "struct AaveView.TokenInfo[]";
|
|
75632
|
-
readonly name: "tokens";
|
|
75633
|
-
readonly type: "tuple[]";
|
|
75634
|
-
}];
|
|
75635
|
-
readonly stateMutability: "view";
|
|
75636
|
-
readonly type: "function";
|
|
75637
|
-
}, {
|
|
75638
|
-
readonly inputs: readonly [{
|
|
75639
|
-
readonly internalType: "address";
|
|
75640
|
-
readonly name: "_user";
|
|
75641
|
-
readonly type: "address";
|
|
75642
|
-
}];
|
|
75643
|
-
readonly name: "getUserUnclaimedRewards";
|
|
75644
|
-
readonly outputs: readonly [{
|
|
75645
|
-
readonly internalType: "uint256";
|
|
75646
|
-
readonly name: "";
|
|
75647
|
-
readonly type: "uint256";
|
|
75648
|
-
}];
|
|
75649
|
-
readonly stateMutability: "view";
|
|
75650
|
-
readonly type: "function";
|
|
75651
|
-
}, {
|
|
75652
|
-
readonly inputs: readonly [{
|
|
75653
|
-
readonly internalType: "address";
|
|
75654
|
-
readonly name: "_market";
|
|
75655
|
-
readonly type: "address";
|
|
75656
|
-
}, {
|
|
75657
|
-
readonly internalType: "address";
|
|
75658
|
-
readonly name: "_tokenAddr";
|
|
75659
|
-
readonly type: "address";
|
|
75660
|
-
}, {
|
|
75661
|
-
readonly internalType: "uint256";
|
|
75662
|
-
readonly name: "_rateMode";
|
|
75663
|
-
readonly type: "uint256";
|
|
75664
|
-
}];
|
|
75665
|
-
readonly name: "switchRateMode";
|
|
75666
|
-
readonly outputs: readonly [];
|
|
75667
|
-
readonly stateMutability: "nonpayable";
|
|
75668
|
-
readonly type: "function";
|
|
75669
|
-
}], "switchRateMode", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain | undefined>, "address" | "args" | "abi" | "functionName">>) => Promise<import("viem").EstimateContractGasReturnType>;
|
|
75670
|
-
} & {
|
|
75671
|
-
enableAsCollateral: (args: readonly [`0x${string}`, `0x${string}`, boolean], options: import("viem").Prettify<import("viem").UnionOmit<import("viem").EstimateContractGasParameters<readonly [{
|
|
75672
|
-
readonly inputs: readonly [];
|
|
75673
|
-
readonly name: "AAVE_REFERRAL_CODE";
|
|
75674
|
-
readonly outputs: readonly [{
|
|
75675
|
-
readonly internalType: "uint16";
|
|
75676
|
-
readonly name: "";
|
|
75677
|
-
readonly type: "uint16";
|
|
75678
|
-
}];
|
|
75679
|
-
readonly stateMutability: "view";
|
|
75680
|
-
readonly type: "function";
|
|
75681
|
-
}, {
|
|
75682
|
-
readonly inputs: readonly [];
|
|
75683
|
-
readonly name: "AaveIncentivesController";
|
|
75684
|
-
readonly outputs: readonly [{
|
|
75685
|
-
readonly internalType: "contract IAaveIncentivesController";
|
|
75686
|
-
readonly name: "";
|
|
75687
|
-
readonly type: "address";
|
|
75688
|
-
}];
|
|
75689
|
-
readonly stateMutability: "view";
|
|
75690
|
-
readonly type: "function";
|
|
75691
|
-
}, {
|
|
75692
|
-
readonly inputs: readonly [];
|
|
75693
|
-
readonly name: "DATA_PROVIDER_ID";
|
|
75694
|
-
readonly outputs: readonly [{
|
|
75695
|
-
readonly internalType: "bytes32";
|
|
75696
|
-
readonly name: "";
|
|
75697
|
-
readonly type: "bytes32";
|
|
75698
|
-
}];
|
|
75699
|
-
readonly stateMutability: "view";
|
|
75700
|
-
readonly type: "function";
|
|
75701
|
-
}, {
|
|
75702
|
-
readonly inputs: readonly [];
|
|
75703
|
-
readonly name: "StakedToken";
|
|
75704
|
-
readonly outputs: readonly [{
|
|
75705
|
-
readonly internalType: "contract IStakedToken";
|
|
75706
|
-
readonly name: "";
|
|
75707
|
-
readonly type: "address";
|
|
75708
|
-
}];
|
|
75709
|
-
readonly stateMutability: "view";
|
|
75710
|
-
readonly type: "function";
|
|
75711
|
-
}, {
|
|
75712
|
-
readonly inputs: readonly [{
|
|
75713
|
-
readonly internalType: "address";
|
|
75714
|
-
readonly name: "_market";
|
|
75715
|
-
readonly type: "address";
|
|
75716
|
-
}, {
|
|
75717
|
-
readonly internalType: "address";
|
|
75718
|
-
readonly name: "_tokenAddr";
|
|
75719
|
-
readonly type: "address";
|
|
75720
|
-
}, {
|
|
75721
|
-
readonly internalType: "bool";
|
|
75722
|
-
readonly name: "_useAsCollateral";
|
|
75723
|
-
readonly type: "bool";
|
|
75724
|
-
}];
|
|
75725
|
-
readonly name: "enableAsCollateral";
|
|
75726
|
-
readonly outputs: readonly [];
|
|
75727
|
-
readonly stateMutability: "nonpayable";
|
|
75728
|
-
readonly type: "function";
|
|
75729
|
-
}, {
|
|
75730
|
-
readonly inputs: readonly [{
|
|
75731
|
-
readonly internalType: "address";
|
|
75732
|
-
readonly name: "_market";
|
|
75733
|
-
readonly type: "address";
|
|
75734
|
-
}, {
|
|
75735
|
-
readonly components: readonly [{
|
|
75736
|
-
readonly internalType: "address";
|
|
75737
|
-
readonly name: "reserveAddress";
|
|
75738
|
-
readonly type: "address";
|
|
75739
|
-
}, {
|
|
75740
|
-
readonly internalType: "uint256";
|
|
75741
|
-
readonly name: "liquidityAdded";
|
|
75742
|
-
readonly type: "uint256";
|
|
75743
|
-
}, {
|
|
75744
|
-
readonly internalType: "uint256";
|
|
75745
|
-
readonly name: "liquidityTaken";
|
|
75746
|
-
readonly type: "uint256";
|
|
75747
|
-
}, {
|
|
75748
|
-
readonly internalType: "bool";
|
|
75749
|
-
readonly name: "isDebtAsset";
|
|
75750
|
-
readonly type: "bool";
|
|
75751
|
-
}];
|
|
75752
|
-
readonly internalType: "struct AaveView.LiquidityChangeParams[]";
|
|
75753
|
-
readonly name: "_reserveParams";
|
|
75754
|
-
readonly type: "tuple[]";
|
|
75755
|
-
}];
|
|
75756
|
-
readonly name: "getApyAfterValuesEstimation";
|
|
75757
|
-
readonly outputs: readonly [{
|
|
75758
|
-
readonly components: readonly [{
|
|
75759
|
-
readonly internalType: "address";
|
|
75760
|
-
readonly name: "reserveAddress";
|
|
75761
|
-
readonly type: "address";
|
|
75762
|
-
}, {
|
|
75763
|
-
readonly internalType: "uint256";
|
|
75764
|
-
readonly name: "supplyRate";
|
|
75765
|
-
readonly type: "uint256";
|
|
75766
|
-
}, {
|
|
75767
|
-
readonly internalType: "uint256";
|
|
75768
|
-
readonly name: "variableBorrowRate";
|
|
75769
|
-
readonly type: "uint256";
|
|
75770
|
-
}];
|
|
75771
|
-
readonly internalType: "struct AaveView.EstimatedRates[]";
|
|
75772
|
-
readonly name: "";
|
|
75773
|
-
readonly type: "tuple[]";
|
|
75774
|
-
}];
|
|
75775
|
-
readonly stateMutability: "view";
|
|
75776
|
-
readonly type: "function";
|
|
75777
|
-
}, {
|
|
75778
|
-
readonly inputs: readonly [{
|
|
75779
|
-
readonly internalType: "address";
|
|
75780
|
-
readonly name: "_market";
|
|
75781
|
-
readonly type: "address";
|
|
75782
|
-
}, {
|
|
75783
|
-
readonly internalType: "address[]";
|
|
75784
|
-
readonly name: "_tokens";
|
|
75785
|
-
readonly type: "address[]";
|
|
75786
|
-
}];
|
|
75787
|
-
readonly name: "getCollFactors";
|
|
75788
|
-
readonly outputs: readonly [{
|
|
75789
|
-
readonly internalType: "uint256[]";
|
|
75790
|
-
readonly name: "collFactors";
|
|
75791
|
-
readonly type: "uint256[]";
|
|
75792
|
-
}];
|
|
75793
|
-
readonly stateMutability: "view";
|
|
75794
|
-
readonly type: "function";
|
|
75795
|
-
}, {
|
|
75796
|
-
readonly inputs: readonly [{
|
|
75797
|
-
readonly internalType: "address";
|
|
75798
|
-
readonly name: "_market";
|
|
75799
|
-
readonly type: "address";
|
|
75800
|
-
}, {
|
|
75801
|
-
readonly internalType: "address[]";
|
|
75802
|
-
readonly name: "_tokenAddresses";
|
|
75803
|
-
readonly type: "address[]";
|
|
75804
|
-
}];
|
|
75805
|
-
readonly name: "getFullTokensInfo";
|
|
75806
|
-
readonly outputs: readonly [{
|
|
75807
|
-
readonly components: readonly [{
|
|
75808
|
-
readonly internalType: "address";
|
|
75809
|
-
readonly name: "aTokenAddress";
|
|
75810
|
-
readonly type: "address";
|
|
75811
|
-
}, {
|
|
75812
|
-
readonly internalType: "address";
|
|
75813
|
-
readonly name: "underlyingTokenAddress";
|
|
75814
|
-
readonly type: "address";
|
|
75815
|
-
}, {
|
|
75816
|
-
readonly internalType: "uint256";
|
|
75817
|
-
readonly name: "supplyRate";
|
|
75818
|
-
readonly type: "uint256";
|
|
75819
|
-
}, {
|
|
75820
|
-
readonly internalType: "uint256";
|
|
75821
|
-
readonly name: "borrowRateVariable";
|
|
75822
|
-
readonly type: "uint256";
|
|
75823
|
-
}, {
|
|
75824
|
-
readonly internalType: "uint256";
|
|
75825
|
-
readonly name: "borrowRateStable";
|
|
75826
|
-
readonly type: "uint256";
|
|
75827
|
-
}, {
|
|
75828
|
-
readonly internalType: "uint256";
|
|
75829
|
-
readonly name: "totalSupply";
|
|
75830
|
-
readonly type: "uint256";
|
|
75831
|
-
}, {
|
|
75832
|
-
readonly internalType: "uint256";
|
|
75833
|
-
readonly name: "availableLiquidity";
|
|
75834
|
-
readonly type: "uint256";
|
|
75835
|
-
}, {
|
|
75836
|
-
readonly internalType: "uint256";
|
|
75837
|
-
readonly name: "totalBorrow";
|
|
75838
|
-
readonly type: "uint256";
|
|
75839
|
-
}, {
|
|
75840
|
-
readonly internalType: "uint256";
|
|
75841
|
-
readonly name: "collateralFactor";
|
|
75842
|
-
readonly type: "uint256";
|
|
75843
|
-
}, {
|
|
75844
|
-
readonly internalType: "uint256";
|
|
75845
|
-
readonly name: "liquidationRatio";
|
|
75846
|
-
readonly type: "uint256";
|
|
75847
|
-
}, {
|
|
75848
|
-
readonly internalType: "uint256";
|
|
75849
|
-
readonly name: "price";
|
|
75850
|
-
readonly type: "uint256";
|
|
75851
|
-
}, {
|
|
75852
|
-
readonly internalType: "uint256";
|
|
75853
|
-
readonly name: "totalBorrowVar";
|
|
75854
|
-
readonly type: "uint256";
|
|
75855
|
-
}, {
|
|
75856
|
-
readonly internalType: "uint256";
|
|
75857
|
-
readonly name: "totalBorrowStab";
|
|
75858
|
-
readonly type: "uint256";
|
|
75859
|
-
}, {
|
|
75860
|
-
readonly internalType: "bool";
|
|
75861
|
-
readonly name: "isActive";
|
|
75862
|
-
readonly type: "bool";
|
|
75863
|
-
}, {
|
|
75864
|
-
readonly internalType: "bool";
|
|
75865
|
-
readonly name: "isFrozen";
|
|
75866
|
-
readonly type: "bool";
|
|
75867
|
-
}, {
|
|
75868
|
-
readonly internalType: "bool";
|
|
75869
|
-
readonly name: "usageAsCollateralEnabled";
|
|
75870
|
-
readonly type: "bool";
|
|
75871
|
-
}, {
|
|
75872
|
-
readonly internalType: "bool";
|
|
75873
|
-
readonly name: "borrowingEnabled";
|
|
75874
|
-
readonly type: "bool";
|
|
75875
|
-
}, {
|
|
75876
|
-
readonly internalType: "bool";
|
|
75877
|
-
readonly name: "stableBorrowRateEnabled";
|
|
75878
|
-
readonly type: "bool";
|
|
75879
|
-
}];
|
|
75880
|
-
readonly internalType: "struct AaveView.TokenInfoFull[]";
|
|
75881
|
-
readonly name: "tokens";
|
|
75882
|
-
readonly type: "tuple[]";
|
|
75883
|
-
}];
|
|
75884
|
-
readonly stateMutability: "view";
|
|
75885
|
-
readonly type: "function";
|
|
75886
|
-
}, {
|
|
75887
|
-
readonly inputs: readonly [{
|
|
75888
|
-
readonly internalType: "address[]";
|
|
75889
|
-
readonly name: "_assets";
|
|
75890
|
-
readonly type: "address[]";
|
|
75891
|
-
}, {
|
|
75892
|
-
readonly internalType: "address";
|
|
75893
|
-
readonly name: "_user";
|
|
75894
|
-
readonly type: "address";
|
|
75895
|
-
}];
|
|
75896
|
-
readonly name: "getIncentivesRewardsBalance";
|
|
75897
|
-
readonly outputs: readonly [{
|
|
75898
|
-
readonly internalType: "uint256";
|
|
75899
|
-
readonly name: "";
|
|
75900
|
-
readonly type: "uint256";
|
|
75901
|
-
}];
|
|
75902
|
-
readonly stateMutability: "view";
|
|
75903
|
-
readonly type: "function";
|
|
75904
|
-
}, {
|
|
75905
|
-
readonly inputs: readonly [{
|
|
75906
|
-
readonly internalType: "address";
|
|
75907
|
-
readonly name: "_market";
|
|
75908
|
-
readonly type: "address";
|
|
75909
|
-
}, {
|
|
75910
|
-
readonly internalType: "address";
|
|
75911
|
-
readonly name: "_user";
|
|
75912
|
-
readonly type: "address";
|
|
75913
|
-
}];
|
|
75914
|
-
readonly name: "getLoanData";
|
|
75915
|
-
readonly outputs: readonly [{
|
|
75916
|
-
readonly components: readonly [{
|
|
75917
|
-
readonly internalType: "address";
|
|
75918
|
-
readonly name: "user";
|
|
75919
|
-
readonly type: "address";
|
|
75920
|
-
}, {
|
|
75921
|
-
readonly internalType: "uint128";
|
|
75922
|
-
readonly name: "ratio";
|
|
75923
|
-
readonly type: "uint128";
|
|
75924
|
-
}, {
|
|
75925
|
-
readonly internalType: "address[]";
|
|
75926
|
-
readonly name: "collAddr";
|
|
75927
|
-
readonly type: "address[]";
|
|
75928
|
-
}, {
|
|
75929
|
-
readonly internalType: "bool[]";
|
|
75930
|
-
readonly name: "enabledAsColl";
|
|
75931
|
-
readonly type: "bool[]";
|
|
75932
|
-
}, {
|
|
75933
|
-
readonly internalType: "address[]";
|
|
75934
|
-
readonly name: "borrowAddr";
|
|
75935
|
-
readonly type: "address[]";
|
|
75936
|
-
}, {
|
|
75937
|
-
readonly internalType: "uint256[]";
|
|
75938
|
-
readonly name: "collAmounts";
|
|
75939
|
-
readonly type: "uint256[]";
|
|
75940
|
-
}, {
|
|
75941
|
-
readonly internalType: "uint256[]";
|
|
75942
|
-
readonly name: "borrowStableAmounts";
|
|
75943
|
-
readonly type: "uint256[]";
|
|
75944
|
-
}, {
|
|
75945
|
-
readonly internalType: "uint256[]";
|
|
75946
|
-
readonly name: "borrowVariableAmounts";
|
|
75947
|
-
readonly type: "uint256[]";
|
|
75948
|
-
}];
|
|
75949
|
-
readonly internalType: "struct AaveView.LoanData";
|
|
75950
|
-
readonly name: "data";
|
|
75951
|
-
readonly type: "tuple";
|
|
75952
|
-
}];
|
|
75953
|
-
readonly stateMutability: "view";
|
|
75954
|
-
readonly type: "function";
|
|
75955
|
-
}, {
|
|
75956
|
-
readonly inputs: readonly [{
|
|
75957
|
-
readonly internalType: "address";
|
|
75958
|
-
readonly name: "_market";
|
|
75959
|
-
readonly type: "address";
|
|
75960
|
-
}, {
|
|
75961
|
-
readonly internalType: "address[]";
|
|
75962
|
-
readonly name: "_users";
|
|
75963
|
-
readonly type: "address[]";
|
|
75964
|
-
}];
|
|
75965
|
-
readonly name: "getLoanDataArr";
|
|
75966
|
-
readonly outputs: readonly [{
|
|
75967
|
-
readonly components: readonly [{
|
|
75968
|
-
readonly internalType: "address";
|
|
75969
|
-
readonly name: "user";
|
|
75970
|
-
readonly type: "address";
|
|
75971
|
-
}, {
|
|
75972
|
-
readonly internalType: "uint128";
|
|
75973
|
-
readonly name: "ratio";
|
|
75974
|
-
readonly type: "uint128";
|
|
75975
|
-
}, {
|
|
75976
|
-
readonly internalType: "address[]";
|
|
75977
|
-
readonly name: "collAddr";
|
|
75978
|
-
readonly type: "address[]";
|
|
75979
|
-
}, {
|
|
75980
|
-
readonly internalType: "bool[]";
|
|
75981
|
-
readonly name: "enabledAsColl";
|
|
75982
|
-
readonly type: "bool[]";
|
|
75983
|
-
}, {
|
|
75984
|
-
readonly internalType: "address[]";
|
|
75985
|
-
readonly name: "borrowAddr";
|
|
75986
|
-
readonly type: "address[]";
|
|
75987
|
-
}, {
|
|
75988
|
-
readonly internalType: "uint256[]";
|
|
75989
|
-
readonly name: "collAmounts";
|
|
75990
|
-
readonly type: "uint256[]";
|
|
75991
|
-
}, {
|
|
75992
|
-
readonly internalType: "uint256[]";
|
|
75993
|
-
readonly name: "borrowStableAmounts";
|
|
75994
|
-
readonly type: "uint256[]";
|
|
75995
|
-
}, {
|
|
75996
|
-
readonly internalType: "uint256[]";
|
|
75997
|
-
readonly name: "borrowVariableAmounts";
|
|
75998
|
-
readonly type: "uint256[]";
|
|
75999
|
-
}];
|
|
76000
|
-
readonly internalType: "struct AaveView.LoanData[]";
|
|
76001
|
-
readonly name: "loans";
|
|
76002
|
-
readonly type: "tuple[]";
|
|
76003
|
-
}];
|
|
76004
|
-
readonly stateMutability: "view";
|
|
76005
|
-
readonly type: "function";
|
|
76006
|
-
}, {
|
|
76007
|
-
readonly inputs: readonly [{
|
|
76008
|
-
readonly internalType: "address";
|
|
76009
|
-
readonly name: "_market";
|
|
76010
|
-
readonly type: "address";
|
|
76011
|
-
}, {
|
|
76012
|
-
readonly internalType: "address[]";
|
|
76013
|
-
readonly name: "_tokens";
|
|
76014
|
-
readonly type: "address[]";
|
|
76015
|
-
}];
|
|
76016
|
-
readonly name: "getPrices";
|
|
76017
|
-
readonly outputs: readonly [{
|
|
76018
|
-
readonly internalType: "uint256[]";
|
|
76019
|
-
readonly name: "prices";
|
|
76020
|
-
readonly type: "uint256[]";
|
|
76021
|
-
}];
|
|
76022
|
-
readonly stateMutability: "view";
|
|
76023
|
-
readonly type: "function";
|
|
76024
|
-
}, {
|
|
76025
|
-
readonly inputs: readonly [{
|
|
76026
|
-
readonly internalType: "address";
|
|
76027
|
-
readonly name: "_market";
|
|
76028
|
-
readonly type: "address";
|
|
76029
|
-
}, {
|
|
76030
|
-
readonly internalType: "address";
|
|
76031
|
-
readonly name: "_user";
|
|
76032
|
-
readonly type: "address";
|
|
76033
|
-
}];
|
|
76034
|
-
readonly name: "getRatio";
|
|
76035
|
-
readonly outputs: readonly [{
|
|
76036
|
-
readonly internalType: "uint256";
|
|
76037
|
-
readonly name: "";
|
|
76038
|
-
readonly type: "uint256";
|
|
76039
|
-
}];
|
|
76040
|
-
readonly stateMutability: "view";
|
|
76041
|
-
readonly type: "function";
|
|
76042
|
-
}, {
|
|
76043
|
-
readonly inputs: readonly [{
|
|
76044
|
-
readonly internalType: "address";
|
|
76045
|
-
readonly name: "_market";
|
|
76046
|
-
readonly type: "address";
|
|
76047
|
-
}, {
|
|
76048
|
-
readonly internalType: "address[]";
|
|
76049
|
-
readonly name: "_users";
|
|
76050
|
-
readonly type: "address[]";
|
|
76051
|
-
}];
|
|
76052
|
-
readonly name: "getRatios";
|
|
76053
|
-
readonly outputs: readonly [{
|
|
76054
|
-
readonly internalType: "uint256[]";
|
|
76055
|
-
readonly name: "ratios";
|
|
76056
|
-
readonly type: "uint256[]";
|
|
76057
|
-
}];
|
|
76058
|
-
readonly stateMutability: "view";
|
|
76059
|
-
readonly type: "function";
|
|
76060
|
-
}, {
|
|
76061
|
-
readonly inputs: readonly [{
|
|
76062
|
-
readonly internalType: "address";
|
|
76063
|
-
readonly name: "_market";
|
|
76064
|
-
readonly type: "address";
|
|
76065
|
-
}, {
|
|
76066
|
-
readonly internalType: "address";
|
|
76067
|
-
readonly name: "_user";
|
|
76068
|
-
readonly type: "address";
|
|
76069
|
-
}];
|
|
76070
|
-
readonly name: "getSafetyRatio";
|
|
76071
|
-
readonly outputs: readonly [{
|
|
76072
|
-
readonly internalType: "uint256";
|
|
76073
|
-
readonly name: "";
|
|
76074
|
-
readonly type: "uint256";
|
|
76075
|
-
}];
|
|
76076
|
-
readonly stateMutability: "view";
|
|
76077
|
-
readonly type: "function";
|
|
76078
|
-
}, {
|
|
76079
|
-
readonly inputs: readonly [{
|
|
76080
|
-
readonly internalType: "address";
|
|
76081
|
-
readonly name: "_staker";
|
|
76082
|
-
readonly type: "address";
|
|
76083
|
-
}];
|
|
76084
|
-
readonly name: "getStakingRewardsBalance";
|
|
76085
|
-
readonly outputs: readonly [{
|
|
76086
|
-
readonly internalType: "uint256";
|
|
76087
|
-
readonly name: "";
|
|
76088
|
-
readonly type: "uint256";
|
|
76089
|
-
}];
|
|
76090
|
-
readonly stateMutability: "view";
|
|
76091
|
-
readonly type: "function";
|
|
76092
|
-
}, {
|
|
76093
|
-
readonly inputs: readonly [{
|
|
76094
|
-
readonly internalType: "address";
|
|
76095
|
-
readonly name: "_market";
|
|
76096
|
-
readonly type: "address";
|
|
76097
|
-
}, {
|
|
76098
|
-
readonly internalType: "address";
|
|
76099
|
-
readonly name: "_user";
|
|
76100
|
-
readonly type: "address";
|
|
76101
|
-
}, {
|
|
76102
|
-
readonly internalType: "address[]";
|
|
76103
|
-
readonly name: "_tokens";
|
|
76104
|
-
readonly type: "address[]";
|
|
76105
|
-
}];
|
|
76106
|
-
readonly name: "getTokenBalances";
|
|
76107
|
-
readonly outputs: readonly [{
|
|
76108
|
-
readonly components: readonly [{
|
|
76109
|
-
readonly internalType: "address";
|
|
76110
|
-
readonly name: "token";
|
|
76111
|
-
readonly type: "address";
|
|
76112
|
-
}, {
|
|
76113
|
-
readonly internalType: "uint256";
|
|
76114
|
-
readonly name: "balance";
|
|
76115
|
-
readonly type: "uint256";
|
|
76116
|
-
}, {
|
|
76117
|
-
readonly internalType: "uint256";
|
|
76118
|
-
readonly name: "borrowsStable";
|
|
76119
|
-
readonly type: "uint256";
|
|
76120
|
-
}, {
|
|
76121
|
-
readonly internalType: "uint256";
|
|
76122
|
-
readonly name: "borrowsVariable";
|
|
76123
|
-
readonly type: "uint256";
|
|
76124
|
-
}, {
|
|
76125
|
-
readonly internalType: "uint256";
|
|
76126
|
-
readonly name: "stableBorrowRate";
|
|
76127
|
-
readonly type: "uint256";
|
|
76128
|
-
}, {
|
|
76129
|
-
readonly internalType: "bool";
|
|
76130
|
-
readonly name: "enabledAsCollateral";
|
|
76131
|
-
readonly type: "bool";
|
|
76132
|
-
}];
|
|
76133
|
-
readonly internalType: "struct AaveView.UserToken[]";
|
|
76134
|
-
readonly name: "userTokens";
|
|
76135
|
-
readonly type: "tuple[]";
|
|
76136
|
-
}];
|
|
76137
|
-
readonly stateMutability: "view";
|
|
76138
|
-
readonly type: "function";
|
|
76139
|
-
}, {
|
|
76140
|
-
readonly inputs: readonly [{
|
|
76141
|
-
readonly internalType: "contract IAaveProtocolDataProviderV2";
|
|
76142
|
-
readonly name: "_dataProvider";
|
|
76143
|
-
readonly type: "address";
|
|
76144
|
-
}, {
|
|
76145
|
-
readonly internalType: "address";
|
|
76146
|
-
readonly name: "_priceOracleAddress";
|
|
76147
|
-
readonly type: "address";
|
|
76148
|
-
}, {
|
|
76149
|
-
readonly internalType: "address";
|
|
76150
|
-
readonly name: "_token";
|
|
76151
|
-
readonly type: "address";
|
|
76152
|
-
}];
|
|
76153
|
-
readonly name: "getTokenInfoFull";
|
|
76154
|
-
readonly outputs: readonly [{
|
|
76155
|
-
readonly components: readonly [{
|
|
76156
|
-
readonly internalType: "address";
|
|
76157
|
-
readonly name: "aTokenAddress";
|
|
76158
|
-
readonly type: "address";
|
|
76159
|
-
}, {
|
|
76160
|
-
readonly internalType: "address";
|
|
76161
|
-
readonly name: "underlyingTokenAddress";
|
|
76162
|
-
readonly type: "address";
|
|
76163
|
-
}, {
|
|
76164
|
-
readonly internalType: "uint256";
|
|
76165
|
-
readonly name: "supplyRate";
|
|
76166
|
-
readonly type: "uint256";
|
|
76167
|
-
}, {
|
|
76168
|
-
readonly internalType: "uint256";
|
|
76169
|
-
readonly name: "borrowRateVariable";
|
|
76170
|
-
readonly type: "uint256";
|
|
76171
|
-
}, {
|
|
76172
|
-
readonly internalType: "uint256";
|
|
76173
|
-
readonly name: "borrowRateStable";
|
|
76174
|
-
readonly type: "uint256";
|
|
76175
|
-
}, {
|
|
76176
|
-
readonly internalType: "uint256";
|
|
76177
|
-
readonly name: "totalSupply";
|
|
76178
|
-
readonly type: "uint256";
|
|
76179
|
-
}, {
|
|
76180
|
-
readonly internalType: "uint256";
|
|
76181
|
-
readonly name: "availableLiquidity";
|
|
76182
|
-
readonly type: "uint256";
|
|
76183
|
-
}, {
|
|
76184
|
-
readonly internalType: "uint256";
|
|
76185
|
-
readonly name: "totalBorrow";
|
|
76186
|
-
readonly type: "uint256";
|
|
76187
|
-
}, {
|
|
76188
|
-
readonly internalType: "uint256";
|
|
76189
|
-
readonly name: "collateralFactor";
|
|
76190
|
-
readonly type: "uint256";
|
|
76191
|
-
}, {
|
|
76192
|
-
readonly internalType: "uint256";
|
|
76193
|
-
readonly name: "liquidationRatio";
|
|
76194
|
-
readonly type: "uint256";
|
|
76195
|
-
}, {
|
|
76196
|
-
readonly internalType: "uint256";
|
|
76197
|
-
readonly name: "price";
|
|
76198
|
-
readonly type: "uint256";
|
|
76199
|
-
}, {
|
|
76200
|
-
readonly internalType: "uint256";
|
|
76201
|
-
readonly name: "totalBorrowVar";
|
|
76202
|
-
readonly type: "uint256";
|
|
76203
|
-
}, {
|
|
76204
|
-
readonly internalType: "uint256";
|
|
76205
|
-
readonly name: "totalBorrowStab";
|
|
76206
|
-
readonly type: "uint256";
|
|
76207
|
-
}, {
|
|
76208
|
-
readonly internalType: "bool";
|
|
76209
|
-
readonly name: "isActive";
|
|
76210
|
-
readonly type: "bool";
|
|
76211
|
-
}, {
|
|
76212
|
-
readonly internalType: "bool";
|
|
76213
|
-
readonly name: "isFrozen";
|
|
76214
|
-
readonly type: "bool";
|
|
76215
|
-
}, {
|
|
76216
|
-
readonly internalType: "bool";
|
|
76217
|
-
readonly name: "usageAsCollateralEnabled";
|
|
76218
|
-
readonly type: "bool";
|
|
76219
|
-
}, {
|
|
76220
|
-
readonly internalType: "bool";
|
|
76221
|
-
readonly name: "borrowingEnabled";
|
|
76222
|
-
readonly type: "bool";
|
|
76223
|
-
}, {
|
|
76224
|
-
readonly internalType: "bool";
|
|
76225
|
-
readonly name: "stableBorrowRateEnabled";
|
|
76226
|
-
readonly type: "bool";
|
|
76227
|
-
}];
|
|
76228
|
-
readonly internalType: "struct AaveView.TokenInfoFull";
|
|
76229
|
-
readonly name: "_tokenInfo";
|
|
76230
|
-
readonly type: "tuple";
|
|
76231
|
-
}];
|
|
76232
|
-
readonly stateMutability: "view";
|
|
76233
|
-
readonly type: "function";
|
|
76234
|
-
}, {
|
|
76235
|
-
readonly inputs: readonly [{
|
|
76236
|
-
readonly internalType: "address";
|
|
76237
|
-
readonly name: "_market";
|
|
76238
|
-
readonly type: "address";
|
|
76239
|
-
}, {
|
|
76240
|
-
readonly internalType: "address[]";
|
|
76241
|
-
readonly name: "_tokenAddresses";
|
|
76242
|
-
readonly type: "address[]";
|
|
76243
|
-
}];
|
|
76244
|
-
readonly name: "getTokensInfo";
|
|
76245
|
-
readonly outputs: readonly [{
|
|
76246
|
-
readonly components: readonly [{
|
|
76247
|
-
readonly internalType: "address";
|
|
76248
|
-
readonly name: "aTokenAddress";
|
|
76249
|
-
readonly type: "address";
|
|
76250
|
-
}, {
|
|
76251
|
-
readonly internalType: "address";
|
|
76252
|
-
readonly name: "underlyingTokenAddress";
|
|
76253
|
-
readonly type: "address";
|
|
76254
|
-
}, {
|
|
76255
|
-
readonly internalType: "uint256";
|
|
76256
|
-
readonly name: "collateralFactor";
|
|
76257
|
-
readonly type: "uint256";
|
|
76258
|
-
}, {
|
|
76259
|
-
readonly internalType: "uint256";
|
|
76260
|
-
readonly name: "price";
|
|
76261
|
-
readonly type: "uint256";
|
|
76262
|
-
}];
|
|
76263
|
-
readonly internalType: "struct AaveView.TokenInfo[]";
|
|
76264
|
-
readonly name: "tokens";
|
|
76265
|
-
readonly type: "tuple[]";
|
|
76266
|
-
}];
|
|
76267
|
-
readonly stateMutability: "view";
|
|
76268
|
-
readonly type: "function";
|
|
76269
|
-
}, {
|
|
76270
|
-
readonly inputs: readonly [{
|
|
76271
|
-
readonly internalType: "address";
|
|
76272
|
-
readonly name: "_user";
|
|
76273
|
-
readonly type: "address";
|
|
76274
|
-
}];
|
|
76275
|
-
readonly name: "getUserUnclaimedRewards";
|
|
76276
|
-
readonly outputs: readonly [{
|
|
76277
|
-
readonly internalType: "uint256";
|
|
76278
|
-
readonly name: "";
|
|
76279
|
-
readonly type: "uint256";
|
|
76280
|
-
}];
|
|
76281
|
-
readonly stateMutability: "view";
|
|
76282
|
-
readonly type: "function";
|
|
76283
|
-
}, {
|
|
76284
|
-
readonly inputs: readonly [{
|
|
76285
|
-
readonly internalType: "address";
|
|
76286
|
-
readonly name: "_market";
|
|
76287
|
-
readonly type: "address";
|
|
76288
|
-
}, {
|
|
76289
|
-
readonly internalType: "address";
|
|
76290
|
-
readonly name: "_tokenAddr";
|
|
76291
|
-
readonly type: "address";
|
|
76292
|
-
}, {
|
|
76293
|
-
readonly internalType: "uint256";
|
|
76294
|
-
readonly name: "_rateMode";
|
|
76295
|
-
readonly type: "uint256";
|
|
76296
|
-
}];
|
|
76297
|
-
readonly name: "switchRateMode";
|
|
76298
|
-
readonly outputs: readonly [];
|
|
76299
|
-
readonly stateMutability: "nonpayable";
|
|
76300
|
-
readonly type: "function";
|
|
76301
|
-
}], "enableAsCollateral", readonly [`0x${string}`, `0x${string}`, boolean], import("viem").Chain | undefined>, "address" | "args" | "abi" | "functionName">>) => Promise<import("viem").EstimateContractGasReturnType>;
|
|
76302
|
-
switchRateMode: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify<import("viem").UnionOmit<import("viem").EstimateContractGasParameters<readonly [{
|
|
72837
|
+
}], "getIncentivesRewardsBalance", readonly [readonly `0x${string}`[], `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
|
|
72838
|
+
getStakingRewardsBalance: (args: readonly [`0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
76303
72839
|
readonly inputs: readonly [];
|
|
76304
72840
|
readonly name: "AAVE_REFERRAL_CODE";
|
|
76305
72841
|
readonly outputs: readonly [{
|
|
@@ -76911,28 +73447,8 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
76911
73447
|
}];
|
|
76912
73448
|
readonly stateMutability: "view";
|
|
76913
73449
|
readonly type: "function";
|
|
76914
|
-
}, {
|
|
76915
|
-
|
|
76916
|
-
readonly internalType: "address";
|
|
76917
|
-
readonly name: "_market";
|
|
76918
|
-
readonly type: "address";
|
|
76919
|
-
}, {
|
|
76920
|
-
readonly internalType: "address";
|
|
76921
|
-
readonly name: "_tokenAddr";
|
|
76922
|
-
readonly type: "address";
|
|
76923
|
-
}, {
|
|
76924
|
-
readonly internalType: "uint256";
|
|
76925
|
-
readonly name: "_rateMode";
|
|
76926
|
-
readonly type: "uint256";
|
|
76927
|
-
}];
|
|
76928
|
-
readonly name: "switchRateMode";
|
|
76929
|
-
readonly outputs: readonly [];
|
|
76930
|
-
readonly stateMutability: "nonpayable";
|
|
76931
|
-
readonly type: "function";
|
|
76932
|
-
}], "switchRateMode", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain | undefined>, "address" | "args" | "abi" | "functionName">>) => Promise<import("viem").EstimateContractGasReturnType>;
|
|
76933
|
-
};
|
|
76934
|
-
simulate: {
|
|
76935
|
-
enableAsCollateral: <chainOverride extends import("viem").Chain | undefined = undefined, accountOverride extends import("viem").Account | import("viem").Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, boolean], options?: Omit<import("viem").SimulateContractParameters<readonly [{
|
|
73450
|
+
}], "getStakingRewardsBalance", readonly [`0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
|
|
73451
|
+
getUserUnclaimedRewards: (args: readonly [`0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
76936
73452
|
readonly inputs: readonly [];
|
|
76937
73453
|
readonly name: "AAVE_REFERRAL_CODE";
|
|
76938
73454
|
readonly outputs: readonly [{
|
|
@@ -77544,25 +74060,10 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
77544
74060
|
}];
|
|
77545
74061
|
readonly stateMutability: "view";
|
|
77546
74062
|
readonly type: "function";
|
|
77547
|
-
}, {
|
|
77548
|
-
|
|
77549
|
-
|
|
77550
|
-
|
|
77551
|
-
readonly type: "address";
|
|
77552
|
-
}, {
|
|
77553
|
-
readonly internalType: "address";
|
|
77554
|
-
readonly name: "_tokenAddr";
|
|
77555
|
-
readonly type: "address";
|
|
77556
|
-
}, {
|
|
77557
|
-
readonly internalType: "uint256";
|
|
77558
|
-
readonly name: "_rateMode";
|
|
77559
|
-
readonly type: "uint256";
|
|
77560
|
-
}];
|
|
77561
|
-
readonly name: "switchRateMode";
|
|
77562
|
-
readonly outputs: readonly [];
|
|
77563
|
-
readonly stateMutability: "nonpayable";
|
|
77564
|
-
readonly type: "function";
|
|
77565
|
-
}], "enableAsCollateral", readonly [`0x${string}`, `0x${string}`, boolean], import("viem").Chain | undefined, chainOverride, accountOverride>, "address" | "args" | "abi" | "functionName"> | undefined) => Promise<import("viem").SimulateContractReturnType<readonly [{
|
|
74063
|
+
}], "getUserUnclaimedRewards", readonly [`0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
|
|
74064
|
+
};
|
|
74065
|
+
estimateGas: {
|
|
74066
|
+
enableAsCollateral: (args: readonly [`0x${string}`, `0x${string}`, boolean], options: import("viem").Prettify<import("viem").UnionOmit<import("viem").EstimateContractGasParameters<readonly [{
|
|
77566
74067
|
readonly inputs: readonly [];
|
|
77567
74068
|
readonly name: "AAVE_REFERRAL_CODE";
|
|
77568
74069
|
readonly outputs: readonly [{
|
|
@@ -78174,26 +74675,9 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
78174
74675
|
}];
|
|
78175
74676
|
readonly stateMutability: "view";
|
|
78176
74677
|
readonly type: "function";
|
|
78177
|
-
}, {
|
|
78178
|
-
|
|
78179
|
-
|
|
78180
|
-
readonly name: "_market";
|
|
78181
|
-
readonly type: "address";
|
|
78182
|
-
}, {
|
|
78183
|
-
readonly internalType: "address";
|
|
78184
|
-
readonly name: "_tokenAddr";
|
|
78185
|
-
readonly type: "address";
|
|
78186
|
-
}, {
|
|
78187
|
-
readonly internalType: "uint256";
|
|
78188
|
-
readonly name: "_rateMode";
|
|
78189
|
-
readonly type: "uint256";
|
|
78190
|
-
}];
|
|
78191
|
-
readonly name: "switchRateMode";
|
|
78192
|
-
readonly outputs: readonly [];
|
|
78193
|
-
readonly stateMutability: "nonpayable";
|
|
78194
|
-
readonly type: "function";
|
|
78195
|
-
}], "enableAsCollateral", readonly [`0x${string}`, `0x${string}`, boolean], import("viem").Chain | undefined, import("viem").Account | undefined, chainOverride, accountOverride>>;
|
|
78196
|
-
switchRateMode: <chainOverride extends import("viem").Chain | undefined = undefined, accountOverride extends import("viem").Account | import("viem").Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<import("viem").SimulateContractParameters<readonly [{
|
|
74678
|
+
}], "enableAsCollateral", readonly [`0x${string}`, `0x${string}`, boolean], import("viem").Chain | undefined>, "address" | "args" | "abi" | "functionName">>) => Promise<import("viem").EstimateContractGasReturnType>;
|
|
74679
|
+
} & {
|
|
74680
|
+
enableAsCollateral: (args: readonly [`0x${string}`, `0x${string}`, boolean], options: import("viem").Prettify<import("viem").UnionOmit<import("viem").EstimateContractGasParameters<readonly [{
|
|
78197
74681
|
readonly inputs: readonly [];
|
|
78198
74682
|
readonly name: "AAVE_REFERRAL_CODE";
|
|
78199
74683
|
readonly outputs: readonly [{
|
|
@@ -78805,25 +75289,10 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
78805
75289
|
}];
|
|
78806
75290
|
readonly stateMutability: "view";
|
|
78807
75291
|
readonly type: "function";
|
|
78808
|
-
}, {
|
|
78809
|
-
|
|
78810
|
-
|
|
78811
|
-
|
|
78812
|
-
readonly type: "address";
|
|
78813
|
-
}, {
|
|
78814
|
-
readonly internalType: "address";
|
|
78815
|
-
readonly name: "_tokenAddr";
|
|
78816
|
-
readonly type: "address";
|
|
78817
|
-
}, {
|
|
78818
|
-
readonly internalType: "uint256";
|
|
78819
|
-
readonly name: "_rateMode";
|
|
78820
|
-
readonly type: "uint256";
|
|
78821
|
-
}];
|
|
78822
|
-
readonly name: "switchRateMode";
|
|
78823
|
-
readonly outputs: readonly [];
|
|
78824
|
-
readonly stateMutability: "nonpayable";
|
|
78825
|
-
readonly type: "function";
|
|
78826
|
-
}], "switchRateMode", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain | undefined, chainOverride, accountOverride>, "address" | "args" | "abi" | "functionName"> | undefined) => Promise<import("viem").SimulateContractReturnType<readonly [{
|
|
75292
|
+
}], "enableAsCollateral", readonly [`0x${string}`, `0x${string}`, boolean], import("viem").Chain | undefined>, "address" | "args" | "abi" | "functionName">>) => Promise<import("viem").EstimateContractGasReturnType>;
|
|
75293
|
+
};
|
|
75294
|
+
simulate: {
|
|
75295
|
+
enableAsCollateral: <chainOverride extends import("viem").Chain | undefined = undefined, accountOverride extends import("viem").Account | import("viem").Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, boolean], options?: Omit<import("viem").SimulateContractParameters<readonly [{
|
|
78827
75296
|
readonly inputs: readonly [];
|
|
78828
75297
|
readonly name: "AAVE_REFERRAL_CODE";
|
|
78829
75298
|
readonly outputs: readonly [{
|
|
@@ -79435,28 +75904,7 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
79435
75904
|
}];
|
|
79436
75905
|
readonly stateMutability: "view";
|
|
79437
75906
|
readonly type: "function";
|
|
79438
|
-
}, {
|
|
79439
|
-
readonly inputs: readonly [{
|
|
79440
|
-
readonly internalType: "address";
|
|
79441
|
-
readonly name: "_market";
|
|
79442
|
-
readonly type: "address";
|
|
79443
|
-
}, {
|
|
79444
|
-
readonly internalType: "address";
|
|
79445
|
-
readonly name: "_tokenAddr";
|
|
79446
|
-
readonly type: "address";
|
|
79447
|
-
}, {
|
|
79448
|
-
readonly internalType: "uint256";
|
|
79449
|
-
readonly name: "_rateMode";
|
|
79450
|
-
readonly type: "uint256";
|
|
79451
|
-
}];
|
|
79452
|
-
readonly name: "switchRateMode";
|
|
79453
|
-
readonly outputs: readonly [];
|
|
79454
|
-
readonly stateMutability: "nonpayable";
|
|
79455
|
-
readonly type: "function";
|
|
79456
|
-
}], "switchRateMode", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain | undefined, import("viem").Account | undefined, chainOverride, accountOverride>>;
|
|
79457
|
-
};
|
|
79458
|
-
write: {
|
|
79459
|
-
enableAsCollateral: <chainOverride extends import("viem").Chain | undefined, options extends import("viem").UnionOmit<import("viem").WriteContractParameters<readonly [{
|
|
75907
|
+
}], "enableAsCollateral", readonly [`0x${string}`, `0x${string}`, boolean], import("viem").Chain | undefined, chainOverride, accountOverride>, "address" | "args" | "abi" | "functionName"> | undefined) => Promise<import("viem").SimulateContractReturnType<readonly [{
|
|
79460
75908
|
readonly inputs: readonly [];
|
|
79461
75909
|
readonly name: "AAVE_REFERRAL_CODE";
|
|
79462
75910
|
readonly outputs: readonly [{
|
|
@@ -80068,26 +76516,10 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
80068
76516
|
}];
|
|
80069
76517
|
readonly stateMutability: "view";
|
|
80070
76518
|
readonly type: "function";
|
|
80071
|
-
}, {
|
|
80072
|
-
|
|
80073
|
-
|
|
80074
|
-
|
|
80075
|
-
readonly type: "address";
|
|
80076
|
-
}, {
|
|
80077
|
-
readonly internalType: "address";
|
|
80078
|
-
readonly name: "_tokenAddr";
|
|
80079
|
-
readonly type: "address";
|
|
80080
|
-
}, {
|
|
80081
|
-
readonly internalType: "uint256";
|
|
80082
|
-
readonly name: "_rateMode";
|
|
80083
|
-
readonly type: "uint256";
|
|
80084
|
-
}];
|
|
80085
|
-
readonly name: "switchRateMode";
|
|
80086
|
-
readonly outputs: readonly [];
|
|
80087
|
-
readonly stateMutability: "nonpayable";
|
|
80088
|
-
readonly type: "function";
|
|
80089
|
-
}], "enableAsCollateral", readonly [`0x${string}`, `0x${string}`, boolean], import("viem").Chain | undefined, import("viem").Account | undefined, chainOverride>, "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, boolean], options: options) => Promise<import("viem").WriteContractReturnType>;
|
|
80090
|
-
switchRateMode: <chainOverride extends import("viem").Chain | undefined, options extends import("viem").UnionOmit<import("viem").WriteContractParameters<readonly [{
|
|
76519
|
+
}], "enableAsCollateral", readonly [`0x${string}`, `0x${string}`, boolean], import("viem").Chain | undefined, import("viem").Account | undefined, chainOverride, accountOverride>>;
|
|
76520
|
+
};
|
|
76521
|
+
write: {
|
|
76522
|
+
enableAsCollateral: <chainOverride extends import("viem").Chain | undefined, options extends import("viem").UnionOmit<import("viem").WriteContractParameters<readonly [{
|
|
80091
76523
|
readonly inputs: readonly [];
|
|
80092
76524
|
readonly name: "AAVE_REFERRAL_CODE";
|
|
80093
76525
|
readonly outputs: readonly [{
|
|
@@ -80699,25 +77131,7 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
80699
77131
|
}];
|
|
80700
77132
|
readonly stateMutability: "view";
|
|
80701
77133
|
readonly type: "function";
|
|
80702
|
-
}, {
|
|
80703
|
-
readonly inputs: readonly [{
|
|
80704
|
-
readonly internalType: "address";
|
|
80705
|
-
readonly name: "_market";
|
|
80706
|
-
readonly type: "address";
|
|
80707
|
-
}, {
|
|
80708
|
-
readonly internalType: "address";
|
|
80709
|
-
readonly name: "_tokenAddr";
|
|
80710
|
-
readonly type: "address";
|
|
80711
|
-
}, {
|
|
80712
|
-
readonly internalType: "uint256";
|
|
80713
|
-
readonly name: "_rateMode";
|
|
80714
|
-
readonly type: "uint256";
|
|
80715
|
-
}];
|
|
80716
|
-
readonly name: "switchRateMode";
|
|
80717
|
-
readonly outputs: readonly [];
|
|
80718
|
-
readonly stateMutability: "nonpayable";
|
|
80719
|
-
readonly type: "function";
|
|
80720
|
-
}], "switchRateMode", readonly [`0x${string}`, `0x${string}`, bigint], import("viem").Chain | undefined, import("viem").Account | undefined, chainOverride>, "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, bigint], options: options) => Promise<import("viem").WriteContractReturnType>;
|
|
77134
|
+
}], "enableAsCollateral", readonly [`0x${string}`, `0x${string}`, boolean], import("viem").Chain | undefined, import("viem").Account | undefined, chainOverride>, "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, boolean], options: options) => Promise<import("viem").WriteContractReturnType>;
|
|
80721
77135
|
};
|
|
80722
77136
|
address: `0x${string}`;
|
|
80723
77137
|
abi: readonly [{
|
|
@@ -81332,24 +77746,6 @@ export declare const AaveLoanInfoV2ContractViem: (client: Client, network: Netwo
|
|
|
81332
77746
|
}];
|
|
81333
77747
|
readonly stateMutability: "view";
|
|
81334
77748
|
readonly type: "function";
|
|
81335
|
-
}, {
|
|
81336
|
-
readonly inputs: readonly [{
|
|
81337
|
-
readonly internalType: "address";
|
|
81338
|
-
readonly name: "_market";
|
|
81339
|
-
readonly type: "address";
|
|
81340
|
-
}, {
|
|
81341
|
-
readonly internalType: "address";
|
|
81342
|
-
readonly name: "_tokenAddr";
|
|
81343
|
-
readonly type: "address";
|
|
81344
|
-
}, {
|
|
81345
|
-
readonly internalType: "uint256";
|
|
81346
|
-
readonly name: "_rateMode";
|
|
81347
|
-
readonly type: "uint256";
|
|
81348
|
-
}];
|
|
81349
|
-
readonly name: "switchRateMode";
|
|
81350
|
-
readonly outputs: readonly [];
|
|
81351
|
-
readonly stateMutability: "nonpayable";
|
|
81352
|
-
readonly type: "function";
|
|
81353
77749
|
}];
|
|
81354
77750
|
};
|
|
81355
77751
|
export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => {
|