-
Notifications
You must be signed in to change notification settings - Fork 57
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
XLS-0065d Single Asset Vault #239
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really liking the new state of the spec. Great work!
…Withdraw transaction
- **Vault**: A ledger entry for aggregating liquidity and providing this liquidity to one or more accessors. | ||
- **Asset**: The currency of a vault. It is either XRP, a [Fungible Token](https://xrpl.org/docs/concepts/tokens/fungible-tokens/) or a [Multi-Purpose Token](https://github.com/XRPLF/XRPL-Standards/tree/master/XLS-0033d-multi-purpose-tokens). | ||
- **Share**: Shares represent the depositors' portion of the vault's assets. Shares are a [Multi-Purpose Token](https://github.com/XRPLF/XRPL-Standards/tree/master/XLS-0033d-multi-purpose-tokens) created by the _pseudo-account_ of the vault. | ||
**Protocol Instance**: A separate XRP Ledger protocol requiring access to aggregated liquidity. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**Protocol Instance**: A separate XRP Ledger protocol requiring access to aggregated liquidity. | |
- **Protocol Instance**: A separate XRP Ledger protocol requiring access to aggregated liquidity. |
"Protocol Instance" is only mentioned here in this document. Is this one line necessary?
"OwnerNode": 2, | ||
"Owner": "rEXAMPLE9AbCdEfGhIjKlMnOpQrStUvWxYz", | ||
"Account": "rPseudoAcc1234567890abcdef1234567890abcdef", | ||
"Data": "This is arbitrary metadata about the vault.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't this be returned as a HEX string?
"Issuer": "rShareIssuer1234567890abcdef1234567890abcdef" | ||
}, | ||
"SharesTotal": 5000, | ||
"WithdrawalPolicy": "FIFO", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At the top it says strFirstComeFirstServe
, does it return the shortened word here?
Or it could simply return a number.
Co-authored-by: tequ <[email protected]>
Discussion thread can be found here: #192
Development branch can be found here: rippled/vault