Skip to content

Fix: accept any ERC20. Basic Check#15

Open
kkolge wants to merge 1 commit into
dewdrop-labs:mainfrom
kkolge:bugfix-supportAnyERC20
Open

Fix: accept any ERC20. Basic Check#15
kkolge wants to merge 1 commit into
dewdrop-labs:mainfrom
kkolge:bugfix-supportAnyERC20

Conversation

@kkolge

@kkolge kkolge commented Mar 13, 2025

Copy link
Copy Markdown

Added a basic check for validating if the given address is ERC20 token.
As no direct method exists, the address is cast to IERC20 interface and some basic functions are executed.
If the function calls are successful, it is assumed that the address is a valid ERC20 token

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant