Skip to content

Commit

Permalink
Add SPECTRAL token support
Browse files Browse the repository at this point in the history
  • Loading branch information
bigboydiamonds committed May 14, 2024
1 parent 0074c21 commit 18f2022
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
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

0 comments on commit 18f2022

Please sign in to comment.