Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(macro): Update token macro and fix address formatting #52

Merged
merged 1 commit into from
Mar 3, 2024

Conversation

shuhuiluo
Copy link
Collaborator

The token macro in src/entities/token.rs has been updated to create tokens with more levels of specificity based on the passed arguments. This includes creating tokens with only chain_id, address, and decimals, as well as tokens with additional symbol and name parameters. The address formatting in src/entities/weth9.rs is modified to remove leading zeroes for clearer representation. Also, the package is bumped to version 0.17.1 in Cargo.toml due to these changes.

The token macro in `src/entities/token.rs` has been updated to create tokens with more levels of specificity based on the passed arguments. This includes creating tokens with only chain_id, address, and decimals, as well as tokens with additional symbol and name parameters. The address formatting in `src/entities/weth9.rs` is modified to remove leading zeroes for clearer representation. Also, the package is bumped to version `0.17.1` in `Cargo.toml` due to these changes.
@shuhuiluo shuhuiluo requested a review from malik672 March 3, 2024 07:45
@shuhuiluo shuhuiluo self-assigned this Mar 3, 2024
@malik672 malik672 merged commit 61743f6 into master Mar 3, 2024
2 checks passed
@malik672 malik672 deleted the feat(macro) branch March 3, 2024 10:35
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