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

Extend assetlist schema with optional type_asset field #27

Merged
merged 2 commits into from
Nov 17, 2023

Conversation

besated
Copy link
Contributor

@besated besated commented Nov 16, 2023

This PR introduces an optional field to the assetlist schema, type_asset. This field allows us to differentiate between various token types such as sdk.coin, ics20, and cw20. This field already exists in the Cosmo's chain registry.

These changes aim to improve the classification and management of different token types within our system, ensuring it remains adaptable and robust. The inclusion of this field allows for more precise identification and handling of these token types in our processes.

},
"type_asset": {
"type": "string",
"enum": ["sdk.coin", "cw20", "erc20", "ics20"],
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we add token factory here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Tokenfactory denoms are actually just sdk.Coins, so I think it should be categorized as sdk.coin instead of a separate type

@besated besated merged commit f71a5ed into main Nov 17, 2023
1 check passed
@besated besated deleted the feat/add-type-asset branch November 17, 2023 00: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