AwaitingApproval
The AwaitingApproval phase begins automatically when the vault reaches full funding. The Pool Manager must now review and approve the loan for disbursement.
What Happens
The vault holds the full principal amount deposited by investors
The Pool Manager reviews the vault and confirms readiness
The manager calls
approve_and_disburseto release funds to the borrower
Approval & Disbursement
When the manager calls approve_and_disburse(caller):
The full funded amount is transferred to the borrower's address
The EMI (Equated Monthly Instalment) is calculated based on the principal, interest rate, and loan term
The first payment due date is set to 30 days from disbursement
The outstanding principal is initialised to the full principal amount
The missed payments counter is set to 0
The vault transitions to Active
Only the vault's Pool Manager can call approve_and_disburse. This is verified on-chain through the manager address stored in the vault configuration.
Approval Deadline
If the vault was created with an approval_deadline, the vault can be cancelled if the manager fails to approve by the deadline.
Anyone can call
check_approval_expiry()after the deadline passesAll investor deposits are refunded
The manager's locked collateral is released
The vault transitions directly to Finalized
This protects investors from having their capital locked indefinitely in a funded but unapproved vault.
Relevant Functions
approve_and_disburse(caller)
Manager
Approve loan and disburse to borrower
check_approval_expiry()
Anyone
Cancel vault if approval deadline passed
Last updated