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?
Description
The
pallet-loan-intentsdeals with signaling repayment intents of assets, that can later be resolved automatically by a bot.The main use-case is described below.
RepayIntenton Centrifuge chain - setting a permanent default MUST be possibleIntents can ONLY be set withPermission::Borrowerfor said assetPalletId,PoolId,LoanIdfn resolve_intentwhich repays from the dedicated account to the respective assetFull Spec
Research/based on
What are foreseen obstacles or hurdles to overcome?