Skip to content

Drop native-equivalent USDC from Arc token lists - #176

Merged
mihoward21 merged 1 commit into
mainfrom
drop-native-erc20-tokens
Oct 26, 2026
Merged

mihoward21 merged 1 commit into
mainfrom
drop-native-erc20-tokens

Conversation

@mihoward21

Copy link
Copy Markdown
Contributor

Description

On Arc, the USDC ERC20 at 0x3600000000000000000000000000000000000000 holds 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 from arc and arcTestnet (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?

  1. Run Splits Lite and connect to Arc Testnet.
  2. Open Split 0x557548d99010d9ffa4144ab164661fa02b883381, which holds 10 USDC.
  3. Before: two rows, 10 USDC (native) and 10 USDC (0x3600…). After: one native 10 USDC row, and Distribute works.

Other notes

  • Replaces Hide duplicate native USDC balance on Arc in Splits Kit splits-sdk#99, which hid the native row inside splits-kit. Splits Lite is the only app that uses splits-kit's balance view, so fixing the token list is enough.
  • Trade-offs:
    • USDC a Split holds in the Warehouse as 0x3600 won't show here. That only happens when another Pull Split paid it as the ERC20 from outside Splits Lite.
    • Push Splits on Arc now pay out natively from Splits Lite. A recipient contract that rejects native gets its share in the Warehouse instead.

🤖 Generated with Claude Code

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>
@splits-bot-testing

Copy link
Copy Markdown
Status Commit Endpoint
Updating 191dd3b9.lite.testing.splits.org

@mihoward21
mihoward21 requested a review from r0ohafza October 26, 2026 19:39
@mihoward21
mihoward21 marked this pull request as ready for review October 26, 2026 19:39
@mihoward21
mihoward21 requested a review from a team as a code owner October 26, 2026 19:39
@mihoward21
mihoward21 merged commit d01d65a into main Oct 26, 2026
4 of 5 checks passed
@mihoward21
mihoward21 deleted the drop-native-erc20-tokens branch October 26, 2026 22:00
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.

3 participants