Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove borrow #81

Merged
merged 2 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 0 additions & 82 deletions docs/concepts/guide/03-borrow.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
---
id: points
title: Points
sidebar_position: 4
sidebar_position: 3
---
## What are Nimbora Points?[](https://docs.nimbora.io/docs/concepts/guide/points#what-are-crypto-points)

![Untitled](https://i.ibb.co/LzNKDpn/Untitled-27.png)

Nimbora points are designed to incentivize and reward users for actively engaging with our platform. These points serve as a metric for off-chain measuring user activity and contribution within the Nimbora ecosystem, providing rewards based on participation levels.

### Key Features of Nimbora Points:[](https://docs.nimbora.io/docs/concepts/guide/points#key-features-of-crypto-points)
Expand All @@ -17,10 +15,8 @@ Nimbora points are designed to incentivize and reward users for actively engagin
### Types of Nimbora Points:
[](https://docs.nimbora.io/docs/concepts/guide/points#types-of-crypto-points)

![Untitled](https://i.ibb.co/qDFcNpc/Untitled-28.png)

- **Earn Points**: Earn points for depositing assets to any of our earn strategies.
- **Borrow Points**: Earn points for borrowing LUSD against ETH in our borrow module.
- **Referral Points**: Earn a fraction of the points your referrals and their invitees make.
- **Rank Points**: Earn extra points based on your leaderboard position, with the top performers having higher earning rate.

Expand All @@ -45,20 +41,6 @@ The median daily price sourced from Pragma oracles (if not stablecoin) is utiliz
| 3 | 3000 | 3400 | 3400 |
| / | Total points | | 9600 |

### Borrow[](https://docs.nimbora.io/docs/concepts/guide/points#borrow)

The borrow points are calculated based on the daily user collateral `ETH` deposited in all Liquity troves.

![Untitled](https://i.ibb.co/tby62s0/Untitled-32.png)

We use the ETH median daily price fetched from Pragma oracles to calculate the pts.

| Day | User’s daily ETH collateral balance | ETH price USD | Earn points |
| --- | --- | --- | --- |
| 1 | 1 | 3000 | 3000 |
| 2 | 0.5 | 3200 | 1600 |
| 3 | 0 | 2800 | 0 |
| / | total points earn | | 4600 |

### Referral

Expand Down Expand Up @@ -116,7 +98,6 @@ The following table was calculated using boosted balances.

Rank points represent extra points earned based on your leaderboard position, with the top performers having higher earning rate.

![Untitled](https://i.ibb.co/3TSwx37/Screenshot-550.png)
This table represents points bonus based on the leaderboard position:

| Leaderboard | Boost % |
Expand All @@ -127,14 +108,15 @@ This table represents points bonus based on the leaderboard position:
| 501-1000 | 5% |
| 1001+ | 0% |

This table represents points breakdown with the Rank points taken into the account:
This table represents points breakdown with the Rank points taken into account:

| Leaderboard | Earn points | Referral points | % boost | Rank points | Total |
| --- | --- | --- | --- | --- | --- |
| 1-50 | 100 | 50 | 20% | 30 | 180 |
| 51-150 | 80 | 0 | 15% | 12 | 92 |
| 151-500| 70 | 10 | 10% | 8 | 88 |
| 501-1000| 30 | 0 | 5% | 2 | 32 |
| 1001+ | 30 | 0 | 0% | 0 | 30 |

| Leaderboard | Earn points | Borrow points | Referral points | % boost | Rank points | Total |
| --- | --- | --- | --- | --- | --- | --- |
| 1-50 | 100 | 50 | 50 | 20% | 40 | 240 |
| 51-150 | 80 | 20 | 0 | 15% | 15 | 115 |
| 151-500 | 70 | 0 | 10 | 10% | 8 | 88 |
| 501-1000 | 30 | 10 | 0 | 5% | 2 | 42 |
| 1001+ | 30 | 5 | 0 | 0% | 0 | 35 |

`Info: When users have the same points the register timestamp is used to order them.`
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
id: referrals
title: Referrals
sidebar_position: 5
sidebar_position: 4
---

## The Nimbora Affiliation Program
Expand Down Expand Up @@ -38,14 +38,11 @@ You can [join our Discord](https://discord.gg/nimbora) and ask for an invite in

1. Head to the app points section: [Nimbora Points](https://app.nimbora.io/points/)
2. Find the box labeled "Refer a Friend."

![Refer a Friend](/content/ref.png)

3. Click the copy button to get your referral link, or directly click the X icon to share it with your community instantly. You can customize the tweet as you like.

### Benefits

Before calculating the referral points for each user, a boost is applied to the on-chain user's points (borrow + earn). By default, the boost is 10%, but some users who use partner links (boosted links) can receive a higher boost.
Before calculating the referral points for each user, a boost is applied to the on-chain user's points. By default, the boost is 10%, but some users who use partner links (boosted links) can receive a higher boost.

For more details, check the [points section](/docs/concepts/guide/points).

Expand Down
136 changes: 0 additions & 136 deletions docs/concepts/products/borrow/01-strategy-lusd.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/concepts/products/borrow/_category_.json

This file was deleted.

8 changes: 0 additions & 8 deletions docs/concepts/products/products.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,3 @@ Explore carefully curated yield opportunities from Ethereum, now accessible on S
- **Modular Integration:** Easily add new strategies with 60-200 lines of Solidity code.
- **Standardized Tokens:** Nimbora yield tokens adhere to the 4626 standard for seamless integration.
- **User-Friendly:** Integrate Ethereum yields into your Starknet apps effortlessly using our powerful SDK.

## Borrow: Low-Cost, Better Rates

Experience the benefits of low-gas transactions and rapid execution with Nimbora's borrowing solutions:

- **Low-Gas Transactions:** The gas costs for L1 transactions are distributed among participants.
- **Fast Execution:** Borrowing and repayment orders are executed daily for optimal efficiency.
- **Competitive Borrow Rates:** Discover better borrowing rates on Ethereum to enhance investment strategies.
8 changes: 2 additions & 6 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const actions = [
title: 'What is Nimbora',
icon: HelpCircle,
to: '/docs/concepts/introduction',
text: 'Explore protocol concepts and follow our guides to earn and borrow with Nimbora.',
text: 'Explore protocol concepts and follow our guides to earn with Nimbora.',
image: Spacebbit
},
{
Expand Down Expand Up @@ -58,11 +58,7 @@ export const dAppGuides = [
]

export const strategyGuides = [
{
title: 'Borrow Strategy',
to: '/docs/concepts/guide/borrow',
text: 'Learn how to borrow LUSD',
},

{
title: 'Earn Strategy',
to: '/docs/concepts/guide/earn',
Expand Down