Skip to content

Commit

Permalink
fix: add CZKT default tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
maxklenk committed Feb 17, 2023
1 parent 8514955 commit df967ac
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/coins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ const basicCoins: BasicCoin[] = [
address: '0x0000000000000000000000000000000000000000',
decimals: 18,
},
[ChainId.CZKT]: {
address: '0x0000000000000000000000000000000000000000',
decimals: 18,
},
},
},
// > MATIC
Expand Down Expand Up @@ -709,6 +713,11 @@ const basicCoins: BasicCoin[] = [
address: '0x6d4dd09982853f08d9966ac3ca4eb5885f16f2b2',
decimals: 6,
},
[ChainId.CZKT]: {
address: '0x964FF70695da981027c81020B1c58d833D49A640',
decimals: 6,
name: 'ConsenSys USD Coin',
},
// 42, 0xb7a4f3e9097c08da09517b5ab877f7a917224ede, 6
},
},
Expand Down Expand Up @@ -952,6 +961,10 @@ const basicCoins: BasicCoin[] = [
address: '0x4200000000000000000000000000000000000006',
decimals: 18,
},
[ChainId.CZKT]: {
address: '0x2C1b868d6596a18e32E61B901E4060C872647b6C',
decimals: 18,
},
},
},

Expand Down Expand Up @@ -1615,6 +1628,17 @@ export const wrappedTokens: { [ChainId: string]: Token } = {
logoURI:
'https://zapper.fi/images/networks/binance-smart-chain/0x0000000000000000000000000000000000000000.png',
},
[ChainId.CZKT]: {
// https://explorer.prealpha.zkevm.consensys.net/address/0x2C1b868d6596a18e32E61B901E4060C872647b6C
address: '0x2C1b868d6596a18e32E61B901E4060C872647b6C',
symbol: 'WETH',
decimals: 18,
chainId: ChainId.CZKT,
coinKey: CoinKey.WETH,
name: 'WETH',
logoURI:
'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
},
}

export const findDefaultCoin = (coinKey: CoinKey): Coin => {
Expand Down

0 comments on commit df967ac

Please sign in to comment.