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

The stx-burned field refers to uSTX #71

Open
BowTiedRadone opened this issue Jul 17, 2024 · 1 comment
Open

The stx-burned field refers to uSTX #71

BowTiedRadone opened this issue Jul 17, 2024 · 1 comment

Comments

@BowTiedRadone
Copy link

Summary

I found that in the name-preorders and namespace-preorders maps, there is a field called stx-burned. However, the values inserted into these maps are actually in uSTX (microstacks). This might be confusing for users interacting with the smart contract.

Example

The maps declaration:

Inserting entries into the maps:

Suggestion

I suggest renaming stx-burned to ustx-burned or adding comments to indicate that the amount represents uSTX.

Thank you!
CC: @moodmosaic @wileyj

@Patotking12
Copy link
Collaborator

Ok, yes this can be done and implemented

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

No branches or pull requests

2 participants