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

feat(widget): spectral token #2640

Merged
merged 1 commit into from
May 15, 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
14 changes: 14 additions & 0 deletions packages/widget/src/constants/bridgeMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,13 @@ export const BRIDGE_MAP = {
destination: ['VSTA'],
swappable: [],
},
'0xAdF7C35560035944e805D98fF17d58CDe2449389': {
decimals: 18,
symbol: 'SPEC',
origin: ['SPEC'],
destination: ['SPEC'],
swappable: [],
},
'0xBAac2B4491727D78D2b78815144570b9f2Fe8899': {
decimals: 18,
symbol: 'DOG',
Expand Down Expand Up @@ -1233,6 +1240,13 @@ export const BRIDGE_MAP = {
'0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA',
],
},
'0x96419929d7949D6A801A6909c145C8EEf6A40431': {
decimals: 18,
symbol: 'SPEC',
origin: ['SPEC'],
destination: ['SPEC'],
swappable: [],
},
'0xEB466342C4d449BC9f53A865D5Cb90586f405215': {
decimals: 6,
symbol: 'axlUSDC',
Expand Down
19 changes: 19 additions & 0 deletions packages/widget/src/constants/bridgeable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1360,3 +1360,22 @@ export const USDB: BridgeableToken = {
imgUrl:
'https://45a97b3d.sanguine-fe.pages.dev/_next/static/media/usdb.33190604.svg',
}

export const SPECTRAL: BridgeableToken = {
priorityRank: 600,
addresses: {
[CHAINS.ETHEREUM.id]: '0xAdF7C35560035944e805D98fF17d58CDe2449389',
[CHAINS.BASE.id]: '0x96419929d7949D6A801A6909c145C8EEf6A40431',
},
decimals: {
[CHAINS.ETHEREUM.id]: 18,
[CHAINS.BASE.id]: 18,
},
symbol: 'SPEC',
name: 'Spectral Token',
swapableType: 'SPEC',
color: 'blue',
routeSymbol: 'SPEC',
imgUrl:
'https://105bc697.sanguine-fe.pages.dev/_next/static/media/spectral.6d51750c.svg',
}
1 change: 1 addition & 0 deletions packages/widget/src/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ export declare const SUSD: BridgeableToken
export declare const SYN: BridgeableToken
export declare const SYNFRAX: BridgeableToken
export declare const SYNJEWEL: BridgeableToken
export declare const SPECTRAL: BridgeableToken
export declare const UNIDX: BridgeableToken
export declare const USDB: BridgeableToken
export declare const USDBC: BridgeableToken
Expand Down
Loading