-
Notifications
You must be signed in to change notification settings - Fork 488
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2c44ce5
commit 98d1a2e
Showing
10 changed files
with
64 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
import type { TokenType } from 'types/api/token'; | ||
import type { NFTTokenType, TokenType } from 'types/api/token'; | ||
|
||
export const TOKEN_TYPES: Array<{ title: string; id: TokenType }> = [ | ||
{ title: 'ERC-20', id: 'ERC-20' }, | ||
export const NFT_TOKEN_TYPES: Array<{ title: string; id: NFTTokenType }> = [ | ||
{ title: 'ERC-721', id: 'ERC-721' }, | ||
{ title: 'ERC-1155', id: 'ERC-1155' }, | ||
]; | ||
|
||
export const TOKEN_TYPES: Array<{ title: string; id: TokenType }> = [ | ||
{ title: 'ERC-20', id: 'ERC-20' }, | ||
...NFT_TOKEN_TYPES, | ||
]; | ||
|
||
export const NFT_TOKEN_TYPE_IDS = NFT_TOKEN_TYPES.map(i => i.id); | ||
export const TOKEN_TYPE_IDS = TOKEN_TYPES.map(i => i.id); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters