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

feat: pallet-loan-intents #1987

Open
mustermeiszer opened this issue Sep 3, 2024 · 0 comments
Open

feat: pallet-loan-intents #1987

mustermeiszer opened this issue Sep 3, 2024 · 0 comments
Labels
I8-enhancement An additional feature.

Comments

@mustermeiszer
Copy link
Collaborator

mustermeiszer commented Sep 3, 2024

Description

The pallet-loan-intents deals with signaling repayment intents of assets, that can later be resolved automatically by a bot.

The main use-case is described below.

  • Issuer has funds in the bank and wants to move them onchain
  • Issuer triggers a RepayIntent on Centrifuge chain - setting a permanent default MUST be possible
    • Intents can ONLY be set with Permission::Borrower for said asset
  • Issuer sends funds to dedicated account on Centrifuge chain that is constant, uniquely derived by PalletId, PoolId, LoanId
  • After funds arrive in the account, ANYBODY can call fn resolve_intent which repays from the dedicated account to the respective asset

Full Spec

Research/based on

  • Single tx workflow needs for app

What are foreseen obstacles or hurdles to overcome?

  • None
@mustermeiszer mustermeiszer added the I8-enhancement An additional feature. label Sep 3, 2024
@mustermeiszer mustermeiszer added this to the Centrifuge 1500 milestone Sep 3, 2024
@mustermeiszer mustermeiszer changed the title feat: pallet-repayments feat: pallet-loan-intents Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I8-enhancement An additional feature.
Projects
None yet
Development

No branches or pull requests

1 participant