@defisaver/positions-sdk 2.1.137 → 2.1.138

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.
Files changed (76) hide show
  1. package/cjs/aaveV4/index.js +26 -10
  2. package/cjs/config/contracts.d.ts +0 -938
  3. package/cjs/config/contracts.js +1 -8
  4. package/cjs/contracts.d.ts +0 -23433
  5. package/cjs/contracts.js +2 -3
  6. package/cjs/helpers/index.d.ts +0 -1
  7. package/cjs/helpers/index.js +1 -2
  8. package/cjs/index.d.ts +1 -2
  9. package/cjs/index.js +1 -3
  10. package/cjs/markets/index.d.ts +0 -1
  11. package/cjs/markets/index.js +1 -3
  12. package/cjs/portfolio/discovery.d.ts +1 -1
  13. package/cjs/portfolio/discovery.js +1 -1
  14. package/cjs/portfolio/index.js +0 -32
  15. package/cjs/services/utils.d.ts +1 -0
  16. package/cjs/services/utils.js +3 -1
  17. package/cjs/staking/staking.js +1 -2
  18. package/cjs/types/aaveV4.d.ts +5 -0
  19. package/cjs/types/index.d.ts +0 -1
  20. package/cjs/types/index.js +0 -1
  21. package/cjs/types/portfolio.d.ts +0 -4
  22. package/esm/aaveV4/index.js +27 -11
  23. package/esm/config/contracts.d.ts +0 -938
  24. package/esm/config/contracts.js +0 -6
  25. package/esm/contracts.d.ts +0 -23433
  26. package/esm/contracts.js +0 -1
  27. package/esm/helpers/index.d.ts +0 -1
  28. package/esm/helpers/index.js +0 -1
  29. package/esm/index.d.ts +1 -2
  30. package/esm/index.js +1 -2
  31. package/esm/markets/index.d.ts +0 -1
  32. package/esm/markets/index.js +0 -1
  33. package/esm/portfolio/discovery.d.ts +1 -1
  34. package/esm/portfolio/discovery.js +1 -1
  35. package/esm/portfolio/index.js +1 -33
  36. package/esm/services/utils.d.ts +1 -0
  37. package/esm/services/utils.js +1 -0
  38. package/esm/staking/staking.js +1 -2
  39. package/esm/types/aaveV4.d.ts +5 -0
  40. package/esm/types/index.d.ts +0 -1
  41. package/esm/types/index.js +0 -1
  42. package/esm/types/portfolio.d.ts +0 -4
  43. package/package.json +1 -1
  44. package/src/aaveV4/index.ts +29 -11
  45. package/src/config/contracts.ts +0 -6
  46. package/src/contracts.ts +0 -1
  47. package/src/helpers/index.ts +0 -1
  48. package/src/index.ts +0 -2
  49. package/src/markets/index.ts +0 -1
  50. package/src/portfolio/discovery.ts +1 -1
  51. package/src/portfolio/index.ts +0 -33
  52. package/src/services/utils.ts +2 -0
  53. package/src/staking/staking.ts +1 -2
  54. package/src/types/aaveV4.ts +5 -0
  55. package/src/types/index.ts +0 -1
  56. package/src/types/portfolio.ts +0 -4
  57. package/cjs/eulerV2/index.d.ts +0 -47
  58. package/cjs/eulerV2/index.js +0 -225
  59. package/cjs/helpers/eulerHelpers/index.d.ts +0 -22
  60. package/cjs/helpers/eulerHelpers/index.js +0 -231
  61. package/cjs/markets/euler/index.d.ts +0 -8
  62. package/cjs/markets/euler/index.js +0 -30
  63. package/cjs/types/euler.d.ts +0 -153
  64. package/cjs/types/euler.js +0 -14
  65. package/esm/eulerV2/index.d.ts +0 -47
  66. package/esm/eulerV2/index.js +0 -215
  67. package/esm/helpers/eulerHelpers/index.d.ts +0 -22
  68. package/esm/helpers/eulerHelpers/index.js +0 -218
  69. package/esm/markets/euler/index.d.ts +0 -8
  70. package/esm/markets/euler/index.js +0 -24
  71. package/esm/types/euler.d.ts +0 -153
  72. package/esm/types/euler.js +0 -11
  73. package/src/eulerV2/index.ts +0 -331
  74. package/src/helpers/eulerHelpers/index.ts +0 -232
  75. package/src/markets/euler/index.ts +0 -27
  76. package/src/types/euler.ts +0 -178
@@ -91609,944 +91609,6 @@ export declare const LiquityV2TroveNFT: {
91609
91609
  }];
91610
91610
  readonly networks: {};
91611
91611
  };
