@defisaver/positions-sdk 2.1.63 → 21.6.3-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 +408 -104
- package/cjs/config/contracts.js +2 -2
- package/cjs/contracts.d.ts +9298 -7586
- package/esm/config/contracts.d.ts +408 -104
- package/esm/config/contracts.js +2 -2
- package/esm/contracts.d.ts +9298 -7586
- package/package.json +1 -1
- package/src/config/contracts.ts +2 -2
|
@@ -54981,32 +54981,69 @@ 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
|
-
|
|
54984
|
+
readonly inputs: readonly [{
|
|
54985
|
+
readonly internalType: "address";
|
|
54986
|
+
readonly name: "_umbrella";
|
|
54987
|
+
readonly type: "address";
|
|
54988
|
+
}, {
|
|
54989
|
+
readonly internalType: "address";
|
|
54990
|
+
readonly name: "_user";
|
|
54989
54991
|
readonly type: "address";
|
|
54990
54992
|
}];
|
|
54991
|
-
readonly
|
|
54992
|
-
readonly type: "function";
|
|
54993
|
-
}, {
|
|
54994
|
-
readonly inputs: readonly [];
|
|
54995
|
-
readonly name: "DATA_PROVIDER_ID";
|
|
54996
|
-
readonly outputs: readonly [{
|
|
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";
|
|
54993
|
+
readonly name: "getAdditionalUmbrellaStakingData";
|
|
55006
54994
|
readonly outputs: readonly [{
|
|
55007
|
-
readonly
|
|
55008
|
-
|
|
55009
|
-
|
|
54995
|
+
readonly components: readonly [{
|
|
54996
|
+
readonly internalType: "address";
|
|
54997
|
+
readonly name: "stkToken";
|
|
54998
|
+
readonly type: "address";
|
|
54999
|
+
}, {
|
|
55000
|
+
readonly internalType: "uint256";
|
|
55001
|
+
readonly name: "totalShares";
|
|
55002
|
+
readonly type: "uint256";
|
|
55003
|
+
}, {
|
|
55004
|
+
readonly internalType: "address";
|
|
55005
|
+
readonly name: "stkUnderlyingToken";
|
|
55006
|
+
readonly type: "address";
|
|
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[]";
|
|
55010
55047
|
}];
|
|
55011
55048
|
readonly stateMutability: "view";
|
|
55012
55049
|
readonly type: "function";
|
|
@@ -55015,18 +55052,39 @@ export declare const AaveLoanInfoV2: {
|
|
|
55015
55052
|
readonly internalType: "address";
|
|
55016
55053
|
readonly name: "_market";
|
|
55017
55054
|
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";
|
|
55026
55055
|
}];
|
|
55027
|
-
readonly name: "
|
|
55028
|
-
readonly outputs: readonly [
|
|
55029
|
-
|
|
55056
|
+
readonly name: "getAllEmodes";
|
|
55057
|
+
readonly outputs: readonly [{
|
|
55058
|
+
readonly components: readonly [{
|
|
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";
|
|
55030
55088
|
readonly type: "function";
|
|
55031
55089
|
}, {
|
|
55032
55090
|
readonly inputs: readonly [{
|
|
@@ -55051,7 +55109,7 @@ export declare const AaveLoanInfoV2: {
|
|
|
55051
55109
|
readonly name: "isDebtAsset";
|
|
55052
55110
|
readonly type: "bool";
|
|
55053
55111
|
}];
|
|
55054
|
-
readonly internalType: "struct
|
|
55112
|
+
readonly internalType: "struct AaveV3View.LiquidityChangeParams[]";
|
|
55055
55113
|
readonly name: "_reserveParams";
|
|
55056
55114
|
readonly type: "tuple[]";
|
|
55057
55115
|
}];
|
|
@@ -55070,12 +55128,30 @@ export declare const AaveLoanInfoV2: {
|
|
|
55070
55128
|
readonly name: "variableBorrowRate";
|
|
55071
55129
|
readonly type: "uint256";
|
|
55072
55130
|
}];
|
|
55073
|
-
readonly internalType: "struct
|
|
55131
|
+
readonly internalType: "struct AaveV3View.EstimatedRates[]";
|
|
55074
55132
|
readonly name: "";
|
|
55075
55133
|
readonly type: "tuple[]";
|
|
55076
55134
|
}];
|
|
55077
55135
|
readonly stateMutability: "view";
|
|
55078
55136
|
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";
|
|
55079
55155
|
}, {
|
|
55080
55156
|
readonly inputs: readonly [{
|
|
55081
55157
|
readonly internalType: "address";
|
|
@@ -55094,6 +55170,67 @@ export declare const AaveLoanInfoV2: {
|
|
|
55094
55170
|
}];
|
|
55095
55171
|
readonly stateMutability: "view";
|
|
55096
55172
|
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";
|
|
55097
55234
|
}, {
|
|
55098
55235
|
readonly inputs: readonly [{
|
|
55099
55236
|
readonly internalType: "address";
|
|
@@ -55114,6 +55251,10 @@ export declare const AaveLoanInfoV2: {
|
|
|
55114
55251
|
readonly internalType: "address";
|
|
55115
55252
|
readonly name: "underlyingTokenAddress";
|
|
55116
55253
|
readonly type: "address";
|
|
55254
|
+
}, {
|
|
55255
|
+
readonly internalType: "uint16";
|
|
55256
|
+
readonly name: "assetId";
|
|
55257
|
+
readonly type: "uint16";
|
|
55117
55258
|
}, {
|
|
55118
55259
|
readonly internalType: "uint256";
|
|
55119
55260
|
readonly name: "supplyRate";
|
|
@@ -55138,6 +55279,14 @@ export declare const AaveLoanInfoV2: {
|
|
|
55138
55279
|
readonly internalType: "uint256";
|
|
55139
55280
|
readonly name: "totalBorrow";
|
|
55140
55281
|
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";
|
|
55141
55290
|
}, {
|
|
55142
55291
|
readonly internalType: "uint256";
|
|
55143
55292
|
readonly name: "collateralFactor";
|
|
@@ -55152,34 +55301,90 @@ export declare const AaveLoanInfoV2: {
|
|
|
55152
55301
|
readonly type: "uint256";
|
|
55153
55302
|
}, {
|
|
55154
55303
|
readonly internalType: "uint256";
|
|
55155
|
-
readonly name: "
|
|
55304
|
+
readonly name: "supplyCap";
|
|
55156
55305
|
readonly type: "uint256";
|
|
55157
55306
|
}, {
|
|
55158
55307
|
readonly internalType: "uint256";
|
|
55159
|
-
readonly name: "
|
|
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";
|
|
55317
|
+
readonly type: "uint256";
|
|
55318
|
+
}, {
|
|
55319
|
+
readonly internalType: "uint256";
|
|
55320
|
+
readonly name: "isolationModeTotalDebt";
|
|
55160
55321
|
readonly type: "uint256";
|
|
55161
55322
|
}, {
|
|
55162
55323
|
readonly internalType: "bool";
|
|
55163
|
-
readonly name: "
|
|
55324
|
+
readonly name: "usageAsCollateralEnabled";
|
|
55164
55325
|
readonly type: "bool";
|
|
55165
55326
|
}, {
|
|
55166
55327
|
readonly internalType: "bool";
|
|
55167
|
-
readonly name: "
|
|
55328
|
+
readonly name: "borrowingEnabled";
|
|
55168
55329
|
readonly type: "bool";
|
|
55169
55330
|
}, {
|
|
55170
55331
|
readonly internalType: "bool";
|
|
55171
|
-
readonly name: "
|
|
55332
|
+
readonly name: "stableBorrowRateEnabled";
|
|
55172
55333
|
readonly type: "bool";
|
|
55173
55334
|
}, {
|
|
55174
55335
|
readonly internalType: "bool";
|
|
55175
|
-
readonly name: "
|
|
55336
|
+
readonly name: "isolationModeBorrowingEnabled";
|
|
55176
55337
|
readonly type: "bool";
|
|
55177
55338
|
}, {
|
|
55178
55339
|
readonly internalType: "bool";
|
|
55179
|
-
readonly name: "
|
|
55340
|
+
readonly name: "isSiloedForBorrowing";
|
|
55180
55341
|
readonly type: "bool";
|
|
55342
|
+
}, {
|
|
55343
|
+
readonly internalType: "uint256";
|
|
55344
|
+
readonly name: "eModeCollateralFactor";
|
|
55345
|
+
readonly type: "uint256";
|
|
55346
|
+
}, {
|
|
55347
|
+
readonly internalType: "bool";
|
|
55348
|
+
readonly name: "isFlashLoanEnabled";
|
|
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";
|
|
55373
|
+
readonly type: "bool";
|
|
55374
|
+
}, {
|
|
55375
|
+
readonly internalType: "bool";
|
|
55376
|
+
readonly name: "isPaused";
|
|
55377
|
+
readonly type: "bool";
|
|
55378
|
+
}, {
|
|
55379
|
+
readonly internalType: "bool";
|
|
55380
|
+
readonly name: "isFrozen";
|
|
55381
|
+
readonly type: "bool";
|
|
55382
|
+
}, {
|
|
55383
|
+
readonly internalType: "address";
|
|
55384
|
+
readonly name: "debtTokenAddress";
|
|
55385
|
+
readonly type: "address";
|
|
55181
55386
|
}];
|
|
55182
|
-
readonly internalType: "struct
|
|
55387
|
+
readonly internalType: "struct AaveV3View.TokenInfoFull[]";
|
|
55183
55388
|
readonly name: "tokens";
|
|
55184
55389
|
readonly type: "tuple[]";
|
|
55185
55390
|
}];
|
|
@@ -55187,18 +55392,18 @@ export declare const AaveLoanInfoV2: {
|
|
|
55187
55392
|
readonly type: "function";
|
|
55188
55393
|
}, {
|
|
55189
55394
|
readonly inputs: readonly [{
|
|
55190
|
-
readonly internalType: "address
|
|
55191
|
-
readonly name: "
|
|
55192
|
-
readonly type: "address
|
|
55395
|
+
readonly internalType: "address";
|
|
55396
|
+
readonly name: "_market";
|
|
55397
|
+
readonly type: "address";
|
|
55193
55398
|
}, {
|
|
55194
55399
|
readonly internalType: "address";
|
|
55195
55400
|
readonly name: "_user";
|
|
55196
55401
|
readonly type: "address";
|
|
55197
55402
|
}];
|
|
55198
|
-
readonly name: "
|
|
55403
|
+
readonly name: "getHealthFactor";
|
|
55199
55404
|
readonly outputs: readonly [{
|
|
55200
55405
|
readonly internalType: "uint256";
|
|
55201
|
-
readonly name: "";
|
|
55406
|
+
readonly name: "healthFactor";
|
|
55202
55407
|
readonly type: "uint256";
|
|
55203
55408
|
}];
|
|
55204
55409
|
readonly stateMutability: "view";
|
|
@@ -55223,6 +55428,10 @@ export declare const AaveLoanInfoV2: {
|
|
|
55223
55428
|
readonly internalType: "uint128";
|
|
55224
55429
|
readonly name: "ratio";
|
|
55225
55430
|
readonly type: "uint128";
|
|
55431
|
+
}, {
|
|
55432
|
+
readonly internalType: "uint256";
|
|
55433
|
+
readonly name: "eMode";
|
|
55434
|
+
readonly type: "uint256";
|
|
55226
55435
|
}, {
|
|
55227
55436
|
readonly internalType: "address[]";
|
|
55228
55437
|
readonly name: "collAddr";
|
|
@@ -55247,8 +55456,28 @@ export declare const AaveLoanInfoV2: {
|
|
|
55247
55456
|
readonly internalType: "uint256[]";
|
|
55248
55457
|
readonly name: "borrowVariableAmounts";
|
|
55249
55458
|
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";
|
|
55250
55479
|
}];
|
|
55251
|
-
readonly internalType: "struct
|
|
55480
|
+
readonly internalType: "struct AaveV3View.LoanData";
|
|
55252
55481
|
readonly name: "data";
|
|
55253
55482
|
readonly type: "tuple";
|
|
55254
55483
|
}];
|
|
@@ -55274,6 +55503,10 @@ export declare const AaveLoanInfoV2: {
|
|
|
55274
55503
|
readonly internalType: "uint128";
|
|
55275
55504
|
readonly name: "ratio";
|
|
55276
55505
|
readonly type: "uint128";
|
|
55506
|
+
}, {
|
|
55507
|
+
readonly internalType: "uint256";
|
|
55508
|
+
readonly name: "eMode";
|
|
55509
|
+
readonly type: "uint256";
|
|
55277
55510
|
}, {
|
|
55278
55511
|
readonly internalType: "address[]";
|
|
55279
55512
|
readonly name: "collAddr";
|
|
@@ -55298,13 +55531,52 @@ export declare const AaveLoanInfoV2: {
|
|
|
55298
55531
|
readonly internalType: "uint256[]";
|
|
55299
55532
|
readonly name: "borrowVariableAmounts";
|
|
55300
55533
|
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";
|
|
55301
55554
|
}];
|
|
55302
|
-
readonly internalType: "struct
|
|
55555
|
+
readonly internalType: "struct AaveV3View.LoanData[]";
|
|
55303
55556
|
readonly name: "loans";
|
|
55304
55557
|
readonly type: "tuple[]";
|
|
55305
55558
|
}];
|
|
55306
55559
|
readonly stateMutability: "view";
|
|
55307
55560
|
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";
|
|
55308
55580
|
}, {
|
|
55309
55581
|
readonly inputs: readonly [{
|
|
55310
55582
|
readonly internalType: "address";
|
|
@@ -55377,20 +55649,6 @@ export declare const AaveLoanInfoV2: {
|
|
|
55377
55649
|
}];
|
|
55378
55650
|
readonly stateMutability: "view";
|
|
55379
55651
|
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";
|
|
55394
55652
|
}, {
|
|
55395
55653
|
readonly inputs: readonly [{
|
|
55396
55654
|
readonly internalType: "address";
|
|
@@ -55432,7 +55690,7 @@ export declare const AaveLoanInfoV2: {
|
|
|
55432
55690
|
readonly name: "enabledAsCollateral";
|
|
55433
55691
|
readonly type: "bool";
|
|
55434
55692
|
}];
|
|
55435
|
-
readonly internalType: "struct
|
|
55693
|
+
readonly internalType: "struct AaveV3View.UserToken[]";
|
|
55436
55694
|
readonly name: "userTokens";
|
|
55437
55695
|
readonly type: "tuple[]";
|
|
55438
55696
|
}];
|
|
@@ -55440,16 +55698,12 @@ export declare const AaveLoanInfoV2: {
|
|
|
55440
55698
|
readonly type: "function";
|
|
55441
55699
|
}, {
|
|
55442
55700
|
readonly inputs: readonly [{
|
|
55443
|
-
readonly internalType: "contract IAaveProtocolDataProviderV2";
|
|
55444
|
-
readonly name: "_dataProvider";
|
|
55445
|
-
readonly type: "address";
|
|
55446
|
-
}, {
|
|
55447
55701
|
readonly internalType: "address";
|
|
55448
|
-
readonly name: "
|
|
55702
|
+
readonly name: "_market";
|
|
55449
55703
|
readonly type: "address";
|
|
55450
55704
|
}, {
|
|
55451
55705
|
readonly internalType: "address";
|
|
55452
|
-
readonly name: "
|
|
55706
|
+
readonly name: "_tokenAddr";
|
|
55453
55707
|
readonly type: "address";
|
|
55454
55708
|
}];
|
|
55455
55709
|
readonly name: "getTokenInfoFull";
|
|
@@ -55462,6 +55716,10 @@ export declare const AaveLoanInfoV2: {
|
|
|
55462
55716
|
readonly internalType: "address";
|
|
55463
55717
|
readonly name: "underlyingTokenAddress";
|
|
55464
55718
|
readonly type: "address";
|
|
55719
|
+
}, {
|
|
55720
|
+
readonly internalType: "uint16";
|
|
55721
|
+
readonly name: "assetId";
|
|
55722
|
+
readonly type: "uint16";
|
|
55465
55723
|
}, {
|
|
55466
55724
|
readonly internalType: "uint256";
|
|
55467
55725
|
readonly name: "supplyRate";
|
|
@@ -55486,6 +55744,14 @@ export declare const AaveLoanInfoV2: {
|
|
|
55486
55744
|
readonly internalType: "uint256";
|
|
55487
55745
|
readonly name: "totalBorrow";
|
|
55488
55746
|
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";
|
|
55489
55755
|
}, {
|
|
55490
55756
|
readonly internalType: "uint256";
|
|
55491
55757
|
readonly name: "collateralFactor";
|
|
@@ -55500,34 +55766,90 @@ export declare const AaveLoanInfoV2: {
|
|
|
55500
55766
|
readonly type: "uint256";
|
|
55501
55767
|
}, {
|
|
55502
55768
|
readonly internalType: "uint256";
|
|
55503
|
-
readonly name: "
|
|
55769
|
+
readonly name: "supplyCap";
|
|
55504
55770
|
readonly type: "uint256";
|
|
55505
55771
|
}, {
|
|
55506
55772
|
readonly internalType: "uint256";
|
|
55507
|
-
readonly name: "
|
|
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";
|
|
55782
|
+
readonly type: "uint256";
|
|
55783
|
+
}, {
|
|
55784
|
+
readonly internalType: "uint256";
|
|
55785
|
+
readonly name: "isolationModeTotalDebt";
|
|
55508
55786
|
readonly type: "uint256";
|
|
55509
55787
|
}, {
|
|
55510
55788
|
readonly internalType: "bool";
|
|
55511
|
-
readonly name: "
|
|
55789
|
+
readonly name: "usageAsCollateralEnabled";
|
|
55512
55790
|
readonly type: "bool";
|
|
55513
55791
|
}, {
|
|
55514
55792
|
readonly internalType: "bool";
|
|
55515
|
-
readonly name: "
|
|
55793
|
+
readonly name: "borrowingEnabled";
|
|
55516
55794
|
readonly type: "bool";
|
|
55517
55795
|
}, {
|
|
55518
55796
|
readonly internalType: "bool";
|
|
55519
|
-
readonly name: "
|
|
55797
|
+
readonly name: "stableBorrowRateEnabled";
|
|
55520
55798
|
readonly type: "bool";
|
|
55521
55799
|
}, {
|
|
55522
55800
|
readonly internalType: "bool";
|
|
55523
|
-
readonly name: "
|
|
55801
|
+
readonly name: "isolationModeBorrowingEnabled";
|
|
55524
55802
|
readonly type: "bool";
|
|
55525
55803
|
}, {
|
|
55526
55804
|
readonly internalType: "bool";
|
|
55527
|
-
readonly name: "
|
|
55805
|
+
readonly name: "isSiloedForBorrowing";
|
|
55528
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";
|
|
55814
|
+
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
|
+
}, {
|
|
55836
|
+
readonly internalType: "bool";
|
|
55837
|
+
readonly name: "isActive";
|
|
55838
|
+
readonly type: "bool";
|
|
55839
|
+
}, {
|
|
55840
|
+
readonly internalType: "bool";
|
|
55841
|
+
readonly name: "isPaused";
|
|
55842
|
+
readonly type: "bool";
|
|
55843
|
+
}, {
|
|
55844
|
+
readonly internalType: "bool";
|
|
55845
|
+
readonly name: "isFrozen";
|
|
55846
|
+
readonly type: "bool";
|
|
55847
|
+
}, {
|
|
55848
|
+
readonly internalType: "address";
|
|
55849
|
+
readonly name: "debtTokenAddress";
|
|
55850
|
+
readonly type: "address";
|
|
55529
55851
|
}];
|
|
55530
|
-
readonly internalType: "struct
|
|
55852
|
+
readonly internalType: "struct AaveV3View.TokenInfoFull";
|
|
55531
55853
|
readonly name: "_tokenInfo";
|
|
55532
55854
|
readonly type: "tuple";
|
|
55533
55855
|
}];
|
|
@@ -55562,7 +55884,7 @@ export declare const AaveLoanInfoV2: {
|
|
|
55562
55884
|
readonly name: "price";
|
|
55563
55885
|
readonly type: "uint256";
|
|
55564
55886
|
}];
|
|
55565
|
-
readonly internalType: "struct
|
|
55887
|
+
readonly internalType: "struct AaveV3View.TokenInfo[]";
|
|
55566
55888
|
readonly name: "tokens";
|
|
55567
55889
|
readonly type: "tuple[]";
|
|
55568
55890
|
}];
|
|
@@ -55571,39 +55893,21 @@ export declare const AaveLoanInfoV2: {
|
|
|
55571
55893
|
}, {
|
|
55572
55894
|
readonly inputs: readonly [{
|
|
55573
55895
|
readonly internalType: "address";
|
|
55574
|
-
readonly name: "
|
|
55896
|
+
readonly name: "_market";
|
|
55575
55897
|
readonly type: "address";
|
|
55576
55898
|
}];
|
|
55577
|
-
readonly name: "
|
|
55899
|
+
readonly name: "isBorrowAllowed";
|
|
55578
55900
|
readonly outputs: readonly [{
|
|
55579
|
-
readonly internalType: "
|
|
55901
|
+
readonly internalType: "bool";
|
|
55580
55902
|
readonly name: "";
|
|
55581
|
-
readonly type: "
|
|
55903
|
+
readonly type: "bool";
|
|
55582
55904
|
}];
|
|
55583
55905
|
readonly stateMutability: "view";
|
|
55584
55906
|
readonly type: "function";
|
|
55585
|
-
}, {
|
|
55586
|
-
readonly inputs: readonly [{
|
|
55587
|
-
readonly internalType: "address";
|
|
55588
|
-
readonly name: "_market";
|
|
55589
|
-
readonly type: "address";
|
|
55590
|
-
}, {
|
|
55591
|
-
readonly internalType: "address";
|
|
55592
|
-
readonly name: "_tokenAddr";
|
|
55593
|
-
readonly type: "address";
|
|
55594
|
-
}, {
|
|
55595
|
-
readonly internalType: "uint256";
|
|
55596
|
-
readonly name: "_rateMode";
|
|
55597
|
-
readonly type: "uint256";
|
|
55598
|
-
}];
|
|
55599
|
-
readonly name: "switchRateMode";
|
|
55600
|
-
readonly outputs: readonly [];
|
|
55601
|
-
readonly stateMutability: "nonpayable";
|
|
55602
|
-
readonly type: "function";
|
|
55603
55907
|
}];
|
|
55604
55908
|
readonly networks: {
|
|
55605
55909
|
readonly "1": {
|
|
55606
|
-
readonly address: "
|
|
55910
|
+
readonly address: "0xF70A0ef3ea72Ca9506055aC21A87DfC400ec2bC3";
|
|
55607
55911
|
readonly createdBlock: 20368468;
|
|
55608
55912
|
readonly oldVersions: {
|
|
55609
55913
|
readonly "11374778": {
|