From 35945c49ac1d06662db27fc0110df7850886215d Mon Sep 17 00:00:00 2001 From: Thunder Date: Tue, 20 Jun 2023 11:56:07 +0300 Subject: [PATCH] Added a link for more information about swapping. --- .../src/portal/components/TftSwapPrice.vue | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/packages/dashboard/src/portal/components/TftSwapPrice.vue b/packages/dashboard/src/portal/components/TftSwapPrice.vue index 73bd35d080..6682e66119 100644 --- a/packages/dashboard/src/portal/components/TftSwapPrice.vue +++ b/packages/dashboard/src/portal/components/TftSwapPrice.vue @@ -12,6 +12,14 @@ TFT Exchange Rate

{{ prices[1].amount }} {{ prices[1].currency }}

+ + + More information + @@ -58,6 +66,13 @@ export default class TftSwapPrice extends Vue { } } + openInfoLink() { + window.open( + "https://stellar.expert/explorer/public/asset/TFT-GBOVQKJYHXRR3DX6NOX2RRYFRCUMSADGDESTDNBDS6CDVLGVESRTAC47-1?asset[]=TFT-GBOVQKJYHXRR3DX6NOX2RRYFRCUMSADGDESTDNBDS6CDVLGVESRTAC47-1&filter=markets&market=USDC-GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN-1", + "_blank", + ); + } + async getTFTPrice() { // Getting the TFT price from the substrate. const res = await this.$api.query.tftPriceModule.tftPrice();