91612
- export declare const EulerV2View: {
91613
- readonly abi: readonly [{
91614
- readonly inputs: readonly [];
91615
- readonly name: "USD";
91616
- readonly outputs: readonly [{
91617
- readonly internalType: "address";
91618
- readonly name: "";
91619
- readonly type: "address";
91620
- }];
91621
- readonly stateMutability: "view";
91622
- readonly type: "function";
91623
- }, {
91624
- readonly inputs: readonly [];
91625
- readonly name: "feedRegistry";
91626
- readonly outputs: readonly [{
91627
- readonly internalType: "contract IFeedRegistry";
91628
- readonly name: "";
91629
- readonly type: "address";
91630
- }];
91631
- readonly stateMutability: "view";
91632
- readonly type: "function";
91633
- }, {
91634
- readonly inputs: readonly [{
91635
- readonly internalType: "address";
91636
- readonly name: "_account";
91637
- readonly type: "address";
91638
- }, {
91639
- readonly internalType: "uint256";
91640
- readonly name: "_page";
91641
- readonly type: "uint256";
91642
- }, {
91643
- readonly internalType: "uint256";
91644
- readonly name: "_perPage";
91645
- readonly type: "uint256";
91646
- }];
91647
- readonly name: "fetchUsedAccounts";
91648
- readonly outputs: readonly [{
91649
- readonly internalType: "address";
91650
- readonly name: "owner";
91651
- readonly type: "address";
91652
- }, {
91653
- readonly internalType: "address[]";
91654
- readonly name: "accounts";
91655
- readonly type: "address[]";
91656
- }];
91657
- readonly stateMutability: "view";
91658
- readonly type: "function";
91659
- }, {
91660
- readonly inputs: readonly [{
91661
- readonly internalType: "address";
91662
- readonly name: "_tokenAddr";
91663
- readonly type: "address";
91664
- }];
91665
- readonly name: "getAaveTokenPriceInETH";
91666
- readonly outputs: readonly [{
91667
- readonly internalType: "uint256";
91668
- readonly name: "price";
91669
- readonly type: "uint256";
91670
- }];
91671
- readonly stateMutability: "view";
91672
- readonly type: "function";
91673
- }, {
91674
- readonly inputs: readonly [{
91675
- readonly internalType: "address";
91676
- readonly name: "_tokenAddr";
91677
- readonly type: "address";
91678
- }];
91679
- readonly name: "getAaveTokenPriceInUSD";
91680
- readonly outputs: readonly [{
91681
- readonly internalType: "uint256";
91682
- readonly name: "";
91683
- readonly type: "uint256";
91684
- }];
91685
- readonly stateMutability: "view";
91686
- readonly type: "function";
91687
- }, {
91688
- readonly inputs: readonly [{
91689
- readonly internalType: "address";
91690
- readonly name: "_tokenAddr";
91691
- readonly type: "address";
91692
- }];
91693
- readonly name: "getAaveV3TokenPriceInETH";
91694
- readonly outputs: readonly [{
91695
- readonly internalType: "uint256";
91696
- readonly name: "";
91697
- readonly type: "uint256";
91698
- }];
91699
- readonly stateMutability: "view";
91700
- readonly type: "function";
91701
- }, {
91702
- readonly inputs: readonly [{
91703
- readonly internalType: "address";
91704
- readonly name: "_tokenAddr";
91705
- readonly type: "address";
91706
- }];
91707
- readonly name: "getAaveV3TokenPriceInUSD";
91708
- readonly outputs: readonly [{
91709
- readonly internalType: "uint256";
91710
- readonly name: "price";
91711
- readonly type: "uint256";
91712
- }];
91713
- readonly stateMutability: "view";
91714
- readonly type: "function";
91715
- }, {
91716
- readonly inputs: readonly [{
91717
- readonly internalType: "address";
91718
- readonly name: "_inputTokenAddr";
91719
- readonly type: "address";
91720
- }];
91721
- readonly name: "getAddrForChainlinkOracle";
91722
- readonly outputs: readonly [{
91723
- readonly internalType: "address";
91724
- readonly name: "tokenAddrForChainlinkUsage";
91725
- readonly type: "address";
91726
- }];
91727
- readonly stateMutability: "pure";
91728
- readonly type: "function";
91729
- }, {
91730
- readonly inputs: readonly [{
91731
- readonly components: readonly [{
91732
- readonly internalType: "address";
91733
- readonly name: "vault";
91734
- readonly type: "address";
91735
- }, {
91736
- readonly internalType: "bool";
91737
- readonly name: "isBorrowOperation";
91738
- readonly type: "bool";
91739
- }, {
91740
- readonly internalType: "uint256";
91741
- readonly name: "liquidityAdded";
91742
- readonly type: "uint256";
91743
- }, {
91744
- readonly internalType: "uint256";
91745
- readonly name: "liquidityRemoved";
91746
- readonly type: "uint256";
91747
- }];
91748
- readonly internalType: "struct EulerV2View.LiquidityChangeParams[]";
91749
- readonly name: "params";
91750
- readonly type: "tuple[]";
91751
- }];
91752
- readonly name: "getApyAfterValuesEstimation";
91753
- readonly outputs: readonly [{
91754
- readonly internalType: "uint256[]";
91755
- readonly name: "estimatedBorrowRates";
91756
- readonly type: "uint256[]";
91757
- }];
91758
- readonly stateMutability: "view";
91759
- readonly type: "function";
91760
- }, {
91761
- readonly inputs: readonly [{
91762
- readonly internalType: "address";
91763
- readonly name: "_inputTokenAddr";
91764
- readonly type: "address";
91765
- }];
91766
- readonly name: "getChainlinkPriceInETH";
91767
- readonly outputs: readonly [{
91768
- readonly internalType: "int256";
91769
- readonly name: "chainlinkPriceInETH";
91770
- readonly type: "int256";
91771
- }];
91772
- readonly stateMutability: "view";
91773
- readonly type: "function";
91774
- }, {
91775
- readonly inputs: readonly [{
91776
- readonly internalType: "address";
91777
- readonly name: "_inputTokenAddr";
91778
- readonly type: "address";
91779
- }, {
91780
- readonly internalType: "bool";
91781
- readonly name: "_useFallback";
91782
- readonly type: "bool";
91783
- }];
91784
- readonly name: "getChainlinkPriceInUSD";
91785
- readonly outputs: readonly [{
91786
- readonly internalType: "int256";
91787
- readonly name: "chainlinkPriceInUSD";
91788
- readonly type: "int256";
91789
- }];
91790
- readonly stateMutability: "view";
91791
- readonly type: "function";
91792
- }, {
91793
- readonly inputs: readonly [{
91794
- readonly internalType: "address";
91795
- readonly name: "_inputTokenAddr";
91796
- readonly type: "address";
91797
- }];
91798
- readonly name: "getPriceInETH";
91799
- readonly outputs: readonly [{
91800
- readonly internalType: "uint256";
91801
- readonly name: "";
91802
- readonly type: "uint256";
91803
- }];
91804
- readonly stateMutability: "view";
91805
- readonly type: "function";
91806
- }, {
91807
- readonly inputs: readonly [{
91808
- readonly internalType: "address";
91809
- readonly name: "_inputTokenAddr";
91810
- readonly type: "address";
91811
- }];
91812
- readonly name: "getPriceInUSD";
91813
- readonly outputs: readonly [{
91814
- readonly internalType: "uint256";
91815
- readonly name: "";
91816
- readonly type: "uint256";
91817
- }];
91818
- readonly stateMutability: "view";
91819
- readonly type: "function";
91820
- }, {
91821
- readonly inputs: readonly [{
91822
- readonly internalType: "address";
91823
- readonly name: "_inputTokenAddr";
91824
- readonly type: "address";
91825
- }, {
91826
- readonly internalType: "uint80";
91827
- readonly name: "_roundId";
91828
- readonly type: "uint80";
91829
- }, {
91830
- readonly internalType: "contract IAggregatorV3";
91831
- readonly name: "aggregator";
91832
- readonly type: "address";
91833
- }];
91834
- readonly name: "getRoundInfo";
91835
- readonly outputs: readonly [{
91836
- readonly internalType: "uint256";
91837
- readonly name: "";
91838
- readonly type: "uint256";
91839
- }, {
91840
- readonly internalType: "uint256";
91841
- readonly name: "updateTimestamp";
91842
- readonly type: "uint256";
91843
- }];
91844
- readonly stateMutability: "view";
91845
- readonly type: "function";
91846
- }, {
91847
- readonly inputs: readonly [{
91848
- readonly internalType: "address";
91849
- readonly name: "_inputTokenAddr";
91850
- readonly type: "address";
91851
- }, {
91852
- readonly internalType: "uint80";
91853
- readonly name: "_roundId";
91854
- readonly type: "uint80";
91855
- }];
91856
- readonly name: "getRoundInfo";
91857
- readonly outputs: readonly [{
91858
- readonly internalType: "uint256";
91859
- readonly name: "";
91860
- readonly type: "uint256";
91861
- }, {
91862
- readonly internalType: "uint256";
91863
- readonly name: "updateTimestamp";
91864
- readonly type: "uint256";
91865
- }];
91866
- readonly stateMutability: "view";
91867
- readonly type: "function";
91868
- }, {
91869
- readonly inputs: readonly [{
91870
- readonly internalType: "address";
91871
- readonly name: "_tokenAddr";
91872
- readonly type: "address";
91873
- }];
91874
- readonly name: "getSparkTokenPriceInETH";
91875
- readonly outputs: readonly [{
91876
- readonly internalType: "uint256";
91877
- readonly name: "";
91878
- readonly type: "uint256";
91879
- }];
91880
- readonly stateMutability: "view";
91881
- readonly type: "function";
91882
- }, {
91883
- readonly inputs: readonly [{
91884
- readonly internalType: "address";
91885
- readonly name: "_tokenAddr";
91886
- readonly type: "address";
91887
- }];
91888
- readonly name: "getSparkTokenPriceInUSD";
91889
- readonly outputs: readonly [{
91890
- readonly internalType: "uint256";
91891
- readonly name: "price";
91892
- readonly type: "uint256";
91893
- }];
91894
- readonly stateMutability: "view";
91895
- readonly type: "function";
91896
- }, {
91897
- readonly inputs: readonly [{
91898
- readonly internalType: "address";
91899
- readonly name: "_user";
91900
- readonly type: "address";
91901
- }];
91902
- readonly name: "getUserData";
91903
- readonly outputs: readonly [{
91904
- readonly components: readonly [{
91905
- readonly internalType: "address";
91906
- readonly name: "user";
91907
- readonly type: "address";
91908
- }, {
91909
- readonly internalType: "address";
91910
- readonly name: "owner";
91911
- readonly type: "address";
91912
- }, {
91913
- readonly internalType: "bool";
91914
- readonly name: "inLockDownMode";
91915
- readonly type: "bool";
91916
- }, {
91917
- readonly internalType: "bool";
91918
- readonly name: "inPermitDisabledMode";
91919
- readonly type: "bool";
91920
- }, {
91921
- readonly internalType: "address";
91922
- readonly name: "borrowVault";
91923
- readonly type: "address";
91924
- }, {
91925
- readonly internalType: "uint256";
91926
- readonly name: "borrowAmountInUnit";
91927
- readonly type: "uint256";
91928
- }, {
91929
- readonly internalType: "uint256";
91930
- readonly name: "borrowAmountInAsset";
91931
- readonly type: "uint256";
91932
- }, {
91933
- readonly components: readonly [{
91934
- readonly internalType: "address";
91935
- readonly name: "collateralVault";
91936
- readonly type: "address";
91937
- }, {
91938
- readonly internalType: "bool";
91939
- readonly name: "usedInBorrow";
91940
- readonly type: "bool";
91941
- }, {
91942
- readonly internalType: "uint256";
91943
- readonly name: "collateralAmountInUnit";
91944
- readonly type: "uint256";
91945
- }, {
91946
- readonly internalType: "uint256";
91947
- readonly name: "collateralAmountInAsset";
91948
- readonly type: "uint256";
91949
- }, {
91950
- readonly internalType: "uint256";
91951
- readonly name: "collateralAmountInUSD";
91952
- readonly type: "uint256";
91953
- }];
91954
- readonly internalType: "struct EulerV2View.UserCollateralInfo[]";
91955
- readonly name: "collaterals";
91956
- readonly type: "tuple[]";
91957
- }];
91958
- readonly internalType: "struct EulerV2View.UserData";
91959
- readonly name: "data";
91960
- readonly type: "tuple";
91961
- }];
91962
- readonly stateMutability: "view";
91963
- readonly type: "function";
91964
- }, {
91965
- readonly inputs: readonly [{
91966
- readonly internalType: "address[]";
91967
- readonly name: "_users";
91968
- readonly type: "address[]";
91969
- }];
91970
- readonly name: "getUsersData";
91971
- readonly outputs: readonly [{
91972
- readonly components: readonly [{
91973
- readonly internalType: "address";
91974
- readonly name: "user";
91975
- readonly type: "address";
91976
- }, {
91977
- readonly internalType: "address";
91978
- readonly name: "owner";
91979
- readonly type: "address";
91980
- }, {
91981
- readonly internalType: "bool";
91982
- readonly name: "inLockDownMode";
91983
- readonly type: "bool";
91984
- }, {
91985
- readonly internalType: "bool";
91986
- readonly name: "inPermitDisabledMode";
91987
- readonly type: "bool";
91988
- }, {
91989
- readonly internalType: "address";
91990
- readonly name: "borrowVault";
91991
- readonly type: "address";
91992
- }, {
91993
- readonly internalType: "uint256";
91994
- readonly name: "borrowAmountInUnit";
91995
- readonly type: "uint256";
91996
- }, {
91997
- readonly internalType: "uint256";
91998
- readonly name: "borrowAmountInAsset";
91999
- readonly type: "uint256";
92000
- }, {
92001
- readonly components: readonly [{
92002
- readonly internalType: "address";
92003
- readonly name: "collateralVault";
92004
- readonly type: "address";
92005
- }, {
92006
- readonly internalType: "bool";
92007
- readonly name: "usedInBorrow";
92008
- readonly type: "bool";
92009
- }, {
92010
- readonly internalType: "uint256";
92011
- readonly name: "collateralAmountInUnit";
92012
- readonly type: "uint256";
92013
- }, {
92014
- readonly internalType: "uint256";
92015
- readonly name: "collateralAmountInAsset";
92016
- readonly type: "uint256";
92017
- }, {
92018
- readonly internalType: "uint256";
92019
- readonly name: "collateralAmountInUSD";
92020
- readonly type: "uint256";
92021
- }];
92022
- readonly internalType: "struct EulerV2View.UserCollateralInfo[]";
92023
- readonly name: "collaterals";
92024
- readonly type: "tuple[]";
92025
- }];
92026
- readonly internalType: "struct EulerV2View.UserData[]";
92027
- readonly name: "data";
92028
- readonly type: "tuple[]";
92029
- }];
92030
- readonly stateMutability: "view";
92031
- readonly type: "function";
92032
- }, {
92033
- readonly inputs: readonly [{
92034
- readonly internalType: "address";
92035
- readonly name: "_vault";
92036
- readonly type: "address";
92037
- }];
92038
- readonly name: "getVaultCollaterals";
92039
- readonly outputs: readonly [{
92040
- readonly components: readonly [{
92041
- readonly internalType: "address";
92042
- readonly name: "vaultAddr";
92043
- readonly type: "address";
92044
- }, {
92045
- readonly internalType: "address";
92046
- readonly name: "assetAddr";
92047
- readonly type: "address";
92048
- }, {
92049
- readonly internalType: "string";
92050
- readonly name: "vaultSymbol";
92051
- readonly type: "string";
92052
- }, {
92053
- readonly internalType: "string";
92054
- readonly name: "name";
92055
- readonly type: "string";
92056
- }, {
92057
- readonly internalType: "address";
92058
- readonly name: "governorAdmin";
92059
- readonly type: "address";
92060
- }, {
92061
- readonly internalType: "bool";
92062
- readonly name: "isEscrowed";
92063
- readonly type: "bool";
92064
- }, {
92065
- readonly internalType: "uint256";
92066
- readonly name: "decimals";
92067
- readonly type: "uint256";
92068
- }, {
92069
- readonly internalType: "uint256";
92070
- readonly name: "sharePriceInUnit";
92071
- readonly type: "uint256";
92072
- }, {
92073
- readonly internalType: "uint256";
92074
- readonly name: "assetPriceInUnit";
92075
- readonly type: "uint256";
92076
- }, {
92077
- readonly internalType: "uint256";
92078
- readonly name: "cash";
92079
- readonly type: "uint256";
92080
- }, {
92081
- readonly internalType: "uint256";
92082
- readonly name: "totalBorrows";
92083
- readonly type: "uint256";
92084
- }, {
92085
- readonly internalType: "uint256";
92086
- readonly name: "supplyCap";
92087
- readonly type: "uint256";
92088
- }, {
92089
- readonly internalType: "uint16";
92090
- readonly name: "borrowLTV";
92091
- readonly type: "uint16";
92092
- }, {
92093
- readonly internalType: "uint16";
92094
- readonly name: "liquidationLTV";
92095
- readonly type: "uint16";
92096
- }, {
92097
- readonly internalType: "uint16";
92098
- readonly name: "initialLiquidationLTV";
92099
- readonly type: "uint16";
92100
- }, {
92101
- readonly internalType: "uint48";
92102
- readonly name: "targetTimestamp";
92103
- readonly type: "uint48";
92104
- }, {
92105
- readonly internalType: "uint32";
92106
- readonly name: "rampDuration";
92107
- readonly type: "uint32";
92108
- }, {
92109
- readonly internalType: "uint256";
92110
- readonly name: "interestFee";
92111
- readonly type: "uint256";
92112
- }, {
92113
- readonly internalType: "uint256";
92114
- readonly name: "interestRate";
92115
- readonly type: "uint256";
92116
- }];
92117
- readonly internalType: "struct EulerV2View.CollateralInfo[]";
92118
- readonly name: "collateralsInfo";
92119
- readonly type: "tuple[]";
92120
- }];
92121
- readonly stateMutability: "view";
92122
- readonly type: "function";
92123
- }, {
92124
- readonly inputs: readonly [{
92125
- readonly internalType: "address";
92126
- readonly name: "_vault";
92127
- readonly type: "address";
92128
- }];
92129
- readonly name: "getVaultInfoFull";
92130
- readonly outputs: readonly [{
92131
- readonly components: readonly [{
92132
- readonly internalType: "address";
92133
- readonly name: "vaultAddr";
92134
- readonly type: "address";
92135
- }, {
92136
- readonly internalType: "address";
92137
- readonly name: "assetAddr";
92138
- readonly type: "address";
92139
- }, {
92140
- readonly internalType: "string";
92141
- readonly name: "name";
92142
- readonly type: "string";
92143
- }, {
92144
- readonly internalType: "string";
92145
- readonly name: "symbol";
92146
- readonly type: "string";
92147
- }, {
92148
- readonly internalType: "uint256";
92149
- readonly name: "decimals";
92150
- readonly type: "uint256";
92151
- }, {
92152
- readonly internalType: "uint256";
92153
- readonly name: "totalSupplyShares";
92154
- readonly type: "uint256";
92155
- }, {
92156
- readonly internalType: "uint256";
92157
- readonly name: "cash";
92158
- readonly type: "uint256";
92159
- }, {
92160
- readonly internalType: "uint256";
92161
- readonly name: "totalBorrows";
92162
- readonly type: "uint256";
92163
- }, {
92164
- readonly internalType: "uint256";
92165
- readonly name: "totalAssets";
92166
- readonly type: "uint256";
92167
- }, {
92168
- readonly internalType: "uint256";
92169
- readonly name: "supplyCap";
92170
- readonly type: "uint256";
92171
- }, {
92172
- readonly internalType: "uint256";
92173
- readonly name: "borrowCap";
92174
- readonly type: "uint256";
92175
- }, {
92176
- readonly components: readonly [{
92177
- readonly internalType: "address";
92178
- readonly name: "vaultAddr";
92179
- readonly type: "address";
92180
- }, {
92181
- readonly internalType: "address";
92182
- readonly name: "assetAddr";
92183
- readonly type: "address";
92184
- }, {
92185
- readonly internalType: "string";
92186
- readonly name: "vaultSymbol";
92187
- readonly type: "string";
92188
- }, {
92189
- readonly internalType: "string";
92190
- readonly name: "name";
92191
- readonly type: "string";
92192
- }, {
92193
- readonly internalType: "address";
92194
- readonly name: "governorAdmin";
92195
- readonly type: "address";
92196
- }, {
92197
- readonly internalType: "bool";
92198
- readonly name: "isEscrowed";
92199
- readonly type: "bool";
92200
- }, {
92201
- readonly internalType: "uint256";
92202
- readonly name: "decimals";
92203
- readonly type: "uint256";
92204
- }, {
92205
- readonly internalType: "uint256";
92206
- readonly name: "sharePriceInUnit";
92207
- readonly type: "uint256";
92208
- }, {
92209
- readonly internalType: "uint256";
92210
- readonly name: "assetPriceInUnit";
92211
- readonly type: "uint256";
92212
- }, {
92213
- readonly internalType: "uint256";
92214
- readonly name: "cash";
92215
- readonly type: "uint256";
92216
- }, {
92217
- readonly internalType: "uint256";
92218
- readonly name: "totalBorrows";
92219
- readonly type: "uint256";
92220
- }, {
92221
- readonly internalType: "uint256";
92222
- readonly name: "supplyCap";
92223
- readonly type: "uint256";
92224
- }, {
92225
- readonly internalType: "uint16";
92226
- readonly name: "borrowLTV";
92227
- readonly type: "uint16";
92228
- }, {
92229
- readonly internalType: "uint16";
92230
- readonly name: "liquidationLTV";
92231
- readonly type: "uint16";
92232
- }, {
92233
- readonly internalType: "uint16";
92234
- readonly name: "initialLiquidationLTV";
92235
- readonly type: "uint16";
92236
- }, {
92237
- readonly internalType: "uint48";
92238
- readonly name: "targetTimestamp";
92239
- readonly type: "uint48";
92240
- }, {
92241
- readonly internalType: "uint32";
92242
- readonly name: "rampDuration";
92243
- readonly type: "uint32";
92244
- }, {
92245
- readonly internalType: "uint256";
92246
- readonly name: "interestFee";
92247
- readonly type: "uint256";
92248
- }, {
92249
- readonly internalType: "uint256";
92250
- readonly name: "interestRate";
92251
- readonly type: "uint256";
92252
- }];
92253
- readonly internalType: "struct EulerV2View.CollateralInfo[]";
92254
- readonly name: "collaterals";
92255
- readonly type: "tuple[]";
92256
- }, {
92257
- readonly internalType: "uint16";
92258
- readonly name: "maxLiquidationDiscount";
92259
- readonly type: "uint16";
92260
- }, {
92261
- readonly internalType: "uint256";
92262
- readonly name: "liquidationCoolOffTime";
92263
- readonly type: "uint256";
92264
- }, {
92265
- readonly internalType: "bool";
92266
- readonly name: "badDebtSocializationEnabled";
92267
- readonly type: "bool";
92268
- }, {
92269
- readonly internalType: "address";
92270
- readonly name: "unitOfAccount";
92271
- readonly type: "address";
92272
- }, {
92273
- readonly internalType: "uint256";
92274
- readonly name: "unitOfAccountInUsd";
92275
- readonly type: "uint256";
92276
- }, {
92277
- readonly internalType: "address";
92278
- readonly name: "oracle";
92279
- readonly type: "address";
92280
- }, {
92281
- readonly internalType: "uint256";
92282
- readonly name: "assetPriceInUnit";
92283
- readonly type: "uint256";
92284
- }, {
92285
- readonly internalType: "uint256";
92286
- readonly name: "sharePriceInUnit";
92287
- readonly type: "uint256";
92288
- }, {
92289
- readonly internalType: "uint256";
92290
- readonly name: "interestRate";
92291
- readonly type: "uint256";
92292
- }, {
92293
- readonly internalType: "address";
92294
- readonly name: "irm";
92295
- readonly type: "address";
92296
- }, {
92297
- readonly internalType: "address";
92298
- readonly name: "balanceTrackerAddress";
92299
- readonly type: "address";
92300
- }, {
92301
- readonly internalType: "address";
92302
- readonly name: "creator";
92303
- readonly type: "address";
92304
- }, {
92305
- readonly internalType: "address";
92306
- readonly name: "governorAdmin";
92307
- readonly type: "address";
92308
- }, {
92309
- readonly internalType: "uint256";
92310
- readonly name: "interestFee";
92311
- readonly type: "uint256";
92312
- }];
92313
- readonly internalType: "struct EulerV2View.VaultInfoFull";
92314
- readonly name: "data";
92315
- readonly type: "tuple";
92316
- }];
92317
- readonly stateMutability: "view";
92318
- readonly type: "function";
92319
- }, {
92320
- readonly inputs: readonly [{
92321
- readonly internalType: "address[]";
92322
- readonly name: "_vaults";
92323
- readonly type: "address[]";
92324
- }];
92325
- readonly name: "getVaultsInfosFull";
92326
- readonly outputs: readonly [{
92327
- readonly components: readonly [{
92328
- readonly internalType: "address";
92329
- readonly name: "vaultAddr";
92330
- readonly type: "address";
92331
- }, {
92332
- readonly internalType: "address";
92333
- readonly name: "assetAddr";
92334
- readonly type: "address";
92335
- }, {
92336
- readonly internalType: "string";
92337
- readonly name: "name";
92338
- readonly type: "string";
92339
- }, {
92340
- readonly internalType: "string";
92341
- readonly name: "symbol";
92342
- readonly type: "string";
92343
- }, {
92344
- readonly internalType: "uint256";
92345
- readonly name: "decimals";
92346
- readonly type: "uint256";
92347
- }, {
92348
- readonly internalType: "uint256";
92349
- readonly name: "totalSupplyShares";
92350
- readonly type: "uint256";
92351
- }, {
92352
- readonly internalType: "uint256";
92353
- readonly name: "cash";
92354
- readonly type: "uint256";
92355
- }, {
92356
- readonly internalType: "uint256";
92357
- readonly name: "totalBorrows";
92358
- readonly type: "uint256";
92359
- }, {
92360
- readonly internalType: "uint256";
92361
- readonly name: "totalAssets";
92362
- readonly type: "uint256";
92363
- }, {
92364
- readonly internalType: "uint256";
92365
- readonly name: "supplyCap";
92366
- readonly type: "uint256";
92367
- }, {
92368
- readonly internalType: "uint256";
92369
- readonly name: "borrowCap";
92370
- readonly type: "uint256";
92371
- }, {
92372
- readonly components: readonly [{
92373
- readonly internalType: "address";
92374
- readonly name: "vaultAddr";
92375
- readonly type: "address";
92376
- }, {
92377
- readonly internalType: "address";
92378
- readonly name: "assetAddr";
92379
- readonly type: "address";
92380
- }, {
92381
- readonly internalType: "string";
92382
- readonly name: "vaultSymbol";
92383
- readonly type: "string";
92384
- }, {
92385
- readonly internalType: "string";
92386
- readonly name: "name";
92387
- readonly type: "string";
92388
- }, {
92389
- readonly internalType: "address";
92390
- readonly name: "governorAdmin";
92391
- readonly type: "address";
92392
- }, {
92393
- readonly internalType: "bool";
92394
- readonly name: "isEscrowed";
92395
- readonly type: "bool";
92396
- }, {
92397
- readonly internalType: "uint256";
92398
- readonly name: "decimals";
92399
- readonly type: "uint256";
92400
- }, {
92401
- readonly internalType: "uint256";
92402
- readonly name: "sharePriceInUnit";
92403
- readonly type: "uint256";
92404
- }, {
92405
- readonly internalType: "uint256";
92406
- readonly name: "assetPriceInUnit";
92407
- readonly type: "uint256";
92408
- }, {
92409
- readonly internalType: "uint256";
92410
- readonly name: "cash";
92411
- readonly type: "uint256";
92412
- }, {
92413
- readonly internalType: "uint256";
92414
- readonly name: "totalBorrows";
92415
- readonly type: "uint256";
92416
- }, {
92417
- readonly internalType: "uint256";
92418
- readonly name: "supplyCap";
92419
- readonly type: "uint256";
92420
- }, {
92421
- readonly internalType: "uint16";
92422
- readonly name: "borrowLTV";
92423
- readonly type: "uint16";
92424
- }, {
92425
- readonly internalType: "uint16";
92426
- readonly name: "liquidationLTV";
92427
- readonly type: "uint16";
92428
- }, {
92429
- readonly internalType: "uint16";
92430
- readonly name: "initialLiquidationLTV";
92431
- readonly type: "uint16";
92432
- }, {
92433
- readonly internalType: "uint48";
92434
- readonly name: "targetTimestamp";
92435
- readonly type: "uint48";
92436
- }, {
92437
- readonly internalType: "uint32";
92438
- readonly name: "rampDuration";
92439
- readonly type: "uint32";
92440
- }, {
92441
- readonly internalType: "uint256";
92442
- readonly name: "interestFee";
92443
- readonly type: "uint256";
92444
- }, {
92445
- readonly internalType: "uint256";
92446
- readonly name: "interestRate";
92447
- readonly type: "uint256";
92448
- }];
92449
- readonly internalType: "struct EulerV2View.CollateralInfo[]";
92450
- readonly name: "collaterals";
92451
- readonly type: "tuple[]";
92452
- }, {
92453
- readonly internalType: "uint16";
92454
- readonly name: "maxLiquidationDiscount";
92455
- readonly type: "uint16";
92456
- }, {
92457
- readonly internalType: "uint256";
92458
- readonly name: "liquidationCoolOffTime";
92459
- readonly type: "uint256";
92460
- }, {
92461
- readonly internalType: "bool";
92462
- readonly name: "badDebtSocializationEnabled";
92463
- readonly type: "bool";
92464
- }, {
92465
- readonly internalType: "address";
92466
- readonly name: "unitOfAccount";
92467
- readonly type: "address";
92468
- }, {
92469
- readonly internalType: "uint256";
92470
- readonly name: "unitOfAccountInUsd";
92471
- readonly type: "uint256";
92472
- }, {
92473
- readonly internalType: "address";
92474
- readonly name: "oracle";
92475
- readonly type: "address";
92476
- }, {
92477
- readonly internalType: "uint256";
92478
- readonly name: "assetPriceInUnit";
92479
- readonly type: "uint256";
92480
- }, {
92481
- readonly internalType: "uint256";
92482
- readonly name: "sharePriceInUnit";
92483
- readonly type: "uint256";
92484
- }, {
92485
- readonly internalType: "uint256";
92486
- readonly name: "interestRate";
92487
- readonly type: "uint256";
92488
- }, {
92489
- readonly internalType: "address";
92490
- readonly name: "irm";
92491
- readonly type: "address";
92492
- }, {
92493
- readonly internalType: "address";
92494
- readonly name: "balanceTrackerAddress";
92495
- readonly type: "address";
92496
- }, {
92497
- readonly internalType: "address";
92498
- readonly name: "creator";
92499
- readonly type: "address";
92500
- }, {
92501
- readonly internalType: "address";
92502
- readonly name: "governorAdmin";
92503
- readonly type: "address";
92504
- }, {
92505
- readonly internalType: "uint256";
92506
- readonly name: "interestFee";
92507
- readonly type: "uint256";
92508
- }];
92509
- readonly internalType: "struct EulerV2View.VaultInfoFull[]";
92510
- readonly name: "data";
92511
- readonly type: "tuple[]";
92512
- }];
92513
- readonly stateMutability: "view";
92514
- readonly type: "function";
92515
- }, {
92516
- readonly inputs: readonly [{
92517
- readonly internalType: "int256";
92518
- readonly name: "_btcPrice";
92519
- readonly type: "int256";
92520
- }];
92521
- readonly name: "getWBtcPrice";
92522
- readonly outputs: readonly [{
92523
- readonly internalType: "int256";
92524
- readonly name: "wBtcPrice";
92525
- readonly type: "int256";
92526
- }];
92527
- readonly stateMutability: "view";
92528
- readonly type: "function";
92529
- }, {
92530
- readonly inputs: readonly [{
92531
- readonly internalType: "int256";
92532
- readonly name: "_stEthPrice";
92533
- readonly type: "int256";
92534
- }];
92535
- readonly name: "getWStEthPrice";
92536
- readonly outputs: readonly [{
92537
- readonly internalType: "int256";
92538
- readonly name: "wStEthPrice";
92539
- readonly type: "int256";
92540
- }];
92541
- readonly stateMutability: "view";
92542
- readonly type: "function";
92543
- }];
92544
- readonly networks: {
92545
- readonly "1": {
92546
- readonly address: "0x8932E46Ecf96b5Fe033F5e27Ab6dC755Cb668967";
92547
- };
92548
- };
92549
- };
92550
91612
  export declare const LiquityV2StabilityPool: {
92551
91613
  readonly abi: readonly [{
92552
91614
  readonly inputs: readonly [{