From 0ba479c6e764815f2b4ec48649378cc488140ab6 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sat, 18 Feb 2023 10:11:23 -0300 Subject: take fiat currency from config --- packages/demobank-ui/src/declaration.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages/demobank-ui/src/declaration.d.ts') diff --git a/packages/demobank-ui/src/declaration.d.ts b/packages/demobank-ui/src/declaration.d.ts index e3160d9ae..e31eb47b7 100644 --- a/packages/demobank-ui/src/declaration.d.ts +++ b/packages/demobank-ui/src/declaration.d.ts @@ -364,7 +364,6 @@ namespace SandboxBackend { // Contains ratios and fees related to buying // and selling the circuit currency. ratios_and_fees: RatiosAndFees; - currency: string; } interface RatiosAndFees { // Exchange rate to buy the circuit currency from fiat. @@ -375,6 +374,9 @@ namespace SandboxBackend { buy_in_fee: float; // Fee to subtract after applying the sell ratio. sell_out_fee: float; + // Fiat currency. That is the currency in which + // cash-out operations ultimately wire money. + fiat_currency: string; } interface Cashouts { // Every string represents a cash-out operation UUID. -- cgit v1.2.3