@defisaver/positions-sdk 21.6.3-dev → 21.6.4-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/config/contracts.d.ts +86 -408
- package/cjs/config/contracts.js +2 -2
- package/cjs/contracts.d.ts +4052 -9368
- package/esm/config/contracts.d.ts +86 -408
- package/esm/config/contracts.js +2 -2
- package/esm/contracts.d.ts +4052 -9368
- package/package.json +1 -1
- package/src/config/contracts.ts +2 -2
|
@@ -54981,69 +54981,32 @@ export declare const AaveLoanInfoV2: {
|
|
|
54981
54981
|
readonly stateMutability: "view";
|
|
54982
54982
|
readonly type: "function";
|
|
54983
54983
|
}, {
|
|
54984
|
-
readonly inputs: readonly [
|
|
54985
|
-
|
|
54986
|
-
|
|
54987
|
-
readonly
|
|
54988
|
-
|
|
54989
|
-
readonly internalType: "address";
|
|
54990
|
-
readonly name: "_user";
|
|
54984
|
+
readonly inputs: readonly [];
|
|
54985
|
+
readonly name: "AaveIncentivesController";
|
|
54986
|
+
readonly outputs: readonly [{
|
|
54987
|
+
readonly internalType: "contract IAaveIncentivesController";
|
|
54988
|
+
readonly name: "";
|
|
54991
54989
|
readonly type: "address";
|
|
54992
54990
|
}];
|
|
54993
|
-
readonly
|
|
54991
|
+
readonly stateMutability: "view";
|
|
54992
|
+
readonly type: "function";
|
|
54993
|
+
}, {
|
|
54994
|
+
readonly inputs: readonly [];
|
|
54995
|
+
readonly name: "DATA_PROVIDER_ID";
|
|
54994
54996
|
readonly outputs: readonly [{
|
|
54995
|
-
readonly
|
|
54996
|
-
|
|
54997
|
-
|
|
54998
|
-
|
|
54999
|
-
|
|
55000
|
-
|
|
55001
|
-
|
|
55002
|
-
|
|
55003
|
-
|
|
55004
|
-
|
|
55005
|
-
|
|
55006
|
-
|
|
55007
|
-
|
|
55008
|
-
readonly internalType: "address";
|
|
55009
|
-
readonly name: "aToken";
|
|
55010
|
-
readonly type: "address";
|
|
55011
|
-
}, {
|
|
55012
|
-
readonly internalType: "uint256";
|
|
55013
|
-
readonly name: "cooldownPeriod";
|
|
55014
|
-
readonly type: "uint256";
|
|
55015
|
-
}, {
|
|
55016
|
-
readonly internalType: "uint256";
|
|
55017
|
-
readonly name: "unstakeWindow";
|
|
55018
|
-
readonly type: "uint256";
|
|
55019
|
-
}, {
|
|
55020
|
-
readonly internalType: "uint256";
|
|
55021
|
-
readonly name: "stkTokenToWaTokenRate";
|
|
55022
|
-
readonly type: "uint256";
|
|
55023
|
-
}, {
|
|
55024
|
-
readonly internalType: "uint256";
|
|
55025
|
-
readonly name: "waTokenToATokenRate";
|
|
55026
|
-
readonly type: "uint256";
|
|
55027
|
-
}, {
|
|
55028
|
-
readonly internalType: "uint256[]";
|
|
55029
|
-
readonly name: "rewardsEmissionRates";
|
|
55030
|
-
readonly type: "uint256[]";
|
|
55031
|
-
}, {
|
|
55032
|
-
readonly internalType: "uint256";
|
|
55033
|
-
readonly name: "userCooldownAmount";
|
|
55034
|
-
readonly type: "uint256";
|
|
55035
|
-
}, {
|
|
55036
|
-
readonly internalType: "uint256";
|
|
55037
|
-
readonly name: "userEndOfCooldown";
|
|
55038
|
-
readonly type: "uint256";
|
|
55039
|
-
}, {
|
|
55040
|
-
readonly internalType: "uint256";
|
|
55041
|
-
readonly name: "userWithdrawalWindow";
|
|
55042
|
-
readonly type: "uint256";
|
|
55043
|
-
}];
|
|
55044
|
-
readonly internalType: "struct AaveV3View.UmbrellaStkData[]";
|
|
55045
|
-
readonly name: "retVal";
|
|
55046
|
-
readonly type: "tuple[]";
|
|
54997
|
+
readonly internalType: "bytes32";
|
|
54998
|
+
readonly name: "";
|
|
54999
|
+
readonly type: "bytes32";
|
|
55000
|
+
}];
|
|
55001
|
+
readonly stateMutability: "view";
|
|
55002
|
+
readonly type: "function";
|
|
55003
|
+
}, {
|
|
55004
|
+
readonly inputs: readonly [];
|
|
55005
|
+
readonly name: "StakedToken";
|
|
55006
|
+
readonly outputs: readonly [{
|
|
55007
|
+
readonly internalType: "contract IStakedToken";
|
|
55008
|
+
readonly name: "";
|
|
55009
|
+
readonly type: "address";
|
|
55047
55010
|
}];
|
|
55048
55011
|
readonly stateMutability: "view";
|
|
55049
55012
|
readonly type: "function";
|
|
@@ -55052,39 +55015,18 @@ export declare const AaveLoanInfoV2: {
|
|
|
55052
55015
|
readonly internalType: "address";
|
|
55053
55016
|
readonly name: "_market";
|
|
55054
55017
|
readonly type: "address";
|
|
55018
|
+
}, {
|
|
55019
|
+
readonly internalType: "address";
|
|
55020
|
+
readonly name: "_tokenAddr";
|
|
55021
|
+
readonly type: "address";
|
|
55022
|
+
}, {
|
|
55023
|
+
readonly internalType: "bool";
|
|
55024
|
+
readonly name: "_useAsCollateral";
|
|
55025
|
+
readonly type: "bool";
|
|
55055
55026
|
}];
|
|
55056
|
-
readonly name: "
|
|
55057
|
-
readonly outputs: readonly [
|
|
55058
|
-
|
|
55059
|
-
readonly internalType: "uint16";
|
|
55060
|
-
readonly name: "ltv";
|
|
55061
|
-
readonly type: "uint16";
|
|
55062
|
-
}, {
|
|
55063
|
-
readonly internalType: "uint16";
|
|
55064
|
-
readonly name: "liquidationThreshold";
|
|
55065
|
-
readonly type: "uint16";
|
|
55066
|
-
}, {
|
|
55067
|
-
readonly internalType: "uint16";
|
|
55068
|
-
readonly name: "liquidationBonus";
|
|
55069
|
-
readonly type: "uint16";
|
|
55070
|
-
}, {
|
|
55071
|
-
readonly internalType: "uint128";
|
|
55072
|
-
readonly name: "collateralBitmap";
|
|
55073
|
-
readonly type: "uint128";
|
|
55074
|
-
}, {
|
|
55075
|
-
readonly internalType: "string";
|
|
55076
|
-
readonly name: "label";
|
|
55077
|
-
readonly type: "string";
|
|
55078
|
-
}, {
|
|
55079
|
-
readonly internalType: "uint128";
|
|
55080
|
-
readonly name: "borrowableBitmap";
|
|
55081
|
-
readonly type: "uint128";
|
|
55082
|
-
}];
|
|
55083
|
-
readonly internalType: "struct DataTypes.EModeCategoryNew[]";
|
|
55084
|
-
readonly name: "emodesData";
|
|
55085
|
-
readonly type: "tuple[]";
|
|
55086
|
-
}];
|
|
55087
|
-
readonly stateMutability: "view";
|
|
55027
|
+
readonly name: "enableAsCollateral";
|
|
55028
|
+
readonly outputs: readonly [];
|
|
55029
|
+
readonly stateMutability: "nonpayable";
|
|
55088
55030
|
readonly type: "function";
|
|
55089
55031
|
}, {
|
|
55090
55032
|
readonly inputs: readonly [{
|
|
@@ -55109,7 +55051,7 @@ export declare const AaveLoanInfoV2: {
|
|
|
55109
55051
|
readonly name: "isDebtAsset";
|
|
55110
55052
|
readonly type: "bool";
|
|
55111
55053
|
}];
|
|
55112
|
-
readonly internalType: "struct
|
|
55054
|
+
readonly internalType: "struct AaveView.LiquidityChangeParams[]";
|
|
55113
55055
|
readonly name: "_reserveParams";
|
|
55114
55056
|
readonly type: "tuple[]";
|
|
55115
55057
|
}];
|
|
@@ -55128,30 +55070,12 @@ export declare const AaveLoanInfoV2: {
|
|
|
55128
55070
|
readonly name: "variableBorrowRate";
|
|
55129
55071
|
readonly type: "uint256";
|
|
55130
55072
|
}];
|
|
55131
|
-
readonly internalType: "struct
|
|
55073
|
+
readonly internalType: "struct AaveView.EstimatedRates[]";
|
|
55132
55074
|
readonly name: "";
|
|
55133
55075
|
readonly type: "tuple[]";
|
|
55134
55076
|
}];
|
|
55135
55077
|
readonly stateMutability: "view";
|
|
55136
55078
|
readonly type: "function";
|
|
55137
|
-
}, {
|
|
55138
|
-
readonly inputs: readonly [{
|
|
55139
|
-
readonly internalType: "address";
|
|
55140
|
-
readonly name: "_market";
|
|
55141
|
-
readonly type: "address";
|
|
55142
|
-
}, {
|
|
55143
|
-
readonly internalType: "address";
|
|
55144
|
-
readonly name: "_tokenAddr";
|
|
55145
|
-
readonly type: "address";
|
|
55146
|
-
}];
|
|
55147
|
-
readonly name: "getAssetPrice";
|
|
55148
|
-
readonly outputs: readonly [{
|
|
55149
|
-
readonly internalType: "uint256";
|
|
55150
|
-
readonly name: "price";
|
|
55151
|
-
readonly type: "uint256";
|
|
55152
|
-
}];
|
|
55153
|
-
readonly stateMutability: "view";
|
|
55154
|
-
readonly type: "function";
|
|
55155
55079
|
}, {
|
|
55156
55080
|
readonly inputs: readonly [{
|
|
55157
55081
|
readonly internalType: "address";
|
|
@@ -55170,67 +55094,6 @@ export declare const AaveLoanInfoV2: {
|
|
|
55170
55094
|
}];
|
|
55171
55095
|
readonly stateMutability: "view";
|
|
55172
55096
|
readonly type: "function";
|
|
55173
|
-
}, {
|
|
55174
|
-
readonly inputs: readonly [{
|
|
55175
|
-
readonly internalType: "uint256";
|
|
55176
|
-
readonly name: "emodeCategory";
|
|
55177
|
-
readonly type: "uint256";
|
|
55178
|
-
}, {
|
|
55179
|
-
readonly internalType: "contract IPoolV3";
|
|
55180
|
-
readonly name: "lendingPool";
|
|
55181
|
-
readonly type: "address";
|
|
55182
|
-
}];
|
|
55183
|
-
readonly name: "getEModeCollateralFactor";
|
|
55184
|
-
readonly outputs: readonly [{
|
|
55185
|
-
readonly internalType: "uint16";
|
|
55186
|
-
readonly name: "";
|
|
55187
|
-
readonly type: "uint16";
|
|
55188
|
-
}];
|
|
55189
|
-
readonly stateMutability: "view";
|
|
55190
|
-
readonly type: "function";
|
|
55191
|
-
}, {
|
|
55192
|
-
readonly inputs: readonly [{
|
|
55193
|
-
readonly internalType: "contract IPoolV3";
|
|
55194
|
-
readonly name: "_lendingPool";
|
|
55195
|
-
readonly type: "address";
|
|
55196
|
-
}, {
|
|
55197
|
-
readonly internalType: "uint8";
|
|
55198
|
-
readonly name: "_id";
|
|
55199
|
-
readonly type: "uint8";
|
|
55200
|
-
}];
|
|
55201
|
-
readonly name: "getEmodeData";
|
|
55202
|
-
readonly outputs: readonly [{
|
|
55203
|
-
readonly components: readonly [{
|
|
55204
|
-
readonly internalType: "uint16";
|
|
55205
|
-
readonly name: "ltv";
|
|
55206
|
-
readonly type: "uint16";
|
|
55207
|
-
}, {
|
|
55208
|
-
readonly internalType: "uint16";
|
|
55209
|
-
readonly name: "liquidationThreshold";
|
|
55210
|
-
readonly type: "uint16";
|
|
55211
|
-
}, {
|
|
55212
|
-
readonly internalType: "uint16";
|
|
55213
|
-
readonly name: "liquidationBonus";
|
|
55214
|
-
readonly type: "uint16";
|
|
55215
|
-
}, {
|
|
55216
|
-
readonly internalType: "uint128";
|
|
55217
|
-
readonly name: "collateralBitmap";
|
|
55218
|
-
readonly type: "uint128";
|
|
55219
|
-
}, {
|
|
55220
|
-
readonly internalType: "string";
|
|
55221
|
-
readonly name: "label";
|
|
55222
|
-
readonly type: "string";
|
|
55223
|
-
}, {
|
|
55224
|
-
readonly internalType: "uint128";
|
|
55225
|
-
readonly name: "borrowableBitmap";
|
|
55226
|
-
readonly type: "uint128";
|
|
55227
|
-
}];
|
|
55228
|
-
readonly internalType: "struct DataTypes.EModeCategoryNew";
|
|
55229
|
-
readonly name: "emodeData";
|
|
55230
|
-
readonly type: "tuple";
|
|
55231
|
-
}];
|
|
55232
|
-
readonly stateMutability: "view";
|
|
55233
|
-
readonly type: "function";
|
|
55234
55097
|
}, {
|
|
55235
55098
|
readonly inputs: readonly [{
|
|
55236
55099
|
readonly internalType: "address";
|
|
@@ -55251,10 +55114,6 @@ export declare const AaveLoanInfoV2: {
|
|
|
55251
55114
|
readonly internalType: "address";
|
|
55252
55115
|
readonly name: "underlyingTokenAddress";
|
|
55253
55116
|
readonly type: "address";
|
|
55254
|
-
}, {
|
|
55255
|
-
readonly internalType: "uint16";
|
|
55256
|
-
readonly name: "assetId";
|
|
55257
|
-
readonly type: "uint16";
|
|
55258
55117
|
}, {
|
|
55259
55118
|
readonly internalType: "uint256";
|
|
55260
55119
|
readonly name: "supplyRate";
|
|
@@ -55279,14 +55138,6 @@ export declare const AaveLoanInfoV2: {
|
|
|
55279
55138
|
readonly internalType: "uint256";
|
|
55280
55139
|
readonly name: "totalBorrow";
|
|
55281
55140
|
readonly type: "uint256";
|
|
55282
|
-
}, {
|
|
55283
|
-
readonly internalType: "uint256";
|
|
55284
|
-
readonly name: "totalBorrowVar";
|
|
55285
|
-
readonly type: "uint256";
|
|
55286
|
-
}, {
|
|
55287
|
-
readonly internalType: "uint256";
|
|
55288
|
-
readonly name: "totalBorrowStab";
|
|
55289
|
-
readonly type: "uint256";
|
|
55290
55141
|
}, {
|
|
55291
55142
|
readonly internalType: "uint256";
|
|
55292
55143
|
readonly name: "collateralFactor";
|
|
@@ -55301,90 +55152,34 @@ export declare const AaveLoanInfoV2: {
|
|
|
55301
55152
|
readonly type: "uint256";
|
|
55302
55153
|
}, {
|
|
55303
55154
|
readonly internalType: "uint256";
|
|
55304
|
-
readonly name: "
|
|
55305
|
-
readonly type: "uint256";
|
|
55306
|
-
}, {
|
|
55307
|
-
readonly internalType: "uint256";
|
|
55308
|
-
readonly name: "borrowCap";
|
|
55309
|
-
readonly type: "uint256";
|
|
55310
|
-
}, {
|
|
55311
|
-
readonly internalType: "uint256";
|
|
55312
|
-
readonly name: "emodeCategory";
|
|
55313
|
-
readonly type: "uint256";
|
|
55314
|
-
}, {
|
|
55315
|
-
readonly internalType: "uint256";
|
|
55316
|
-
readonly name: "debtCeilingForIsolationMode";
|
|
55155
|
+
readonly name: "totalBorrowVar";
|
|
55317
55156
|
readonly type: "uint256";
|
|
55318
55157
|
}, {
|
|
55319
55158
|
readonly internalType: "uint256";
|
|
55320
|
-
readonly name: "
|
|
55159
|
+
readonly name: "totalBorrowStab";
|
|
55321
55160
|
readonly type: "uint256";
|
|
55322
55161
|
}, {
|
|
55323
55162
|
readonly internalType: "bool";
|
|
55324
|
-
readonly name: "
|
|
55325
|
-
readonly type: "bool";
|
|
55326
|
-
}, {
|
|
55327
|
-
readonly internalType: "bool";
|
|
55328
|
-
readonly name: "borrowingEnabled";
|
|
55329
|
-
readonly type: "bool";
|
|
55330
|
-
}, {
|
|
55331
|
-
readonly internalType: "bool";
|
|
55332
|
-
readonly name: "stableBorrowRateEnabled";
|
|
55333
|
-
readonly type: "bool";
|
|
55334
|
-
}, {
|
|
55335
|
-
readonly internalType: "bool";
|
|
55336
|
-
readonly name: "isolationModeBorrowingEnabled";
|
|
55163
|
+
readonly name: "isActive";
|
|
55337
55164
|
readonly type: "bool";
|
|
55338
55165
|
}, {
|
|
55339
55166
|
readonly internalType: "bool";
|
|
55340
|
-
readonly name: "
|
|
55167
|
+
readonly name: "isFrozen";
|
|
55341
55168
|
readonly type: "bool";
|
|
55342
|
-
}, {
|
|
55343
|
-
readonly internalType: "uint256";
|
|
55344
|
-
readonly name: "eModeCollateralFactor";
|
|
55345
|
-
readonly type: "uint256";
|
|
55346
55169
|
}, {
|
|
55347
55170
|
readonly internalType: "bool";
|
|
55348
|
-
readonly name: "
|
|
55349
|
-
readonly type: "bool";
|
|
55350
|
-
}, {
|
|
55351
|
-
readonly internalType: "uint16";
|
|
55352
|
-
readonly name: "ltv";
|
|
55353
|
-
readonly type: "uint16";
|
|
55354
|
-
}, {
|
|
55355
|
-
readonly internalType: "uint16";
|
|
55356
|
-
readonly name: "liquidationThreshold";
|
|
55357
|
-
readonly type: "uint16";
|
|
55358
|
-
}, {
|
|
55359
|
-
readonly internalType: "uint16";
|
|
55360
|
-
readonly name: "liquidationBonus";
|
|
55361
|
-
readonly type: "uint16";
|
|
55362
|
-
}, {
|
|
55363
|
-
readonly internalType: "address";
|
|
55364
|
-
readonly name: "priceSource";
|
|
55365
|
-
readonly type: "address";
|
|
55366
|
-
}, {
|
|
55367
|
-
readonly internalType: "string";
|
|
55368
|
-
readonly name: "label";
|
|
55369
|
-
readonly type: "string";
|
|
55370
|
-
}, {
|
|
55371
|
-
readonly internalType: "bool";
|
|
55372
|
-
readonly name: "isActive";
|
|
55171
|
+
readonly name: "usageAsCollateralEnabled";
|
|
55373
55172
|
readonly type: "bool";
|
|
55374
55173
|
}, {
|
|
55375
55174
|
readonly internalType: "bool";
|
|
55376
|
-
readonly name: "
|
|
55175
|
+
readonly name: "borrowingEnabled";
|
|
55377
55176
|
readonly type: "bool";
|
|
55378
55177
|
}, {
|
|
55379
55178
|
readonly internalType: "bool";
|
|
55380
|
-
readonly name: "
|
|
55179
|
+
readonly name: "stableBorrowRateEnabled";
|
|
55381
55180
|
readonly type: "bool";
|
|
55382
|
-
}, {
|
|
55383
|
-
readonly internalType: "address";
|
|
55384
|
-
readonly name: "debtTokenAddress";
|
|
55385
|
-
readonly type: "address";
|
|
55386
55181
|
}];
|
|
55387
|
-
readonly internalType: "struct
|
|
55182
|
+
readonly internalType: "struct AaveView.TokenInfoFull[]";
|
|
55388
55183
|
readonly name: "tokens";
|
|
55389
55184
|
readonly type: "tuple[]";
|
|
55390
55185
|
}];
|
|
@@ -55392,18 +55187,18 @@ export declare const AaveLoanInfoV2: {
|
|
|
55392
55187
|
readonly type: "function";
|
|
55393
55188
|
}, {
|
|
55394
55189
|
readonly inputs: readonly [{
|
|
55395
|
-
readonly internalType: "address";
|
|
55396
|
-
readonly name: "
|
|
55397
|
-
readonly type: "address";
|
|
55190
|
+
readonly internalType: "address[]";
|
|
55191
|
+
readonly name: "_assets";
|
|
55192
|
+
readonly type: "address[]";
|
|
55398
55193
|
}, {
|
|
55399
55194
|
readonly internalType: "address";
|
|
55400
55195
|
readonly name: "_user";
|
|
55401
55196
|
readonly type: "address";
|
|
55402
55197
|
}];
|
|
55403
|
-
readonly name: "
|
|
55198
|
+
readonly name: "getIncentivesRewardsBalance";
|
|
55404
55199
|
readonly outputs: readonly [{
|
|
55405
55200
|
readonly internalType: "uint256";
|
|
55406
|
-
readonly name: "
|
|
55201
|
+
readonly name: "";
|
|
55407
55202
|
readonly type: "uint256";
|
|
55408
55203
|
}];
|
|
55409
55204
|
readonly stateMutability: "view";
|
|
@@ -55428,10 +55223,6 @@ export declare const AaveLoanInfoV2: {
|
|
|
55428
55223
|
readonly internalType: "uint128";
|
|
55429
55224
|
readonly name: "ratio";
|
|
55430
55225
|
readonly type: "uint128";
|
|
55431
|
-
}, {
|
|
55432
|
-
readonly internalType: "uint256";
|
|
55433
|
-
readonly name: "eMode";
|
|
55434
|
-
readonly type: "uint256";
|
|
55435
55226
|
}, {
|
|
55436
55227
|
readonly internalType: "address[]";
|
|
55437
55228
|
readonly name: "collAddr";
|
|
@@ -55456,28 +55247,8 @@ export declare const AaveLoanInfoV2: {
|
|
|
55456
55247
|
readonly internalType: "uint256[]";
|
|
55457
55248
|
readonly name: "borrowVariableAmounts";
|
|
55458
55249
|
readonly type: "uint256[]";
|
|
55459
|
-
}, {
|
|
55460
|
-
readonly internalType: "uint16";
|
|
55461
|
-
readonly name: "ltv";
|
|
55462
|
-
readonly type: "uint16";
|
|
55463
|
-
}, {
|
|
55464
|
-
readonly internalType: "uint16";
|
|
55465
|
-
readonly name: "liquidationThreshold";
|
|
55466
|
-
readonly type: "uint16";
|
|
55467
|
-
}, {
|
|
55468
|
-
readonly internalType: "uint16";
|
|
55469
|
-
readonly name: "liquidationBonus";
|
|
55470
|
-
readonly type: "uint16";
|
|
55471
|
-
}, {
|
|
55472
|
-
readonly internalType: "address";
|
|
55473
|
-
readonly name: "priceSource";
|
|
55474
|
-
readonly type: "address";
|
|
55475
|
-
}, {
|
|
55476
|
-
readonly internalType: "string";
|
|
55477
|
-
readonly name: "label";
|
|
55478
|
-
readonly type: "string";
|
|
55479
55250
|
}];
|
|
55480
|
-
readonly internalType: "struct
|
|
55251
|
+
readonly internalType: "struct AaveView.LoanData";
|
|
55481
55252
|
readonly name: "data";
|
|
55482
55253
|
readonly type: "tuple";
|
|
55483
55254
|
}];
|
|
@@ -55503,10 +55274,6 @@ export declare const AaveLoanInfoV2: {
|
|
|
55503
55274
|
readonly internalType: "uint128";
|
|
55504
55275
|
readonly name: "ratio";
|
|
55505
55276
|
readonly type: "uint128";
|
|
55506
|
-
}, {
|
|
55507
|
-
readonly internalType: "uint256";
|
|
55508
|
-
readonly name: "eMode";
|
|
55509
|
-
readonly type: "uint256";
|
|
55510
55277
|
}, {
|
|
55511
55278
|
readonly internalType: "address[]";
|
|
55512
55279
|
readonly name: "collAddr";
|
|
@@ -55531,52 +55298,13 @@ export declare const AaveLoanInfoV2: {
|
|
|
55531
55298
|
readonly internalType: "uint256[]";
|
|
55532
55299
|
readonly name: "borrowVariableAmounts";
|
|
55533
55300
|
readonly type: "uint256[]";
|
|
55534
|
-
}, {
|
|
55535
|
-
readonly internalType: "uint16";
|
|
55536
|
-
readonly name: "ltv";
|
|
55537
|
-
readonly type: "uint16";
|
|
55538
|
-
}, {
|
|
55539
|
-
readonly internalType: "uint16";
|
|
55540
|
-
readonly name: "liquidationThreshold";
|
|
55541
|
-
readonly type: "uint16";
|
|
55542
|
-
}, {
|
|
55543
|
-
readonly internalType: "uint16";
|
|
55544
|
-
readonly name: "liquidationBonus";
|
|
55545
|
-
readonly type: "uint16";
|
|
55546
|
-
}, {
|
|
55547
|
-
readonly internalType: "address";
|
|
55548
|
-
readonly name: "priceSource";
|
|
55549
|
-
readonly type: "address";
|
|
55550
|
-
}, {
|
|
55551
|
-
readonly internalType: "string";
|
|
55552
|
-
readonly name: "label";
|
|
55553
|
-
readonly type: "string";
|
|
55554
55301
|
}];
|
|
55555
|
-
readonly internalType: "struct
|
|
55302
|
+
readonly internalType: "struct AaveView.LoanData[]";
|
|
55556
55303
|
readonly name: "loans";
|
|
55557
55304
|
readonly type: "tuple[]";
|
|
55558
55305
|
}];
|
|
55559
55306
|
readonly stateMutability: "view";
|
|
55560
55307
|
readonly type: "function";
|
|
55561
|
-
}, {
|
|
55562
|
-
readonly inputs: readonly [{
|
|
55563
|
-
readonly components: readonly [{
|
|
55564
|
-
readonly internalType: "uint256";
|
|
55565
|
-
readonly name: "data";
|
|
55566
|
-
readonly type: "uint256";
|
|
55567
|
-
}];
|
|
55568
|
-
readonly internalType: "struct DataTypes.ReserveConfigurationMap";
|
|
55569
|
-
readonly name: "self";
|
|
55570
|
-
readonly type: "tuple";
|
|
55571
|
-
}];
|
|
55572
|
-
readonly name: "getLtv";
|
|
55573
|
-
readonly outputs: readonly [{
|
|
55574
|
-
readonly internalType: "uint256";
|
|
55575
|
-
readonly name: "";
|
|
55576
|
-
readonly type: "uint256";
|
|
55577
|
-
}];
|
|
55578
|
-
readonly stateMutability: "pure";
|
|
55579
|
-
readonly type: "function";
|
|
55580
55308
|
}, {
|
|
55581
55309
|
readonly inputs: readonly [{
|
|
55582
55310
|
readonly internalType: "address";
|
|
@@ -55649,6 +55377,20 @@ export declare const AaveLoanInfoV2: {
|
|
|
55649
55377
|
}];
|
|
55650
55378
|
readonly stateMutability: "view";
|
|
55651
55379
|
readonly type: "function";
|
|
55380
|
+
}, {
|
|
55381
|
+
readonly inputs: readonly [{
|
|
55382
|
+
readonly internalType: "address";
|
|
55383
|
+
readonly name: "_staker";
|
|
55384
|
+
readonly type: "address";
|
|
55385
|
+
}];
|
|
55386
|
+
readonly name: "getStakingRewardsBalance";
|
|
55387
|
+
readonly outputs: readonly [{
|
|
55388
|
+
readonly internalType: "uint256";
|
|
55389
|
+
readonly name: "";
|
|
55390
|
+
readonly type: "uint256";
|
|
55391
|
+
}];
|
|
55392
|
+
readonly stateMutability: "view";
|
|
55393
|
+
readonly type: "function";
|
|
55652
55394
|
}, {
|
|
55653
55395
|
readonly inputs: readonly [{
|
|
55654
55396
|
readonly internalType: "address";
|
|
@@ -55690,7 +55432,7 @@ export declare const AaveLoanInfoV2: {
|
|
|
55690
55432
|
readonly name: "enabledAsCollateral";
|
|
55691
55433
|
readonly type: "bool";
|
|
55692
55434
|
}];
|
|
55693
|
-
readonly internalType: "struct
|
|
55435
|
+
readonly internalType: "struct AaveView.UserToken[]";
|
|
55694
55436
|
readonly name: "userTokens";
|
|
55695
55437
|
readonly type: "tuple[]";
|
|
55696
55438
|
}];
|
|
@@ -55698,12 +55440,16 @@ export declare const AaveLoanInfoV2: {
|
|
|
55698
55440
|
readonly type: "function";
|
|
55699
55441
|
}, {
|
|
55700
55442
|
readonly inputs: readonly [{
|
|
55443
|
+
readonly internalType: "contract IAaveProtocolDataProviderV2";
|
|
55444
|
+
readonly name: "_dataProvider";
|
|
55445
|
+
readonly type: "address";
|
|
55446
|
+
}, {
|
|
55701
55447
|
readonly internalType: "address";
|
|
55702
|
-
readonly name: "
|
|
55448
|
+
readonly name: "_priceOracleAddress";
|
|
55703
55449
|
readonly type: "address";
|
|
55704
55450
|
}, {
|
|
55705
55451
|
readonly internalType: "address";
|
|
55706
|
-
readonly name: "
|
|
55452
|
+
readonly name: "_token";
|
|
55707
55453
|
readonly type: "address";
|
|
55708
55454
|
}];
|
|
55709
55455
|
readonly name: "getTokenInfoFull";
|
|
@@ -55716,10 +55462,6 @@ export declare const AaveLoanInfoV2: {
|
|
|
55716
55462
|
readonly internalType: "address";
|
|
55717
55463
|
readonly name: "underlyingTokenAddress";
|
|
55718
55464
|
readonly type: "address";
|
|
55719
|
-
}, {
|
|
55720
|
-
readonly internalType: "uint16";
|
|
55721
|
-
readonly name: "assetId";
|
|
55722
|
-
readonly type: "uint16";
|
|
55723
55465
|
}, {
|
|
55724
55466
|
readonly internalType: "uint256";
|
|
55725
55467
|
readonly name: "supplyRate";
|
|
@@ -55744,14 +55486,6 @@ export declare const AaveLoanInfoV2: {
|
|
|
55744
55486
|
readonly internalType: "uint256";
|
|
55745
55487
|
readonly name: "totalBorrow";
|
|
55746
55488
|
readonly type: "uint256";
|
|
55747
|
-
}, {
|
|
55748
|
-
readonly internalType: "uint256";
|
|
55749
|
-
readonly name: "totalBorrowVar";
|
|
55750
|
-
readonly type: "uint256";
|
|
55751
|
-
}, {
|
|
55752
|
-
readonly internalType: "uint256";
|
|
55753
|
-
readonly name: "totalBorrowStab";
|
|
55754
|
-
readonly type: "uint256";
|
|
55755
55489
|
}, {
|
|
55756
55490
|
readonly internalType: "uint256";
|
|
55757
55491
|
readonly name: "collateralFactor";
|
|
@@ -55766,90 +55500,34 @@ export declare const AaveLoanInfoV2: {
|
|
|
55766
55500
|
readonly type: "uint256";
|
|
55767
55501
|
}, {
|
|
55768
55502
|
readonly internalType: "uint256";
|
|
55769
|
-
readonly name: "
|
|
55770
|
-
readonly type: "uint256";
|
|
55771
|
-
}, {
|
|
55772
|
-
readonly internalType: "uint256";
|
|
55773
|
-
readonly name: "borrowCap";
|
|
55774
|
-
readonly type: "uint256";
|
|
55775
|
-
}, {
|
|
55776
|
-
readonly internalType: "uint256";
|
|
55777
|
-
readonly name: "emodeCategory";
|
|
55778
|
-
readonly type: "uint256";
|
|
55779
|
-
}, {
|
|
55780
|
-
readonly internalType: "uint256";
|
|
55781
|
-
readonly name: "debtCeilingForIsolationMode";
|
|
55503
|
+
readonly name: "totalBorrowVar";
|
|
55782
55504
|
readonly type: "uint256";
|
|
55783
55505
|
}, {
|
|
55784
55506
|
readonly internalType: "uint256";
|
|
55785
|
-
readonly name: "
|
|
55507
|
+
readonly name: "totalBorrowStab";
|
|
55786
55508
|
readonly type: "uint256";
|
|
55787
55509
|
}, {
|
|
55788
55510
|
readonly internalType: "bool";
|
|
55789
|
-
readonly name: "
|
|
55790
|
-
readonly type: "bool";
|
|
55791
|
-
}, {
|
|
55792
|
-
readonly internalType: "bool";
|
|
55793
|
-
readonly name: "borrowingEnabled";
|
|
55794
|
-
readonly type: "bool";
|
|
55795
|
-
}, {
|
|
55796
|
-
readonly internalType: "bool";
|
|
55797
|
-
readonly name: "stableBorrowRateEnabled";
|
|
55798
|
-
readonly type: "bool";
|
|
55799
|
-
}, {
|
|
55800
|
-
readonly internalType: "bool";
|
|
55801
|
-
readonly name: "isolationModeBorrowingEnabled";
|
|
55511
|
+
readonly name: "isActive";
|
|
55802
55512
|
readonly type: "bool";
|
|
55803
55513
|
}, {
|
|
55804
55514
|
readonly internalType: "bool";
|
|
55805
|
-
readonly name: "
|
|
55806
|
-
readonly type: "bool";
|
|
55807
|
-
}, {
|
|
55808
|
-
readonly internalType: "uint256";
|
|
55809
|
-
readonly name: "eModeCollateralFactor";
|
|
55810
|
-
readonly type: "uint256";
|
|
55811
|
-
}, {
|
|
55812
|
-
readonly internalType: "bool";
|
|
55813
|
-
readonly name: "isFlashLoanEnabled";
|
|
55515
|
+
readonly name: "isFrozen";
|
|
55814
55516
|
readonly type: "bool";
|
|
55815
|
-
}, {
|
|
55816
|
-
readonly internalType: "uint16";
|
|
55817
|
-
readonly name: "ltv";
|
|
55818
|
-
readonly type: "uint16";
|
|
55819
|
-
}, {
|
|
55820
|
-
readonly internalType: "uint16";
|
|
55821
|
-
readonly name: "liquidationThreshold";
|
|
55822
|
-
readonly type: "uint16";
|
|
55823
|
-
}, {
|
|
55824
|
-
readonly internalType: "uint16";
|
|
55825
|
-
readonly name: "liquidationBonus";
|
|
55826
|
-
readonly type: "uint16";
|
|
55827
|
-
}, {
|
|
55828
|
-
readonly internalType: "address";
|
|
55829
|
-
readonly name: "priceSource";
|
|
55830
|
-
readonly type: "address";
|
|
55831
|
-
}, {
|
|
55832
|
-
readonly internalType: "string";
|
|
55833
|
-
readonly name: "label";
|
|
55834
|
-
readonly type: "string";
|
|
55835
55517
|
}, {
|
|
55836
55518
|
readonly internalType: "bool";
|
|
55837
|
-
readonly name: "
|
|
55519
|
+
readonly name: "usageAsCollateralEnabled";
|
|
55838
55520
|
readonly type: "bool";
|
|
55839
55521
|
}, {
|
|
55840
55522
|
readonly internalType: "bool";
|
|
55841
|
-
readonly name: "
|
|
55523
|
+
readonly name: "borrowingEnabled";
|
|
55842
55524
|
readonly type: "bool";
|
|
55843
55525
|
}, {
|
|
55844
55526
|
readonly internalType: "bool";
|
|
55845
|
-
readonly name: "
|
|
55527
|
+
readonly name: "stableBorrowRateEnabled";
|
|
55846
55528
|
readonly type: "bool";
|
|
55847
|
-
}, {
|
|
55848
|
-
readonly internalType: "address";
|
|
55849
|
-
readonly name: "debtTokenAddress";
|
|
55850
|
-
readonly type: "address";
|
|
55851
55529
|
}];
|
|
55852
|
-
readonly internalType: "struct
|
|
55530
|
+
readonly internalType: "struct AaveView.TokenInfoFull";
|
|
55853
55531
|
readonly name: "_tokenInfo";
|
|
55854
55532
|
readonly type: "tuple";
|
|
55855
55533
|
}];
|
|
@@ -55884,7 +55562,7 @@ export declare const AaveLoanInfoV2: {
|
|
|
55884
55562
|
readonly name: "price";
|
|
55885
55563
|
readonly type: "uint256";
|
|
55886
55564
|
}];
|
|
55887
|
-
readonly internalType: "struct
|
|
55565
|
+
readonly internalType: "struct AaveView.TokenInfo[]";
|
|
55888
55566
|
readonly name: "tokens";
|
|
55889
55567
|
readonly type: "tuple[]";
|
|
55890
55568
|
}];
|
|
@@ -55893,21 +55571,21 @@ export declare const AaveLoanInfoV2: {
|
|
|
55893
55571
|
}, {
|
|
55894
55572
|
readonly inputs: readonly [{
|
|
55895
55573
|
readonly internalType: "address";
|
|
55896
|
-
readonly name: "
|
|
55574
|
+
readonly name: "_user";
|
|
55897
55575
|
readonly type: "address";
|
|
55898
55576
|
}];
|
|
55899
|
-
readonly name: "
|
|
55577
|
+
readonly name: "getUserUnclaimedRewards";
|
|
55900
55578
|
readonly outputs: readonly [{
|
|
55901
|
-
readonly internalType: "
|
|
55579
|
+
readonly internalType: "uint256";
|
|
55902
55580
|
readonly name: "";
|
|
55903
|
-
readonly type: "
|
|
55581
|
+
readonly type: "uint256";
|
|
55904
55582
|
}];
|
|
55905
55583
|
readonly stateMutability: "view";
|
|
55906
55584
|
readonly type: "function";
|
|
55907
55585
|
}];
|
|
55908
55586
|
readonly networks: {
|
|
55909
55587
|
readonly "1": {
|
|
55910
|
-
readonly address: "
|
|
55588
|
+
readonly address: "0x792c56838Ab06015da7E298e4bD2Cc31248a18Aa";
|
|
55911
55589
|
readonly createdBlock: 20368468;
|
|
55912
55590
|
readonly oldVersions: {
|
|
55913
55591
|
readonly "11374778": {
|