Skip to content

Conversation

@matteenm
Copy link
Collaborator

@matteenm matteenm commented Oct 1, 2024

V4 supports native pools, so updated the initialize handler accordingly. Native token is represented by the currency address being the Zero address (0x0000...), so we check for that when populating the token's name, decimals, symbol, etc, and use the respective data from a new required nativeTokenDetails field set in chains.ts for each chain. Total supply is currently being set to 0 for native tokens, may revisit.

Base automatically changed from matteen/new-contract to main October 1, 2024 16:24
@matteenm matteenm merged commit 0a86dd7 into main Oct 1, 2024
4 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.

3 participants