Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SKALE Chain Token Check Utility #56

Closed
TheGreatAxios opened this issue Jan 19, 2023 · 0 comments · Fixed by #57
Closed

SKALE Chain Token Check Utility #56

TheGreatAxios opened this issue Jan 19, 2023 · 0 comments · Fixed by #57
Assignees
Labels
feature New feature or request

Comments

@TheGreatAxios
Copy link
Member

Describe the Feature

  • Function in the Utility Package to see if token is ERC20
  • ERC721 & ERC1155 Checks will come after

Code Example

/// @function checkIsERC20
utils.checkIsERC20(...args: Args);

type Args {
   address: `0x${string}`;
   chainName: string;
   mainnet: boolean; // Defaults to True
   swiftCheck: boolean; // Defaults to True -> If False, check BlockScout

}
@TheGreatAxios TheGreatAxios added the feature New feature or request label Jan 19, 2023
@TheGreatAxios TheGreatAxios self-assigned this Jan 19, 2023
@TheGreatAxios TheGreatAxios linked a pull request Jan 19, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: Completed
Development

Successfully merging a pull request may close this issue.

1 participant