Repository navigation
Drop native-equivalent USDC from Arc token lists - #176
Merged
Merged
Conversation
On Arc, the USDC ERC20 at 0x3600... holds the same funds as the native balance, so listing it made DisplaySplit show USDC twice. Celo already leaves out CELO for the same reason. Add comments and a README note so these tokens aren't added back. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
r0ohafza
approved these changes
Oct 26, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
On Arc, the USDC ERC20 at
0x3600000000000000000000000000000000000000holds the same funds as the native balance, so listing it makes the Split balances show USDC twice, and either row pays out the same funds. Celo already leaves CELO out of its list for the same reason. This removes USDC from the Arc lists and adds notes so neither token is added back.Changes made
src/constants/erc20.ts: removes USDC fromarcandarcTestnet(EURC stays). Adds a comment on Arc and Celo naming the token not to add.README.md: one line in the token guidelines saying not to add an ERC20 that holds the same funds as the network's native token.How has this been tested?
0x557548d99010d9ffa4144ab164661fa02b883381, which holds 10 USDC.10 USDC(native) and10 USDC(0x3600…). After: one native10 USDCrow, and Distribute works.Other notes
0x3600won't show here. That only happens when another Pull Split paid it as the ERC20 from outside Splits Lite.🤖 Generated with Claude Code