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

Native Tokens (NTs) #5

Closed
4 of 7 tasks
PaulRBerg opened this issue Sep 22, 2023 · 3 comments · Fixed by #155
Closed
4 of 7 tasks

Native Tokens (NTs) #5

PaulRBerg opened this issue Sep 22, 2023 · 3 comments · Fixed by #155
Assignees
Labels
effort: epic Multi-stage task that may require multiple PRs. priority: 0 Do this first before everything else. This is critical and nothing works without this. type: feature New feature or request. work: complex Probe-sense-respond. The relationship between cause and effect can only be perceived in retrospect.
Milestone

Comments

@PaulRBerg
Copy link
Member

PaulRBerg commented Sep 22, 2023

Task

  • Methods for querying, increasing, and decreasing the token balances
  • Refactor AccountInfo by replacing the balance field with a balances field of type HashMap.
  • New token_values hash map field in all transaction types
  • Tests

It is worth noting that this change will have a great many knock-on effects throughout the code base.

Subtasks

References

@PaulRBerg PaulRBerg self-assigned this Sep 22, 2023
@PaulRBerg PaulRBerg mentioned this issue Sep 27, 2023
3 tasks
@PaulRBerg PaulRBerg changed the title Multiple native assets Multiple native assets (MNAs) Sep 29, 2023
@PaulRBerg PaulRBerg added effort: epic Multi-stage task that may require multiple PRs. work: complex Probe-sense-respond. The relationship between cause and effect can only be perceived in retrospect. priority: 0 Do this first before everything else. This is critical and nothing works without this. type: feature New feature or request. and removed priority0 labels Jan 1, 2024
@IaroslavMazur IaroslavMazur self-assigned this Mar 2, 2024
@PaulRBerg PaulRBerg added this to the Genesis milestone Apr 15, 2024
@PaulRBerg PaulRBerg changed the title Multiple native assets (MNAs) Multiple Native Tokens (MNTs) May 15, 2024
@PaulRBerg
Copy link
Member Author

Just a heads-up @IaroslavMazur that we renamed MNAs to MNTs (Multiple Native Tokens) based on the results of our recent poll:

#131

This was referenced May 17, 2024
This was referenced May 24, 2024
@PaulRBerg PaulRBerg changed the title Multiple Native Tokens (MNTs) Native Tokens (NTs) May 28, 2024
@IaroslavMazur
Copy link
Member

@PaulRBerg, can we pretend that the #7, #8, #9 and #74 tasks refer to the abstract functionality (e.g. the ability to interogate one's token balance), instead of the concrete implementation (e.g. the BALANCEOF opcode) - or should we open separate tasks/issues that mention the Precompile approach explicitly?

For the sake of simplicity, we could do the former (i.e. pretention) - and close the existing tasks when #155 is integrated.

@PaulRBerg
Copy link
Member Author

Yeah let's keep the existing issues and close them when #155 is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort: epic Multi-stage task that may require multiple PRs. priority: 0 Do this first before everything else. This is critical and nothing works without this. type: feature New feature or request. work: complex Probe-sense-respond. The relationship between cause and effect can only be perceived in retrospect.
Projects
None yet
2 participants