Skip to content

feat: pallet-loan-intents  #1987

@mustermeiszer

Description

@mustermeiszer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions