Skip to content

Commit

Permalink
feat(ui-ux): update doge token backing address (#1888)
Browse files Browse the repository at this point in the history
  • Loading branch information
lykalabrada authored Nov 2, 2023
1 parent 9bddf19 commit 5416666
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
28 changes: 14 additions & 14 deletions cypress/e2e/pages/tokens/tokens-[symbol].spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
);
});

Expand All @@ -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",
);
});

Expand All @@ -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",
);
});

Expand All @@ -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",
);
});

Expand All @@ -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",
);
});

Expand All @@ -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",
);
});

Expand All @@ -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",
);
});

Expand Down
2 changes: 1 addition & 1 deletion cypress/fixtures/proof-of-backing/backingAddresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const cakeBackingAddresses = [
},
{
token: "dDOGE",
link: "https://dogechain.info/address/D7jrXDgPYck8jL9eYvRrc7Ze8n2e2Loyba",
link: "https://dogechain.info/address/9uv4fqPjSYNVNvqzbuGUMACBw67qQcLTxg",
},
];

Expand Down
4 changes: 2 additions & 2 deletions src/constants/TokenBackedAddress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 5416666

Please sign in to comment.