Skip to content

Commit

Permalink
fix: Change totalCake to totalTX8
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyentrannhan committed Nov 22, 2021
1 parent 8cc1ad3 commit 91e88d3
Show file tree
Hide file tree
Showing 126 changed files with 4,275 additions and 4,275 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ body:
required: true
- type: textarea
attributes:
label: How does this feature benefit PancakeSwap users and CAKE holders?
label: How does this feature benefit PancakeSwap users and TX8 holders?
description: Explain how this feature will be beneficial for the PancakeSwap community and ecosystem.
validations:
required: true
Expand Down
12 changes: 6 additions & 6 deletions cypress/integration/exchange/add-liquidity.test.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
describe('Add Liquidity', () => {
it('loads the two correct tokens', () => {
cy.visit('/add/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82/0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56')
cy.get('#add-liquidity-input-tokena').should('contain.text', 'CAKE')
cy.get('#add-liquidity-input-tokena').should('contain.text', 'TX8')
cy.get('#add-liquidity-input-tokenb').should('contain.text', 'BUSD')
})

it('loads the BNB and tokens', () => {
cy.visit('/add/BNB/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82')
cy.get('#add-liquidity-input-tokena').should('contain.text', 'BNB')
cy.get('#add-liquidity-input-tokenb').should('contain.text', 'CAKE')
cy.get('#add-liquidity-input-tokenb').should('contain.text', 'TX8')
})

it('loads the WBNB and tokens', () => {
cy.visit('/add/0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82')
cy.get('#add-liquidity-input-tokena').should('contain.text', 'WBNB')
cy.get('#add-liquidity-input-tokenb').should('contain.text', 'CAKE')
cy.get('#add-liquidity-input-tokenb').should('contain.text', 'TX8')
})

it('does not crash if BNB is duplicated', () => {
Expand All @@ -25,14 +25,14 @@ describe('Add Liquidity', () => {

it('does not crash if address is duplicated', () => {
cy.visit('/add/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82')
cy.get('#add-liquidity-input-tokena').should('contain.text', 'CAKE')
cy.get('#add-liquidity-input-tokenb').should('not.contain.text', 'CAKE')
cy.get('#add-liquidity-input-tokena').should('contain.text', 'TX8')
cy.get('#add-liquidity-input-tokenb').should('not.contain.text', 'TX8')
})

it('token not in storage is loaded', () => {
cy.visit('/add/0xD74b782E05AA25c50e7330Af541d46E18f36661C/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82')
cy.get('#add-liquidity-input-tokena').should('contain.text', 'QUACK')
cy.get('#add-liquidity-input-tokenb').should('contain.text', 'CAKE')
cy.get('#add-liquidity-input-tokenb').should('contain.text', 'TX8')
})

it('single token can be selected', () => {
Expand Down
12 changes: 6 additions & 6 deletions cypress/integration/exchange/remove-liquidity.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ describe('Remove Liquidity', () => {
it('bnb-cake remove', () => {
cy.visit('/remove/BNB/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82')
cy.get('#remove-liquidity-tokena-symbol').should('contain.text', 'BNB')
cy.get('#remove-liquidity-tokenb-symbol').should('contain.text', 'CAKE')
cy.get('#remove-liquidity-tokenb-symbol').should('contain.text', 'TX8')
})

it('cake-bnb remove', () => {
cy.visit('/remove/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82/BNB')
cy.get('#remove-liquidity-tokena-symbol').should('contain.text', 'CAKE')
cy.get('#remove-liquidity-tokena-symbol').should('contain.text', 'TX8')
cy.get('#remove-liquidity-tokenb-symbol').should('contain.text', 'BNB')
})

it('loads the two correct tokens', () => {
cy.visit('/remove/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82/0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56')
cy.get('#remove-liquidity-tokena-symbol').should('contain.text', 'CAKE')
cy.get('#remove-liquidity-tokena-symbol').should('contain.text', 'TX8')
cy.get('#remove-liquidity-tokenb-symbol').should('contain.text', 'BUSD')
})

Expand All @@ -33,13 +33,13 @@ describe('Remove Liquidity', () => {

it('does not crash if token is duplicated', () => {
cy.visit('/remove/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82')
cy.get('#remove-liquidity-tokena-symbol').should('contain.text', 'CAKE')
cy.get('#remove-liquidity-tokenb-symbol').should('contain.text', 'CAKE')
cy.get('#remove-liquidity-tokena-symbol').should('contain.text', 'TX8')
cy.get('#remove-liquidity-tokenb-symbol').should('contain.text', 'TX8')
})

it('token not in storage is loaded', () => {
cy.visit('/remove/0xD74b782E05AA25c50e7330Af541d46E18f36661C/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82')
cy.get('#remove-liquidity-tokena-symbol').should('contain.text', 'QUACK')
cy.get('#remove-liquidity-tokenb-symbol').should('contain.text', 'CAKE')
cy.get('#remove-liquidity-tokenb-symbol').should('contain.text', 'TX8')
})
})
4 changes: 2 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
<title>PancakeSwap</title>
<meta
name="description"
content="Cheaper and faster than Uniswap? Discover PancakeSwap, the leading DEX on Binance Smart Chain (BSC) with the best farms in DeFi and a lottery for CAKE."
content="Cheaper and faster than Uniswap? Discover PancakeSwap, the leading DEX on Binance Smart Chain (BSC) with the best farms in DeFi and a lottery for TX8."
/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5, minimum-scale=1" />
<meta name="theme-color" content="#1FC7D4" />
<meta name="twitter:image" content="https://pancakeswap.finance/images/hero.png" />
<meta
name="twitter:description"
content="The most popular AMM on BSC! Earn CAKE through yield farming or win it in the Lottery, then stake it in Syrup Pools to earn more tokens! Initial Farm Offerings (new token launch model pioneered by PancakeSwap), NFTs, and more, on a platform you can trust."
content="The most popular AMM on BSC! Earn TX8 through yield farming or win it in the Lottery, then stake it in Syrup Pools to earn more tokens! Initial Farm Offerings (new token launch model pioneered by PancakeSwap), NFTs, and more, on a platform you can trust."
/>
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="🥞 PancakeSwap - A next evolution DeFi exchange on Binance Smart Chain (BSC)" />
Expand Down
Loading

0 comments on commit 91e88d3

Please sign in to comment.