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

Need: "get owners" RPC call #261

Closed
dexX7 opened this issue Dec 24, 2014 · 4 comments
Closed

Need: "get owners" RPC call #261

dexX7 opened this issue Dec 24, 2014 · 4 comments

Comments

@dexX7
Copy link

dexX7 commented Dec 24, 2014

This is partially touched by getsto_MP, but it might be useful to have a call to get all holders of a token explicitly.

Use case: "create a document including a list of all current shareholders" (in the case of a legit company)

I'll sign up for this task, but I'm not sure, if I get this ready within the next days due to xmas.

Related: #262

@zathras-crypto
Copy link

Sorry Xmas day so not too much in terms of response, but this one already
exists; getallbalancesforid_MP.

Merry Xmas all :)
On 25/12/2014 4:54 AM, "dexX7" [email protected] wrote:

This is partially touched by getsto_MP, but it might be useful to have a
call to get all holders of a token explicitly.

Use case: "create a document including a list of all current shareholders"
(in the case of a legit company)

Second one will be added in a minute.


Reply to this email directly or view it on GitHub
#261.

@dexX7
Copy link
Author

dexX7 commented Dec 24, 2014

D'oh, you're right actually. ;)

Merry xmas!

@dexX7 dexX7 closed this as completed Dec 24, 2014
@dexX7
Copy link
Author

dexX7 commented Dec 28, 2014

I'm reopening for the sake of a discussion. It seems to be a question of semantics: is "a list of all balances of a property" the same as "a list of all owners and their balance of a property"?

A rather significant difference is that token issuers are excluded from "owners" as per "send to owners".

Maybe getallbalancesforid_MP could be extended to have an optional include_owner parameter, but it would be pretty useless.

Or there is another call to "calculate the share" where an amount "to distrbute" could be provided and a list of holders and their "share" is returned, basically simulating a "send to owners" transaction with an arbitrary amount.

@dexX7 dexX7 reopened this Dec 28, 2014
@dexX7
Copy link
Author

dexX7 commented Jan 30, 2015

I initially had this for a Bitcoin STO in mind. I have a POC-quality refactored version of STO + Bitcoin STO in one of my private repos for some time now, so I'm going to close this. Ping me, if you decide it's worth to publish.

@dexX7 dexX7 closed this as completed Jan 30, 2015
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