From 5416666150daa259ca676be262f5cca7f6b207bf Mon Sep 17 00:00:00 2001 From: Lyka Labrada Date: Thu, 2 Nov 2023 09:51:00 +0800 Subject: [PATCH] feat(ui-ux): update doge token backing address (#1888) --- .../e2e/pages/tokens/tokens-[symbol].spec.ts | 28 +++++++++---------- .../proof-of-backing/backingAddresses.ts | 2 +- src/constants/TokenBackedAddress.ts | 4 +-- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/cypress/e2e/pages/tokens/tokens-[symbol].spec.ts b/cypress/e2e/pages/tokens/tokens-[symbol].spec.ts index 046d36bf0..e1ad67bc4 100644 --- a/cypress/e2e/pages/tokens/tokens-[symbol].spec.ts +++ b/cypress/e2e/pages/tokens/tokens-[symbol].spec.ts @@ -123,14 +123,14 @@ context("/tokens/* Backing Addresses", () => { }); cy.findByTestId("BackingAddress.BTC").should( "have.text", - "38pZuWUti3vSQuvuFYs8Lwbyje8cmaGhrT" + "38pZuWUti3vSQuvuFYs8Lwbyje8cmaGhrT", ); cy.findByTestId("BackingAddress.BTC") .find("a") .should( "have.attr", "href", - "https://www.blockchain.com/btc/address/38pZuWUti3vSQuvuFYs8Lwbyje8cmaGhrT" + "https://www.blockchain.com/btc/address/38pZuWUti3vSQuvuFYs8Lwbyje8cmaGhrT", ); }); @@ -143,14 +143,14 @@ context("/tokens/* Backing Addresses", () => { }); cy.findByTestId("BackingAddress.ETH").should( "have.text", - "0x94fa70d079d76279e1815ce403e9b985bccc82ac" + "0x94fa70d079d76279e1815ce403e9b985bccc82ac", ); cy.findByTestId("BackingAddress.ETH") .find("a") .should( "have.attr", "href", - "https://etherscan.io/address/0x94fa70d079d76279e1815ce403e9b985bccc82ac" + "https://etherscan.io/address/0x94fa70d079d76279e1815ce403e9b985bccc82ac", ); }); @@ -163,14 +163,14 @@ context("/tokens/* Backing Addresses", () => { }); cy.findByTestId("BackingAddress.ETH").should( "have.text", - "0x94fa70d079d76279e1815ce403e9b985bccc82ac" + "0x94fa70d079d76279e1815ce403e9b985bccc82ac", ); cy.findByTestId("BackingAddress.ETH") .find("a") .should( "have.attr", "href", - "https://etherscan.io/address/0x94fa70d079d76279e1815ce403e9b985bccc82ac" + "https://etherscan.io/address/0x94fa70d079d76279e1815ce403e9b985bccc82ac", ); }); @@ -183,14 +183,14 @@ context("/tokens/* Backing Addresses", () => { }); cy.findByTestId("BackingAddress.ETH").should( "have.text", - "0x94fa70d079d76279e1815ce403e9b985bccc82ac" + "0x94fa70d079d76279e1815ce403e9b985bccc82ac", ); cy.findByTestId("BackingAddress.ETH") .find("a") .should( "have.attr", "href", - "https://etherscan.io/address/0x94fa70d079d76279e1815ce403e9b985bccc82ac" + "https://etherscan.io/address/0x94fa70d079d76279e1815ce403e9b985bccc82ac", ); }); @@ -203,14 +203,14 @@ context("/tokens/* Backing Addresses", () => { }); cy.findByTestId("BackingAddress.DOGE").should( "have.text", - "D7jrXDgPYck8jL9eYvRrc7Ze8n2e2Loyba" + "9uv4fqPjSYNVNvqzbuGUMACBw67qQcLTxg", ); cy.findByTestId("BackingAddress.DOGE") .find("a") .should( "have.attr", "href", - "https://dogechain.info/address/D7jrXDgPYck8jL9eYvRrc7Ze8n2e2Loyba" + "https://dogechain.info/address/9uv4fqPjSYNVNvqzbuGUMACBw67qQcLTxg", ); }); @@ -223,14 +223,14 @@ context("/tokens/* Backing Addresses", () => { }); cy.findByTestId("BackingAddress.LTC").should( "have.text", - "MLYQxJfnUfVqRwfYXjDJfmLbyA77hqzSXE" + "MLYQxJfnUfVqRwfYXjDJfmLbyA77hqzSXE", ); cy.findByTestId("BackingAddress.LTC") .find("a") .should( "have.attr", "href", - "https://live.blockcypher.com/ltc/address/MLYQxJfnUfVqRwfYXjDJfmLbyA77hqzSXE" + "https://live.blockcypher.com/ltc/address/MLYQxJfnUfVqRwfYXjDJfmLbyA77hqzSXE", ); }); @@ -243,14 +243,14 @@ context("/tokens/* Backing Addresses", () => { }); cy.findByTestId("BackingAddress.BCH").should( "have.text", - "38wFczGqaaGLRub2U7CWeWkMuPDwhMVMRf" + "38wFczGqaaGLRub2U7CWeWkMuPDwhMVMRf", ); cy.findByTestId("BackingAddress.BCH") .find("a") .should( "have.attr", "href", - "https://www.blockchain.com/bch/address/38wFczGqaaGLRub2U7CWeWkMuPDwhMVMRf" + "https://www.blockchain.com/bch/address/38wFczGqaaGLRub2U7CWeWkMuPDwhMVMRf", ); }); diff --git a/cypress/fixtures/proof-of-backing/backingAddresses.ts b/cypress/fixtures/proof-of-backing/backingAddresses.ts index 69ef7a003..d678d5e43 100644 --- a/cypress/fixtures/proof-of-backing/backingAddresses.ts +++ b/cypress/fixtures/proof-of-backing/backingAddresses.ts @@ -29,7 +29,7 @@ export const cakeBackingAddresses = [ }, { token: "dDOGE", - link: "https://dogechain.info/address/D7jrXDgPYck8jL9eYvRrc7Ze8n2e2Loyba", + link: "https://dogechain.info/address/9uv4fqPjSYNVNvqzbuGUMACBw67qQcLTxg", }, ]; diff --git a/src/constants/TokenBackedAddress.ts b/src/constants/TokenBackedAddress.ts index b11def5a8..f5e351eb2 100644 --- a/src/constants/TokenBackedAddress.ts +++ b/src/constants/TokenBackedAddress.ts @@ -76,8 +76,8 @@ export const TOKEN_BACKED_ADDRESS: BackedAddress = { }, DOGE: { cake: { - link: "https://dogechain.info/address/D7jrXDgPYck8jL9eYvRrc7Ze8n2e2Loyba", - address: "D7jrXDgPYck8jL9eYvRrc7Ze8n2e2Loyba", + link: "https://dogechain.info/address/9uv4fqPjSYNVNvqzbuGUMACBw67qQcLTxg", + address: "9uv4fqPjSYNVNvqzbuGUMACBw67qQcLTxg", }, }, MATIC: {