@defisaver/positions-sdk 2.1.98 → 2.1.101
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/aaveV4/index.js +2 -0
- package/cjs/config/contracts.d.ts +61 -1
- package/cjs/config/contracts.js +2 -2
- package/cjs/contracts.d.ts +2963 -82
- package/cjs/helpers/aaveV4Helpers/index.d.ts +11 -5
- package/cjs/helpers/aaveV4Helpers/index.js +58 -19
- package/cjs/types/aaveV4.d.ts +2 -0
- package/esm/aaveV4/index.js +2 -0
- package/esm/config/contracts.d.ts +61 -1
- package/esm/config/contracts.js +2 -2
- package/esm/contracts.d.ts +2963 -82
- package/esm/helpers/aaveV4Helpers/index.d.ts +11 -5
- package/esm/helpers/aaveV4Helpers/index.js +56 -17
- package/esm/types/aaveV4.d.ts +2 -0
- package/package.json +1 -1
- package/src/aaveV4/index.ts +2 -0
- package/src/config/contracts.ts +2 -2
- package/src/helpers/aaveV4Helpers/index.ts +59 -26
- package/src/types/aaveV4.ts +2 -0
package/cjs/contracts.d.ts
CHANGED
|
@@ -582622,7 +582622,1688 @@ export declare const SkySavingsContractView: (client: Client, network: NetworkNu
|
|
|
582622
582622
|
};
|
|
582623
582623
|
export declare const AaveV4ViewContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => {
|
|
582624
582624
|
read: {
|
|
582625
|
+
getApyAfterValuesEstimation: (args: readonly [`0x${string}`, readonly {
|
|
582626
|
+
reserveId: bigint;
|
|
582627
|
+
liquidityAdded: bigint;
|
|
582628
|
+
liquidityTaken: bigint;
|
|
582629
|
+
isDebtAsset: boolean;
|
|
582630
|
+
}[]], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
582631
|
+
readonly inputs: readonly [{
|
|
582632
|
+
readonly internalType: "address";
|
|
582633
|
+
readonly name: "_spoke";
|
|
582634
|
+
readonly type: "address";
|
|
582635
|
+
}, {
|
|
582636
|
+
readonly components: readonly [{
|
|
582637
|
+
readonly internalType: "uint256";
|
|
582638
|
+
readonly name: "reserveId";
|
|
582639
|
+
readonly type: "uint256";
|
|
582640
|
+
}, {
|
|
582641
|
+
readonly internalType: "uint256";
|
|
582642
|
+
readonly name: "liquidityAdded";
|
|
582643
|
+
readonly type: "uint256";
|
|
582644
|
+
}, {
|
|
582645
|
+
readonly internalType: "uint256";
|
|
582646
|
+
readonly name: "liquidityTaken";
|
|
582647
|
+
readonly type: "uint256";
|
|
582648
|
+
}, {
|
|
582649
|
+
readonly internalType: "bool";
|
|
582650
|
+
readonly name: "isDebtAsset";
|
|
582651
|
+
readonly type: "bool";
|
|
582652
|
+
}];
|
|
582653
|
+
readonly internalType: "struct AaveV4View.LiquidityChangeParams[]";
|
|
582654
|
+
readonly name: "_reserveParams";
|
|
582655
|
+
readonly type: "tuple[]";
|
|
582656
|
+
}];
|
|
582657
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
582658
|
+
readonly outputs: readonly [{
|
|
582659
|
+
readonly components: readonly [{
|
|
582660
|
+
readonly internalType: "uint256";
|
|
582661
|
+
readonly name: "reserveId";
|
|
582662
|
+
readonly type: "uint256";
|
|
582663
|
+
}, {
|
|
582664
|
+
readonly internalType: "uint256";
|
|
582665
|
+
readonly name: "hubDrawnRateEstimation";
|
|
582666
|
+
readonly type: "uint256";
|
|
582667
|
+
}, {
|
|
582668
|
+
readonly internalType: "uint256";
|
|
582669
|
+
readonly name: "hubTotalDrawnEstimation";
|
|
582670
|
+
readonly type: "uint256";
|
|
582671
|
+
}, {
|
|
582672
|
+
readonly internalType: "uint256";
|
|
582673
|
+
readonly name: "hubTotalLiquidityEstimation";
|
|
582674
|
+
readonly type: "uint256";
|
|
582675
|
+
}, {
|
|
582676
|
+
readonly internalType: "uint256";
|
|
582677
|
+
readonly name: "hubSwept";
|
|
582678
|
+
readonly type: "uint256";
|
|
582679
|
+
}, {
|
|
582680
|
+
readonly internalType: "uint16";
|
|
582681
|
+
readonly name: "liquidityFee";
|
|
582682
|
+
readonly type: "uint16";
|
|
582683
|
+
}];
|
|
582684
|
+
readonly internalType: "struct AaveV4View.EstimatedRates[]";
|
|
582685
|
+
readonly name: "";
|
|
582686
|
+
readonly type: "tuple[]";
|
|
582687
|
+
}];
|
|
582688
|
+
readonly stateMutability: "view";
|
|
582689
|
+
readonly type: "function";
|
|
582690
|
+
}, {
|
|
582691
|
+
readonly inputs: readonly [{
|
|
582692
|
+
readonly internalType: "address";
|
|
582693
|
+
readonly name: "_eoa";
|
|
582694
|
+
readonly type: "address";
|
|
582695
|
+
}, {
|
|
582696
|
+
readonly internalType: "address";
|
|
582697
|
+
readonly name: "_proxy";
|
|
582698
|
+
readonly type: "address";
|
|
582699
|
+
}, {
|
|
582700
|
+
readonly internalType: "address";
|
|
582701
|
+
readonly name: "_spoke";
|
|
582702
|
+
readonly type: "address";
|
|
582703
|
+
}];
|
|
582704
|
+
readonly name: "getEOAApprovalsAndBalances";
|
|
582705
|
+
readonly outputs: readonly [{
|
|
582706
|
+
readonly components: readonly [{
|
|
582707
|
+
readonly internalType: "address";
|
|
582708
|
+
readonly name: "eoa";
|
|
582709
|
+
readonly type: "address";
|
|
582710
|
+
}, {
|
|
582711
|
+
readonly internalType: "address";
|
|
582712
|
+
readonly name: "proxy";
|
|
582713
|
+
readonly type: "address";
|
|
582714
|
+
}, {
|
|
582715
|
+
readonly internalType: "address";
|
|
582716
|
+
readonly name: "spoke";
|
|
582717
|
+
readonly type: "address";
|
|
582718
|
+
}, {
|
|
582719
|
+
readonly internalType: "bool";
|
|
582720
|
+
readonly name: "giverPositionManagerEnabled";
|
|
582721
|
+
readonly type: "bool";
|
|
582722
|
+
}, {
|
|
582723
|
+
readonly internalType: "bool";
|
|
582724
|
+
readonly name: "takerPositionManagerEnabled";
|
|
582725
|
+
readonly type: "bool";
|
|
582726
|
+
}, {
|
|
582727
|
+
readonly internalType: "bool";
|
|
582728
|
+
readonly name: "configPositionManagerEnabled";
|
|
582729
|
+
readonly type: "bool";
|
|
582730
|
+
}, {
|
|
582731
|
+
readonly internalType: "bool";
|
|
582732
|
+
readonly name: "canSetUsingAsCollateral";
|
|
582733
|
+
readonly type: "bool";
|
|
582734
|
+
}, {
|
|
582735
|
+
readonly internalType: "bool";
|
|
582736
|
+
readonly name: "canUpdateUserRiskPremium";
|
|
582737
|
+
readonly type: "bool";
|
|
582738
|
+
}, {
|
|
582739
|
+
readonly internalType: "bool";
|
|
582740
|
+
readonly name: "canUpdateUserDynamicConfig";
|
|
582741
|
+
readonly type: "bool";
|
|
582742
|
+
}, {
|
|
582743
|
+
readonly components: readonly [{
|
|
582744
|
+
readonly internalType: "uint256";
|
|
582745
|
+
readonly name: "reserveId";
|
|
582746
|
+
readonly type: "uint256";
|
|
582747
|
+
}, {
|
|
582748
|
+
readonly internalType: "address";
|
|
582749
|
+
readonly name: "underlying";
|
|
582750
|
+
readonly type: "address";
|
|
582751
|
+
}, {
|
|
582752
|
+
readonly internalType: "uint256";
|
|
582753
|
+
readonly name: "delegateeBorrowApproval";
|
|
582754
|
+
readonly type: "uint256";
|
|
582755
|
+
}, {
|
|
582756
|
+
readonly internalType: "uint256";
|
|
582757
|
+
readonly name: "delegateeWithdrawApproval";
|
|
582758
|
+
readonly type: "uint256";
|
|
582759
|
+
}, {
|
|
582760
|
+
readonly internalType: "uint256";
|
|
582761
|
+
readonly name: "eoaReserveBalance";
|
|
582762
|
+
readonly type: "uint256";
|
|
582763
|
+
}];
|
|
582764
|
+
readonly internalType: "struct AaveV4View.EOAReserveApprovalData[]";
|
|
582765
|
+
readonly name: "reserveApprovals";
|
|
582766
|
+
readonly type: "tuple[]";
|
|
582767
|
+
}];
|
|
582768
|
+
readonly internalType: "struct AaveV4View.EOAApprovalData";
|
|
582769
|
+
readonly name: "data";
|
|
582770
|
+
readonly type: "tuple";
|
|
582771
|
+
}];
|
|
582772
|
+
readonly stateMutability: "view";
|
|
582773
|
+
readonly type: "function";
|
|
582774
|
+
}, {
|
|
582775
|
+
readonly inputs: readonly [{
|
|
582776
|
+
readonly internalType: "address";
|
|
582777
|
+
readonly name: "_spoke";
|
|
582778
|
+
readonly type: "address";
|
|
582779
|
+
}, {
|
|
582780
|
+
readonly internalType: "address";
|
|
582781
|
+
readonly name: "_user";
|
|
582782
|
+
readonly type: "address";
|
|
582783
|
+
}];
|
|
582784
|
+
readonly name: "getHealthFactor";
|
|
582785
|
+
readonly outputs: readonly [{
|
|
582786
|
+
readonly internalType: "uint256";
|
|
582787
|
+
readonly name: "healthFactor";
|
|
582788
|
+
readonly type: "uint256";
|
|
582789
|
+
}];
|
|
582790
|
+
readonly stateMutability: "view";
|
|
582791
|
+
readonly type: "function";
|
|
582792
|
+
}, {
|
|
582793
|
+
readonly inputs: readonly [{
|
|
582794
|
+
readonly internalType: "address";
|
|
582795
|
+
readonly name: "_hub";
|
|
582796
|
+
readonly type: "address";
|
|
582797
|
+
}];
|
|
582798
|
+
readonly name: "getHubAllAssetsData";
|
|
582799
|
+
readonly outputs: readonly [{
|
|
582800
|
+
readonly components: readonly [{
|
|
582801
|
+
readonly internalType: "uint16";
|
|
582802
|
+
readonly name: "assetId";
|
|
582803
|
+
readonly type: "uint16";
|
|
582804
|
+
}, {
|
|
582805
|
+
readonly internalType: "uint8";
|
|
582806
|
+
readonly name: "decimals";
|
|
582807
|
+
readonly type: "uint8";
|
|
582808
|
+
}, {
|
|
582809
|
+
readonly internalType: "address";
|
|
582810
|
+
readonly name: "underlying";
|
|
582811
|
+
readonly type: "address";
|
|
582812
|
+
}, {
|
|
582813
|
+
readonly internalType: "uint256";
|
|
582814
|
+
readonly name: "liquidity";
|
|
582815
|
+
readonly type: "uint256";
|
|
582816
|
+
}, {
|
|
582817
|
+
readonly internalType: "uint256";
|
|
582818
|
+
readonly name: "totalSupplied";
|
|
582819
|
+
readonly type: "uint256";
|
|
582820
|
+
}, {
|
|
582821
|
+
readonly internalType: "uint256";
|
|
582822
|
+
readonly name: "totalDrawn";
|
|
582823
|
+
readonly type: "uint256";
|
|
582824
|
+
}, {
|
|
582825
|
+
readonly internalType: "uint256";
|
|
582826
|
+
readonly name: "totalPremium";
|
|
582827
|
+
readonly type: "uint256";
|
|
582828
|
+
}, {
|
|
582829
|
+
readonly internalType: "uint256";
|
|
582830
|
+
readonly name: "totalDebt";
|
|
582831
|
+
readonly type: "uint256";
|
|
582832
|
+
}, {
|
|
582833
|
+
readonly internalType: "uint256";
|
|
582834
|
+
readonly name: "totalDrawnShares";
|
|
582835
|
+
readonly type: "uint256";
|
|
582836
|
+
}, {
|
|
582837
|
+
readonly internalType: "uint256";
|
|
582838
|
+
readonly name: "totalPremiumShares";
|
|
582839
|
+
readonly type: "uint256";
|
|
582840
|
+
}, {
|
|
582841
|
+
readonly internalType: "uint256";
|
|
582842
|
+
readonly name: "swept";
|
|
582843
|
+
readonly type: "uint256";
|
|
582844
|
+
}, {
|
|
582845
|
+
readonly internalType: "uint16";
|
|
582846
|
+
readonly name: "liquidityFee";
|
|
582847
|
+
readonly type: "uint16";
|
|
582848
|
+
}, {
|
|
582849
|
+
readonly internalType: "uint120";
|
|
582850
|
+
readonly name: "drawnIndex";
|
|
582851
|
+
readonly type: "uint120";
|
|
582852
|
+
}, {
|
|
582853
|
+
readonly internalType: "uint96";
|
|
582854
|
+
readonly name: "drawnRate";
|
|
582855
|
+
readonly type: "uint96";
|
|
582856
|
+
}, {
|
|
582857
|
+
readonly internalType: "uint40";
|
|
582858
|
+
readonly name: "lastUpdateTimestamp";
|
|
582859
|
+
readonly type: "uint40";
|
|
582860
|
+
}, {
|
|
582861
|
+
readonly internalType: "address";
|
|
582862
|
+
readonly name: "irStrategy";
|
|
582863
|
+
readonly type: "address";
|
|
582864
|
+
}, {
|
|
582865
|
+
readonly internalType: "address";
|
|
582866
|
+
readonly name: "reinvestmentController";
|
|
582867
|
+
readonly type: "address";
|
|
582868
|
+
}, {
|
|
582869
|
+
readonly internalType: "address";
|
|
582870
|
+
readonly name: "feeReceiver";
|
|
582871
|
+
readonly type: "address";
|
|
582872
|
+
}, {
|
|
582873
|
+
readonly internalType: "uint256";
|
|
582874
|
+
readonly name: "deficitRay";
|
|
582875
|
+
readonly type: "uint256";
|
|
582876
|
+
}];
|
|
582877
|
+
readonly internalType: "struct AaveV4View.HubAssetData[]";
|
|
582878
|
+
readonly name: "hubAssetData";
|
|
582879
|
+
readonly type: "tuple[]";
|
|
582880
|
+
}];
|
|
582881
|
+
readonly stateMutability: "view";
|
|
582882
|
+
readonly type: "function";
|
|
582883
|
+
}, {
|
|
582884
|
+
readonly inputs: readonly [{
|
|
582885
|
+
readonly internalType: "address";
|
|
582886
|
+
readonly name: "_hub";
|
|
582887
|
+
readonly type: "address";
|
|
582888
|
+
}, {
|
|
582889
|
+
readonly internalType: "uint256";
|
|
582890
|
+
readonly name: "_assetId";
|
|
582891
|
+
readonly type: "uint256";
|
|
582892
|
+
}];
|
|
582893
|
+
readonly name: "getHubAssetData";
|
|
582894
|
+
readonly outputs: readonly [{
|
|
582895
|
+
readonly components: readonly [{
|
|
582896
|
+
readonly internalType: "uint16";
|
|
582897
|
+
readonly name: "assetId";
|
|
582898
|
+
readonly type: "uint16";
|
|
582899
|
+
}, {
|
|
582900
|
+
readonly internalType: "uint8";
|
|
582901
|
+
readonly name: "decimals";
|
|
582902
|
+
readonly type: "uint8";
|
|
582903
|
+
}, {
|
|
582904
|
+
readonly internalType: "address";
|
|
582905
|
+
readonly name: "underlying";
|
|
582906
|
+
readonly type: "address";
|
|
582907
|
+
}, {
|
|
582908
|
+
readonly internalType: "uint256";
|
|
582909
|
+
readonly name: "liquidity";
|
|
582910
|
+
readonly type: "uint256";
|
|
582911
|
+
}, {
|
|
582912
|
+
readonly internalType: "uint256";
|
|
582913
|
+
readonly name: "totalSupplied";
|
|
582914
|
+
readonly type: "uint256";
|
|
582915
|
+
}, {
|
|
582916
|
+
readonly internalType: "uint256";
|
|
582917
|
+
readonly name: "totalDrawn";
|
|
582918
|
+
readonly type: "uint256";
|
|
582919
|
+
}, {
|
|
582920
|
+
readonly internalType: "uint256";
|
|
582921
|
+
readonly name: "totalPremium";
|
|
582922
|
+
readonly type: "uint256";
|
|
582923
|
+
}, {
|
|
582924
|
+
readonly internalType: "uint256";
|
|
582925
|
+
readonly name: "totalDebt";
|
|
582926
|
+
readonly type: "uint256";
|
|
582927
|
+
}, {
|
|
582928
|
+
readonly internalType: "uint256";
|
|
582929
|
+
readonly name: "totalDrawnShares";
|
|
582930
|
+
readonly type: "uint256";
|
|
582931
|
+
}, {
|
|
582932
|
+
readonly internalType: "uint256";
|
|
582933
|
+
readonly name: "totalPremiumShares";
|
|
582934
|
+
readonly type: "uint256";
|
|
582935
|
+
}, {
|
|
582936
|
+
readonly internalType: "uint256";
|
|
582937
|
+
readonly name: "swept";
|
|
582938
|
+
readonly type: "uint256";
|
|
582939
|
+
}, {
|
|
582940
|
+
readonly internalType: "uint16";
|
|
582941
|
+
readonly name: "liquidityFee";
|
|
582942
|
+
readonly type: "uint16";
|
|
582943
|
+
}, {
|
|
582944
|
+
readonly internalType: "uint120";
|
|
582945
|
+
readonly name: "drawnIndex";
|
|
582946
|
+
readonly type: "uint120";
|
|
582947
|
+
}, {
|
|
582948
|
+
readonly internalType: "uint96";
|
|
582949
|
+
readonly name: "drawnRate";
|
|
582950
|
+
readonly type: "uint96";
|
|
582951
|
+
}, {
|
|
582952
|
+
readonly internalType: "uint40";
|
|
582953
|
+
readonly name: "lastUpdateTimestamp";
|
|
582954
|
+
readonly type: "uint40";
|
|
582955
|
+
}, {
|
|
582956
|
+
readonly internalType: "address";
|
|
582957
|
+
readonly name: "irStrategy";
|
|
582958
|
+
readonly type: "address";
|
|
582959
|
+
}, {
|
|
582960
|
+
readonly internalType: "address";
|
|
582961
|
+
readonly name: "reinvestmentController";
|
|
582962
|
+
readonly type: "address";
|
|
582963
|
+
}, {
|
|
582964
|
+
readonly internalType: "address";
|
|
582965
|
+
readonly name: "feeReceiver";
|
|
582966
|
+
readonly type: "address";
|
|
582967
|
+
}, {
|
|
582968
|
+
readonly internalType: "uint256";
|
|
582969
|
+
readonly name: "deficitRay";
|
|
582970
|
+
readonly type: "uint256";
|
|
582971
|
+
}];
|
|
582972
|
+
readonly internalType: "struct AaveV4View.HubAssetData";
|
|
582973
|
+
readonly name: "hubAssetData";
|
|
582974
|
+
readonly type: "tuple";
|
|
582975
|
+
}];
|
|
582976
|
+
readonly stateMutability: "view";
|
|
582977
|
+
readonly type: "function";
|
|
582978
|
+
}, {
|
|
582979
|
+
readonly inputs: readonly [{
|
|
582980
|
+
readonly internalType: "address";
|
|
582981
|
+
readonly name: "_spoke";
|
|
582982
|
+
readonly type: "address";
|
|
582983
|
+
}, {
|
|
582984
|
+
readonly internalType: "address";
|
|
582985
|
+
readonly name: "_user";
|
|
582986
|
+
readonly type: "address";
|
|
582987
|
+
}];
|
|
582988
|
+
readonly name: "getLoanData";
|
|
582989
|
+
readonly outputs: readonly [{
|
|
582990
|
+
readonly components: readonly [{
|
|
582991
|
+
readonly internalType: "address";
|
|
582992
|
+
readonly name: "user";
|
|
582993
|
+
readonly type: "address";
|
|
582994
|
+
}, {
|
|
582995
|
+
readonly internalType: "uint256";
|
|
582996
|
+
readonly name: "riskPremium";
|
|
582997
|
+
readonly type: "uint256";
|
|
582998
|
+
}, {
|
|
582999
|
+
readonly internalType: "uint256";
|
|
583000
|
+
readonly name: "avgCollateralFactor";
|
|
583001
|
+
readonly type: "uint256";
|
|
583002
|
+
}, {
|
|
583003
|
+
readonly internalType: "uint256";
|
|
583004
|
+
readonly name: "healthFactor";
|
|
583005
|
+
readonly type: "uint256";
|
|
583006
|
+
}, {
|
|
583007
|
+
readonly internalType: "uint256";
|
|
583008
|
+
readonly name: "totalCollateralInUsd";
|
|
583009
|
+
readonly type: "uint256";
|
|
583010
|
+
}, {
|
|
583011
|
+
readonly internalType: "uint256";
|
|
583012
|
+
readonly name: "totalDebtInUsdRay";
|
|
583013
|
+
readonly type: "uint256";
|
|
583014
|
+
}, {
|
|
583015
|
+
readonly internalType: "uint256";
|
|
583016
|
+
readonly name: "activeCollateralCount";
|
|
583017
|
+
readonly type: "uint256";
|
|
583018
|
+
}, {
|
|
583019
|
+
readonly internalType: "uint256";
|
|
583020
|
+
readonly name: "borrowCount";
|
|
583021
|
+
readonly type: "uint256";
|
|
583022
|
+
}, {
|
|
583023
|
+
readonly components: readonly [{
|
|
583024
|
+
readonly internalType: "uint256";
|
|
583025
|
+
readonly name: "reserveId";
|
|
583026
|
+
readonly type: "uint256";
|
|
583027
|
+
}, {
|
|
583028
|
+
readonly internalType: "uint16";
|
|
583029
|
+
readonly name: "assetId";
|
|
583030
|
+
readonly type: "uint16";
|
|
583031
|
+
}, {
|
|
583032
|
+
readonly internalType: "address";
|
|
583033
|
+
readonly name: "underlying";
|
|
583034
|
+
readonly type: "address";
|
|
583035
|
+
}, {
|
|
583036
|
+
readonly internalType: "uint256";
|
|
583037
|
+
readonly name: "supplied";
|
|
583038
|
+
readonly type: "uint256";
|
|
583039
|
+
}, {
|
|
583040
|
+
readonly internalType: "uint256";
|
|
583041
|
+
readonly name: "drawn";
|
|
583042
|
+
readonly type: "uint256";
|
|
583043
|
+
}, {
|
|
583044
|
+
readonly internalType: "uint256";
|
|
583045
|
+
readonly name: "premium";
|
|
583046
|
+
readonly type: "uint256";
|
|
583047
|
+
}, {
|
|
583048
|
+
readonly internalType: "uint256";
|
|
583049
|
+
readonly name: "totalDebt";
|
|
583050
|
+
readonly type: "uint256";
|
|
583051
|
+
}, {
|
|
583052
|
+
readonly internalType: "uint16";
|
|
583053
|
+
readonly name: "collateralFactor";
|
|
583054
|
+
readonly type: "uint16";
|
|
583055
|
+
}, {
|
|
583056
|
+
readonly internalType: "uint32";
|
|
583057
|
+
readonly name: "maxLiquidationBonus";
|
|
583058
|
+
readonly type: "uint32";
|
|
583059
|
+
}, {
|
|
583060
|
+
readonly internalType: "uint16";
|
|
583061
|
+
readonly name: "liquidationFee";
|
|
583062
|
+
readonly type: "uint16";
|
|
583063
|
+
}, {
|
|
583064
|
+
readonly internalType: "bool";
|
|
583065
|
+
readonly name: "isUsingAsCollateral";
|
|
583066
|
+
readonly type: "bool";
|
|
583067
|
+
}, {
|
|
583068
|
+
readonly internalType: "bool";
|
|
583069
|
+
readonly name: "isBorrowing";
|
|
583070
|
+
readonly type: "bool";
|
|
583071
|
+
}];
|
|
583072
|
+
readonly internalType: "struct AaveV4View.UserReserveData[]";
|
|
583073
|
+
readonly name: "reserves";
|
|
583074
|
+
readonly type: "tuple[]";
|
|
583075
|
+
}];
|
|
583076
|
+
readonly internalType: "struct AaveV4View.LoanData";
|
|
583077
|
+
readonly name: "loanData";
|
|
583078
|
+
readonly type: "tuple";
|
|
583079
|
+
}];
|
|
583080
|
+
readonly stateMutability: "view";
|
|
583081
|
+
readonly type: "function";
|
|
583082
|
+
}, {
|
|
583083
|
+
readonly inputs: readonly [{
|
|
583084
|
+
readonly internalType: "address";
|
|
583085
|
+
readonly name: "_user";
|
|
583086
|
+
readonly type: "address";
|
|
583087
|
+
}, {
|
|
583088
|
+
readonly internalType: "address[]";
|
|
583089
|
+
readonly name: "_spokes";
|
|
583090
|
+
readonly type: "address[]";
|
|
583091
|
+
}];
|
|
583092
|
+
readonly name: "getLoanDataForMultipleSpokes";
|
|
583093
|
+
readonly outputs: readonly [{
|
|
583094
|
+
readonly components: readonly [{
|
|
583095
|
+
readonly internalType: "address";
|
|
583096
|
+
readonly name: "user";
|
|
583097
|
+
readonly type: "address";
|
|
583098
|
+
}, {
|
|
583099
|
+
readonly internalType: "uint256";
|
|
583100
|
+
readonly name: "riskPremium";
|
|
583101
|
+
readonly type: "uint256";
|
|
583102
|
+
}, {
|
|
583103
|
+
readonly internalType: "uint256";
|
|
583104
|
+
readonly name: "avgCollateralFactor";
|
|
583105
|
+
readonly type: "uint256";
|
|
583106
|
+
}, {
|
|
583107
|
+
readonly internalType: "uint256";
|
|
583108
|
+
readonly name: "healthFactor";
|
|
583109
|
+
readonly type: "uint256";
|
|
583110
|
+
}, {
|
|
583111
|
+
readonly internalType: "uint256";
|
|
583112
|
+
readonly name: "totalCollateralInUsd";
|
|
583113
|
+
readonly type: "uint256";
|
|
583114
|
+
}, {
|
|
583115
|
+
readonly internalType: "uint256";
|
|
583116
|
+
readonly name: "totalDebtInUsdRay";
|
|
583117
|
+
readonly type: "uint256";
|
|
583118
|
+
}, {
|
|
583119
|
+
readonly internalType: "uint256";
|
|
583120
|
+
readonly name: "activeCollateralCount";
|
|
583121
|
+
readonly type: "uint256";
|
|
583122
|
+
}, {
|
|
583123
|
+
readonly internalType: "uint256";
|
|
583124
|
+
readonly name: "borrowCount";
|
|
583125
|
+
readonly type: "uint256";
|
|
583126
|
+
}, {
|
|
583127
|
+
readonly components: readonly [{
|
|
583128
|
+
readonly internalType: "uint256";
|
|
583129
|
+
readonly name: "reserveId";
|
|
583130
|
+
readonly type: "uint256";
|
|
583131
|
+
}, {
|
|
583132
|
+
readonly internalType: "uint16";
|
|
583133
|
+
readonly name: "assetId";
|
|
583134
|
+
readonly type: "uint16";
|
|
583135
|
+
}, {
|
|
583136
|
+
readonly internalType: "address";
|
|
583137
|
+
readonly name: "underlying";
|
|
583138
|
+
readonly type: "address";
|
|
583139
|
+
}, {
|
|
583140
|
+
readonly internalType: "uint256";
|
|
583141
|
+
readonly name: "supplied";
|
|
583142
|
+
readonly type: "uint256";
|
|
583143
|
+
}, {
|
|
583144
|
+
readonly internalType: "uint256";
|
|
583145
|
+
readonly name: "drawn";
|
|
583146
|
+
readonly type: "uint256";
|
|
583147
|
+
}, {
|
|
583148
|
+
readonly internalType: "uint256";
|
|
583149
|
+
readonly name: "premium";
|
|
583150
|
+
readonly type: "uint256";
|
|
583151
|
+
}, {
|
|
583152
|
+
readonly internalType: "uint256";
|
|
583153
|
+
readonly name: "totalDebt";
|
|
583154
|
+
readonly type: "uint256";
|
|
583155
|
+
}, {
|
|
583156
|
+
readonly internalType: "uint16";
|
|
583157
|
+
readonly name: "collateralFactor";
|
|
583158
|
+
readonly type: "uint16";
|
|
583159
|
+
}, {
|
|
583160
|
+
readonly internalType: "uint32";
|
|
583161
|
+
readonly name: "maxLiquidationBonus";
|
|
583162
|
+
readonly type: "uint32";
|
|
583163
|
+
}, {
|
|
583164
|
+
readonly internalType: "uint16";
|
|
583165
|
+
readonly name: "liquidationFee";
|
|
583166
|
+
readonly type: "uint16";
|
|
583167
|
+
}, {
|
|
583168
|
+
readonly internalType: "bool";
|
|
583169
|
+
readonly name: "isUsingAsCollateral";
|
|
583170
|
+
readonly type: "bool";
|
|
583171
|
+
}, {
|
|
583172
|
+
readonly internalType: "bool";
|
|
583173
|
+
readonly name: "isBorrowing";
|
|
583174
|
+
readonly type: "bool";
|
|
583175
|
+
}];
|
|
583176
|
+
readonly internalType: "struct AaveV4View.UserReserveData[]";
|
|
583177
|
+
readonly name: "reserves";
|
|
583178
|
+
readonly type: "tuple[]";
|
|
583179
|
+
}];
|
|
583180
|
+
readonly internalType: "struct AaveV4View.LoanData[]";
|
|
583181
|
+
readonly name: "loans";
|
|
583182
|
+
readonly type: "tuple[]";
|
|
583183
|
+
}];
|
|
583184
|
+
readonly stateMutability: "view";
|
|
583185
|
+
readonly type: "function";
|
|
583186
|
+
}, {
|
|
583187
|
+
readonly inputs: readonly [{
|
|
583188
|
+
readonly internalType: "address";
|
|
583189
|
+
readonly name: "_spoke";
|
|
583190
|
+
readonly type: "address";
|
|
583191
|
+
}, {
|
|
583192
|
+
readonly internalType: "address[]";
|
|
583193
|
+
readonly name: "_users";
|
|
583194
|
+
readonly type: "address[]";
|
|
583195
|
+
}];
|
|
583196
|
+
readonly name: "getLoanDataForMultipleUsers";
|
|
583197
|
+
readonly outputs: readonly [{
|
|
583198
|
+
readonly components: readonly [{
|
|
583199
|
+
readonly internalType: "address";
|
|
583200
|
+
readonly name: "user";
|
|
583201
|
+
readonly type: "address";
|
|
583202
|
+
}, {
|
|
583203
|
+
readonly internalType: "uint256";
|
|
583204
|
+
readonly name: "riskPremium";
|
|
583205
|
+
readonly type: "uint256";
|
|
583206
|
+
}, {
|
|
583207
|
+
readonly internalType: "uint256";
|
|
583208
|
+
readonly name: "avgCollateralFactor";
|
|
583209
|
+
readonly type: "uint256";
|
|
583210
|
+
}, {
|
|
583211
|
+
readonly internalType: "uint256";
|
|
583212
|
+
readonly name: "healthFactor";
|
|
583213
|
+
readonly type: "uint256";
|
|
583214
|
+
}, {
|
|
583215
|
+
readonly internalType: "uint256";
|
|
583216
|
+
readonly name: "totalCollateralInUsd";
|
|
583217
|
+
readonly type: "uint256";
|
|
583218
|
+
}, {
|
|
583219
|
+
readonly internalType: "uint256";
|
|
583220
|
+
readonly name: "totalDebtInUsdRay";
|
|
583221
|
+
readonly type: "uint256";
|
|
583222
|
+
}, {
|
|
583223
|
+
readonly internalType: "uint256";
|
|
583224
|
+
readonly name: "activeCollateralCount";
|
|
583225
|
+
readonly type: "uint256";
|
|
583226
|
+
}, {
|
|
583227
|
+
readonly internalType: "uint256";
|
|
583228
|
+
readonly name: "borrowCount";
|
|
583229
|
+
readonly type: "uint256";
|
|
583230
|
+
}, {
|
|
583231
|
+
readonly components: readonly [{
|
|
583232
|
+
readonly internalType: "uint256";
|
|
583233
|
+
readonly name: "reserveId";
|
|
583234
|
+
readonly type: "uint256";
|
|
583235
|
+
}, {
|
|
583236
|
+
readonly internalType: "uint16";
|
|
583237
|
+
readonly name: "assetId";
|
|
583238
|
+
readonly type: "uint16";
|
|
583239
|
+
}, {
|
|
583240
|
+
readonly internalType: "address";
|
|
583241
|
+
readonly name: "underlying";
|
|
583242
|
+
readonly type: "address";
|
|
583243
|
+
}, {
|
|
583244
|
+
readonly internalType: "uint256";
|
|
583245
|
+
readonly name: "supplied";
|
|
583246
|
+
readonly type: "uint256";
|
|
583247
|
+
}, {
|
|
583248
|
+
readonly internalType: "uint256";
|
|
583249
|
+
readonly name: "drawn";
|
|
583250
|
+
readonly type: "uint256";
|
|
583251
|
+
}, {
|
|
583252
|
+
readonly internalType: "uint256";
|
|
583253
|
+
readonly name: "premium";
|
|
583254
|
+
readonly type: "uint256";
|
|
583255
|
+
}, {
|
|
583256
|
+
readonly internalType: "uint256";
|
|
583257
|
+
readonly name: "totalDebt";
|
|
583258
|
+
readonly type: "uint256";
|
|
583259
|
+
}, {
|
|
583260
|
+
readonly internalType: "uint16";
|
|
583261
|
+
readonly name: "collateralFactor";
|
|
583262
|
+
readonly type: "uint16";
|
|
583263
|
+
}, {
|
|
583264
|
+
readonly internalType: "uint32";
|
|
583265
|
+
readonly name: "maxLiquidationBonus";
|
|
583266
|
+
readonly type: "uint32";
|
|
583267
|
+
}, {
|
|
583268
|
+
readonly internalType: "uint16";
|
|
583269
|
+
readonly name: "liquidationFee";
|
|
583270
|
+
readonly type: "uint16";
|
|
583271
|
+
}, {
|
|
583272
|
+
readonly internalType: "bool";
|
|
583273
|
+
readonly name: "isUsingAsCollateral";
|
|
583274
|
+
readonly type: "bool";
|
|
583275
|
+
}, {
|
|
583276
|
+
readonly internalType: "bool";
|
|
583277
|
+
readonly name: "isBorrowing";
|
|
583278
|
+
readonly type: "bool";
|
|
583279
|
+
}];
|
|
583280
|
+
readonly internalType: "struct AaveV4View.UserReserveData[]";
|
|
583281
|
+
readonly name: "reserves";
|
|
583282
|
+
readonly type: "tuple[]";
|
|
583283
|
+
}];
|
|
583284
|
+
readonly internalType: "struct AaveV4View.LoanData[]";
|
|
583285
|
+
readonly name: "loans";
|
|
583286
|
+
readonly type: "tuple[]";
|
|
583287
|
+
}];
|
|
583288
|
+
readonly stateMutability: "view";
|
|
583289
|
+
readonly type: "function";
|
|
583290
|
+
}, {
|
|
583291
|
+
readonly inputs: readonly [{
|
|
583292
|
+
readonly internalType: "address";
|
|
583293
|
+
readonly name: "_spoke";
|
|
583294
|
+
readonly type: "address";
|
|
583295
|
+
}, {
|
|
583296
|
+
readonly internalType: "address";
|
|
583297
|
+
readonly name: "_user";
|
|
583298
|
+
readonly type: "address";
|
|
583299
|
+
}];
|
|
583300
|
+
readonly name: "getLoanDataFull";
|
|
583301
|
+
readonly outputs: readonly [{
|
|
583302
|
+
readonly components: readonly [{
|
|
583303
|
+
readonly internalType: "address";
|
|
583304
|
+
readonly name: "user";
|
|
583305
|
+
readonly type: "address";
|
|
583306
|
+
}, {
|
|
583307
|
+
readonly internalType: "uint256";
|
|
583308
|
+
readonly name: "riskPremium";
|
|
583309
|
+
readonly type: "uint256";
|
|
583310
|
+
}, {
|
|
583311
|
+
readonly internalType: "uint256";
|
|
583312
|
+
readonly name: "avgCollateralFactor";
|
|
583313
|
+
readonly type: "uint256";
|
|
583314
|
+
}, {
|
|
583315
|
+
readonly internalType: "uint256";
|
|
583316
|
+
readonly name: "healthFactor";
|
|
583317
|
+
readonly type: "uint256";
|
|
583318
|
+
}, {
|
|
583319
|
+
readonly internalType: "uint256";
|
|
583320
|
+
readonly name: "totalCollateralInUsd";
|
|
583321
|
+
readonly type: "uint256";
|
|
583322
|
+
}, {
|
|
583323
|
+
readonly internalType: "uint256";
|
|
583324
|
+
readonly name: "totalDebtInUsdRay";
|
|
583325
|
+
readonly type: "uint256";
|
|
583326
|
+
}, {
|
|
583327
|
+
readonly internalType: "uint256";
|
|
583328
|
+
readonly name: "activeCollateralCount";
|
|
583329
|
+
readonly type: "uint256";
|
|
583330
|
+
}, {
|
|
583331
|
+
readonly internalType: "uint256";
|
|
583332
|
+
readonly name: "borrowCount";
|
|
583333
|
+
readonly type: "uint256";
|
|
583334
|
+
}, {
|
|
583335
|
+
readonly components: readonly [{
|
|
583336
|
+
readonly internalType: "uint256";
|
|
583337
|
+
readonly name: "reserveId";
|
|
583338
|
+
readonly type: "uint256";
|
|
583339
|
+
}, {
|
|
583340
|
+
readonly internalType: "address";
|
|
583341
|
+
readonly name: "underlying";
|
|
583342
|
+
readonly type: "address";
|
|
583343
|
+
}, {
|
|
583344
|
+
readonly internalType: "uint256";
|
|
583345
|
+
readonly name: "price";
|
|
583346
|
+
readonly type: "uint256";
|
|
583347
|
+
}, {
|
|
583348
|
+
readonly internalType: "uint8";
|
|
583349
|
+
readonly name: "decimals";
|
|
583350
|
+
readonly type: "uint8";
|
|
583351
|
+
}, {
|
|
583352
|
+
readonly internalType: "bool";
|
|
583353
|
+
readonly name: "isUsingAsCollateral";
|
|
583354
|
+
readonly type: "bool";
|
|
583355
|
+
}, {
|
|
583356
|
+
readonly internalType: "bool";
|
|
583357
|
+
readonly name: "isBorrowing";
|
|
583358
|
+
readonly type: "bool";
|
|
583359
|
+
}, {
|
|
583360
|
+
readonly internalType: "bool";
|
|
583361
|
+
readonly name: "reservePaused";
|
|
583362
|
+
readonly type: "bool";
|
|
583363
|
+
}, {
|
|
583364
|
+
readonly internalType: "bool";
|
|
583365
|
+
readonly name: "reserveFrozen";
|
|
583366
|
+
readonly type: "bool";
|
|
583367
|
+
}, {
|
|
583368
|
+
readonly internalType: "bool";
|
|
583369
|
+
readonly name: "borrowable";
|
|
583370
|
+
readonly type: "bool";
|
|
583371
|
+
}, {
|
|
583372
|
+
readonly internalType: "bool";
|
|
583373
|
+
readonly name: "spokeActive";
|
|
583374
|
+
readonly type: "bool";
|
|
583375
|
+
}, {
|
|
583376
|
+
readonly internalType: "bool";
|
|
583377
|
+
readonly name: "spokeHalted";
|
|
583378
|
+
readonly type: "bool";
|
|
583379
|
+
}, {
|
|
583380
|
+
readonly internalType: "uint256";
|
|
583381
|
+
readonly name: "userSupplied";
|
|
583382
|
+
readonly type: "uint256";
|
|
583383
|
+
}, {
|
|
583384
|
+
readonly internalType: "uint256";
|
|
583385
|
+
readonly name: "userDrawn";
|
|
583386
|
+
readonly type: "uint256";
|
|
583387
|
+
}, {
|
|
583388
|
+
readonly internalType: "uint256";
|
|
583389
|
+
readonly name: "userPremium";
|
|
583390
|
+
readonly type: "uint256";
|
|
583391
|
+
}, {
|
|
583392
|
+
readonly internalType: "uint256";
|
|
583393
|
+
readonly name: "userTotalDebt";
|
|
583394
|
+
readonly type: "uint256";
|
|
583395
|
+
}, {
|
|
583396
|
+
readonly internalType: "uint24";
|
|
583397
|
+
readonly name: "collateralRisk";
|
|
583398
|
+
readonly type: "uint24";
|
|
583399
|
+
}, {
|
|
583400
|
+
readonly internalType: "uint16";
|
|
583401
|
+
readonly name: "userCollateralFactor";
|
|
583402
|
+
readonly type: "uint16";
|
|
583403
|
+
}, {
|
|
583404
|
+
readonly internalType: "uint32";
|
|
583405
|
+
readonly name: "userMaxLiquidationBonus";
|
|
583406
|
+
readonly type: "uint32";
|
|
583407
|
+
}, {
|
|
583408
|
+
readonly internalType: "uint16";
|
|
583409
|
+
readonly name: "userLiquidationFee";
|
|
583410
|
+
readonly type: "uint16";
|
|
583411
|
+
}, {
|
|
583412
|
+
readonly internalType: "uint16";
|
|
583413
|
+
readonly name: "latestCollateralFactor";
|
|
583414
|
+
readonly type: "uint16";
|
|
583415
|
+
}, {
|
|
583416
|
+
readonly internalType: "uint32";
|
|
583417
|
+
readonly name: "latestMaxLiquidationBonus";
|
|
583418
|
+
readonly type: "uint32";
|
|
583419
|
+
}, {
|
|
583420
|
+
readonly internalType: "uint16";
|
|
583421
|
+
readonly name: "latestLiquidationFee";
|
|
583422
|
+
readonly type: "uint16";
|
|
583423
|
+
}, {
|
|
583424
|
+
readonly internalType: "address";
|
|
583425
|
+
readonly name: "hub";
|
|
583426
|
+
readonly type: "address";
|
|
583427
|
+
}, {
|
|
583428
|
+
readonly internalType: "uint16";
|
|
583429
|
+
readonly name: "hubAssetId";
|
|
583430
|
+
readonly type: "uint16";
|
|
583431
|
+
}, {
|
|
583432
|
+
readonly internalType: "uint256";
|
|
583433
|
+
readonly name: "hubLiquidity";
|
|
583434
|
+
readonly type: "uint256";
|
|
583435
|
+
}, {
|
|
583436
|
+
readonly internalType: "uint96";
|
|
583437
|
+
readonly name: "drawnRate";
|
|
583438
|
+
readonly type: "uint96";
|
|
583439
|
+
}, {
|
|
583440
|
+
readonly internalType: "uint120";
|
|
583441
|
+
readonly name: "drawnIndex";
|
|
583442
|
+
readonly type: "uint120";
|
|
583443
|
+
}, {
|
|
583444
|
+
readonly internalType: "uint256";
|
|
583445
|
+
readonly name: "spokeTotalSupplied";
|
|
583446
|
+
readonly type: "uint256";
|
|
583447
|
+
}, {
|
|
583448
|
+
readonly internalType: "uint256";
|
|
583449
|
+
readonly name: "spokeTotalDrawn";
|
|
583450
|
+
readonly type: "uint256";
|
|
583451
|
+
}, {
|
|
583452
|
+
readonly internalType: "uint256";
|
|
583453
|
+
readonly name: "spokeTotalPremium";
|
|
583454
|
+
readonly type: "uint256";
|
|
583455
|
+
}, {
|
|
583456
|
+
readonly internalType: "uint256";
|
|
583457
|
+
readonly name: "spokeTotalDebt";
|
|
583458
|
+
readonly type: "uint256";
|
|
583459
|
+
}, {
|
|
583460
|
+
readonly internalType: "uint256";
|
|
583461
|
+
readonly name: "spokeSupplyCap";
|
|
583462
|
+
readonly type: "uint256";
|
|
583463
|
+
}, {
|
|
583464
|
+
readonly internalType: "uint256";
|
|
583465
|
+
readonly name: "spokeBorrowCap";
|
|
583466
|
+
readonly type: "uint256";
|
|
583467
|
+
}, {
|
|
583468
|
+
readonly internalType: "uint256";
|
|
583469
|
+
readonly name: "spokeDeficitRay";
|
|
583470
|
+
readonly type: "uint256";
|
|
583471
|
+
}];
|
|
583472
|
+
readonly internalType: "struct AaveV4View.UserReserveDataFull[]";
|
|
583473
|
+
readonly name: "reserves";
|
|
583474
|
+
readonly type: "tuple[]";
|
|
583475
|
+
}];
|
|
583476
|
+
readonly internalType: "struct AaveV4View.LoanDataWithFullReserves";
|
|
583477
|
+
readonly name: "loanData";
|
|
583478
|
+
readonly type: "tuple";
|
|
583479
|
+
}];
|
|
583480
|
+
readonly stateMutability: "view";
|
|
583481
|
+
readonly type: "function";
|
|
583482
|
+
}, {
|
|
583483
|
+
readonly inputs: readonly [{
|
|
583484
|
+
readonly internalType: "address";
|
|
583485
|
+
readonly name: "_spoke";
|
|
583486
|
+
readonly type: "address";
|
|
583487
|
+
}, {
|
|
583488
|
+
readonly internalType: "uint256";
|
|
583489
|
+
readonly name: "_reserveId";
|
|
583490
|
+
readonly type: "uint256";
|
|
583491
|
+
}];
|
|
583492
|
+
readonly name: "getReserveData";
|
|
583493
|
+
readonly outputs: readonly [{
|
|
583494
|
+
readonly components: readonly [{
|
|
583495
|
+
readonly internalType: "address";
|
|
583496
|
+
readonly name: "underlying";
|
|
583497
|
+
readonly type: "address";
|
|
583498
|
+
}, {
|
|
583499
|
+
readonly internalType: "uint16";
|
|
583500
|
+
readonly name: "collateralFactor";
|
|
583501
|
+
readonly type: "uint16";
|
|
583502
|
+
}, {
|
|
583503
|
+
readonly internalType: "uint256";
|
|
583504
|
+
readonly name: "price";
|
|
583505
|
+
readonly type: "uint256";
|
|
583506
|
+
}];
|
|
583507
|
+
readonly internalType: "struct AaveV4View.ReserveData";
|
|
583508
|
+
readonly name: "reserveData";
|
|
583509
|
+
readonly type: "tuple";
|
|
583510
|
+
}];
|
|
583511
|
+
readonly stateMutability: "view";
|
|
583512
|
+
readonly type: "function";
|
|
583513
|
+
}, {
|
|
583514
|
+
readonly inputs: readonly [{
|
|
583515
|
+
readonly internalType: "address";
|
|
583516
|
+
readonly name: "_spoke";
|
|
583517
|
+
readonly type: "address";
|
|
583518
|
+
}, {
|
|
583519
|
+
readonly internalType: "uint256";
|
|
583520
|
+
readonly name: "_reserveId";
|
|
583521
|
+
readonly type: "uint256";
|
|
583522
|
+
}];
|
|
583523
|
+
readonly name: "getReserveDataFull";
|
|
583524
|
+
readonly outputs: readonly [{
|
|
583525
|
+
readonly components: readonly [{
|
|
583526
|
+
readonly internalType: "address";
|
|
583527
|
+
readonly name: "underlying";
|
|
583528
|
+
readonly type: "address";
|
|
583529
|
+
}, {
|
|
583530
|
+
readonly internalType: "address";
|
|
583531
|
+
readonly name: "hub";
|
|
583532
|
+
readonly type: "address";
|
|
583533
|
+
}, {
|
|
583534
|
+
readonly internalType: "uint16";
|
|
583535
|
+
readonly name: "assetId";
|
|
583536
|
+
readonly type: "uint16";
|
|
583537
|
+
}, {
|
|
583538
|
+
readonly internalType: "uint8";
|
|
583539
|
+
readonly name: "decimals";
|
|
583540
|
+
readonly type: "uint8";
|
|
583541
|
+
}, {
|
|
583542
|
+
readonly internalType: "bool";
|
|
583543
|
+
readonly name: "paused";
|
|
583544
|
+
readonly type: "bool";
|
|
583545
|
+
}, {
|
|
583546
|
+
readonly internalType: "bool";
|
|
583547
|
+
readonly name: "frozen";
|
|
583548
|
+
readonly type: "bool";
|
|
583549
|
+
}, {
|
|
583550
|
+
readonly internalType: "bool";
|
|
583551
|
+
readonly name: "borrowable";
|
|
583552
|
+
readonly type: "bool";
|
|
583553
|
+
}, {
|
|
583554
|
+
readonly internalType: "uint24";
|
|
583555
|
+
readonly name: "collateralRisk";
|
|
583556
|
+
readonly type: "uint24";
|
|
583557
|
+
}, {
|
|
583558
|
+
readonly internalType: "uint16";
|
|
583559
|
+
readonly name: "collateralFactor";
|
|
583560
|
+
readonly type: "uint16";
|
|
583561
|
+
}, {
|
|
583562
|
+
readonly internalType: "uint32";
|
|
583563
|
+
readonly name: "maxLiquidationBonus";
|
|
583564
|
+
readonly type: "uint32";
|
|
583565
|
+
}, {
|
|
583566
|
+
readonly internalType: "uint16";
|
|
583567
|
+
readonly name: "liquidationFee";
|
|
583568
|
+
readonly type: "uint16";
|
|
583569
|
+
}, {
|
|
583570
|
+
readonly internalType: "uint256";
|
|
583571
|
+
readonly name: "price";
|
|
583572
|
+
readonly type: "uint256";
|
|
583573
|
+
}, {
|
|
583574
|
+
readonly internalType: "uint256";
|
|
583575
|
+
readonly name: "totalSupplied";
|
|
583576
|
+
readonly type: "uint256";
|
|
583577
|
+
}, {
|
|
583578
|
+
readonly internalType: "uint256";
|
|
583579
|
+
readonly name: "totalDrawn";
|
|
583580
|
+
readonly type: "uint256";
|
|
583581
|
+
}, {
|
|
583582
|
+
readonly internalType: "uint256";
|
|
583583
|
+
readonly name: "totalPremium";
|
|
583584
|
+
readonly type: "uint256";
|
|
583585
|
+
}, {
|
|
583586
|
+
readonly internalType: "uint256";
|
|
583587
|
+
readonly name: "totalDebt";
|
|
583588
|
+
readonly type: "uint256";
|
|
583589
|
+
}, {
|
|
583590
|
+
readonly internalType: "uint256";
|
|
583591
|
+
readonly name: "supplyCap";
|
|
583592
|
+
readonly type: "uint256";
|
|
583593
|
+
}, {
|
|
583594
|
+
readonly internalType: "uint256";
|
|
583595
|
+
readonly name: "borrowCap";
|
|
583596
|
+
readonly type: "uint256";
|
|
583597
|
+
}, {
|
|
583598
|
+
readonly internalType: "uint256";
|
|
583599
|
+
readonly name: "deficitRay";
|
|
583600
|
+
readonly type: "uint256";
|
|
583601
|
+
}, {
|
|
583602
|
+
readonly internalType: "bool";
|
|
583603
|
+
readonly name: "spokeActive";
|
|
583604
|
+
readonly type: "bool";
|
|
583605
|
+
}, {
|
|
583606
|
+
readonly internalType: "bool";
|
|
583607
|
+
readonly name: "spokeHalted";
|
|
583608
|
+
readonly type: "bool";
|
|
583609
|
+
}];
|
|
583610
|
+
readonly internalType: "struct AaveV4View.ReserveDataFull";
|
|
583611
|
+
readonly name: "reserveData";
|
|
583612
|
+
readonly type: "tuple";
|
|
583613
|
+
}];
|
|
583614
|
+
readonly stateMutability: "view";
|
|
583615
|
+
readonly type: "function";
|
|
583616
|
+
}, {
|
|
583617
|
+
readonly inputs: readonly [{
|
|
583618
|
+
readonly internalType: "address";
|
|
583619
|
+
readonly name: "_spoke";
|
|
583620
|
+
readonly type: "address";
|
|
583621
|
+
}, {
|
|
583622
|
+
readonly internalType: "uint256";
|
|
583623
|
+
readonly name: "_reserveId";
|
|
583624
|
+
readonly type: "uint256";
|
|
583625
|
+
}];
|
|
583626
|
+
readonly name: "getReservePrice";
|
|
583627
|
+
readonly outputs: readonly [{
|
|
583628
|
+
readonly internalType: "uint256";
|
|
583629
|
+
readonly name: "price";
|
|
583630
|
+
readonly type: "uint256";
|
|
583631
|
+
}];
|
|
583632
|
+
readonly stateMutability: "view";
|
|
583633
|
+
readonly type: "function";
|
|
583634
|
+
}, {
|
|
583635
|
+
readonly inputs: readonly [{
|
|
583636
|
+
readonly internalType: "address";
|
|
583637
|
+
readonly name: "_spoke";
|
|
583638
|
+
readonly type: "address";
|
|
583639
|
+
}, {
|
|
583640
|
+
readonly internalType: "uint256[]";
|
|
583641
|
+
readonly name: "_reserveIds";
|
|
583642
|
+
readonly type: "uint256[]";
|
|
583643
|
+
}];
|
|
583644
|
+
readonly name: "getReservePrices";
|
|
583645
|
+
readonly outputs: readonly [{
|
|
583646
|
+
readonly internalType: "uint256[]";
|
|
583647
|
+
readonly name: "prices";
|
|
583648
|
+
readonly type: "uint256[]";
|
|
583649
|
+
}];
|
|
583650
|
+
readonly stateMutability: "view";
|
|
583651
|
+
readonly type: "function";
|
|
583652
|
+
}, {
|
|
583653
|
+
readonly inputs: readonly [{
|
|
583654
|
+
readonly internalType: "address";
|
|
583655
|
+
readonly name: "_spoke";
|
|
583656
|
+
readonly type: "address";
|
|
583657
|
+
}, {
|
|
583658
|
+
readonly internalType: "uint256[]";
|
|
583659
|
+
readonly name: "_reserveIds";
|
|
583660
|
+
readonly type: "uint256[]";
|
|
583661
|
+
}];
|
|
583662
|
+
readonly name: "getReservesData";
|
|
583663
|
+
readonly outputs: readonly [{
|
|
583664
|
+
readonly components: readonly [{
|
|
583665
|
+
readonly internalType: "address";
|
|
583666
|
+
readonly name: "underlying";
|
|
583667
|
+
readonly type: "address";
|
|
583668
|
+
}, {
|
|
583669
|
+
readonly internalType: "uint16";
|
|
583670
|
+
readonly name: "collateralFactor";
|
|
583671
|
+
readonly type: "uint16";
|
|
583672
|
+
}, {
|
|
583673
|
+
readonly internalType: "uint256";
|
|
583674
|
+
readonly name: "price";
|
|
583675
|
+
readonly type: "uint256";
|
|
583676
|
+
}];
|
|
583677
|
+
readonly internalType: "struct AaveV4View.ReserveData[]";
|
|
583678
|
+
readonly name: "reserveData";
|
|
583679
|
+
readonly type: "tuple[]";
|
|
583680
|
+
}];
|
|
583681
|
+
readonly stateMutability: "view";
|
|
583682
|
+
readonly type: "function";
|
|
583683
|
+
}, {
|
|
583684
|
+
readonly inputs: readonly [{
|
|
583685
|
+
readonly internalType: "address";
|
|
583686
|
+
readonly name: "_spoke";
|
|
583687
|
+
readonly type: "address";
|
|
583688
|
+
}, {
|
|
583689
|
+
readonly internalType: "uint256[]";
|
|
583690
|
+
readonly name: "_reserveIds";
|
|
583691
|
+
readonly type: "uint256[]";
|
|
583692
|
+
}];
|
|
583693
|
+
readonly name: "getReservesDataFull";
|
|
583694
|
+
readonly outputs: readonly [{
|
|
583695
|
+
readonly components: readonly [{
|
|
583696
|
+
readonly internalType: "address";
|
|
583697
|
+
readonly name: "underlying";
|
|
583698
|
+
readonly type: "address";
|
|
583699
|
+
}, {
|
|
583700
|
+
readonly internalType: "address";
|
|
583701
|
+
readonly name: "hub";
|
|
583702
|
+
readonly type: "address";
|
|
583703
|
+
}, {
|
|
583704
|
+
readonly internalType: "uint16";
|
|
583705
|
+
readonly name: "assetId";
|
|
583706
|
+
readonly type: "uint16";
|
|
583707
|
+
}, {
|
|
583708
|
+
readonly internalType: "uint8";
|
|
583709
|
+
readonly name: "decimals";
|
|
583710
|
+
readonly type: "uint8";
|
|
583711
|
+
}, {
|
|
583712
|
+
readonly internalType: "bool";
|
|
583713
|
+
readonly name: "paused";
|
|
583714
|
+
readonly type: "bool";
|
|
583715
|
+
}, {
|
|
583716
|
+
readonly internalType: "bool";
|
|
583717
|
+
readonly name: "frozen";
|
|
583718
|
+
readonly type: "bool";
|
|
583719
|
+
}, {
|
|
583720
|
+
readonly internalType: "bool";
|
|
583721
|
+
readonly name: "borrowable";
|
|
583722
|
+
readonly type: "bool";
|
|
583723
|
+
}, {
|
|
583724
|
+
readonly internalType: "uint24";
|
|
583725
|
+
readonly name: "collateralRisk";
|
|
583726
|
+
readonly type: "uint24";
|
|
583727
|
+
}, {
|
|
583728
|
+
readonly internalType: "uint16";
|
|
583729
|
+
readonly name: "collateralFactor";
|
|
583730
|
+
readonly type: "uint16";
|
|
583731
|
+
}, {
|
|
583732
|
+
readonly internalType: "uint32";
|
|
583733
|
+
readonly name: "maxLiquidationBonus";
|
|
583734
|
+
readonly type: "uint32";
|
|
583735
|
+
}, {
|
|
583736
|
+
readonly internalType: "uint16";
|
|
583737
|
+
readonly name: "liquidationFee";
|
|
583738
|
+
readonly type: "uint16";
|
|
583739
|
+
}, {
|
|
583740
|
+
readonly internalType: "uint256";
|
|
583741
|
+
readonly name: "price";
|
|
583742
|
+
readonly type: "uint256";
|
|
583743
|
+
}, {
|
|
583744
|
+
readonly internalType: "uint256";
|
|
583745
|
+
readonly name: "totalSupplied";
|
|
583746
|
+
readonly type: "uint256";
|
|
583747
|
+
}, {
|
|
583748
|
+
readonly internalType: "uint256";
|
|
583749
|
+
readonly name: "totalDrawn";
|
|
583750
|
+
readonly type: "uint256";
|
|
583751
|
+
}, {
|
|
583752
|
+
readonly internalType: "uint256";
|
|
583753
|
+
readonly name: "totalPremium";
|
|
583754
|
+
readonly type: "uint256";
|
|
583755
|
+
}, {
|
|
583756
|
+
readonly internalType: "uint256";
|
|
583757
|
+
readonly name: "totalDebt";
|
|
583758
|
+
readonly type: "uint256";
|
|
583759
|
+
}, {
|
|
583760
|
+
readonly internalType: "uint256";
|
|
583761
|
+
readonly name: "supplyCap";
|
|
583762
|
+
readonly type: "uint256";
|
|
583763
|
+
}, {
|
|
583764
|
+
readonly internalType: "uint256";
|
|
583765
|
+
readonly name: "borrowCap";
|
|
583766
|
+
readonly type: "uint256";
|
|
583767
|
+
}, {
|
|
583768
|
+
readonly internalType: "uint256";
|
|
583769
|
+
readonly name: "deficitRay";
|
|
583770
|
+
readonly type: "uint256";
|
|
583771
|
+
}, {
|
|
583772
|
+
readonly internalType: "bool";
|
|
583773
|
+
readonly name: "spokeActive";
|
|
583774
|
+
readonly type: "bool";
|
|
583775
|
+
}, {
|
|
583776
|
+
readonly internalType: "bool";
|
|
583777
|
+
readonly name: "spokeHalted";
|
|
583778
|
+
readonly type: "bool";
|
|
583779
|
+
}];
|
|
583780
|
+
readonly internalType: "struct AaveV4View.ReserveDataFull[]";
|
|
583781
|
+
readonly name: "reserveData";
|
|
583782
|
+
readonly type: "tuple[]";
|
|
583783
|
+
}];
|
|
583784
|
+
readonly stateMutability: "view";
|
|
583785
|
+
readonly type: "function";
|
|
583786
|
+
}, {
|
|
583787
|
+
readonly inputs: readonly [{
|
|
583788
|
+
readonly internalType: "address";
|
|
583789
|
+
readonly name: "_spoke";
|
|
583790
|
+
readonly type: "address";
|
|
583791
|
+
}];
|
|
583792
|
+
readonly name: "getSpokeData";
|
|
583793
|
+
readonly outputs: readonly [{
|
|
583794
|
+
readonly components: readonly [{
|
|
583795
|
+
readonly internalType: "uint128";
|
|
583796
|
+
readonly name: "targetHealthFactor";
|
|
583797
|
+
readonly type: "uint128";
|
|
583798
|
+
}, {
|
|
583799
|
+
readonly internalType: "uint64";
|
|
583800
|
+
readonly name: "healthFactorForMaxBonus";
|
|
583801
|
+
readonly type: "uint64";
|
|
583802
|
+
}, {
|
|
583803
|
+
readonly internalType: "uint16";
|
|
583804
|
+
readonly name: "liquidationBonusFactor";
|
|
583805
|
+
readonly type: "uint16";
|
|
583806
|
+
}, {
|
|
583807
|
+
readonly internalType: "address";
|
|
583808
|
+
readonly name: "oracle";
|
|
583809
|
+
readonly type: "address";
|
|
583810
|
+
}, {
|
|
583811
|
+
readonly internalType: "uint256";
|
|
583812
|
+
readonly name: "oracleDecimals";
|
|
583813
|
+
readonly type: "uint256";
|
|
583814
|
+
}, {
|
|
583815
|
+
readonly internalType: "uint256";
|
|
583816
|
+
readonly name: "reserveCount";
|
|
583817
|
+
readonly type: "uint256";
|
|
583818
|
+
}];
|
|
583819
|
+
readonly internalType: "struct AaveV4View.SpokeData";
|
|
583820
|
+
readonly name: "spokeData";
|
|
583821
|
+
readonly type: "tuple";
|
|
583822
|
+
}, {
|
|
583823
|
+
readonly components: readonly [{
|
|
583824
|
+
readonly internalType: "address";
|
|
583825
|
+
readonly name: "underlying";
|
|
583826
|
+
readonly type: "address";
|
|
583827
|
+
}, {
|
|
583828
|
+
readonly internalType: "uint16";
|
|
583829
|
+
readonly name: "collateralFactor";
|
|
583830
|
+
readonly type: "uint16";
|
|
583831
|
+
}, {
|
|
583832
|
+
readonly internalType: "uint256";
|
|
583833
|
+
readonly name: "price";
|
|
583834
|
+
readonly type: "uint256";
|
|
583835
|
+
}];
|
|
583836
|
+
readonly internalType: "struct AaveV4View.ReserveData[]";
|
|
583837
|
+
readonly name: "reserves";
|
|
583838
|
+
readonly type: "tuple[]";
|
|
583839
|
+
}];
|
|
583840
|
+
readonly stateMutability: "view";
|
|
583841
|
+
readonly type: "function";
|
|
583842
|
+
}, {
|
|
583843
|
+
readonly inputs: readonly [{
|
|
583844
|
+
readonly internalType: "address";
|
|
583845
|
+
readonly name: "_spoke";
|
|
583846
|
+
readonly type: "address";
|
|
583847
|
+
}];
|
|
583848
|
+
readonly name: "getSpokeDataFull";
|
|
583849
|
+
readonly outputs: readonly [{
|
|
583850
|
+
readonly components: readonly [{
|
|
583851
|
+
readonly internalType: "uint128";
|
|
583852
|
+
readonly name: "targetHealthFactor";
|
|
583853
|
+
readonly type: "uint128";
|
|
583854
|
+
}, {
|
|
583855
|
+
readonly internalType: "uint64";
|
|
583856
|
+
readonly name: "healthFactorForMaxBonus";
|
|
583857
|
+
readonly type: "uint64";
|
|
583858
|
+
}, {
|
|
583859
|
+
readonly internalType: "uint16";
|
|
583860
|
+
readonly name: "liquidationBonusFactor";
|
|
583861
|
+
readonly type: "uint16";
|
|
583862
|
+
}, {
|
|
583863
|
+
readonly internalType: "address";
|
|
583864
|
+
readonly name: "oracle";
|
|
583865
|
+
readonly type: "address";
|
|
583866
|
+
}, {
|
|
583867
|
+
readonly internalType: "uint256";
|
|
583868
|
+
readonly name: "oracleDecimals";
|
|
583869
|
+
readonly type: "uint256";
|
|
583870
|
+
}, {
|
|
583871
|
+
readonly internalType: "uint256";
|
|
583872
|
+
readonly name: "reserveCount";
|
|
583873
|
+
readonly type: "uint256";
|
|
583874
|
+
}];
|
|
583875
|
+
readonly internalType: "struct AaveV4View.SpokeData";
|
|
583876
|
+
readonly name: "spokeData";
|
|
583877
|
+
readonly type: "tuple";
|
|
583878
|
+
}, {
|
|
583879
|
+
readonly components: readonly [{
|
|
583880
|
+
readonly internalType: "address";
|
|
583881
|
+
readonly name: "underlying";
|
|
583882
|
+
readonly type: "address";
|
|
583883
|
+
}, {
|
|
583884
|
+
readonly internalType: "address";
|
|
583885
|
+
readonly name: "hub";
|
|
583886
|
+
readonly type: "address";
|
|
583887
|
+
}, {
|
|
583888
|
+
readonly internalType: "uint16";
|
|
583889
|
+
readonly name: "assetId";
|
|
583890
|
+
readonly type: "uint16";
|
|
583891
|
+
}, {
|
|
583892
|
+
readonly internalType: "uint8";
|
|
583893
|
+
readonly name: "decimals";
|
|
583894
|
+
readonly type: "uint8";
|
|
583895
|
+
}, {
|
|
583896
|
+
readonly internalType: "bool";
|
|
583897
|
+
readonly name: "paused";
|
|
583898
|
+
readonly type: "bool";
|
|
583899
|
+
}, {
|
|
583900
|
+
readonly internalType: "bool";
|
|
583901
|
+
readonly name: "frozen";
|
|
583902
|
+
readonly type: "bool";
|
|
583903
|
+
}, {
|
|
583904
|
+
readonly internalType: "bool";
|
|
583905
|
+
readonly name: "borrowable";
|
|
583906
|
+
readonly type: "bool";
|
|
583907
|
+
}, {
|
|
583908
|
+
readonly internalType: "uint24";
|
|
583909
|
+
readonly name: "collateralRisk";
|
|
583910
|
+
readonly type: "uint24";
|
|
583911
|
+
}, {
|
|
583912
|
+
readonly internalType: "uint16";
|
|
583913
|
+
readonly name: "collateralFactor";
|
|
583914
|
+
readonly type: "uint16";
|
|
583915
|
+
}, {
|
|
583916
|
+
readonly internalType: "uint32";
|
|
583917
|
+
readonly name: "maxLiquidationBonus";
|
|
583918
|
+
readonly type: "uint32";
|
|
583919
|
+
}, {
|
|
583920
|
+
readonly internalType: "uint16";
|
|
583921
|
+
readonly name: "liquidationFee";
|
|
583922
|
+
readonly type: "uint16";
|
|
583923
|
+
}, {
|
|
583924
|
+
readonly internalType: "uint256";
|
|
583925
|
+
readonly name: "price";
|
|
583926
|
+
readonly type: "uint256";
|
|
583927
|
+
}, {
|
|
583928
|
+
readonly internalType: "uint256";
|
|
583929
|
+
readonly name: "totalSupplied";
|
|
583930
|
+
readonly type: "uint256";
|
|
583931
|
+
}, {
|
|
583932
|
+
readonly internalType: "uint256";
|
|
583933
|
+
readonly name: "totalDrawn";
|
|
583934
|
+
readonly type: "uint256";
|
|
583935
|
+
}, {
|
|
583936
|
+
readonly internalType: "uint256";
|
|
583937
|
+
readonly name: "totalPremium";
|
|
583938
|
+
readonly type: "uint256";
|
|
583939
|
+
}, {
|
|
583940
|
+
readonly internalType: "uint256";
|
|
583941
|
+
readonly name: "totalDebt";
|
|
583942
|
+
readonly type: "uint256";
|
|
583943
|
+
}, {
|
|
583944
|
+
readonly internalType: "uint256";
|
|
583945
|
+
readonly name: "supplyCap";
|
|
583946
|
+
readonly type: "uint256";
|
|
583947
|
+
}, {
|
|
583948
|
+
readonly internalType: "uint256";
|
|
583949
|
+
readonly name: "borrowCap";
|
|
583950
|
+
readonly type: "uint256";
|
|
583951
|
+
}, {
|
|
583952
|
+
readonly internalType: "uint256";
|
|
583953
|
+
readonly name: "deficitRay";
|
|
583954
|
+
readonly type: "uint256";
|
|
583955
|
+
}, {
|
|
583956
|
+
readonly internalType: "bool";
|
|
583957
|
+
readonly name: "spokeActive";
|
|
583958
|
+
readonly type: "bool";
|
|
583959
|
+
}, {
|
|
583960
|
+
readonly internalType: "bool";
|
|
583961
|
+
readonly name: "spokeHalted";
|
|
583962
|
+
readonly type: "bool";
|
|
583963
|
+
}];
|
|
583964
|
+
readonly internalType: "struct AaveV4View.ReserveDataFull[]";
|
|
583965
|
+
readonly name: "reserves";
|
|
583966
|
+
readonly type: "tuple[]";
|
|
583967
|
+
}];
|
|
583968
|
+
readonly stateMutability: "view";
|
|
583969
|
+
readonly type: "function";
|
|
583970
|
+
}, {
|
|
583971
|
+
readonly inputs: readonly [{
|
|
583972
|
+
readonly internalType: "address";
|
|
583973
|
+
readonly name: "_hub";
|
|
583974
|
+
readonly type: "address";
|
|
583975
|
+
}, {
|
|
583976
|
+
readonly internalType: "uint256";
|
|
583977
|
+
readonly name: "_assetId";
|
|
583978
|
+
readonly type: "uint256";
|
|
583979
|
+
}];
|
|
583980
|
+
readonly name: "getSpokesForAsset";
|
|
583981
|
+
readonly outputs: readonly [{
|
|
583982
|
+
readonly internalType: "address[]";
|
|
583983
|
+
readonly name: "spokes";
|
|
583984
|
+
readonly type: "address[]";
|
|
583985
|
+
}];
|
|
583986
|
+
readonly stateMutability: "view";
|
|
583987
|
+
readonly type: "function";
|
|
583988
|
+
}, {
|
|
583989
|
+
readonly inputs: readonly [{
|
|
583990
|
+
readonly internalType: "address";
|
|
583991
|
+
readonly name: "_spoke";
|
|
583992
|
+
readonly type: "address";
|
|
583993
|
+
}, {
|
|
583994
|
+
readonly internalType: "address";
|
|
583995
|
+
readonly name: "_user";
|
|
583996
|
+
readonly type: "address";
|
|
583997
|
+
}];
|
|
583998
|
+
readonly name: "getTokenizationSpokeData";
|
|
583999
|
+
readonly outputs: readonly [{
|
|
584000
|
+
readonly components: readonly [{
|
|
584001
|
+
readonly internalType: "address";
|
|
584002
|
+
readonly name: "underlyingAsset";
|
|
584003
|
+
readonly type: "address";
|
|
584004
|
+
}, {
|
|
584005
|
+
readonly internalType: "uint256";
|
|
584006
|
+
readonly name: "assetId";
|
|
584007
|
+
readonly type: "uint256";
|
|
584008
|
+
}, {
|
|
584009
|
+
readonly internalType: "uint8";
|
|
584010
|
+
readonly name: "decimals";
|
|
584011
|
+
readonly type: "uint8";
|
|
584012
|
+
}, {
|
|
584013
|
+
readonly internalType: "address";
|
|
584014
|
+
readonly name: "spoke";
|
|
584015
|
+
readonly type: "address";
|
|
584016
|
+
}, {
|
|
584017
|
+
readonly internalType: "bool";
|
|
584018
|
+
readonly name: "spokeActive";
|
|
584019
|
+
readonly type: "bool";
|
|
584020
|
+
}, {
|
|
584021
|
+
readonly internalType: "bool";
|
|
584022
|
+
readonly name: "spokeHalted";
|
|
584023
|
+
readonly type: "bool";
|
|
584024
|
+
}, {
|
|
584025
|
+
readonly internalType: "uint256";
|
|
584026
|
+
readonly name: "spokeDepositCap";
|
|
584027
|
+
readonly type: "uint256";
|
|
584028
|
+
}, {
|
|
584029
|
+
readonly internalType: "uint256";
|
|
584030
|
+
readonly name: "spokeTotalAssets";
|
|
584031
|
+
readonly type: "uint256";
|
|
584032
|
+
}, {
|
|
584033
|
+
readonly internalType: "uint256";
|
|
584034
|
+
readonly name: "spokeTotalShares";
|
|
584035
|
+
readonly type: "uint256";
|
|
584036
|
+
}, {
|
|
584037
|
+
readonly internalType: "address";
|
|
584038
|
+
readonly name: "hub";
|
|
584039
|
+
readonly type: "address";
|
|
584040
|
+
}, {
|
|
584041
|
+
readonly internalType: "uint256";
|
|
584042
|
+
readonly name: "hubLiquidity";
|
|
584043
|
+
readonly type: "uint256";
|
|
584044
|
+
}, {
|
|
584045
|
+
readonly internalType: "uint96";
|
|
584046
|
+
readonly name: "hubDrawnRate";
|
|
584047
|
+
readonly type: "uint96";
|
|
584048
|
+
}, {
|
|
584049
|
+
readonly internalType: "uint256";
|
|
584050
|
+
readonly name: "convertToShares";
|
|
584051
|
+
readonly type: "uint256";
|
|
584052
|
+
}, {
|
|
584053
|
+
readonly internalType: "uint256";
|
|
584054
|
+
readonly name: "convertToAssets";
|
|
584055
|
+
readonly type: "uint256";
|
|
584056
|
+
}, {
|
|
584057
|
+
readonly internalType: "address";
|
|
584058
|
+
readonly name: "user";
|
|
584059
|
+
readonly type: "address";
|
|
584060
|
+
}, {
|
|
584061
|
+
readonly internalType: "uint256";
|
|
584062
|
+
readonly name: "userSuppliedAssets";
|
|
584063
|
+
readonly type: "uint256";
|
|
584064
|
+
}, {
|
|
584065
|
+
readonly internalType: "uint256";
|
|
584066
|
+
readonly name: "userSuppliedShares";
|
|
584067
|
+
readonly type: "uint256";
|
|
584068
|
+
}];
|
|
584069
|
+
readonly internalType: "struct AaveV4View.TokenizationSpokeData";
|
|
584070
|
+
readonly name: "spokeData";
|
|
584071
|
+
readonly type: "tuple";
|
|
584072
|
+
}];
|
|
584073
|
+
readonly stateMutability: "view";
|
|
584074
|
+
readonly type: "function";
|
|
584075
|
+
}, {
|
|
584076
|
+
readonly inputs: readonly [{
|
|
584077
|
+
readonly internalType: "address[]";
|
|
584078
|
+
readonly name: "_spokes";
|
|
584079
|
+
readonly type: "address[]";
|
|
584080
|
+
}, {
|
|
584081
|
+
readonly internalType: "address";
|
|
584082
|
+
readonly name: "_user";
|
|
584083
|
+
readonly type: "address";
|
|
584084
|
+
}];
|
|
584085
|
+
readonly name: "getTokenizationSpokesData";
|
|
584086
|
+
readonly outputs: readonly [{
|
|
584087
|
+
readonly components: readonly [{
|
|
584088
|
+
readonly internalType: "address";
|
|
584089
|
+
readonly name: "underlyingAsset";
|
|
584090
|
+
readonly type: "address";
|
|
584091
|
+
}, {
|
|
584092
|
+
readonly internalType: "uint256";
|
|
584093
|
+
readonly name: "assetId";
|
|
584094
|
+
readonly type: "uint256";
|
|
584095
|
+
}, {
|
|
584096
|
+
readonly internalType: "uint8";
|
|
584097
|
+
readonly name: "decimals";
|
|
584098
|
+
readonly type: "uint8";
|
|
584099
|
+
}, {
|
|
584100
|
+
readonly internalType: "address";
|
|
584101
|
+
readonly name: "spoke";
|
|
584102
|
+
readonly type: "address";
|
|
584103
|
+
}, {
|
|
584104
|
+
readonly internalType: "bool";
|
|
584105
|
+
readonly name: "spokeActive";
|
|
584106
|
+
readonly type: "bool";
|
|
584107
|
+
}, {
|
|
584108
|
+
readonly internalType: "bool";
|
|
584109
|
+
readonly name: "spokeHalted";
|
|
584110
|
+
readonly type: "bool";
|
|
584111
|
+
}, {
|
|
584112
|
+
readonly internalType: "uint256";
|
|
584113
|
+
readonly name: "spokeDepositCap";
|
|
584114
|
+
readonly type: "uint256";
|
|
584115
|
+
}, {
|
|
584116
|
+
readonly internalType: "uint256";
|
|
584117
|
+
readonly name: "spokeTotalAssets";
|
|
584118
|
+
readonly type: "uint256";
|
|
584119
|
+
}, {
|
|
584120
|
+
readonly internalType: "uint256";
|
|
584121
|
+
readonly name: "spokeTotalShares";
|
|
584122
|
+
readonly type: "uint256";
|
|
584123
|
+
}, {
|
|
584124
|
+
readonly internalType: "address";
|
|
584125
|
+
readonly name: "hub";
|
|
584126
|
+
readonly type: "address";
|
|
584127
|
+
}, {
|
|
584128
|
+
readonly internalType: "uint256";
|
|
584129
|
+
readonly name: "hubLiquidity";
|
|
584130
|
+
readonly type: "uint256";
|
|
584131
|
+
}, {
|
|
584132
|
+
readonly internalType: "uint96";
|
|
584133
|
+
readonly name: "hubDrawnRate";
|
|
584134
|
+
readonly type: "uint96";
|
|
584135
|
+
}, {
|
|
584136
|
+
readonly internalType: "uint256";
|
|
584137
|
+
readonly name: "convertToShares";
|
|
584138
|
+
readonly type: "uint256";
|
|
584139
|
+
}, {
|
|
584140
|
+
readonly internalType: "uint256";
|
|
584141
|
+
readonly name: "convertToAssets";
|
|
584142
|
+
readonly type: "uint256";
|
|
584143
|
+
}, {
|
|
584144
|
+
readonly internalType: "address";
|
|
584145
|
+
readonly name: "user";
|
|
584146
|
+
readonly type: "address";
|
|
584147
|
+
}, {
|
|
584148
|
+
readonly internalType: "uint256";
|
|
584149
|
+
readonly name: "userSuppliedAssets";
|
|
584150
|
+
readonly type: "uint256";
|
|
584151
|
+
}, {
|
|
584152
|
+
readonly internalType: "uint256";
|
|
584153
|
+
readonly name: "userSuppliedShares";
|
|
584154
|
+
readonly type: "uint256";
|
|
584155
|
+
}];
|
|
584156
|
+
readonly internalType: "struct AaveV4View.TokenizationSpokeData[]";
|
|
584157
|
+
readonly name: "spokeData";
|
|
584158
|
+
readonly type: "tuple[]";
|
|
584159
|
+
}];
|
|
584160
|
+
readonly stateMutability: "view";
|
|
584161
|
+
readonly type: "function";
|
|
584162
|
+
}, {
|
|
584163
|
+
readonly inputs: readonly [{
|
|
584164
|
+
readonly internalType: "address";
|
|
584165
|
+
readonly name: "_spoke";
|
|
584166
|
+
readonly type: "address";
|
|
584167
|
+
}, {
|
|
584168
|
+
readonly internalType: "address";
|
|
584169
|
+
readonly name: "_user";
|
|
584170
|
+
readonly type: "address";
|
|
584171
|
+
}, {
|
|
584172
|
+
readonly internalType: "uint256[]";
|
|
584173
|
+
readonly name: "_reserveIds";
|
|
584174
|
+
readonly type: "uint256[]";
|
|
584175
|
+
}];
|
|
584176
|
+
readonly name: "getUserReserveData";
|
|
584177
|
+
readonly outputs: readonly [{
|
|
584178
|
+
readonly components: readonly [{
|
|
584179
|
+
readonly internalType: "uint256";
|
|
584180
|
+
readonly name: "reserveId";
|
|
584181
|
+
readonly type: "uint256";
|
|
584182
|
+
}, {
|
|
584183
|
+
readonly internalType: "uint16";
|
|
584184
|
+
readonly name: "assetId";
|
|
584185
|
+
readonly type: "uint16";
|
|
584186
|
+
}, {
|
|
584187
|
+
readonly internalType: "address";
|
|
584188
|
+
readonly name: "underlying";
|
|
584189
|
+
readonly type: "address";
|
|
584190
|
+
}, {
|
|
584191
|
+
readonly internalType: "uint256";
|
|
584192
|
+
readonly name: "supplied";
|
|
584193
|
+
readonly type: "uint256";
|
|
584194
|
+
}, {
|
|
584195
|
+
readonly internalType: "uint256";
|
|
584196
|
+
readonly name: "drawn";
|
|
584197
|
+
readonly type: "uint256";
|
|
584198
|
+
}, {
|
|
584199
|
+
readonly internalType: "uint256";
|
|
584200
|
+
readonly name: "premium";
|
|
584201
|
+
readonly type: "uint256";
|
|
584202
|
+
}, {
|
|
584203
|
+
readonly internalType: "uint256";
|
|
584204
|
+
readonly name: "totalDebt";
|
|
584205
|
+
readonly type: "uint256";
|
|
584206
|
+
}, {
|
|
584207
|
+
readonly internalType: "uint16";
|
|
584208
|
+
readonly name: "collateralFactor";
|
|
584209
|
+
readonly type: "uint16";
|
|
584210
|
+
}, {
|
|
584211
|
+
readonly internalType: "uint32";
|
|
584212
|
+
readonly name: "maxLiquidationBonus";
|
|
584213
|
+
readonly type: "uint32";
|
|
584214
|
+
}, {
|
|
584215
|
+
readonly internalType: "uint16";
|
|
584216
|
+
readonly name: "liquidationFee";
|
|
584217
|
+
readonly type: "uint16";
|
|
584218
|
+
}, {
|
|
584219
|
+
readonly internalType: "bool";
|
|
584220
|
+
readonly name: "isUsingAsCollateral";
|
|
584221
|
+
readonly type: "bool";
|
|
584222
|
+
}, {
|
|
584223
|
+
readonly internalType: "bool";
|
|
584224
|
+
readonly name: "isBorrowing";
|
|
584225
|
+
readonly type: "bool";
|
|
584226
|
+
}];
|
|
584227
|
+
readonly internalType: "struct AaveV4View.UserReserveData[]";
|
|
584228
|
+
readonly name: "_userReserves";
|
|
584229
|
+
readonly type: "tuple[]";
|
|
584230
|
+
}];
|
|
584231
|
+
readonly stateMutability: "view";
|
|
584232
|
+
readonly type: "function";
|
|
584233
|
+
}], "getApyAfterValuesEstimation", readonly [`0x${string}`, readonly {
|
|
584234
|
+
reserveId: bigint;
|
|
584235
|
+
liquidityAdded: bigint;
|
|
584236
|
+
liquidityTaken: bigint;
|
|
584237
|
+
isDebtAsset: boolean;
|
|
584238
|
+
}[]]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly {
|
|
584239
|
+
reserveId: bigint;
|
|
584240
|
+
hubDrawnRateEstimation: bigint;
|
|
584241
|
+
hubTotalDrawnEstimation: bigint;
|
|
584242
|
+
hubTotalLiquidityEstimation: bigint;
|
|
584243
|
+
hubSwept: bigint;
|
|
584244
|
+
liquidityFee: number;
|
|
584245
|
+
}[]>;
|
|
582625
584246
|
getEOAApprovalsAndBalances: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
584247
|
+
readonly inputs: readonly [{
|
|
584248
|
+
readonly internalType: "address";
|
|
584249
|
+
readonly name: "_spoke";
|
|
584250
|
+
readonly type: "address";
|
|
584251
|
+
}, {
|
|
584252
|
+
readonly components: readonly [{
|
|
584253
|
+
readonly internalType: "uint256";
|
|
584254
|
+
readonly name: "reserveId";
|
|
584255
|
+
readonly type: "uint256";
|
|
584256
|
+
}, {
|
|
584257
|
+
readonly internalType: "uint256";
|
|
584258
|
+
readonly name: "liquidityAdded";
|
|
584259
|
+
readonly type: "uint256";
|
|
584260
|
+
}, {
|
|
584261
|
+
readonly internalType: "uint256";
|
|
584262
|
+
readonly name: "liquidityTaken";
|
|
584263
|
+
readonly type: "uint256";
|
|
584264
|
+
}, {
|
|
584265
|
+
readonly internalType: "bool";
|
|
584266
|
+
readonly name: "isDebtAsset";
|
|
584267
|
+
readonly type: "bool";
|
|
584268
|
+
}];
|
|
584269
|
+
readonly internalType: "struct AaveV4View.LiquidityChangeParams[]";
|
|
584270
|
+
readonly name: "_reserveParams";
|
|
584271
|
+
readonly type: "tuple[]";
|
|
584272
|
+
}];
|
|
584273
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
584274
|
+
readonly outputs: readonly [{
|
|
584275
|
+
readonly components: readonly [{
|
|
584276
|
+
readonly internalType: "uint256";
|
|
584277
|
+
readonly name: "reserveId";
|
|
584278
|
+
readonly type: "uint256";
|
|
584279
|
+
}, {
|
|
584280
|
+
readonly internalType: "uint256";
|
|
584281
|
+
readonly name: "hubDrawnRateEstimation";
|
|
584282
|
+
readonly type: "uint256";
|
|
584283
|
+
}, {
|
|
584284
|
+
readonly internalType: "uint256";
|
|
584285
|
+
readonly name: "hubTotalDrawnEstimation";
|
|
584286
|
+
readonly type: "uint256";
|
|
584287
|
+
}, {
|
|
584288
|
+
readonly internalType: "uint256";
|
|
584289
|
+
readonly name: "hubTotalLiquidityEstimation";
|
|
584290
|
+
readonly type: "uint256";
|
|
584291
|
+
}, {
|
|
584292
|
+
readonly internalType: "uint256";
|
|
584293
|
+
readonly name: "hubSwept";
|
|
584294
|
+
readonly type: "uint256";
|
|
584295
|
+
}, {
|
|
584296
|
+
readonly internalType: "uint16";
|
|
584297
|
+
readonly name: "liquidityFee";
|
|
584298
|
+
readonly type: "uint16";
|
|
584299
|
+
}];
|
|
584300
|
+
readonly internalType: "struct AaveV4View.EstimatedRates[]";
|
|
584301
|
+
readonly name: "";
|
|
584302
|
+
readonly type: "tuple[]";
|
|
584303
|
+
}];
|
|
584304
|
+
readonly stateMutability: "view";
|
|
584305
|
+
readonly type: "function";
|
|
584306
|
+
}, {
|
|
582626
584307
|
readonly inputs: readonly [{
|
|
582627
584308
|
readonly internalType: "address";
|
|
582628
584309
|
readonly name: "_eoa";
|
|
@@ -584184,6 +585865,66 @@ export declare const AaveV4ViewContractViem: (client: Client, network: NetworkNu
|
|
|
584184
585865
|
}[];
|
|
584185
585866
|
}>;
|
|
584186
585867
|
getHealthFactor: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
585868
|
+
readonly inputs: readonly [{
|
|
585869
|
+
readonly internalType: "address";
|
|
585870
|
+
readonly name: "_spoke";
|
|
585871
|
+
readonly type: "address";
|
|
585872
|
+
}, {
|
|
585873
|
+
readonly components: readonly [{
|
|
585874
|
+
readonly internalType: "uint256";
|
|
585875
|
+
readonly name: "reserveId";
|
|
585876
|
+
readonly type: "uint256";
|
|
585877
|
+
}, {
|
|
585878
|
+
readonly internalType: "uint256";
|
|
585879
|
+
readonly name: "liquidityAdded";
|
|
585880
|
+
readonly type: "uint256";
|
|
585881
|
+
}, {
|
|
585882
|
+
readonly internalType: "uint256";
|
|
585883
|
+
readonly name: "liquidityTaken";
|
|
585884
|
+
readonly type: "uint256";
|
|
585885
|
+
}, {
|
|
585886
|
+
readonly internalType: "bool";
|
|
585887
|
+
readonly name: "isDebtAsset";
|
|
585888
|
+
readonly type: "bool";
|
|
585889
|
+
}];
|
|
585890
|
+
readonly internalType: "struct AaveV4View.LiquidityChangeParams[]";
|
|
585891
|
+
readonly name: "_reserveParams";
|
|
585892
|
+
readonly type: "tuple[]";
|
|
585893
|
+
}];
|
|
585894
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
585895
|
+
readonly outputs: readonly [{
|
|
585896
|
+
readonly components: readonly [{
|
|
585897
|
+
readonly internalType: "uint256";
|
|
585898
|
+
readonly name: "reserveId";
|
|
585899
|
+
readonly type: "uint256";
|
|
585900
|
+
}, {
|
|
585901
|
+
readonly internalType: "uint256";
|
|
585902
|
+
readonly name: "hubDrawnRateEstimation";
|
|
585903
|
+
readonly type: "uint256";
|
|
585904
|
+
}, {
|
|
585905
|
+
readonly internalType: "uint256";
|
|
585906
|
+
readonly name: "hubTotalDrawnEstimation";
|
|
585907
|
+
readonly type: "uint256";
|
|
585908
|
+
}, {
|
|
585909
|
+
readonly internalType: "uint256";
|
|
585910
|
+
readonly name: "hubTotalLiquidityEstimation";
|
|
585911
|
+
readonly type: "uint256";
|
|
585912
|
+
}, {
|
|
585913
|
+
readonly internalType: "uint256";
|
|
585914
|
+
readonly name: "hubSwept";
|
|
585915
|
+
readonly type: "uint256";
|
|
585916
|
+
}, {
|
|
585917
|
+
readonly internalType: "uint16";
|
|
585918
|
+
readonly name: "liquidityFee";
|
|
585919
|
+
readonly type: "uint16";
|
|
585920
|
+
}];
|
|
585921
|
+
readonly internalType: "struct AaveV4View.EstimatedRates[]";
|
|
585922
|
+
readonly name: "";
|
|
585923
|
+
readonly type: "tuple[]";
|
|
585924
|
+
}];
|
|
585925
|
+
readonly stateMutability: "view";
|
|
585926
|
+
readonly type: "function";
|
|
585927
|
+
}, {
|
|
584187
585928
|
readonly inputs: readonly [{
|
|
584188
585929
|
readonly internalType: "address";
|
|
584189
585930
|
readonly name: "_eoa";
|
|
@@ -585728,6 +587469,66 @@ export declare const AaveV4ViewContractViem: (client: Client, network: NetworkNu
|
|
|
585728
587469
|
readonly type: "function";
|
|
585729
587470
|
}], "getHealthFactor", readonly [`0x${string}`, `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
|
|
585730
587471
|
getLoanData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
587472
|
+
readonly inputs: readonly [{
|
|
587473
|
+
readonly internalType: "address";
|
|
587474
|
+
readonly name: "_spoke";
|
|
587475
|
+
readonly type: "address";
|
|
587476
|
+
}, {
|
|
587477
|
+
readonly components: readonly [{
|
|
587478
|
+
readonly internalType: "uint256";
|
|
587479
|
+
readonly name: "reserveId";
|
|
587480
|
+
readonly type: "uint256";
|
|
587481
|
+
}, {
|
|
587482
|
+
readonly internalType: "uint256";
|
|
587483
|
+
readonly name: "liquidityAdded";
|
|
587484
|
+
readonly type: "uint256";
|
|
587485
|
+
}, {
|
|
587486
|
+
readonly internalType: "uint256";
|
|
587487
|
+
readonly name: "liquidityTaken";
|
|
587488
|
+
readonly type: "uint256";
|
|
587489
|
+
}, {
|
|
587490
|
+
readonly internalType: "bool";
|
|
587491
|
+
readonly name: "isDebtAsset";
|
|
587492
|
+
readonly type: "bool";
|
|
587493
|
+
}];
|
|
587494
|
+
readonly internalType: "struct AaveV4View.LiquidityChangeParams[]";
|
|
587495
|
+
readonly name: "_reserveParams";
|
|
587496
|
+
readonly type: "tuple[]";
|
|
587497
|
+
}];
|
|
587498
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
587499
|
+
readonly outputs: readonly [{
|
|
587500
|
+
readonly components: readonly [{
|
|
587501
|
+
readonly internalType: "uint256";
|
|
587502
|
+
readonly name: "reserveId";
|
|
587503
|
+
readonly type: "uint256";
|
|
587504
|
+
}, {
|
|
587505
|
+
readonly internalType: "uint256";
|
|
587506
|
+
readonly name: "hubDrawnRateEstimation";
|
|
587507
|
+
readonly type: "uint256";
|
|
587508
|
+
}, {
|
|
587509
|
+
readonly internalType: "uint256";
|
|
587510
|
+
readonly name: "hubTotalDrawnEstimation";
|
|
587511
|
+
readonly type: "uint256";
|
|
587512
|
+
}, {
|
|
587513
|
+
readonly internalType: "uint256";
|
|
587514
|
+
readonly name: "hubTotalLiquidityEstimation";
|
|
587515
|
+
readonly type: "uint256";
|
|
587516
|
+
}, {
|
|
587517
|
+
readonly internalType: "uint256";
|
|
587518
|
+
readonly name: "hubSwept";
|
|
587519
|
+
readonly type: "uint256";
|
|
587520
|
+
}, {
|
|
587521
|
+
readonly internalType: "uint16";
|
|
587522
|
+
readonly name: "liquidityFee";
|
|
587523
|
+
readonly type: "uint16";
|
|
587524
|
+
}];
|
|
587525
|
+
readonly internalType: "struct AaveV4View.EstimatedRates[]";
|
|
587526
|
+
readonly name: "";
|
|
587527
|
+
readonly type: "tuple[]";
|
|
587528
|
+
}];
|
|
587529
|
+
readonly stateMutability: "view";
|
|
587530
|
+
readonly type: "function";
|
|
587531
|
+
}, {
|
|
585731
587532
|
readonly inputs: readonly [{
|
|
585732
587533
|
readonly internalType: "address";
|
|
585733
587534
|
readonly name: "_eoa";
|
|
@@ -587295,6 +589096,66 @@ export declare const AaveV4ViewContractViem: (client: Client, network: NetworkNu
|
|
|
587295
589096
|
}[];
|
|
587296
589097
|
}>;
|
|
587297
589098
|
getReserveData: (args: readonly [`0x${string}`, bigint], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
589099
|
+
readonly inputs: readonly [{
|
|
589100
|
+
readonly internalType: "address";
|
|
589101
|
+
readonly name: "_spoke";
|
|
589102
|
+
readonly type: "address";
|
|
589103
|
+
}, {
|
|
589104
|
+
readonly components: readonly [{
|
|
589105
|
+
readonly internalType: "uint256";
|
|
589106
|
+
readonly name: "reserveId";
|
|
589107
|
+
readonly type: "uint256";
|
|
589108
|
+
}, {
|
|
589109
|
+
readonly internalType: "uint256";
|
|
589110
|
+
readonly name: "liquidityAdded";
|
|
589111
|
+
readonly type: "uint256";
|
|
589112
|
+
}, {
|
|
589113
|
+
readonly internalType: "uint256";
|
|
589114
|
+
readonly name: "liquidityTaken";
|
|
589115
|
+
readonly type: "uint256";
|
|
589116
|
+
}, {
|
|
589117
|
+
readonly internalType: "bool";
|
|
589118
|
+
readonly name: "isDebtAsset";
|
|
589119
|
+
readonly type: "bool";
|
|
589120
|
+
}];
|
|
589121
|
+
readonly internalType: "struct AaveV4View.LiquidityChangeParams[]";
|
|
589122
|
+
readonly name: "_reserveParams";
|
|
589123
|
+
readonly type: "tuple[]";
|
|
589124
|
+
}];
|
|
589125
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
589126
|
+
readonly outputs: readonly [{
|
|
589127
|
+
readonly components: readonly [{
|
|
589128
|
+
readonly internalType: "uint256";
|
|
589129
|
+
readonly name: "reserveId";
|
|
589130
|
+
readonly type: "uint256";
|
|
589131
|
+
}, {
|
|
589132
|
+
readonly internalType: "uint256";
|
|
589133
|
+
readonly name: "hubDrawnRateEstimation";
|
|
589134
|
+
readonly type: "uint256";
|
|
589135
|
+
}, {
|
|
589136
|
+
readonly internalType: "uint256";
|
|
589137
|
+
readonly name: "hubTotalDrawnEstimation";
|
|
589138
|
+
readonly type: "uint256";
|
|
589139
|
+
}, {
|
|
589140
|
+
readonly internalType: "uint256";
|
|
589141
|
+
readonly name: "hubTotalLiquidityEstimation";
|
|
589142
|
+
readonly type: "uint256";
|
|
589143
|
+
}, {
|
|
589144
|
+
readonly internalType: "uint256";
|
|
589145
|
+
readonly name: "hubSwept";
|
|
589146
|
+
readonly type: "uint256";
|
|
589147
|
+
}, {
|
|
589148
|
+
readonly internalType: "uint16";
|
|
589149
|
+
readonly name: "liquidityFee";
|
|
589150
|
+
readonly type: "uint16";
|
|
589151
|
+
}];
|
|
589152
|
+
readonly internalType: "struct AaveV4View.EstimatedRates[]";
|
|
589153
|
+
readonly name: "";
|
|
589154
|
+
readonly type: "tuple[]";
|
|
589155
|
+
}];
|
|
589156
|
+
readonly stateMutability: "view";
|
|
589157
|
+
readonly type: "function";
|
|
589158
|
+
}, {
|
|
587298
589159
|
readonly inputs: readonly [{
|
|
587299
589160
|
readonly internalType: "address";
|
|
587300
589161
|
readonly name: "_eoa";
|
|
@@ -588837,12 +590698,72 @@ export declare const AaveV4ViewContractViem: (client: Client, network: NetworkNu
|
|
|
588837
590698
|
}];
|
|
588838
590699
|
readonly stateMutability: "view";
|
|
588839
590700
|
readonly type: "function";
|
|
588840
|
-
}], "getReserveData", readonly [`0x${string}`, bigint]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{
|
|
588841
|
-
underlying: `0x${string}`;
|
|
588842
|
-
collateralFactor: number;
|
|
588843
|
-
price: bigint;
|
|
588844
|
-
}>;
|
|
588845
|
-
getUserReserveData: (args: readonly [`0x${string}`, `0x${string}`, readonly bigint[]], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
590701
|
+
}], "getReserveData", readonly [`0x${string}`, bigint]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{
|
|
590702
|
+
underlying: `0x${string}`;
|
|
590703
|
+
collateralFactor: number;
|
|
590704
|
+
price: bigint;
|
|
590705
|
+
}>;
|
|
590706
|
+
getUserReserveData: (args: readonly [`0x${string}`, `0x${string}`, readonly bigint[]], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
590707
|
+
readonly inputs: readonly [{
|
|
590708
|
+
readonly internalType: "address";
|
|
590709
|
+
readonly name: "_spoke";
|
|
590710
|
+
readonly type: "address";
|
|
590711
|
+
}, {
|
|
590712
|
+
readonly components: readonly [{
|
|
590713
|
+
readonly internalType: "uint256";
|
|
590714
|
+
readonly name: "reserveId";
|
|
590715
|
+
readonly type: "uint256";
|
|
590716
|
+
}, {
|
|
590717
|
+
readonly internalType: "uint256";
|
|
590718
|
+
readonly name: "liquidityAdded";
|
|
590719
|
+
readonly type: "uint256";
|
|
590720
|
+
}, {
|
|
590721
|
+
readonly internalType: "uint256";
|
|
590722
|
+
readonly name: "liquidityTaken";
|
|
590723
|
+
readonly type: "uint256";
|
|
590724
|
+
}, {
|
|
590725
|
+
readonly internalType: "bool";
|
|
590726
|
+
readonly name: "isDebtAsset";
|
|
590727
|
+
readonly type: "bool";
|
|
590728
|
+
}];
|
|
590729
|
+
readonly internalType: "struct AaveV4View.LiquidityChangeParams[]";
|
|
590730
|
+
readonly name: "_reserveParams";
|
|
590731
|
+
readonly type: "tuple[]";
|
|
590732
|
+
}];
|
|
590733
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
590734
|
+
readonly outputs: readonly [{
|
|
590735
|
+
readonly components: readonly [{
|
|
590736
|
+
readonly internalType: "uint256";
|
|
590737
|
+
readonly name: "reserveId";
|
|
590738
|
+
readonly type: "uint256";
|
|
590739
|
+
}, {
|
|
590740
|
+
readonly internalType: "uint256";
|
|
590741
|
+
readonly name: "hubDrawnRateEstimation";
|
|
590742
|
+
readonly type: "uint256";
|
|
590743
|
+
}, {
|
|
590744
|
+
readonly internalType: "uint256";
|
|
590745
|
+
readonly name: "hubTotalDrawnEstimation";
|
|
590746
|
+
readonly type: "uint256";
|
|
590747
|
+
}, {
|
|
590748
|
+
readonly internalType: "uint256";
|
|
590749
|
+
readonly name: "hubTotalLiquidityEstimation";
|
|
590750
|
+
readonly type: "uint256";
|
|
590751
|
+
}, {
|
|
590752
|
+
readonly internalType: "uint256";
|
|
590753
|
+
readonly name: "hubSwept";
|
|
590754
|
+
readonly type: "uint256";
|
|
590755
|
+
}, {
|
|
590756
|
+
readonly internalType: "uint16";
|
|
590757
|
+
readonly name: "liquidityFee";
|
|
590758
|
+
readonly type: "uint16";
|
|
590759
|
+
}];
|
|
590760
|
+
readonly internalType: "struct AaveV4View.EstimatedRates[]";
|
|
590761
|
+
readonly name: "";
|
|
590762
|
+
readonly type: "tuple[]";
|
|
590763
|
+
}];
|
|
590764
|
+
readonly stateMutability: "view";
|
|
590765
|
+
readonly type: "function";
|
|
590766
|
+
}, {
|
|
588846
590767
|
readonly inputs: readonly [{
|
|
588847
590768
|
readonly internalType: "address";
|
|
588848
590769
|
readonly name: "_eoa";
|
|
@@ -590400,6 +592321,66 @@ export declare const AaveV4ViewContractViem: (client: Client, network: NetworkNu
|
|
|
590400
592321
|
isBorrowing: boolean;
|
|
590401
592322
|
}[]>;
|
|
590402
592323
|
getHubAllAssetsData: (args: readonly [`0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
592324
|
+
readonly inputs: readonly [{
|
|
592325
|
+
readonly internalType: "address";
|
|
592326
|
+
readonly name: "_spoke";
|
|
592327
|
+
readonly type: "address";
|
|
592328
|
+
}, {
|
|
592329
|
+
readonly components: readonly [{
|
|
592330
|
+
readonly internalType: "uint256";
|
|
592331
|
+
readonly name: "reserveId";
|
|
592332
|
+
readonly type: "uint256";
|
|
592333
|
+
}, {
|
|
592334
|
+
readonly internalType: "uint256";
|
|
592335
|
+
readonly name: "liquidityAdded";
|
|
592336
|
+
readonly type: "uint256";
|
|
592337
|
+
}, {
|
|
592338
|
+
readonly internalType: "uint256";
|
|
592339
|
+
readonly name: "liquidityTaken";
|
|
592340
|
+
readonly type: "uint256";
|
|
592341
|
+
}, {
|
|
592342
|
+
readonly internalType: "bool";
|
|
592343
|
+
readonly name: "isDebtAsset";
|
|
592344
|
+
readonly type: "bool";
|
|
592345
|
+
}];
|
|
592346
|
+
readonly internalType: "struct AaveV4View.LiquidityChangeParams[]";
|
|
592347
|
+
readonly name: "_reserveParams";
|
|
592348
|
+
readonly type: "tuple[]";
|
|
592349
|
+
}];
|
|
592350
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
592351
|
+
readonly outputs: readonly [{
|
|
592352
|
+
readonly components: readonly [{
|
|
592353
|
+
readonly internalType: "uint256";
|
|
592354
|
+
readonly name: "reserveId";
|
|
592355
|
+
readonly type: "uint256";
|
|
592356
|
+
}, {
|
|
592357
|
+
readonly internalType: "uint256";
|
|
592358
|
+
readonly name: "hubDrawnRateEstimation";
|
|
592359
|
+
readonly type: "uint256";
|
|
592360
|
+
}, {
|
|
592361
|
+
readonly internalType: "uint256";
|
|
592362
|
+
readonly name: "hubTotalDrawnEstimation";
|
|
592363
|
+
readonly type: "uint256";
|
|
592364
|
+
}, {
|
|
592365
|
+
readonly internalType: "uint256";
|
|
592366
|
+
readonly name: "hubTotalLiquidityEstimation";
|
|
592367
|
+
readonly type: "uint256";
|
|
592368
|
+
}, {
|
|
592369
|
+
readonly internalType: "uint256";
|
|
592370
|
+
readonly name: "hubSwept";
|
|
592371
|
+
readonly type: "uint256";
|
|
592372
|
+
}, {
|
|
592373
|
+
readonly internalType: "uint16";
|
|
592374
|
+
readonly name: "liquidityFee";
|
|
592375
|
+
readonly type: "uint16";
|
|
592376
|
+
}];
|
|
592377
|
+
readonly internalType: "struct AaveV4View.EstimatedRates[]";
|
|
592378
|
+
readonly name: "";
|
|
592379
|
+
readonly type: "tuple[]";
|
|
592380
|
+
}];
|
|
592381
|
+
readonly stateMutability: "view";
|
|
592382
|
+
readonly type: "function";
|
|
592383
|
+
}, {
|
|
590403
592384
|
readonly inputs: readonly [{
|
|
590404
592385
|
readonly internalType: "address";
|
|
590405
592386
|
readonly name: "_eoa";
|
|
@@ -591964,6 +593945,66 @@ export declare const AaveV4ViewContractViem: (client: Client, network: NetworkNu
|
|
|
591964
593945
|
deficitRay: bigint;
|
|
591965
593946
|
}[]>;
|
|
591966
593947
|
getHubAssetData: (args: readonly [`0x${string}`, bigint], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
593948
|
+
readonly inputs: readonly [{
|
|
593949
|
+
readonly internalType: "address";
|
|
593950
|
+
readonly name: "_spoke";
|
|
593951
|
+
readonly type: "address";
|
|
593952
|
+
}, {
|
|
593953
|
+
readonly components: readonly [{
|
|
593954
|
+
readonly internalType: "uint256";
|
|
593955
|
+
readonly name: "reserveId";
|
|
593956
|
+
readonly type: "uint256";
|
|
593957
|
+
}, {
|
|
593958
|
+
readonly internalType: "uint256";
|
|
593959
|
+
readonly name: "liquidityAdded";
|
|
593960
|
+
readonly type: "uint256";
|
|
593961
|
+
}, {
|
|
593962
|
+
readonly internalType: "uint256";
|
|
593963
|
+
readonly name: "liquidityTaken";
|
|
593964
|
+
readonly type: "uint256";
|
|
593965
|
+
}, {
|
|
593966
|
+
readonly internalType: "bool";
|
|
593967
|
+
readonly name: "isDebtAsset";
|
|
593968
|
+
readonly type: "bool";
|
|
593969
|
+
}];
|
|
593970
|
+
readonly internalType: "struct AaveV4View.LiquidityChangeParams[]";
|
|
593971
|
+
readonly name: "_reserveParams";
|
|
593972
|
+
readonly type: "tuple[]";
|
|
593973
|
+
}];
|
|
593974
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
593975
|
+
readonly outputs: readonly [{
|
|
593976
|
+
readonly components: readonly [{
|
|
593977
|
+
readonly internalType: "uint256";
|
|
593978
|
+
readonly name: "reserveId";
|
|
593979
|
+
readonly type: "uint256";
|
|
593980
|
+
}, {
|
|
593981
|
+
readonly internalType: "uint256";
|
|
593982
|
+
readonly name: "hubDrawnRateEstimation";
|
|
593983
|
+
readonly type: "uint256";
|
|
593984
|
+
}, {
|
|
593985
|
+
readonly internalType: "uint256";
|
|
593986
|
+
readonly name: "hubTotalDrawnEstimation";
|
|
593987
|
+
readonly type: "uint256";
|
|
593988
|
+
}, {
|
|
593989
|
+
readonly internalType: "uint256";
|
|
593990
|
+
readonly name: "hubTotalLiquidityEstimation";
|
|
593991
|
+
readonly type: "uint256";
|
|
593992
|
+
}, {
|
|
593993
|
+
readonly internalType: "uint256";
|
|
593994
|
+
readonly name: "hubSwept";
|
|
593995
|
+
readonly type: "uint256";
|
|
593996
|
+
}, {
|
|
593997
|
+
readonly internalType: "uint16";
|
|
593998
|
+
readonly name: "liquidityFee";
|
|
593999
|
+
readonly type: "uint16";
|
|
594000
|
+
}];
|
|
594001
|
+
readonly internalType: "struct AaveV4View.EstimatedRates[]";
|
|
594002
|
+
readonly name: "";
|
|
594003
|
+
readonly type: "tuple[]";
|
|
594004
|
+
}];
|
|
594005
|
+
readonly stateMutability: "view";
|
|
594006
|
+
readonly type: "function";
|
|
594007
|
+
}, {
|
|
591967
594008
|
readonly inputs: readonly [{
|
|
591968
594009
|
readonly internalType: "address";
|
|
591969
594010
|
readonly name: "_eoa";
|
|
@@ -593528,6 +595569,66 @@ export declare const AaveV4ViewContractViem: (client: Client, network: NetworkNu
|
|
|
593528
595569
|
deficitRay: bigint;
|
|
593529
595570
|
}>;
|
|
593530
595571
|
getLoanDataForMultipleSpokes: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
595572
|
+
readonly inputs: readonly [{
|
|
595573
|
+
readonly internalType: "address";
|
|
595574
|
+
readonly name: "_spoke";
|
|
595575
|
+
readonly type: "address";
|
|
595576
|
+
}, {
|
|
595577
|
+
readonly components: readonly [{
|
|
595578
|
+
readonly internalType: "uint256";
|
|
595579
|
+
readonly name: "reserveId";
|
|
595580
|
+
readonly type: "uint256";
|
|
595581
|
+
}, {
|
|
595582
|
+
readonly internalType: "uint256";
|
|
595583
|
+
readonly name: "liquidityAdded";
|
|
595584
|
+
readonly type: "uint256";
|
|
595585
|
+
}, {
|
|
595586
|
+
readonly internalType: "uint256";
|
|
595587
|
+
readonly name: "liquidityTaken";
|
|
595588
|
+
readonly type: "uint256";
|
|
595589
|
+
}, {
|
|
595590
|
+
readonly internalType: "bool";
|
|
595591
|
+
readonly name: "isDebtAsset";
|
|
595592
|
+
readonly type: "bool";
|
|
595593
|
+
}];
|
|
595594
|
+
readonly internalType: "struct AaveV4View.LiquidityChangeParams[]";
|
|
595595
|
+
readonly name: "_reserveParams";
|
|
595596
|
+
readonly type: "tuple[]";
|
|
595597
|
+
}];
|
|
595598
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
595599
|
+
readonly outputs: readonly [{
|
|
595600
|
+
readonly components: readonly [{
|
|
595601
|
+
readonly internalType: "uint256";
|
|
595602
|
+
readonly name: "reserveId";
|
|
595603
|
+
readonly type: "uint256";
|
|
595604
|
+
}, {
|
|
595605
|
+
readonly internalType: "uint256";
|
|
595606
|
+
readonly name: "hubDrawnRateEstimation";
|
|
595607
|
+
readonly type: "uint256";
|
|
595608
|
+
}, {
|
|
595609
|
+
readonly internalType: "uint256";
|
|
595610
|
+
readonly name: "hubTotalDrawnEstimation";
|
|
595611
|
+
readonly type: "uint256";
|
|
595612
|
+
}, {
|
|
595613
|
+
readonly internalType: "uint256";
|
|
595614
|
+
readonly name: "hubTotalLiquidityEstimation";
|
|
595615
|
+
readonly type: "uint256";
|
|
595616
|
+
}, {
|
|
595617
|
+
readonly internalType: "uint256";
|
|
595618
|
+
readonly name: "hubSwept";
|
|
595619
|
+
readonly type: "uint256";
|
|
595620
|
+
}, {
|
|
595621
|
+
readonly internalType: "uint16";
|
|
595622
|
+
readonly name: "liquidityFee";
|
|
595623
|
+
readonly type: "uint16";
|
|
595624
|
+
}];
|
|
595625
|
+
readonly internalType: "struct AaveV4View.EstimatedRates[]";
|
|
595626
|
+
readonly name: "";
|
|
595627
|
+
readonly type: "tuple[]";
|
|
595628
|
+
}];
|
|
595629
|
+
readonly stateMutability: "view";
|
|
595630
|
+
readonly type: "function";
|
|
595631
|
+
}, {
|
|
593531
595632
|
readonly inputs: readonly [{
|
|
593532
595633
|
readonly internalType: "address";
|
|
593533
595634
|
readonly name: "_eoa";
|
|
@@ -595053,48 +597154,108 @@ export declare const AaveV4ViewContractViem: (client: Client, network: NetworkNu
|
|
|
595053
597154
|
readonly type: "uint32";
|
|
595054
597155
|
}, {
|
|
595055
597156
|
readonly internalType: "uint16";
|
|
595056
|
-
readonly name: "liquidationFee";
|
|
597157
|
+
readonly name: "liquidationFee";
|
|
597158
|
+
readonly type: "uint16";
|
|
597159
|
+
}, {
|
|
597160
|
+
readonly internalType: "bool";
|
|
597161
|
+
readonly name: "isUsingAsCollateral";
|
|
597162
|
+
readonly type: "bool";
|
|
597163
|
+
}, {
|
|
597164
|
+
readonly internalType: "bool";
|
|
597165
|
+
readonly name: "isBorrowing";
|
|
597166
|
+
readonly type: "bool";
|
|
597167
|
+
}];
|
|
597168
|
+
readonly internalType: "struct AaveV4View.UserReserveData[]";
|
|
597169
|
+
readonly name: "_userReserves";
|
|
597170
|
+
readonly type: "tuple[]";
|
|
597171
|
+
}];
|
|
597172
|
+
readonly stateMutability: "view";
|
|
597173
|
+
readonly type: "function";
|
|
597174
|
+
}], "getLoanDataForMultipleSpokes", readonly [`0x${string}`, readonly `0x${string}`[]]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly {
|
|
597175
|
+
user: `0x${string}`;
|
|
597176
|
+
riskPremium: bigint;
|
|
597177
|
+
avgCollateralFactor: bigint;
|
|
597178
|
+
healthFactor: bigint;
|
|
597179
|
+
totalCollateralInUsd: bigint;
|
|
597180
|
+
totalDebtInUsdRay: bigint;
|
|
597181
|
+
activeCollateralCount: bigint;
|
|
597182
|
+
borrowCount: bigint;
|
|
597183
|
+
reserves: readonly {
|
|
597184
|
+
reserveId: bigint;
|
|
597185
|
+
assetId: number;
|
|
597186
|
+
underlying: `0x${string}`;
|
|
597187
|
+
supplied: bigint;
|
|
597188
|
+
drawn: bigint;
|
|
597189
|
+
premium: bigint;
|
|
597190
|
+
totalDebt: bigint;
|
|
597191
|
+
collateralFactor: number;
|
|
597192
|
+
maxLiquidationBonus: number;
|
|
597193
|
+
liquidationFee: number;
|
|
597194
|
+
isUsingAsCollateral: boolean;
|
|
597195
|
+
isBorrowing: boolean;
|
|
597196
|
+
}[];
|
|
597197
|
+
}[]>;
|
|
597198
|
+
getLoanDataForMultipleUsers: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
597199
|
+
readonly inputs: readonly [{
|
|
597200
|
+
readonly internalType: "address";
|
|
597201
|
+
readonly name: "_spoke";
|
|
597202
|
+
readonly type: "address";
|
|
597203
|
+
}, {
|
|
597204
|
+
readonly components: readonly [{
|
|
597205
|
+
readonly internalType: "uint256";
|
|
597206
|
+
readonly name: "reserveId";
|
|
597207
|
+
readonly type: "uint256";
|
|
597208
|
+
}, {
|
|
597209
|
+
readonly internalType: "uint256";
|
|
597210
|
+
readonly name: "liquidityAdded";
|
|
597211
|
+
readonly type: "uint256";
|
|
597212
|
+
}, {
|
|
597213
|
+
readonly internalType: "uint256";
|
|
597214
|
+
readonly name: "liquidityTaken";
|
|
597215
|
+
readonly type: "uint256";
|
|
597216
|
+
}, {
|
|
597217
|
+
readonly internalType: "bool";
|
|
597218
|
+
readonly name: "isDebtAsset";
|
|
597219
|
+
readonly type: "bool";
|
|
597220
|
+
}];
|
|
597221
|
+
readonly internalType: "struct AaveV4View.LiquidityChangeParams[]";
|
|
597222
|
+
readonly name: "_reserveParams";
|
|
597223
|
+
readonly type: "tuple[]";
|
|
597224
|
+
}];
|
|
597225
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
597226
|
+
readonly outputs: readonly [{
|
|
597227
|
+
readonly components: readonly [{
|
|
597228
|
+
readonly internalType: "uint256";
|
|
597229
|
+
readonly name: "reserveId";
|
|
597230
|
+
readonly type: "uint256";
|
|
597231
|
+
}, {
|
|
597232
|
+
readonly internalType: "uint256";
|
|
597233
|
+
readonly name: "hubDrawnRateEstimation";
|
|
597234
|
+
readonly type: "uint256";
|
|
597235
|
+
}, {
|
|
597236
|
+
readonly internalType: "uint256";
|
|
597237
|
+
readonly name: "hubTotalDrawnEstimation";
|
|
597238
|
+
readonly type: "uint256";
|
|
597239
|
+
}, {
|
|
597240
|
+
readonly internalType: "uint256";
|
|
597241
|
+
readonly name: "hubTotalLiquidityEstimation";
|
|
597242
|
+
readonly type: "uint256";
|
|
597243
|
+
}, {
|
|
597244
|
+
readonly internalType: "uint256";
|
|
597245
|
+
readonly name: "hubSwept";
|
|
597246
|
+
readonly type: "uint256";
|
|
597247
|
+
}, {
|
|
597248
|
+
readonly internalType: "uint16";
|
|
597249
|
+
readonly name: "liquidityFee";
|
|
595057
597250
|
readonly type: "uint16";
|
|
595058
|
-
}, {
|
|
595059
|
-
readonly internalType: "bool";
|
|
595060
|
-
readonly name: "isUsingAsCollateral";
|
|
595061
|
-
readonly type: "bool";
|
|
595062
|
-
}, {
|
|
595063
|
-
readonly internalType: "bool";
|
|
595064
|
-
readonly name: "isBorrowing";
|
|
595065
|
-
readonly type: "bool";
|
|
595066
597251
|
}];
|
|
595067
|
-
readonly internalType: "struct AaveV4View.
|
|
595068
|
-
readonly name: "
|
|
597252
|
+
readonly internalType: "struct AaveV4View.EstimatedRates[]";
|
|
597253
|
+
readonly name: "";
|
|
595069
597254
|
readonly type: "tuple[]";
|
|
595070
597255
|
}];
|
|
595071
597256
|
readonly stateMutability: "view";
|
|
595072
597257
|
readonly type: "function";
|
|
595073
|
-
}
|
|
595074
|
-
user: `0x${string}`;
|
|
595075
|
-
riskPremium: bigint;
|
|
595076
|
-
avgCollateralFactor: bigint;
|
|
595077
|
-
healthFactor: bigint;
|
|
595078
|
-
totalCollateralInUsd: bigint;
|
|
595079
|
-
totalDebtInUsdRay: bigint;
|
|
595080
|
-
activeCollateralCount: bigint;
|
|
595081
|
-
borrowCount: bigint;
|
|
595082
|
-
reserves: readonly {
|
|
595083
|
-
reserveId: bigint;
|
|
595084
|
-
assetId: number;
|
|
595085
|
-
underlying: `0x${string}`;
|
|
595086
|
-
supplied: bigint;
|
|
595087
|
-
drawn: bigint;
|
|
595088
|
-
premium: bigint;
|
|
595089
|
-
totalDebt: bigint;
|
|
595090
|
-
collateralFactor: number;
|
|
595091
|
-
maxLiquidationBonus: number;
|
|
595092
|
-
liquidationFee: number;
|
|
595093
|
-
isUsingAsCollateral: boolean;
|
|
595094
|
-
isBorrowing: boolean;
|
|
595095
|
-
}[];
|
|
595096
|
-
}[]>;
|
|
595097
|
-
getLoanDataForMultipleUsers: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
597258
|
+
}, {
|
|
595098
597259
|
readonly inputs: readonly [{
|
|
595099
597260
|
readonly internalType: "address";
|
|
595100
597261
|
readonly name: "_eoa";
|
|
@@ -596662,6 +598823,66 @@ export declare const AaveV4ViewContractViem: (client: Client, network: NetworkNu
|
|
|
596662
598823
|
}[];
|
|
596663
598824
|
}[]>;
|
|
596664
598825
|
getLoanDataFull: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
598826
|
+
readonly inputs: readonly [{
|
|
598827
|
+
readonly internalType: "address";
|
|
598828
|
+
readonly name: "_spoke";
|
|
598829
|
+
readonly type: "address";
|
|
598830
|
+
}, {
|
|
598831
|
+
readonly components: readonly [{
|
|
598832
|
+
readonly internalType: "uint256";
|
|
598833
|
+
readonly name: "reserveId";
|
|
598834
|
+
readonly type: "uint256";
|
|
598835
|
+
}, {
|
|
598836
|
+
readonly internalType: "uint256";
|
|
598837
|
+
readonly name: "liquidityAdded";
|
|
598838
|
+
readonly type: "uint256";
|
|
598839
|
+
}, {
|
|
598840
|
+
readonly internalType: "uint256";
|
|
598841
|
+
readonly name: "liquidityTaken";
|
|
598842
|
+
readonly type: "uint256";
|
|
598843
|
+
}, {
|
|
598844
|
+
readonly internalType: "bool";
|
|
598845
|
+
readonly name: "isDebtAsset";
|
|
598846
|
+
readonly type: "bool";
|
|
598847
|
+
}];
|
|
598848
|
+
readonly internalType: "struct AaveV4View.LiquidityChangeParams[]";
|
|
598849
|
+
readonly name: "_reserveParams";
|
|
598850
|
+
readonly type: "tuple[]";
|
|
598851
|
+
}];
|
|
598852
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
598853
|
+
readonly outputs: readonly [{
|
|
598854
|
+
readonly components: readonly [{
|
|
598855
|
+
readonly internalType: "uint256";
|
|
598856
|
+
readonly name: "reserveId";
|
|
598857
|
+
readonly type: "uint256";
|
|
598858
|
+
}, {
|
|
598859
|
+
readonly internalType: "uint256";
|
|
598860
|
+
readonly name: "hubDrawnRateEstimation";
|
|
598861
|
+
readonly type: "uint256";
|
|
598862
|
+
}, {
|
|
598863
|
+
readonly internalType: "uint256";
|
|
598864
|
+
readonly name: "hubTotalDrawnEstimation";
|
|
598865
|
+
readonly type: "uint256";
|
|
598866
|
+
}, {
|
|
598867
|
+
readonly internalType: "uint256";
|
|
598868
|
+
readonly name: "hubTotalLiquidityEstimation";
|
|
598869
|
+
readonly type: "uint256";
|
|
598870
|
+
}, {
|
|
598871
|
+
readonly internalType: "uint256";
|
|
598872
|
+
readonly name: "hubSwept";
|
|
598873
|
+
readonly type: "uint256";
|
|
598874
|
+
}, {
|
|
598875
|
+
readonly internalType: "uint16";
|
|
598876
|
+
readonly name: "liquidityFee";
|
|
598877
|
+
readonly type: "uint16";
|
|
598878
|
+
}];
|
|
598879
|
+
readonly internalType: "struct AaveV4View.EstimatedRates[]";
|
|
598880
|
+
readonly name: "";
|
|
598881
|
+
readonly type: "tuple[]";
|
|
598882
|
+
}];
|
|
598883
|
+
readonly stateMutability: "view";
|
|
598884
|
+
readonly type: "function";
|
|
598885
|
+
}, {
|
|
596665
598886
|
readonly inputs: readonly [{
|
|
596666
598887
|
readonly internalType: "address";
|
|
596667
598888
|
readonly name: "_eoa";
|
|
@@ -598251,6 +600472,66 @@ export declare const AaveV4ViewContractViem: (client: Client, network: NetworkNu
|
|
|
598251
600472
|
}[];
|
|
598252
600473
|
}>;
|
|
598253
600474
|
getReserveDataFull: (args: readonly [`0x${string}`, bigint], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
600475
|
+
readonly inputs: readonly [{
|
|
600476
|
+
readonly internalType: "address";
|
|
600477
|
+
readonly name: "_spoke";
|
|
600478
|
+
readonly type: "address";
|
|
600479
|
+
}, {
|
|
600480
|
+
readonly components: readonly [{
|
|
600481
|
+
readonly internalType: "uint256";
|
|
600482
|
+
readonly name: "reserveId";
|
|
600483
|
+
readonly type: "uint256";
|
|
600484
|
+
}, {
|
|
600485
|
+
readonly internalType: "uint256";
|
|
600486
|
+
readonly name: "liquidityAdded";
|
|
600487
|
+
readonly type: "uint256";
|
|
600488
|
+
}, {
|
|
600489
|
+
readonly internalType: "uint256";
|
|
600490
|
+
readonly name: "liquidityTaken";
|
|
600491
|
+
readonly type: "uint256";
|
|
600492
|
+
}, {
|
|
600493
|
+
readonly internalType: "bool";
|
|
600494
|
+
readonly name: "isDebtAsset";
|
|
600495
|
+
readonly type: "bool";
|
|
600496
|
+
}];
|
|
600497
|
+
readonly internalType: "struct AaveV4View.LiquidityChangeParams[]";
|
|
600498
|
+
readonly name: "_reserveParams";
|
|
600499
|
+
readonly type: "tuple[]";
|
|
600500
|
+
}];
|
|
600501
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
600502
|
+
readonly outputs: readonly [{
|
|
600503
|
+
readonly components: readonly [{
|
|
600504
|
+
readonly internalType: "uint256";
|
|
600505
|
+
readonly name: "reserveId";
|
|
600506
|
+
readonly type: "uint256";
|
|
600507
|
+
}, {
|
|
600508
|
+
readonly internalType: "uint256";
|
|
600509
|
+
readonly name: "hubDrawnRateEstimation";
|
|
600510
|
+
readonly type: "uint256";
|
|
600511
|
+
}, {
|
|
600512
|
+
readonly internalType: "uint256";
|
|
600513
|
+
readonly name: "hubTotalDrawnEstimation";
|
|
600514
|
+
readonly type: "uint256";
|
|
600515
|
+
}, {
|
|
600516
|
+
readonly internalType: "uint256";
|
|
600517
|
+
readonly name: "hubTotalLiquidityEstimation";
|
|
600518
|
+
readonly type: "uint256";
|
|
600519
|
+
}, {
|
|
600520
|
+
readonly internalType: "uint256";
|
|
600521
|
+
readonly name: "hubSwept";
|
|
600522
|
+
readonly type: "uint256";
|
|
600523
|
+
}, {
|
|
600524
|
+
readonly internalType: "uint16";
|
|
600525
|
+
readonly name: "liquidityFee";
|
|
600526
|
+
readonly type: "uint16";
|
|
600527
|
+
}];
|
|
600528
|
+
readonly internalType: "struct AaveV4View.EstimatedRates[]";
|
|
600529
|
+
readonly name: "";
|
|
600530
|
+
readonly type: "tuple[]";
|
|
600531
|
+
}];
|
|
600532
|
+
readonly stateMutability: "view";
|
|
600533
|
+
readonly type: "function";
|
|
600534
|
+
}, {
|
|
598254
600535
|
readonly inputs: readonly [{
|
|
598255
600536
|
readonly internalType: "address";
|
|
598256
600537
|
readonly name: "_eoa";
|
|
@@ -599817,6 +602098,66 @@ export declare const AaveV4ViewContractViem: (client: Client, network: NetworkNu
|
|
|
599817
602098
|
spokeHalted: boolean;
|
|
599818
602099
|
}>;
|
|
599819
602100
|
getReservePrice: (args: readonly [`0x${string}`, bigint], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
602101
|
+
readonly inputs: readonly [{
|
|
602102
|
+
readonly internalType: "address";
|
|
602103
|
+
readonly name: "_spoke";
|
|
602104
|
+
readonly type: "address";
|
|
602105
|
+
}, {
|
|
602106
|
+
readonly components: readonly [{
|
|
602107
|
+
readonly internalType: "uint256";
|
|
602108
|
+
readonly name: "reserveId";
|
|
602109
|
+
readonly type: "uint256";
|
|
602110
|
+
}, {
|
|
602111
|
+
readonly internalType: "uint256";
|
|
602112
|
+
readonly name: "liquidityAdded";
|
|
602113
|
+
readonly type: "uint256";
|
|
602114
|
+
}, {
|
|
602115
|
+
readonly internalType: "uint256";
|
|
602116
|
+
readonly name: "liquidityTaken";
|
|
602117
|
+
readonly type: "uint256";
|
|
602118
|
+
}, {
|
|
602119
|
+
readonly internalType: "bool";
|
|
602120
|
+
readonly name: "isDebtAsset";
|
|
602121
|
+
readonly type: "bool";
|
|
602122
|
+
}];
|
|
602123
|
+
readonly internalType: "struct AaveV4View.LiquidityChangeParams[]";
|
|
602124
|
+
readonly name: "_reserveParams";
|
|
602125
|
+
readonly type: "tuple[]";
|
|
602126
|
+
}];
|
|
602127
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
602128
|
+
readonly outputs: readonly [{
|
|
602129
|
+
readonly components: readonly [{
|
|
602130
|
+
readonly internalType: "uint256";
|
|
602131
|
+
readonly name: "reserveId";
|
|
602132
|
+
readonly type: "uint256";
|
|
602133
|
+
}, {
|
|
602134
|
+
readonly internalType: "uint256";
|
|
602135
|
+
readonly name: "hubDrawnRateEstimation";
|
|
602136
|
+
readonly type: "uint256";
|
|
602137
|
+
}, {
|
|
602138
|
+
readonly internalType: "uint256";
|
|
602139
|
+
readonly name: "hubTotalDrawnEstimation";
|
|
602140
|
+
readonly type: "uint256";
|
|
602141
|
+
}, {
|
|
602142
|
+
readonly internalType: "uint256";
|
|
602143
|
+
readonly name: "hubTotalLiquidityEstimation";
|
|
602144
|
+
readonly type: "uint256";
|
|
602145
|
+
}, {
|
|
602146
|
+
readonly internalType: "uint256";
|
|
602147
|
+
readonly name: "hubSwept";
|
|
602148
|
+
readonly type: "uint256";
|
|
602149
|
+
}, {
|
|
602150
|
+
readonly internalType: "uint16";
|
|
602151
|
+
readonly name: "liquidityFee";
|
|
602152
|
+
readonly type: "uint16";
|
|
602153
|
+
}];
|
|
602154
|
+
readonly internalType: "struct AaveV4View.EstimatedRates[]";
|
|
602155
|
+
readonly name: "";
|
|
602156
|
+
readonly type: "tuple[]";
|
|
602157
|
+
}];
|
|
602158
|
+
readonly stateMutability: "view";
|
|
602159
|
+
readonly type: "function";
|
|
602160
|
+
}, {
|
|
599820
602161
|
readonly inputs: readonly [{
|
|
599821
602162
|
readonly internalType: "address";
|
|
599822
602163
|
readonly name: "_eoa";
|
|
@@ -601353,14 +603694,74 @@ export declare const AaveV4ViewContractViem: (client: Client, network: NetworkNu
|
|
|
601353
603694
|
readonly name: "isBorrowing";
|
|
601354
603695
|
readonly type: "bool";
|
|
601355
603696
|
}];
|
|
601356
|
-
readonly internalType: "struct AaveV4View.UserReserveData[]";
|
|
601357
|
-
readonly name: "_userReserves";
|
|
603697
|
+
readonly internalType: "struct AaveV4View.UserReserveData[]";
|
|
603698
|
+
readonly name: "_userReserves";
|
|
603699
|
+
readonly type: "tuple[]";
|
|
603700
|
+
}];
|
|
603701
|
+
readonly stateMutability: "view";
|
|
603702
|
+
readonly type: "function";
|
|
603703
|
+
}], "getReservePrice", readonly [`0x${string}`, bigint]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
|
|
603704
|
+
getReservePrices: (args: readonly [`0x${string}`, readonly bigint[]], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
603705
|
+
readonly inputs: readonly [{
|
|
603706
|
+
readonly internalType: "address";
|
|
603707
|
+
readonly name: "_spoke";
|
|
603708
|
+
readonly type: "address";
|
|
603709
|
+
}, {
|
|
603710
|
+
readonly components: readonly [{
|
|
603711
|
+
readonly internalType: "uint256";
|
|
603712
|
+
readonly name: "reserveId";
|
|
603713
|
+
readonly type: "uint256";
|
|
603714
|
+
}, {
|
|
603715
|
+
readonly internalType: "uint256";
|
|
603716
|
+
readonly name: "liquidityAdded";
|
|
603717
|
+
readonly type: "uint256";
|
|
603718
|
+
}, {
|
|
603719
|
+
readonly internalType: "uint256";
|
|
603720
|
+
readonly name: "liquidityTaken";
|
|
603721
|
+
readonly type: "uint256";
|
|
603722
|
+
}, {
|
|
603723
|
+
readonly internalType: "bool";
|
|
603724
|
+
readonly name: "isDebtAsset";
|
|
603725
|
+
readonly type: "bool";
|
|
603726
|
+
}];
|
|
603727
|
+
readonly internalType: "struct AaveV4View.LiquidityChangeParams[]";
|
|
603728
|
+
readonly name: "_reserveParams";
|
|
603729
|
+
readonly type: "tuple[]";
|
|
603730
|
+
}];
|
|
603731
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
603732
|
+
readonly outputs: readonly [{
|
|
603733
|
+
readonly components: readonly [{
|
|
603734
|
+
readonly internalType: "uint256";
|
|
603735
|
+
readonly name: "reserveId";
|
|
603736
|
+
readonly type: "uint256";
|
|
603737
|
+
}, {
|
|
603738
|
+
readonly internalType: "uint256";
|
|
603739
|
+
readonly name: "hubDrawnRateEstimation";
|
|
603740
|
+
readonly type: "uint256";
|
|
603741
|
+
}, {
|
|
603742
|
+
readonly internalType: "uint256";
|
|
603743
|
+
readonly name: "hubTotalDrawnEstimation";
|
|
603744
|
+
readonly type: "uint256";
|
|
603745
|
+
}, {
|
|
603746
|
+
readonly internalType: "uint256";
|
|
603747
|
+
readonly name: "hubTotalLiquidityEstimation";
|
|
603748
|
+
readonly type: "uint256";
|
|
603749
|
+
}, {
|
|
603750
|
+
readonly internalType: "uint256";
|
|
603751
|
+
readonly name: "hubSwept";
|
|
603752
|
+
readonly type: "uint256";
|
|
603753
|
+
}, {
|
|
603754
|
+
readonly internalType: "uint16";
|
|
603755
|
+
readonly name: "liquidityFee";
|
|
603756
|
+
readonly type: "uint16";
|
|
603757
|
+
}];
|
|
603758
|
+
readonly internalType: "struct AaveV4View.EstimatedRates[]";
|
|
603759
|
+
readonly name: "";
|
|
601358
603760
|
readonly type: "tuple[]";
|
|
601359
603761
|
}];
|
|
601360
603762
|
readonly stateMutability: "view";
|
|
601361
603763
|
readonly type: "function";
|
|
601362
|
-
}
|
|
601363
|
-
getReservePrices: (args: readonly [`0x${string}`, readonly bigint[]], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
603764
|
+
}, {
|
|
601364
603765
|
readonly inputs: readonly [{
|
|
601365
603766
|
readonly internalType: "address";
|
|
601366
603767
|
readonly name: "_eoa";
|
|
@@ -602905,6 +605306,66 @@ export declare const AaveV4ViewContractViem: (client: Client, network: NetworkNu
|
|
|
602905
605306
|
readonly type: "function";
|
|
602906
605307
|
}], "getReservePrices", readonly [`0x${string}`, readonly bigint[]]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
602907
605308
|
getReservesData: (args: readonly [`0x${string}`, readonly bigint[]], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
605309
|
+
readonly inputs: readonly [{
|
|
605310
|
+
readonly internalType: "address";
|
|
605311
|
+
readonly name: "_spoke";
|
|
605312
|
+
readonly type: "address";
|
|
605313
|
+
}, {
|
|
605314
|
+
readonly components: readonly [{
|
|
605315
|
+
readonly internalType: "uint256";
|
|
605316
|
+
readonly name: "reserveId";
|
|
605317
|
+
readonly type: "uint256";
|
|
605318
|
+
}, {
|
|
605319
|
+
readonly internalType: "uint256";
|
|
605320
|
+
readonly name: "liquidityAdded";
|
|
605321
|
+
readonly type: "uint256";
|
|
605322
|
+
}, {
|
|
605323
|
+
readonly internalType: "uint256";
|
|
605324
|
+
readonly name: "liquidityTaken";
|
|
605325
|
+
readonly type: "uint256";
|
|
605326
|
+
}, {
|
|
605327
|
+
readonly internalType: "bool";
|
|
605328
|
+
readonly name: "isDebtAsset";
|
|
605329
|
+
readonly type: "bool";
|
|
605330
|
+
}];
|
|
605331
|
+
readonly internalType: "struct AaveV4View.LiquidityChangeParams[]";
|
|
605332
|
+
readonly name: "_reserveParams";
|
|
605333
|
+
readonly type: "tuple[]";
|
|
605334
|
+
}];
|
|
605335
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
605336
|
+
readonly outputs: readonly [{
|
|
605337
|
+
readonly components: readonly [{
|
|
605338
|
+
readonly internalType: "uint256";
|
|
605339
|
+
readonly name: "reserveId";
|
|
605340
|
+
readonly type: "uint256";
|
|
605341
|
+
}, {
|
|
605342
|
+
readonly internalType: "uint256";
|
|
605343
|
+
readonly name: "hubDrawnRateEstimation";
|
|
605344
|
+
readonly type: "uint256";
|
|
605345
|
+
}, {
|
|
605346
|
+
readonly internalType: "uint256";
|
|
605347
|
+
readonly name: "hubTotalDrawnEstimation";
|
|
605348
|
+
readonly type: "uint256";
|
|
605349
|
+
}, {
|
|
605350
|
+
readonly internalType: "uint256";
|
|
605351
|
+
readonly name: "hubTotalLiquidityEstimation";
|
|
605352
|
+
readonly type: "uint256";
|
|
605353
|
+
}, {
|
|
605354
|
+
readonly internalType: "uint256";
|
|
605355
|
+
readonly name: "hubSwept";
|
|
605356
|
+
readonly type: "uint256";
|
|
605357
|
+
}, {
|
|
605358
|
+
readonly internalType: "uint16";
|
|
605359
|
+
readonly name: "liquidityFee";
|
|
605360
|
+
readonly type: "uint16";
|
|
605361
|
+
}];
|
|
605362
|
+
readonly internalType: "struct AaveV4View.EstimatedRates[]";
|
|
605363
|
+
readonly name: "";
|
|
605364
|
+
readonly type: "tuple[]";
|
|
605365
|
+
}];
|
|
605366
|
+
readonly stateMutability: "view";
|
|
605367
|
+
readonly type: "function";
|
|
605368
|
+
}, {
|
|
602908
605369
|
readonly inputs: readonly [{
|
|
602909
605370
|
readonly internalType: "address";
|
|
602910
605371
|
readonly name: "_eoa";
|
|
@@ -604453,6 +606914,66 @@ export declare const AaveV4ViewContractViem: (client: Client, network: NetworkNu
|
|
|
604453
606914
|
price: bigint;
|
|
604454
606915
|
}[]>;
|
|
604455
606916
|
getReservesDataFull: (args: readonly [`0x${string}`, readonly bigint[]], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
606917
|
+
readonly inputs: readonly [{
|
|
606918
|
+
readonly internalType: "address";
|
|
606919
|
+
readonly name: "_spoke";
|
|
606920
|
+
readonly type: "address";
|
|
606921
|
+
}, {
|
|
606922
|
+
readonly components: readonly [{
|
|
606923
|
+
readonly internalType: "uint256";
|
|
606924
|
+
readonly name: "reserveId";
|
|
606925
|
+
readonly type: "uint256";
|
|
606926
|
+
}, {
|
|
606927
|
+
readonly internalType: "uint256";
|
|
606928
|
+
readonly name: "liquidityAdded";
|
|
606929
|
+
readonly type: "uint256";
|
|
606930
|
+
}, {
|
|
606931
|
+
readonly internalType: "uint256";
|
|
606932
|
+
readonly name: "liquidityTaken";
|
|
606933
|
+
readonly type: "uint256";
|
|
606934
|
+
}, {
|
|
606935
|
+
readonly internalType: "bool";
|
|
606936
|
+
readonly name: "isDebtAsset";
|
|
606937
|
+
readonly type: "bool";
|
|
606938
|
+
}];
|
|
606939
|
+
readonly internalType: "struct AaveV4View.LiquidityChangeParams[]";
|
|
606940
|
+
readonly name: "_reserveParams";
|
|
606941
|
+
readonly type: "tuple[]";
|
|
606942
|
+
}];
|
|
606943
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
606944
|
+
readonly outputs: readonly [{
|
|
606945
|
+
readonly components: readonly [{
|
|
606946
|
+
readonly internalType: "uint256";
|
|
606947
|
+
readonly name: "reserveId";
|
|
606948
|
+
readonly type: "uint256";
|
|
606949
|
+
}, {
|
|
606950
|
+
readonly internalType: "uint256";
|
|
606951
|
+
readonly name: "hubDrawnRateEstimation";
|
|
606952
|
+
readonly type: "uint256";
|
|
606953
|
+
}, {
|
|
606954
|
+
readonly internalType: "uint256";
|
|
606955
|
+
readonly name: "hubTotalDrawnEstimation";
|
|
606956
|
+
readonly type: "uint256";
|
|
606957
|
+
}, {
|
|
606958
|
+
readonly internalType: "uint256";
|
|
606959
|
+
readonly name: "hubTotalLiquidityEstimation";
|
|
606960
|
+
readonly type: "uint256";
|
|
606961
|
+
}, {
|
|
606962
|
+
readonly internalType: "uint256";
|
|
606963
|
+
readonly name: "hubSwept";
|
|
606964
|
+
readonly type: "uint256";
|
|
606965
|
+
}, {
|
|
606966
|
+
readonly internalType: "uint16";
|
|
606967
|
+
readonly name: "liquidityFee";
|
|
606968
|
+
readonly type: "uint16";
|
|
606969
|
+
}];
|
|
606970
|
+
readonly internalType: "struct AaveV4View.EstimatedRates[]";
|
|
606971
|
+
readonly name: "";
|
|
606972
|
+
readonly type: "tuple[]";
|
|
606973
|
+
}];
|
|
606974
|
+
readonly stateMutability: "view";
|
|
606975
|
+
readonly type: "function";
|
|
606976
|
+
}, {
|
|
604456
606977
|
readonly inputs: readonly [{
|
|
604457
606978
|
readonly internalType: "address";
|
|
604458
606979
|
readonly name: "_eoa";
|
|
@@ -606019,6 +608540,66 @@ export declare const AaveV4ViewContractViem: (client: Client, network: NetworkNu
|
|
|
606019
608540
|
spokeHalted: boolean;
|
|
606020
608541
|
}[]>;
|
|
606021
608542
|
getSpokeData: (args: readonly [`0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
608543
|
+
readonly inputs: readonly [{
|
|
608544
|
+
readonly internalType: "address";
|
|
608545
|
+
readonly name: "_spoke";
|
|
608546
|
+
readonly type: "address";
|
|
608547
|
+
}, {
|
|
608548
|
+
readonly components: readonly [{
|
|
608549
|
+
readonly internalType: "uint256";
|
|
608550
|
+
readonly name: "reserveId";
|
|
608551
|
+
readonly type: "uint256";
|
|
608552
|
+
}, {
|
|
608553
|
+
readonly internalType: "uint256";
|
|
608554
|
+
readonly name: "liquidityAdded";
|
|
608555
|
+
readonly type: "uint256";
|
|
608556
|
+
}, {
|
|
608557
|
+
readonly internalType: "uint256";
|
|
608558
|
+
readonly name: "liquidityTaken";
|
|
608559
|
+
readonly type: "uint256";
|
|
608560
|
+
}, {
|
|
608561
|
+
readonly internalType: "bool";
|
|
608562
|
+
readonly name: "isDebtAsset";
|
|
608563
|
+
readonly type: "bool";
|
|
608564
|
+
}];
|
|
608565
|
+
readonly internalType: "struct AaveV4View.LiquidityChangeParams[]";
|
|
608566
|
+
readonly name: "_reserveParams";
|
|
608567
|
+
readonly type: "tuple[]";
|
|
608568
|
+
}];
|
|
608569
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
608570
|
+
readonly outputs: readonly [{
|
|
608571
|
+
readonly components: readonly [{
|
|
608572
|
+
readonly internalType: "uint256";
|
|
608573
|
+
readonly name: "reserveId";
|
|
608574
|
+
readonly type: "uint256";
|
|
608575
|
+
}, {
|
|
608576
|
+
readonly internalType: "uint256";
|
|
608577
|
+
readonly name: "hubDrawnRateEstimation";
|
|
608578
|
+
readonly type: "uint256";
|
|
608579
|
+
}, {
|
|
608580
|
+
readonly internalType: "uint256";
|
|
608581
|
+
readonly name: "hubTotalDrawnEstimation";
|
|
608582
|
+
readonly type: "uint256";
|
|
608583
|
+
}, {
|
|
608584
|
+
readonly internalType: "uint256";
|
|
608585
|
+
readonly name: "hubTotalLiquidityEstimation";
|
|
608586
|
+
readonly type: "uint256";
|
|
608587
|
+
}, {
|
|
608588
|
+
readonly internalType: "uint256";
|
|
608589
|
+
readonly name: "hubSwept";
|
|
608590
|
+
readonly type: "uint256";
|
|
608591
|
+
}, {
|
|
608592
|
+
readonly internalType: "uint16";
|
|
608593
|
+
readonly name: "liquidityFee";
|
|
608594
|
+
readonly type: "uint16";
|
|
608595
|
+
}];
|
|
608596
|
+
readonly internalType: "struct AaveV4View.EstimatedRates[]";
|
|
608597
|
+
readonly name: "";
|
|
608598
|
+
readonly type: "tuple[]";
|
|
608599
|
+
}];
|
|
608600
|
+
readonly stateMutability: "view";
|
|
608601
|
+
readonly type: "function";
|
|
608602
|
+
}, {
|
|
606022
608603
|
readonly inputs: readonly [{
|
|
606023
608604
|
readonly internalType: "address";
|
|
606024
608605
|
readonly name: "_eoa";
|
|
@@ -607520,60 +610101,120 @@ export declare const AaveV4ViewContractViem: (client: Client, network: NetworkNu
|
|
|
607520
610101
|
readonly type: "address";
|
|
607521
610102
|
}, {
|
|
607522
610103
|
readonly internalType: "uint256";
|
|
607523
|
-
readonly name: "supplied";
|
|
610104
|
+
readonly name: "supplied";
|
|
610105
|
+
readonly type: "uint256";
|
|
610106
|
+
}, {
|
|
610107
|
+
readonly internalType: "uint256";
|
|
610108
|
+
readonly name: "drawn";
|
|
610109
|
+
readonly type: "uint256";
|
|
610110
|
+
}, {
|
|
610111
|
+
readonly internalType: "uint256";
|
|
610112
|
+
readonly name: "premium";
|
|
610113
|
+
readonly type: "uint256";
|
|
610114
|
+
}, {
|
|
610115
|
+
readonly internalType: "uint256";
|
|
610116
|
+
readonly name: "totalDebt";
|
|
610117
|
+
readonly type: "uint256";
|
|
610118
|
+
}, {
|
|
610119
|
+
readonly internalType: "uint16";
|
|
610120
|
+
readonly name: "collateralFactor";
|
|
610121
|
+
readonly type: "uint16";
|
|
610122
|
+
}, {
|
|
610123
|
+
readonly internalType: "uint32";
|
|
610124
|
+
readonly name: "maxLiquidationBonus";
|
|
610125
|
+
readonly type: "uint32";
|
|
610126
|
+
}, {
|
|
610127
|
+
readonly internalType: "uint16";
|
|
610128
|
+
readonly name: "liquidationFee";
|
|
610129
|
+
readonly type: "uint16";
|
|
610130
|
+
}, {
|
|
610131
|
+
readonly internalType: "bool";
|
|
610132
|
+
readonly name: "isUsingAsCollateral";
|
|
610133
|
+
readonly type: "bool";
|
|
610134
|
+
}, {
|
|
610135
|
+
readonly internalType: "bool";
|
|
610136
|
+
readonly name: "isBorrowing";
|
|
610137
|
+
readonly type: "bool";
|
|
610138
|
+
}];
|
|
610139
|
+
readonly internalType: "struct AaveV4View.UserReserveData[]";
|
|
610140
|
+
readonly name: "_userReserves";
|
|
610141
|
+
readonly type: "tuple[]";
|
|
610142
|
+
}];
|
|
610143
|
+
readonly stateMutability: "view";
|
|
610144
|
+
readonly type: "function";
|
|
610145
|
+
}], "getSpokeData", readonly [`0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly [{
|
|
610146
|
+
targetHealthFactor: bigint;
|
|
610147
|
+
healthFactorForMaxBonus: bigint;
|
|
610148
|
+
liquidationBonusFactor: number;
|
|
610149
|
+
oracle: `0x${string}`;
|
|
610150
|
+
oracleDecimals: bigint;
|
|
610151
|
+
reserveCount: bigint;
|
|
610152
|
+
}, readonly {
|
|
610153
|
+
underlying: `0x${string}`;
|
|
610154
|
+
collateralFactor: number;
|
|
610155
|
+
price: bigint;
|
|
610156
|
+
}[]]>;
|
|
610157
|
+
getSpokeDataFull: (args: readonly [`0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
610158
|
+
readonly inputs: readonly [{
|
|
610159
|
+
readonly internalType: "address";
|
|
610160
|
+
readonly name: "_spoke";
|
|
610161
|
+
readonly type: "address";
|
|
610162
|
+
}, {
|
|
610163
|
+
readonly components: readonly [{
|
|
610164
|
+
readonly internalType: "uint256";
|
|
610165
|
+
readonly name: "reserveId";
|
|
610166
|
+
readonly type: "uint256";
|
|
610167
|
+
}, {
|
|
610168
|
+
readonly internalType: "uint256";
|
|
610169
|
+
readonly name: "liquidityAdded";
|
|
610170
|
+
readonly type: "uint256";
|
|
610171
|
+
}, {
|
|
610172
|
+
readonly internalType: "uint256";
|
|
610173
|
+
readonly name: "liquidityTaken";
|
|
610174
|
+
readonly type: "uint256";
|
|
610175
|
+
}, {
|
|
610176
|
+
readonly internalType: "bool";
|
|
610177
|
+
readonly name: "isDebtAsset";
|
|
610178
|
+
readonly type: "bool";
|
|
610179
|
+
}];
|
|
610180
|
+
readonly internalType: "struct AaveV4View.LiquidityChangeParams[]";
|
|
610181
|
+
readonly name: "_reserveParams";
|
|
610182
|
+
readonly type: "tuple[]";
|
|
610183
|
+
}];
|
|
610184
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
610185
|
+
readonly outputs: readonly [{
|
|
610186
|
+
readonly components: readonly [{
|
|
610187
|
+
readonly internalType: "uint256";
|
|
610188
|
+
readonly name: "reserveId";
|
|
610189
|
+
readonly type: "uint256";
|
|
610190
|
+
}, {
|
|
610191
|
+
readonly internalType: "uint256";
|
|
610192
|
+
readonly name: "hubDrawnRateEstimation";
|
|
607524
610193
|
readonly type: "uint256";
|
|
607525
610194
|
}, {
|
|
607526
610195
|
readonly internalType: "uint256";
|
|
607527
|
-
readonly name: "
|
|
610196
|
+
readonly name: "hubTotalDrawnEstimation";
|
|
607528
610197
|
readonly type: "uint256";
|
|
607529
610198
|
}, {
|
|
607530
610199
|
readonly internalType: "uint256";
|
|
607531
|
-
readonly name: "
|
|
610200
|
+
readonly name: "hubTotalLiquidityEstimation";
|
|
607532
610201
|
readonly type: "uint256";
|
|
607533
610202
|
}, {
|
|
607534
610203
|
readonly internalType: "uint256";
|
|
607535
|
-
readonly name: "
|
|
610204
|
+
readonly name: "hubSwept";
|
|
607536
610205
|
readonly type: "uint256";
|
|
607537
610206
|
}, {
|
|
607538
610207
|
readonly internalType: "uint16";
|
|
607539
|
-
readonly name: "
|
|
607540
|
-
readonly type: "uint16";
|
|
607541
|
-
}, {
|
|
607542
|
-
readonly internalType: "uint32";
|
|
607543
|
-
readonly name: "maxLiquidationBonus";
|
|
607544
|
-
readonly type: "uint32";
|
|
607545
|
-
}, {
|
|
607546
|
-
readonly internalType: "uint16";
|
|
607547
|
-
readonly name: "liquidationFee";
|
|
610208
|
+
readonly name: "liquidityFee";
|
|
607548
610209
|
readonly type: "uint16";
|
|
607549
|
-
}, {
|
|
607550
|
-
readonly internalType: "bool";
|
|
607551
|
-
readonly name: "isUsingAsCollateral";
|
|
607552
|
-
readonly type: "bool";
|
|
607553
|
-
}, {
|
|
607554
|
-
readonly internalType: "bool";
|
|
607555
|
-
readonly name: "isBorrowing";
|
|
607556
|
-
readonly type: "bool";
|
|
607557
610210
|
}];
|
|
607558
|
-
readonly internalType: "struct AaveV4View.
|
|
607559
|
-
readonly name: "
|
|
610211
|
+
readonly internalType: "struct AaveV4View.EstimatedRates[]";
|
|
610212
|
+
readonly name: "";
|
|
607560
610213
|
readonly type: "tuple[]";
|
|
607561
610214
|
}];
|
|
607562
610215
|
readonly stateMutability: "view";
|
|
607563
610216
|
readonly type: "function";
|
|
607564
|
-
}
|
|
607565
|
-
targetHealthFactor: bigint;
|
|
607566
|
-
healthFactorForMaxBonus: bigint;
|
|
607567
|
-
liquidationBonusFactor: number;
|
|
607568
|
-
oracle: `0x${string}`;
|
|
607569
|
-
oracleDecimals: bigint;
|
|
607570
|
-
reserveCount: bigint;
|
|
607571
|
-
}, readonly {
|
|
607572
|
-
underlying: `0x${string}`;
|
|
607573
|
-
collateralFactor: number;
|
|
607574
|
-
price: bigint;
|
|
607575
|
-
}[]]>;
|
|
607576
|
-
getSpokeDataFull: (args: readonly [`0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
610217
|
+
}, {
|
|
607577
610218
|
readonly inputs: readonly [{
|
|
607578
610219
|
readonly internalType: "address";
|
|
607579
610220
|
readonly name: "_eoa";
|
|
@@ -609147,6 +611788,66 @@ export declare const AaveV4ViewContractViem: (client: Client, network: NetworkNu
|
|
|
609147
611788
|
spokeHalted: boolean;
|
|
609148
611789
|
}[]]>;
|
|
609149
611790
|
getSpokesForAsset: (args: readonly [`0x${string}`, bigint], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
611791
|
+
readonly inputs: readonly [{
|
|
611792
|
+
readonly internalType: "address";
|
|
611793
|
+
readonly name: "_spoke";
|
|
611794
|
+
readonly type: "address";
|
|
611795
|
+
}, {
|
|
611796
|
+
readonly components: readonly [{
|
|
611797
|
+
readonly internalType: "uint256";
|
|
611798
|
+
readonly name: "reserveId";
|
|
611799
|
+
readonly type: "uint256";
|
|
611800
|
+
}, {
|
|
611801
|
+
readonly internalType: "uint256";
|
|
611802
|
+
readonly name: "liquidityAdded";
|
|
611803
|
+
readonly type: "uint256";
|
|
611804
|
+
}, {
|
|
611805
|
+
readonly internalType: "uint256";
|
|
611806
|
+
readonly name: "liquidityTaken";
|
|
611807
|
+
readonly type: "uint256";
|
|
611808
|
+
}, {
|
|
611809
|
+
readonly internalType: "bool";
|
|
611810
|
+
readonly name: "isDebtAsset";
|
|
611811
|
+
readonly type: "bool";
|
|
611812
|
+
}];
|
|
611813
|
+
readonly internalType: "struct AaveV4View.LiquidityChangeParams[]";
|
|
611814
|
+
readonly name: "_reserveParams";
|
|
611815
|
+
readonly type: "tuple[]";
|
|
611816
|
+
}];
|
|
611817
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
611818
|
+
readonly outputs: readonly [{
|
|
611819
|
+
readonly components: readonly [{
|
|
611820
|
+
readonly internalType: "uint256";
|
|
611821
|
+
readonly name: "reserveId";
|
|
611822
|
+
readonly type: "uint256";
|
|
611823
|
+
}, {
|
|
611824
|
+
readonly internalType: "uint256";
|
|
611825
|
+
readonly name: "hubDrawnRateEstimation";
|
|
611826
|
+
readonly type: "uint256";
|
|
611827
|
+
}, {
|
|
611828
|
+
readonly internalType: "uint256";
|
|
611829
|
+
readonly name: "hubTotalDrawnEstimation";
|
|
611830
|
+
readonly type: "uint256";
|
|
611831
|
+
}, {
|
|
611832
|
+
readonly internalType: "uint256";
|
|
611833
|
+
readonly name: "hubTotalLiquidityEstimation";
|
|
611834
|
+
readonly type: "uint256";
|
|
611835
|
+
}, {
|
|
611836
|
+
readonly internalType: "uint256";
|
|
611837
|
+
readonly name: "hubSwept";
|
|
611838
|
+
readonly type: "uint256";
|
|
611839
|
+
}, {
|
|
611840
|
+
readonly internalType: "uint16";
|
|
611841
|
+
readonly name: "liquidityFee";
|
|
611842
|
+
readonly type: "uint16";
|
|
611843
|
+
}];
|
|
611844
|
+
readonly internalType: "struct AaveV4View.EstimatedRates[]";
|
|
611845
|
+
readonly name: "";
|
|
611846
|
+
readonly type: "tuple[]";
|
|
611847
|
+
}];
|
|
611848
|
+
readonly stateMutability: "view";
|
|
611849
|
+
readonly type: "function";
|
|
611850
|
+
}, {
|
|
609150
611851
|
readonly inputs: readonly [{
|
|
609151
611852
|
readonly internalType: "address";
|
|
609152
611853
|
readonly name: "_eoa";
|
|
@@ -610691,6 +613392,66 @@ export declare const AaveV4ViewContractViem: (client: Client, network: NetworkNu
|
|
|
610691
613392
|
readonly type: "function";
|
|
610692
613393
|
}], "getSpokesForAsset", readonly [`0x${string}`, bigint]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<readonly `0x${string}`[]>;
|
|
610693
613394
|
getTokenizationSpokeData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
613395
|
+
readonly inputs: readonly [{
|
|
613396
|
+
readonly internalType: "address";
|
|
613397
|
+
readonly name: "_spoke";
|
|
613398
|
+
readonly type: "address";
|
|
613399
|
+
}, {
|
|
613400
|
+
readonly components: readonly [{
|
|
613401
|
+
readonly internalType: "uint256";
|
|
613402
|
+
readonly name: "reserveId";
|
|
613403
|
+
readonly type: "uint256";
|
|
613404
|
+
}, {
|
|
613405
|
+
readonly internalType: "uint256";
|
|
613406
|
+
readonly name: "liquidityAdded";
|
|
613407
|
+
readonly type: "uint256";
|
|
613408
|
+
}, {
|
|
613409
|
+
readonly internalType: "uint256";
|
|
613410
|
+
readonly name: "liquidityTaken";
|
|
613411
|
+
readonly type: "uint256";
|
|
613412
|
+
}, {
|
|
613413
|
+
readonly internalType: "bool";
|
|
613414
|
+
readonly name: "isDebtAsset";
|
|
613415
|
+
readonly type: "bool";
|
|
613416
|
+
}];
|
|
613417
|
+
readonly internalType: "struct AaveV4View.LiquidityChangeParams[]";
|
|
613418
|
+
readonly name: "_reserveParams";
|
|
613419
|
+
readonly type: "tuple[]";
|
|
613420
|
+
}];
|
|
613421
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
613422
|
+
readonly outputs: readonly [{
|
|
613423
|
+
readonly components: readonly [{
|
|
613424
|
+
readonly internalType: "uint256";
|
|
613425
|
+
readonly name: "reserveId";
|
|
613426
|
+
readonly type: "uint256";
|
|
613427
|
+
}, {
|
|
613428
|
+
readonly internalType: "uint256";
|
|
613429
|
+
readonly name: "hubDrawnRateEstimation";
|
|
613430
|
+
readonly type: "uint256";
|
|
613431
|
+
}, {
|
|
613432
|
+
readonly internalType: "uint256";
|
|
613433
|
+
readonly name: "hubTotalDrawnEstimation";
|
|
613434
|
+
readonly type: "uint256";
|
|
613435
|
+
}, {
|
|
613436
|
+
readonly internalType: "uint256";
|
|
613437
|
+
readonly name: "hubTotalLiquidityEstimation";
|
|
613438
|
+
readonly type: "uint256";
|
|
613439
|
+
}, {
|
|
613440
|
+
readonly internalType: "uint256";
|
|
613441
|
+
readonly name: "hubSwept";
|
|
613442
|
+
readonly type: "uint256";
|
|
613443
|
+
}, {
|
|
613444
|
+
readonly internalType: "uint16";
|
|
613445
|
+
readonly name: "liquidityFee";
|
|
613446
|
+
readonly type: "uint16";
|
|
613447
|
+
}];
|
|
613448
|
+
readonly internalType: "struct AaveV4View.EstimatedRates[]";
|
|
613449
|
+
readonly name: "";
|
|
613450
|
+
readonly type: "tuple[]";
|
|
613451
|
+
}];
|
|
613452
|
+
readonly stateMutability: "view";
|
|
613453
|
+
readonly type: "function";
|
|
613454
|
+
}, {
|
|
610694
613455
|
readonly inputs: readonly [{
|
|
610695
613456
|
readonly internalType: "address";
|
|
610696
613457
|
readonly name: "_eoa";
|
|
@@ -612253,6 +615014,66 @@ export declare const AaveV4ViewContractViem: (client: Client, network: NetworkNu
|
|
|
612253
615014
|
userSuppliedShares: bigint;
|
|
612254
615015
|
}>;
|
|
612255
615016
|
getTokenizationSpokesData: (args: readonly [readonly `0x${string}`[], `0x${string}`], options?: import("viem").Prettify<import("viem").UnionOmit<import("viem").ReadContractParameters<readonly [{
|
|
615017
|
+
readonly inputs: readonly [{
|
|
615018
|
+
readonly internalType: "address";
|
|
615019
|
+
readonly name: "_spoke";
|
|
615020
|
+
readonly type: "address";
|
|
615021
|
+
}, {
|
|
615022
|
+
readonly components: readonly [{
|
|
615023
|
+
readonly internalType: "uint256";
|
|
615024
|
+
readonly name: "reserveId";
|
|
615025
|
+
readonly type: "uint256";
|
|
615026
|
+
}, {
|
|
615027
|
+
readonly internalType: "uint256";
|
|
615028
|
+
readonly name: "liquidityAdded";
|
|
615029
|
+
readonly type: "uint256";
|
|
615030
|
+
}, {
|
|
615031
|
+
readonly internalType: "uint256";
|
|
615032
|
+
readonly name: "liquidityTaken";
|
|
615033
|
+
readonly type: "uint256";
|
|
615034
|
+
}, {
|
|
615035
|
+
readonly internalType: "bool";
|
|
615036
|
+
readonly name: "isDebtAsset";
|
|
615037
|
+
readonly type: "bool";
|
|
615038
|
+
}];
|
|
615039
|
+
readonly internalType: "struct AaveV4View.LiquidityChangeParams[]";
|
|
615040
|
+
readonly name: "_reserveParams";
|
|
615041
|
+
readonly type: "tuple[]";
|
|
615042
|
+
}];
|
|
615043
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
615044
|
+
readonly outputs: readonly [{
|
|
615045
|
+
readonly components: readonly [{
|
|
615046
|
+
readonly internalType: "uint256";
|
|
615047
|
+
readonly name: "reserveId";
|
|
615048
|
+
readonly type: "uint256";
|
|
615049
|
+
}, {
|
|
615050
|
+
readonly internalType: "uint256";
|
|
615051
|
+
readonly name: "hubDrawnRateEstimation";
|
|
615052
|
+
readonly type: "uint256";
|
|
615053
|
+
}, {
|
|
615054
|
+
readonly internalType: "uint256";
|
|
615055
|
+
readonly name: "hubTotalDrawnEstimation";
|
|
615056
|
+
readonly type: "uint256";
|
|
615057
|
+
}, {
|
|
615058
|
+
readonly internalType: "uint256";
|
|
615059
|
+
readonly name: "hubTotalLiquidityEstimation";
|
|
615060
|
+
readonly type: "uint256";
|
|
615061
|
+
}, {
|
|
615062
|
+
readonly internalType: "uint256";
|
|
615063
|
+
readonly name: "hubSwept";
|
|
615064
|
+
readonly type: "uint256";
|
|
615065
|
+
}, {
|
|
615066
|
+
readonly internalType: "uint16";
|
|
615067
|
+
readonly name: "liquidityFee";
|
|
615068
|
+
readonly type: "uint16";
|
|
615069
|
+
}];
|
|
615070
|
+
readonly internalType: "struct AaveV4View.EstimatedRates[]";
|
|
615071
|
+
readonly name: "";
|
|
615072
|
+
readonly type: "tuple[]";
|
|
615073
|
+
}];
|
|
615074
|
+
readonly stateMutability: "view";
|
|
615075
|
+
readonly type: "function";
|
|
615076
|
+
}, {
|
|
612256
615077
|
readonly inputs: readonly [{
|
|
612257
615078
|
readonly internalType: "address";
|
|
612258
615079
|
readonly name: "_eoa";
|
|
@@ -613817,6 +616638,66 @@ export declare const AaveV4ViewContractViem: (client: Client, network: NetworkNu
|
|
|
613817
616638
|
};
|
|
613818
616639
|
address: `0x${string}`;
|
|
613819
616640
|
abi: readonly [{
|
|
616641
|
+
readonly inputs: readonly [{
|
|
616642
|
+
readonly internalType: "address";
|
|
616643
|
+
readonly name: "_spoke";
|
|
616644
|
+
readonly type: "address";
|
|
616645
|
+
}, {
|
|
616646
|
+
readonly components: readonly [{
|
|
616647
|
+
readonly internalType: "uint256";
|
|
616648
|
+
readonly name: "reserveId";
|
|
616649
|
+
readonly type: "uint256";
|
|
616650
|
+
}, {
|
|
616651
|
+
readonly internalType: "uint256";
|
|
616652
|
+
readonly name: "liquidityAdded";
|
|
616653
|
+
readonly type: "uint256";
|
|
616654
|
+
}, {
|
|
616655
|
+
readonly internalType: "uint256";
|
|
616656
|
+
readonly name: "liquidityTaken";
|
|
616657
|
+
readonly type: "uint256";
|
|
616658
|
+
}, {
|
|
616659
|
+
readonly internalType: "bool";
|
|
616660
|
+
readonly name: "isDebtAsset";
|
|
616661
|
+
readonly type: "bool";
|
|
616662
|
+
}];
|
|
616663
|
+
readonly internalType: "struct AaveV4View.LiquidityChangeParams[]";
|
|
616664
|
+
readonly name: "_reserveParams";
|
|
616665
|
+
readonly type: "tuple[]";
|
|
616666
|
+
}];
|
|
616667
|
+
readonly name: "getApyAfterValuesEstimation";
|
|
616668
|
+
readonly outputs: readonly [{
|
|
616669
|
+
readonly components: readonly [{
|
|
616670
|
+
readonly internalType: "uint256";
|
|
616671
|
+
readonly name: "reserveId";
|
|
616672
|
+
readonly type: "uint256";
|
|
616673
|
+
}, {
|
|
616674
|
+
readonly internalType: "uint256";
|
|
616675
|
+
readonly name: "hubDrawnRateEstimation";
|
|
616676
|
+
readonly type: "uint256";
|
|
616677
|
+
}, {
|
|
616678
|
+
readonly internalType: "uint256";
|
|
616679
|
+
readonly name: "hubTotalDrawnEstimation";
|
|
616680
|
+
readonly type: "uint256";
|
|
616681
|
+
}, {
|
|
616682
|
+
readonly internalType: "uint256";
|
|
616683
|
+
readonly name: "hubTotalLiquidityEstimation";
|
|
616684
|
+
readonly type: "uint256";
|
|
616685
|
+
}, {
|
|
616686
|
+
readonly internalType: "uint256";
|
|
616687
|
+
readonly name: "hubSwept";
|
|
616688
|
+
readonly type: "uint256";
|
|
616689
|
+
}, {
|
|
616690
|
+
readonly internalType: "uint16";
|
|
616691
|
+
readonly name: "liquidityFee";
|
|
616692
|
+
readonly type: "uint16";
|
|
616693
|
+
}];
|
|
616694
|
+
readonly internalType: "struct AaveV4View.EstimatedRates[]";
|
|
616695
|
+
readonly name: "";
|
|
616696
|
+
readonly type: "tuple[]";
|
|
616697
|
+
}];
|
|
616698
|
+
readonly stateMutability: "view";
|
|
616699
|
+
readonly type: "function";
|
|
616700
|
+
}, {
|
|
613820
616701
|
readonly inputs: readonly [{
|
|
613821
616702
|
readonly internalType: "address";
|
|
613822
616703
|
readonly name: "_eoa";
|