# Credit Reputation

The Lucia Protocol introduces a multi-faceted Credit Reputation System, designed to assess and ascertain a borrower's eligibility for future loans through a dynamically computed credit rating. This credit rating is calculated using a variety of parameters, each contributing to the overall creditworthiness of the borrower. Below is a mathematical representation of some of these factors:

<figure><img src="https://2787681558-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQHokesx4twoLalR3b7N%2Fuploads%2FVTdYQLkEHdvI1PvILdNa%2Fimage.png?alt=media&#x26;token=960c9a0b-06be-480a-ac46-96e4fd92396d" alt=""><figcaption></figcaption></figure>

**Number of Repaid Loans:** The credit score positively correlates with the number of successfully repaid loans. The parameter emphasizes the importance of a strong, consistent repayment history.

<figure><img src="https://2787681558-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQHokesx4twoLalR3b7N%2Fuploads%2F9Out3froBo7c5jnlefGf%2Fimage.png?alt=media&#x26;token=3a919a73-6a35-455d-a730-b10bec95fc58" alt=""><figcaption></figcaption></figure>

**Credit Score of Adjacent Guarantors:** As per the Ethereum Improvement Proposal EIP-6551, the credit rating is also influenced by the credit scores of adjacent guarantors in a tree-like structure, where the borrower serves as the root node.

<figure><img src="https://2787681558-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQHokesx4twoLalR3b7N%2Fuploads%2F9rWG83T2vrglLaVtDsZ5%2Fimage.png?alt=media&#x26;token=2f74e5b7-1202-4d68-af3e-75a863e3bdd5" alt=""><figcaption></figcaption></figure>

**Transaction History:** Upon linking their wallet(s), borrowers share their transaction history. While not a direct measure of creditworthiness, a substantial volume of healthy transactions can enhance the credit score.

<figure><img src="https://2787681558-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQHokesx4twoLalR3b7N%2Fuploads%2FoyUPw863FLqsvaJMiiBT%2Fimage.png?alt=media&#x26;token=287c5bb3-503b-478c-8fee-1978ef1ac4ce" alt=""><figcaption></figcaption></figure>

**Average Timeframe for Past Loan Repayment:** Borrowers agree to repay loans within preset periods (e.g., 1 day, 3 months, 6 months, 9 months, or 12 months) upon initial agreement. This repayment adherence impacts the credit score.

<figure><img src="https://2787681558-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQHokesx4twoLalR3b7N%2Fuploads%2FuIlmcRQWnKkpp0K7OHXC%2Fimage.png?alt=media&#x26;token=ff00c2c5-2273-4756-ad7e-f4440ecc426d" alt=""><figcaption></figcaption></figure>

**Number of Past Collateral Liquidations:** Recurrent liquidation events can erode the credit score, signaling potential challenges in loan repayments.

<figure><img src="https://2787681558-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQHokesx4twoLalR3b7N%2Fuploads%2FcvQBrgF8aGymttDzV3By%2Fimage.png?alt=media&#x26;token=1b225fa1-69e3-4443-bcde-9fd8211b3955" alt=""><figcaption></figcaption></figure>

**Fraud Attempts:** Instances of fraudulent behavior will lead to credit score reduction, and in severe cases, account suspension. Users must substantiate if their accounts were compromised to rectify this impact.

<figure><img src="https://2787681558-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQHokesx4twoLalR3b7N%2Fuploads%2FCTMh8dcd6od5c6Qbiery%2Fimage.png?alt=media&#x26;token=3eff874a-2e40-4ce5-95d1-5cb4c7d917ff" alt=""><figcaption></figcaption></figure>

This Credit Reputation System strives to create a robust, transparent, and accountable framework for borrowers within the Lucia Protocol. By considering a wide spectrum of both positive and negative behaviors, the system ensures a balanced and fair assessment of creditworthiness.
