@defisaver/positions-sdk 2.1.76 → 2.1.78-aave-v4-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/aaveV3/merkl.js +1 -1
- package/cjs/aaveV4/index.d.ts +7 -0
- package/cjs/aaveV4/index.js +298 -0
- package/cjs/aaveV4/lend.d.ts +45 -0
- package/cjs/aaveV4/lend.js +141 -0
- package/cjs/claiming/aaveV3.js +1 -1
- package/cjs/config/contracts.d.ts +1551 -0
- package/cjs/config/contracts.js +9 -0
- package/cjs/contracts.d.ts +32741 -0
- package/cjs/contracts.js +2 -1
- package/cjs/helpers/aaveV4Helpers/index.d.ts +12 -0
- package/cjs/helpers/aaveV4Helpers/index.js +117 -0
- package/cjs/helpers/index.d.ts +1 -0
- package/cjs/helpers/index.js +2 -1
- package/cjs/index.d.ts +2 -1
- package/cjs/index.js +3 -1
- package/cjs/markets/aaveV4/index.d.ts +28 -0
- package/cjs/markets/aaveV4/index.js +140 -0
- package/cjs/markets/index.d.ts +1 -0
- package/cjs/markets/index.js +3 -1
- package/cjs/portfolio/index.js +20 -0
- package/cjs/types/aaveV4.d.ts +153 -0
- package/cjs/types/aaveV4.js +19 -0
- package/cjs/types/index.d.ts +1 -0
- package/cjs/types/index.js +1 -0
- package/cjs/types/portfolio.d.ts +4 -0
- package/esm/aaveV3/merkl.js +1 -1
- package/esm/aaveV4/index.d.ts +7 -0
- package/esm/aaveV4/index.js +255 -0
- package/esm/aaveV4/lend.d.ts +45 -0
- package/esm/aaveV4/lend.js +134 -0
- package/esm/claiming/aaveV3.js +1 -1
- package/esm/config/contracts.d.ts +1551 -0
- package/esm/config/contracts.js +8 -0
- package/esm/contracts.d.ts +32741 -0
- package/esm/contracts.js +1 -0
- package/esm/helpers/aaveV4Helpers/index.d.ts +12 -0
- package/esm/helpers/aaveV4Helpers/index.js +108 -0
- package/esm/helpers/index.d.ts +1 -0
- package/esm/helpers/index.js +1 -0
- package/esm/index.d.ts +2 -1
- package/esm/index.js +2 -1
- package/esm/markets/aaveV4/index.d.ts +28 -0
- package/esm/markets/aaveV4/index.js +122 -0
- package/esm/markets/index.d.ts +1 -0
- package/esm/markets/index.js +1 -0
- package/esm/portfolio/index.js +21 -1
- package/esm/types/aaveV4.d.ts +153 -0
- package/esm/types/aaveV4.js +16 -0
- package/esm/types/index.d.ts +1 -0
- package/esm/types/index.js +1 -0
- package/esm/types/portfolio.d.ts +4 -0
- package/package.json +2 -2
- package/src/aaveV3/merkl.ts +1 -1
- package/src/aaveV4/index.ts +291 -0
- package/src/aaveV4/lend.ts +180 -0
- package/src/claiming/aaveV3.ts +1 -1
- package/src/config/contracts.ts +8 -0
- package/src/contracts.ts +2 -0
- package/src/helpers/aaveV4Helpers/index.ts +133 -0
- package/src/helpers/index.ts +1 -0
- package/src/index.ts +2 -0
- package/src/markets/aaveV4/index.ts +149 -0
- package/src/markets/index.ts +6 -1
- package/src/portfolio/index.ts +20 -0
- package/src/types/aaveV4.ts +169 -0
- package/src/types/index.ts +2 -1
- package/src/types/portfolio.ts +4 -0
|
@@ -91297,3 +91297,1554 @@ export declare const YearnV3Vault: {
|
|
|
91297
91297
|
}];
|
|
91298
91298
|
}];
|
|
91299
91299
|
};
|
|
91300
|
+
export declare const AaveV4View: {
|
|
91301
|
+
readonly abi: readonly [{
|
|
91302
|
+
readonly inputs: readonly [{
|
|
91303
|
+
readonly internalType: "address";
|
|
91304
|
+
readonly name: "_eoa";
|
|
91305
|
+
readonly type: "address";
|
|
91306
|
+
}, {
|
|
91307
|
+
readonly internalType: "address";
|
|
91308
|
+
readonly name: "_proxy";
|
|
91309
|
+
readonly type: "address";
|
|
91310
|
+
}, {
|
|
91311
|
+
readonly internalType: "address";
|
|
91312
|
+
readonly name: "_spoke";
|
|
91313
|
+
readonly type: "address";
|
|
91314
|
+
}];
|
|
91315
|
+
readonly name: "getEOAApprovalsAndBalances";
|
|
91316
|
+
readonly outputs: readonly [{
|
|
91317
|
+
readonly components: readonly [{
|
|
91318
|
+
readonly internalType: "address";
|
|
91319
|
+
readonly name: "eoa";
|
|
91320
|
+
readonly type: "address";
|
|
91321
|
+
}, {
|
|
91322
|
+
readonly internalType: "address";
|
|
91323
|
+
readonly name: "proxy";
|
|
91324
|
+
readonly type: "address";
|
|
91325
|
+
}, {
|
|
91326
|
+
readonly internalType: "address";
|
|
91327
|
+
readonly name: "spoke";
|
|
91328
|
+
readonly type: "address";
|
|
91329
|
+
}, {
|
|
91330
|
+
readonly internalType: "bool";
|
|
91331
|
+
readonly name: "giverPositionManagerEnabled";
|
|
91332
|
+
readonly type: "bool";
|
|
91333
|
+
}, {
|
|
91334
|
+
readonly internalType: "bool";
|
|
91335
|
+
readonly name: "takerPositionManagerEnabled";
|
|
91336
|
+
readonly type: "bool";
|
|
91337
|
+
}, {
|
|
91338
|
+
readonly internalType: "bool";
|
|
91339
|
+
readonly name: "configPositionManagerEnabled";
|
|
91340
|
+
readonly type: "bool";
|
|
91341
|
+
}, {
|
|
91342
|
+
readonly internalType: "bool";
|
|
91343
|
+
readonly name: "canSetUsingAsCollateral";
|
|
91344
|
+
readonly type: "bool";
|
|
91345
|
+
}, {
|
|
91346
|
+
readonly internalType: "bool";
|
|
91347
|
+
readonly name: "canUpdateUserRiskPremium";
|
|
91348
|
+
readonly type: "bool";
|
|
91349
|
+
}, {
|
|
91350
|
+
readonly internalType: "bool";
|
|
91351
|
+
readonly name: "canUpdateUserDynamicConfig";
|
|
91352
|
+
readonly type: "bool";
|
|
91353
|
+
}, {
|
|
91354
|
+
readonly components: readonly [{
|
|
91355
|
+
readonly internalType: "uint256";
|
|
91356
|
+
readonly name: "reserveId";
|
|
91357
|
+
readonly type: "uint256";
|
|
91358
|
+
}, {
|
|
91359
|
+
readonly internalType: "address";
|
|
91360
|
+
readonly name: "underlying";
|
|
91361
|
+
readonly type: "address";
|
|
91362
|
+
}, {
|
|
91363
|
+
readonly internalType: "uint256";
|
|
91364
|
+
readonly name: "delegateeBorrowApproval";
|
|
91365
|
+
readonly type: "uint256";
|
|
91366
|
+
}, {
|
|
91367
|
+
readonly internalType: "uint256";
|
|
91368
|
+
readonly name: "delegateeWithdrawApproval";
|
|
91369
|
+
readonly type: "uint256";
|
|
91370
|
+
}, {
|
|
91371
|
+
readonly internalType: "uint256";
|
|
91372
|
+
readonly name: "eoaReserveBalance";
|
|
91373
|
+
readonly type: "uint256";
|
|
91374
|
+
}];
|
|
91375
|
+
readonly internalType: "struct AaveV4View.EOAReserveApprovalData[]";
|
|
91376
|
+
readonly name: "reserveApprovals";
|
|
91377
|
+
readonly type: "tuple[]";
|
|
91378
|
+
}];
|
|
91379
|
+
readonly internalType: "struct AaveV4View.EOAApprovalData";
|
|
91380
|
+
readonly name: "data";
|
|
91381
|
+
readonly type: "tuple";
|
|
91382
|
+
}];
|
|
91383
|
+
readonly stateMutability: "view";
|
|
91384
|
+
readonly type: "function";
|
|
91385
|
+
}, {
|
|
91386
|
+
readonly inputs: readonly [{
|
|
91387
|
+
readonly internalType: "address";
|
|
91388
|
+
readonly name: "_spoke";
|
|
91389
|
+
readonly type: "address";
|
|
91390
|
+
}, {
|
|
91391
|
+
readonly internalType: "address";
|
|
91392
|
+
readonly name: "_user";
|
|
91393
|
+
readonly type: "address";
|
|
91394
|
+
}];
|
|
91395
|
+
readonly name: "getHealthFactor";
|
|
91396
|
+
readonly outputs: readonly [{
|
|
91397
|
+
readonly internalType: "uint256";
|
|
91398
|
+
readonly name: "healthFactor";
|
|
91399
|
+
readonly type: "uint256";
|
|
91400
|
+
}];
|
|
91401
|
+
readonly stateMutability: "view";
|
|
91402
|
+
readonly type: "function";
|
|
91403
|
+
}, {
|
|
91404
|
+
readonly inputs: readonly [{
|
|
91405
|
+
readonly internalType: "address";
|
|
91406
|
+
readonly name: "_hub";
|
|
91407
|
+
readonly type: "address";
|
|
91408
|
+
}];
|
|
91409
|
+
readonly name: "getHubAllAssetsData";
|
|
91410
|
+
readonly outputs: readonly [{
|
|
91411
|
+
readonly components: readonly [{
|
|
91412
|
+
readonly internalType: "uint16";
|
|
91413
|
+
readonly name: "assetId";
|
|
91414
|
+
readonly type: "uint16";
|
|
91415
|
+
}, {
|
|
91416
|
+
readonly internalType: "uint8";
|
|
91417
|
+
readonly name: "decimals";
|
|
91418
|
+
readonly type: "uint8";
|
|
91419
|
+
}, {
|
|
91420
|
+
readonly internalType: "address";
|
|
91421
|
+
readonly name: "underlying";
|
|
91422
|
+
readonly type: "address";
|
|
91423
|
+
}, {
|
|
91424
|
+
readonly internalType: "uint256";
|
|
91425
|
+
readonly name: "liquidity";
|
|
91426
|
+
readonly type: "uint256";
|
|
91427
|
+
}, {
|
|
91428
|
+
readonly internalType: "uint256";
|
|
91429
|
+
readonly name: "totalSupplied";
|
|
91430
|
+
readonly type: "uint256";
|
|
91431
|
+
}, {
|
|
91432
|
+
readonly internalType: "uint256";
|
|
91433
|
+
readonly name: "totalDrawn";
|
|
91434
|
+
readonly type: "uint256";
|
|
91435
|
+
}, {
|
|
91436
|
+
readonly internalType: "uint256";
|
|
91437
|
+
readonly name: "totalPremium";
|
|
91438
|
+
readonly type: "uint256";
|
|
91439
|
+
}, {
|
|
91440
|
+
readonly internalType: "uint256";
|
|
91441
|
+
readonly name: "totalDebt";
|
|
91442
|
+
readonly type: "uint256";
|
|
91443
|
+
}, {
|
|
91444
|
+
readonly internalType: "uint256";
|
|
91445
|
+
readonly name: "totalDrawnShares";
|
|
91446
|
+
readonly type: "uint256";
|
|
91447
|
+
}, {
|
|
91448
|
+
readonly internalType: "uint256";
|
|
91449
|
+
readonly name: "totalPremiumShares";
|
|
91450
|
+
readonly type: "uint256";
|
|
91451
|
+
}, {
|
|
91452
|
+
readonly internalType: "uint256";
|
|
91453
|
+
readonly name: "swept";
|
|
91454
|
+
readonly type: "uint256";
|
|
91455
|
+
}, {
|
|
91456
|
+
readonly internalType: "uint16";
|
|
91457
|
+
readonly name: "liquidityFee";
|
|
91458
|
+
readonly type: "uint16";
|
|
91459
|
+
}, {
|
|
91460
|
+
readonly internalType: "uint120";
|
|
91461
|
+
readonly name: "drawnIndex";
|
|
91462
|
+
readonly type: "uint120";
|
|
91463
|
+
}, {
|
|
91464
|
+
readonly internalType: "uint96";
|
|
91465
|
+
readonly name: "drawnRate";
|
|
91466
|
+
readonly type: "uint96";
|
|
91467
|
+
}, {
|
|
91468
|
+
readonly internalType: "uint40";
|
|
91469
|
+
readonly name: "lastUpdateTimestamp";
|
|
91470
|
+
readonly type: "uint40";
|
|
91471
|
+
}, {
|
|
91472
|
+
readonly internalType: "address";
|
|
91473
|
+
readonly name: "irStrategy";
|
|
91474
|
+
readonly type: "address";
|
|
91475
|
+
}, {
|
|
91476
|
+
readonly internalType: "address";
|
|
91477
|
+
readonly name: "reinvestmentController";
|
|
91478
|
+
readonly type: "address";
|
|
91479
|
+
}, {
|
|
91480
|
+
readonly internalType: "address";
|
|
91481
|
+
readonly name: "feeReceiver";
|
|
91482
|
+
readonly type: "address";
|
|
91483
|
+
}, {
|
|
91484
|
+
readonly internalType: "uint256";
|
|
91485
|
+
readonly name: "deficitRay";
|
|
91486
|
+
readonly type: "uint256";
|
|
91487
|
+
}];
|
|
91488
|
+
readonly internalType: "struct AaveV4View.HubAssetData[]";
|
|
91489
|
+
readonly name: "hubAssetData";
|
|
91490
|
+
readonly type: "tuple[]";
|
|
91491
|
+
}];
|
|
91492
|
+
readonly stateMutability: "view";
|
|
91493
|
+
readonly type: "function";
|
|
91494
|
+
}, {
|
|
91495
|
+
readonly inputs: readonly [{
|
|
91496
|
+
readonly internalType: "address";
|
|
91497
|
+
readonly name: "_hub";
|
|
91498
|
+
readonly type: "address";
|
|
91499
|
+
}, {
|
|
91500
|
+
readonly internalType: "uint256";
|
|
91501
|
+
readonly name: "_assetId";
|
|
91502
|
+
readonly type: "uint256";
|
|
91503
|
+
}];
|
|
91504
|
+
readonly name: "getHubAssetData";
|
|
91505
|
+
readonly outputs: readonly [{
|
|
91506
|
+
readonly components: readonly [{
|
|
91507
|
+
readonly internalType: "uint16";
|
|
91508
|
+
readonly name: "assetId";
|
|
91509
|
+
readonly type: "uint16";
|
|
91510
|
+
}, {
|
|
91511
|
+
readonly internalType: "uint8";
|
|
91512
|
+
readonly name: "decimals";
|
|
91513
|
+
readonly type: "uint8";
|
|
91514
|
+
}, {
|
|
91515
|
+
readonly internalType: "address";
|
|
91516
|
+
readonly name: "underlying";
|
|
91517
|
+
readonly type: "address";
|
|
91518
|
+
}, {
|
|
91519
|
+
readonly internalType: "uint256";
|
|
91520
|
+
readonly name: "liquidity";
|
|
91521
|
+
readonly type: "uint256";
|
|
91522
|
+
}, {
|
|
91523
|
+
readonly internalType: "uint256";
|
|
91524
|
+
readonly name: "totalSupplied";
|
|
91525
|
+
readonly type: "uint256";
|
|
91526
|
+
}, {
|
|
91527
|
+
readonly internalType: "uint256";
|
|
91528
|
+
readonly name: "totalDrawn";
|
|
91529
|
+
readonly type: "uint256";
|
|
91530
|
+
}, {
|
|
91531
|
+
readonly internalType: "uint256";
|
|
91532
|
+
readonly name: "totalPremium";
|
|
91533
|
+
readonly type: "uint256";
|
|
91534
|
+
}, {
|
|
91535
|
+
readonly internalType: "uint256";
|
|
91536
|
+
readonly name: "totalDebt";
|
|
91537
|
+
readonly type: "uint256";
|
|
91538
|
+
}, {
|
|
91539
|
+
readonly internalType: "uint256";
|
|
91540
|
+
readonly name: "totalDrawnShares";
|
|
91541
|
+
readonly type: "uint256";
|
|
91542
|
+
}, {
|
|
91543
|
+
readonly internalType: "uint256";
|
|
91544
|
+
readonly name: "totalPremiumShares";
|
|
91545
|
+
readonly type: "uint256";
|
|
91546
|
+
}, {
|
|
91547
|
+
readonly internalType: "uint256";
|
|
91548
|
+
readonly name: "swept";
|
|
91549
|
+
readonly type: "uint256";
|
|
91550
|
+
}, {
|
|
91551
|
+
readonly internalType: "uint16";
|
|
91552
|
+
readonly name: "liquidityFee";
|
|
91553
|
+
readonly type: "uint16";
|
|
91554
|
+
}, {
|
|
91555
|
+
readonly internalType: "uint120";
|
|
91556
|
+
readonly name: "drawnIndex";
|
|
91557
|
+
readonly type: "uint120";
|
|
91558
|
+
}, {
|
|
91559
|
+
readonly internalType: "uint96";
|
|
91560
|
+
readonly name: "drawnRate";
|
|
91561
|
+
readonly type: "uint96";
|
|
91562
|
+
}, {
|
|
91563
|
+
readonly internalType: "uint40";
|
|
91564
|
+
readonly name: "lastUpdateTimestamp";
|
|
91565
|
+
readonly type: "uint40";
|
|
91566
|
+
}, {
|
|
91567
|
+
readonly internalType: "address";
|
|
91568
|
+
readonly name: "irStrategy";
|
|
91569
|
+
readonly type: "address";
|
|
91570
|
+
}, {
|
|
91571
|
+
readonly internalType: "address";
|
|
91572
|
+
readonly name: "reinvestmentController";
|
|
91573
|
+
readonly type: "address";
|
|
91574
|
+
}, {
|
|
91575
|
+
readonly internalType: "address";
|
|
91576
|
+
readonly name: "feeReceiver";
|
|
91577
|
+
readonly type: "address";
|
|
91578
|
+
}, {
|
|
91579
|
+
readonly internalType: "uint256";
|
|
91580
|
+
readonly name: "deficitRay";
|
|
91581
|
+
readonly type: "uint256";
|
|
91582
|
+
}];
|
|
91583
|
+
readonly internalType: "struct AaveV4View.HubAssetData";
|
|
91584
|
+
readonly name: "hubAssetData";
|
|
91585
|
+
readonly type: "tuple";
|
|
91586
|
+
}];
|
|
91587
|
+
readonly stateMutability: "view";
|
|
91588
|
+
readonly type: "function";
|
|
91589
|
+
}, {
|
|
91590
|
+
readonly inputs: readonly [{
|
|
91591
|
+
readonly internalType: "address";
|
|
91592
|
+
readonly name: "_spoke";
|
|
91593
|
+
readonly type: "address";
|
|
91594
|
+
}, {
|
|
91595
|
+
readonly internalType: "address";
|
|
91596
|
+
readonly name: "_user";
|
|
91597
|
+
readonly type: "address";
|
|
91598
|
+
}];
|
|
91599
|
+
readonly name: "getLoanData";
|
|
91600
|
+
readonly outputs: readonly [{
|
|
91601
|
+
readonly components: readonly [{
|
|
91602
|
+
readonly internalType: "address";
|
|
91603
|
+
readonly name: "user";
|
|
91604
|
+
readonly type: "address";
|
|
91605
|
+
}, {
|
|
91606
|
+
readonly internalType: "uint256";
|
|
91607
|
+
readonly name: "riskPremium";
|
|
91608
|
+
readonly type: "uint256";
|
|
91609
|
+
}, {
|
|
91610
|
+
readonly internalType: "uint256";
|
|
91611
|
+
readonly name: "avgCollateralFactor";
|
|
91612
|
+
readonly type: "uint256";
|
|
91613
|
+
}, {
|
|
91614
|
+
readonly internalType: "uint256";
|
|
91615
|
+
readonly name: "healthFactor";
|
|
91616
|
+
readonly type: "uint256";
|
|
91617
|
+
}, {
|
|
91618
|
+
readonly internalType: "uint256";
|
|
91619
|
+
readonly name: "totalCollateralInUsd";
|
|
91620
|
+
readonly type: "uint256";
|
|
91621
|
+
}, {
|
|
91622
|
+
readonly internalType: "uint256";
|
|
91623
|
+
readonly name: "totalDebtInUsdRay";
|
|
91624
|
+
readonly type: "uint256";
|
|
91625
|
+
}, {
|
|
91626
|
+
readonly internalType: "uint256";
|
|
91627
|
+
readonly name: "activeCollateralCount";
|
|
91628
|
+
readonly type: "uint256";
|
|
91629
|
+
}, {
|
|
91630
|
+
readonly internalType: "uint256";
|
|
91631
|
+
readonly name: "borrowCount";
|
|
91632
|
+
readonly type: "uint256";
|
|
91633
|
+
}, {
|
|
91634
|
+
readonly components: readonly [{
|
|
91635
|
+
readonly internalType: "uint256";
|
|
91636
|
+
readonly name: "reserveId";
|
|
91637
|
+
readonly type: "uint256";
|
|
91638
|
+
}, {
|
|
91639
|
+
readonly internalType: "uint16";
|
|
91640
|
+
readonly name: "assetId";
|
|
91641
|
+
readonly type: "uint16";
|
|
91642
|
+
}, {
|
|
91643
|
+
readonly internalType: "address";
|
|
91644
|
+
readonly name: "underlying";
|
|
91645
|
+
readonly type: "address";
|
|
91646
|
+
}, {
|
|
91647
|
+
readonly internalType: "uint256";
|
|
91648
|
+
readonly name: "supplied";
|
|
91649
|
+
readonly type: "uint256";
|
|
91650
|
+
}, {
|
|
91651
|
+
readonly internalType: "uint256";
|
|
91652
|
+
readonly name: "drawn";
|
|
91653
|
+
readonly type: "uint256";
|
|
91654
|
+
}, {
|
|
91655
|
+
readonly internalType: "uint256";
|
|
91656
|
+
readonly name: "premium";
|
|
91657
|
+
readonly type: "uint256";
|
|
91658
|
+
}, {
|
|
91659
|
+
readonly internalType: "uint256";
|
|
91660
|
+
readonly name: "totalDebt";
|
|
91661
|
+
readonly type: "uint256";
|
|
91662
|
+
}, {
|
|
91663
|
+
readonly internalType: "uint16";
|
|
91664
|
+
readonly name: "collateralFactor";
|
|
91665
|
+
readonly type: "uint16";
|
|
91666
|
+
}, {
|
|
91667
|
+
readonly internalType: "uint32";
|
|
91668
|
+
readonly name: "maxLiquidationBonus";
|
|
91669
|
+
readonly type: "uint32";
|
|
91670
|
+
}, {
|
|
91671
|
+
readonly internalType: "uint16";
|
|
91672
|
+
readonly name: "liquidationFee";
|
|
91673
|
+
readonly type: "uint16";
|
|
91674
|
+
}, {
|
|
91675
|
+
readonly internalType: "bool";
|
|
91676
|
+
readonly name: "isUsingAsCollateral";
|
|
91677
|
+
readonly type: "bool";
|
|
91678
|
+
}, {
|
|
91679
|
+
readonly internalType: "bool";
|
|
91680
|
+
readonly name: "isBorrowing";
|
|
91681
|
+
readonly type: "bool";
|
|
91682
|
+
}];
|
|
91683
|
+
readonly internalType: "struct AaveV4View.UserReserveData[]";
|
|
91684
|
+
readonly name: "reserves";
|
|
91685
|
+
readonly type: "tuple[]";
|
|
91686
|
+
}];
|
|
91687
|
+
readonly internalType: "struct AaveV4View.LoanData";
|
|
91688
|
+
readonly name: "loanData";
|
|
91689
|
+
readonly type: "tuple";
|
|
91690
|
+
}];
|
|
91691
|
+
readonly stateMutability: "view";
|
|
91692
|
+
readonly type: "function";
|
|
91693
|
+
}, {
|
|
91694
|
+
readonly inputs: readonly [{
|
|
91695
|
+
readonly internalType: "address";
|
|
91696
|
+
readonly name: "_user";
|
|
91697
|
+
readonly type: "address";
|
|
91698
|
+
}, {
|
|
91699
|
+
readonly internalType: "address[]";
|
|
91700
|
+
readonly name: "_spokes";
|
|
91701
|
+
readonly type: "address[]";
|
|
91702
|
+
}];
|
|
91703
|
+
readonly name: "getLoanDataForMultipleSpokes";
|
|
91704
|
+
readonly outputs: readonly [{
|
|
91705
|
+
readonly components: readonly [{
|
|
91706
|
+
readonly internalType: "address";
|
|
91707
|
+
readonly name: "user";
|
|
91708
|
+
readonly type: "address";
|
|
91709
|
+
}, {
|
|
91710
|
+
readonly internalType: "uint256";
|
|
91711
|
+
readonly name: "riskPremium";
|
|
91712
|
+
readonly type: "uint256";
|
|
91713
|
+
}, {
|
|
91714
|
+
readonly internalType: "uint256";
|
|
91715
|
+
readonly name: "avgCollateralFactor";
|
|
91716
|
+
readonly type: "uint256";
|
|
91717
|
+
}, {
|
|
91718
|
+
readonly internalType: "uint256";
|
|
91719
|
+
readonly name: "healthFactor";
|
|
91720
|
+
readonly type: "uint256";
|
|
91721
|
+
}, {
|
|
91722
|
+
readonly internalType: "uint256";
|
|
91723
|
+
readonly name: "totalCollateralInUsd";
|
|
91724
|
+
readonly type: "uint256";
|
|
91725
|
+
}, {
|
|
91726
|
+
readonly internalType: "uint256";
|
|
91727
|
+
readonly name: "totalDebtInUsdRay";
|
|
91728
|
+
readonly type: "uint256";
|
|
91729
|
+
}, {
|
|
91730
|
+
readonly internalType: "uint256";
|
|
91731
|
+
readonly name: "activeCollateralCount";
|
|
91732
|
+
readonly type: "uint256";
|
|
91733
|
+
}, {
|
|
91734
|
+
readonly internalType: "uint256";
|
|
91735
|
+
readonly name: "borrowCount";
|
|
91736
|
+
readonly type: "uint256";
|
|
91737
|
+
}, {
|
|
91738
|
+
readonly components: readonly [{
|
|
91739
|
+
readonly internalType: "uint256";
|
|
91740
|
+
readonly name: "reserveId";
|
|
91741
|
+
readonly type: "uint256";
|
|
91742
|
+
}, {
|
|
91743
|
+
readonly internalType: "uint16";
|
|
91744
|
+
readonly name: "assetId";
|
|
91745
|
+
readonly type: "uint16";
|
|
91746
|
+
}, {
|
|
91747
|
+
readonly internalType: "address";
|
|
91748
|
+
readonly name: "underlying";
|
|
91749
|
+
readonly type: "address";
|
|
91750
|
+
}, {
|
|
91751
|
+
readonly internalType: "uint256";
|
|
91752
|
+
readonly name: "supplied";
|
|
91753
|
+
readonly type: "uint256";
|
|
91754
|
+
}, {
|
|
91755
|
+
readonly internalType: "uint256";
|
|
91756
|
+
readonly name: "drawn";
|
|
91757
|
+
readonly type: "uint256";
|
|
91758
|
+
}, {
|
|
91759
|
+
readonly internalType: "uint256";
|
|
91760
|
+
readonly name: "premium";
|
|
91761
|
+
readonly type: "uint256";
|
|
91762
|
+
}, {
|
|
91763
|
+
readonly internalType: "uint256";
|
|
91764
|
+
readonly name: "totalDebt";
|
|
91765
|
+
readonly type: "uint256";
|
|
91766
|
+
}, {
|
|
91767
|
+
readonly internalType: "uint16";
|
|
91768
|
+
readonly name: "collateralFactor";
|
|
91769
|
+
readonly type: "uint16";
|
|
91770
|
+
}, {
|
|
91771
|
+
readonly internalType: "uint32";
|
|
91772
|
+
readonly name: "maxLiquidationBonus";
|
|
91773
|
+
readonly type: "uint32";
|
|
91774
|
+
}, {
|
|
91775
|
+
readonly internalType: "uint16";
|
|
91776
|
+
readonly name: "liquidationFee";
|
|
91777
|
+
readonly type: "uint16";
|
|
91778
|
+
}, {
|
|
91779
|
+
readonly internalType: "bool";
|
|
91780
|
+
readonly name: "isUsingAsCollateral";
|
|
91781
|
+
readonly type: "bool";
|
|
91782
|
+
}, {
|
|
91783
|
+
readonly internalType: "bool";
|
|
91784
|
+
readonly name: "isBorrowing";
|
|
91785
|
+
readonly type: "bool";
|
|
91786
|
+
}];
|
|
91787
|
+
readonly internalType: "struct AaveV4View.UserReserveData[]";
|
|
91788
|
+
readonly name: "reserves";
|
|
91789
|
+
readonly type: "tuple[]";
|
|
91790
|
+
}];
|
|
91791
|
+
readonly internalType: "struct AaveV4View.LoanData[]";
|
|
91792
|
+
readonly name: "loans";
|
|
91793
|
+
readonly type: "tuple[]";
|
|
91794
|
+
}];
|
|
91795
|
+
readonly stateMutability: "view";
|
|
91796
|
+
readonly type: "function";
|
|
91797
|
+
}, {
|
|
91798
|
+
readonly inputs: readonly [{
|
|
91799
|
+
readonly internalType: "address";
|
|
91800
|
+
readonly name: "_spoke";
|
|
91801
|
+
readonly type: "address";
|
|
91802
|
+
}, {
|
|
91803
|
+
readonly internalType: "address[]";
|
|
91804
|
+
readonly name: "_users";
|
|
91805
|
+
readonly type: "address[]";
|
|
91806
|
+
}];
|
|
91807
|
+
readonly name: "getLoanDataForMultipleUsers";
|
|
91808
|
+
readonly outputs: readonly [{
|
|
91809
|
+
readonly components: readonly [{
|
|
91810
|
+
readonly internalType: "address";
|
|
91811
|
+
readonly name: "user";
|
|
91812
|
+
readonly type: "address";
|
|
91813
|
+
}, {
|
|
91814
|
+
readonly internalType: "uint256";
|
|
91815
|
+
readonly name: "riskPremium";
|
|
91816
|
+
readonly type: "uint256";
|
|
91817
|
+
}, {
|
|
91818
|
+
readonly internalType: "uint256";
|
|
91819
|
+
readonly name: "avgCollateralFactor";
|
|
91820
|
+
readonly type: "uint256";
|
|
91821
|
+
}, {
|
|
91822
|
+
readonly internalType: "uint256";
|
|
91823
|
+
readonly name: "healthFactor";
|
|
91824
|
+
readonly type: "uint256";
|
|
91825
|
+
}, {
|
|
91826
|
+
readonly internalType: "uint256";
|
|
91827
|
+
readonly name: "totalCollateralInUsd";
|
|
91828
|
+
readonly type: "uint256";
|
|
91829
|
+
}, {
|
|
91830
|
+
readonly internalType: "uint256";
|
|
91831
|
+
readonly name: "totalDebtInUsdRay";
|
|
91832
|
+
readonly type: "uint256";
|
|
91833
|
+
}, {
|
|
91834
|
+
readonly internalType: "uint256";
|
|
91835
|
+
readonly name: "activeCollateralCount";
|
|
91836
|
+
readonly type: "uint256";
|
|
91837
|
+
}, {
|
|
91838
|
+
readonly internalType: "uint256";
|
|
91839
|
+
readonly name: "borrowCount";
|
|
91840
|
+
readonly type: "uint256";
|
|
91841
|
+
}, {
|
|
91842
|
+
readonly components: readonly [{
|
|
91843
|
+
readonly internalType: "uint256";
|
|
91844
|
+
readonly name: "reserveId";
|
|
91845
|
+
readonly type: "uint256";
|
|
91846
|
+
}, {
|
|
91847
|
+
readonly internalType: "uint16";
|
|
91848
|
+
readonly name: "assetId";
|
|
91849
|
+
readonly type: "uint16";
|
|
91850
|
+
}, {
|
|
91851
|
+
readonly internalType: "address";
|
|
91852
|
+
readonly name: "underlying";
|
|
91853
|
+
readonly type: "address";
|
|
91854
|
+
}, {
|
|
91855
|
+
readonly internalType: "uint256";
|
|
91856
|
+
readonly name: "supplied";
|
|
91857
|
+
readonly type: "uint256";
|
|
91858
|
+
}, {
|
|
91859
|
+
readonly internalType: "uint256";
|
|
91860
|
+
readonly name: "drawn";
|
|
91861
|
+
readonly type: "uint256";
|
|
91862
|
+
}, {
|
|
91863
|
+
readonly internalType: "uint256";
|
|
91864
|
+
readonly name: "premium";
|
|
91865
|
+
readonly type: "uint256";
|
|
91866
|
+
}, {
|
|
91867
|
+
readonly internalType: "uint256";
|
|
91868
|
+
readonly name: "totalDebt";
|
|
91869
|
+
readonly type: "uint256";
|
|
91870
|
+
}, {
|
|
91871
|
+
readonly internalType: "uint16";
|
|
91872
|
+
readonly name: "collateralFactor";
|
|
91873
|
+
readonly type: "uint16";
|
|
91874
|
+
}, {
|
|
91875
|
+
readonly internalType: "uint32";
|
|
91876
|
+
readonly name: "maxLiquidationBonus";
|
|
91877
|
+
readonly type: "uint32";
|
|
91878
|
+
}, {
|
|
91879
|
+
readonly internalType: "uint16";
|
|
91880
|
+
readonly name: "liquidationFee";
|
|
91881
|
+
readonly type: "uint16";
|
|
91882
|
+
}, {
|
|
91883
|
+
readonly internalType: "bool";
|
|
91884
|
+
readonly name: "isUsingAsCollateral";
|
|
91885
|
+
readonly type: "bool";
|
|
91886
|
+
}, {
|
|
91887
|
+
readonly internalType: "bool";
|
|
91888
|
+
readonly name: "isBorrowing";
|
|
91889
|
+
readonly type: "bool";
|
|
91890
|
+
}];
|
|
91891
|
+
readonly internalType: "struct AaveV4View.UserReserveData[]";
|
|
91892
|
+
readonly name: "reserves";
|
|
91893
|
+
readonly type: "tuple[]";
|
|
91894
|
+
}];
|
|
91895
|
+
readonly internalType: "struct AaveV4View.LoanData[]";
|
|
91896
|
+
readonly name: "loans";
|
|
91897
|
+
readonly type: "tuple[]";
|
|
91898
|
+
}];
|
|
91899
|
+
readonly stateMutability: "view";
|
|
91900
|
+
readonly type: "function";
|
|
91901
|
+
}, {
|
|
91902
|
+
readonly inputs: readonly [{
|
|
91903
|
+
readonly internalType: "address";
|
|
91904
|
+
readonly name: "_spoke";
|
|
91905
|
+
readonly type: "address";
|
|
91906
|
+
}, {
|
|
91907
|
+
readonly internalType: "address";
|
|
91908
|
+
readonly name: "_user";
|
|
91909
|
+
readonly type: "address";
|
|
91910
|
+
}];
|
|
91911
|
+
readonly name: "getLoanDataFull";
|
|
91912
|
+
readonly outputs: readonly [{
|
|
91913
|
+
readonly components: readonly [{
|
|
91914
|
+
readonly internalType: "address";
|
|
91915
|
+
readonly name: "user";
|
|
91916
|
+
readonly type: "address";
|
|
91917
|
+
}, {
|
|
91918
|
+
readonly internalType: "uint256";
|
|
91919
|
+
readonly name: "riskPremium";
|
|
91920
|
+
readonly type: "uint256";
|
|
91921
|
+
}, {
|
|
91922
|
+
readonly internalType: "uint256";
|
|
91923
|
+
readonly name: "avgCollateralFactor";
|
|
91924
|
+
readonly type: "uint256";
|
|
91925
|
+
}, {
|
|
91926
|
+
readonly internalType: "uint256";
|
|
91927
|
+
readonly name: "healthFactor";
|
|
91928
|
+
readonly type: "uint256";
|
|
91929
|
+
}, {
|
|
91930
|
+
readonly internalType: "uint256";
|
|
91931
|
+
readonly name: "totalCollateralInUsd";
|
|
91932
|
+
readonly type: "uint256";
|
|
91933
|
+
}, {
|
|
91934
|
+
readonly internalType: "uint256";
|
|
91935
|
+
readonly name: "totalDebtInUsdRay";
|
|
91936
|
+
readonly type: "uint256";
|
|
91937
|
+
}, {
|
|
91938
|
+
readonly internalType: "uint256";
|
|
91939
|
+
readonly name: "activeCollateralCount";
|
|
91940
|
+
readonly type: "uint256";
|
|
91941
|
+
}, {
|
|
91942
|
+
readonly internalType: "uint256";
|
|
91943
|
+
readonly name: "borrowCount";
|
|
91944
|
+
readonly type: "uint256";
|
|
91945
|
+
}, {
|
|
91946
|
+
readonly components: readonly [{
|
|
91947
|
+
readonly internalType: "uint256";
|
|
91948
|
+
readonly name: "reserveId";
|
|
91949
|
+
readonly type: "uint256";
|
|
91950
|
+
}, {
|
|
91951
|
+
readonly internalType: "address";
|
|
91952
|
+
readonly name: "underlying";
|
|
91953
|
+
readonly type: "address";
|
|
91954
|
+
}, {
|
|
91955
|
+
readonly internalType: "uint256";
|
|
91956
|
+
readonly name: "price";
|
|
91957
|
+
readonly type: "uint256";
|
|
91958
|
+
}, {
|
|
91959
|
+
readonly internalType: "uint8";
|
|
91960
|
+
readonly name: "decimals";
|
|
91961
|
+
readonly type: "uint8";
|
|
91962
|
+
}, {
|
|
91963
|
+
readonly internalType: "bool";
|
|
91964
|
+
readonly name: "isUsingAsCollateral";
|
|
91965
|
+
readonly type: "bool";
|
|
91966
|
+
}, {
|
|
91967
|
+
readonly internalType: "bool";
|
|
91968
|
+
readonly name: "isBorrowing";
|
|
91969
|
+
readonly type: "bool";
|
|
91970
|
+
}, {
|
|
91971
|
+
readonly internalType: "bool";
|
|
91972
|
+
readonly name: "reservePaused";
|
|
91973
|
+
readonly type: "bool";
|
|
91974
|
+
}, {
|
|
91975
|
+
readonly internalType: "bool";
|
|
91976
|
+
readonly name: "reserveFrozen";
|
|
91977
|
+
readonly type: "bool";
|
|
91978
|
+
}, {
|
|
91979
|
+
readonly internalType: "bool";
|
|
91980
|
+
readonly name: "borrowable";
|
|
91981
|
+
readonly type: "bool";
|
|
91982
|
+
}, {
|
|
91983
|
+
readonly internalType: "bool";
|
|
91984
|
+
readonly name: "spokeActive";
|
|
91985
|
+
readonly type: "bool";
|
|
91986
|
+
}, {
|
|
91987
|
+
readonly internalType: "bool";
|
|
91988
|
+
readonly name: "spokeHalted";
|
|
91989
|
+
readonly type: "bool";
|
|
91990
|
+
}, {
|
|
91991
|
+
readonly internalType: "uint256";
|
|
91992
|
+
readonly name: "userSupplied";
|
|
91993
|
+
readonly type: "uint256";
|
|
91994
|
+
}, {
|
|
91995
|
+
readonly internalType: "uint256";
|
|
91996
|
+
readonly name: "userDrawn";
|
|
91997
|
+
readonly type: "uint256";
|
|
91998
|
+
}, {
|
|
91999
|
+
readonly internalType: "uint256";
|
|
92000
|
+
readonly name: "userPremium";
|
|
92001
|
+
readonly type: "uint256";
|
|
92002
|
+
}, {
|
|
92003
|
+
readonly internalType: "uint256";
|
|
92004
|
+
readonly name: "userTotalDebt";
|
|
92005
|
+
readonly type: "uint256";
|
|
92006
|
+
}, {
|
|
92007
|
+
readonly internalType: "uint24";
|
|
92008
|
+
readonly name: "collateralRisk";
|
|
92009
|
+
readonly type: "uint24";
|
|
92010
|
+
}, {
|
|
92011
|
+
readonly internalType: "uint16";
|
|
92012
|
+
readonly name: "userCollateralFactor";
|
|
92013
|
+
readonly type: "uint16";
|
|
92014
|
+
}, {
|
|
92015
|
+
readonly internalType: "uint32";
|
|
92016
|
+
readonly name: "userMaxLiquidationBonus";
|
|
92017
|
+
readonly type: "uint32";
|
|
92018
|
+
}, {
|
|
92019
|
+
readonly internalType: "uint16";
|
|
92020
|
+
readonly name: "userLiquidationFee";
|
|
92021
|
+
readonly type: "uint16";
|
|
92022
|
+
}, {
|
|
92023
|
+
readonly internalType: "uint16";
|
|
92024
|
+
readonly name: "latestCollateralFactor";
|
|
92025
|
+
readonly type: "uint16";
|
|
92026
|
+
}, {
|
|
92027
|
+
readonly internalType: "uint32";
|
|
92028
|
+
readonly name: "latestMaxLiquidationBonus";
|
|
92029
|
+
readonly type: "uint32";
|
|
92030
|
+
}, {
|
|
92031
|
+
readonly internalType: "uint16";
|
|
92032
|
+
readonly name: "latestLiquidationFee";
|
|
92033
|
+
readonly type: "uint16";
|
|
92034
|
+
}, {
|
|
92035
|
+
readonly internalType: "address";
|
|
92036
|
+
readonly name: "hub";
|
|
92037
|
+
readonly type: "address";
|
|
92038
|
+
}, {
|
|
92039
|
+
readonly internalType: "uint16";
|
|
92040
|
+
readonly name: "hubAssetId";
|
|
92041
|
+
readonly type: "uint16";
|
|
92042
|
+
}, {
|
|
92043
|
+
readonly internalType: "uint256";
|
|
92044
|
+
readonly name: "hubLiquidity";
|
|
92045
|
+
readonly type: "uint256";
|
|
92046
|
+
}, {
|
|
92047
|
+
readonly internalType: "uint96";
|
|
92048
|
+
readonly name: "drawnRate";
|
|
92049
|
+
readonly type: "uint96";
|
|
92050
|
+
}, {
|
|
92051
|
+
readonly internalType: "uint120";
|
|
92052
|
+
readonly name: "drawnIndex";
|
|
92053
|
+
readonly type: "uint120";
|
|
92054
|
+
}, {
|
|
92055
|
+
readonly internalType: "uint256";
|
|
92056
|
+
readonly name: "spokeTotalSupplied";
|
|
92057
|
+
readonly type: "uint256";
|
|
92058
|
+
}, {
|
|
92059
|
+
readonly internalType: "uint256";
|
|
92060
|
+
readonly name: "spokeTotalDrawn";
|
|
92061
|
+
readonly type: "uint256";
|
|
92062
|
+
}, {
|
|
92063
|
+
readonly internalType: "uint256";
|
|
92064
|
+
readonly name: "spokeTotalPremium";
|
|
92065
|
+
readonly type: "uint256";
|
|
92066
|
+
}, {
|
|
92067
|
+
readonly internalType: "uint256";
|
|
92068
|
+
readonly name: "spokeTotalDebt";
|
|
92069
|
+
readonly type: "uint256";
|
|
92070
|
+
}, {
|
|
92071
|
+
readonly internalType: "uint256";
|
|
92072
|
+
readonly name: "spokeSupplyCap";
|
|
92073
|
+
readonly type: "uint256";
|
|
92074
|
+
}, {
|
|
92075
|
+
readonly internalType: "uint256";
|
|
92076
|
+
readonly name: "spokeBorrowCap";
|
|
92077
|
+
readonly type: "uint256";
|
|
92078
|
+
}, {
|
|
92079
|
+
readonly internalType: "uint256";
|
|
92080
|
+
readonly name: "spokeDeficitRay";
|
|
92081
|
+
readonly type: "uint256";
|
|
92082
|
+
}];
|
|
92083
|
+
readonly internalType: "struct AaveV4View.UserReserveDataFull[]";
|
|
92084
|
+
readonly name: "reserves";
|
|
92085
|
+
readonly type: "tuple[]";
|
|
92086
|
+
}];
|
|
92087
|
+
readonly internalType: "struct AaveV4View.LoanDataWithFullReserves";
|
|
92088
|
+
readonly name: "loanData";
|
|
92089
|
+
readonly type: "tuple";
|
|
92090
|
+
}];
|
|
92091
|
+
readonly stateMutability: "view";
|
|
92092
|
+
readonly type: "function";
|
|
92093
|
+
}, {
|
|
92094
|
+
readonly inputs: readonly [{
|
|
92095
|
+
readonly internalType: "address";
|
|
92096
|
+
readonly name: "_spoke";
|
|
92097
|
+
readonly type: "address";
|
|
92098
|
+
}, {
|
|
92099
|
+
readonly internalType: "uint256";
|
|
92100
|
+
readonly name: "_reserveId";
|
|
92101
|
+
readonly type: "uint256";
|
|
92102
|
+
}];
|
|
92103
|
+
readonly name: "getReserveData";
|
|
92104
|
+
readonly outputs: readonly [{
|
|
92105
|
+
readonly components: readonly [{
|
|
92106
|
+
readonly internalType: "address";
|
|
92107
|
+
readonly name: "underlying";
|
|
92108
|
+
readonly type: "address";
|
|
92109
|
+
}, {
|
|
92110
|
+
readonly internalType: "uint16";
|
|
92111
|
+
readonly name: "collateralFactor";
|
|
92112
|
+
readonly type: "uint16";
|
|
92113
|
+
}, {
|
|
92114
|
+
readonly internalType: "uint256";
|
|
92115
|
+
readonly name: "price";
|
|
92116
|
+
readonly type: "uint256";
|
|
92117
|
+
}];
|
|
92118
|
+
readonly internalType: "struct AaveV4View.ReserveData";
|
|
92119
|
+
readonly name: "reserveData";
|
|
92120
|
+
readonly type: "tuple";
|
|
92121
|
+
}];
|
|
92122
|
+
readonly stateMutability: "view";
|
|
92123
|
+
readonly type: "function";
|
|
92124
|
+
}, {
|
|
92125
|
+
readonly inputs: readonly [{
|
|
92126
|
+
readonly internalType: "address";
|
|
92127
|
+
readonly name: "_spoke";
|
|
92128
|
+
readonly type: "address";
|
|
92129
|
+
}, {
|
|
92130
|
+
readonly internalType: "uint256";
|
|
92131
|
+
readonly name: "_reserveId";
|
|
92132
|
+
readonly type: "uint256";
|
|
92133
|
+
}];
|
|
92134
|
+
readonly name: "getReserveDataFull";
|
|
92135
|
+
readonly outputs: readonly [{
|
|
92136
|
+
readonly components: readonly [{
|
|
92137
|
+
readonly internalType: "address";
|
|
92138
|
+
readonly name: "underlying";
|
|
92139
|
+
readonly type: "address";
|
|
92140
|
+
}, {
|
|
92141
|
+
readonly internalType: "address";
|
|
92142
|
+
readonly name: "hub";
|
|
92143
|
+
readonly type: "address";
|
|
92144
|
+
}, {
|
|
92145
|
+
readonly internalType: "uint16";
|
|
92146
|
+
readonly name: "assetId";
|
|
92147
|
+
readonly type: "uint16";
|
|
92148
|
+
}, {
|
|
92149
|
+
readonly internalType: "uint8";
|
|
92150
|
+
readonly name: "decimals";
|
|
92151
|
+
readonly type: "uint8";
|
|
92152
|
+
}, {
|
|
92153
|
+
readonly internalType: "bool";
|
|
92154
|
+
readonly name: "paused";
|
|
92155
|
+
readonly type: "bool";
|
|
92156
|
+
}, {
|
|
92157
|
+
readonly internalType: "bool";
|
|
92158
|
+
readonly name: "frozen";
|
|
92159
|
+
readonly type: "bool";
|
|
92160
|
+
}, {
|
|
92161
|
+
readonly internalType: "bool";
|
|
92162
|
+
readonly name: "borrowable";
|
|
92163
|
+
readonly type: "bool";
|
|
92164
|
+
}, {
|
|
92165
|
+
readonly internalType: "uint24";
|
|
92166
|
+
readonly name: "collateralRisk";
|
|
92167
|
+
readonly type: "uint24";
|
|
92168
|
+
}, {
|
|
92169
|
+
readonly internalType: "uint16";
|
|
92170
|
+
readonly name: "collateralFactor";
|
|
92171
|
+
readonly type: "uint16";
|
|
92172
|
+
}, {
|
|
92173
|
+
readonly internalType: "uint32";
|
|
92174
|
+
readonly name: "maxLiquidationBonus";
|
|
92175
|
+
readonly type: "uint32";
|
|
92176
|
+
}, {
|
|
92177
|
+
readonly internalType: "uint16";
|
|
92178
|
+
readonly name: "liquidationFee";
|
|
92179
|
+
readonly type: "uint16";
|
|
92180
|
+
}, {
|
|
92181
|
+
readonly internalType: "uint256";
|
|
92182
|
+
readonly name: "price";
|
|
92183
|
+
readonly type: "uint256";
|
|
92184
|
+
}, {
|
|
92185
|
+
readonly internalType: "uint256";
|
|
92186
|
+
readonly name: "totalSupplied";
|
|
92187
|
+
readonly type: "uint256";
|
|
92188
|
+
}, {
|
|
92189
|
+
readonly internalType: "uint256";
|
|
92190
|
+
readonly name: "totalDrawn";
|
|
92191
|
+
readonly type: "uint256";
|
|
92192
|
+
}, {
|
|
92193
|
+
readonly internalType: "uint256";
|
|
92194
|
+
readonly name: "totalPremium";
|
|
92195
|
+
readonly type: "uint256";
|
|
92196
|
+
}, {
|
|
92197
|
+
readonly internalType: "uint256";
|
|
92198
|
+
readonly name: "totalDebt";
|
|
92199
|
+
readonly type: "uint256";
|
|
92200
|
+
}, {
|
|
92201
|
+
readonly internalType: "uint256";
|
|
92202
|
+
readonly name: "supplyCap";
|
|
92203
|
+
readonly type: "uint256";
|
|
92204
|
+
}, {
|
|
92205
|
+
readonly internalType: "uint256";
|
|
92206
|
+
readonly name: "borrowCap";
|
|
92207
|
+
readonly type: "uint256";
|
|
92208
|
+
}, {
|
|
92209
|
+
readonly internalType: "uint256";
|
|
92210
|
+
readonly name: "deficitRay";
|
|
92211
|
+
readonly type: "uint256";
|
|
92212
|
+
}, {
|
|
92213
|
+
readonly internalType: "bool";
|
|
92214
|
+
readonly name: "spokeActive";
|
|
92215
|
+
readonly type: "bool";
|
|
92216
|
+
}, {
|
|
92217
|
+
readonly internalType: "bool";
|
|
92218
|
+
readonly name: "spokeHalted";
|
|
92219
|
+
readonly type: "bool";
|
|
92220
|
+
}];
|
|
92221
|
+
readonly internalType: "struct AaveV4View.ReserveDataFull";
|
|
92222
|
+
readonly name: "reserveData";
|
|
92223
|
+
readonly type: "tuple";
|
|
92224
|
+
}];
|
|
92225
|
+
readonly stateMutability: "view";
|
|
92226
|
+
readonly type: "function";
|
|
92227
|
+
}, {
|
|
92228
|
+
readonly inputs: readonly [{
|
|
92229
|
+
readonly internalType: "address";
|
|
92230
|
+
readonly name: "_spoke";
|
|
92231
|
+
readonly type: "address";
|
|
92232
|
+
}, {
|
|
92233
|
+
readonly internalType: "uint256";
|
|
92234
|
+
readonly name: "_reserveId";
|
|
92235
|
+
readonly type: "uint256";
|
|
92236
|
+
}];
|
|
92237
|
+
readonly name: "getReservePrice";
|
|
92238
|
+
readonly outputs: readonly [{
|
|
92239
|
+
readonly internalType: "uint256";
|
|
92240
|
+
readonly name: "price";
|
|
92241
|
+
readonly type: "uint256";
|
|
92242
|
+
}];
|
|
92243
|
+
readonly stateMutability: "view";
|
|
92244
|
+
readonly type: "function";
|
|
92245
|
+
}, {
|
|
92246
|
+
readonly inputs: readonly [{
|
|
92247
|
+
readonly internalType: "address";
|
|
92248
|
+
readonly name: "_spoke";
|
|
92249
|
+
readonly type: "address";
|
|
92250
|
+
}, {
|
|
92251
|
+
readonly internalType: "uint256[]";
|
|
92252
|
+
readonly name: "_reserveIds";
|
|
92253
|
+
readonly type: "uint256[]";
|
|
92254
|
+
}];
|
|
92255
|
+
readonly name: "getReservePrices";
|
|
92256
|
+
readonly outputs: readonly [{
|
|
92257
|
+
readonly internalType: "uint256[]";
|
|
92258
|
+
readonly name: "prices";
|
|
92259
|
+
readonly type: "uint256[]";
|
|
92260
|
+
}];
|
|
92261
|
+
readonly stateMutability: "view";
|
|
92262
|
+
readonly type: "function";
|
|
92263
|
+
}, {
|
|
92264
|
+
readonly inputs: readonly [{
|
|
92265
|
+
readonly internalType: "address";
|
|
92266
|
+
readonly name: "_spoke";
|
|
92267
|
+
readonly type: "address";
|
|
92268
|
+
}, {
|
|
92269
|
+
readonly internalType: "uint256[]";
|
|
92270
|
+
readonly name: "_reserveIds";
|
|
92271
|
+
readonly type: "uint256[]";
|
|
92272
|
+
}];
|
|
92273
|
+
readonly name: "getReservesData";
|
|
92274
|
+
readonly outputs: readonly [{
|
|
92275
|
+
readonly components: readonly [{
|
|
92276
|
+
readonly internalType: "address";
|
|
92277
|
+
readonly name: "underlying";
|
|
92278
|
+
readonly type: "address";
|
|
92279
|
+
}, {
|
|
92280
|
+
readonly internalType: "uint16";
|
|
92281
|
+
readonly name: "collateralFactor";
|
|
92282
|
+
readonly type: "uint16";
|
|
92283
|
+
}, {
|
|
92284
|
+
readonly internalType: "uint256";
|
|
92285
|
+
readonly name: "price";
|
|
92286
|
+
readonly type: "uint256";
|
|
92287
|
+
}];
|
|
92288
|
+
readonly internalType: "struct AaveV4View.ReserveData[]";
|
|
92289
|
+
readonly name: "reserveData";
|
|
92290
|
+
readonly type: "tuple[]";
|
|
92291
|
+
}];
|
|
92292
|
+
readonly stateMutability: "view";
|
|
92293
|
+
readonly type: "function";
|
|
92294
|
+
}, {
|
|
92295
|
+
readonly inputs: readonly [{
|
|
92296
|
+
readonly internalType: "address";
|
|
92297
|
+
readonly name: "_spoke";
|
|
92298
|
+
readonly type: "address";
|
|
92299
|
+
}, {
|
|
92300
|
+
readonly internalType: "uint256[]";
|
|
92301
|
+
readonly name: "_reserveIds";
|
|
92302
|
+
readonly type: "uint256[]";
|
|
92303
|
+
}];
|
|
92304
|
+
readonly name: "getReservesDataFull";
|
|
92305
|
+
readonly outputs: readonly [{
|
|
92306
|
+
readonly components: readonly [{
|
|
92307
|
+
readonly internalType: "address";
|
|
92308
|
+
readonly name: "underlying";
|
|
92309
|
+
readonly type: "address";
|
|
92310
|
+
}, {
|
|
92311
|
+
readonly internalType: "address";
|
|
92312
|
+
readonly name: "hub";
|
|
92313
|
+
readonly type: "address";
|
|
92314
|
+
}, {
|
|
92315
|
+
readonly internalType: "uint16";
|
|
92316
|
+
readonly name: "assetId";
|
|
92317
|
+
readonly type: "uint16";
|
|
92318
|
+
}, {
|
|
92319
|
+
readonly internalType: "uint8";
|
|
92320
|
+
readonly name: "decimals";
|
|
92321
|
+
readonly type: "uint8";
|
|
92322
|
+
}, {
|
|
92323
|
+
readonly internalType: "bool";
|
|
92324
|
+
readonly name: "paused";
|
|
92325
|
+
readonly type: "bool";
|
|
92326
|
+
}, {
|
|
92327
|
+
readonly internalType: "bool";
|
|
92328
|
+
readonly name: "frozen";
|
|
92329
|
+
readonly type: "bool";
|
|
92330
|
+
}, {
|
|
92331
|
+
readonly internalType: "bool";
|
|
92332
|
+
readonly name: "borrowable";
|
|
92333
|
+
readonly type: "bool";
|
|
92334
|
+
}, {
|
|
92335
|
+
readonly internalType: "uint24";
|
|
92336
|
+
readonly name: "collateralRisk";
|
|
92337
|
+
readonly type: "uint24";
|
|
92338
|
+
}, {
|
|
92339
|
+
readonly internalType: "uint16";
|
|
92340
|
+
readonly name: "collateralFactor";
|
|
92341
|
+
readonly type: "uint16";
|
|
92342
|
+
}, {
|
|
92343
|
+
readonly internalType: "uint32";
|
|
92344
|
+
readonly name: "maxLiquidationBonus";
|
|
92345
|
+
readonly type: "uint32";
|
|
92346
|
+
}, {
|
|
92347
|
+
readonly internalType: "uint16";
|
|
92348
|
+
readonly name: "liquidationFee";
|
|
92349
|
+
readonly type: "uint16";
|
|
92350
|
+
}, {
|
|
92351
|
+
readonly internalType: "uint256";
|
|
92352
|
+
readonly name: "price";
|
|
92353
|
+
readonly type: "uint256";
|
|
92354
|
+
}, {
|
|
92355
|
+
readonly internalType: "uint256";
|
|
92356
|
+
readonly name: "totalSupplied";
|
|
92357
|
+
readonly type: "uint256";
|
|
92358
|
+
}, {
|
|
92359
|
+
readonly internalType: "uint256";
|
|
92360
|
+
readonly name: "totalDrawn";
|
|
92361
|
+
readonly type: "uint256";
|
|
92362
|
+
}, {
|
|
92363
|
+
readonly internalType: "uint256";
|
|
92364
|
+
readonly name: "totalPremium";
|
|
92365
|
+
readonly type: "uint256";
|
|
92366
|
+
}, {
|
|
92367
|
+
readonly internalType: "uint256";
|
|
92368
|
+
readonly name: "totalDebt";
|
|
92369
|
+
readonly type: "uint256";
|
|
92370
|
+
}, {
|
|
92371
|
+
readonly internalType: "uint256";
|
|
92372
|
+
readonly name: "supplyCap";
|
|
92373
|
+
readonly type: "uint256";
|
|
92374
|
+
}, {
|
|
92375
|
+
readonly internalType: "uint256";
|
|
92376
|
+
readonly name: "borrowCap";
|
|
92377
|
+
readonly type: "uint256";
|
|
92378
|
+
}, {
|
|
92379
|
+
readonly internalType: "uint256";
|
|
92380
|
+
readonly name: "deficitRay";
|
|
92381
|
+
readonly type: "uint256";
|
|
92382
|
+
}, {
|
|
92383
|
+
readonly internalType: "bool";
|
|
92384
|
+
readonly name: "spokeActive";
|
|
92385
|
+
readonly type: "bool";
|
|
92386
|
+
}, {
|
|
92387
|
+
readonly internalType: "bool";
|
|
92388
|
+
readonly name: "spokeHalted";
|
|
92389
|
+
readonly type: "bool";
|
|
92390
|
+
}];
|
|
92391
|
+
readonly internalType: "struct AaveV4View.ReserveDataFull[]";
|
|
92392
|
+
readonly name: "reserveData";
|
|
92393
|
+
readonly type: "tuple[]";
|
|
92394
|
+
}];
|
|
92395
|
+
readonly stateMutability: "view";
|
|
92396
|
+
readonly type: "function";
|
|
92397
|
+
}, {
|
|
92398
|
+
readonly inputs: readonly [{
|
|
92399
|
+
readonly internalType: "address";
|
|
92400
|
+
readonly name: "_spoke";
|
|
92401
|
+
readonly type: "address";
|
|
92402
|
+
}];
|
|
92403
|
+
readonly name: "getSpokeData";
|
|
92404
|
+
readonly outputs: readonly [{
|
|
92405
|
+
readonly components: readonly [{
|
|
92406
|
+
readonly internalType: "uint128";
|
|
92407
|
+
readonly name: "targetHealthFactor";
|
|
92408
|
+
readonly type: "uint128";
|
|
92409
|
+
}, {
|
|
92410
|
+
readonly internalType: "uint64";
|
|
92411
|
+
readonly name: "healthFactorForMaxBonus";
|
|
92412
|
+
readonly type: "uint64";
|
|
92413
|
+
}, {
|
|
92414
|
+
readonly internalType: "uint16";
|
|
92415
|
+
readonly name: "liquidationBonusFactor";
|
|
92416
|
+
readonly type: "uint16";
|
|
92417
|
+
}, {
|
|
92418
|
+
readonly internalType: "address";
|
|
92419
|
+
readonly name: "oracle";
|
|
92420
|
+
readonly type: "address";
|
|
92421
|
+
}, {
|
|
92422
|
+
readonly internalType: "uint256";
|
|
92423
|
+
readonly name: "oracleDecimals";
|
|
92424
|
+
readonly type: "uint256";
|
|
92425
|
+
}, {
|
|
92426
|
+
readonly internalType: "uint256";
|
|
92427
|
+
readonly name: "reserveCount";
|
|
92428
|
+
readonly type: "uint256";
|
|
92429
|
+
}];
|
|
92430
|
+
readonly internalType: "struct AaveV4View.SpokeData";
|
|
92431
|
+
readonly name: "spokeData";
|
|
92432
|
+
readonly type: "tuple";
|
|
92433
|
+
}, {
|
|
92434
|
+
readonly components: readonly [{
|
|
92435
|
+
readonly internalType: "address";
|
|
92436
|
+
readonly name: "underlying";
|
|
92437
|
+
readonly type: "address";
|
|
92438
|
+
}, {
|
|
92439
|
+
readonly internalType: "uint16";
|
|
92440
|
+
readonly name: "collateralFactor";
|
|
92441
|
+
readonly type: "uint16";
|
|
92442
|
+
}, {
|
|
92443
|
+
readonly internalType: "uint256";
|
|
92444
|
+
readonly name: "price";
|
|
92445
|
+
readonly type: "uint256";
|
|
92446
|
+
}];
|
|
92447
|
+
readonly internalType: "struct AaveV4View.ReserveData[]";
|
|
92448
|
+
readonly name: "reserves";
|
|
92449
|
+
readonly type: "tuple[]";
|
|
92450
|
+
}];
|
|
92451
|
+
readonly stateMutability: "view";
|
|
92452
|
+
readonly type: "function";
|
|
92453
|
+
}, {
|
|
92454
|
+
readonly inputs: readonly [{
|
|
92455
|
+
readonly internalType: "address";
|
|
92456
|
+
readonly name: "_spoke";
|
|
92457
|
+
readonly type: "address";
|
|
92458
|
+
}];
|
|
92459
|
+
readonly name: "getSpokeDataFull";
|
|
92460
|
+
readonly outputs: readonly [{
|
|
92461
|
+
readonly components: readonly [{
|
|
92462
|
+
readonly internalType: "uint128";
|
|
92463
|
+
readonly name: "targetHealthFactor";
|
|
92464
|
+
readonly type: "uint128";
|
|
92465
|
+
}, {
|
|
92466
|
+
readonly internalType: "uint64";
|
|
92467
|
+
readonly name: "healthFactorForMaxBonus";
|
|
92468
|
+
readonly type: "uint64";
|
|
92469
|
+
}, {
|
|
92470
|
+
readonly internalType: "uint16";
|
|
92471
|
+
readonly name: "liquidationBonusFactor";
|
|
92472
|
+
readonly type: "uint16";
|
|
92473
|
+
}, {
|
|
92474
|
+
readonly internalType: "address";
|
|
92475
|
+
readonly name: "oracle";
|
|
92476
|
+
readonly type: "address";
|
|
92477
|
+
}, {
|
|
92478
|
+
readonly internalType: "uint256";
|
|
92479
|
+
readonly name: "oracleDecimals";
|
|
92480
|
+
readonly type: "uint256";
|
|
92481
|
+
}, {
|
|
92482
|
+
readonly internalType: "uint256";
|
|
92483
|
+
readonly name: "reserveCount";
|
|
92484
|
+
readonly type: "uint256";
|
|
92485
|
+
}];
|
|
92486
|
+
readonly internalType: "struct AaveV4View.SpokeData";
|
|
92487
|
+
readonly name: "spokeData";
|
|
92488
|
+
readonly type: "tuple";
|
|
92489
|
+
}, {
|
|
92490
|
+
readonly components: readonly [{
|
|
92491
|
+
readonly internalType: "address";
|
|
92492
|
+
readonly name: "underlying";
|
|
92493
|
+
readonly type: "address";
|
|
92494
|
+
}, {
|
|
92495
|
+
readonly internalType: "address";
|
|
92496
|
+
readonly name: "hub";
|
|
92497
|
+
readonly type: "address";
|
|
92498
|
+
}, {
|
|
92499
|
+
readonly internalType: "uint16";
|
|
92500
|
+
readonly name: "assetId";
|
|
92501
|
+
readonly type: "uint16";
|
|
92502
|
+
}, {
|
|
92503
|
+
readonly internalType: "uint8";
|
|
92504
|
+
readonly name: "decimals";
|
|
92505
|
+
readonly type: "uint8";
|
|
92506
|
+
}, {
|
|
92507
|
+
readonly internalType: "bool";
|
|
92508
|
+
readonly name: "paused";
|
|
92509
|
+
readonly type: "bool";
|
|
92510
|
+
}, {
|
|
92511
|
+
readonly internalType: "bool";
|
|
92512
|
+
readonly name: "frozen";
|
|
92513
|
+
readonly type: "bool";
|
|
92514
|
+
}, {
|
|
92515
|
+
readonly internalType: "bool";
|
|
92516
|
+
readonly name: "borrowable";
|
|
92517
|
+
readonly type: "bool";
|
|
92518
|
+
}, {
|
|
92519
|
+
readonly internalType: "uint24";
|
|
92520
|
+
readonly name: "collateralRisk";
|
|
92521
|
+
readonly type: "uint24";
|
|
92522
|
+
}, {
|
|
92523
|
+
readonly internalType: "uint16";
|
|
92524
|
+
readonly name: "collateralFactor";
|
|
92525
|
+
readonly type: "uint16";
|
|
92526
|
+
}, {
|
|
92527
|
+
readonly internalType: "uint32";
|
|
92528
|
+
readonly name: "maxLiquidationBonus";
|
|
92529
|
+
readonly type: "uint32";
|
|
92530
|
+
}, {
|
|
92531
|
+
readonly internalType: "uint16";
|
|
92532
|
+
readonly name: "liquidationFee";
|
|
92533
|
+
readonly type: "uint16";
|
|
92534
|
+
}, {
|
|
92535
|
+
readonly internalType: "uint256";
|
|
92536
|
+
readonly name: "price";
|
|
92537
|
+
readonly type: "uint256";
|
|
92538
|
+
}, {
|
|
92539
|
+
readonly internalType: "uint256";
|
|
92540
|
+
readonly name: "totalSupplied";
|
|
92541
|
+
readonly type: "uint256";
|
|
92542
|
+
}, {
|
|
92543
|
+
readonly internalType: "uint256";
|
|
92544
|
+
readonly name: "totalDrawn";
|
|
92545
|
+
readonly type: "uint256";
|
|
92546
|
+
}, {
|
|
92547
|
+
readonly internalType: "uint256";
|
|
92548
|
+
readonly name: "totalPremium";
|
|
92549
|
+
readonly type: "uint256";
|
|
92550
|
+
}, {
|
|
92551
|
+
readonly internalType: "uint256";
|
|
92552
|
+
readonly name: "totalDebt";
|
|
92553
|
+
readonly type: "uint256";
|
|
92554
|
+
}, {
|
|
92555
|
+
readonly internalType: "uint256";
|
|
92556
|
+
readonly name: "supplyCap";
|
|
92557
|
+
readonly type: "uint256";
|
|
92558
|
+
}, {
|
|
92559
|
+
readonly internalType: "uint256";
|
|
92560
|
+
readonly name: "borrowCap";
|
|
92561
|
+
readonly type: "uint256";
|
|
92562
|
+
}, {
|
|
92563
|
+
readonly internalType: "uint256";
|
|
92564
|
+
readonly name: "deficitRay";
|
|
92565
|
+
readonly type: "uint256";
|
|
92566
|
+
}, {
|
|
92567
|
+
readonly internalType: "bool";
|
|
92568
|
+
readonly name: "spokeActive";
|
|
92569
|
+
readonly type: "bool";
|
|
92570
|
+
}, {
|
|
92571
|
+
readonly internalType: "bool";
|
|
92572
|
+
readonly name: "spokeHalted";
|
|
92573
|
+
readonly type: "bool";
|
|
92574
|
+
}];
|
|
92575
|
+
readonly internalType: "struct AaveV4View.ReserveDataFull[]";
|
|
92576
|
+
readonly name: "reserves";
|
|
92577
|
+
readonly type: "tuple[]";
|
|
92578
|
+
}];
|
|
92579
|
+
readonly stateMutability: "view";
|
|
92580
|
+
readonly type: "function";
|
|
92581
|
+
}, {
|
|
92582
|
+
readonly inputs: readonly [{
|
|
92583
|
+
readonly internalType: "address";
|
|
92584
|
+
readonly name: "_hub";
|
|
92585
|
+
readonly type: "address";
|
|
92586
|
+
}, {
|
|
92587
|
+
readonly internalType: "uint256";
|
|
92588
|
+
readonly name: "_assetId";
|
|
92589
|
+
readonly type: "uint256";
|
|
92590
|
+
}];
|
|
92591
|
+
readonly name: "getSpokesForAsset";
|
|
92592
|
+
readonly outputs: readonly [{
|
|
92593
|
+
readonly internalType: "address[]";
|
|
92594
|
+
readonly name: "spokes";
|
|
92595
|
+
readonly type: "address[]";
|
|
92596
|
+
}];
|
|
92597
|
+
readonly stateMutability: "view";
|
|
92598
|
+
readonly type: "function";
|
|
92599
|
+
}, {
|
|
92600
|
+
readonly inputs: readonly [{
|
|
92601
|
+
readonly internalType: "address";
|
|
92602
|
+
readonly name: "_spoke";
|
|
92603
|
+
readonly type: "address";
|
|
92604
|
+
}, {
|
|
92605
|
+
readonly internalType: "address";
|
|
92606
|
+
readonly name: "_user";
|
|
92607
|
+
readonly type: "address";
|
|
92608
|
+
}];
|
|
92609
|
+
readonly name: "getTokenizationSpokeData";
|
|
92610
|
+
readonly outputs: readonly [{
|
|
92611
|
+
readonly components: readonly [{
|
|
92612
|
+
readonly internalType: "address";
|
|
92613
|
+
readonly name: "underlyingAsset";
|
|
92614
|
+
readonly type: "address";
|
|
92615
|
+
}, {
|
|
92616
|
+
readonly internalType: "uint256";
|
|
92617
|
+
readonly name: "assetId";
|
|
92618
|
+
readonly type: "uint256";
|
|
92619
|
+
}, {
|
|
92620
|
+
readonly internalType: "uint8";
|
|
92621
|
+
readonly name: "decimals";
|
|
92622
|
+
readonly type: "uint8";
|
|
92623
|
+
}, {
|
|
92624
|
+
readonly internalType: "address";
|
|
92625
|
+
readonly name: "spoke";
|
|
92626
|
+
readonly type: "address";
|
|
92627
|
+
}, {
|
|
92628
|
+
readonly internalType: "bool";
|
|
92629
|
+
readonly name: "spokeActive";
|
|
92630
|
+
readonly type: "bool";
|
|
92631
|
+
}, {
|
|
92632
|
+
readonly internalType: "bool";
|
|
92633
|
+
readonly name: "spokeHalted";
|
|
92634
|
+
readonly type: "bool";
|
|
92635
|
+
}, {
|
|
92636
|
+
readonly internalType: "uint256";
|
|
92637
|
+
readonly name: "spokeDepositCap";
|
|
92638
|
+
readonly type: "uint256";
|
|
92639
|
+
}, {
|
|
92640
|
+
readonly internalType: "uint256";
|
|
92641
|
+
readonly name: "spokeTotalAssets";
|
|
92642
|
+
readonly type: "uint256";
|
|
92643
|
+
}, {
|
|
92644
|
+
readonly internalType: "uint256";
|
|
92645
|
+
readonly name: "spokeTotalShares";
|
|
92646
|
+
readonly type: "uint256";
|
|
92647
|
+
}, {
|
|
92648
|
+
readonly internalType: "address";
|
|
92649
|
+
readonly name: "hub";
|
|
92650
|
+
readonly type: "address";
|
|
92651
|
+
}, {
|
|
92652
|
+
readonly internalType: "uint256";
|
|
92653
|
+
readonly name: "hubLiquidity";
|
|
92654
|
+
readonly type: "uint256";
|
|
92655
|
+
}, {
|
|
92656
|
+
readonly internalType: "uint96";
|
|
92657
|
+
readonly name: "hubDrawnRate";
|
|
92658
|
+
readonly type: "uint96";
|
|
92659
|
+
}, {
|
|
92660
|
+
readonly internalType: "uint256";
|
|
92661
|
+
readonly name: "convertToShares";
|
|
92662
|
+
readonly type: "uint256";
|
|
92663
|
+
}, {
|
|
92664
|
+
readonly internalType: "uint256";
|
|
92665
|
+
readonly name: "convertToAssets";
|
|
92666
|
+
readonly type: "uint256";
|
|
92667
|
+
}, {
|
|
92668
|
+
readonly internalType: "address";
|
|
92669
|
+
readonly name: "user";
|
|
92670
|
+
readonly type: "address";
|
|
92671
|
+
}, {
|
|
92672
|
+
readonly internalType: "uint256";
|
|
92673
|
+
readonly name: "userSuppliedAssets";
|
|
92674
|
+
readonly type: "uint256";
|
|
92675
|
+
}, {
|
|
92676
|
+
readonly internalType: "uint256";
|
|
92677
|
+
readonly name: "userSuppliedShares";
|
|
92678
|
+
readonly type: "uint256";
|
|
92679
|
+
}];
|
|
92680
|
+
readonly internalType: "struct AaveV4View.TokenizationSpokeData";
|
|
92681
|
+
readonly name: "spokeData";
|
|
92682
|
+
readonly type: "tuple";
|
|
92683
|
+
}];
|
|
92684
|
+
readonly stateMutability: "view";
|
|
92685
|
+
readonly type: "function";
|
|
92686
|
+
}, {
|
|
92687
|
+
readonly inputs: readonly [{
|
|
92688
|
+
readonly internalType: "address[]";
|
|
92689
|
+
readonly name: "_spokes";
|
|
92690
|
+
readonly type: "address[]";
|
|
92691
|
+
}, {
|
|
92692
|
+
readonly internalType: "address";
|
|
92693
|
+
readonly name: "_user";
|
|
92694
|
+
readonly type: "address";
|
|
92695
|
+
}];
|
|
92696
|
+
readonly name: "getTokenizationSpokesData";
|
|
92697
|
+
readonly outputs: readonly [{
|
|
92698
|
+
readonly components: readonly [{
|
|
92699
|
+
readonly internalType: "address";
|
|
92700
|
+
readonly name: "underlyingAsset";
|
|
92701
|
+
readonly type: "address";
|
|
92702
|
+
}, {
|
|
92703
|
+
readonly internalType: "uint256";
|
|
92704
|
+
readonly name: "assetId";
|
|
92705
|
+
readonly type: "uint256";
|
|
92706
|
+
}, {
|
|
92707
|
+
readonly internalType: "uint8";
|
|
92708
|
+
readonly name: "decimals";
|
|
92709
|
+
readonly type: "uint8";
|
|
92710
|
+
}, {
|
|
92711
|
+
readonly internalType: "address";
|
|
92712
|
+
readonly name: "spoke";
|
|
92713
|
+
readonly type: "address";
|
|
92714
|
+
}, {
|
|
92715
|
+
readonly internalType: "bool";
|
|
92716
|
+
readonly name: "spokeActive";
|
|
92717
|
+
readonly type: "bool";
|
|
92718
|
+
}, {
|
|
92719
|
+
readonly internalType: "bool";
|
|
92720
|
+
readonly name: "spokeHalted";
|
|
92721
|
+
readonly type: "bool";
|
|
92722
|
+
}, {
|
|
92723
|
+
readonly internalType: "uint256";
|
|
92724
|
+
readonly name: "spokeDepositCap";
|
|
92725
|
+
readonly type: "uint256";
|
|
92726
|
+
}, {
|
|
92727
|
+
readonly internalType: "uint256";
|
|
92728
|
+
readonly name: "spokeTotalAssets";
|
|
92729
|
+
readonly type: "uint256";
|
|
92730
|
+
}, {
|
|
92731
|
+
readonly internalType: "uint256";
|
|
92732
|
+
readonly name: "spokeTotalShares";
|
|
92733
|
+
readonly type: "uint256";
|
|
92734
|
+
}, {
|
|
92735
|
+
readonly internalType: "address";
|
|
92736
|
+
readonly name: "hub";
|
|
92737
|
+
readonly type: "address";
|
|
92738
|
+
}, {
|
|
92739
|
+
readonly internalType: "uint256";
|
|
92740
|
+
readonly name: "hubLiquidity";
|
|
92741
|
+
readonly type: "uint256";
|
|
92742
|
+
}, {
|
|
92743
|
+
readonly internalType: "uint96";
|
|
92744
|
+
readonly name: "hubDrawnRate";
|
|
92745
|
+
readonly type: "uint96";
|
|
92746
|
+
}, {
|
|
92747
|
+
readonly internalType: "uint256";
|
|
92748
|
+
readonly name: "convertToShares";
|
|
92749
|
+
readonly type: "uint256";
|
|
92750
|
+
}, {
|
|
92751
|
+
readonly internalType: "uint256";
|
|
92752
|
+
readonly name: "convertToAssets";
|
|
92753
|
+
readonly type: "uint256";
|
|
92754
|
+
}, {
|
|
92755
|
+
readonly internalType: "address";
|
|
92756
|
+
readonly name: "user";
|
|
92757
|
+
readonly type: "address";
|
|
92758
|
+
}, {
|
|
92759
|
+
readonly internalType: "uint256";
|
|
92760
|
+
readonly name: "userSuppliedAssets";
|
|
92761
|
+
readonly type: "uint256";
|
|
92762
|
+
}, {
|
|
92763
|
+
readonly internalType: "uint256";
|
|
92764
|
+
readonly name: "userSuppliedShares";
|
|
92765
|
+
readonly type: "uint256";
|
|
92766
|
+
}];
|
|
92767
|
+
readonly internalType: "struct AaveV4View.TokenizationSpokeData[]";
|
|
92768
|
+
readonly name: "spokeData";
|
|
92769
|
+
readonly type: "tuple[]";
|
|
92770
|
+
}];
|
|
92771
|
+
readonly stateMutability: "view";
|
|
92772
|
+
readonly type: "function";
|
|
92773
|
+
}, {
|
|
92774
|
+
readonly inputs: readonly [{
|
|
92775
|
+
readonly internalType: "address";
|
|
92776
|
+
readonly name: "_spoke";
|
|
92777
|
+
readonly type: "address";
|
|
92778
|
+
}, {
|
|
92779
|
+
readonly internalType: "address";
|
|
92780
|
+
readonly name: "_user";
|
|
92781
|
+
readonly type: "address";
|
|
92782
|
+
}, {
|
|
92783
|
+
readonly internalType: "uint256[]";
|
|
92784
|
+
readonly name: "_reserveIds";
|
|
92785
|
+
readonly type: "uint256[]";
|
|
92786
|
+
}];
|
|
92787
|
+
readonly name: "getUserReserveData";
|
|
92788
|
+
readonly outputs: readonly [{
|
|
92789
|
+
readonly components: readonly [{
|
|
92790
|
+
readonly internalType: "uint256";
|
|
92791
|
+
readonly name: "reserveId";
|
|
92792
|
+
readonly type: "uint256";
|
|
92793
|
+
}, {
|
|
92794
|
+
readonly internalType: "uint16";
|
|
92795
|
+
readonly name: "assetId";
|
|
92796
|
+
readonly type: "uint16";
|
|
92797
|
+
}, {
|
|
92798
|
+
readonly internalType: "address";
|
|
92799
|
+
readonly name: "underlying";
|
|
92800
|
+
readonly type: "address";
|
|
92801
|
+
}, {
|
|
92802
|
+
readonly internalType: "uint256";
|
|
92803
|
+
readonly name: "supplied";
|
|
92804
|
+
readonly type: "uint256";
|
|
92805
|
+
}, {
|
|
92806
|
+
readonly internalType: "uint256";
|
|
92807
|
+
readonly name: "drawn";
|
|
92808
|
+
readonly type: "uint256";
|
|
92809
|
+
}, {
|
|
92810
|
+
readonly internalType: "uint256";
|
|
92811
|
+
readonly name: "premium";
|
|
92812
|
+
readonly type: "uint256";
|
|
92813
|
+
}, {
|
|
92814
|
+
readonly internalType: "uint256";
|
|
92815
|
+
readonly name: "totalDebt";
|
|
92816
|
+
readonly type: "uint256";
|
|
92817
|
+
}, {
|
|
92818
|
+
readonly internalType: "uint16";
|
|
92819
|
+
readonly name: "collateralFactor";
|
|
92820
|
+
readonly type: "uint16";
|
|
92821
|
+
}, {
|
|
92822
|
+
readonly internalType: "uint32";
|
|
92823
|
+
readonly name: "maxLiquidationBonus";
|
|
92824
|
+
readonly type: "uint32";
|
|
92825
|
+
}, {
|
|
92826
|
+
readonly internalType: "uint16";
|
|
92827
|
+
readonly name: "liquidationFee";
|
|
92828
|
+
readonly type: "uint16";
|
|
92829
|
+
}, {
|
|
92830
|
+
readonly internalType: "bool";
|
|
92831
|
+
readonly name: "isUsingAsCollateral";
|
|
92832
|
+
readonly type: "bool";
|
|
92833
|
+
}, {
|
|
92834
|
+
readonly internalType: "bool";
|
|
92835
|
+
readonly name: "isBorrowing";
|
|
92836
|
+
readonly type: "bool";
|
|
92837
|
+
}];
|
|
92838
|
+
readonly internalType: "struct AaveV4View.UserReserveData[]";
|
|
92839
|
+
readonly name: "_userReserves";
|
|
92840
|
+
readonly type: "tuple[]";
|
|
92841
|
+
}];
|
|
92842
|
+
readonly stateMutability: "view";
|
|
92843
|
+
readonly type: "function";
|
|
92844
|
+
}];
|
|
92845
|
+
readonly networks: {
|
|
92846
|
+
readonly "1": {
|
|
92847
|
+
readonly address: "0x34b6B5A3e8fB9135EbB47ACE4242b47E51064f5D";
|
|
92848
|
+
};
|
|
92849
|
+
};
|
|
92850
|
+
};
|