@defisaver/positions-sdk 2.0.4 → 2.0.6
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 +1018 -16
- package/cjs/config/contracts.js +12 -4
- package/cjs/markets/aave/marketAssets.js +1 -1
- package/esm/config/contracts.d.ts +1018 -16
- package/esm/config/contracts.js +12 -4
- package/esm/markets/aave/marketAssets.js +1 -1
- package/package.json +1 -1
- package/src/config/contracts.ts +12 -4
- package/src/markets/aave/marketAssets.ts +1 -1
|
@@ -41101,9 +41101,510 @@ export declare const CompV3View: {
|
|
|
41101
41101
|
};
|
|
41102
41102
|
};
|
|
41103
41103
|
readonly "10": {
|
|
41104
|
-
readonly address: "
|
|
41105
|
-
readonly createdBlock:
|
|
41104
|
+
readonly address: "0xD135293F1b0493fAe154A8b9bA641DffA9fC7ea9";
|
|
41105
|
+
readonly createdBlock: 140050399;
|
|
41106
41106
|
readonly oldVersions: {
|
|
41107
|
+
readonly "123065172": {
|
|
41108
|
+
readonly abi: readonly [{
|
|
41109
|
+
readonly inputs: readonly [{
|
|
41110
|
+
readonly internalType: "address";
|
|
41111
|
+
readonly name: "_market";
|
|
41112
|
+
readonly type: "address";
|
|
41113
|
+
}, {
|
|
41114
|
+
readonly internalType: "address";
|
|
41115
|
+
readonly name: "_user";
|
|
41116
|
+
readonly type: "address";
|
|
41117
|
+
}, {
|
|
41118
|
+
readonly internalType: "uint256";
|
|
41119
|
+
readonly name: "_supplyAmount";
|
|
41120
|
+
readonly type: "uint256";
|
|
41121
|
+
}, {
|
|
41122
|
+
readonly internalType: "uint256";
|
|
41123
|
+
readonly name: "_borrowAmount";
|
|
41124
|
+
readonly type: "uint256";
|
|
41125
|
+
}];
|
|
41126
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
41127
|
+
readonly outputs: readonly [{
|
|
41128
|
+
readonly internalType: "uint256";
|
|
41129
|
+
readonly name: "utilization";
|
|
41130
|
+
readonly type: "uint256";
|
|
41131
|
+
}, {
|
|
41132
|
+
readonly internalType: "uint256";
|
|
41133
|
+
readonly name: "supplyRate";
|
|
41134
|
+
readonly type: "uint256";
|
|
41135
|
+
}, {
|
|
41136
|
+
readonly internalType: "uint256";
|
|
41137
|
+
readonly name: "borrowRate";
|
|
41138
|
+
readonly type: "uint256";
|
|
41139
|
+
}];
|
|
41140
|
+
readonly stateMutability: "view";
|
|
41141
|
+
readonly type: "function";
|
|
41142
|
+
}, {
|
|
41143
|
+
readonly inputs: readonly [{
|
|
41144
|
+
readonly internalType: "address";
|
|
41145
|
+
readonly name: "_market";
|
|
41146
|
+
readonly type: "address";
|
|
41147
|
+
}, {
|
|
41148
|
+
readonly internalType: "address";
|
|
41149
|
+
readonly name: "_tokenAddr";
|
|
41150
|
+
readonly type: "address";
|
|
41151
|
+
}];
|
|
41152
|
+
readonly name: "getAssetPrice";
|
|
41153
|
+
readonly outputs: readonly [{
|
|
41154
|
+
readonly internalType: "uint256";
|
|
41155
|
+
readonly name: "";
|
|
41156
|
+
readonly type: "uint256";
|
|
41157
|
+
}];
|
|
41158
|
+
readonly stateMutability: "view";
|
|
41159
|
+
readonly type: "function";
|
|
41160
|
+
}, {
|
|
41161
|
+
readonly inputs: readonly [{
|
|
41162
|
+
readonly internalType: "address";
|
|
41163
|
+
readonly name: "_market";
|
|
41164
|
+
readonly type: "address";
|
|
41165
|
+
}];
|
|
41166
|
+
readonly name: "getAssets";
|
|
41167
|
+
readonly outputs: readonly [{
|
|
41168
|
+
readonly components: readonly [{
|
|
41169
|
+
readonly internalType: "uint8";
|
|
41170
|
+
readonly name: "offset";
|
|
41171
|
+
readonly type: "uint8";
|
|
41172
|
+
}, {
|
|
41173
|
+
readonly internalType: "address";
|
|
41174
|
+
readonly name: "asset";
|
|
41175
|
+
readonly type: "address";
|
|
41176
|
+
}, {
|
|
41177
|
+
readonly internalType: "address";
|
|
41178
|
+
readonly name: "priceFeed";
|
|
41179
|
+
readonly type: "address";
|
|
41180
|
+
}, {
|
|
41181
|
+
readonly internalType: "uint64";
|
|
41182
|
+
readonly name: "scale";
|
|
41183
|
+
readonly type: "uint64";
|
|
41184
|
+
}, {
|
|
41185
|
+
readonly internalType: "uint64";
|
|
41186
|
+
readonly name: "borrowCollateralFactor";
|
|
41187
|
+
readonly type: "uint64";
|
|
41188
|
+
}, {
|
|
41189
|
+
readonly internalType: "uint64";
|
|
41190
|
+
readonly name: "liquidateCollateralFactor";
|
|
41191
|
+
readonly type: "uint64";
|
|
41192
|
+
}, {
|
|
41193
|
+
readonly internalType: "uint64";
|
|
41194
|
+
readonly name: "liquidationFactor";
|
|
41195
|
+
readonly type: "uint64";
|
|
41196
|
+
}, {
|
|
41197
|
+
readonly internalType: "uint128";
|
|
41198
|
+
readonly name: "supplyCap";
|
|
41199
|
+
readonly type: "uint128";
|
|
41200
|
+
}];
|
|
41201
|
+
readonly internalType: "struct IComet.AssetInfo[]";
|
|
41202
|
+
readonly name: "assets";
|
|
41203
|
+
readonly type: "tuple[]";
|
|
41204
|
+
}];
|
|
41205
|
+
readonly stateMutability: "view";
|
|
41206
|
+
readonly type: "function";
|
|
41207
|
+
}, {
|
|
41208
|
+
readonly inputs: readonly [{
|
|
41209
|
+
readonly internalType: "address";
|
|
41210
|
+
readonly name: "_market";
|
|
41211
|
+
readonly type: "address";
|
|
41212
|
+
}];
|
|
41213
|
+
readonly name: "getFullBaseTokenInfo";
|
|
41214
|
+
readonly outputs: readonly [{
|
|
41215
|
+
readonly components: readonly [{
|
|
41216
|
+
readonly internalType: "address";
|
|
41217
|
+
readonly name: "tokenAddr";
|
|
41218
|
+
readonly type: "address";
|
|
41219
|
+
}, {
|
|
41220
|
+
readonly internalType: "uint256";
|
|
41221
|
+
readonly name: "price";
|
|
41222
|
+
readonly type: "uint256";
|
|
41223
|
+
}, {
|
|
41224
|
+
readonly internalType: "uint256";
|
|
41225
|
+
readonly name: "supplyIndex";
|
|
41226
|
+
readonly type: "uint256";
|
|
41227
|
+
}, {
|
|
41228
|
+
readonly internalType: "uint256";
|
|
41229
|
+
readonly name: "borrowIndex";
|
|
41230
|
+
readonly type: "uint256";
|
|
41231
|
+
}, {
|
|
41232
|
+
readonly internalType: "uint256";
|
|
41233
|
+
readonly name: "trackingSupplyIndex";
|
|
41234
|
+
readonly type: "uint256";
|
|
41235
|
+
}, {
|
|
41236
|
+
readonly internalType: "uint256";
|
|
41237
|
+
readonly name: "trackingBorrowIndex";
|
|
41238
|
+
readonly type: "uint256";
|
|
41239
|
+
}, {
|
|
41240
|
+
readonly internalType: "uint256";
|
|
41241
|
+
readonly name: "supplyRate";
|
|
41242
|
+
readonly type: "uint256";
|
|
41243
|
+
}, {
|
|
41244
|
+
readonly internalType: "uint256";
|
|
41245
|
+
readonly name: "borrowRate";
|
|
41246
|
+
readonly type: "uint256";
|
|
41247
|
+
}, {
|
|
41248
|
+
readonly internalType: "uint256";
|
|
41249
|
+
readonly name: "totalSupply";
|
|
41250
|
+
readonly type: "uint256";
|
|
41251
|
+
}, {
|
|
41252
|
+
readonly internalType: "uint256";
|
|
41253
|
+
readonly name: "totalBorrow";
|
|
41254
|
+
readonly type: "uint256";
|
|
41255
|
+
}, {
|
|
41256
|
+
readonly internalType: "uint256";
|
|
41257
|
+
readonly name: "utilization";
|
|
41258
|
+
readonly type: "uint256";
|
|
41259
|
+
}, {
|
|
41260
|
+
readonly internalType: "uint256";
|
|
41261
|
+
readonly name: "baseBorrowMin";
|
|
41262
|
+
readonly type: "uint256";
|
|
41263
|
+
}, {
|
|
41264
|
+
readonly internalType: "uint256";
|
|
41265
|
+
readonly name: "baseTrackingBorrowRewardsSpeed";
|
|
41266
|
+
readonly type: "uint256";
|
|
41267
|
+
}, {
|
|
41268
|
+
readonly internalType: "uint256";
|
|
41269
|
+
readonly name: "baseTrackingSupplyRewardsSpeed";
|
|
41270
|
+
readonly type: "uint256";
|
|
41271
|
+
}];
|
|
41272
|
+
readonly internalType: "struct CompV3View.BaseTokenInfoFull";
|
|
41273
|
+
readonly name: "baseToken";
|
|
41274
|
+
readonly type: "tuple";
|
|
41275
|
+
}];
|
|
41276
|
+
readonly stateMutability: "view";
|
|
41277
|
+
readonly type: "function";
|
|
41278
|
+
}, {
|
|
41279
|
+
readonly inputs: readonly [{
|
|
41280
|
+
readonly internalType: "address";
|
|
41281
|
+
readonly name: "_market";
|
|
41282
|
+
readonly type: "address";
|
|
41283
|
+
}, {
|
|
41284
|
+
readonly internalType: "address";
|
|
41285
|
+
readonly name: "_tokenAddr";
|
|
41286
|
+
readonly type: "address";
|
|
41287
|
+
}];
|
|
41288
|
+
readonly name: "getFullCollInfo";
|
|
41289
|
+
readonly outputs: readonly [{
|
|
41290
|
+
readonly components: readonly [{
|
|
41291
|
+
readonly internalType: "address";
|
|
41292
|
+
readonly name: "tokenAddr";
|
|
41293
|
+
readonly type: "address";
|
|
41294
|
+
}, {
|
|
41295
|
+
readonly internalType: "uint256";
|
|
41296
|
+
readonly name: "totalSupply";
|
|
41297
|
+
readonly type: "uint256";
|
|
41298
|
+
}, {
|
|
41299
|
+
readonly internalType: "uint256";
|
|
41300
|
+
readonly name: "supplyReserved";
|
|
41301
|
+
readonly type: "uint256";
|
|
41302
|
+
}, {
|
|
41303
|
+
readonly internalType: "uint256";
|
|
41304
|
+
readonly name: "borrowCollateralFactor";
|
|
41305
|
+
readonly type: "uint256";
|
|
41306
|
+
}, {
|
|
41307
|
+
readonly internalType: "uint256";
|
|
41308
|
+
readonly name: "liquidateCollateralFactor";
|
|
41309
|
+
readonly type: "uint256";
|
|
41310
|
+
}, {
|
|
41311
|
+
readonly internalType: "uint256";
|
|
41312
|
+
readonly name: "liquidationFactor";
|
|
41313
|
+
readonly type: "uint256";
|
|
41314
|
+
}, {
|
|
41315
|
+
readonly internalType: "uint256";
|
|
41316
|
+
readonly name: "price";
|
|
41317
|
+
readonly type: "uint256";
|
|
41318
|
+
}, {
|
|
41319
|
+
readonly internalType: "uint256";
|
|
41320
|
+
readonly name: "supplyCap";
|
|
41321
|
+
readonly type: "uint256";
|
|
41322
|
+
}];
|
|
41323
|
+
readonly internalType: "struct CompV3View.CollateralInfoFull";
|
|
41324
|
+
readonly name: "coll";
|
|
41325
|
+
readonly type: "tuple";
|
|
41326
|
+
}];
|
|
41327
|
+
readonly stateMutability: "nonpayable";
|
|
41328
|
+
readonly type: "function";
|
|
41329
|
+
}, {
|
|
41330
|
+
readonly inputs: readonly [{
|
|
41331
|
+
readonly internalType: "address";
|
|
41332
|
+
readonly name: "_market";
|
|
41333
|
+
readonly type: "address";
|
|
41334
|
+
}];
|
|
41335
|
+
readonly name: "getFullCollInfos";
|
|
41336
|
+
readonly outputs: readonly [{
|
|
41337
|
+
readonly components: readonly [{
|
|
41338
|
+
readonly internalType: "address";
|
|
41339
|
+
readonly name: "tokenAddr";
|
|
41340
|
+
readonly type: "address";
|
|
41341
|
+
}, {
|
|
41342
|
+
readonly internalType: "uint256";
|
|
41343
|
+
readonly name: "totalSupply";
|
|
41344
|
+
readonly type: "uint256";
|
|
41345
|
+
}, {
|
|
41346
|
+
readonly internalType: "uint256";
|
|
41347
|
+
readonly name: "supplyReserved";
|
|
41348
|
+
readonly type: "uint256";
|
|
41349
|
+
}, {
|
|
41350
|
+
readonly internalType: "uint256";
|
|
41351
|
+
readonly name: "borrowCollateralFactor";
|
|
41352
|
+
readonly type: "uint256";
|
|
41353
|
+
}, {
|
|
41354
|
+
readonly internalType: "uint256";
|
|
41355
|
+
readonly name: "liquidateCollateralFactor";
|
|
41356
|
+
readonly type: "uint256";
|
|
41357
|
+
}, {
|
|
41358
|
+
readonly internalType: "uint256";
|
|
41359
|
+
readonly name: "liquidationFactor";
|
|
41360
|
+
readonly type: "uint256";
|
|
41361
|
+
}, {
|
|
41362
|
+
readonly internalType: "uint256";
|
|
41363
|
+
readonly name: "price";
|
|
41364
|
+
readonly type: "uint256";
|
|
41365
|
+
}, {
|
|
41366
|
+
readonly internalType: "uint256";
|
|
41367
|
+
readonly name: "supplyCap";
|
|
41368
|
+
readonly type: "uint256";
|
|
41369
|
+
}];
|
|
41370
|
+
readonly internalType: "struct CompV3View.CollateralInfoFull[]";
|
|
41371
|
+
readonly name: "colls";
|
|
41372
|
+
readonly type: "tuple[]";
|
|
41373
|
+
}];
|
|
41374
|
+
readonly stateMutability: "view";
|
|
41375
|
+
readonly type: "function";
|
|
41376
|
+
}, {
|
|
41377
|
+
readonly inputs: readonly [{
|
|
41378
|
+
readonly internalType: "address";
|
|
41379
|
+
readonly name: "_market";
|
|
41380
|
+
readonly type: "address";
|
|
41381
|
+
}];
|
|
41382
|
+
readonly name: "getGovernanceInfoFull";
|
|
41383
|
+
readonly outputs: readonly [{
|
|
41384
|
+
readonly components: readonly [{
|
|
41385
|
+
readonly internalType: "bool";
|
|
41386
|
+
readonly name: "isSupplyPaused";
|
|
41387
|
+
readonly type: "bool";
|
|
41388
|
+
}, {
|
|
41389
|
+
readonly internalType: "bool";
|
|
41390
|
+
readonly name: "isTransferPaused";
|
|
41391
|
+
readonly type: "bool";
|
|
41392
|
+
}, {
|
|
41393
|
+
readonly internalType: "bool";
|
|
41394
|
+
readonly name: "isWithdrawPaused";
|
|
41395
|
+
readonly type: "bool";
|
|
41396
|
+
}, {
|
|
41397
|
+
readonly internalType: "bool";
|
|
41398
|
+
readonly name: "isAbsorbPaused";
|
|
41399
|
+
readonly type: "bool";
|
|
41400
|
+
}];
|
|
41401
|
+
readonly internalType: "struct CompV3View.GovernanceInfoFull";
|
|
41402
|
+
readonly name: "govInfo";
|
|
41403
|
+
readonly type: "tuple";
|
|
41404
|
+
}];
|
|
41405
|
+
readonly stateMutability: "view";
|
|
41406
|
+
readonly type: "function";
|
|
41407
|
+
}, {
|
|
41408
|
+
readonly inputs: readonly [{
|
|
41409
|
+
readonly internalType: "address";
|
|
41410
|
+
readonly name: "_market";
|
|
41411
|
+
readonly type: "address";
|
|
41412
|
+
}, {
|
|
41413
|
+
readonly internalType: "address";
|
|
41414
|
+
readonly name: "_user";
|
|
41415
|
+
readonly type: "address";
|
|
41416
|
+
}];
|
|
41417
|
+
readonly name: "getLoanData";
|
|
41418
|
+
readonly outputs: readonly [{
|
|
41419
|
+
readonly components: readonly [{
|
|
41420
|
+
readonly internalType: "address";
|
|
41421
|
+
readonly name: "user";
|
|
41422
|
+
readonly type: "address";
|
|
41423
|
+
}, {
|
|
41424
|
+
readonly internalType: "address[]";
|
|
41425
|
+
readonly name: "collAddr";
|
|
41426
|
+
readonly type: "address[]";
|
|
41427
|
+
}, {
|
|
41428
|
+
readonly internalType: "uint256[]";
|
|
41429
|
+
readonly name: "collAmounts";
|
|
41430
|
+
readonly type: "uint256[]";
|
|
41431
|
+
}, {
|
|
41432
|
+
readonly internalType: "uint256";
|
|
41433
|
+
readonly name: "depositAmount";
|
|
41434
|
+
readonly type: "uint256";
|
|
41435
|
+
}, {
|
|
41436
|
+
readonly internalType: "uint256";
|
|
41437
|
+
readonly name: "depositValue";
|
|
41438
|
+
readonly type: "uint256";
|
|
41439
|
+
}, {
|
|
41440
|
+
readonly internalType: "uint256";
|
|
41441
|
+
readonly name: "borrowAmount";
|
|
41442
|
+
readonly type: "uint256";
|
|
41443
|
+
}, {
|
|
41444
|
+
readonly internalType: "uint256";
|
|
41445
|
+
readonly name: "borrowValue";
|
|
41446
|
+
readonly type: "uint256";
|
|
41447
|
+
}, {
|
|
41448
|
+
readonly internalType: "uint256";
|
|
41449
|
+
readonly name: "collValue";
|
|
41450
|
+
readonly type: "uint256";
|
|
41451
|
+
}];
|
|
41452
|
+
readonly internalType: "struct CompV3View.LoanData";
|
|
41453
|
+
readonly name: "data";
|
|
41454
|
+
readonly type: "tuple";
|
|
41455
|
+
}];
|
|
41456
|
+
readonly stateMutability: "view";
|
|
41457
|
+
readonly type: "function";
|
|
41458
|
+
}, {
|
|
41459
|
+
readonly inputs: readonly [{
|
|
41460
|
+
readonly internalType: "address";
|
|
41461
|
+
readonly name: "_market";
|
|
41462
|
+
readonly type: "address";
|
|
41463
|
+
}, {
|
|
41464
|
+
readonly internalType: "address[]";
|
|
41465
|
+
readonly name: "_users";
|
|
41466
|
+
readonly type: "address[]";
|
|
41467
|
+
}];
|
|
41468
|
+
readonly name: "getLoanDataArr";
|
|
41469
|
+
readonly outputs: readonly [{
|
|
41470
|
+
readonly components: readonly [{
|
|
41471
|
+
readonly internalType: "address";
|
|
41472
|
+
readonly name: "user";
|
|
41473
|
+
readonly type: "address";
|
|
41474
|
+
}, {
|
|
41475
|
+
readonly internalType: "address[]";
|
|
41476
|
+
readonly name: "collAddr";
|
|
41477
|
+
readonly type: "address[]";
|
|
41478
|
+
}, {
|
|
41479
|
+
readonly internalType: "uint256[]";
|
|
41480
|
+
readonly name: "collAmounts";
|
|
41481
|
+
readonly type: "uint256[]";
|
|
41482
|
+
}, {
|
|
41483
|
+
readonly internalType: "uint256";
|
|
41484
|
+
readonly name: "depositAmount";
|
|
41485
|
+
readonly type: "uint256";
|
|
41486
|
+
}, {
|
|
41487
|
+
readonly internalType: "uint256";
|
|
41488
|
+
readonly name: "depositValue";
|
|
41489
|
+
readonly type: "uint256";
|
|
41490
|
+
}, {
|
|
41491
|
+
readonly internalType: "uint256";
|
|
41492
|
+
readonly name: "borrowAmount";
|
|
41493
|
+
readonly type: "uint256";
|
|
41494
|
+
}, {
|
|
41495
|
+
readonly internalType: "uint256";
|
|
41496
|
+
readonly name: "borrowValue";
|
|
41497
|
+
readonly type: "uint256";
|
|
41498
|
+
}, {
|
|
41499
|
+
readonly internalType: "uint256";
|
|
41500
|
+
readonly name: "collValue";
|
|
41501
|
+
readonly type: "uint256";
|
|
41502
|
+
}];
|
|
41503
|
+
readonly internalType: "struct CompV3View.LoanData[]";
|
|
41504
|
+
readonly name: "loans";
|
|
41505
|
+
readonly type: "tuple[]";
|
|
41506
|
+
}];
|
|
41507
|
+
readonly stateMutability: "view";
|
|
41508
|
+
readonly type: "function";
|
|
41509
|
+
}, {
|
|
41510
|
+
readonly inputs: readonly [{
|
|
41511
|
+
readonly internalType: "address";
|
|
41512
|
+
readonly name: "_market";
|
|
41513
|
+
readonly type: "address";
|
|
41514
|
+
}, {
|
|
41515
|
+
readonly internalType: "address";
|
|
41516
|
+
readonly name: "_user";
|
|
41517
|
+
readonly type: "address";
|
|
41518
|
+
}];
|
|
41519
|
+
readonly name: "getRewardsOwed";
|
|
41520
|
+
readonly outputs: readonly [{
|
|
41521
|
+
readonly components: readonly [{
|
|
41522
|
+
readonly internalType: "address";
|
|
41523
|
+
readonly name: "token";
|
|
41524
|
+
readonly type: "address";
|
|
41525
|
+
}, {
|
|
41526
|
+
readonly internalType: "uint256";
|
|
41527
|
+
readonly name: "owed";
|
|
41528
|
+
readonly type: "uint256";
|
|
41529
|
+
}];
|
|
41530
|
+
readonly internalType: "struct ICometRewards.RewardOwed";
|
|
41531
|
+
readonly name: "rewardsOwed";
|
|
41532
|
+
readonly type: "tuple";
|
|
41533
|
+
}];
|
|
41534
|
+
readonly stateMutability: "nonpayable";
|
|
41535
|
+
readonly type: "function";
|
|
41536
|
+
}, {
|
|
41537
|
+
readonly inputs: readonly [{
|
|
41538
|
+
readonly components: readonly [{
|
|
41539
|
+
readonly internalType: "uint64";
|
|
41540
|
+
readonly name: "baseSupplyIndex";
|
|
41541
|
+
readonly type: "uint64";
|
|
41542
|
+
}, {
|
|
41543
|
+
readonly internalType: "uint64";
|
|
41544
|
+
readonly name: "baseBorrowIndex";
|
|
41545
|
+
readonly type: "uint64";
|
|
41546
|
+
}, {
|
|
41547
|
+
readonly internalType: "uint64";
|
|
41548
|
+
readonly name: "trackingSupplyIndex";
|
|
41549
|
+
readonly type: "uint64";
|
|
41550
|
+
}, {
|
|
41551
|
+
readonly internalType: "uint64";
|
|
41552
|
+
readonly name: "trackingBorrowIndex";
|
|
41553
|
+
readonly type: "uint64";
|
|
41554
|
+
}, {
|
|
41555
|
+
readonly internalType: "uint104";
|
|
41556
|
+
readonly name: "totalSupplyBase";
|
|
41557
|
+
readonly type: "uint104";
|
|
41558
|
+
}, {
|
|
41559
|
+
readonly internalType: "uint104";
|
|
41560
|
+
readonly name: "totalBorrowBase";
|
|
41561
|
+
readonly type: "uint104";
|
|
41562
|
+
}, {
|
|
41563
|
+
readonly internalType: "uint40";
|
|
41564
|
+
readonly name: "lastAccrualTime";
|
|
41565
|
+
readonly type: "uint40";
|
|
41566
|
+
}, {
|
|
41567
|
+
readonly internalType: "uint8";
|
|
41568
|
+
readonly name: "pauseFlags";
|
|
41569
|
+
readonly type: "uint8";
|
|
41570
|
+
}];
|
|
41571
|
+
readonly internalType: "struct IComet.TotalsBasic";
|
|
41572
|
+
readonly name: "totals";
|
|
41573
|
+
readonly type: "tuple";
|
|
41574
|
+
}];
|
|
41575
|
+
readonly name: "getUtilization";
|
|
41576
|
+
readonly outputs: readonly [{
|
|
41577
|
+
readonly internalType: "uint256";
|
|
41578
|
+
readonly name: "";
|
|
41579
|
+
readonly type: "uint256";
|
|
41580
|
+
}];
|
|
41581
|
+
readonly stateMutability: "pure";
|
|
41582
|
+
readonly type: "function";
|
|
41583
|
+
}, {
|
|
41584
|
+
readonly inputs: readonly [{
|
|
41585
|
+
readonly internalType: "address";
|
|
41586
|
+
readonly name: "_market";
|
|
41587
|
+
readonly type: "address";
|
|
41588
|
+
}, {
|
|
41589
|
+
readonly internalType: "address";
|
|
41590
|
+
readonly name: "_owner";
|
|
41591
|
+
readonly type: "address";
|
|
41592
|
+
}, {
|
|
41593
|
+
readonly internalType: "address";
|
|
41594
|
+
readonly name: "_manager";
|
|
41595
|
+
readonly type: "address";
|
|
41596
|
+
}];
|
|
41597
|
+
readonly name: "isAllowed";
|
|
41598
|
+
readonly outputs: readonly [{
|
|
41599
|
+
readonly internalType: "bool";
|
|
41600
|
+
readonly name: "";
|
|
41601
|
+
readonly type: "bool";
|
|
41602
|
+
}];
|
|
41603
|
+
readonly stateMutability: "view";
|
|
41604
|
+
readonly type: "function";
|
|
41605
|
+
}];
|
|
41606
|
+
readonly address: "0x2c88d93Ec06F404C67CD3d2df29084FAfe2C8605";
|
|
41607
|
+
};
|
|
41107
41608
|
readonly "118896497": {
|
|
41108
41609
|
readonly abi: readonly [{
|
|
41109
41610
|
readonly inputs: readonly [{
|
|
@@ -41522,16 +42023,476 @@ export declare const CompV3View: {
|
|
|
41522
42023
|
readonly stateMutability: "view";
|
|
41523
42024
|
readonly type: "function";
|
|
41524
42025
|
}];
|
|
41525
|
-
readonly address: "0x969d845618596787DBc64687Ee90b16931BBBCBC";
|
|
42026
|
+
readonly address: "0x969d845618596787DBc64687Ee90b16931BBBCBC";
|
|
42027
|
+
};
|
|
42028
|
+
};
|
|
42029
|
+
};
|
|
42030
|
+
readonly "8453": {
|
|
42031
|
+
readonly address: "0xa91a1E214049d97f5c0a2504f5e18744ebBad1Ea";
|
|
42032
|
+
readonly createdBlock: 17470001;
|
|
42033
|
+
readonly oldVersions: {
|
|
42034
|
+
readonly "4172377": {
|
|
42035
|
+
readonly abi: readonly [{
|
|
42036
|
+
readonly inputs: readonly [{
|
|
42037
|
+
readonly internalType: "address";
|
|
42038
|
+
readonly name: "_market";
|
|
42039
|
+
readonly type: "address";
|
|
42040
|
+
}, {
|
|
42041
|
+
readonly internalType: "address";
|
|
42042
|
+
readonly name: "_tokenAddr";
|
|
42043
|
+
readonly type: "address";
|
|
42044
|
+
}];
|
|
42045
|
+
readonly name: "getAssetPrice";
|
|
42046
|
+
readonly outputs: readonly [{
|
|
42047
|
+
readonly internalType: "uint256";
|
|
42048
|
+
readonly name: "";
|
|
42049
|
+
readonly type: "uint256";
|
|
42050
|
+
}];
|
|
42051
|
+
readonly stateMutability: "view";
|
|
42052
|
+
readonly type: "function";
|
|
42053
|
+
}, {
|
|
42054
|
+
readonly inputs: readonly [{
|
|
42055
|
+
readonly internalType: "address";
|
|
42056
|
+
readonly name: "_market";
|
|
42057
|
+
readonly type: "address";
|
|
42058
|
+
}];
|
|
42059
|
+
readonly name: "getAssets";
|
|
42060
|
+
readonly outputs: readonly [{
|
|
42061
|
+
readonly components: readonly [{
|
|
42062
|
+
readonly internalType: "uint8";
|
|
42063
|
+
readonly name: "offset";
|
|
42064
|
+
readonly type: "uint8";
|
|
42065
|
+
}, {
|
|
42066
|
+
readonly internalType: "address";
|
|
42067
|
+
readonly name: "asset";
|
|
42068
|
+
readonly type: "address";
|
|
42069
|
+
}, {
|
|
42070
|
+
readonly internalType: "address";
|
|
42071
|
+
readonly name: "priceFeed";
|
|
42072
|
+
readonly type: "address";
|
|
42073
|
+
}, {
|
|
42074
|
+
readonly internalType: "uint64";
|
|
42075
|
+
readonly name: "scale";
|
|
42076
|
+
readonly type: "uint64";
|
|
42077
|
+
}, {
|
|
42078
|
+
readonly internalType: "uint64";
|
|
42079
|
+
readonly name: "borrowCollateralFactor";
|
|
42080
|
+
readonly type: "uint64";
|
|
42081
|
+
}, {
|
|
42082
|
+
readonly internalType: "uint64";
|
|
42083
|
+
readonly name: "liquidateCollateralFactor";
|
|
42084
|
+
readonly type: "uint64";
|
|
42085
|
+
}, {
|
|
42086
|
+
readonly internalType: "uint64";
|
|
42087
|
+
readonly name: "liquidationFactor";
|
|
42088
|
+
readonly type: "uint64";
|
|
42089
|
+
}, {
|
|
42090
|
+
readonly internalType: "uint128";
|
|
42091
|
+
readonly name: "supplyCap";
|
|
42092
|
+
readonly type: "uint128";
|
|
42093
|
+
}];
|
|
42094
|
+
readonly internalType: "struct IComet.AssetInfo[]";
|
|
42095
|
+
readonly name: "assets";
|
|
42096
|
+
readonly type: "tuple[]";
|
|
42097
|
+
}];
|
|
42098
|
+
readonly stateMutability: "view";
|
|
42099
|
+
readonly type: "function";
|
|
42100
|
+
}, {
|
|
42101
|
+
readonly inputs: readonly [{
|
|
42102
|
+
readonly internalType: "address";
|
|
42103
|
+
readonly name: "_market";
|
|
42104
|
+
readonly type: "address";
|
|
42105
|
+
}];
|
|
42106
|
+
readonly name: "getFullBaseTokenInfo";
|
|
42107
|
+
readonly outputs: readonly [{
|
|
42108
|
+
readonly components: readonly [{
|
|
42109
|
+
readonly internalType: "address";
|
|
42110
|
+
readonly name: "tokenAddr";
|
|
42111
|
+
readonly type: "address";
|
|
42112
|
+
}, {
|
|
42113
|
+
readonly internalType: "uint256";
|
|
42114
|
+
readonly name: "price";
|
|
42115
|
+
readonly type: "uint256";
|
|
42116
|
+
}, {
|
|
42117
|
+
readonly internalType: "uint256";
|
|
42118
|
+
readonly name: "supplyIndex";
|
|
42119
|
+
readonly type: "uint256";
|
|
42120
|
+
}, {
|
|
42121
|
+
readonly internalType: "uint256";
|
|
42122
|
+
readonly name: "borrowIndex";
|
|
42123
|
+
readonly type: "uint256";
|
|
42124
|
+
}, {
|
|
42125
|
+
readonly internalType: "uint256";
|
|
42126
|
+
readonly name: "trackingSupplyIndex";
|
|
42127
|
+
readonly type: "uint256";
|
|
42128
|
+
}, {
|
|
42129
|
+
readonly internalType: "uint256";
|
|
42130
|
+
readonly name: "trackingBorrowIndex";
|
|
42131
|
+
readonly type: "uint256";
|
|
42132
|
+
}, {
|
|
42133
|
+
readonly internalType: "uint256";
|
|
42134
|
+
readonly name: "supplyRate";
|
|
42135
|
+
readonly type: "uint256";
|
|
42136
|
+
}, {
|
|
42137
|
+
readonly internalType: "uint256";
|
|
42138
|
+
readonly name: "borrowRate";
|
|
42139
|
+
readonly type: "uint256";
|
|
42140
|
+
}, {
|
|
42141
|
+
readonly internalType: "uint256";
|
|
42142
|
+
readonly name: "totalSupply";
|
|
42143
|
+
readonly type: "uint256";
|
|
42144
|
+
}, {
|
|
42145
|
+
readonly internalType: "uint256";
|
|
42146
|
+
readonly name: "totalBorrow";
|
|
42147
|
+
readonly type: "uint256";
|
|
42148
|
+
}, {
|
|
42149
|
+
readonly internalType: "uint256";
|
|
42150
|
+
readonly name: "utilization";
|
|
42151
|
+
readonly type: "uint256";
|
|
42152
|
+
}, {
|
|
42153
|
+
readonly internalType: "uint256";
|
|
42154
|
+
readonly name: "baseBorrowMin";
|
|
42155
|
+
readonly type: "uint256";
|
|
42156
|
+
}, {
|
|
42157
|
+
readonly internalType: "uint256";
|
|
42158
|
+
readonly name: "baseTrackingBorrowRewardsSpeed";
|
|
42159
|
+
readonly type: "uint256";
|
|
42160
|
+
}, {
|
|
42161
|
+
readonly internalType: "uint256";
|
|
42162
|
+
readonly name: "baseTrackingSupplyRewardsSpeed";
|
|
42163
|
+
readonly type: "uint256";
|
|
42164
|
+
}];
|
|
42165
|
+
readonly internalType: "struct CompV3View.BaseTokenInfoFull";
|
|
42166
|
+
readonly name: "baseToken";
|
|
42167
|
+
readonly type: "tuple";
|
|
42168
|
+
}];
|
|
42169
|
+
readonly stateMutability: "view";
|
|
42170
|
+
readonly type: "function";
|
|
42171
|
+
}, {
|
|
42172
|
+
readonly inputs: readonly [{
|
|
42173
|
+
readonly internalType: "address";
|
|
42174
|
+
readonly name: "_market";
|
|
42175
|
+
readonly type: "address";
|
|
42176
|
+
}, {
|
|
42177
|
+
readonly internalType: "address";
|
|
42178
|
+
readonly name: "_tokenAddr";
|
|
42179
|
+
readonly type: "address";
|
|
42180
|
+
}];
|
|
42181
|
+
readonly name: "getFullCollInfo";
|
|
42182
|
+
readonly outputs: readonly [{
|
|
42183
|
+
readonly components: readonly [{
|
|
42184
|
+
readonly internalType: "address";
|
|
42185
|
+
readonly name: "tokenAddr";
|
|
42186
|
+
readonly type: "address";
|
|
42187
|
+
}, {
|
|
42188
|
+
readonly internalType: "uint256";
|
|
42189
|
+
readonly name: "totalSupply";
|
|
42190
|
+
readonly type: "uint256";
|
|
42191
|
+
}, {
|
|
42192
|
+
readonly internalType: "uint256";
|
|
42193
|
+
readonly name: "supplyReserved";
|
|
42194
|
+
readonly type: "uint256";
|
|
42195
|
+
}, {
|
|
42196
|
+
readonly internalType: "uint256";
|
|
42197
|
+
readonly name: "borrowCollateralFactor";
|
|
42198
|
+
readonly type: "uint256";
|
|
42199
|
+
}, {
|
|
42200
|
+
readonly internalType: "uint256";
|
|
42201
|
+
readonly name: "liquidateCollateralFactor";
|
|
42202
|
+
readonly type: "uint256";
|
|
42203
|
+
}, {
|
|
42204
|
+
readonly internalType: "uint256";
|
|
42205
|
+
readonly name: "liquidationFactor";
|
|
42206
|
+
readonly type: "uint256";
|
|
42207
|
+
}, {
|
|
42208
|
+
readonly internalType: "uint256";
|
|
42209
|
+
readonly name: "price";
|
|
42210
|
+
readonly type: "uint256";
|
|
42211
|
+
}, {
|
|
42212
|
+
readonly internalType: "uint256";
|
|
42213
|
+
readonly name: "supplyCap";
|
|
42214
|
+
readonly type: "uint256";
|
|
42215
|
+
}];
|
|
42216
|
+
readonly internalType: "struct CompV3View.CollateralInfoFull";
|
|
42217
|
+
readonly name: "coll";
|
|
42218
|
+
readonly type: "tuple";
|
|
42219
|
+
}];
|
|
42220
|
+
readonly stateMutability: "nonpayable";
|
|
42221
|
+
readonly type: "function";
|
|
42222
|
+
}, {
|
|
42223
|
+
readonly inputs: readonly [{
|
|
42224
|
+
readonly internalType: "address";
|
|
42225
|
+
readonly name: "_market";
|
|
42226
|
+
readonly type: "address";
|
|
42227
|
+
}];
|
|
42228
|
+
readonly name: "getFullCollInfos";
|
|
42229
|
+
readonly outputs: readonly [{
|
|
42230
|
+
readonly components: readonly [{
|
|
42231
|
+
readonly internalType: "address";
|
|
42232
|
+
readonly name: "tokenAddr";
|
|
42233
|
+
readonly type: "address";
|
|
42234
|
+
}, {
|
|
42235
|
+
readonly internalType: "uint256";
|
|
42236
|
+
readonly name: "totalSupply";
|
|
42237
|
+
readonly type: "uint256";
|
|
42238
|
+
}, {
|
|
42239
|
+
readonly internalType: "uint256";
|
|
42240
|
+
readonly name: "supplyReserved";
|
|
42241
|
+
readonly type: "uint256";
|
|
42242
|
+
}, {
|
|
42243
|
+
readonly internalType: "uint256";
|
|
42244
|
+
readonly name: "borrowCollateralFactor";
|
|
42245
|
+
readonly type: "uint256";
|
|
42246
|
+
}, {
|
|
42247
|
+
readonly internalType: "uint256";
|
|
42248
|
+
readonly name: "liquidateCollateralFactor";
|
|
42249
|
+
readonly type: "uint256";
|
|
42250
|
+
}, {
|
|
42251
|
+
readonly internalType: "uint256";
|
|
42252
|
+
readonly name: "liquidationFactor";
|
|
42253
|
+
readonly type: "uint256";
|
|
42254
|
+
}, {
|
|
42255
|
+
readonly internalType: "uint256";
|
|
42256
|
+
readonly name: "price";
|
|
42257
|
+
readonly type: "uint256";
|
|
42258
|
+
}, {
|
|
42259
|
+
readonly internalType: "uint256";
|
|
42260
|
+
readonly name: "supplyCap";
|
|
42261
|
+
readonly type: "uint256";
|
|
42262
|
+
}];
|
|
42263
|
+
readonly internalType: "struct CompV3View.CollateralInfoFull[]";
|
|
42264
|
+
readonly name: "colls";
|
|
42265
|
+
readonly type: "tuple[]";
|
|
42266
|
+
}];
|
|
42267
|
+
readonly stateMutability: "nonpayable";
|
|
42268
|
+
readonly type: "function";
|
|
42269
|
+
}, {
|
|
42270
|
+
readonly inputs: readonly [{
|
|
42271
|
+
readonly internalType: "address";
|
|
42272
|
+
readonly name: "_market";
|
|
42273
|
+
readonly type: "address";
|
|
42274
|
+
}];
|
|
42275
|
+
readonly name: "getGovernanceInfoFull";
|
|
42276
|
+
readonly outputs: readonly [{
|
|
42277
|
+
readonly components: readonly [{
|
|
42278
|
+
readonly internalType: "bool";
|
|
42279
|
+
readonly name: "isSupplyPaused";
|
|
42280
|
+
readonly type: "bool";
|
|
42281
|
+
}, {
|
|
42282
|
+
readonly internalType: "bool";
|
|
42283
|
+
readonly name: "isTransferPaused";
|
|
42284
|
+
readonly type: "bool";
|
|
42285
|
+
}, {
|
|
42286
|
+
readonly internalType: "bool";
|
|
42287
|
+
readonly name: "isWithdrawPaused";
|
|
42288
|
+
readonly type: "bool";
|
|
42289
|
+
}, {
|
|
42290
|
+
readonly internalType: "bool";
|
|
42291
|
+
readonly name: "isAbsorbPaused";
|
|
42292
|
+
readonly type: "bool";
|
|
42293
|
+
}];
|
|
42294
|
+
readonly internalType: "struct CompV3View.GovernanceInfoFull";
|
|
42295
|
+
readonly name: "govInfo";
|
|
42296
|
+
readonly type: "tuple";
|
|
42297
|
+
}];
|
|
42298
|
+
readonly stateMutability: "view";
|
|
42299
|
+
readonly type: "function";
|
|
42300
|
+
}, {
|
|
42301
|
+
readonly inputs: readonly [{
|
|
42302
|
+
readonly internalType: "address";
|
|
42303
|
+
readonly name: "_market";
|
|
42304
|
+
readonly type: "address";
|
|
42305
|
+
}, {
|
|
42306
|
+
readonly internalType: "address";
|
|
42307
|
+
readonly name: "_user";
|
|
42308
|
+
readonly type: "address";
|
|
42309
|
+
}];
|
|
42310
|
+
readonly name: "getLoanData";
|
|
42311
|
+
readonly outputs: readonly [{
|
|
42312
|
+
readonly components: readonly [{
|
|
42313
|
+
readonly internalType: "address";
|
|
42314
|
+
readonly name: "user";
|
|
42315
|
+
readonly type: "address";
|
|
42316
|
+
}, {
|
|
42317
|
+
readonly internalType: "address[]";
|
|
42318
|
+
readonly name: "collAddr";
|
|
42319
|
+
readonly type: "address[]";
|
|
42320
|
+
}, {
|
|
42321
|
+
readonly internalType: "uint256[]";
|
|
42322
|
+
readonly name: "collAmounts";
|
|
42323
|
+
readonly type: "uint256[]";
|
|
42324
|
+
}, {
|
|
42325
|
+
readonly internalType: "uint256";
|
|
42326
|
+
readonly name: "depositAmount";
|
|
42327
|
+
readonly type: "uint256";
|
|
42328
|
+
}, {
|
|
42329
|
+
readonly internalType: "uint256";
|
|
42330
|
+
readonly name: "depositValue";
|
|
42331
|
+
readonly type: "uint256";
|
|
42332
|
+
}, {
|
|
42333
|
+
readonly internalType: "uint256";
|
|
42334
|
+
readonly name: "borrowAmount";
|
|
42335
|
+
readonly type: "uint256";
|
|
42336
|
+
}, {
|
|
42337
|
+
readonly internalType: "uint256";
|
|
42338
|
+
readonly name: "borrowValue";
|
|
42339
|
+
readonly type: "uint256";
|
|
42340
|
+
}, {
|
|
42341
|
+
readonly internalType: "uint256";
|
|
42342
|
+
readonly name: "collValue";
|
|
42343
|
+
readonly type: "uint256";
|
|
42344
|
+
}];
|
|
42345
|
+
readonly internalType: "struct CompV3View.LoanData";
|
|
42346
|
+
readonly name: "data";
|
|
42347
|
+
readonly type: "tuple";
|
|
42348
|
+
}];
|
|
42349
|
+
readonly stateMutability: "view";
|
|
42350
|
+
readonly type: "function";
|
|
42351
|
+
}, {
|
|
42352
|
+
readonly inputs: readonly [{
|
|
42353
|
+
readonly internalType: "address";
|
|
42354
|
+
readonly name: "_market";
|
|
42355
|
+
readonly type: "address";
|
|
42356
|
+
}, {
|
|
42357
|
+
readonly internalType: "address[]";
|
|
42358
|
+
readonly name: "_users";
|
|
42359
|
+
readonly type: "address[]";
|
|
42360
|
+
}];
|
|
42361
|
+
readonly name: "getLoanDataArr";
|
|
42362
|
+
readonly outputs: readonly [{
|
|
42363
|
+
readonly components: readonly [{
|
|
42364
|
+
readonly internalType: "address";
|
|
42365
|
+
readonly name: "user";
|
|
42366
|
+
readonly type: "address";
|
|
42367
|
+
}, {
|
|
42368
|
+
readonly internalType: "address[]";
|
|
42369
|
+
readonly name: "collAddr";
|
|
42370
|
+
readonly type: "address[]";
|
|
42371
|
+
}, {
|
|
42372
|
+
readonly internalType: "uint256[]";
|
|
42373
|
+
readonly name: "collAmounts";
|
|
42374
|
+
readonly type: "uint256[]";
|
|
42375
|
+
}, {
|
|
42376
|
+
readonly internalType: "uint256";
|
|
42377
|
+
readonly name: "depositAmount";
|
|
42378
|
+
readonly type: "uint256";
|
|
42379
|
+
}, {
|
|
42380
|
+
readonly internalType: "uint256";
|
|
42381
|
+
readonly name: "depositValue";
|
|
42382
|
+
readonly type: "uint256";
|
|
42383
|
+
}, {
|
|
42384
|
+
readonly internalType: "uint256";
|
|
42385
|
+
readonly name: "borrowAmount";
|
|
42386
|
+
readonly type: "uint256";
|
|
42387
|
+
}, {
|
|
42388
|
+
readonly internalType: "uint256";
|
|
42389
|
+
readonly name: "borrowValue";
|
|
42390
|
+
readonly type: "uint256";
|
|
42391
|
+
}, {
|
|
42392
|
+
readonly internalType: "uint256";
|
|
42393
|
+
readonly name: "collValue";
|
|
42394
|
+
readonly type: "uint256";
|
|
42395
|
+
}];
|
|
42396
|
+
readonly internalType: "struct CompV3View.LoanData[]";
|
|
42397
|
+
readonly name: "loans";
|
|
42398
|
+
readonly type: "tuple[]";
|
|
42399
|
+
}];
|
|
42400
|
+
readonly stateMutability: "view";
|
|
42401
|
+
readonly type: "function";
|
|
42402
|
+
}, {
|
|
42403
|
+
readonly inputs: readonly [{
|
|
42404
|
+
readonly internalType: "address";
|
|
42405
|
+
readonly name: "_market";
|
|
42406
|
+
readonly type: "address";
|
|
42407
|
+
}, {
|
|
42408
|
+
readonly internalType: "address";
|
|
42409
|
+
readonly name: "_user";
|
|
42410
|
+
readonly type: "address";
|
|
42411
|
+
}];
|
|
42412
|
+
readonly name: "getRewardsOwed";
|
|
42413
|
+
readonly outputs: readonly [{
|
|
42414
|
+
readonly components: readonly [{
|
|
42415
|
+
readonly internalType: "address";
|
|
42416
|
+
readonly name: "token";
|
|
42417
|
+
readonly type: "address";
|
|
42418
|
+
}, {
|
|
42419
|
+
readonly internalType: "uint256";
|
|
42420
|
+
readonly name: "owed";
|
|
42421
|
+
readonly type: "uint256";
|
|
42422
|
+
}];
|
|
42423
|
+
readonly internalType: "struct ICometRewards.RewardOwed";
|
|
42424
|
+
readonly name: "rewardsOwed";
|
|
42425
|
+
readonly type: "tuple";
|
|
42426
|
+
}];
|
|
42427
|
+
readonly stateMutability: "nonpayable";
|
|
42428
|
+
readonly type: "function";
|
|
42429
|
+
}, {
|
|
42430
|
+
readonly inputs: readonly [{
|
|
42431
|
+
readonly internalType: "address";
|
|
42432
|
+
readonly name: "_market";
|
|
42433
|
+
readonly type: "address";
|
|
42434
|
+
}, {
|
|
42435
|
+
readonly internalType: "address";
|
|
42436
|
+
readonly name: "_owner";
|
|
42437
|
+
readonly type: "address";
|
|
42438
|
+
}, {
|
|
42439
|
+
readonly internalType: "address";
|
|
42440
|
+
readonly name: "_manager";
|
|
42441
|
+
readonly type: "address";
|
|
42442
|
+
}];
|
|
42443
|
+
readonly name: "isAllowed";
|
|
42444
|
+
readonly outputs: readonly [{
|
|
42445
|
+
readonly internalType: "bool";
|
|
42446
|
+
readonly name: "isAllowed";
|
|
42447
|
+
readonly type: "bool";
|
|
42448
|
+
}];
|
|
42449
|
+
readonly stateMutability: "view";
|
|
42450
|
+
readonly type: "function";
|
|
42451
|
+
}];
|
|
42452
|
+
readonly address: "0x22591183c0eb7B2Fe07F6F44fd360d1117D07b4f";
|
|
41526
42453
|
};
|
|
41527
42454
|
};
|
|
41528
42455
|
};
|
|
41529
|
-
readonly "
|
|
41530
|
-
readonly address: "
|
|
41531
|
-
readonly createdBlock:
|
|
42456
|
+
readonly "42161": {
|
|
42457
|
+
readonly address: "0x4983637F1Ee0602A2aA951A2876d8878133e3064";
|
|
42458
|
+
readonly createdBlock: 370436758;
|
|
41532
42459
|
readonly oldVersions: {
|
|
41533
|
-
readonly "
|
|
42460
|
+
readonly "235177927": {
|
|
41534
42461
|
readonly abi: readonly [{
|
|
42462
|
+
readonly inputs: readonly [{
|
|
42463
|
+
readonly internalType: "address";
|
|
42464
|
+
readonly name: "_market";
|
|
42465
|
+
readonly type: "address";
|
|
42466
|
+
}, {
|
|
42467
|
+
readonly internalType: "address";
|
|
42468
|
+
readonly name: "_user";
|
|
42469
|
+
readonly type: "address";
|
|
42470
|
+
}, {
|
|
42471
|
+
readonly internalType: "uint256";
|
|
42472
|
+
readonly name: "_supplyAmount";
|
|
42473
|
+
readonly type: "uint256";
|
|
42474
|
+
}, {
|
|
42475
|
+
readonly internalType: "uint256";
|
|
42476
|
+
readonly name: "_borrowAmount";
|
|
42477
|
+
readonly type: "uint256";
|
|
42478
|
+
}];
|
|
42479
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
42480
|
+
readonly outputs: readonly [{
|
|
42481
|
+
readonly internalType: "uint256";
|
|
42482
|
+
readonly name: "utilization";
|
|
42483
|
+
readonly type: "uint256";
|
|
42484
|
+
}, {
|
|
42485
|
+
readonly internalType: "uint256";
|
|
42486
|
+
readonly name: "supplyRate";
|
|
42487
|
+
readonly type: "uint256";
|
|
42488
|
+
}, {
|
|
42489
|
+
readonly internalType: "uint256";
|
|
42490
|
+
readonly name: "borrowRate";
|
|
42491
|
+
readonly type: "uint256";
|
|
42492
|
+
}];
|
|
42493
|
+
readonly stateMutability: "view";
|
|
42494
|
+
readonly type: "function";
|
|
42495
|
+
}, {
|
|
41535
42496
|
readonly inputs: readonly [{
|
|
41536
42497
|
readonly internalType: "address";
|
|
41537
42498
|
readonly name: "_market";
|
|
@@ -41763,7 +42724,7 @@ export declare const CompV3View: {
|
|
|
41763
42724
|
readonly name: "colls";
|
|
41764
42725
|
readonly type: "tuple[]";
|
|
41765
42726
|
}];
|
|
41766
|
-
readonly stateMutability: "
|
|
42727
|
+
readonly stateMutability: "view";
|
|
41767
42728
|
readonly type: "function";
|
|
41768
42729
|
}, {
|
|
41769
42730
|
readonly inputs: readonly [{
|
|
@@ -41925,6 +42886,53 @@ export declare const CompV3View: {
|
|
|
41925
42886
|
}];
|
|
41926
42887
|
readonly stateMutability: "nonpayable";
|
|
41927
42888
|
readonly type: "function";
|
|
42889
|
+
}, {
|
|
42890
|
+
readonly inputs: readonly [{
|
|
42891
|
+
readonly components: readonly [{
|
|
42892
|
+
readonly internalType: "uint64";
|
|
42893
|
+
readonly name: "baseSupplyIndex";
|
|
42894
|
+
readonly type: "uint64";
|
|
42895
|
+
}, {
|
|
42896
|
+
readonly internalType: "uint64";
|
|
42897
|
+
readonly name: "baseBorrowIndex";
|
|
42898
|
+
readonly type: "uint64";
|
|
42899
|
+
}, {
|
|
42900
|
+
readonly internalType: "uint64";
|
|
42901
|
+
readonly name: "trackingSupplyIndex";
|
|
42902
|
+
readonly type: "uint64";
|
|
42903
|
+
}, {
|
|
42904
|
+
readonly internalType: "uint64";
|
|
42905
|
+
readonly name: "trackingBorrowIndex";
|
|
42906
|
+
readonly type: "uint64";
|
|
42907
|
+
}, {
|
|
42908
|
+
readonly internalType: "uint104";
|
|
42909
|
+
readonly name: "totalSupplyBase";
|
|
42910
|
+
readonly type: "uint104";
|
|
42911
|
+
}, {
|
|
42912
|
+
readonly internalType: "uint104";
|
|
42913
|
+
readonly name: "totalBorrowBase";
|
|
42914
|
+
readonly type: "uint104";
|
|
42915
|
+
}, {
|
|
42916
|
+
readonly internalType: "uint40";
|
|
42917
|
+
readonly name: "lastAccrualTime";
|
|
42918
|
+
readonly type: "uint40";
|
|
42919
|
+
}, {
|
|
42920
|
+
readonly internalType: "uint8";
|
|
42921
|
+
readonly name: "pauseFlags";
|
|
42922
|
+
readonly type: "uint8";
|
|
42923
|
+
}];
|
|
42924
|
+
readonly internalType: "struct IComet.TotalsBasic";
|
|
42925
|
+
readonly name: "totals";
|
|
42926
|
+
readonly type: "tuple";
|
|
42927
|
+
}];
|
|
42928
|
+
readonly name: "getUtilization";
|
|
42929
|
+
readonly outputs: readonly [{
|
|
42930
|
+
readonly internalType: "uint256";
|
|
42931
|
+
readonly name: "";
|
|
42932
|
+
readonly type: "uint256";
|
|
42933
|
+
}];
|
|
42934
|
+
readonly stateMutability: "pure";
|
|
42935
|
+
readonly type: "function";
|
|
41928
42936
|
}, {
|
|
41929
42937
|
readonly inputs: readonly [{
|
|
41930
42938
|
readonly internalType: "address";
|
|
@@ -41942,20 +42950,14 @@ export declare const CompV3View: {
|
|
|
41942
42950
|
readonly name: "isAllowed";
|
|
41943
42951
|
readonly outputs: readonly [{
|
|
41944
42952
|
readonly internalType: "bool";
|
|
41945
|
-
readonly name: "
|
|
42953
|
+
readonly name: "";
|
|
41946
42954
|
readonly type: "bool";
|
|
41947
42955
|
}];
|
|
41948
42956
|
readonly stateMutability: "view";
|
|
41949
42957
|
readonly type: "function";
|
|
41950
42958
|
}];
|
|
41951
|
-
readonly address: "
|
|
42959
|
+
readonly address: "0xdaAFACe18f75D941041Eef575255A41fdBC50a17";
|
|
41952
42960
|
};
|
|
41953
|
-
};
|
|
41954
|
-
};
|
|
41955
|
-
readonly "42161": {
|
|
41956
|
-
readonly address: "0xdaAFACe18f75D941041Eef575255A41fdBC50a17";
|
|
41957
|
-
readonly createdBlock: 235177927;
|
|
41958
|
-
readonly oldVersions: {
|
|
41959
42961
|
readonly "152921647": {
|
|
41960
42962
|
readonly abi: readonly [{
|
|
41961
42963
|
readonly inputs: readonly [{
|