Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add POOL and SNX tokens #796

Merged
merged 1 commit into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions shared/src/assets/svg/tokens/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ import MaticLogo from './matic.svg';
import MimLogo from './mim.svg';
import OpLogo from './op.svg';
import PerpLogo from './perp.svg';
import PoolTogetherLogo from './pooltogether.svg';
import RaiLogo from './rai.svg';
import RplLogo from './rpl.svg';
import SnxLogo from './snx.svg';
import TribeLogo from './tribe.svg';
import UniLogo from './uni.svg';
import UnknownTokenLogo from './unknown_token.svg';
Expand All @@ -44,6 +46,8 @@ export {
MaticLogo,
OpLogo,
PerpLogo,
PoolTogetherLogo,
SnxLogo,
UsdcLogo,
WbtcLogo,
WethLogo,
Expand Down
10 changes: 10 additions & 0 deletions shared/src/assets/svg/tokens/pooltogether.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions shared/src/assets/svg/tokens/snx.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions shared/src/data/TokenData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ import {
MimLogo,
OpLogo,
PerpLogo,
PoolTogetherLogo,
RplLogo,
SnxLogo,
UniLogo,
UsdcLogo,
UsdtLogo,
Expand Down Expand Up @@ -256,6 +258,24 @@ const WSTETH_OPTIMISM = new Token(
WstEthLogo
);

const POOLTOGETHER_OPTIMISM = new Token(
optimism.id,
'0x395ae52bb17aef68c2888d941736a71dc6d4e125',
18,
'POOL',
'PoolTogether',
PoolTogetherLogo
);

const SNX_OPTIMISM = new Token(
optimism.id,
'0x8700daec35af8ff88c16bdf0418774cb3d7599b4',
18,
'SNX',
'Synthetix Network Token',
SnxLogo
);

const DAI_ARBITRUM = new Token(
arbitrum.id,
'0xda10009cbd5d07dd0cecc66161fc93d7c9000da1',
Expand Down Expand Up @@ -395,6 +415,8 @@ const TOKEN_DATA: { [chainId: number]: { [address: Address]: Token } } = {
[LYRA_OPTIMISM.address]: LYRA_OPTIMISM,
[OP_OPTIMISM.address]: OP_OPTIMISM,
[PERP_OPTIMISM.address]: PERP_OPTIMISM,
[POOLTOGETHER_OPTIMISM.address]: POOLTOGETHER_OPTIMISM,
[SNX_OPTIMISM.address]: SNX_OPTIMISM,
[UNI_OPTIMISM.address]: UNI_OPTIMISM,
[USDC_OPTIMISM.address]: USDC_OPTIMISM,
[USDT_OPTIMISM.address]: USDT_OPTIMISM,
Expand Down
Loading