Repository navigation
Add bridged E2E token to Bali 82 and 85 lists - #163
Merged
Merged
Conversation
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
approved these changes
Oct 22, 2026
Member
|
LGTM! |
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.
What
Adds the Agglayer E2E test token to the Bali ERC-20 lists.
index/bali-82/erc20.json0xCA2B03B319145447B3E4F432c17D45351198Db86index/bali-85/erc20.json0x477B04BbFcDc3097A3d878375D40523c87382978Both contracts return the same metadata on chain:
The Bali 85 entry carries
extensions.originChainId: 828282andextensions.originAddress: 0xCA2B03B319145447B3E4F432c17D45351198Db86, the conventionalready 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 andBali 85 RPC endpoints.
0x1348947e282138d8f377b467F7D9c2EB0F335d1f) returns the wrapper for theBali 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 nativetoken and no wrapped-ETH entry is added.
Notes
logoURIis set: this is a test token without a logo asset, and the schema allows the fieldto be omitted. The native ETH entries keep their existing shared asset.
index/index.jsonwas regenerated withpnpm reindex; only thebali-82andbali-85contenthashes change.
go-tokendirectorywith the E2E token present on each chain and theoriginChainId/originAddressvalues exposed on the wrapper.