@defisaver/positions-sdk 2.1.127-midnight-8-dev → 2.1.127-midnight-9-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/cjs/aaveV4/index.js +26 -10
  2. package/cjs/aaveV4/merkl.d.ts +2 -1
  3. package/cjs/aaveV4/merkl.js +42 -35
  4. package/cjs/config/contracts.d.ts +0 -938
  5. package/cjs/config/contracts.js +2 -8
  6. package/cjs/contracts.d.ts +0 -23433
  7. package/cjs/contracts.js +2 -3
  8. package/cjs/helpers/aaveV4Helpers/index.d.ts +7 -1
  9. package/cjs/helpers/aaveV4Helpers/index.js +22 -10
  10. package/cjs/helpers/index.d.ts +0 -1
  11. package/cjs/helpers/index.js +1 -2
  12. package/cjs/index.d.ts +1 -2
  13. package/cjs/index.js +1 -3
  14. package/cjs/markets/index.d.ts +0 -1
  15. package/cjs/markets/index.js +1 -3
  16. package/cjs/markets/morphoBlue/index.d.ts +6 -0
  17. package/cjs/markets/morphoBlue/index.js +53 -2
  18. package/cjs/portfolio/discovery.d.ts +1 -1
  19. package/cjs/portfolio/discovery.js +1 -1
  20. package/cjs/portfolio/index.js +0 -32
  21. package/cjs/services/utils.d.ts +1 -0
  22. package/cjs/services/utils.js +3 -1
  23. package/cjs/staking/staking.js +1 -2
  24. package/cjs/types/aaveV4.d.ts +5 -0
  25. package/cjs/types/common.d.ts +4 -0
  26. package/cjs/types/common.js +6 -1
  27. package/cjs/types/index.d.ts +0 -1
  28. package/cjs/types/index.js +0 -1
  29. package/cjs/types/merkl.d.ts +3 -4
  30. package/cjs/types/morphoBlue.d.ts +3 -0
  31. package/cjs/types/morphoBlue.js +3 -0
  32. package/cjs/types/portfolio.d.ts +0 -4
  33. package/esm/aaveV4/index.js +27 -11
  34. package/esm/aaveV4/merkl.d.ts +2 -1
  35. package/esm/aaveV4/merkl.js +41 -35
  36. package/esm/config/contracts.d.ts +0 -938
  37. package/esm/config/contracts.js +0 -6
  38. package/esm/contracts.d.ts +0 -23433
  39. package/esm/contracts.js +0 -1
  40. package/esm/helpers/aaveV4Helpers/index.d.ts +7 -1
  41. package/esm/helpers/aaveV4Helpers/index.js +21 -10
  42. package/esm/helpers/index.d.ts +0 -1
  43. package/esm/helpers/index.js +0 -1
  44. package/esm/index.d.ts +1 -2
  45. package/esm/index.js +1 -2
  46. package/esm/markets/index.d.ts +0 -1
  47. package/esm/markets/index.js +0 -1
  48. package/esm/markets/morphoBlue/index.d.ts +6 -0
  49. package/esm/markets/morphoBlue/index.js +48 -0
  50. package/esm/portfolio/discovery.d.ts +1 -1
  51. package/esm/portfolio/discovery.js +1 -1
  52. package/esm/portfolio/index.js +1 -33
  53. package/esm/services/utils.d.ts +1 -0
  54. package/esm/services/utils.js +1 -0
  55. package/esm/staking/staking.js +1 -2
  56. package/esm/types/aaveV4.d.ts +5 -0
  57. package/esm/types/common.d.ts +4 -0
  58. package/esm/types/common.js +5 -0
  59. package/esm/types/index.d.ts +0 -1
  60. package/esm/types/index.js +0 -1
  61. package/esm/types/merkl.d.ts +3 -4
  62. package/esm/types/morphoBlue.d.ts +3 -0
  63. package/esm/types/morphoBlue.js +3 -0
  64. package/esm/types/portfolio.d.ts +0 -4
  65. package/package.json +1 -1
  66. package/src/aaveV4/index.ts +29 -11
  67. package/src/aaveV4/merkl.ts +41 -32
  68. package/src/config/contracts.ts +0 -6
  69. package/src/contracts.ts +0 -1
  70. package/src/helpers/aaveV4Helpers/index.ts +22 -9
  71. package/src/helpers/index.ts +0 -1
  72. package/src/index.ts +0 -2
  73. package/src/markets/index.ts +0 -1
  74. package/src/markets/morphoBlue/index.ts +49 -1
  75. package/src/portfolio/discovery.ts +1 -1
  76. package/src/portfolio/index.ts +0 -33
  77. package/src/services/utils.ts +2 -0
  78. package/src/staking/staking.ts +1 -2
  79. package/src/types/aaveV4.ts +5 -0
  80. package/src/types/common.ts +5 -0
  81. package/src/types/index.ts +0 -1
  82. package/src/types/merkl.ts +3 -3
  83. package/src/types/morphoBlue.ts +3 -0
  84. package/src/types/portfolio.ts +0 -4
  85. package/cjs/eulerV2/index.d.ts +0 -47
  86. package/cjs/eulerV2/index.js +0 -225
  87. package/cjs/helpers/eulerHelpers/index.d.ts +0 -22
  88. package/cjs/helpers/eulerHelpers/index.js +0 -231
  89. package/cjs/markets/euler/index.d.ts +0 -8
  90. package/cjs/markets/euler/index.js +0 -30
  91. package/cjs/types/euler.d.ts +0 -153
  92. package/cjs/types/euler.js +0 -14
  93. package/esm/eulerV2/index.d.ts +0 -47
  94. package/esm/eulerV2/index.js +0 -215
  95. package/esm/helpers/eulerHelpers/index.d.ts +0 -22
  96. package/esm/helpers/eulerHelpers/index.js +0 -218
  97. package/esm/markets/euler/index.d.ts +0 -8
  98. package/esm/markets/euler/index.js +0 -24
  99. package/esm/types/euler.d.ts +0 -153
  100. package/esm/types/euler.js +0 -11
  101. package/src/eulerV2/index.ts +0 -331
  102. package/src/helpers/eulerHelpers/index.ts +0 -232
  103. package/src/markets/euler/index.ts +0 -27
  104. package/src/types/euler.ts +0 -178
