Skip to content

feat(statics): add new batch of tokens #6150

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

Merged
merged 1 commit into from
May 20, 2025
Merged

feat(statics): add new batch of tokens #6150

merged 1 commit into from
May 20, 2025

Conversation

hrishikeshjain
Copy link
Contributor

@hrishikeshjain hrishikeshjain commented May 20, 2025

This pull request introduces support for a new TRON-based token, USD1, by adding it to the UnderlyingAsset enum and integrating it into the relevant coin mappings. The changes ensure that USD1 is recognized and usable across various contexts in the codebase.

Additions for USD1 Token Support:

  • Underlying Asset Enum Update:

    • Added 'trx:usd1' to the UnderlyingAsset enum in modules/statics/src/base.ts.
  • Coin Mapping Updates:

    • Added a new TRON token definition for USD1 in the coins mapping in modules/statics/src/coins.ts. This includes its unique identifier, symbol, decimal precision, and associated address.
    • Added an ofcTronToken entry for USD1 to the ofcCoins mapping in modules/statics/src/coins/ofcCoins.ts. This ensures USD1 is supported as an off-chain token.TICKET: COIN-4153

@hrishikeshjain hrishikeshjain marked this pull request as ready for review May 20, 2025 07:54
@hrishikeshjain hrishikeshjain requested review from a team as code owners May 20, 2025 07:54
Copy link
Contributor

@mohitkh7 mohitkh7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@hrishikeshjain hrishikeshjain merged commit f74eb46 into master May 20, 2025
11 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