Skip to content

Commit

Permalink
rewards refreshed
Browse files Browse the repository at this point in the history
  • Loading branch information
sameepsi committed Feb 16, 2022
1 parent 52bbbaf commit 1012c3a
Show file tree
Hide file tree
Showing 5 changed files with 755 additions and 644 deletions.
18 changes: 18 additions & 0 deletions src/components/CurrencyLogo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,24 @@ export const getTokenLogoURL = (address: string) => {
uri = 'https://i.ibb.co/6FDxmPG/milk-coin.png'
}

if (address?.toLowerCase() === '0x4287F07CBE6954f9F0DecD91d0705C926d8d03A4'.toLowerCase()) {
uri = 'https://assets.coingecko.com/coins/images/23266/small/93mryokp_400x400.png?1643413792'
}if (address?.toLowerCase() === '0x1659fFb2d40DfB1671Ac226A0D9Dcc95A774521A'.toLowerCase()) {
uri = 'https://assets.coingecko.com/coins/images/18283/small/logo.png?1631366443'
}if (address?.toLowerCase() === '0x2bC07124D8dAc638E290f401046Ad584546BC47b'.toLowerCase()) {
uri = 'https://assets.coingecko.com/coins/images/14134/small/tower-circular-1000.png?1632195469'
}if (address?.toLowerCase() === '0xD5d86FC8d5C0Ea1aC1Ac5Dfab6E529c9967a45E9'.toLowerCase()) {
uri = 'https://assets.coingecko.com/coins/images/22112/small/ZyBrRgfO.jpg?1640842284'
}if (address?.toLowerCase() === '0x8d520c8E66091cfD6743fe37Fbe3A09505616C4b'.toLowerCase()) {
uri = 'https://assets.coingecko.com/coins/images/21294/small/brave_ZxsjzUc8xn.png?1638874098'
}if (address?.toLowerCase() === '0xA863246658DEA34111C3C1DceDb2cfd5d6067334'.toLowerCase()) {
uri = 'https://assets.coingecko.com/coins/images/15595/small/metis.PNG?1621298076'
}if (address?.toLowerCase() === '0xE8A05E85883F9663b18a38d7aa89853deaba56e3'.toLowerCase()) {
uri = 'https://assets.coingecko.com/coins/images/18515/small/volt.png?1632219924'
}if (address?.toLowerCase() === '0x02649C1Ff4296038De4b9bA8F491b42b940A8252'.toLowerCase()) {
uri = 'https://assets.coingecko.com/coins/images/22535/small/17200.png?1642023748'
}

if (address?.toLowerCase() === '0xB35fcBCF1fD489fCe02Ee146599e893FDCdC60e6'.toLowerCase()) {
uri = 'https://assets.coingecko.com/coins/images/17438/small/derace-logo-black-coingecko.png?1627656907'
}
Expand Down
12 changes: 11 additions & 1 deletion src/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,16 @@ export const CXDOGE = new Token(ChainId.MATIC, '0x9Bd9aD490dD3a52f096D229af4483b
export const CXETH = new Token(ChainId.MATIC, '0xfe4546feFe124F30788c4Cc1BB9AA6907A7987F9', 18, 'cxETH', 'CelsiusX Wrapped ETH')
export const MILK = new Token(ChainId.MATIC, '0x1599fE55Cda767b1F631ee7D414b41F5d6dE393d', 18, 'MILK', 'Milk')


export const TRACE = new Token(ChainId.MATIC, '0x4287F07CBE6954f9F0DecD91d0705C926d8d03A4', 18, 'TRACE', 'Trace Network')
export const DLYCOP = new Token(ChainId.MATIC, '0x1659fFb2d40DfB1671Ac226A0D9Dcc95A774521A', 18, 'DLYCOP', 'Daily COP')
export const TOWER = new Token(ChainId.MATIC, '0x2bC07124D8dAc638E290f401046Ad584546BC47b', 18, 'TOWER', 'TOWER')
export const WRLD = new Token(ChainId.MATIC, '0xD5d86FC8d5C0Ea1aC1Ac5Dfab6E529c9967a45E9', 18, 'WRLD', 'NFT Worlds')
export const WMETIS = new Token(ChainId.MATIC, '0xA863246658DEA34111C3C1DceDb2cfd5d6067334', 18, 'WMETIS', 'Wrapped METIS')
export const VOLT = new Token(ChainId.MATIC, '0xE8A05E85883F9663b18a38d7aa89853deaba56e3', 18, 'VOLT', 'VOLTAGE')
export const COT = new Token(ChainId.MATIC, '0x8d520c8E66091cfD6743fe37Fbe3A09505616C4b', 18, 'COT', 'CosplayToken')
export const XGEM = new Token(ChainId.MATIC, '0x02649C1Ff4296038De4b9bA8F491b42b940A8252', 18, 'XGEM', 'Exchange Genesis Ethlas Medium')

//export const TT = new Token(ChainId.MATIC, '0x16887befea6772175240a8b3aa797c460f80a08e', 18, 'TT', 'Test Token')
export const MATIC = WETH[ChainId.MATIC];
// TODO this is only approximate, it's actually based on blocks
Expand Down Expand Up @@ -530,4 +540,4 @@ export const MIN_ETH: JSBI = JSBI.exponentiate(JSBI.BigInt(10), JSBI.BigInt(16))
export const BETTER_TRADE_LINK_THRESHOLD = new Percent(JSBI.BigInt(75), JSBI.BigInt(10000))

// the Uniswap Default token list lives here
export const DEFAULT_TOKEN_LIST_URL = 'https://unpkg.com/[email protected].23/build/quickswap-default.tokenlist.json'
export const DEFAULT_TOKEN_LIST_URL = 'https://unpkg.com/[email protected].25/build/quickswap-default.tokenlist.json'
2 changes: 1 addition & 1 deletion src/constants/lists.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// the Quickswap Default token list lives here
export const DEFAULT_TOKEN_LIST_URL = 'https://unpkg.com/[email protected].23/build/quickswap-default.tokenlist.json'
export const DEFAULT_TOKEN_LIST_URL = 'https://unpkg.com/[email protected].25/build/quickswap-default.tokenlist.json'

export const DEFAULT_LIST_OF_LISTS: string[] = [
DEFAULT_TOKEN_LIST_URL
Expand Down
2 changes: 1 addition & 1 deletion src/state/lists/reducer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ describe('list reducer', () => {
store.dispatch(removeList('fake-url'))
expect(store.getState()).toEqual({
byUrl: {},
selectedListUrl: 'https://unpkg.com/[email protected].23/build/quickswap-default.tokenlist.json'
selectedListUrl: 'https://unpkg.com/[email protected].25/build/quickswap-default.tokenlist.json'
})
})
})
Expand Down
Loading

0 comments on commit 1012c3a

Please sign in to comment.