-
+
+
+
+
Copied!
diff --git a/src/components/TokenAmount.vue b/src/components/TokenAmount.vue
index ee5d302..e5657d7 100644
--- a/src/components/TokenAmount.vue
+++ b/src/components/TokenAmount.vue
@@ -1,5 +1,5 @@
- {{fmtAmount}} {{ raw ? '' : (token.symbol || '') }}
+ {{fmtAmount}} {{ raw ? '' : (token.s || '') }}
diff --git a/src/components/TokenRow.vue b/src/components/TokenRow.vue
index c585127..1011faf 100644
--- a/src/components/TokenRow.vue
+++ b/src/components/TokenRow.vue
@@ -3,9 +3,9 @@
|
|
- {{ token.name || '' }} |
+ {{ token.n || '' }} |
{{ fixed }} |
- {{ token.symbol }} |
+ {{ token.s }} |
@@ -13,9 +13,9 @@
-
+
onWithdraw(token.address)"/>
+ @click="()=>onWithdraw(token.a)"/>
|
@@ -31,9 +31,9 @@ import {computed, ref} from "vue";
const s = useStore()
const props = defineProps(['addr', 'amount', 'onWithdraw'])
const token = await getToken(props.addr)
-const fixed = computed(() => FixedNumber.fromValue(props.amount, token.decimals, {
+const fixed = computed(() => FixedNumber.fromValue(props.amount, token.d, {
width: 256,
- decimals: token.decimals
+ decimals: token.d
}))
const imageSrc = computed(() => token.image)
diff --git a/src/components/Vault.vue b/src/components/Vault.vue
index 511e30b..6734855 100644
--- a/src/components/Vault.vue
+++ b/src/components/Vault.vue
@@ -53,8 +53,7 @@
Your Deposit Address {{ s.vaults.length > 1 ? '#' + (num + 1) : '' }}
-
- {{ addr }}
+ {{addr}}
-
-
-
-
-
-
+
+
+ New Order
+
+ Place Order
+
+ Cancel
+
+
+
+
+
+
+
+
+
+ showCancel=false">Keep Existing
+ {co.orders.shift(); showCancel=false}" color="red">Cancel Order
+
+
+
+
+
+
\ No newline at end of file