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

XLS-0065d Single Asset Vault #239

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

Tapanito
Copy link

Discussion thread can be found here: #192
Development branch can be found here: rippled/vault

Copy link
Contributor

@thejohnfreeman thejohnfreeman left a 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!

XLS-0065d-single-asset-vault/README.md Show resolved Hide resolved
XLS-0065d-single-asset-vault/README.md Outdated Show resolved Hide resolved
XLS-0065d-single-asset-vault/README.md Outdated Show resolved Hide resolved
XLS-0065d-single-asset-vault/README.md Outdated Show resolved Hide resolved
XLS-0065d-single-asset-vault/README.md Outdated Show resolved Hide resolved
XLS-0065d-single-asset-vault/README.md Outdated Show resolved Hide resolved
XLS-0065d-single-asset-vault/README.md Outdated Show resolved Hide resolved
- **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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
**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?

XLS-0065d-single-asset-vault/README.md Outdated Show resolved Hide resolved
XLS-0065d-single-asset-vault/README.md Outdated Show resolved Hide resolved
XLS-0065d-single-asset-vault/README.md Outdated Show resolved Hide resolved
"OwnerNode": 2,
"Owner": "rEXAMPLE9AbCdEfGhIjKlMnOpQrStUvWxYz",
"Account": "rPseudoAcc1234567890abcdef1234567890abcdef",
"Data": "This is arbitrary metadata about the vault.",
Copy link
Contributor

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",
Copy link
Contributor

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.

XLS-0065d-single-asset-vault/README.md Show resolved Hide resolved
XLS-0065d-single-asset-vault/README.md Show resolved Hide resolved
XLS-0065d-single-asset-vault/README.md Show resolved Hide resolved
@Bronek Bronek mentioned this pull request Dec 17, 2024
13 tasks
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

Successfully merging this pull request may close these issues.

4 participants