Skip to content

Commit

Permalink
change default token to USDC
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-d committed Jun 21, 2024
1 parent 3b14f17 commit 390b5d8
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions web/src/config/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ export const fUSDC: Token = {
decimals: 6,
};

export const DefaultToken: Token = {
name: "SWG",
address: "0xe984f758f362d255bd96601929970cef9ff19dd7",
symbol: "S",
decimals: 18,
};

export const USDC: Token = {
name: "USD Coin",
address: "0x6437fdc89ced41941b97a9f1f8992d88718c81c5",
Expand All @@ -42,12 +35,13 @@ export const WSPN: Token = {

const allTokens: Token[] = [
fUSDC,
DefaultToken,
USDC,
WSPN,
WETH,
];

export const DefaultToken = USDC;

export const getTokenFromAddress = (address_: string): Token | undefined =>
allTokens.find(({ address }) => address === address_)

Expand Down

0 comments on commit 390b5d8

Please sign in to comment.