Skip to content

Commit

Permalink
Merge branch 'main' into feat(frontend)/Solana-token-menu-redirects-t…
Browse files Browse the repository at this point in the history
…o-token-explorer
  • Loading branch information
bitdivine authored Jan 22, 2025
2 parents 501c257 + 061fcb0 commit 3f7cffb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/frontend/src/env/tokens/tokens.erc20.env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { WSTETH_TOKEN } from '$env/tokens/tokens-erc20/tokens.wsteth.env';
import { XAUT_TOKEN } from '$env/tokens/tokens-erc20/tokens.xaut.env';
import type { Erc20Contract, RequiredErc20Token } from '$eth/types/erc20';
import type { EthereumNetwork } from '$eth/types/network';
import { mapAddressStartsWith0x } from '$icp-eth/utils/eth.utils';
import type { TokenId } from '$lib/types/token';

// TODO: remember to remove the ERC20 from here once the ckERC20 is implemented. Following the normal flow, the ERC20 variables should be created on a separate file.
Expand Down Expand Up @@ -112,10 +111,6 @@ export const ERC20_CONTRACTS: (Erc20Contract & { network: EthereumNetwork })[] =
...ERC20_CONTRACTS_SEPOLIA.map((contract) => ({ ...contract, network: SEPOLIA_NETWORK }))
];

export const ERC20_CONTRACTS_ADDRESSES = ERC20_CONTRACTS.map(({ address }) =>
mapAddressStartsWith0x(address).toLowerCase()
);

/**
* ERC20 which have twin tokens counterparts.
* Because we manage those with ckERC20, we describe their details statically for simplicity reason.
Expand Down

0 comments on commit 3f7cffb

Please sign in to comment.