@@ -91858,944 +91858,6 @@ export declare const LiquityV2TroveNFT: {
91858
91858
  }];
91859
91859
  readonly networks: {};
91860
91860
  };
91861
- export declare const EulerV2View: {
91862
- readonly abi: readonly [{
91863
- readonly inputs: readonly [];
91864
- readonly name: "USD";
91865
- readonly outputs: readonly [{
91866
- readonly internalType: "address";
91867
- readonly name: "";
91868
- readonly type: "address";
91869
- }];
91870
- readonly stateMutability: "view";
91871
- readonly type: "function";
91872
- }, {
91873
- readonly inputs: readonly [];
91874
- readonly name: "feedRegistry";
91875
- readonly outputs: readonly [{
91876
- readonly internalType: "contract IFeedRegistry";
91877
- readonly name: "";
91878
- readonly type: "address";
91879
- }];
91880
- readonly stateMutability: "view";
91881
- readonly type: "function";
91882
- }, {
91883
- readonly inputs: readonly [{
91884
- readonly internalType: "address";
91885
- readonly name: "_account";
91886
- readonly type: "address";
91887
- }, {
91888
- readonly internalType: "uint256";
91889
- readonly name: "_page";
91890
- readonly type: "uint256";
91891
- }, {
91892
- readonly internalType: "uint256";
91893
- readonly name: "_perPage";
91894
- readonly type: "uint256";
91895
- }];
91896
- readonly name: "fetchUsedAccounts";
91897
- readonly outputs: readonly [{
91898
- readonly internalType: "address";
91899
- readonly name: "owner";
91900
- readonly type: "address";
91901
- }, {
91902
- readonly internalType: "address[]";
91903
- readonly name: "accounts";
91904
- readonly type: "address[]";
91905
- }];
91906
- readonly stateMutability: "view";
91907
- readonly type: "function";
91908
- }, {
91909
- readonly inputs: readonly [{
91910
- readonly internalType: "address";
91911
- readonly name: "_tokenAddr";
91912
- readonly type: "address";
91913
- }];
91914
- readonly name: "getAaveTokenPriceInETH";
91915
- readonly outputs: readonly [{
91916
- readonly internalType: "uint256";
91917
- readonly name: "price";
91918
- readonly type: "uint256";
91919
- }];
91920
- readonly stateMutability: "view";
91921
- readonly type: "function";
91922
- }, {
91923
- readonly inputs: readonly [{
91924
- readonly internalType: "address";
91925
- readonly name: "_tokenAddr";
91926
- readonly type: "address";
91927
- }];
91928
- readonly name: "getAaveTokenPriceInUSD";
91929
- readonly outputs: readonly [{
91930
- readonly internalType: "uint256";
91931
- readonly name: "";
91932
- readonly type: "uint256";
91933
- }];
91934
- readonly stateMutability: "view";
91935
- readonly type: "function";
91936
- }, {
91937
- readonly inputs: readonly [{
91938
- readonly internalType: "address";
91939
- readonly name: "_tokenAddr";
91940
- readonly type: "address";
91941
- }];
91942
- readonly name: "getAaveV3TokenPriceInETH";
91943
- readonly outputs: readonly [{
91944
- readonly internalType: "uint256";
91945
- readonly name: "";
91946
- readonly type: "uint256";
91947
- }];
91948
- readonly stateMutability: "view";
91949
- readonly type: "function";
91950
- }, {
91951
- readonly inputs: readonly [{
91952
- readonly internalType: "address";
91953
- readonly name: "_tokenAddr";
91954
- readonly type: "address";
91955
- }];
91956
- readonly name: "getAaveV3TokenPriceInUSD";
91957
- readonly outputs: readonly [{
91958
- readonly internalType: "uint256";
91959
- readonly name: "price";
91960
- readonly type: "uint256";
91961
- }];
91962
- readonly stateMutability: "view";
91963
- readonly type: "function";
91964
- }, {
91965
- readonly inputs: readonly [{
91966
- readonly internalType: "address";
91967
- readonly name: "_inputTokenAddr";
91968
- readonly type: "address";
91969
- }];
91970
- readonly name: "getAddrForChainlinkOracle";
91971
- readonly outputs: readonly [{
91972
- readonly internalType: "address";
91973
- readonly name: "tokenAddrForChainlinkUsage";
91974
- readonly type: "address";
91975
- }];
91976
- readonly stateMutability: "pure";
91977
- readonly type: "function";
91978
- }, {
91979
- readonly inputs: readonly [{
91980
- readonly components: readonly [{
91981
- readonly internalType: "address";
91982
- readonly name: "vault";
91983
- readonly type: "address";
91984
- }, {
91985
- readonly internalType: "bool";
91986
- readonly name: "isBorrowOperation";
91987
- readonly type: "bool";
91988
- }, {
91989
- readonly internalType: "uint256";
91990
- readonly name: "liquidityAdded";
91991
- readonly type: "uint256";
91992
- }, {
91993
- readonly internalType: "uint256";
91994
- readonly name: "liquidityRemoved";
91995
- readonly type: "uint256";
91996
- }];
91997
- readonly internalType: "struct EulerV2View.LiquidityChangeParams[]";
91998
- readonly name: "params";
91999
- readonly type: "tuple[]";
92000
- }];
92001
- readonly name: "getApyAfterValuesEstimation";
92002
- readonly outputs: readonly [{
92003
- readonly internalType: "uint256[]";
92004
- readonly name: "estimatedBorrowRates";
92005
- readonly type: "uint256[]";
92006
- }];
92007
- readonly stateMutability: "view";
92008
- readonly type: "function";
92009
- }, {
92010
- readonly inputs: readonly [{
92011
- readonly internalType: "address";
92012
- readonly name: "_inputTokenAddr";
92013
- readonly type: "address";
92014
- }];
92015
- readonly name: "getChainlinkPriceInETH";
92016
- readonly outputs: readonly [{
92017
- readonly internalType: "int256";
92018
- readonly name: "chainlinkPriceInETH";
92019
- readonly type: "int256";
92020
- }];
92021
- readonly stateMutability: "view";
92022
- readonly type: "function";
92023
- }, {
92024
- readonly inputs: readonly [{
92025
- readonly internalType: "address";
92026
- readonly name: "_inputTokenAddr";
92027
- readonly type: "address";
92028
- }, {
92029
- readonly internalType: "bool";
92030
- readonly name: "_useFallback";
92031
- readonly type: "bool";
92032
- }];
92033
- readonly name: "getChainlinkPriceInUSD";
92034
- readonly outputs: readonly [{
92035
- readonly internalType: "int256";
92036
- readonly name: "chainlinkPriceInUSD";
92037
- readonly type: "int256";
92038
- }];
92039
- readonly stateMutability: "view";
92040
- readonly type: "function";
92041
- }, {
92042
- readonly inputs: readonly [{
92043
- readonly internalType: "address";
92044
- readonly name: "_inputTokenAddr";
92045
- readonly type: "address";
92046
- }];
92047
- readonly name: "getPriceInETH";
92048
- readonly outputs: readonly [{
92049
- readonly internalType: "uint256";
92050
- readonly name: "";
92051
- readonly type: "uint256";
92052
- }];
92053
- readonly stateMutability: "view";
92054
- readonly type: "function";
92055
- }, {
92056
- readonly inputs: readonly [{
92057
- readonly internalType: "address";
92058
- readonly name: "_inputTokenAddr";
92059
- readonly type: "address";
92060
- }];
92061
- readonly name: "getPriceInUSD";
92062
- readonly outputs: readonly [{
92063
- readonly internalType: "uint256";
92064
- readonly name: "";
92065
- readonly type: "uint256";
92066
- }];
92067
- readonly stateMutability: "view";
92068
- readonly type: "function";
92069
- }, {
92070
- readonly inputs: readonly [{
92071
- readonly internalType: "address";
92072
- readonly name: "_inputTokenAddr";
92073
- readonly type: "address";
92074
- }, {
92075
- readonly internalType: "uint80";
92076
- readonly name: "_roundId";
92077
- readonly type: "uint80";
92078
- }, {
92079
- readonly internalType: "contract IAggregatorV3";
92080
- readonly name: "aggregator";
92081
- readonly type: "address";
92082
- }];
92083
- readonly name: "getRoundInfo";
92084
- readonly outputs: readonly [{
92085
- readonly internalType: "uint256";
92086
- readonly name: "";
92087
- readonly type: "uint256";
92088
- }, {
92089
- readonly internalType: "uint256";
92090
- readonly name: "updateTimestamp";
92091
- readonly type: "uint256";
92092
- }];
92093
- readonly stateMutability: "view";
92094
- readonly type: "function";
92095
- }, {
92096
- readonly inputs: readonly [{
92097
- readonly internalType: "address";
92098
- readonly name: "_inputTokenAddr";
92099
- readonly type: "address";
92100
- }, {
92101
- readonly internalType: "uint80";
92102
- readonly name: "_roundId";
92103
- readonly type: "uint80";
92104
- }];
92105
- readonly name: "getRoundInfo";
92106
- readonly outputs: readonly [{
92107
- readonly internalType: "uint256";
92108
- readonly name: "";
92109
- readonly type: "uint256";
92110
- }, {
92111
- readonly internalType: "uint256";
92112
- readonly name: "updateTimestamp";
92113
- readonly type: "uint256";
92114
- }];
92115
- readonly stateMutability: "view";
92116
- readonly type: "function";
92117
- }, {
92118
- readonly inputs: readonly [{
92119
- readonly internalType: "address";
92120
- readonly name: "_tokenAddr";
92121
- readonly type: "address";
92122
- }];
92123
- readonly name: "getSparkTokenPriceInETH";
92124
- readonly outputs: readonly [{
92125
- readonly internalType: "uint256";
92126
- readonly name: "";
92127
- readonly type: "uint256";
92128
- }];
92129
- readonly stateMutability: "view";
92130
- readonly type: "function";
92131
- }, {
92132
- readonly inputs: readonly [{
92133
- readonly internalType: "address";
92134
- readonly name: "_tokenAddr";
92135
- readonly type: "address";
92136
- }];
92137
- readonly name: "getSparkTokenPriceInUSD";
92138
- readonly outputs: readonly [{
92139
- readonly internalType: "uint256";
92140
- readonly name: "price";
92141
- readonly type: "uint256";
92142
- }];
92143
- readonly stateMutability: "view";
92144
- readonly type: "function";
92145
- }, {
92146
- readonly inputs: readonly [{
92147
- readonly internalType: "address";
92148
- readonly name: "_user";
92149
- readonly type: "address";
92150
- }];
92151
- readonly name: "getUserData";
92152
- readonly outputs: readonly [{
92153
- readonly components: readonly [{
92154
- readonly internalType: "address";
92155
- readonly name: "user";
92156
- readonly type: "address";
92157
- }, {
92158
- readonly internalType: "address";
92159
- readonly name: "owner";
92160
- readonly type: "address";
92161
- }, {
92162
- readonly internalType: "bool";
92163
- readonly name: "inLockDownMode";
92164
- readonly type: "bool";
92165
- }, {
92166
- readonly internalType: "bool";
92167
- readonly name: "inPermitDisabledMode";
92168
- readonly type: "bool";
92169
- }, {
92170
- readonly internalType: "address";
92171
- readonly name: "borrowVault";
92172
- readonly type: "address";
92173
- }, {
92174
- readonly internalType: "uint256";
92175
- readonly name: "borrowAmountInUnit";
92176
- readonly type: "uint256";
92177
- }, {
92178
- readonly internalType: "uint256";
92179
- readonly name: "borrowAmountInAsset";
92180
- readonly type: "uint256";
92181
- }, {
92182
- readonly components: readonly [{
92183
- readonly internalType: "address";
92184
- readonly name: "collateralVault";
92185
- readonly type: "address";
92186
- }, {
92187
- readonly internalType: "bool";
92188
- readonly name: "usedInBorrow";
92189
- readonly type: "bool";
92190
- }, {
92191
- readonly internalType: "uint256";
92192
- readonly name: "collateralAmountInUnit";
92193
- readonly type: "uint256";
92194
- }, {
92195
- readonly internalType: "uint256";
92196
- readonly name: "collateralAmountInAsset";
92197
- readonly type: "uint256";
92198
- }, {
92199
- readonly internalType: "uint256";
92200
- readonly name: "collateralAmountInUSD";
92201
- readonly type: "uint256";
92202
- }];
92203
- readonly internalType: "struct EulerV2View.UserCollateralInfo[]";
92204
- readonly name: "collaterals";
92205
- readonly type: "tuple[]";
92206
- }];
92207
- readonly internalType: "struct EulerV2View.UserData";
92208
- readonly name: "data";
92209
- readonly type: "tuple";
92210
- }];
92211
- readonly stateMutability: "view";
92212
- readonly type: "function";
92213
- }, {
92214
- readonly inputs: readonly [{
92215
- readonly internalType: "address[]";
92216
- readonly name: "_users";
92217
- readonly type: "address[]";
92218
- }];
92219
- readonly name: "getUsersData";
92220
- readonly outputs: readonly [{
92221
- readonly components: readonly [{
92222
- readonly internalType: "address";
92223
- readonly name: "user";
92224
- readonly type: "address";
92225
- }, {
92226
- readonly internalType: "address";
92227
- readonly name: "owner";
92228
- readonly type: "address";
92229
- }, {
92230
- readonly internalType: "bool";
92231
- readonly name: "inLockDownMode";
92232
- readonly type: "bool";
92233
- }, {
92234
- readonly internalType: "bool";
92235
- readonly name: "inPermitDisabledMode";
92236
- readonly type: "bool";
92237
- }, {
92238
- readonly internalType: "address";
92239
- readonly name: "borrowVault";
92240
- readonly type: "address";
92241
- }, {
92242
- readonly internalType: "uint256";
92243
- readonly name: "borrowAmountInUnit";
92244
- readonly type: "uint256";
92245
- }, {
92246
- readonly internalType: "uint256";
92247
- readonly name: "borrowAmountInAsset";
92248
- readonly type: "uint256";
92249
- }, {
92250
- readonly components: readonly [{
92251
- readonly internalType: "address";
92252
- readonly name: "collateralVault";
92253
- readonly type: "address";
92254
- }, {
92255
- readonly internalType: "bool";
92256
- readonly name: "usedInBorrow";
92257
- readonly type: "bool";
92258
- }, {
92259
- readonly internalType: "uint256";
92260
- readonly name: "collateralAmountInUnit";
92261
- readonly type: "uint256";
92262
- }, {
92263
- readonly internalType: "uint256";
92264
- readonly name: "collateralAmountInAsset";
92265
- readonly type: "uint256";
92266
- }, {
92267
- readonly internalType: "uint256";
92268
- readonly name: "collateralAmountInUSD";
92269
- readonly type: "uint256";
92270
- }];
92271
- readonly internalType: "struct EulerV2View.UserCollateralInfo[]";
92272
- readonly name: "collaterals";
92273
- readonly type: "tuple[]";
92274
- }];
92275
- readonly internalType: "struct EulerV2View.UserData[]";
92276
- readonly name: "data";
92277
- readonly type: "tuple[]";
92278
- }];
92279
- readonly stateMutability: "view";
92280
- readonly type: "function";
92281
- }, {
92282
- readonly inputs: readonly [{
92283
- readonly internalType: "address";
92284
- readonly name: "_vault";
92285
- readonly type: "address";
92286
- }];
92287
- readonly name: "getVaultCollaterals";
92288
- readonly outputs: readonly [{
92289
- readonly components: readonly [{
92290
- readonly internalType: "address";
92291
- readonly name: "vaultAddr";
92292
- readonly type: "address";
92293
- }, {
92294
- readonly internalType: "address";
92295
- readonly name: "assetAddr";
92296
- readonly type: "address";
92297
- }, {
92298
- readonly internalType: "string";
92299
- readonly name: "vaultSymbol";
92300
- readonly type: "string";
92301
- }, {
92302
- readonly internalType: "string";
92303
- readonly name: "name";
92304
- readonly type: "string";
92305
- }, {
92306
- readonly internalType: "address";
92307
- readonly name: "governorAdmin";
92308
- readonly type: "address";
92309
- }, {
92310
- readonly internalType: "bool";
92311
- readonly name: "isEscrowed";
92312
- readonly type: "bool";
92313
- }, {
92314
- readonly internalType: "uint256";
92315
- readonly name: "decimals";
92316
- readonly type: "uint256";
92317
- }, {
92318
- readonly internalType: "uint256";
92319
- readonly name: "sharePriceInUnit";
92320
- readonly type: "uint256";
92321
- }, {
92322
- readonly internalType: "uint256";
92323
- readonly name: "assetPriceInUnit";
92324
- readonly type: "uint256";
92325
- }, {
92326
- readonly internalType: "uint256";
92327
- readonly name: "cash";
92328
- readonly type: "uint256";
92329
- }, {
92330
- readonly internalType: "uint256";
92331
- readonly name: "totalBorrows";
92332
- readonly type: "uint256";
92333
- }, {
92334
- readonly internalType: "uint256";
92335
- readonly name: "supplyCap";
92336
- readonly type: "uint256";
92337
- }, {
92338
- readonly internalType: "uint16";
92339
- readonly name: "borrowLTV";
92340
- readonly type: "uint16";
92341
- }, {
92342
- readonly internalType: "uint16";
92343
- readonly name: "liquidationLTV";
92344
- readonly type: "uint16";
92345
- }, {
92346
- readonly internalType: "uint16";
92347
- readonly name: "initialLiquidationLTV";
92348
- readonly type: "uint16";
92349
- }, {
92350
- readonly internalType: "uint48";
92351
- readonly name: "targetTimestamp";
92352
- readonly type: "uint48";
92353
- }, {
92354
- readonly internalType: "uint32";
92355
- readonly name: "rampDuration";
92356
- readonly type: "uint32";
92357
- }, {
92358
- readonly internalType: "uint256";
92359
- readonly name: "interestFee";
92360
- readonly type: "uint256";
92361
- }, {
92362
- readonly internalType: "uint256";
92363
- readonly name: "interestRate";
92364
- readonly type: "uint256";
92365
- }];
92366
- readonly internalType: "struct EulerV2View.CollateralInfo[]";
92367
- readonly name: "collateralsInfo";
92368
- readonly type: "tuple[]";
92369
- }];
92370
- readonly stateMutability: "view";
92371
- readonly type: "function";
92372
- }, {
92373
- readonly inputs: readonly [{
92374
- readonly internalType: "address";
92375
- readonly name: "_vault";
92376
- readonly type: "address";
92377
- }];
92378
- readonly name: "getVaultInfoFull";
92379
- readonly outputs: readonly [{
92380
- readonly components: readonly [{
92381
- readonly internalType: "address";
92382
- readonly name: "vaultAddr";
92383
- readonly type: "address";
92384
- }, {
92385
- readonly internalType: "address";
92386
- readonly name: "assetAddr";
92387
- readonly type: "address";
92388
- }, {
92389
- readonly internalType: "string";
92390
- readonly name: "name";
92391
- readonly type: "string";
92392
- }, {
92393
- readonly internalType: "string";
92394
- readonly name: "symbol";
92395
- readonly type: "string";
92396
- }, {
92397
- readonly internalType: "uint256";
92398
- readonly name: "decimals";
92399
- readonly type: "uint256";
92400
- }, {
92401
- readonly internalType: "uint256";
92402
- readonly name: "totalSupplyShares";
92403
- readonly type: "uint256";
92404
- }, {
92405
- readonly internalType: "uint256";
92406
- readonly name: "cash";
92407
- readonly type: "uint256";
92408
- }, {
92409
- readonly internalType: "uint256";
92410
- readonly name: "totalBorrows";
92411
- readonly type: "uint256";
92412
- }, {
92413
- readonly internalType: "uint256";
92414
- readonly name: "totalAssets";
92415
- readonly type: "uint256";
92416
- }, {
92417
- readonly internalType: "uint256";
92418
- readonly name: "supplyCap";
92419
- readonly type: "uint256";
92420
- }, {
92421
- readonly internalType: "uint256";
92422
- readonly name: "borrowCap";
92423
- readonly type: "uint256";
92424
- }, {
92425
- readonly components: readonly [{
92426
- readonly internalType: "address";
92427
- readonly name: "vaultAddr";
92428
- readonly type: "address";
92429
- }, {
92430
- readonly internalType: "address";
92431
- readonly name: "assetAddr";
92432
- readonly type: "address";
92433
- }, {
92434
- readonly internalType: "string";
92435
- readonly name: "vaultSymbol";
92436
- readonly type: "string";
92437
- }, {
92438
- readonly internalType: "string";
92439
- readonly name: "name";
92440
- readonly type: "string";
92441
- }, {
92442
- readonly internalType: "address";
92443
- readonly name: "governorAdmin";
92444
- readonly type: "address";
92445
- }, {
92446
- readonly internalType: "bool";
92447
- readonly name: "isEscrowed";
92448
- readonly type: "bool";
92449
- }, {
92450
- readonly internalType: "uint256";
92451
- readonly name: "decimals";
92452
- readonly type: "uint256";
92453
- }, {
92454
- readonly internalType: "uint256";
92455
- readonly name: "sharePriceInUnit";
92456
- readonly type: "uint256";
92457
- }, {
92458
- readonly internalType: "uint256";
92459
- readonly name: "assetPriceInUnit";
92460
- readonly type: "uint256";
92461
- }, {
92462
- readonly internalType: "uint256";
92463
- readonly name: "cash";
92464
- readonly type: "uint256";
92465
- }, {
92466
- readonly internalType: "uint256";
92467
- readonly name: "totalBorrows";
92468
- readonly type: "uint256";
92469
- }, {
92470
- readonly internalType: "uint256";
92471
- readonly name: "supplyCap";
92472
- readonly type: "uint256";
92473
- }, {
92474
- readonly internalType: "uint16";
92475
- readonly name: "borrowLTV";
92476
- readonly type: "uint16";
92477
- }, {
92478
- readonly internalType: "uint16";
92479
- readonly name: "liquidationLTV";
92480
- readonly type: "uint16";
92481
- }, {
92482
- readonly internalType: "uint16";
92483
- readonly name: "initialLiquidationLTV";
92484
- readonly type: "uint16";
92485
- }, {
92486
- readonly internalType: "uint48";
92487
- readonly name: "targetTimestamp";
92488
- readonly type: "uint48";
92489
- }, {
92490
- readonly internalType: "uint32";
92491
- readonly name: "rampDuration";
92492
- readonly type: "uint32";
92493
- }, {
92494
- readonly internalType: "uint256";
92495
- readonly name: "interestFee";
92496
- readonly type: "uint256";
92497
- }, {
92498
- readonly internalType: "uint256";
92499
- readonly name: "interestRate";
92500
- readonly type: "uint256";
92501
- }];
92502
- readonly internalType: "struct EulerV2View.CollateralInfo[]";
92503
- readonly name: "collaterals";
92504
- readonly type: "tuple[]";
92505
- }, {
92506
- readonly internalType: "uint16";
92507
- readonly name: "maxLiquidationDiscount";
92508
- readonly type: "uint16";
92509
- }, {
92510
- readonly internalType: "uint256";
92511
- readonly name: "liquidationCoolOffTime";
92512
- readonly type: "uint256";
92513
- }, {
92514
- readonly internalType: "bool";
92515
- readonly name: "badDebtSocializationEnabled";
92516
- readonly type: "bool";
92517
- }, {
92518
- readonly internalType: "address";
92519
- readonly name: "unitOfAccount";
92520
- readonly type: "address";
92521
- }, {
92522
- readonly internalType: "uint256";
92523
- readonly name: "unitOfAccountInUsd";
92524
- readonly type: "uint256";
92525
- }, {
92526
- readonly internalType: "address";
92527
- readonly name: "oracle";
92528
- readonly type: "address";
92529
- }, {
92530
- readonly internalType: "uint256";
92531
- readonly name: "assetPriceInUnit";
92532
- readonly type: "uint256";
92533
- }, {
92534
- readonly internalType: "uint256";
92535
- readonly name: "sharePriceInUnit";
92536
- readonly type: "uint256";
92537
- }, {
92538
- readonly internalType: "uint256";
92539
- readonly name: "interestRate";
92540
- readonly type: "uint256";
92541
- }, {
92542
- readonly internalType: "address";
92543
- readonly name: "irm";
92544
- readonly type: "address";
92545
- }, {
92546
- readonly internalType: "address";
92547
- readonly name: "balanceTrackerAddress";
92548
- readonly type: "address";
92549
- }, {
92550
- readonly internalType: "address";
92551
- readonly name: "creator";
92552
- readonly type: "address";
92553
- }, {
92554
- readonly internalType: "address";
92555
- readonly name: "governorAdmin";
92556
- readonly type: "address";
92557
- }, {
92558
- readonly internalType: "uint256";
92559
- readonly name: "interestFee";
92560
- readonly type: "uint256";
92561
- }];
92562
- readonly internalType: "struct EulerV2View.VaultInfoFull";
92563
- readonly name: "data";
92564
- readonly type: "tuple";
92565
- }];
92566
- readonly stateMutability: "view";
92567
- readonly type: "function";
92568
- }, {
92569
- readonly inputs: readonly [{
92570
- readonly internalType: "address[]";
92571
- readonly name: "_vaults";
92572
- readonly type: "address[]";
92573
- }];
92574
- readonly name: "getVaultsInfosFull";
92575
- readonly outputs: readonly [{
92576
- readonly components: readonly [{
92577
- readonly internalType: "address";
92578
- readonly name: "vaultAddr";
92579
- readonly type: "address";
92580
- }, {
92581
- readonly internalType: "address";
92582
- readonly name: "assetAddr";
92583
- readonly type: "address";
92584
- }, {
92585
- readonly internalType: "string";
92586
- readonly name: "name";
92587
- readonly type: "string";
92588
- }, {
92589
- readonly internalType: "string";
92590
- readonly name: "symbol";
92591
- readonly type: "string";
92592
- }, {
92593
- readonly internalType: "uint256";
92594
- readonly name: "decimals";
92595
- readonly type: "uint256";
92596
- }, {
92597
- readonly internalType: "uint256";
92598
- readonly name: "totalSupplyShares";
92599
- readonly type: "uint256";
92600
- }, {
92601
- readonly internalType: "uint256";
92602
- readonly name: "cash";
92603
- readonly type: "uint256";
92604
- }, {
92605
- readonly internalType: "uint256";
92606
- readonly name: "totalBorrows";
92607
- readonly type: "uint256";
92608
- }, {
92609
- readonly internalType: "uint256";
92610
- readonly name: "totalAssets";
92611
- readonly type: "uint256";
92612
- }, {
92613
- readonly internalType: "uint256";
92614
- readonly name: "supplyCap";
92615
- readonly type: "uint256";
92616
- }, {
92617
- readonly internalType: "uint256";
92618
- readonly name: "borrowCap";
92619
- readonly type: "uint256";
92620
- }, {
92621
- readonly components: readonly [{
92622
- readonly internalType: "address";
92623
- readonly name: "vaultAddr";
92624
- readonly type: "address";
92625
- }, {
92626
- readonly internalType: "address";
92627
- readonly name: "assetAddr";
92628
- readonly type: "address";
92629
- }, {
92630
- readonly internalType: "string";
92631
- readonly name: "vaultSymbol";
92632
- readonly type: "string";
92633
- }, {
92634
- readonly internalType: "string";
92635
- readonly name: "name";
92636
- readonly type: "string";
92637
- }, {
92638
- readonly internalType: "address";
92639
- readonly name: "governorAdmin";
92640
- readonly type: "address";
92641
- }, {
92642
- readonly internalType: "bool";
92643
- readonly name: "isEscrowed";
92644
- readonly type: "bool";
92645
- }, {
92646
- readonly internalType: "uint256";
92647
- readonly name: "decimals";
92648
- readonly type: "uint256";
92649
- }, {
92650
- readonly internalType: "uint256";
92651
- readonly name: "sharePriceInUnit";
92652
- readonly type: "uint256";
92653
- }, {
92654
- readonly internalType: "uint256";
92655
- readonly name: "assetPriceInUnit";
92656
- readonly type: "uint256";
92657
- }, {
92658
- readonly internalType: "uint256";
92659
- readonly name: "cash";
92660
- readonly type: "uint256";
92661
- }, {
92662
- readonly internalType: "uint256";
92663
- readonly name: "totalBorrows";
92664
- readonly type: "uint256";
92665
- }, {
92666
- readonly internalType: "uint256";
92667
- readonly name: "supplyCap";
92668
- readonly type: "uint256";
92669
- }, {
92670
- readonly internalType: "uint16";
92671
- readonly name: "borrowLTV";
92672
- readonly type: "uint16";
92673
- }, {
92674
- readonly internalType: "uint16";
92675
- readonly name: "liquidationLTV";
92676
- readonly type: "uint16";
92677
- }, {
92678
- readonly internalType: "uint16";
92679
- readonly name: "initialLiquidationLTV";
92680
- readonly type: "uint16";
92681
- }, {
92682
- readonly internalType: "uint48";
92683
- readonly name: "targetTimestamp";
92684
- readonly type: "uint48";
92685
- }, {
92686
- readonly internalType: "uint32";
92687
- readonly name: "rampDuration";
92688
- readonly type: "uint32";
92689
- }, {
92690
- readonly internalType: "uint256";
92691
- readonly name: "interestFee";
92692
- readonly type: "uint256";
92693
- }, {
92694
- readonly internalType: "uint256";
92695
- readonly name: "interestRate";
92696
- readonly type: "uint256";
92697
- }];
92698
- readonly internalType: "struct EulerV2View.CollateralInfo[]";
92699
- readonly name: "collaterals";
92700
- readonly type: "tuple[]";
92701
- }, {
92702
- readonly internalType: "uint16";
92703
- readonly name: "maxLiquidationDiscount";
92704
- readonly type: "uint16";
92705
- }, {
92706
- readonly internalType: "uint256";
92707
- readonly name: "liquidationCoolOffTime";
92708
- readonly type: "uint256";
92709
- }, {
92710
- readonly internalType: "bool";
92711
- readonly name: "badDebtSocializationEnabled";
92712
- readonly type: "bool";
92713
- }, {
92714
- readonly internalType: "address";
92715
- readonly name: "unitOfAccount";
92716
- readonly type: "address";
92717
- }, {
92718
- readonly internalType: "uint256";
92719
- readonly name: "unitOfAccountInUsd";
92720
- readonly type: "uint256";
92721
- }, {
92722
- readonly internalType: "address";
92723
- readonly name: "oracle";
92724
- readonly type: "address";
92725
- }, {
92726
- readonly internalType: "uint256";
92727
- readonly name: "assetPriceInUnit";
92728
- readonly type: "uint256";
92729
- }, {
92730
- readonly internalType: "uint256";
92731
- readonly name: "sharePriceInUnit";
92732
- readonly type: "uint256";
92733
- }, {
92734
- readonly internalType: "uint256";
92735
- readonly name: "interestRate";
92736
- readonly type: "uint256";
92737
- }, {
92738
- readonly internalType: "address";
92739
- readonly name: "irm";
92740
- readonly type: "address";
92741
- }, {
92742
- readonly internalType: "address";
92743
- readonly name: "balanceTrackerAddress";
92744
- readonly type: "address";
92745
- }, {
92746
- readonly internalType: "address";
92747
- readonly name: "creator";
92748
- readonly type: "address";
92749
- }, {
92750
- readonly internalType: "address";
92751
- readonly name: "governorAdmin";
92752
- readonly type: "address";
92753
- }, {
92754
- readonly internalType: "uint256";
92755
- readonly name: "interestFee";
92756
- readonly type: "uint256";
92757
- }];
92758
- readonly internalType: "struct EulerV2View.VaultInfoFull[]";
92759
- readonly name: "data";
92760
- readonly type: "tuple[]";
92761
- }];
92762
- readonly stateMutability: "view";
92763
- readonly type: "function";
92764
- }, {
92765
- readonly inputs: readonly [{
92766
- readonly internalType: "int256";
92767
- readonly name: "_btcPrice";
92768
- readonly type: "int256";
92769
- }];
92770
- readonly name: "getWBtcPrice";
92771
- readonly outputs: readonly [{
92772
- readonly internalType: "int256";
92773
- readonly name: "wBtcPrice";
92774
- readonly type: "int256";
92775
- }];
92776
- readonly stateMutability: "view";
92777
- readonly type: "function";
92778
- }, {
92779
- readonly inputs: readonly [{
92780
- readonly internalType: "int256";
92781
- readonly name: "_stEthPrice";
92782
- readonly type: "int256";
92783
- }];
92784
- readonly name: "getWStEthPrice";
92785
- readonly outputs: readonly [{
92786
- readonly internalType: "int256";
92787
- readonly name: "wStEthPrice";
92788
- readonly type: "int256";
92789
- }];
92790
- readonly stateMutability: "view";
92791
- readonly type: "function";
92792
- }];
92793
- readonly networks: {
92794
- readonly "1": {
92795
- readonly address: "0x8932E46Ecf96b5Fe033F5e27Ab6dC755Cb668967";
92796
- };
92797
- };
92798
- };
92799
91861
  export declare const LiquityV2StabilityPool: {
92800
91862
  readonly abi: readonly [{
92801
91863
  readonly inputs: readonly [{