Skip to content

Commit

Permalink
rmpasta
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanmino committed Sep 26, 2024
1 parent f73756d commit c9b6bcb
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions src/core/resources/assets/externalToken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,35 +22,11 @@ import {
export const EXTERNAL_TOKEN_CACHE_TIME = 1000 * 60 * 60 * 24; // 24 hours
export const EXTERNAL_TOKEN_STALE_TIME = 1000 * 60; // 1 minute

// need to keep these queried tokens up to date
// ETH_ADDRESS,
// MATIC_MAINNET_ADDRESS,
// BNB_MAINNET_ADDRESS,
// OP_ADDRESS

// Types
type ExternalToken = Pick<
Token,
'decimals' | 'iconUrl' | 'name' | 'networks' | 'symbol' | 'price'
>;
// export type FormattedExternalAsset = ExternalToken & {
// address: string;
// icon_url?: string;
// isNativeAsset: boolean;
// native: {
// change: string;
// price: {
// amount: string;
// display: string;
// };
// };
// networks?: {
// [chainId in ChainId]?: {
// address: chainId extends ChainId.mainnet ? AddressOrEth : Address;
// decimals: number;
// };
// };
// };

// Query Types for External Token
type ExternalTokenArgs = {
Expand Down

0 comments on commit c9b6bcb

Please sign in to comment.