-
Notifications
You must be signed in to change notification settings - Fork 29
feat: arb1 uniswap/coingecko mapped lists #393
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
Conversation
76633ca to
ca0fac8
Compare
| // Checks whether there's at least 10 units of given token at destination address | ||
| // This also filters out addresses that are not deployed, since the response in this case is `0x` | ||
| const isValidTokenAddress = +res[1] > 10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is how we check whether the token exists at destination
| ) | ||
| .then((results) => parseBridgedAddressesResults(results, fetchBridgedAddressesCalls, tokensToReplace, chainId)) | ||
|
|
||
| const tokens = await multicall.callStatic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aha! nice you check not only code, but you checked for the total supply which one of the few mandatory in ERC20
Summary
mainnettoGnosis chainto also mapmainnettoArbitrum oneTo test