Skip to content

Add bridged E2E token to Bali 82 and 85 lists - #163

Merged
miguelmota merged 1 commit into
0xsequence:masterfrom
arnaubennassar:bali-e2e-token
Oct 22, 2026
Merged

miguelmota merged 1 commit into
0xsequence:masterfrom
arnaubennassar:bali-e2e-token

Conversation

@arnaubennassar

Copy link
Copy Markdown
Contributor

What

Adds the Agglayer E2E test token to the Bali ERC-20 lists.

Chain List Address Role
Bali 82 (EVM chain id 828282) index/bali-82/erc20.json 0xCA2B03B319145447B3E4F432c17D45351198Db86 native token
Bali 85 (EVM chain id 858585) index/bali-85/erc20.json 0x477B04BbFcDc3097A3d878375D40523c87382978 bridge wrapper

Both contracts return the same metadata on chain:

name()     "Agglayer E2E Token"
symbol()   "E2E"
decimals() 18

The Bali 85 entry carries extensions.originChainId: 828282 and
extensions.originAddress: 0xCA2B03B319145447B3E4F432c17D45351198Db86, the convention
already used for bridged tokens in this repo (Arbitrum, Polygon zkEVM).

How the pair was verified

  • name() / symbol() / decimals() were read from both contracts over the Bali 82 and
    Bali 85 RPC endpoints.
  • The Bali 85 bridge (0x1348947e282138d8f377b467F7D9c2EB0F335d1f) returns the wrapper for the
    Bali 82 token: getTokenWrappedAddress(82, 0xCA2B03B3…98Db86) →
    0x477B04BbFcDc3097A3d878375D40523c87382978. The bridge keys tokens by AggLayer network id
    (82/85), which differs from the EVM chain ids (828282/858585).
  • WETHToken() on the bridge is the zero address on both chains, so ETH bridges as the native
    token and no wrapped-ETH entry is added.

Notes

  • No logoURI is set: this is a test token without a logo asset, and the schema allows the field
    to be omitted. The native ETH entries keep their existing shared asset.
  • index/index.json was regenerated with pnpm reindex; only the bali-82 and bali-85 content
    hashes change.
  • Both lists load through go-tokendirectory with the E2E token present on each chain and the
    originChainId / originAddress values exposed on the wrapper.

The Agglayer E2E test token is native on Bali 82 and appears on Bali 85 as
the wrapper deployed by the AggLayer bridge. Metadata was read on chain:

  bali-82 0xCA2B03B319145447B3E4F432c17D45351198Db86
    name "Agglayer E2E Token", symbol "E2E", decimals 18
  bali-85 0x477B04BbFcDc3097A3d878375D40523c87382978
    name "Agglayer E2E Token", symbol "E2E", decimals 18

The wrapper entry carries extensions.originChainId/originAddress, matching
the existing convention for bridged tokens. getTokenWrappedAddress(82,
0xCA2B03B319145447B3E4F432c17D45351198Db86) on the Bali 85 bridge returns
0x477B04BbFcDc3097A3d878375D40523c87382978, and WETHToken() is zero on both
chains, so no wrapped-ETH entry is added.

index/index.json was regenerated with pnpm reindex; only the bali-82 and
bali-85 content hashes changed.
@miguelmota

Copy link
Copy Markdown
Member

LGTM!

@miguelmota
miguelmota merged commit 7914ed8 into 0xsequence:master Oct 22, 2026
1 of 2 checks passed
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.

2 participants