diff --git a/composables/protocols/useReflexerPosition.ts b/composables/protocols/useReflexerPosition.ts index 11007b9..d4124c0 100644 --- a/composables/protocols/useReflexerPosition.ts +++ b/composables/protocols/useReflexerPosition.ts @@ -122,6 +122,10 @@ export function useReflexerPosition( }); const debt = computed(() => ensureValue(safe.value.debt).toFixed()); + const debtUsd = computed(() => + times(debt.value, raiInUsd.value).toFixed() + ); + const minDebt = computed( () => safeTypes.value[0]?.totalDebt?.toString() || "699" ); @@ -197,6 +201,7 @@ export function useReflexerPosition( liquidationPrice, liquidationMaxPrice: price, debt, + debtUsd, minDebt, debtCeilingReached }; diff --git a/pages/mainnet/reflexer.vue b/pages/mainnet/reflexer.vue index eb3d18f..b19b0c7 100644 --- a/pages/mainnet/reflexer.vue +++ b/pages/mainnet/reflexer.vue @@ -135,7 +135,7 @@