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

Add the ability to save in _SCOPE_ field data of various types (not only account_name) #114

Closed
s-medvedev opened this issue Nov 26, 2018 · 0 comments
Assignees
Milestone

Comments

@s-medvedev
Copy link
Collaborator

Some smart-contracts in their tables use other types in _SCOPE_ field instead of account_name. The following contracts are known:

  • eosio.token use symbol.name() as scope in stats table
  • golos.control use symbol_type as scope in props table

In this case _SCOPE_ field in database looks like a meaningless string (for example: ........ehgp3, ........eha4b or ......2ndl3k3).

It is necessary to add the ability to specify _SCOPE_ field type in the ABI-description and use the conversion to/from this type when saving/reading data from the database.

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