-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(macro): Update token macro and fix address formatting
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.
- Loading branch information
Showing
3 changed files
with
50 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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