Testing Scenarios
This document outlines the test flows for various scenarios.
1. Standard Loan Process (Uncovered)
Mint Portfolio: Create a new portfolio for the loan.
Mint Loan Token: Issue loan tokens associated with the loan.
Create Lender Blueprint: Establish the blueprint for the lender.
Set Loan Information: Define the terms and details of the loan.
Supply Collateral: Provide collateral against the loan.
Borrow Debt: Execute the borrowing process against the supplied collateral.
Repay Debt: Repay the borrowed amount.
Withdraw Collateral: Withdraw the collateral post-loan repayment.
2. Foreclosure Scenario (Uncovered)
Mint Portfolio: Create a new portfolio for the loan.
Mint Loan Token: Issue loan tokens associated with the loan.
Create Lender Blueprint: Establish the blueprint for the lender.
Set Loan Information: Define the terms and details of the loan.
Supply Collateral: Provide collateral for the loan.
Borrow Debt: Borrow against the collateral.
Initiate Foreclosure: Trigger foreclosure when the Loan to Value (LTV) ratio approaches the liquidation threshold.
3. Loan Coverage
Mint Portfolio: Create a new portfolio.
Mint Loan Token: Issue relevant loan tokens.
Create Lender Blueprint: Set up the lender blueprint.
Set Loan Information: Input loan details and terms.
Supply Collateral: Provide necessary collateral.
Borrow Debt: Execute the borrowing process.
Set Protection Information: Input details for loan protection.
4. Loan Coverage with Claim Initiation
Mint Portfolio: Establish a new loan portfolio.
Mint Loan Token: Generate loan tokens.
Create Lender Blueprint: Define the lender's structure.
Set Loan Information: Specify loan parameters.
Supply Collateral: Provide collateral for the loan.
Borrow Debt: Borrow against the collateral.
Set Protection Information: Add protection details to the loan.
Initiate Claim: Start the claim process under the protection plan.
5. Loan Coverage with Foreclosure Initiation
Mint Portfolio: Create a portfolio for the loan.
Mint Loan Token: Issue tokens associated with the loan.
Create Lender Blueprint: Craft the lender's framework.
Set Loan Information: Detail the loan's specifics.
Supply Collateral: Put up collateral against the loan.
Borrow Debt: Take out a loan against the collateral.
Set Protection Information: Enter loan protection details.
Initiate Claim: Begin the claim process.
Initiate Foreclosure: Start the foreclosure process under specified conditions.
6. Loan Coverage with Loan Cancellation
Mint Portfolio: Set up a new loan portfolio.
Mint Loan Token: Create associated loan tokens.
Create Lender Blueprint: Develop the lender blueprint.
Set Loan Information: Input the loan's terms and conditions.
Supply Collateral: Offer collateral for the loan.
Borrow Debt: Proceed with borrowing.
Set Protection Information: Establish protection for the loan.
Repay Debt: Complete the repayment of the loan.
Cancel Loan: Terminate the loan agreement.
Withdraw Collateral: Retrieve the collateral post-cancellation.
This documentation provides a structured overview of the test scenarios for loan processes within concrete. Each test flow is crucial for ensuring the system's robustness in handling various loan-related operations.
Last updated