Transfers when the quantity is spread over multiple security_ids #444
Unanswered
victormimo
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Wanted to follow up here since this is relevant to us from a gas savings perspective of writing to a blockchain. @JSv4 when we meet over zoom you proposed a work around using issuances I believe. Would you be able to provide a simple example of how that would look? Much appreciated! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Let's assume the scenario below.
Let's also assume the issuance objects for Bob are the same outside of quantity.
I understand that if Bob wants to transfer Alice 1100 shares, then we need to create 2 separate transfers (because transfers only have one security_id field corresponding to Bobs). One for 1000 shares and one for 100 shares, this also means that Alice will have two new Issuance events, one for 1000 and one for 100.
am I right on this logic?
Could there be a way to unify Alice's position into one for 1100 shares?
If we take a scenario where an issuer issues 1,000,000 shares to a stakeholder, it's likely that a new buyer purchases less than a million shares. This means overtime that issuance of a million shares will result in many smaller issuances since there's no way to unify positions on transfers. Even if someone buys one million shares for the exact
stock_class_id
, they will have to carry however many issuance objects there were to sum to a million.One potential solution could be to change the transfer's
security_id
field to be an array, likeresulting_security_ids
Something like.
Let me know if I'm missing something
Beta Was this translation helpful? Give feedback.
All reactions