@defisaver/positions-sdk 2.1.92 → 2.1.94-dev
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/aaveV3/index.js +2 -5
- package/cjs/config/contracts.d.ts +8307 -1910
- package/cjs/config/contracts.js +37 -13
- package/cjs/contracts.d.ts +299 -1619
- package/cjs/types/common.d.ts +2 -2
- package/cjs/types/common.js +2 -2
- package/esm/aaveV3/index.js +3 -6
- package/esm/config/contracts.d.ts +8307 -1910
- package/esm/config/contracts.js +37 -13
- package/esm/contracts.d.ts +299 -1619
- package/esm/types/common.d.ts +2 -2
- package/esm/types/common.js +2 -2
- package/package.json +1 -1
- package/src/aaveV3/index.ts +2 -6
- package/src/config/contracts.ts +37 -13
- package/src/types/common.ts +2 -2
package/esm/contracts.d.ts
CHANGED
|
@@ -116263,6 +116263,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
116263
116263
|
readonly internalType: "uint128";
|
|
116264
116264
|
readonly name: "collateralBitmap";
|
|
116265
116265
|
readonly type: "uint128";
|
|
116266
|
+
}, {
|
|
116267
|
+
readonly internalType: "bool";
|
|
116268
|
+
readonly name: "isolated";
|
|
116269
|
+
readonly type: "bool";
|
|
116266
116270
|
}, {
|
|
116267
116271
|
readonly internalType: "string";
|
|
116268
116272
|
readonly name: "label";
|
|
@@ -116534,6 +116538,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
116534
116538
|
readonly internalType: "uint128";
|
|
116535
116539
|
readonly name: "collateralBitmap";
|
|
116536
116540
|
readonly type: "uint128";
|
|
116541
|
+
}, {
|
|
116542
|
+
readonly internalType: "bool";
|
|
116543
|
+
readonly name: "isolated";
|
|
116544
|
+
readonly type: "bool";
|
|
116537
116545
|
}, {
|
|
116538
116546
|
readonly internalType: "string";
|
|
116539
116547
|
readonly name: "label";
|
|
@@ -116880,25 +116888,6 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
116880
116888
|
}];
|
|
116881
116889
|
readonly stateMutability: "view";
|
|
116882
116890
|
readonly type: "function";
|
|
116883
|
-
}, {
|
|
116884
|
-
readonly inputs: readonly [{
|
|
116885
|
-
readonly components: readonly [{
|
|
116886
|
-
readonly internalType: "uint256";
|
|
116887
|
-
readonly name: "data";
|
|
116888
|
-
readonly type: "uint256";
|
|
116889
|
-
}];
|
|
116890
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
116891
|
-
readonly name: "self";
|
|
116892
|
-
readonly type: "tuple";
|
|
116893
|
-
}];
|
|
116894
|
-
readonly name: "getLtv";
|
|
116895
|
-
readonly outputs: readonly [{
|
|
116896
|
-
readonly internalType: "uint256";
|
|
116897
|
-
readonly name: "";
|
|
116898
|
-
readonly type: "uint256";
|
|
116899
|
-
}];
|
|
116900
|
-
readonly stateMutability: "pure";
|
|
116901
|
-
readonly type: "function";
|
|
116902
116891
|
}, {
|
|
116903
116892
|
readonly inputs: readonly [{
|
|
116904
116893
|
readonly internalType: "address";
|
|
@@ -117215,7 +117204,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
117215
117204
|
}, {
|
|
117216
117205
|
readonly inputs: readonly [{
|
|
117217
117206
|
readonly internalType: "address";
|
|
117218
|
-
readonly name: "
|
|
117207
|
+
readonly name: "";
|
|
117219
117208
|
readonly type: "address";
|
|
117220
117209
|
}];
|
|
117221
117210
|
readonly name: "isBorrowAllowed";
|
|
@@ -117224,7 +117213,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
117224
117213
|
readonly name: "";
|
|
117225
117214
|
readonly type: "bool";
|
|
117226
117215
|
}];
|
|
117227
|
-
readonly stateMutability: "
|
|
117216
|
+
readonly stateMutability: "pure";
|
|
117228
117217
|
readonly type: "function";
|
|
117229
117218
|
}], "AAVE_REFERRAL_CODE", readonly []>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<number>;
|
|
117230
117219
|
getAdditionalUmbrellaStakingData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
@@ -117328,6 +117317,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
117328
117317
|
readonly internalType: "uint128";
|
|
117329
117318
|
readonly name: "collateralBitmap";
|
|
117330
117319
|
readonly type: "uint128";
|
|
117320
|
+
}, {
|
|
117321
|
+
readonly internalType: "bool";
|
|
117322
|
+
readonly name: "isolated";
|
|
117323
|
+
readonly type: "bool";
|
|
117331
117324
|
}, {
|
|
117332
117325
|
readonly internalType: "string";
|
|
117333
117326
|
readonly name: "label";
|
|
@@ -117599,6 +117592,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
117599
117592
|
readonly internalType: "uint128";
|
|
117600
117593
|
readonly name: "collateralBitmap";
|
|
117601
117594
|
readonly type: "uint128";
|
|
117595
|
+
}, {
|
|
117596
|
+
readonly internalType: "bool";
|
|
117597
|
+
readonly name: "isolated";
|
|
117598
|
+
readonly type: "bool";
|
|
117602
117599
|
}, {
|
|
117603
117600
|
readonly internalType: "string";
|
|
117604
117601
|
readonly name: "label";
|
|
@@ -117945,25 +117942,6 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
117945
117942
|
}];
|
|
117946
117943
|
readonly stateMutability: "view";
|
|
117947
117944
|
readonly type: "function";
|
|
117948
|
-
}, {
|
|
117949
|
-
readonly inputs: readonly [{
|
|
117950
|
-
readonly components: readonly [{
|
|
117951
|
-
readonly internalType: "uint256";
|
|
117952
|
-
readonly name: "data";
|
|
117953
|
-
readonly type: "uint256";
|
|
117954
|
-
}];
|
|
117955
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
117956
|
-
readonly name: "self";
|
|
117957
|
-
readonly type: "tuple";
|
|
117958
|
-
}];
|
|
117959
|
-
readonly name: "getLtv";
|
|
117960
|
-
readonly outputs: readonly [{
|
|
117961
|
-
readonly internalType: "uint256";
|
|
117962
|
-
readonly name: "";
|
|
117963
|
-
readonly type: "uint256";
|
|
117964
|
-
}];
|
|
117965
|
-
readonly stateMutability: "pure";
|
|
117966
|
-
readonly type: "function";
|
|
117967
117945
|
}, {
|
|
117968
117946
|
readonly inputs: readonly [{
|
|
117969
117947
|
readonly internalType: "address";
|
|
@@ -118280,7 +118258,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
118280
118258
|
}, {
|
|
118281
118259
|
readonly inputs: readonly [{
|
|
118282
118260
|
readonly internalType: "address";
|
|
118283
|
-
readonly name: "
|
|
118261
|
+
readonly name: "";
|
|
118284
118262
|
readonly type: "address";
|
|
118285
118263
|
}];
|
|
118286
118264
|
readonly name: "isBorrowAllowed";
|
|
@@ -118289,7 +118267,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
118289
118267
|
readonly name: "";
|
|
118290
118268
|
readonly type: "bool";
|
|
118291
118269
|
}];
|
|
118292
|
-
readonly stateMutability: "
|
|
118270
|
+
readonly stateMutability: "pure";
|
|
118293
118271
|
readonly type: "function";
|
|
118294
118272
|
}], "getAdditionalUmbrellaStakingData", readonly [`0x${string}`, `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly {
|
|
118295
118273
|
stkToken: `0x${string}`;
|
|
@@ -118406,6 +118384,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
118406
118384
|
readonly internalType: "uint128";
|
|
118407
118385
|
readonly name: "collateralBitmap";
|
|
118408
118386
|
readonly type: "uint128";
|
|
118387
|
+
}, {
|
|
118388
|
+
readonly internalType: "bool";
|
|
118389
|
+
readonly name: "isolated";
|
|
118390
|
+
readonly type: "bool";
|
|
118409
118391
|
}, {
|
|
118410
118392
|
readonly internalType: "string";
|
|
118411
118393
|
readonly name: "label";
|
|
@@ -118677,6 +118659,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
118677
118659
|
readonly internalType: "uint128";
|
|
118678
118660
|
readonly name: "collateralBitmap";
|
|
118679
118661
|
readonly type: "uint128";
|
|
118662
|
+
}, {
|
|
118663
|
+
readonly internalType: "bool";
|
|
118664
|
+
readonly name: "isolated";
|
|
118665
|
+
readonly type: "bool";
|
|
118680
118666
|
}, {
|
|
118681
118667
|
readonly internalType: "string";
|
|
118682
118668
|
readonly name: "label";
|
|
@@ -119023,25 +119009,6 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
119023
119009
|
}];
|
|
119024
119010
|
readonly stateMutability: "view";
|
|
119025
119011
|
readonly type: "function";
|
|
119026
|
-
}, {
|
|
119027
|
-
readonly inputs: readonly [{
|
|
119028
|
-
readonly components: readonly [{
|
|
119029
|
-
readonly internalType: "uint256";
|
|
119030
|
-
readonly name: "data";
|
|
119031
|
-
readonly type: "uint256";
|
|
119032
|
-
}];
|
|
119033
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
119034
|
-
readonly name: "self";
|
|
119035
|
-
readonly type: "tuple";
|
|
119036
|
-
}];
|
|
119037
|
-
readonly name: "getLtv";
|
|
119038
|
-
readonly outputs: readonly [{
|
|
119039
|
-
readonly internalType: "uint256";
|
|
119040
|
-
readonly name: "";
|
|
119041
|
-
readonly type: "uint256";
|
|
119042
|
-
}];
|
|
119043
|
-
readonly stateMutability: "pure";
|
|
119044
|
-
readonly type: "function";
|
|
119045
119012
|
}, {
|
|
119046
119013
|
readonly inputs: readonly [{
|
|
119047
119014
|
readonly internalType: "address";
|
|
@@ -119358,7 +119325,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
119358
119325
|
}, {
|
|
119359
119326
|
readonly inputs: readonly [{
|
|
119360
119327
|
readonly internalType: "address";
|
|
119361
|
-
readonly name: "
|
|
119328
|
+
readonly name: "";
|
|
119362
119329
|
readonly type: "address";
|
|
119363
119330
|
}];
|
|
119364
119331
|
readonly name: "isBorrowAllowed";
|
|
@@ -119367,13 +119334,14 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
119367
119334
|
readonly name: "";
|
|
119368
119335
|
readonly type: "bool";
|
|
119369
119336
|
}];
|
|
119370
|
-
readonly stateMutability: "
|
|
119337
|
+
readonly stateMutability: "pure";
|
|
119371
119338
|
readonly type: "function";
|
|
119372
119339
|
}], "getAllEmodes", readonly [`0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly {
|
|
119373
119340
|
ltv: number;
|
|
119374
119341
|
liquidationThreshold: number;
|
|
119375
119342
|
liquidationBonus: number;
|
|
119376
119343
|
collateralBitmap: bigint;
|
|
119344
|
+
isolated: boolean;
|
|
119377
119345
|
label: string;
|
|
119378
119346
|
borrowableBitmap: bigint;
|
|
119379
119347
|
ltvzeroBitmap: bigint;
|
|
@@ -119484,6 +119452,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
119484
119452
|
readonly internalType: "uint128";
|
|
119485
119453
|
readonly name: "collateralBitmap";
|
|
119486
119454
|
readonly type: "uint128";
|
|
119455
|
+
}, {
|
|
119456
|
+
readonly internalType: "bool";
|
|
119457
|
+
readonly name: "isolated";
|
|
119458
|
+
readonly type: "bool";
|
|
119487
119459
|
}, {
|
|
119488
119460
|
readonly internalType: "string";
|
|
119489
119461
|
readonly name: "label";
|
|
@@ -119755,6 +119727,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
119755
119727
|
readonly internalType: "uint128";
|
|
119756
119728
|
readonly name: "collateralBitmap";
|
|
119757
119729
|
readonly type: "uint128";
|
|
119730
|
+
}, {
|
|
119731
|
+
readonly internalType: "bool";
|
|
119732
|
+
readonly name: "isolated";
|
|
119733
|
+
readonly type: "bool";
|
|
119758
119734
|
}, {
|
|
119759
119735
|
readonly internalType: "string";
|
|
119760
119736
|
readonly name: "label";
|
|
@@ -120101,25 +120077,6 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
120101
120077
|
}];
|
|
120102
120078
|
readonly stateMutability: "view";
|
|
120103
120079
|
readonly type: "function";
|
|
120104
|
-
}, {
|
|
120105
|
-
readonly inputs: readonly [{
|
|
120106
|
-
readonly components: readonly [{
|
|
120107
|
-
readonly internalType: "uint256";
|
|
120108
|
-
readonly name: "data";
|
|
120109
|
-
readonly type: "uint256";
|
|
120110
|
-
}];
|
|
120111
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
120112
|
-
readonly name: "self";
|
|
120113
|
-
readonly type: "tuple";
|
|
120114
|
-
}];
|
|
120115
|
-
readonly name: "getLtv";
|
|
120116
|
-
readonly outputs: readonly [{
|
|
120117
|
-
readonly internalType: "uint256";
|
|
120118
|
-
readonly name: "";
|
|
120119
|
-
readonly type: "uint256";
|
|
120120
|
-
}];
|
|
120121
|
-
readonly stateMutability: "pure";
|
|
120122
|
-
readonly type: "function";
|
|
120123
120080
|
}, {
|
|
120124
120081
|
readonly inputs: readonly [{
|
|
120125
120082
|
readonly internalType: "address";
|
|
@@ -120436,7 +120393,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
120436
120393
|
}, {
|
|
120437
120394
|
readonly inputs: readonly [{
|
|
120438
120395
|
readonly internalType: "address";
|
|
120439
|
-
readonly name: "
|
|
120396
|
+
readonly name: "";
|
|
120440
120397
|
readonly type: "address";
|
|
120441
120398
|
}];
|
|
120442
120399
|
readonly name: "isBorrowAllowed";
|
|
@@ -120445,7 +120402,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
120445
120402
|
readonly name: "";
|
|
120446
120403
|
readonly type: "bool";
|
|
120447
120404
|
}];
|
|
120448
|
-
readonly stateMutability: "
|
|
120405
|
+
readonly stateMutability: "pure";
|
|
120449
120406
|
readonly type: "function";
|
|
120450
120407
|
}], "getApyAfterValuesEstimation", readonly [`0x${string}`, readonly {
|
|
120451
120408
|
reserveAddress: `0x${string}`;
|
|
@@ -120558,6 +120515,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
120558
120515
|
readonly internalType: "uint128";
|
|
120559
120516
|
readonly name: "collateralBitmap";
|
|
120560
120517
|
readonly type: "uint128";
|
|
120518
|
+
}, {
|
|
120519
|
+
readonly internalType: "bool";
|
|
120520
|
+
readonly name: "isolated";
|
|
120521
|
+
readonly type: "bool";
|
|
120561
120522
|
}, {
|
|
120562
120523
|
readonly internalType: "string";
|
|
120563
120524
|
readonly name: "label";
|
|
@@ -120829,6 +120790,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
120829
120790
|
readonly internalType: "uint128";
|
|
120830
120791
|
readonly name: "collateralBitmap";
|
|
120831
120792
|
readonly type: "uint128";
|
|
120793
|
+
}, {
|
|
120794
|
+
readonly internalType: "bool";
|
|
120795
|
+
readonly name: "isolated";
|
|
120796
|
+
readonly type: "bool";
|
|
120832
120797
|
}, {
|
|
120833
120798
|
readonly internalType: "string";
|
|
120834
120799
|
readonly name: "label";
|
|
@@ -121175,25 +121140,6 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
121175
121140
|
}];
|
|
121176
121141
|
readonly stateMutability: "view";
|
|
121177
121142
|
readonly type: "function";
|
|
121178
|
-
}, {
|
|
121179
|
-
readonly inputs: readonly [{
|
|
121180
|
-
readonly components: readonly [{
|
|
121181
|
-
readonly internalType: "uint256";
|
|
121182
|
-
readonly name: "data";
|
|
121183
|
-
readonly type: "uint256";
|
|
121184
|
-
}];
|
|
121185
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
121186
|
-
readonly name: "self";
|
|
121187
|
-
readonly type: "tuple";
|
|
121188
|
-
}];
|
|
121189
|
-
readonly name: "getLtv";
|
|
121190
|
-
readonly outputs: readonly [{
|
|
121191
|
-
readonly internalType: "uint256";
|
|
121192
|
-
readonly name: "";
|
|
121193
|
-
readonly type: "uint256";
|
|
121194
|
-
}];
|
|
121195
|
-
readonly stateMutability: "pure";
|
|
121196
|
-
readonly type: "function";
|
|
121197
121143
|
}, {
|
|
121198
121144
|
readonly inputs: readonly [{
|
|
121199
121145
|
readonly internalType: "address";
|
|
@@ -121510,7 +121456,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
121510
121456
|
}, {
|
|
121511
121457
|
readonly inputs: readonly [{
|
|
121512
121458
|
readonly internalType: "address";
|
|
121513
|
-
readonly name: "
|
|
121459
|
+
readonly name: "";
|
|
121514
121460
|
readonly type: "address";
|
|
121515
121461
|
}];
|
|
121516
121462
|
readonly name: "isBorrowAllowed";
|
|
@@ -121519,7 +121465,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
121519
121465
|
readonly name: "";
|
|
121520
121466
|
readonly type: "bool";
|
|
121521
121467
|
}];
|
|
121522
|
-
readonly stateMutability: "
|
|
121468
|
+
readonly stateMutability: "pure";
|
|
121523
121469
|
readonly type: "function";
|
|
121524
121470
|
}], "getAssetPrice", readonly [`0x${string}`, `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
|
|
121525
121471
|
getCollFactors: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
@@ -121623,6 +121569,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
121623
121569
|
readonly internalType: "uint128";
|
|
121624
121570
|
readonly name: "collateralBitmap";
|
|
121625
121571
|
readonly type: "uint128";
|
|
121572
|
+
}, {
|
|
121573
|
+
readonly internalType: "bool";
|
|
121574
|
+
readonly name: "isolated";
|
|
121575
|
+
readonly type: "bool";
|
|
121626
121576
|
}, {
|
|
121627
121577
|
readonly internalType: "string";
|
|
121628
121578
|
readonly name: "label";
|
|
@@ -121894,6 +121844,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
121894
121844
|
readonly internalType: "uint128";
|
|
121895
121845
|
readonly name: "collateralBitmap";
|
|
121896
121846
|
readonly type: "uint128";
|
|
121847
|
+
}, {
|
|
121848
|
+
readonly internalType: "bool";
|
|
121849
|
+
readonly name: "isolated";
|
|
121850
|
+
readonly type: "bool";
|
|
121897
121851
|
}, {
|
|
121898
121852
|
readonly internalType: "string";
|
|
121899
121853
|
readonly name: "label";
|
|
@@ -122240,25 +122194,6 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
122240
122194
|
}];
|
|
122241
122195
|
readonly stateMutability: "view";
|
|
122242
122196
|
readonly type: "function";
|
|
122243
|
-
}, {
|
|
122244
|
-
readonly inputs: readonly [{
|
|
122245
|
-
readonly components: readonly [{
|
|
122246
|
-
readonly internalType: "uint256";
|
|
122247
|
-
readonly name: "data";
|
|
122248
|
-
readonly type: "uint256";
|
|
122249
|
-
}];
|
|
122250
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
122251
|
-
readonly name: "self";
|
|
122252
|
-
readonly type: "tuple";
|
|
122253
|
-
}];
|
|
122254
|
-
readonly name: "getLtv";
|
|
122255
|
-
readonly outputs: readonly [{
|
|
122256
|
-
readonly internalType: "uint256";
|
|
122257
|
-
readonly name: "";
|
|
122258
|
-
readonly type: "uint256";
|
|
122259
|
-
}];
|
|
122260
|
-
readonly stateMutability: "pure";
|
|
122261
|
-
readonly type: "function";
|
|
122262
122197
|
}, {
|
|
122263
122198
|
readonly inputs: readonly [{
|
|
122264
122199
|
readonly internalType: "address";
|
|
@@ -122575,7 +122510,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
122575
122510
|
}, {
|
|
122576
122511
|
readonly inputs: readonly [{
|
|
122577
122512
|
readonly internalType: "address";
|
|
122578
|
-
readonly name: "
|
|
122513
|
+
readonly name: "";
|
|
122579
122514
|
readonly type: "address";
|
|
122580
122515
|
}];
|
|
122581
122516
|
readonly name: "isBorrowAllowed";
|
|
@@ -122584,7 +122519,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
122584
122519
|
readonly name: "";
|
|
122585
122520
|
readonly type: "bool";
|
|
122586
122521
|
}];
|
|
122587
|
-
readonly stateMutability: "
|
|
122522
|
+
readonly stateMutability: "pure";
|
|
122588
122523
|
readonly type: "function";
|
|
122589
122524
|
}], "getCollFactors", readonly [`0x${string}`, readonly `0x${string}`[]]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
122590
122525
|
getEModeCollateralFactor: (args: readonly [bigint, `0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
@@ -122688,6 +122623,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
122688
122623
|
readonly internalType: "uint128";
|
|
122689
122624
|
readonly name: "collateralBitmap";
|
|
122690
122625
|
readonly type: "uint128";
|
|
122626
|
+
}, {
|
|
122627
|
+
readonly internalType: "bool";
|
|
122628
|
+
readonly name: "isolated";
|
|
122629
|
+
readonly type: "bool";
|
|
122691
122630
|
}, {
|
|
122692
122631
|
readonly internalType: "string";
|
|
122693
122632
|
readonly name: "label";
|
|
@@ -122959,6 +122898,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
122959
122898
|
readonly internalType: "uint128";
|
|
122960
122899
|
readonly name: "collateralBitmap";
|
|
122961
122900
|
readonly type: "uint128";
|
|
122901
|
+
}, {
|
|
122902
|
+
readonly internalType: "bool";
|
|
122903
|
+
readonly name: "isolated";
|
|
122904
|
+
readonly type: "bool";
|
|
122962
122905
|
}, {
|
|
122963
122906
|
readonly internalType: "string";
|
|
122964
122907
|
readonly name: "label";
|
|
@@ -123305,25 +123248,6 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
123305
123248
|
}];
|
|
123306
123249
|
readonly stateMutability: "view";
|
|
123307
123250
|
readonly type: "function";
|
|
123308
|
-
}, {
|
|
123309
|
-
readonly inputs: readonly [{
|
|
123310
|
-
readonly components: readonly [{
|
|
123311
|
-
readonly internalType: "uint256";
|
|
123312
|
-
readonly name: "data";
|
|
123313
|
-
readonly type: "uint256";
|
|
123314
|
-
}];
|
|
123315
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
123316
|
-
readonly name: "self";
|
|
123317
|
-
readonly type: "tuple";
|
|
123318
|
-
}];
|
|
123319
|
-
readonly name: "getLtv";
|
|
123320
|
-
readonly outputs: readonly [{
|
|
123321
|
-
readonly internalType: "uint256";
|
|
123322
|
-
readonly name: "";
|
|
123323
|
-
readonly type: "uint256";
|
|
123324
|
-
}];
|
|
123325
|
-
readonly stateMutability: "pure";
|
|
123326
|
-
readonly type: "function";
|
|
123327
123251
|
}, {
|
|
123328
123252
|
readonly inputs: readonly [{
|
|
123329
123253
|
readonly internalType: "address";
|
|
@@ -123640,7 +123564,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
123640
123564
|
}, {
|
|
123641
123565
|
readonly inputs: readonly [{
|
|
123642
123566
|
readonly internalType: "address";
|
|
123643
|
-
readonly name: "
|
|
123567
|
+
readonly name: "";
|
|
123644
123568
|
readonly type: "address";
|
|
123645
123569
|
}];
|
|
123646
123570
|
readonly name: "isBorrowAllowed";
|
|
@@ -123649,7 +123573,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
123649
123573
|
readonly name: "";
|
|
123650
123574
|
readonly type: "bool";
|
|
123651
123575
|
}];
|
|
123652
|
-
readonly stateMutability: "
|
|
123576
|
+
readonly stateMutability: "pure";
|
|
123653
123577
|
readonly type: "function";
|
|
123654
123578
|
}], "getEModeCollateralFactor", readonly [bigint, `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<number>;
|
|
123655
123579
|
getEOAApprovalsAndBalances: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, `0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
@@ -123753,6 +123677,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
123753
123677
|
readonly internalType: "uint128";
|
|
123754
123678
|
readonly name: "collateralBitmap";
|
|
123755
123679
|
readonly type: "uint128";
|
|
123680
|
+
}, {
|
|
123681
|
+
readonly internalType: "bool";
|
|
123682
|
+
readonly name: "isolated";
|
|
123683
|
+
readonly type: "bool";
|
|
123756
123684
|
}, {
|
|
123757
123685
|
readonly internalType: "string";
|
|
123758
123686
|
readonly name: "label";
|
|
@@ -124024,6 +123952,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
124024
123952
|
readonly internalType: "uint128";
|
|
124025
123953
|
readonly name: "collateralBitmap";
|
|
124026
123954
|
readonly type: "uint128";
|
|
123955
|
+
}, {
|
|
123956
|
+
readonly internalType: "bool";
|
|
123957
|
+
readonly name: "isolated";
|
|
123958
|
+
readonly type: "bool";
|
|
124027
123959
|
}, {
|
|
124028
123960
|
readonly internalType: "string";
|
|
124029
123961
|
readonly name: "label";
|
|
@@ -124370,25 +124302,6 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
124370
124302
|
}];
|
|
124371
124303
|
readonly stateMutability: "view";
|
|
124372
124304
|
readonly type: "function";
|
|
124373
|
-
}, {
|
|
124374
|
-
readonly inputs: readonly [{
|
|
124375
|
-
readonly components: readonly [{
|
|
124376
|
-
readonly internalType: "uint256";
|
|
124377
|
-
readonly name: "data";
|
|
124378
|
-
readonly type: "uint256";
|
|
124379
|
-
}];
|
|
124380
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
124381
|
-
readonly name: "self";
|
|
124382
|
-
readonly type: "tuple";
|
|
124383
|
-
}];
|
|
124384
|
-
readonly name: "getLtv";
|
|
124385
|
-
readonly outputs: readonly [{
|
|
124386
|
-
readonly internalType: "uint256";
|
|
124387
|
-
readonly name: "";
|
|
124388
|
-
readonly type: "uint256";
|
|
124389
|
-
}];
|
|
124390
|
-
readonly stateMutability: "pure";
|
|
124391
|
-
readonly type: "function";
|
|
124392
124305
|
}, {
|
|
124393
124306
|
readonly inputs: readonly [{
|
|
124394
124307
|
readonly internalType: "address";
|
|
@@ -124705,7 +124618,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
124705
124618
|
}, {
|
|
124706
124619
|
readonly inputs: readonly [{
|
|
124707
124620
|
readonly internalType: "address";
|
|
124708
|
-
readonly name: "
|
|
124621
|
+
readonly name: "";
|
|
124709
124622
|
readonly type: "address";
|
|
124710
124623
|
}];
|
|
124711
124624
|
readonly name: "isBorrowAllowed";
|
|
@@ -124714,7 +124627,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
124714
124627
|
readonly name: "";
|
|
124715
124628
|
readonly type: "bool";
|
|
124716
124629
|
}];
|
|
124717
|
-
readonly stateMutability: "
|
|
124630
|
+
readonly stateMutability: "pure";
|
|
124718
124631
|
readonly type: "function";
|
|
124719
124632
|
}], "getEOAApprovalsAndBalances", readonly [`0x${string}`, `0x${string}`, `0x${string}`, `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{
|
|
124720
124633
|
asset: `0x${string}`;
|
|
@@ -124828,6 +124741,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
124828
124741
|
readonly internalType: "uint128";
|
|
124829
124742
|
readonly name: "collateralBitmap";
|
|
124830
124743
|
readonly type: "uint128";
|
|
124744
|
+
}, {
|
|
124745
|
+
readonly internalType: "bool";
|
|
124746
|
+
readonly name: "isolated";
|
|
124747
|
+
readonly type: "bool";
|
|
124831
124748
|
}, {
|
|
124832
124749
|
readonly internalType: "string";
|
|
124833
124750
|
readonly name: "label";
|
|
@@ -125099,6 +125016,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
125099
125016
|
readonly internalType: "uint128";
|
|
125100
125017
|
readonly name: "collateralBitmap";
|
|
125101
125018
|
readonly type: "uint128";
|
|
125019
|
+
}, {
|
|
125020
|
+
readonly internalType: "bool";
|
|
125021
|
+
readonly name: "isolated";
|
|
125022
|
+
readonly type: "bool";
|
|
125102
125023
|
}, {
|
|
125103
125024
|
readonly internalType: "string";
|
|
125104
125025
|
readonly name: "label";
|
|
@@ -125445,25 +125366,6 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
125445
125366
|
}];
|
|
125446
125367
|
readonly stateMutability: "view";
|
|
125447
125368
|
readonly type: "function";
|
|
125448
|
-
}, {
|
|
125449
|
-
readonly inputs: readonly [{
|
|
125450
|
-
readonly components: readonly [{
|
|
125451
|
-
readonly internalType: "uint256";
|
|
125452
|
-
readonly name: "data";
|
|
125453
|
-
readonly type: "uint256";
|
|
125454
|
-
}];
|
|
125455
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
125456
|
-
readonly name: "self";
|
|
125457
|
-
readonly type: "tuple";
|
|
125458
|
-
}];
|
|
125459
|
-
readonly name: "getLtv";
|
|
125460
|
-
readonly outputs: readonly [{
|
|
125461
|
-
readonly internalType: "uint256";
|
|
125462
|
-
readonly name: "";
|
|
125463
|
-
readonly type: "uint256";
|
|
125464
|
-
}];
|
|
125465
|
-
readonly stateMutability: "pure";
|
|
125466
|
-
readonly type: "function";
|
|
125467
125369
|
}, {
|
|
125468
125370
|
readonly inputs: readonly [{
|
|
125469
125371
|
readonly internalType: "address";
|
|
@@ -125780,7 +125682,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
125780
125682
|
}, {
|
|
125781
125683
|
readonly inputs: readonly [{
|
|
125782
125684
|
readonly internalType: "address";
|
|
125783
|
-
readonly name: "
|
|
125685
|
+
readonly name: "";
|
|
125784
125686
|
readonly type: "address";
|
|
125785
125687
|
}];
|
|
125786
125688
|
readonly name: "isBorrowAllowed";
|
|
@@ -125789,7 +125691,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
125789
125691
|
readonly name: "";
|
|
125790
125692
|
readonly type: "bool";
|
|
125791
125693
|
}];
|
|
125792
|
-
readonly stateMutability: "
|
|
125694
|
+
readonly stateMutability: "pure";
|
|
125793
125695
|
readonly type: "function";
|
|
125794
125696
|
}], "getEOAApprovalsAndBalancesForAllTokens", readonly [`0x${string}`, `0x${string}`, `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly {
|
|
125795
125697
|
asset: `0x${string}`;
|
|
@@ -125903,6 +125805,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
125903
125805
|
readonly internalType: "uint128";
|
|
125904
125806
|
readonly name: "collateralBitmap";
|
|
125905
125807
|
readonly type: "uint128";
|
|
125808
|
+
}, {
|
|
125809
|
+
readonly internalType: "bool";
|
|
125810
|
+
readonly name: "isolated";
|
|
125811
|
+
readonly type: "bool";
|
|
125906
125812
|
}, {
|
|
125907
125813
|
readonly internalType: "string";
|
|
125908
125814
|
readonly name: "label";
|
|
@@ -126174,6 +126080,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
126174
126080
|
readonly internalType: "uint128";
|
|
126175
126081
|
readonly name: "collateralBitmap";
|
|
126176
126082
|
readonly type: "uint128";
|
|
126083
|
+
}, {
|
|
126084
|
+
readonly internalType: "bool";
|
|
126085
|
+
readonly name: "isolated";
|
|
126086
|
+
readonly type: "bool";
|
|
126177
126087
|
}, {
|
|
126178
126088
|
readonly internalType: "string";
|
|
126179
126089
|
readonly name: "label";
|
|
@@ -126520,25 +126430,6 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
126520
126430
|
}];
|
|
126521
126431
|
readonly stateMutability: "view";
|
|
126522
126432
|
readonly type: "function";
|
|
126523
|
-
}, {
|
|
126524
|
-
readonly inputs: readonly [{
|
|
126525
|
-
readonly components: readonly [{
|
|
126526
|
-
readonly internalType: "uint256";
|
|
126527
|
-
readonly name: "data";
|
|
126528
|
-
readonly type: "uint256";
|
|
126529
|
-
}];
|
|
126530
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
126531
|
-
readonly name: "self";
|
|
126532
|
-
readonly type: "tuple";
|
|
126533
|
-
}];
|
|
126534
|
-
readonly name: "getLtv";
|
|
126535
|
-
readonly outputs: readonly [{
|
|
126536
|
-
readonly internalType: "uint256";
|
|
126537
|
-
readonly name: "";
|
|
126538
|
-
readonly type: "uint256";
|
|
126539
|
-
}];
|
|
126540
|
-
readonly stateMutability: "pure";
|
|
126541
|
-
readonly type: "function";
|
|
126542
126433
|
}, {
|
|
126543
126434
|
readonly inputs: readonly [{
|
|
126544
126435
|
readonly internalType: "address";
|
|
@@ -126855,7 +126746,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
126855
126746
|
}, {
|
|
126856
126747
|
readonly inputs: readonly [{
|
|
126857
126748
|
readonly internalType: "address";
|
|
126858
|
-
readonly name: "
|
|
126749
|
+
readonly name: "";
|
|
126859
126750
|
readonly type: "address";
|
|
126860
126751
|
}];
|
|
126861
126752
|
readonly name: "isBorrowAllowed";
|
|
@@ -126864,13 +126755,14 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
126864
126755
|
readonly name: "";
|
|
126865
126756
|
readonly type: "bool";
|
|
126866
126757
|
}];
|
|
126867
|
-
readonly stateMutability: "
|
|
126758
|
+
readonly stateMutability: "pure";
|
|
126868
126759
|
readonly type: "function";
|
|
126869
126760
|
}], "getEmodeData", readonly [`0x${string}`, number]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{
|
|
126870
126761
|
ltv: number;
|
|
126871
126762
|
liquidationThreshold: number;
|
|
126872
126763
|
liquidationBonus: number;
|
|
126873
126764
|
collateralBitmap: bigint;
|
|
126765
|
+
isolated: boolean;
|
|
126874
126766
|
label: string;
|
|
126875
126767
|
borrowableBitmap: bigint;
|
|
126876
126768
|
ltvzeroBitmap: bigint;
|
|
@@ -126976,6 +126868,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
126976
126868
|
readonly internalType: "uint128";
|
|
126977
126869
|
readonly name: "collateralBitmap";
|
|
126978
126870
|
readonly type: "uint128";
|
|
126871
|
+
}, {
|
|
126872
|
+
readonly internalType: "bool";
|
|
126873
|
+
readonly name: "isolated";
|
|
126874
|
+
readonly type: "bool";
|
|
126979
126875
|
}, {
|
|
126980
126876
|
readonly internalType: "string";
|
|
126981
126877
|
readonly name: "label";
|
|
@@ -127247,6 +127143,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
127247
127143
|
readonly internalType: "uint128";
|
|
127248
127144
|
readonly name: "collateralBitmap";
|
|
127249
127145
|
readonly type: "uint128";
|
|
127146
|
+
}, {
|
|
127147
|
+
readonly internalType: "bool";
|
|
127148
|
+
readonly name: "isolated";
|
|
127149
|
+
readonly type: "bool";
|
|
127250
127150
|
}, {
|
|
127251
127151
|
readonly internalType: "string";
|
|
127252
127152
|
readonly name: "label";
|
|
@@ -127593,25 +127493,6 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
127593
127493
|
}];
|
|
127594
127494
|
readonly stateMutability: "view";
|
|
127595
127495
|
readonly type: "function";
|
|
127596
|
-
}, {
|
|
127597
|
-
readonly inputs: readonly [{
|
|
127598
|
-
readonly components: readonly [{
|
|
127599
|
-
readonly internalType: "uint256";
|
|
127600
|
-
readonly name: "data";
|
|
127601
|
-
readonly type: "uint256";
|
|
127602
|
-
}];
|
|
127603
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
127604
|
-
readonly name: "self";
|
|
127605
|
-
readonly type: "tuple";
|
|
127606
|
-
}];
|
|
127607
|
-
readonly name: "getLtv";
|
|
127608
|
-
readonly outputs: readonly [{
|
|
127609
|
-
readonly internalType: "uint256";
|
|
127610
|
-
readonly name: "";
|
|
127611
|
-
readonly type: "uint256";
|
|
127612
|
-
}];
|
|
127613
|
-
readonly stateMutability: "pure";
|
|
127614
|
-
readonly type: "function";
|
|
127615
127496
|
}, {
|
|
127616
127497
|
readonly inputs: readonly [{
|
|
127617
127498
|
readonly internalType: "address";
|
|
@@ -127928,7 +127809,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
127928
127809
|
}, {
|
|
127929
127810
|
readonly inputs: readonly [{
|
|
127930
127811
|
readonly internalType: "address";
|
|
127931
|
-
readonly name: "
|
|
127812
|
+
readonly name: "";
|
|
127932
127813
|
readonly type: "address";
|
|
127933
127814
|
}];
|
|
127934
127815
|
readonly name: "isBorrowAllowed";
|
|
@@ -127937,7 +127818,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
127937
127818
|
readonly name: "";
|
|
127938
127819
|
readonly type: "bool";
|
|
127939
127820
|
}];
|
|
127940
|
-
readonly stateMutability: "
|
|
127821
|
+
readonly stateMutability: "pure";
|
|
127941
127822
|
readonly type: "function";
|
|
127942
127823
|
}], "getFullTokensInfo", readonly [`0x${string}`, readonly `0x${string}`[]]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly {
|
|
127943
127824
|
aTokenAddress: `0x${string}`;
|
|
@@ -128077,6 +127958,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
128077
127958
|
readonly internalType: "uint128";
|
|
128078
127959
|
readonly name: "collateralBitmap";
|
|
128079
127960
|
readonly type: "uint128";
|
|
127961
|
+
}, {
|
|
127962
|
+
readonly internalType: "bool";
|
|
127963
|
+
readonly name: "isolated";
|
|
127964
|
+
readonly type: "bool";
|
|
128080
127965
|
}, {
|
|
128081
127966
|
readonly internalType: "string";
|
|
128082
127967
|
readonly name: "label";
|
|
@@ -128348,6 +128233,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
128348
128233
|
readonly internalType: "uint128";
|
|
128349
128234
|
readonly name: "collateralBitmap";
|
|
128350
128235
|
readonly type: "uint128";
|
|
128236
|
+
}, {
|
|
128237
|
+
readonly internalType: "bool";
|
|
128238
|
+
readonly name: "isolated";
|
|
128239
|
+
readonly type: "bool";
|
|
128351
128240
|
}, {
|
|
128352
128241
|
readonly internalType: "string";
|
|
128353
128242
|
readonly name: "label";
|
|
@@ -128694,25 +128583,6 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
128694
128583
|
}];
|
|
128695
128584
|
readonly stateMutability: "view";
|
|
128696
128585
|
readonly type: "function";
|
|
128697
|
-
}, {
|
|
128698
|
-
readonly inputs: readonly [{
|
|
128699
|
-
readonly components: readonly [{
|
|
128700
|
-
readonly internalType: "uint256";
|
|
128701
|
-
readonly name: "data";
|
|
128702
|
-
readonly type: "uint256";
|
|
128703
|
-
}];
|
|
128704
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
128705
|
-
readonly name: "self";
|
|
128706
|
-
readonly type: "tuple";
|
|
128707
|
-
}];
|
|
128708
|
-
readonly name: "getLtv";
|
|
128709
|
-
readonly outputs: readonly [{
|
|
128710
|
-
readonly internalType: "uint256";
|
|
128711
|
-
readonly name: "";
|
|
128712
|
-
readonly type: "uint256";
|
|
128713
|
-
}];
|
|
128714
|
-
readonly stateMutability: "pure";
|
|
128715
|
-
readonly type: "function";
|
|
128716
128586
|
}, {
|
|
128717
128587
|
readonly inputs: readonly [{
|
|
128718
128588
|
readonly internalType: "address";
|
|
@@ -129029,7 +128899,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
129029
128899
|
}, {
|
|
129030
128900
|
readonly inputs: readonly [{
|
|
129031
128901
|
readonly internalType: "address";
|
|
129032
|
-
readonly name: "
|
|
128902
|
+
readonly name: "";
|
|
129033
128903
|
readonly type: "address";
|
|
129034
128904
|
}];
|
|
129035
128905
|
readonly name: "isBorrowAllowed";
|
|
@@ -129038,7 +128908,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
129038
128908
|
readonly name: "";
|
|
129039
128909
|
readonly type: "bool";
|
|
129040
128910
|
}];
|
|
129041
|
-
readonly stateMutability: "
|
|
128911
|
+
readonly stateMutability: "pure";
|
|
129042
128912
|
readonly type: "function";
|
|
129043
128913
|
}], "getHealthFactor", readonly [`0x${string}`, `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
|
|
129044
128914
|
getLoanData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
@@ -129142,6 +129012,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
129142
129012
|
readonly internalType: "uint128";
|
|
129143
129013
|
readonly name: "collateralBitmap";
|
|
129144
129014
|
readonly type: "uint128";
|
|
129015
|
+
}, {
|
|
129016
|
+
readonly internalType: "bool";
|
|
129017
|
+
readonly name: "isolated";
|
|
129018
|
+
readonly type: "bool";
|
|
129145
129019
|
}, {
|
|
129146
129020
|
readonly internalType: "string";
|
|
129147
129021
|
readonly name: "label";
|
|
@@ -129413,6 +129287,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
129413
129287
|
readonly internalType: "uint128";
|
|
129414
129288
|
readonly name: "collateralBitmap";
|
|
129415
129289
|
readonly type: "uint128";
|
|
129290
|
+
}, {
|
|
129291
|
+
readonly internalType: "bool";
|
|
129292
|
+
readonly name: "isolated";
|
|
129293
|
+
readonly type: "bool";
|
|
129416
129294
|
}, {
|
|
129417
129295
|
readonly internalType: "string";
|
|
129418
129296
|
readonly name: "label";
|
|
@@ -129759,25 +129637,6 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
129759
129637
|
}];
|
|
129760
129638
|
readonly stateMutability: "view";
|
|
129761
129639
|
readonly type: "function";
|
|
129762
|
-
}, {
|
|
129763
|
-
readonly inputs: readonly [{
|
|
129764
|
-
readonly components: readonly [{
|
|
129765
|
-
readonly internalType: "uint256";
|
|
129766
|
-
readonly name: "data";
|
|
129767
|
-
readonly type: "uint256";
|
|
129768
|
-
}];
|
|
129769
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
129770
|
-
readonly name: "self";
|
|
129771
|
-
readonly type: "tuple";
|
|
129772
|
-
}];
|
|
129773
|
-
readonly name: "getLtv";
|
|
129774
|
-
readonly outputs: readonly [{
|
|
129775
|
-
readonly internalType: "uint256";
|
|
129776
|
-
readonly name: "";
|
|
129777
|
-
readonly type: "uint256";
|
|
129778
|
-
}];
|
|
129779
|
-
readonly stateMutability: "pure";
|
|
129780
|
-
readonly type: "function";
|
|
129781
129640
|
}, {
|
|
129782
129641
|
readonly inputs: readonly [{
|
|
129783
129642
|
readonly internalType: "address";
|
|
@@ -130094,7 +129953,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
130094
129953
|
}, {
|
|
130095
129954
|
readonly inputs: readonly [{
|
|
130096
129955
|
readonly internalType: "address";
|
|
130097
|
-
readonly name: "
|
|
129956
|
+
readonly name: "";
|
|
130098
129957
|
readonly type: "address";
|
|
130099
129958
|
}];
|
|
130100
129959
|
readonly name: "isBorrowAllowed";
|
|
@@ -130103,7 +129962,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
130103
129962
|
readonly name: "";
|
|
130104
129963
|
readonly type: "bool";
|
|
130105
129964
|
}];
|
|
130106
|
-
readonly stateMutability: "
|
|
129965
|
+
readonly stateMutability: "pure";
|
|
130107
129966
|
readonly type: "function";
|
|
130108
129967
|
}], "getLoanData", readonly [`0x${string}`, `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{
|
|
130109
129968
|
user: `0x${string}`;
|
|
@@ -130222,6 +130081,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
130222
130081
|
readonly internalType: "uint128";
|
|
130223
130082
|
readonly name: "collateralBitmap";
|
|
130224
130083
|
readonly type: "uint128";
|
|
130084
|
+
}, {
|
|
130085
|
+
readonly internalType: "bool";
|
|
130086
|
+
readonly name: "isolated";
|
|
130087
|
+
readonly type: "bool";
|
|
130225
130088
|
}, {
|
|
130226
130089
|
readonly internalType: "string";
|
|
130227
130090
|
readonly name: "label";
|
|
@@ -130493,6 +130356,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
130493
130356
|
readonly internalType: "uint128";
|
|
130494
130357
|
readonly name: "collateralBitmap";
|
|
130495
130358
|
readonly type: "uint128";
|
|
130359
|
+
}, {
|
|
130360
|
+
readonly internalType: "bool";
|
|
130361
|
+
readonly name: "isolated";
|
|
130362
|
+
readonly type: "bool";
|
|
130496
130363
|
}, {
|
|
130497
130364
|
readonly internalType: "string";
|
|
130498
130365
|
readonly name: "label";
|
|
@@ -130839,25 +130706,6 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
130839
130706
|
}];
|
|
130840
130707
|
readonly stateMutability: "view";
|
|
130841
130708
|
readonly type: "function";
|
|
130842
|
-
}, {
|
|
130843
|
-
readonly inputs: readonly [{
|
|
130844
|
-
readonly components: readonly [{
|
|
130845
|
-
readonly internalType: "uint256";
|
|
130846
|
-
readonly name: "data";
|
|
130847
|
-
readonly type: "uint256";
|
|
130848
|
-
}];
|
|
130849
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
130850
|
-
readonly name: "self";
|
|
130851
|
-
readonly type: "tuple";
|
|
130852
|
-
}];
|
|
130853
|
-
readonly name: "getLtv";
|
|
130854
|
-
readonly outputs: readonly [{
|
|
130855
|
-
readonly internalType: "uint256";
|
|
130856
|
-
readonly name: "";
|
|
130857
|
-
readonly type: "uint256";
|
|
130858
|
-
}];
|
|
130859
|
-
readonly stateMutability: "pure";
|
|
130860
|
-
readonly type: "function";
|
|
130861
130709
|
}, {
|
|
130862
130710
|
readonly inputs: readonly [{
|
|
130863
130711
|
readonly internalType: "address";
|
|
@@ -131174,7 +131022,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
131174
131022
|
}, {
|
|
131175
131023
|
readonly inputs: readonly [{
|
|
131176
131024
|
readonly internalType: "address";
|
|
131177
|
-
readonly name: "
|
|
131025
|
+
readonly name: "";
|
|
131178
131026
|
readonly type: "address";
|
|
131179
131027
|
}];
|
|
131180
131028
|
readonly name: "isBorrowAllowed";
|
|
@@ -131183,7 +131031,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
131183
131031
|
readonly name: "";
|
|
131184
131032
|
readonly type: "bool";
|
|
131185
131033
|
}];
|
|
131186
|
-
readonly stateMutability: "
|
|
131034
|
+
readonly stateMutability: "pure";
|
|
131187
131035
|
readonly type: "function";
|
|
131188
131036
|
}], "getLoanDataArr", readonly [`0x${string}`, readonly `0x${string}`[]]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly {
|
|
131189
131037
|
user: `0x${string}`;
|
|
@@ -131201,9 +131049,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
131201
131049
|
priceSource: `0x${string}`;
|
|
131202
131050
|
label: string;
|
|
131203
131051
|
}[]>;
|
|
131204
|
-
|
|
131205
|
-
data: bigint;
|
|
131206
|
-
}], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
131052
|
+
getPrices: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
131207
131053
|
readonly inputs: readonly [];
|
|
131208
131054
|
readonly name: "AAVE_REFERRAL_CODE";
|
|
131209
131055
|
readonly outputs: readonly [{
|
|
@@ -131304,6 +131150,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
131304
131150
|
readonly internalType: "uint128";
|
|
131305
131151
|
readonly name: "collateralBitmap";
|
|
131306
131152
|
readonly type: "uint128";
|
|
131153
|
+
}, {
|
|
131154
|
+
readonly internalType: "bool";
|
|
131155
|
+
readonly name: "isolated";
|
|
131156
|
+
readonly type: "bool";
|
|
131307
131157
|
}, {
|
|
131308
131158
|
readonly internalType: "string";
|
|
131309
131159
|
readonly name: "label";
|
|
@@ -131575,6 +131425,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
131575
131425
|
readonly internalType: "uint128";
|
|
131576
131426
|
readonly name: "collateralBitmap";
|
|
131577
131427
|
readonly type: "uint128";
|
|
131428
|
+
}, {
|
|
131429
|
+
readonly internalType: "bool";
|
|
131430
|
+
readonly name: "isolated";
|
|
131431
|
+
readonly type: "bool";
|
|
131578
131432
|
}, {
|
|
131579
131433
|
readonly internalType: "string";
|
|
131580
131434
|
readonly name: "label";
|
|
@@ -131921,25 +131775,6 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
131921
131775
|
}];
|
|
131922
131776
|
readonly stateMutability: "view";
|
|
131923
131777
|
readonly type: "function";
|
|
131924
|
-
}, {
|
|
131925
|
-
readonly inputs: readonly [{
|
|
131926
|
-
readonly components: readonly [{
|
|
131927
|
-
readonly internalType: "uint256";
|
|
131928
|
-
readonly name: "data";
|
|
131929
|
-
readonly type: "uint256";
|
|
131930
|
-
}];
|
|
131931
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
131932
|
-
readonly name: "self";
|
|
131933
|
-
readonly type: "tuple";
|
|
131934
|
-
}];
|
|
131935
|
-
readonly name: "getLtv";
|
|
131936
|
-
readonly outputs: readonly [{
|
|
131937
|
-
readonly internalType: "uint256";
|
|
131938
|
-
readonly name: "";
|
|
131939
|
-
readonly type: "uint256";
|
|
131940
|
-
}];
|
|
131941
|
-
readonly stateMutability: "pure";
|
|
131942
|
-
readonly type: "function";
|
|
131943
131778
|
}, {
|
|
131944
131779
|
readonly inputs: readonly [{
|
|
131945
131780
|
readonly internalType: "address";
|
|
@@ -132256,7 +132091,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
132256
132091
|
}, {
|
|
132257
132092
|
readonly inputs: readonly [{
|
|
132258
132093
|
readonly internalType: "address";
|
|
132259
|
-
readonly name: "
|
|
132094
|
+
readonly name: "";
|
|
132260
132095
|
readonly type: "address";
|
|
132261
132096
|
}];
|
|
132262
132097
|
readonly name: "isBorrowAllowed";
|
|
@@ -132265,12 +132100,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
132265
132100
|
readonly name: "";
|
|
132266
132101
|
readonly type: "bool";
|
|
132267
132102
|
}];
|
|
132268
|
-
readonly stateMutability: "
|
|
132103
|
+
readonly stateMutability: "pure";
|
|
132269
132104
|
readonly type: "function";
|
|
132270
|
-
}], "
|
|
132271
|
-
|
|
132272
|
-
}]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
|
|
132273
|
-
getPrices: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
132105
|
+
}], "getPrices", readonly [`0x${string}`, readonly `0x${string}`[]]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
132106
|
+
getRatio: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
132274
132107
|
readonly inputs: readonly [];
|
|
132275
132108
|
readonly name: "AAVE_REFERRAL_CODE";
|
|
132276
132109
|
readonly outputs: readonly [{
|
|
@@ -132371,6 +132204,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
132371
132204
|
readonly internalType: "uint128";
|
|
132372
132205
|
readonly name: "collateralBitmap";
|
|
132373
132206
|
readonly type: "uint128";
|
|
132207
|
+
}, {
|
|
132208
|
+
readonly internalType: "bool";
|
|
132209
|
+
readonly name: "isolated";
|
|
132210
|
+
readonly type: "bool";
|
|
132374
132211
|
}, {
|
|
132375
132212
|
readonly internalType: "string";
|
|
132376
132213
|
readonly name: "label";
|
|
@@ -132642,6 +132479,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
132642
132479
|
readonly internalType: "uint128";
|
|
132643
132480
|
readonly name: "collateralBitmap";
|
|
132644
132481
|
readonly type: "uint128";
|
|
132482
|
+
}, {
|
|
132483
|
+
readonly internalType: "bool";
|
|
132484
|
+
readonly name: "isolated";
|
|
132485
|
+
readonly type: "bool";
|
|
132645
132486
|
}, {
|
|
132646
132487
|
readonly internalType: "string";
|
|
132647
132488
|
readonly name: "label";
|
|
@@ -132988,25 +132829,6 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
132988
132829
|
}];
|
|
132989
132830
|
readonly stateMutability: "view";
|
|
132990
132831
|
readonly type: "function";
|
|
132991
|
-
}, {
|
|
132992
|
-
readonly inputs: readonly [{
|
|
132993
|
-
readonly components: readonly [{
|
|
132994
|
-
readonly internalType: "uint256";
|
|
132995
|
-
readonly name: "data";
|
|
132996
|
-
readonly type: "uint256";
|
|
132997
|
-
}];
|
|
132998
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
132999
|
-
readonly name: "self";
|
|
133000
|
-
readonly type: "tuple";
|
|
133001
|
-
}];
|
|
133002
|
-
readonly name: "getLtv";
|
|
133003
|
-
readonly outputs: readonly [{
|
|
133004
|
-
readonly internalType: "uint256";
|
|
133005
|
-
readonly name: "";
|
|
133006
|
-
readonly type: "uint256";
|
|
133007
|
-
}];
|
|
133008
|
-
readonly stateMutability: "pure";
|
|
133009
|
-
readonly type: "function";
|
|
133010
132832
|
}, {
|
|
133011
132833
|
readonly inputs: readonly [{
|
|
133012
132834
|
readonly internalType: "address";
|
|
@@ -133323,7 +133145,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
133323
133145
|
}, {
|
|
133324
133146
|
readonly inputs: readonly [{
|
|
133325
133147
|
readonly internalType: "address";
|
|
133326
|
-
readonly name: "
|
|
133148
|
+
readonly name: "";
|
|
133327
133149
|
readonly type: "address";
|
|
133328
133150
|
}];
|
|
133329
133151
|
readonly name: "isBorrowAllowed";
|
|
@@ -133332,10 +133154,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
133332
133154
|
readonly name: "";
|
|
133333
133155
|
readonly type: "bool";
|
|
133334
133156
|
}];
|
|
133335
|
-
readonly stateMutability: "
|
|
133157
|
+
readonly stateMutability: "pure";
|
|
133336
133158
|
readonly type: "function";
|
|
133337
|
-
}], "
|
|
133338
|
-
|
|
133159
|
+
}], "getRatio", readonly [`0x${string}`, `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
|
|
133160
|
+
getRatios: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
133339
133161
|
readonly inputs: readonly [];
|
|
133340
133162
|
readonly name: "AAVE_REFERRAL_CODE";
|
|
133341
133163
|
readonly outputs: readonly [{
|
|
@@ -133436,6 +133258,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
133436
133258
|
readonly internalType: "uint128";
|
|
133437
133259
|
readonly name: "collateralBitmap";
|
|
133438
133260
|
readonly type: "uint128";
|
|
133261
|
+
}, {
|
|
133262
|
+
readonly internalType: "bool";
|
|
133263
|
+
readonly name: "isolated";
|
|
133264
|
+
readonly type: "bool";
|
|
133439
133265
|
}, {
|
|
133440
133266
|
readonly internalType: "string";
|
|
133441
133267
|
readonly name: "label";
|
|
@@ -133707,6 +133533,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
133707
133533
|
readonly internalType: "uint128";
|
|
133708
133534
|
readonly name: "collateralBitmap";
|
|
133709
133535
|
readonly type: "uint128";
|
|
133536
|
+
}, {
|
|
133537
|
+
readonly internalType: "bool";
|
|
133538
|
+
readonly name: "isolated";
|
|
133539
|
+
readonly type: "bool";
|
|
133710
133540
|
}, {
|
|
133711
133541
|
readonly internalType: "string";
|
|
133712
133542
|
readonly name: "label";
|
|
@@ -134053,25 +133883,6 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
134053
133883
|
}];
|
|
134054
133884
|
readonly stateMutability: "view";
|
|
134055
133885
|
readonly type: "function";
|
|
134056
|
-
}, {
|
|
134057
|
-
readonly inputs: readonly [{
|
|
134058
|
-
readonly components: readonly [{
|
|
134059
|
-
readonly internalType: "uint256";
|
|
134060
|
-
readonly name: "data";
|
|
134061
|
-
readonly type: "uint256";
|
|
134062
|
-
}];
|
|
134063
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
134064
|
-
readonly name: "self";
|
|
134065
|
-
readonly type: "tuple";
|
|
134066
|
-
}];
|
|
134067
|
-
readonly name: "getLtv";
|
|
134068
|
-
readonly outputs: readonly [{
|
|
134069
|
-
readonly internalType: "uint256";
|
|
134070
|
-
readonly name: "";
|
|
134071
|
-
readonly type: "uint256";
|
|
134072
|
-
}];
|
|
134073
|
-
readonly stateMutability: "pure";
|
|
134074
|
-
readonly type: "function";
|
|
134075
133886
|
}, {
|
|
134076
133887
|
readonly inputs: readonly [{
|
|
134077
133888
|
readonly internalType: "address";
|
|
@@ -134388,7 +134199,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
134388
134199
|
}, {
|
|
134389
134200
|
readonly inputs: readonly [{
|
|
134390
134201
|
readonly internalType: "address";
|
|
134391
|
-
readonly name: "
|
|
134202
|
+
readonly name: "";
|
|
134392
134203
|
readonly type: "address";
|
|
134393
134204
|
}];
|
|
134394
134205
|
readonly name: "isBorrowAllowed";
|
|
@@ -134397,10 +134208,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
134397
134208
|
readonly name: "";
|
|
134398
134209
|
readonly type: "bool";
|
|
134399
134210
|
}];
|
|
134400
|
-
readonly stateMutability: "
|
|
134211
|
+
readonly stateMutability: "pure";
|
|
134401
134212
|
readonly type: "function";
|
|
134402
|
-
}], "
|
|
134403
|
-
|
|
134213
|
+
}], "getRatios", readonly [`0x${string}`, readonly `0x${string}`[]]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
134214
|
+
getSafetyRatio: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
134404
134215
|
readonly inputs: readonly [];
|
|
134405
134216
|
readonly name: "AAVE_REFERRAL_CODE";
|
|
134406
134217
|
readonly outputs: readonly [{
|
|
@@ -134501,6 +134312,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
134501
134312
|
readonly internalType: "uint128";
|
|
134502
134313
|
readonly name: "collateralBitmap";
|
|
134503
134314
|
readonly type: "uint128";
|
|
134315
|
+
}, {
|
|
134316
|
+
readonly internalType: "bool";
|
|
134317
|
+
readonly name: "isolated";
|
|
134318
|
+
readonly type: "bool";
|
|
134504
134319
|
}, {
|
|
134505
134320
|
readonly internalType: "string";
|
|
134506
134321
|
readonly name: "label";
|
|
@@ -134772,1071 +134587,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
134772
134587
|
readonly internalType: "uint128";
|
|
134773
134588
|
readonly name: "collateralBitmap";
|
|
134774
134589
|
readonly type: "uint128";
|
|
134775
|
-
}, {
|
|
134776
|
-
readonly internalType: "string";
|
|
134777
|
-
readonly name: "label";
|
|
134778
|
-
readonly type: "string";
|
|
134779
|
-
}, {
|
|
134780
|
-
readonly internalType: "uint128";
|
|
134781
|
-
readonly name: "borrowableBitmap";
|
|
134782
|
-
readonly type: "uint128";
|
|
134783
|
-
}, {
|
|
134784
|
-
readonly internalType: "uint128";
|
|
134785
|
-
readonly name: "ltvzeroBitmap";
|
|
134786
|
-
readonly type: "uint128";
|
|
134787
|
-
}];
|
|
134788
|
-
readonly internalType: "struct DataTypes.EModeCategoryNew";
|
|
134789
|
-
readonly name: "emodeData";
|
|
134790
|
-
readonly type: "tuple";
|
|
134791
|
-
}];
|
|
134792
|
-
readonly stateMutability: "view";
|
|
134793
|
-
readonly type: "function";
|
|
134794
|
-
}, {
|
|
134795
|
-
readonly inputs: readonly [{
|
|
134796
|
-
readonly internalType: "address";
|
|
134797
|
-
readonly name: "_market";
|
|
134798
|
-
readonly type: "address";
|
|
134799
|
-
}, {
|
|
134800
|
-
readonly internalType: "address[]";
|
|
134801
|
-
readonly name: "_tokenAddresses";
|
|
134802
|
-
readonly type: "address[]";
|
|
134803
|
-
}];
|
|
134804
|
-
readonly name: "getFullTokensInfo";
|
|
134805
|
-
readonly outputs: readonly [{
|
|
134806
|
-
readonly components: readonly [{
|
|
134807
|
-
readonly internalType: "address";
|
|
134808
|
-
readonly name: "aTokenAddress";
|
|
134809
|
-
readonly type: "address";
|
|
134810
|
-
}, {
|
|
134811
|
-
readonly internalType: "address";
|
|
134812
|
-
readonly name: "underlyingTokenAddress";
|
|
134813
|
-
readonly type: "address";
|
|
134814
|
-
}, {
|
|
134815
|
-
readonly internalType: "uint16";
|
|
134816
|
-
readonly name: "assetId";
|
|
134817
|
-
readonly type: "uint16";
|
|
134818
|
-
}, {
|
|
134819
|
-
readonly internalType: "uint256";
|
|
134820
|
-
readonly name: "supplyRate";
|
|
134821
|
-
readonly type: "uint256";
|
|
134822
|
-
}, {
|
|
134823
|
-
readonly internalType: "uint256";
|
|
134824
|
-
readonly name: "borrowRateVariable";
|
|
134825
|
-
readonly type: "uint256";
|
|
134826
|
-
}, {
|
|
134827
|
-
readonly internalType: "uint256";
|
|
134828
|
-
readonly name: "borrowRateStable";
|
|
134829
|
-
readonly type: "uint256";
|
|
134830
|
-
}, {
|
|
134831
|
-
readonly internalType: "uint256";
|
|
134832
|
-
readonly name: "totalSupply";
|
|
134833
|
-
readonly type: "uint256";
|
|
134834
|
-
}, {
|
|
134835
|
-
readonly internalType: "uint256";
|
|
134836
|
-
readonly name: "availableLiquidity";
|
|
134837
|
-
readonly type: "uint256";
|
|
134838
|
-
}, {
|
|
134839
|
-
readonly internalType: "uint256";
|
|
134840
|
-
readonly name: "totalBorrow";
|
|
134841
|
-
readonly type: "uint256";
|
|
134842
|
-
}, {
|
|
134843
|
-
readonly internalType: "uint256";
|
|
134844
|
-
readonly name: "totalBorrowVar";
|
|
134845
|
-
readonly type: "uint256";
|
|
134846
|
-
}, {
|
|
134847
|
-
readonly internalType: "uint256";
|
|
134848
|
-
readonly name: "totalBorrowStab";
|
|
134849
|
-
readonly type: "uint256";
|
|
134850
|
-
}, {
|
|
134851
|
-
readonly internalType: "uint256";
|
|
134852
|
-
readonly name: "collateralFactor";
|
|
134853
|
-
readonly type: "uint256";
|
|
134854
|
-
}, {
|
|
134855
|
-
readonly internalType: "uint256";
|
|
134856
|
-
readonly name: "liquidationRatio";
|
|
134857
|
-
readonly type: "uint256";
|
|
134858
|
-
}, {
|
|
134859
|
-
readonly internalType: "uint256";
|
|
134860
|
-
readonly name: "price";
|
|
134861
|
-
readonly type: "uint256";
|
|
134862
|
-
}, {
|
|
134863
|
-
readonly internalType: "uint256";
|
|
134864
|
-
readonly name: "supplyCap";
|
|
134865
|
-
readonly type: "uint256";
|
|
134866
|
-
}, {
|
|
134867
|
-
readonly internalType: "uint256";
|
|
134868
|
-
readonly name: "borrowCap";
|
|
134869
|
-
readonly type: "uint256";
|
|
134870
|
-
}, {
|
|
134871
|
-
readonly internalType: "uint256";
|
|
134872
|
-
readonly name: "emodeCategory";
|
|
134873
|
-
readonly type: "uint256";
|
|
134874
|
-
}, {
|
|
134875
|
-
readonly internalType: "uint256";
|
|
134876
|
-
readonly name: "debtCeilingForIsolationMode";
|
|
134877
|
-
readonly type: "uint256";
|
|
134878
|
-
}, {
|
|
134879
|
-
readonly internalType: "uint256";
|
|
134880
|
-
readonly name: "isolationModeTotalDebt";
|
|
134881
|
-
readonly type: "uint256";
|
|
134882
|
-
}, {
|
|
134883
|
-
readonly internalType: "bool";
|
|
134884
|
-
readonly name: "usageAsCollateralEnabled";
|
|
134885
|
-
readonly type: "bool";
|
|
134886
|
-
}, {
|
|
134887
|
-
readonly internalType: "bool";
|
|
134888
|
-
readonly name: "borrowingEnabled";
|
|
134889
|
-
readonly type: "bool";
|
|
134890
|
-
}, {
|
|
134891
|
-
readonly internalType: "bool";
|
|
134892
|
-
readonly name: "stableBorrowRateEnabled";
|
|
134893
|
-
readonly type: "bool";
|
|
134894
|
-
}, {
|
|
134895
|
-
readonly internalType: "bool";
|
|
134896
|
-
readonly name: "isolationModeBorrowingEnabled";
|
|
134897
|
-
readonly type: "bool";
|
|
134898
134590
|
}, {
|
|
134899
134591
|
readonly internalType: "bool";
|
|
134900
|
-
readonly name: "
|
|
134592
|
+
readonly name: "isolated";
|
|
134901
134593
|
readonly type: "bool";
|
|
134902
|
-
}, {
|
|
134903
|
-
readonly internalType: "uint256";
|
|
134904
|
-
readonly name: "eModeCollateralFactor";
|
|
134905
|
-
readonly type: "uint256";
|
|
134906
|
-
}, {
|
|
134907
|
-
readonly internalType: "bool";
|
|
134908
|
-
readonly name: "isFlashLoanEnabled";
|
|
134909
|
-
readonly type: "bool";
|
|
134910
|
-
}, {
|
|
134911
|
-
readonly internalType: "uint16";
|
|
134912
|
-
readonly name: "ltv";
|
|
134913
|
-
readonly type: "uint16";
|
|
134914
|
-
}, {
|
|
134915
|
-
readonly internalType: "uint16";
|
|
134916
|
-
readonly name: "liquidationThreshold";
|
|
134917
|
-
readonly type: "uint16";
|
|
134918
|
-
}, {
|
|
134919
|
-
readonly internalType: "uint16";
|
|
134920
|
-
readonly name: "liquidationBonus";
|
|
134921
|
-
readonly type: "uint16";
|
|
134922
|
-
}, {
|
|
134923
|
-
readonly internalType: "address";
|
|
134924
|
-
readonly name: "priceSource";
|
|
134925
|
-
readonly type: "address";
|
|
134926
|
-
}, {
|
|
134927
|
-
readonly internalType: "string";
|
|
134928
|
-
readonly name: "label";
|
|
134929
|
-
readonly type: "string";
|
|
134930
|
-
}, {
|
|
134931
|
-
readonly internalType: "bool";
|
|
134932
|
-
readonly name: "isActive";
|
|
134933
|
-
readonly type: "bool";
|
|
134934
|
-
}, {
|
|
134935
|
-
readonly internalType: "bool";
|
|
134936
|
-
readonly name: "isPaused";
|
|
134937
|
-
readonly type: "bool";
|
|
134938
|
-
}, {
|
|
134939
|
-
readonly internalType: "bool";
|
|
134940
|
-
readonly name: "isFrozen";
|
|
134941
|
-
readonly type: "bool";
|
|
134942
|
-
}, {
|
|
134943
|
-
readonly internalType: "address";
|
|
134944
|
-
readonly name: "debtTokenAddress";
|
|
134945
|
-
readonly type: "address";
|
|
134946
|
-
}];
|
|
134947
|
-
readonly internalType: "struct AaveV3View.TokenInfoFull[]";
|
|
134948
|
-
readonly name: "tokens";
|
|
134949
|
-
readonly type: "tuple[]";
|
|
134950
|
-
}];
|
|
134951
|
-
readonly stateMutability: "view";
|
|
134952
|
-
readonly type: "function";
|
|
134953
|
-
}, {
|
|
134954
|
-
readonly inputs: readonly [{
|
|
134955
|
-
readonly internalType: "address";
|
|
134956
|
-
readonly name: "_market";
|
|
134957
|
-
readonly type: "address";
|
|
134958
|
-
}, {
|
|
134959
|
-
readonly internalType: "address";
|
|
134960
|
-
readonly name: "_user";
|
|
134961
|
-
readonly type: "address";
|
|
134962
|
-
}];
|
|
134963
|
-
readonly name: "getHealthFactor";
|
|
134964
|
-
readonly outputs: readonly [{
|
|
134965
|
-
readonly internalType: "uint256";
|
|
134966
|
-
readonly name: "healthFactor";
|
|
134967
|
-
readonly type: "uint256";
|
|
134968
|
-
}];
|
|
134969
|
-
readonly stateMutability: "view";
|
|
134970
|
-
readonly type: "function";
|
|
134971
|
-
}, {
|
|
134972
|
-
readonly inputs: readonly [{
|
|
134973
|
-
readonly internalType: "address";
|
|
134974
|
-
readonly name: "_market";
|
|
134975
|
-
readonly type: "address";
|
|
134976
|
-
}, {
|
|
134977
|
-
readonly internalType: "address";
|
|
134978
|
-
readonly name: "_user";
|
|
134979
|
-
readonly type: "address";
|
|
134980
|
-
}];
|
|
134981
|
-
readonly name: "getLoanData";
|
|
134982
|
-
readonly outputs: readonly [{
|
|
134983
|
-
readonly components: readonly [{
|
|
134984
|
-
readonly internalType: "address";
|
|
134985
|
-
readonly name: "user";
|
|
134986
|
-
readonly type: "address";
|
|
134987
|
-
}, {
|
|
134988
|
-
readonly internalType: "uint128";
|
|
134989
|
-
readonly name: "ratio";
|
|
134990
|
-
readonly type: "uint128";
|
|
134991
|
-
}, {
|
|
134992
|
-
readonly internalType: "uint256";
|
|
134993
|
-
readonly name: "eMode";
|
|
134994
|
-
readonly type: "uint256";
|
|
134995
|
-
}, {
|
|
134996
|
-
readonly internalType: "address[]";
|
|
134997
|
-
readonly name: "collAddr";
|
|
134998
|
-
readonly type: "address[]";
|
|
134999
|
-
}, {
|
|
135000
|
-
readonly internalType: "bool[]";
|
|
135001
|
-
readonly name: "enabledAsColl";
|
|
135002
|
-
readonly type: "bool[]";
|
|
135003
|
-
}, {
|
|
135004
|
-
readonly internalType: "address[]";
|
|
135005
|
-
readonly name: "borrowAddr";
|
|
135006
|
-
readonly type: "address[]";
|
|
135007
|
-
}, {
|
|
135008
|
-
readonly internalType: "uint256[]";
|
|
135009
|
-
readonly name: "collAmounts";
|
|
135010
|
-
readonly type: "uint256[]";
|
|
135011
|
-
}, {
|
|
135012
|
-
readonly internalType: "uint256[]";
|
|
135013
|
-
readonly name: "borrowStableAmounts";
|
|
135014
|
-
readonly type: "uint256[]";
|
|
135015
|
-
}, {
|
|
135016
|
-
readonly internalType: "uint256[]";
|
|
135017
|
-
readonly name: "borrowVariableAmounts";
|
|
135018
|
-
readonly type: "uint256[]";
|
|
135019
|
-
}, {
|
|
135020
|
-
readonly internalType: "uint16";
|
|
135021
|
-
readonly name: "ltv";
|
|
135022
|
-
readonly type: "uint16";
|
|
135023
|
-
}, {
|
|
135024
|
-
readonly internalType: "uint16";
|
|
135025
|
-
readonly name: "liquidationThreshold";
|
|
135026
|
-
readonly type: "uint16";
|
|
135027
|
-
}, {
|
|
135028
|
-
readonly internalType: "uint16";
|
|
135029
|
-
readonly name: "liquidationBonus";
|
|
135030
|
-
readonly type: "uint16";
|
|
135031
|
-
}, {
|
|
135032
|
-
readonly internalType: "address";
|
|
135033
|
-
readonly name: "priceSource";
|
|
135034
|
-
readonly type: "address";
|
|
135035
|
-
}, {
|
|
135036
|
-
readonly internalType: "string";
|
|
135037
|
-
readonly name: "label";
|
|
135038
|
-
readonly type: "string";
|
|
135039
|
-
}];
|
|
135040
|
-
readonly internalType: "struct AaveV3View.LoanData";
|
|
135041
|
-
readonly name: "data";
|
|
135042
|
-
readonly type: "tuple";
|
|
135043
|
-
}];
|
|
135044
|
-
readonly stateMutability: "view";
|
|
135045
|
-
readonly type: "function";
|
|
135046
|
-
}, {
|
|
135047
|
-
readonly inputs: readonly [{
|
|
135048
|
-
readonly internalType: "address";
|
|
135049
|
-
readonly name: "_market";
|
|
135050
|
-
readonly type: "address";
|
|
135051
|
-
}, {
|
|
135052
|
-
readonly internalType: "address[]";
|
|
135053
|
-
readonly name: "_users";
|
|
135054
|
-
readonly type: "address[]";
|
|
135055
|
-
}];
|
|
135056
|
-
readonly name: "getLoanDataArr";
|
|
135057
|
-
readonly outputs: readonly [{
|
|
135058
|
-
readonly components: readonly [{
|
|
135059
|
-
readonly internalType: "address";
|
|
135060
|
-
readonly name: "user";
|
|
135061
|
-
readonly type: "address";
|
|
135062
|
-
}, {
|
|
135063
|
-
readonly internalType: "uint128";
|
|
135064
|
-
readonly name: "ratio";
|
|
135065
|
-
readonly type: "uint128";
|
|
135066
|
-
}, {
|
|
135067
|
-
readonly internalType: "uint256";
|
|
135068
|
-
readonly name: "eMode";
|
|
135069
|
-
readonly type: "uint256";
|
|
135070
|
-
}, {
|
|
135071
|
-
readonly internalType: "address[]";
|
|
135072
|
-
readonly name: "collAddr";
|
|
135073
|
-
readonly type: "address[]";
|
|
135074
|
-
}, {
|
|
135075
|
-
readonly internalType: "bool[]";
|
|
135076
|
-
readonly name: "enabledAsColl";
|
|
135077
|
-
readonly type: "bool[]";
|
|
135078
|
-
}, {
|
|
135079
|
-
readonly internalType: "address[]";
|
|
135080
|
-
readonly name: "borrowAddr";
|
|
135081
|
-
readonly type: "address[]";
|
|
135082
|
-
}, {
|
|
135083
|
-
readonly internalType: "uint256[]";
|
|
135084
|
-
readonly name: "collAmounts";
|
|
135085
|
-
readonly type: "uint256[]";
|
|
135086
|
-
}, {
|
|
135087
|
-
readonly internalType: "uint256[]";
|
|
135088
|
-
readonly name: "borrowStableAmounts";
|
|
135089
|
-
readonly type: "uint256[]";
|
|
135090
|
-
}, {
|
|
135091
|
-
readonly internalType: "uint256[]";
|
|
135092
|
-
readonly name: "borrowVariableAmounts";
|
|
135093
|
-
readonly type: "uint256[]";
|
|
135094
|
-
}, {
|
|
135095
|
-
readonly internalType: "uint16";
|
|
135096
|
-
readonly name: "ltv";
|
|
135097
|
-
readonly type: "uint16";
|
|
135098
|
-
}, {
|
|
135099
|
-
readonly internalType: "uint16";
|
|
135100
|
-
readonly name: "liquidationThreshold";
|
|
135101
|
-
readonly type: "uint16";
|
|
135102
|
-
}, {
|
|
135103
|
-
readonly internalType: "uint16";
|
|
135104
|
-
readonly name: "liquidationBonus";
|
|
135105
|
-
readonly type: "uint16";
|
|
135106
|
-
}, {
|
|
135107
|
-
readonly internalType: "address";
|
|
135108
|
-
readonly name: "priceSource";
|
|
135109
|
-
readonly type: "address";
|
|
135110
|
-
}, {
|
|
135111
|
-
readonly internalType: "string";
|
|
135112
|
-
readonly name: "label";
|
|
135113
|
-
readonly type: "string";
|
|
135114
|
-
}];
|
|
135115
|
-
readonly internalType: "struct AaveV3View.LoanData[]";
|
|
135116
|
-
readonly name: "loans";
|
|
135117
|
-
readonly type: "tuple[]";
|
|
135118
|
-
}];
|
|
135119
|
-
readonly stateMutability: "view";
|
|
135120
|
-
readonly type: "function";
|
|
135121
|
-
}, {
|
|
135122
|
-
readonly inputs: readonly [{
|
|
135123
|
-
readonly components: readonly [{
|
|
135124
|
-
readonly internalType: "uint256";
|
|
135125
|
-
readonly name: "data";
|
|
135126
|
-
readonly type: "uint256";
|
|
135127
|
-
}];
|
|
135128
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
135129
|
-
readonly name: "self";
|
|
135130
|
-
readonly type: "tuple";
|
|
135131
|
-
}];
|
|
135132
|
-
readonly name: "getLtv";
|
|
135133
|
-
readonly outputs: readonly [{
|
|
135134
|
-
readonly internalType: "uint256";
|
|
135135
|
-
readonly name: "";
|
|
135136
|
-
readonly type: "uint256";
|
|
135137
|
-
}];
|
|
135138
|
-
readonly stateMutability: "pure";
|
|
135139
|
-
readonly type: "function";
|
|
135140
|
-
}, {
|
|
135141
|
-
readonly inputs: readonly [{
|
|
135142
|
-
readonly internalType: "address";
|
|
135143
|
-
readonly name: "_market";
|
|
135144
|
-
readonly type: "address";
|
|
135145
|
-
}, {
|
|
135146
|
-
readonly internalType: "address[]";
|
|
135147
|
-
readonly name: "_tokens";
|
|
135148
|
-
readonly type: "address[]";
|
|
135149
|
-
}];
|
|
135150
|
-
readonly name: "getPrices";
|
|
135151
|
-
readonly outputs: readonly [{
|
|
135152
|
-
readonly internalType: "uint256[]";
|
|
135153
|
-
readonly name: "prices";
|
|
135154
|
-
readonly type: "uint256[]";
|
|
135155
|
-
}];
|
|
135156
|
-
readonly stateMutability: "view";
|
|
135157
|
-
readonly type: "function";
|
|
135158
|
-
}, {
|
|
135159
|
-
readonly inputs: readonly [{
|
|
135160
|
-
readonly internalType: "address";
|
|
135161
|
-
readonly name: "_market";
|
|
135162
|
-
readonly type: "address";
|
|
135163
|
-
}, {
|
|
135164
|
-
readonly internalType: "address";
|
|
135165
|
-
readonly name: "_user";
|
|
135166
|
-
readonly type: "address";
|
|
135167
|
-
}];
|
|
135168
|
-
readonly name: "getRatio";
|
|
135169
|
-
readonly outputs: readonly [{
|
|
135170
|
-
readonly internalType: "uint256";
|
|
135171
|
-
readonly name: "";
|
|
135172
|
-
readonly type: "uint256";
|
|
135173
|
-
}];
|
|
135174
|
-
readonly stateMutability: "view";
|
|
135175
|
-
readonly type: "function";
|
|
135176
|
-
}, {
|
|
135177
|
-
readonly inputs: readonly [{
|
|
135178
|
-
readonly internalType: "address";
|
|
135179
|
-
readonly name: "_market";
|
|
135180
|
-
readonly type: "address";
|
|
135181
|
-
}, {
|
|
135182
|
-
readonly internalType: "address[]";
|
|
135183
|
-
readonly name: "_users";
|
|
135184
|
-
readonly type: "address[]";
|
|
135185
|
-
}];
|
|
135186
|
-
readonly name: "getRatios";
|
|
135187
|
-
readonly outputs: readonly [{
|
|
135188
|
-
readonly internalType: "uint256[]";
|
|
135189
|
-
readonly name: "ratios";
|
|
135190
|
-
readonly type: "uint256[]";
|
|
135191
|
-
}];
|
|
135192
|
-
readonly stateMutability: "view";
|
|
135193
|
-
readonly type: "function";
|
|
135194
|
-
}, {
|
|
135195
|
-
readonly inputs: readonly [{
|
|
135196
|
-
readonly internalType: "address";
|
|
135197
|
-
readonly name: "_market";
|
|
135198
|
-
readonly type: "address";
|
|
135199
|
-
}, {
|
|
135200
|
-
readonly internalType: "address";
|
|
135201
|
-
readonly name: "_user";
|
|
135202
|
-
readonly type: "address";
|
|
135203
|
-
}];
|
|
135204
|
-
readonly name: "getSafetyRatio";
|
|
135205
|
-
readonly outputs: readonly [{
|
|
135206
|
-
readonly internalType: "uint256";
|
|
135207
|
-
readonly name: "";
|
|
135208
|
-
readonly type: "uint256";
|
|
135209
|
-
}];
|
|
135210
|
-
readonly stateMutability: "view";
|
|
135211
|
-
readonly type: "function";
|
|
135212
|
-
}, {
|
|
135213
|
-
readonly inputs: readonly [{
|
|
135214
|
-
readonly internalType: "address";
|
|
135215
|
-
readonly name: "_market";
|
|
135216
|
-
readonly type: "address";
|
|
135217
|
-
}, {
|
|
135218
|
-
readonly internalType: "address";
|
|
135219
|
-
readonly name: "_user";
|
|
135220
|
-
readonly type: "address";
|
|
135221
|
-
}, {
|
|
135222
|
-
readonly internalType: "address[]";
|
|
135223
|
-
readonly name: "_tokens";
|
|
135224
|
-
readonly type: "address[]";
|
|
135225
|
-
}];
|
|
135226
|
-
readonly name: "getTokenBalances";
|
|
135227
|
-
readonly outputs: readonly [{
|
|
135228
|
-
readonly components: readonly [{
|
|
135229
|
-
readonly internalType: "address";
|
|
135230
|
-
readonly name: "token";
|
|
135231
|
-
readonly type: "address";
|
|
135232
|
-
}, {
|
|
135233
|
-
readonly internalType: "uint256";
|
|
135234
|
-
readonly name: "balance";
|
|
135235
|
-
readonly type: "uint256";
|
|
135236
|
-
}, {
|
|
135237
|
-
readonly internalType: "uint256";
|
|
135238
|
-
readonly name: "borrowsStable";
|
|
135239
|
-
readonly type: "uint256";
|
|
135240
|
-
}, {
|
|
135241
|
-
readonly internalType: "uint256";
|
|
135242
|
-
readonly name: "borrowsVariable";
|
|
135243
|
-
readonly type: "uint256";
|
|
135244
|
-
}, {
|
|
135245
|
-
readonly internalType: "uint256";
|
|
135246
|
-
readonly name: "stableBorrowRate";
|
|
135247
|
-
readonly type: "uint256";
|
|
135248
|
-
}, {
|
|
135249
|
-
readonly internalType: "bool";
|
|
135250
|
-
readonly name: "enabledAsCollateral";
|
|
135251
|
-
readonly type: "bool";
|
|
135252
|
-
}];
|
|
135253
|
-
readonly internalType: "struct AaveV3View.UserToken[]";
|
|
135254
|
-
readonly name: "userTokens";
|
|
135255
|
-
readonly type: "tuple[]";
|
|
135256
|
-
}];
|
|
135257
|
-
readonly stateMutability: "view";
|
|
135258
|
-
readonly type: "function";
|
|
135259
|
-
}, {
|
|
135260
|
-
readonly inputs: readonly [{
|
|
135261
|
-
readonly internalType: "address";
|
|
135262
|
-
readonly name: "_market";
|
|
135263
|
-
readonly type: "address";
|
|
135264
|
-
}, {
|
|
135265
|
-
readonly internalType: "address";
|
|
135266
|
-
readonly name: "_tokenAddr";
|
|
135267
|
-
readonly type: "address";
|
|
135268
|
-
}];
|
|
135269
|
-
readonly name: "getTokenInfoFull";
|
|
135270
|
-
readonly outputs: readonly [{
|
|
135271
|
-
readonly components: readonly [{
|
|
135272
|
-
readonly internalType: "address";
|
|
135273
|
-
readonly name: "aTokenAddress";
|
|
135274
|
-
readonly type: "address";
|
|
135275
|
-
}, {
|
|
135276
|
-
readonly internalType: "address";
|
|
135277
|
-
readonly name: "underlyingTokenAddress";
|
|
135278
|
-
readonly type: "address";
|
|
135279
|
-
}, {
|
|
135280
|
-
readonly internalType: "uint16";
|
|
135281
|
-
readonly name: "assetId";
|
|
135282
|
-
readonly type: "uint16";
|
|
135283
|
-
}, {
|
|
135284
|
-
readonly internalType: "uint256";
|
|
135285
|
-
readonly name: "supplyRate";
|
|
135286
|
-
readonly type: "uint256";
|
|
135287
|
-
}, {
|
|
135288
|
-
readonly internalType: "uint256";
|
|
135289
|
-
readonly name: "borrowRateVariable";
|
|
135290
|
-
readonly type: "uint256";
|
|
135291
|
-
}, {
|
|
135292
|
-
readonly internalType: "uint256";
|
|
135293
|
-
readonly name: "borrowRateStable";
|
|
135294
|
-
readonly type: "uint256";
|
|
135295
|
-
}, {
|
|
135296
|
-
readonly internalType: "uint256";
|
|
135297
|
-
readonly name: "totalSupply";
|
|
135298
|
-
readonly type: "uint256";
|
|
135299
|
-
}, {
|
|
135300
|
-
readonly internalType: "uint256";
|
|
135301
|
-
readonly name: "availableLiquidity";
|
|
135302
|
-
readonly type: "uint256";
|
|
135303
|
-
}, {
|
|
135304
|
-
readonly internalType: "uint256";
|
|
135305
|
-
readonly name: "totalBorrow";
|
|
135306
|
-
readonly type: "uint256";
|
|
135307
|
-
}, {
|
|
135308
|
-
readonly internalType: "uint256";
|
|
135309
|
-
readonly name: "totalBorrowVar";
|
|
135310
|
-
readonly type: "uint256";
|
|
135311
|
-
}, {
|
|
135312
|
-
readonly internalType: "uint256";
|
|
135313
|
-
readonly name: "totalBorrowStab";
|
|
135314
|
-
readonly type: "uint256";
|
|
135315
|
-
}, {
|
|
135316
|
-
readonly internalType: "uint256";
|
|
135317
|
-
readonly name: "collateralFactor";
|
|
135318
|
-
readonly type: "uint256";
|
|
135319
|
-
}, {
|
|
135320
|
-
readonly internalType: "uint256";
|
|
135321
|
-
readonly name: "liquidationRatio";
|
|
135322
|
-
readonly type: "uint256";
|
|
135323
|
-
}, {
|
|
135324
|
-
readonly internalType: "uint256";
|
|
135325
|
-
readonly name: "price";
|
|
135326
|
-
readonly type: "uint256";
|
|
135327
|
-
}, {
|
|
135328
|
-
readonly internalType: "uint256";
|
|
135329
|
-
readonly name: "supplyCap";
|
|
135330
|
-
readonly type: "uint256";
|
|
135331
|
-
}, {
|
|
135332
|
-
readonly internalType: "uint256";
|
|
135333
|
-
readonly name: "borrowCap";
|
|
135334
|
-
readonly type: "uint256";
|
|
135335
|
-
}, {
|
|
135336
|
-
readonly internalType: "uint256";
|
|
135337
|
-
readonly name: "emodeCategory";
|
|
135338
|
-
readonly type: "uint256";
|
|
135339
|
-
}, {
|
|
135340
|
-
readonly internalType: "uint256";
|
|
135341
|
-
readonly name: "debtCeilingForIsolationMode";
|
|
135342
|
-
readonly type: "uint256";
|
|
135343
|
-
}, {
|
|
135344
|
-
readonly internalType: "uint256";
|
|
135345
|
-
readonly name: "isolationModeTotalDebt";
|
|
135346
|
-
readonly type: "uint256";
|
|
135347
|
-
}, {
|
|
135348
|
-
readonly internalType: "bool";
|
|
135349
|
-
readonly name: "usageAsCollateralEnabled";
|
|
135350
|
-
readonly type: "bool";
|
|
135351
|
-
}, {
|
|
135352
|
-
readonly internalType: "bool";
|
|
135353
|
-
readonly name: "borrowingEnabled";
|
|
135354
|
-
readonly type: "bool";
|
|
135355
|
-
}, {
|
|
135356
|
-
readonly internalType: "bool";
|
|
135357
|
-
readonly name: "stableBorrowRateEnabled";
|
|
135358
|
-
readonly type: "bool";
|
|
135359
|
-
}, {
|
|
135360
|
-
readonly internalType: "bool";
|
|
135361
|
-
readonly name: "isolationModeBorrowingEnabled";
|
|
135362
|
-
readonly type: "bool";
|
|
135363
|
-
}, {
|
|
135364
|
-
readonly internalType: "bool";
|
|
135365
|
-
readonly name: "isSiloedForBorrowing";
|
|
135366
|
-
readonly type: "bool";
|
|
135367
|
-
}, {
|
|
135368
|
-
readonly internalType: "uint256";
|
|
135369
|
-
readonly name: "eModeCollateralFactor";
|
|
135370
|
-
readonly type: "uint256";
|
|
135371
|
-
}, {
|
|
135372
|
-
readonly internalType: "bool";
|
|
135373
|
-
readonly name: "isFlashLoanEnabled";
|
|
135374
|
-
readonly type: "bool";
|
|
135375
|
-
}, {
|
|
135376
|
-
readonly internalType: "uint16";
|
|
135377
|
-
readonly name: "ltv";
|
|
135378
|
-
readonly type: "uint16";
|
|
135379
|
-
}, {
|
|
135380
|
-
readonly internalType: "uint16";
|
|
135381
|
-
readonly name: "liquidationThreshold";
|
|
135382
|
-
readonly type: "uint16";
|
|
135383
|
-
}, {
|
|
135384
|
-
readonly internalType: "uint16";
|
|
135385
|
-
readonly name: "liquidationBonus";
|
|
135386
|
-
readonly type: "uint16";
|
|
135387
|
-
}, {
|
|
135388
|
-
readonly internalType: "address";
|
|
135389
|
-
readonly name: "priceSource";
|
|
135390
|
-
readonly type: "address";
|
|
135391
|
-
}, {
|
|
135392
|
-
readonly internalType: "string";
|
|
135393
|
-
readonly name: "label";
|
|
135394
|
-
readonly type: "string";
|
|
135395
|
-
}, {
|
|
135396
|
-
readonly internalType: "bool";
|
|
135397
|
-
readonly name: "isActive";
|
|
135398
|
-
readonly type: "bool";
|
|
135399
|
-
}, {
|
|
135400
|
-
readonly internalType: "bool";
|
|
135401
|
-
readonly name: "isPaused";
|
|
135402
|
-
readonly type: "bool";
|
|
135403
|
-
}, {
|
|
135404
|
-
readonly internalType: "bool";
|
|
135405
|
-
readonly name: "isFrozen";
|
|
135406
|
-
readonly type: "bool";
|
|
135407
|
-
}, {
|
|
135408
|
-
readonly internalType: "address";
|
|
135409
|
-
readonly name: "debtTokenAddress";
|
|
135410
|
-
readonly type: "address";
|
|
135411
|
-
}];
|
|
135412
|
-
readonly internalType: "struct AaveV3View.TokenInfoFull";
|
|
135413
|
-
readonly name: "_tokenInfo";
|
|
135414
|
-
readonly type: "tuple";
|
|
135415
|
-
}];
|
|
135416
|
-
readonly stateMutability: "view";
|
|
135417
|
-
readonly type: "function";
|
|
135418
|
-
}, {
|
|
135419
|
-
readonly inputs: readonly [{
|
|
135420
|
-
readonly internalType: "address";
|
|
135421
|
-
readonly name: "_market";
|
|
135422
|
-
readonly type: "address";
|
|
135423
|
-
}, {
|
|
135424
|
-
readonly internalType: "address[]";
|
|
135425
|
-
readonly name: "_tokenAddresses";
|
|
135426
|
-
readonly type: "address[]";
|
|
135427
|
-
}];
|
|
135428
|
-
readonly name: "getTokensInfo";
|
|
135429
|
-
readonly outputs: readonly [{
|
|
135430
|
-
readonly components: readonly [{
|
|
135431
|
-
readonly internalType: "address";
|
|
135432
|
-
readonly name: "aTokenAddress";
|
|
135433
|
-
readonly type: "address";
|
|
135434
|
-
}, {
|
|
135435
|
-
readonly internalType: "address";
|
|
135436
|
-
readonly name: "underlyingTokenAddress";
|
|
135437
|
-
readonly type: "address";
|
|
135438
|
-
}, {
|
|
135439
|
-
readonly internalType: "uint256";
|
|
135440
|
-
readonly name: "collateralFactor";
|
|
135441
|
-
readonly type: "uint256";
|
|
135442
|
-
}, {
|
|
135443
|
-
readonly internalType: "uint256";
|
|
135444
|
-
readonly name: "price";
|
|
135445
|
-
readonly type: "uint256";
|
|
135446
|
-
}];
|
|
135447
|
-
readonly internalType: "struct AaveV3View.TokenInfo[]";
|
|
135448
|
-
readonly name: "tokens";
|
|
135449
|
-
readonly type: "tuple[]";
|
|
135450
|
-
}];
|
|
135451
|
-
readonly stateMutability: "view";
|
|
135452
|
-
readonly type: "function";
|
|
135453
|
-
}, {
|
|
135454
|
-
readonly inputs: readonly [{
|
|
135455
|
-
readonly internalType: "address";
|
|
135456
|
-
readonly name: "_market";
|
|
135457
|
-
readonly type: "address";
|
|
135458
|
-
}];
|
|
135459
|
-
readonly name: "isBorrowAllowed";
|
|
135460
|
-
readonly outputs: readonly [{
|
|
135461
|
-
readonly internalType: "bool";
|
|
135462
|
-
readonly name: "";
|
|
135463
|
-
readonly type: "bool";
|
|
135464
|
-
}];
|
|
135465
|
-
readonly stateMutability: "view";
|
|
135466
|
-
readonly type: "function";
|
|
135467
|
-
}], "getRatios", readonly [`0x${string}`, readonly `0x${string}`[]]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
135468
|
-
getSafetyRatio: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
135469
|
-
readonly inputs: readonly [];
|
|
135470
|
-
readonly name: "AAVE_REFERRAL_CODE";
|
|
135471
|
-
readonly outputs: readonly [{
|
|
135472
|
-
readonly internalType: "uint16";
|
|
135473
|
-
readonly name: "";
|
|
135474
|
-
readonly type: "uint16";
|
|
135475
|
-
}];
|
|
135476
|
-
readonly stateMutability: "view";
|
|
135477
|
-
readonly type: "function";
|
|
135478
|
-
}, {
|
|
135479
|
-
readonly inputs: readonly [{
|
|
135480
|
-
readonly internalType: "address";
|
|
135481
|
-
readonly name: "_umbrella";
|
|
135482
|
-
readonly type: "address";
|
|
135483
|
-
}, {
|
|
135484
|
-
readonly internalType: "address";
|
|
135485
|
-
readonly name: "_user";
|
|
135486
|
-
readonly type: "address";
|
|
135487
|
-
}];
|
|
135488
|
-
readonly name: "getAdditionalUmbrellaStakingData";
|
|
135489
|
-
readonly outputs: readonly [{
|
|
135490
|
-
readonly components: readonly [{
|
|
135491
|
-
readonly internalType: "address";
|
|
135492
|
-
readonly name: "stkToken";
|
|
135493
|
-
readonly type: "address";
|
|
135494
|
-
}, {
|
|
135495
|
-
readonly internalType: "uint256";
|
|
135496
|
-
readonly name: "totalShares";
|
|
135497
|
-
readonly type: "uint256";
|
|
135498
|
-
}, {
|
|
135499
|
-
readonly internalType: "address";
|
|
135500
|
-
readonly name: "stkUnderlyingToken";
|
|
135501
|
-
readonly type: "address";
|
|
135502
|
-
}, {
|
|
135503
|
-
readonly internalType: "address";
|
|
135504
|
-
readonly name: "aToken";
|
|
135505
|
-
readonly type: "address";
|
|
135506
|
-
}, {
|
|
135507
|
-
readonly internalType: "uint256";
|
|
135508
|
-
readonly name: "cooldownPeriod";
|
|
135509
|
-
readonly type: "uint256";
|
|
135510
|
-
}, {
|
|
135511
|
-
readonly internalType: "uint256";
|
|
135512
|
-
readonly name: "unstakeWindow";
|
|
135513
|
-
readonly type: "uint256";
|
|
135514
|
-
}, {
|
|
135515
|
-
readonly internalType: "uint256";
|
|
135516
|
-
readonly name: "stkTokenToWaTokenRate";
|
|
135517
|
-
readonly type: "uint256";
|
|
135518
|
-
}, {
|
|
135519
|
-
readonly internalType: "uint256";
|
|
135520
|
-
readonly name: "waTokenToATokenRate";
|
|
135521
|
-
readonly type: "uint256";
|
|
135522
|
-
}, {
|
|
135523
|
-
readonly internalType: "uint256[]";
|
|
135524
|
-
readonly name: "rewardsEmissionRates";
|
|
135525
|
-
readonly type: "uint256[]";
|
|
135526
|
-
}, {
|
|
135527
|
-
readonly internalType: "uint256";
|
|
135528
|
-
readonly name: "userCooldownAmount";
|
|
135529
|
-
readonly type: "uint256";
|
|
135530
|
-
}, {
|
|
135531
|
-
readonly internalType: "uint256";
|
|
135532
|
-
readonly name: "userEndOfCooldown";
|
|
135533
|
-
readonly type: "uint256";
|
|
135534
|
-
}, {
|
|
135535
|
-
readonly internalType: "uint256";
|
|
135536
|
-
readonly name: "userWithdrawalWindow";
|
|
135537
|
-
readonly type: "uint256";
|
|
135538
|
-
}];
|
|
135539
|
-
readonly internalType: "struct AaveV3View.UmbrellaStkData[]";
|
|
135540
|
-
readonly name: "retVal";
|
|
135541
|
-
readonly type: "tuple[]";
|
|
135542
|
-
}];
|
|
135543
|
-
readonly stateMutability: "view";
|
|
135544
|
-
readonly type: "function";
|
|
135545
|
-
}, {
|
|
135546
|
-
readonly inputs: readonly [{
|
|
135547
|
-
readonly internalType: "address";
|
|
135548
|
-
readonly name: "_market";
|
|
135549
|
-
readonly type: "address";
|
|
135550
|
-
}];
|
|
135551
|
-
readonly name: "getAllEmodes";
|
|
135552
|
-
readonly outputs: readonly [{
|
|
135553
|
-
readonly components: readonly [{
|
|
135554
|
-
readonly internalType: "uint16";
|
|
135555
|
-
readonly name: "ltv";
|
|
135556
|
-
readonly type: "uint16";
|
|
135557
|
-
}, {
|
|
135558
|
-
readonly internalType: "uint16";
|
|
135559
|
-
readonly name: "liquidationThreshold";
|
|
135560
|
-
readonly type: "uint16";
|
|
135561
|
-
}, {
|
|
135562
|
-
readonly internalType: "uint16";
|
|
135563
|
-
readonly name: "liquidationBonus";
|
|
135564
|
-
readonly type: "uint16";
|
|
135565
|
-
}, {
|
|
135566
|
-
readonly internalType: "uint128";
|
|
135567
|
-
readonly name: "collateralBitmap";
|
|
135568
|
-
readonly type: "uint128";
|
|
135569
|
-
}, {
|
|
135570
|
-
readonly internalType: "string";
|
|
135571
|
-
readonly name: "label";
|
|
135572
|
-
readonly type: "string";
|
|
135573
|
-
}, {
|
|
135574
|
-
readonly internalType: "uint128";
|
|
135575
|
-
readonly name: "borrowableBitmap";
|
|
135576
|
-
readonly type: "uint128";
|
|
135577
|
-
}, {
|
|
135578
|
-
readonly internalType: "uint128";
|
|
135579
|
-
readonly name: "ltvzeroBitmap";
|
|
135580
|
-
readonly type: "uint128";
|
|
135581
|
-
}];
|
|
135582
|
-
readonly internalType: "struct DataTypes.EModeCategoryNew[]";
|
|
135583
|
-
readonly name: "emodesData";
|
|
135584
|
-
readonly type: "tuple[]";
|
|
135585
|
-
}];
|
|
135586
|
-
readonly stateMutability: "view";
|
|
135587
|
-
readonly type: "function";
|
|
135588
|
-
}, {
|
|
135589
|
-
readonly inputs: readonly [{
|
|
135590
|
-
readonly internalType: "address";
|
|
135591
|
-
readonly name: "_market";
|
|
135592
|
-
readonly type: "address";
|
|
135593
|
-
}, {
|
|
135594
|
-
readonly components: readonly [{
|
|
135595
|
-
readonly internalType: "address";
|
|
135596
|
-
readonly name: "reserveAddress";
|
|
135597
|
-
readonly type: "address";
|
|
135598
|
-
}, {
|
|
135599
|
-
readonly internalType: "uint256";
|
|
135600
|
-
readonly name: "liquidityAdded";
|
|
135601
|
-
readonly type: "uint256";
|
|
135602
|
-
}, {
|
|
135603
|
-
readonly internalType: "uint256";
|
|
135604
|
-
readonly name: "liquidityTaken";
|
|
135605
|
-
readonly type: "uint256";
|
|
135606
|
-
}, {
|
|
135607
|
-
readonly internalType: "bool";
|
|
135608
|
-
readonly name: "isDebtAsset";
|
|
135609
|
-
readonly type: "bool";
|
|
135610
|
-
}];
|
|
135611
|
-
readonly internalType: "struct AaveV3View.LiquidityChangeParams[]";
|
|
135612
|
-
readonly name: "_reserveParams";
|
|
135613
|
-
readonly type: "tuple[]";
|
|
135614
|
-
}];
|
|
135615
|
-
readonly name: "getApyAfterValuesEstimation";
|
|
135616
|
-
readonly outputs: readonly [{
|
|
135617
|
-
readonly components: readonly [{
|
|
135618
|
-
readonly internalType: "address";
|
|
135619
|
-
readonly name: "reserveAddress";
|
|
135620
|
-
readonly type: "address";
|
|
135621
|
-
}, {
|
|
135622
|
-
readonly internalType: "uint256";
|
|
135623
|
-
readonly name: "supplyRate";
|
|
135624
|
-
readonly type: "uint256";
|
|
135625
|
-
}, {
|
|
135626
|
-
readonly internalType: "uint256";
|
|
135627
|
-
readonly name: "variableBorrowRate";
|
|
135628
|
-
readonly type: "uint256";
|
|
135629
|
-
}];
|
|
135630
|
-
readonly internalType: "struct AaveV3View.EstimatedRates[]";
|
|
135631
|
-
readonly name: "";
|
|
135632
|
-
readonly type: "tuple[]";
|
|
135633
|
-
}];
|
|
135634
|
-
readonly stateMutability: "view";
|
|
135635
|
-
readonly type: "function";
|
|
135636
|
-
}, {
|
|
135637
|
-
readonly inputs: readonly [{
|
|
135638
|
-
readonly internalType: "address";
|
|
135639
|
-
readonly name: "_market";
|
|
135640
|
-
readonly type: "address";
|
|
135641
|
-
}, {
|
|
135642
|
-
readonly internalType: "address";
|
|
135643
|
-
readonly name: "_tokenAddr";
|
|
135644
|
-
readonly type: "address";
|
|
135645
|
-
}];
|
|
135646
|
-
readonly name: "getAssetPrice";
|
|
135647
|
-
readonly outputs: readonly [{
|
|
135648
|
-
readonly internalType: "uint256";
|
|
135649
|
-
readonly name: "price";
|
|
135650
|
-
readonly type: "uint256";
|
|
135651
|
-
}];
|
|
135652
|
-
readonly stateMutability: "view";
|
|
135653
|
-
readonly type: "function";
|
|
135654
|
-
}, {
|
|
135655
|
-
readonly inputs: readonly [{
|
|
135656
|
-
readonly internalType: "address";
|
|
135657
|
-
readonly name: "_market";
|
|
135658
|
-
readonly type: "address";
|
|
135659
|
-
}, {
|
|
135660
|
-
readonly internalType: "address[]";
|
|
135661
|
-
readonly name: "_tokens";
|
|
135662
|
-
readonly type: "address[]";
|
|
135663
|
-
}];
|
|
135664
|
-
readonly name: "getCollFactors";
|
|
135665
|
-
readonly outputs: readonly [{
|
|
135666
|
-
readonly internalType: "uint256[]";
|
|
135667
|
-
readonly name: "collFactors";
|
|
135668
|
-
readonly type: "uint256[]";
|
|
135669
|
-
}];
|
|
135670
|
-
readonly stateMutability: "view";
|
|
135671
|
-
readonly type: "function";
|
|
135672
|
-
}, {
|
|
135673
|
-
readonly inputs: readonly [{
|
|
135674
|
-
readonly internalType: "uint256";
|
|
135675
|
-
readonly name: "emodeCategory";
|
|
135676
|
-
readonly type: "uint256";
|
|
135677
|
-
}, {
|
|
135678
|
-
readonly internalType: "contract IPoolV3";
|
|
135679
|
-
readonly name: "lendingPool";
|
|
135680
|
-
readonly type: "address";
|
|
135681
|
-
}];
|
|
135682
|
-
readonly name: "getEModeCollateralFactor";
|
|
135683
|
-
readonly outputs: readonly [{
|
|
135684
|
-
readonly internalType: "uint16";
|
|
135685
|
-
readonly name: "";
|
|
135686
|
-
readonly type: "uint16";
|
|
135687
|
-
}];
|
|
135688
|
-
readonly stateMutability: "view";
|
|
135689
|
-
readonly type: "function";
|
|
135690
|
-
}, {
|
|
135691
|
-
readonly inputs: readonly [{
|
|
135692
|
-
readonly internalType: "address";
|
|
135693
|
-
readonly name: "_asset";
|
|
135694
|
-
readonly type: "address";
|
|
135695
|
-
}, {
|
|
135696
|
-
readonly internalType: "address";
|
|
135697
|
-
readonly name: "_eoa";
|
|
135698
|
-
readonly type: "address";
|
|
135699
|
-
}, {
|
|
135700
|
-
readonly internalType: "address";
|
|
135701
|
-
readonly name: "_proxy";
|
|
135702
|
-
readonly type: "address";
|
|
135703
|
-
}, {
|
|
135704
|
-
readonly internalType: "address";
|
|
135705
|
-
readonly name: "_market";
|
|
135706
|
-
readonly type: "address";
|
|
135707
|
-
}];
|
|
135708
|
-
readonly name: "getEOAApprovalsAndBalances";
|
|
135709
|
-
readonly outputs: readonly [{
|
|
135710
|
-
readonly components: readonly [{
|
|
135711
|
-
readonly internalType: "address";
|
|
135712
|
-
readonly name: "asset";
|
|
135713
|
-
readonly type: "address";
|
|
135714
|
-
}, {
|
|
135715
|
-
readonly internalType: "address";
|
|
135716
|
-
readonly name: "aToken";
|
|
135717
|
-
readonly type: "address";
|
|
135718
|
-
}, {
|
|
135719
|
-
readonly internalType: "address";
|
|
135720
|
-
readonly name: "variableDebtToken";
|
|
135721
|
-
readonly type: "address";
|
|
135722
|
-
}, {
|
|
135723
|
-
readonly internalType: "uint256";
|
|
135724
|
-
readonly name: "assetApproval";
|
|
135725
|
-
readonly type: "uint256";
|
|
135726
|
-
}, {
|
|
135727
|
-
readonly internalType: "uint256";
|
|
135728
|
-
readonly name: "aTokenApproval";
|
|
135729
|
-
readonly type: "uint256";
|
|
135730
|
-
}, {
|
|
135731
|
-
readonly internalType: "uint256";
|
|
135732
|
-
readonly name: "variableDebtDelegation";
|
|
135733
|
-
readonly type: "uint256";
|
|
135734
|
-
}, {
|
|
135735
|
-
readonly internalType: "uint256";
|
|
135736
|
-
readonly name: "borrowedVariableAmount";
|
|
135737
|
-
readonly type: "uint256";
|
|
135738
|
-
}, {
|
|
135739
|
-
readonly internalType: "uint256";
|
|
135740
|
-
readonly name: "eoaBalance";
|
|
135741
|
-
readonly type: "uint256";
|
|
135742
|
-
}, {
|
|
135743
|
-
readonly internalType: "uint256";
|
|
135744
|
-
readonly name: "aTokenBalance";
|
|
135745
|
-
readonly type: "uint256";
|
|
135746
|
-
}];
|
|
135747
|
-
readonly internalType: "struct AaveV3View.EOAApprovalData";
|
|
135748
|
-
readonly name: "approvalData";
|
|
135749
|
-
readonly type: "tuple";
|
|
135750
|
-
}];
|
|
135751
|
-
readonly stateMutability: "view";
|
|
135752
|
-
readonly type: "function";
|
|
135753
|
-
}, {
|
|
135754
|
-
readonly inputs: readonly [{
|
|
135755
|
-
readonly internalType: "address";
|
|
135756
|
-
readonly name: "_eoa";
|
|
135757
|
-
readonly type: "address";
|
|
135758
|
-
}, {
|
|
135759
|
-
readonly internalType: "address";
|
|
135760
|
-
readonly name: "_proxy";
|
|
135761
|
-
readonly type: "address";
|
|
135762
|
-
}, {
|
|
135763
|
-
readonly internalType: "address";
|
|
135764
|
-
readonly name: "_market";
|
|
135765
|
-
readonly type: "address";
|
|
135766
|
-
}];
|
|
135767
|
-
readonly name: "getEOAApprovalsAndBalancesForAllTokens";
|
|
135768
|
-
readonly outputs: readonly [{
|
|
135769
|
-
readonly components: readonly [{
|
|
135770
|
-
readonly internalType: "address";
|
|
135771
|
-
readonly name: "asset";
|
|
135772
|
-
readonly type: "address";
|
|
135773
|
-
}, {
|
|
135774
|
-
readonly internalType: "address";
|
|
135775
|
-
readonly name: "aToken";
|
|
135776
|
-
readonly type: "address";
|
|
135777
|
-
}, {
|
|
135778
|
-
readonly internalType: "address";
|
|
135779
|
-
readonly name: "variableDebtToken";
|
|
135780
|
-
readonly type: "address";
|
|
135781
|
-
}, {
|
|
135782
|
-
readonly internalType: "uint256";
|
|
135783
|
-
readonly name: "assetApproval";
|
|
135784
|
-
readonly type: "uint256";
|
|
135785
|
-
}, {
|
|
135786
|
-
readonly internalType: "uint256";
|
|
135787
|
-
readonly name: "aTokenApproval";
|
|
135788
|
-
readonly type: "uint256";
|
|
135789
|
-
}, {
|
|
135790
|
-
readonly internalType: "uint256";
|
|
135791
|
-
readonly name: "variableDebtDelegation";
|
|
135792
|
-
readonly type: "uint256";
|
|
135793
|
-
}, {
|
|
135794
|
-
readonly internalType: "uint256";
|
|
135795
|
-
readonly name: "borrowedVariableAmount";
|
|
135796
|
-
readonly type: "uint256";
|
|
135797
|
-
}, {
|
|
135798
|
-
readonly internalType: "uint256";
|
|
135799
|
-
readonly name: "eoaBalance";
|
|
135800
|
-
readonly type: "uint256";
|
|
135801
|
-
}, {
|
|
135802
|
-
readonly internalType: "uint256";
|
|
135803
|
-
readonly name: "aTokenBalance";
|
|
135804
|
-
readonly type: "uint256";
|
|
135805
|
-
}];
|
|
135806
|
-
readonly internalType: "struct AaveV3View.EOAApprovalData[]";
|
|
135807
|
-
readonly name: "approvalData";
|
|
135808
|
-
readonly type: "tuple[]";
|
|
135809
|
-
}];
|
|
135810
|
-
readonly stateMutability: "view";
|
|
135811
|
-
readonly type: "function";
|
|
135812
|
-
}, {
|
|
135813
|
-
readonly inputs: readonly [{
|
|
135814
|
-
readonly internalType: "contract IPoolV3";
|
|
135815
|
-
readonly name: "_lendingPool";
|
|
135816
|
-
readonly type: "address";
|
|
135817
|
-
}, {
|
|
135818
|
-
readonly internalType: "uint8";
|
|
135819
|
-
readonly name: "_id";
|
|
135820
|
-
readonly type: "uint8";
|
|
135821
|
-
}];
|
|
135822
|
-
readonly name: "getEmodeData";
|
|
135823
|
-
readonly outputs: readonly [{
|
|
135824
|
-
readonly components: readonly [{
|
|
135825
|
-
readonly internalType: "uint16";
|
|
135826
|
-
readonly name: "ltv";
|
|
135827
|
-
readonly type: "uint16";
|
|
135828
|
-
}, {
|
|
135829
|
-
readonly internalType: "uint16";
|
|
135830
|
-
readonly name: "liquidationThreshold";
|
|
135831
|
-
readonly type: "uint16";
|
|
135832
|
-
}, {
|
|
135833
|
-
readonly internalType: "uint16";
|
|
135834
|
-
readonly name: "liquidationBonus";
|
|
135835
|
-
readonly type: "uint16";
|
|
135836
|
-
}, {
|
|
135837
|
-
readonly internalType: "uint128";
|
|
135838
|
-
readonly name: "collateralBitmap";
|
|
135839
|
-
readonly type: "uint128";
|
|
135840
134594
|
}, {
|
|
135841
134595
|
readonly internalType: "string";
|
|
135842
134596
|
readonly name: "label";
|
|
@@ -136183,25 +134937,6 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
136183
134937
|
}];
|
|
136184
134938
|
readonly stateMutability: "view";
|
|
136185
134939
|
readonly type: "function";
|
|
136186
|
-
}, {
|
|
136187
|
-
readonly inputs: readonly [{
|
|
136188
|
-
readonly components: readonly [{
|
|
136189
|
-
readonly internalType: "uint256";
|
|
136190
|
-
readonly name: "data";
|
|
136191
|
-
readonly type: "uint256";
|
|
136192
|
-
}];
|
|
136193
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
136194
|
-
readonly name: "self";
|
|
136195
|
-
readonly type: "tuple";
|
|
136196
|
-
}];
|
|
136197
|
-
readonly name: "getLtv";
|
|
136198
|
-
readonly outputs: readonly [{
|
|
136199
|
-
readonly internalType: "uint256";
|
|
136200
|
-
readonly name: "";
|
|
136201
|
-
readonly type: "uint256";
|
|
136202
|
-
}];
|
|
136203
|
-
readonly stateMutability: "pure";
|
|
136204
|
-
readonly type: "function";
|
|
136205
134940
|
}, {
|
|
136206
134941
|
readonly inputs: readonly [{
|
|
136207
134942
|
readonly internalType: "address";
|
|
@@ -136518,7 +135253,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
136518
135253
|
}, {
|
|
136519
135254
|
readonly inputs: readonly [{
|
|
136520
135255
|
readonly internalType: "address";
|
|
136521
|
-
readonly name: "
|
|
135256
|
+
readonly name: "";
|
|
136522
135257
|
readonly type: "address";
|
|
136523
135258
|
}];
|
|
136524
135259
|
readonly name: "isBorrowAllowed";
|
|
@@ -136527,7 +135262,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
136527
135262
|
readonly name: "";
|
|
136528
135263
|
readonly type: "bool";
|
|
136529
135264
|
}];
|
|
136530
|
-
readonly stateMutability: "
|
|
135265
|
+
readonly stateMutability: "pure";
|
|
136531
135266
|
readonly type: "function";
|
|
136532
135267
|
}], "getSafetyRatio", readonly [`0x${string}`, `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
|
|
136533
135268
|
getTokenBalances: (args: readonly [`0x${string}`, `0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
@@ -136631,6 +135366,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
136631
135366
|
readonly internalType: "uint128";
|
|
136632
135367
|
readonly name: "collateralBitmap";
|
|
136633
135368
|
readonly type: "uint128";
|
|
135369
|
+
}, {
|
|
135370
|
+
readonly internalType: "bool";
|
|
135371
|
+
readonly name: "isolated";
|
|
135372
|
+
readonly type: "bool";
|
|
136634
135373
|
}, {
|
|
136635
135374
|
readonly internalType: "string";
|
|
136636
135375
|
readonly name: "label";
|
|
@@ -136902,6 +135641,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
136902
135641
|
readonly internalType: "uint128";
|
|
136903
135642
|
readonly name: "collateralBitmap";
|
|
136904
135643
|
readonly type: "uint128";
|
|
135644
|
+
}, {
|
|
135645
|
+
readonly internalType: "bool";
|
|
135646
|
+
readonly name: "isolated";
|
|
135647
|
+
readonly type: "bool";
|
|
136905
135648
|
}, {
|
|
136906
135649
|
readonly internalType: "string";
|
|
136907
135650
|
readonly name: "label";
|
|
@@ -137248,25 +135991,6 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
137248
135991
|
}];
|
|
137249
135992
|
readonly stateMutability: "view";
|
|
137250
135993
|
readonly type: "function";
|
|
137251
|
-
}, {
|
|
137252
|
-
readonly inputs: readonly [{
|
|
137253
|
-
readonly components: readonly [{
|
|
137254
|
-
readonly internalType: "uint256";
|
|
137255
|
-
readonly name: "data";
|
|
137256
|
-
readonly type: "uint256";
|
|
137257
|
-
}];
|
|
137258
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
137259
|
-
readonly name: "self";
|
|
137260
|
-
readonly type: "tuple";
|
|
137261
|
-
}];
|
|
137262
|
-
readonly name: "getLtv";
|
|
137263
|
-
readonly outputs: readonly [{
|
|
137264
|
-
readonly internalType: "uint256";
|
|
137265
|
-
readonly name: "";
|
|
137266
|
-
readonly type: "uint256";
|
|
137267
|
-
}];
|
|
137268
|
-
readonly stateMutability: "pure";
|
|
137269
|
-
readonly type: "function";
|
|
137270
135994
|
}, {
|
|
137271
135995
|
readonly inputs: readonly [{
|
|
137272
135996
|
readonly internalType: "address";
|
|
@@ -137583,7 +136307,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
137583
136307
|
}, {
|
|
137584
136308
|
readonly inputs: readonly [{
|
|
137585
136309
|
readonly internalType: "address";
|
|
137586
|
-
readonly name: "
|
|
136310
|
+
readonly name: "";
|
|
137587
136311
|
readonly type: "address";
|
|
137588
136312
|
}];
|
|
137589
136313
|
readonly name: "isBorrowAllowed";
|
|
@@ -137592,7 +136316,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
137592
136316
|
readonly name: "";
|
|
137593
136317
|
readonly type: "bool";
|
|
137594
136318
|
}];
|
|
137595
|
-
readonly stateMutability: "
|
|
136319
|
+
readonly stateMutability: "pure";
|
|
137596
136320
|
readonly type: "function";
|
|
137597
136321
|
}], "getTokenBalances", readonly [`0x${string}`, `0x${string}`, readonly `0x${string}`[]]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly {
|
|
137598
136322
|
token: `0x${string}`;
|
|
@@ -137703,6 +136427,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
137703
136427
|
readonly internalType: "uint128";
|
|
137704
136428
|
readonly name: "collateralBitmap";
|
|
137705
136429
|
readonly type: "uint128";
|
|
136430
|
+
}, {
|
|
136431
|
+
readonly internalType: "bool";
|
|
136432
|
+
readonly name: "isolated";
|
|
136433
|
+
readonly type: "bool";
|
|
137706
136434
|
}, {
|
|
137707
136435
|
readonly internalType: "string";
|
|
137708
136436
|
readonly name: "label";
|
|
@@ -137974,6 +136702,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
137974
136702
|
readonly internalType: "uint128";
|
|
137975
136703
|
readonly name: "collateralBitmap";
|
|
137976
136704
|
readonly type: "uint128";
|
|
136705
|
+
}, {
|
|
136706
|
+
readonly internalType: "bool";
|
|
136707
|
+
readonly name: "isolated";
|
|
136708
|
+
readonly type: "bool";
|
|
137977
136709
|
}, {
|
|
137978
136710
|
readonly internalType: "string";
|
|
137979
136711
|
readonly name: "label";
|
|
@@ -138320,25 +137052,6 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
138320
137052
|
}];
|
|
138321
137053
|
readonly stateMutability: "view";
|
|
138322
137054
|
readonly type: "function";
|
|
138323
|
-
}, {
|
|
138324
|
-
readonly inputs: readonly [{
|
|
138325
|
-
readonly components: readonly [{
|
|
138326
|
-
readonly internalType: "uint256";
|
|
138327
|
-
readonly name: "data";
|
|
138328
|
-
readonly type: "uint256";
|
|
138329
|
-
}];
|
|
138330
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
138331
|
-
readonly name: "self";
|
|
138332
|
-
readonly type: "tuple";
|
|
138333
|
-
}];
|
|
138334
|
-
readonly name: "getLtv";
|
|
138335
|
-
readonly outputs: readonly [{
|
|
138336
|
-
readonly internalType: "uint256";
|
|
138337
|
-
readonly name: "";
|
|
138338
|
-
readonly type: "uint256";
|
|
138339
|
-
}];
|
|
138340
|
-
readonly stateMutability: "pure";
|
|
138341
|
-
readonly type: "function";
|
|
138342
137055
|
}, {
|
|
138343
137056
|
readonly inputs: readonly [{
|
|
138344
137057
|
readonly internalType: "address";
|
|
@@ -138655,7 +137368,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
138655
137368
|
}, {
|
|
138656
137369
|
readonly inputs: readonly [{
|
|
138657
137370
|
readonly internalType: "address";
|
|
138658
|
-
readonly name: "
|
|
137371
|
+
readonly name: "";
|
|
138659
137372
|
readonly type: "address";
|
|
138660
137373
|
}];
|
|
138661
137374
|
readonly name: "isBorrowAllowed";
|
|
@@ -138664,7 +137377,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
138664
137377
|
readonly name: "";
|
|
138665
137378
|
readonly type: "bool";
|
|
138666
137379
|
}];
|
|
138667
|
-
readonly stateMutability: "
|
|
137380
|
+
readonly stateMutability: "pure";
|
|
138668
137381
|
readonly type: "function";
|
|
138669
137382
|
}], "getTokenInfoFull", readonly [`0x${string}`, `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{
|
|
138670
137383
|
aTokenAddress: `0x${string}`;
|
|
@@ -138804,6 +137517,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
138804
137517
|
readonly internalType: "uint128";
|
|
138805
137518
|
readonly name: "collateralBitmap";
|
|
138806
137519
|
readonly type: "uint128";
|
|
137520
|
+
}, {
|
|
137521
|
+
readonly internalType: "bool";
|
|
137522
|
+
readonly name: "isolated";
|
|
137523
|
+
readonly type: "bool";
|
|
138807
137524
|
}, {
|
|
138808
137525
|
readonly internalType: "string";
|
|
138809
137526
|
readonly name: "label";
|
|
@@ -139075,6 +137792,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
139075
137792
|
readonly internalType: "uint128";
|
|
139076
137793
|
readonly name: "collateralBitmap";
|
|
139077
137794
|
readonly type: "uint128";
|
|
137795
|
+
}, {
|
|
137796
|
+
readonly internalType: "bool";
|
|
137797
|
+
readonly name: "isolated";
|
|
137798
|
+
readonly type: "bool";
|
|
139078
137799
|
}, {
|
|
139079
137800
|
readonly internalType: "string";
|
|
139080
137801
|
readonly name: "label";
|
|
@@ -139421,25 +138142,6 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
139421
138142
|
}];
|
|
139422
138143
|
readonly stateMutability: "view";
|
|
139423
138144
|
readonly type: "function";
|
|
139424
|
-
}, {
|
|
139425
|
-
readonly inputs: readonly [{
|
|
139426
|
-
readonly components: readonly [{
|
|
139427
|
-
readonly internalType: "uint256";
|
|
139428
|
-
readonly name: "data";
|
|
139429
|
-
readonly type: "uint256";
|
|
139430
|
-
}];
|
|
139431
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
139432
|
-
readonly name: "self";
|
|
139433
|
-
readonly type: "tuple";
|
|
139434
|
-
}];
|
|
139435
|
-
readonly name: "getLtv";
|
|
139436
|
-
readonly outputs: readonly [{
|
|
139437
|
-
readonly internalType: "uint256";
|
|
139438
|
-
readonly name: "";
|
|
139439
|
-
readonly type: "uint256";
|
|
139440
|
-
}];
|
|
139441
|
-
readonly stateMutability: "pure";
|
|
139442
|
-
readonly type: "function";
|
|
139443
138145
|
}, {
|
|
139444
138146
|
readonly inputs: readonly [{
|
|
139445
138147
|
readonly internalType: "address";
|
|
@@ -139756,7 +138458,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
139756
138458
|
}, {
|
|
139757
138459
|
readonly inputs: readonly [{
|
|
139758
138460
|
readonly internalType: "address";
|
|
139759
|
-
readonly name: "
|
|
138461
|
+
readonly name: "";
|
|
139760
138462
|
readonly type: "address";
|
|
139761
138463
|
}];
|
|
139762
138464
|
readonly name: "isBorrowAllowed";
|
|
@@ -139765,7 +138467,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
139765
138467
|
readonly name: "";
|
|
139766
138468
|
readonly type: "bool";
|
|
139767
138469
|
}];
|
|
139768
|
-
readonly stateMutability: "
|
|
138470
|
+
readonly stateMutability: "pure";
|
|
139769
138471
|
readonly type: "function";
|
|
139770
138472
|
}], "getTokensInfo", readonly [`0x${string}`, readonly `0x${string}`[]]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly {
|
|
139771
138473
|
aTokenAddress: `0x${string}`;
|
|
@@ -139874,6 +138576,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
139874
138576
|
readonly internalType: "uint128";
|
|
139875
138577
|
readonly name: "collateralBitmap";
|
|
139876
138578
|
readonly type: "uint128";
|
|
138579
|
+
}, {
|
|
138580
|
+
readonly internalType: "bool";
|
|
138581
|
+
readonly name: "isolated";
|
|
138582
|
+
readonly type: "bool";
|
|
139877
138583
|
}, {
|
|
139878
138584
|
readonly internalType: "string";
|
|
139879
138585
|
readonly name: "label";
|
|
@@ -140145,6 +138851,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
140145
138851
|
readonly internalType: "uint128";
|
|
140146
138852
|
readonly name: "collateralBitmap";
|
|
140147
138853
|
readonly type: "uint128";
|
|
138854
|
+
}, {
|
|
138855
|
+
readonly internalType: "bool";
|
|
138856
|
+
readonly name: "isolated";
|
|
138857
|
+
readonly type: "bool";
|
|
140148
138858
|
}, {
|
|
140149
138859
|
readonly internalType: "string";
|
|
140150
138860
|
readonly name: "label";
|
|
@@ -140491,25 +139201,6 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
140491
139201
|
}];
|
|
140492
139202
|
readonly stateMutability: "view";
|
|
140493
139203
|
readonly type: "function";
|
|
140494
|
-
}, {
|
|
140495
|
-
readonly inputs: readonly [{
|
|
140496
|
-
readonly components: readonly [{
|
|
140497
|
-
readonly internalType: "uint256";
|
|
140498
|
-
readonly name: "data";
|
|
140499
|
-
readonly type: "uint256";
|
|
140500
|
-
}];
|
|
140501
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
140502
|
-
readonly name: "self";
|
|
140503
|
-
readonly type: "tuple";
|
|
140504
|
-
}];
|
|
140505
|
-
readonly name: "getLtv";
|
|
140506
|
-
readonly outputs: readonly [{
|
|
140507
|
-
readonly internalType: "uint256";
|
|
140508
|
-
readonly name: "";
|
|
140509
|
-
readonly type: "uint256";
|
|
140510
|
-
}];
|
|
140511
|
-
readonly stateMutability: "pure";
|
|
140512
|
-
readonly type: "function";
|
|
140513
139204
|
}, {
|
|
140514
139205
|
readonly inputs: readonly [{
|
|
140515
139206
|
readonly internalType: "address";
|
|
@@ -140826,7 +139517,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
140826
139517
|
}, {
|
|
140827
139518
|
readonly inputs: readonly [{
|
|
140828
139519
|
readonly internalType: "address";
|
|
140829
|
-
readonly name: "
|
|
139520
|
+
readonly name: "";
|
|
140830
139521
|
readonly type: "address";
|
|
140831
139522
|
}];
|
|
140832
139523
|
readonly name: "isBorrowAllowed";
|
|
@@ -140835,7 +139526,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
140835
139526
|
readonly name: "";
|
|
140836
139527
|
readonly type: "bool";
|
|
140837
139528
|
}];
|
|
140838
|
-
readonly stateMutability: "
|
|
139529
|
+
readonly stateMutability: "pure";
|
|
140839
139530
|
readonly type: "function";
|
|
140840
139531
|
}], "isBorrowAllowed", readonly [`0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<boolean>;
|
|
140841
139532
|
};
|
|
@@ -140941,6 +139632,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
140941
139632
|
readonly internalType: "uint128";
|
|
140942
139633
|
readonly name: "collateralBitmap";
|
|
140943
139634
|
readonly type: "uint128";
|
|
139635
|
+
}, {
|
|
139636
|
+
readonly internalType: "bool";
|
|
139637
|
+
readonly name: "isolated";
|
|
139638
|
+
readonly type: "bool";
|
|
140944
139639
|
}, {
|
|
140945
139640
|
readonly internalType: "string";
|
|
140946
139641
|
readonly name: "label";
|
|
@@ -141212,6 +139907,10 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
141212
139907
|
readonly internalType: "uint128";
|
|
141213
139908
|
readonly name: "collateralBitmap";
|
|
141214
139909
|
readonly type: "uint128";
|
|
139910
|
+
}, {
|
|
139911
|
+
readonly internalType: "bool";
|
|
139912
|
+
readonly name: "isolated";
|
|
139913
|
+
readonly type: "bool";
|
|
141215
139914
|
}, {
|
|
141216
139915
|
readonly internalType: "string";
|
|
141217
139916
|
readonly name: "label";
|
|
@@ -141558,25 +140257,6 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
141558
140257
|
}];
|
|
141559
140258
|
readonly stateMutability: "view";
|
|
141560
140259
|
readonly type: "function";
|
|
141561
|
-
}, {
|
|
141562
|
-
readonly inputs: readonly [{
|
|
141563
|
-
readonly components: readonly [{
|
|
141564
|
-
readonly internalType: "uint256";
|
|
141565
|
-
readonly name: "data";
|
|
141566
|
-
readonly type: "uint256";
|
|
141567
|
-
}];
|
|
141568
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
141569
|
-
readonly name: "self";
|
|
141570
|
-
readonly type: "tuple";
|
|
141571
|
-
}];
|
|
141572
|
-
readonly name: "getLtv";
|
|
141573
|
-
readonly outputs: readonly [{
|
|
141574
|
-
readonly internalType: "uint256";
|
|
141575
|
-
readonly name: "";
|
|
141576
|
-
readonly type: "uint256";
|
|
141577
|
-
}];
|
|
141578
|
-
readonly stateMutability: "pure";
|
|
141579
|
-
readonly type: "function";
|
|
141580
140260
|
}, {
|
|
141581
140261
|
readonly inputs: readonly [{
|
|
141582
140262
|
readonly internalType: "address";
|
|
@@ -141893,7 +140573,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
141893
140573
|
}, {
|
|
141894
140574
|
readonly inputs: readonly [{
|
|
141895
140575
|
readonly internalType: "address";
|
|
141896
|
-
readonly name: "
|
|
140576
|
+
readonly name: "";
|
|
141897
140577
|
readonly type: "address";
|
|
141898
140578
|
}];
|
|
141899
140579
|
readonly name: "isBorrowAllowed";
|
|
@@ -141902,7 +140582,7 @@ export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNu
|
|
|
141902
140582
|
readonly name: "";
|
|
141903
140583
|
readonly type: "bool";
|
|
141904
140584
|
}];
|
|
141905
|
-
readonly stateMutability: "
|
|
140585
|
+
readonly stateMutability: "pure";
|
|
141906
140586
|
readonly type: "function";
|
|
141907
140587
|
}];
|
|
141908
140588
|
};
|
|
@@ -269728,9 +268408,7 @@ export declare const SparkViewContractViem: (client: Client, network: NetworkNum
|
|
|
269728
268408
|
priceSource: `0x${string}`;
|
|
269729
268409
|
label: string;
|
|
269730
268410
|
}[]>;
|
|
269731
|
-
|
|
269732
|
-
data: bigint;
|
|
269733
|
-
}], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
268411
|
+
getPrices: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
269734
268412
|
readonly inputs: readonly [];
|
|
269735
268413
|
readonly name: "SPARK_REFERRAL_CODE";
|
|
269736
268414
|
readonly outputs: readonly [{
|
|
@@ -270493,10 +269171,8 @@ export declare const SparkViewContractViem: (client: Client, network: NetworkNum
|
|
|
270493
269171
|
}];
|
|
270494
269172
|
readonly stateMutability: "view";
|
|
270495
269173
|
readonly type: "function";
|
|
270496
|
-
}], "
|
|
270497
|
-
|
|
270498
|
-
}]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
|
|
270499
|
-
getPrices: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
269174
|
+
}], "getPrices", readonly [`0x${string}`, readonly `0x${string}`[]]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
269175
|
+
getRatio: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
270500
269176
|
readonly inputs: readonly [];
|
|
270501
269177
|
readonly name: "SPARK_REFERRAL_CODE";
|
|
270502
269178
|
readonly outputs: readonly [{
|
|
@@ -271259,8 +269935,8 @@ export declare const SparkViewContractViem: (client: Client, network: NetworkNum
|
|
|
271259
269935
|
}];
|
|
271260
269936
|
readonly stateMutability: "view";
|
|
271261
269937
|
readonly type: "function";
|
|
271262
|
-
}], "
|
|
271263
|
-
|
|
269938
|
+
}], "getRatio", readonly [`0x${string}`, `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
|
|
269939
|
+
getRatios: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
271264
269940
|
readonly inputs: readonly [];
|
|
271265
269941
|
readonly name: "SPARK_REFERRAL_CODE";
|
|
271266
269942
|
readonly outputs: readonly [{
|
|
@@ -272023,8 +270699,8 @@ export declare const SparkViewContractViem: (client: Client, network: NetworkNum
|
|
|
272023
270699
|
}];
|
|
272024
270700
|
readonly stateMutability: "view";
|
|
272025
270701
|
readonly type: "function";
|
|
272026
|
-
}], "
|
|
272027
|
-
|
|
270702
|
+
}], "getRatios", readonly [`0x${string}`, readonly `0x${string}`[]]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
270703
|
+
getSafetyRatio: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
272028
270704
|
readonly inputs: readonly [];
|
|
272029
270705
|
readonly name: "SPARK_REFERRAL_CODE";
|
|
272030
270706
|
readonly outputs: readonly [{
|
|
@@ -272787,8 +271463,8 @@ export declare const SparkViewContractViem: (client: Client, network: NetworkNum
|
|
|
272787
271463
|
}];
|
|
272788
271464
|
readonly stateMutability: "view";
|
|
272789
271465
|
readonly type: "function";
|
|
272790
|
-
}], "
|
|
272791
|
-
|
|
271466
|
+
}], "getSafetyRatio", readonly [`0x${string}`, `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
|
|
271467
|
+
getTokenBalances: (args: readonly [`0x${string}`, `0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
272792
271468
|
readonly inputs: readonly [];
|
|
272793
271469
|
readonly name: "SPARK_REFERRAL_CODE";
|
|
272794
271470
|
readonly outputs: readonly [{
|
|
@@ -273551,8 +272227,15 @@ export declare const SparkViewContractViem: (client: Client, network: NetworkNum
|
|
|
273551
272227
|
}];
|
|
273552
272228
|
readonly stateMutability: "view";
|
|
273553
272229
|
readonly type: "function";
|
|
273554
|
-
}], "
|
|
273555
|
-
|
|
272230
|
+
}], "getTokenBalances", readonly [`0x${string}`, `0x${string}`, readonly `0x${string}`[]]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly {
|
|
272231
|
+
token: `0x${string}`;
|
|
272232
|
+
balance: bigint;
|
|
272233
|
+
borrowsStable: bigint;
|
|
272234
|
+
borrowsVariable: bigint;
|
|
272235
|
+
stableBorrowRate: bigint;
|
|
272236
|
+
enabledAsCollateral: boolean;
|
|
272237
|
+
}[]>;
|
|
272238
|
+
getTokenInfoFull: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
273556
272239
|
readonly inputs: readonly [];
|
|
273557
272240
|
readonly name: "SPARK_REFERRAL_CODE";
|
|
273558
272241
|
readonly outputs: readonly [{
|
|
@@ -274315,15 +272998,43 @@ export declare const SparkViewContractViem: (client: Client, network: NetworkNum
|
|
|
274315
272998
|
}];
|
|
274316
272999
|
readonly stateMutability: "view";
|
|
274317
273000
|
readonly type: "function";
|
|
274318
|
-
}], "
|
|
274319
|
-
|
|
274320
|
-
|
|
274321
|
-
|
|
274322
|
-
|
|
274323
|
-
|
|
274324
|
-
|
|
274325
|
-
|
|
274326
|
-
|
|
273001
|
+
}], "getTokenInfoFull", readonly [`0x${string}`, `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{
|
|
273002
|
+
aTokenAddress: `0x${string}`;
|
|
273003
|
+
underlyingTokenAddress: `0x${string}`;
|
|
273004
|
+
assetId: number;
|
|
273005
|
+
supplyRate: bigint;
|
|
273006
|
+
borrowRateVariable: bigint;
|
|
273007
|
+
borrowRateStable: bigint;
|
|
273008
|
+
totalSupply: bigint;
|
|
273009
|
+
availableLiquidity: bigint;
|
|
273010
|
+
totalBorrow: bigint;
|
|
273011
|
+
totalBorrowVar: bigint;
|
|
273012
|
+
totalBorrowStab: bigint;
|
|
273013
|
+
collateralFactor: bigint;
|
|
273014
|
+
liquidationRatio: bigint;
|
|
273015
|
+
price: bigint;
|
|
273016
|
+
supplyCap: bigint;
|
|
273017
|
+
borrowCap: bigint;
|
|
273018
|
+
emodeCategory: bigint;
|
|
273019
|
+
debtCeilingForIsolationMode: bigint;
|
|
273020
|
+
isolationModeTotalDebt: bigint;
|
|
273021
|
+
usageAsCollateralEnabled: boolean;
|
|
273022
|
+
borrowingEnabled: boolean;
|
|
273023
|
+
stableBorrowRateEnabled: boolean;
|
|
273024
|
+
isolationModeBorrowingEnabled: boolean;
|
|
273025
|
+
isSiloedForBorrowing: boolean;
|
|
273026
|
+
eModeCollateralFactor: bigint;
|
|
273027
|
+
isFlashLoanEnabled: boolean;
|
|
273028
|
+
ltv: number;
|
|
273029
|
+
liquidationThreshold: number;
|
|
273030
|
+
liquidationBonus: number;
|
|
273031
|
+
priceSource: `0x${string}`;
|
|
273032
|
+
label: string;
|
|
273033
|
+
isActive: boolean;
|
|
273034
|
+
isPaused: boolean;
|
|
273035
|
+
isFrozen: boolean;
|
|
273036
|
+
}>;
|
|
273037
|
+
getTokensInfo: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
274327
273038
|
readonly inputs: readonly [];
|
|
274328
273039
|
readonly name: "SPARK_REFERRAL_CODE";
|
|
274329
273040
|
readonly outputs: readonly [{
|
|
@@ -275086,43 +273797,15 @@ export declare const SparkViewContractViem: (client: Client, network: NetworkNum
|
|
|
275086
273797
|
}];
|
|
275087
273798
|
readonly stateMutability: "view";
|
|
275088
273799
|
readonly type: "function";
|
|
275089
|
-
}], "
|
|
273800
|
+
}], "getTokensInfo", readonly [`0x${string}`, readonly `0x${string}`[]]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly {
|
|
275090
273801
|
aTokenAddress: `0x${string}`;
|
|
275091
273802
|
underlyingTokenAddress: `0x${string}`;
|
|
275092
|
-
assetId: number;
|
|
275093
|
-
supplyRate: bigint;
|
|
275094
|
-
borrowRateVariable: bigint;
|
|
275095
|
-
borrowRateStable: bigint;
|
|
275096
|
-
totalSupply: bigint;
|
|
275097
|
-
availableLiquidity: bigint;
|
|
275098
|
-
totalBorrow: bigint;
|
|
275099
|
-
totalBorrowVar: bigint;
|
|
275100
|
-
totalBorrowStab: bigint;
|
|
275101
273803
|
collateralFactor: bigint;
|
|
275102
|
-
liquidationRatio: bigint;
|
|
275103
273804
|
price: bigint;
|
|
275104
|
-
|
|
275105
|
-
|
|
275106
|
-
|
|
275107
|
-
|
|
275108
|
-
isolationModeTotalDebt: bigint;
|
|
275109
|
-
usageAsCollateralEnabled: boolean;
|
|
275110
|
-
borrowingEnabled: boolean;
|
|
275111
|
-
stableBorrowRateEnabled: boolean;
|
|
275112
|
-
isolationModeBorrowingEnabled: boolean;
|
|
275113
|
-
isSiloedForBorrowing: boolean;
|
|
275114
|
-
eModeCollateralFactor: bigint;
|
|
275115
|
-
isFlashLoanEnabled: boolean;
|
|
275116
|
-
ltv: number;
|
|
275117
|
-
liquidationThreshold: number;
|
|
275118
|
-
liquidationBonus: number;
|
|
275119
|
-
priceSource: `0x${string}`;
|
|
275120
|
-
label: string;
|
|
275121
|
-
isActive: boolean;
|
|
275122
|
-
isPaused: boolean;
|
|
275123
|
-
isFrozen: boolean;
|
|
275124
|
-
}>;
|
|
275125
|
-
getTokensInfo: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
273805
|
+
}[]>;
|
|
273806
|
+
getLtv: (args: readonly [{
|
|
273807
|
+
data: bigint;
|
|
273808
|
+
}], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
275126
273809
|
readonly inputs: readonly [];
|
|
275127
273810
|
readonly name: "SPARK_REFERRAL_CODE";
|
|
275128
273811
|
readonly outputs: readonly [{
|
|
@@ -275885,12 +274568,9 @@ export declare const SparkViewContractViem: (client: Client, network: NetworkNum
|
|
|
275885
274568
|
}];
|
|
275886
274569
|
readonly stateMutability: "view";
|
|
275887
274570
|
readonly type: "function";
|
|
275888
|
-
}], "
|
|
275889
|
-
|
|
275890
|
-
|
|
275891
|
-
collateralFactor: bigint;
|
|
275892
|
-
price: bigint;
|
|
275893
|
-
}[]>;
|
|
274571
|
+
}], "getLtv", readonly [{
|
|
274572
|
+
data: bigint;
|
|
274573
|
+
}]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
|
|
275894
274574
|
SPARK_REFERRAL_CODE: (options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
275895
274575
|
readonly inputs: readonly [];
|
|
275896
274576
|
readonly name: "SPARK_REFERRAL_CODE";
|