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-0066d Lending Protocol #240

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

Conversation

Tapanito
Copy link

Discussion thread can be found here: #190
Development branch can be found here: TBD

@sappenin
Copy link
Collaborator

@Tapanito this PR seems ready to merge -- do you agree?

(Note that per the DRAFTS section of the CONTRIBUTING guidelines, merging does not mean endorsement or even a completed spec, but instead offers a way for spec editors to more easily edit using PRs).

@Tapanito
Copy link
Author

Tapanito commented Dec 4, 2024

Before merging, I'd like to have at least one review by an engineer to ensure everything is in order. In addition, similarly to Single Asset Vault, it is simpler/more convenient to edit a PR with various small design changes (e.g. names), rather than open a new PR for each of them. As a result, keeping a PR open allows to have a spec. that is more readily in-alignment with implementation.

@sappenin
Copy link
Collaborator

sappenin commented Dec 4, 2024

Makes sense, especially if it's more convenient. Just didn't want you (or anyone reading along) to think that merging here implies "finished product" (that's why we have a d designator, to indicate draft status).

XLS-0066d-lending-protocol/README.md Outdated Show resolved Hide resolved
XLS-0066d-lending-protocol/README.md Show resolved Hide resolved
XLS-0066d-lending-protocol/README.md Outdated Show resolved Hide resolved
XLS-0066d-lending-protocol/README.md Outdated Show resolved Hide resolved
XLS-0066d-lending-protocol/README.md Outdated Show resolved Hide resolved
XLS-0066d-lending-protocol/README.md Outdated Show resolved Hide resolved
XLS-0066d-lending-protocol/README.md Outdated Show resolved Hide resolved
XLS-0066d-lending-protocol/README.md Outdated Show resolved Hide resolved
XLS-0066d-lending-protocol/README.md Show resolved Hide resolved
XLS-0066d-lending-protocol/README.md Outdated Show resolved Hide resolved
Tapanito and others added 7 commits January 27, 2025 16:40
- Adds VaultNode to LoanBroker object to track in which owner directory of the Vaults pseudo-account the LoanBroker object is referenced.
- Adds LoanBrokerNode to Loan object to track in which owner directory of the LoanBroker object the Loan is references.
- Replaces CurrentTime to LastClosedLedger.CloseTime.
- Changes the LoanBroker.Delete transaction to automatically return any outstanding Cover to the LoanBroker.Owner.
- Adds a balance check to the LoanBrokerCoverDeposit transaction when depositing XRP.
- Adds a check to LoanBrokerCoverWithdraw to ensure the CoverAvailable does not drop below Mimimum Cover Required.
@Tapanito
Copy link
Author

Tapanito commented Jan 28, 2025 via email

@Tapanito
Copy link
Author

Tapanito commented Jan 28, 2025 via email

Copy link
Collaborator

@ximinez ximinez left a comment

Choose a reason for hiding this comment

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

Updates look good.

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.

3 participants