Skip to content

Commit

Permalink
Merge pull request #45 from 0xSpaceShard/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
0xSacha authored Jul 2, 2024
2 parents a7c827a + 6e9519b commit 09d4e50
Show file tree
Hide file tree
Showing 6 changed files with 85 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docs/concepts/guide/02-earn.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ There are several yield strategies with different underlying tokens and APR (Ann

1. **Base**: Represents default strategy yield that auto-compounds daily.
2. **Boost**: Represents incentives provided by the Nimbora team using the [Starknet Catalyst grant](https://medium.com/@Nimbora/nimbora-and-starknet-catalyst-program-14cc7f2f1ab5) that are claimable every two weeks.
3. **Incentives**: Represents incentives provided by the Starknet Foundation as a part of the [DeFi Spring initiative](https://medium.com/@Nimbora/nimbora-joins-starknet-defi-spring-d7921e56e2e4) that are claimable every two weeks.
3. **Incentives**: Represents incentives provided by the Starknet Foundation as a part of the [DeFi Spring 2.0](https://medium.com/@Nimbora/introducing-defi-spring-2-0-bigger-bolder-better-364bb96b02d6) that are claimable every two weeks.


**Underlying protocols**. Underlying protocols linked to the strategy are displayed, you can choose the one you are the most comfortable with.
Expand Down Expand Up @@ -61,7 +61,7 @@ And that's it, you should be able to see your balance of Nimbora yield token int

## How to request a withdrawal

Withdrawal are not synchronous such as deposits they take an average of 1 day to be processed, a fast withdrawal option should arrive later on.
Withdrawal are not synchronous such as deposits. Withdrawals take between 12 and 48 hours to be processed. A fast withdrawal option should arrive later on.


First, you need to decide on the amount you want to withdraw. This could be all or a portion of your assets.
Expand Down
2 changes: 2 additions & 0 deletions docs/concepts/guide/03-borrow.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ id: borrow
title: Borrow
sidebar_position: 3
---
**Liquity strategy allows users to borrow LUSD**, a stablecoin pegged to the U.S. dollar, using ETH as collateral. This strategy is beneficial for users who want to leverage their assets without selling them. If ETH value goes up while the loan is active, repaying it becomes more profitable as users get back their ETH, now more valuable. On top of this, participating in this strategy now comes with a bonus: a ~29% APR in STRK tokens, provided by the Starknet Foundation as a part of the [DeFi Spring 2.0](https://medium.com/@Nimbora/introducing-defi-spring-2-0-bigger-bolder-better-364bb96b02d6) that are claimable every two weeks.


## Understanding the Borrow Section

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,83 @@ title: Liquity Strategy
sidebar_position: 1
---

**Liquity strategy allows users to borrow LUSD**, a stablecoin pegged to the U.S. dollar, using ETH as collateral. This strategy is beneficial for users who want to leverage their assets without selling them. If ETH value goes up while the loan is active, repaying it becomes more profitable as users get back their ETH, now more valuable. On top of this, participating in this strategy now comes with a bonus: a ~45% APR in STRK tokens, paid out every two weeks, thanks to the [DeFi Spring initiative.](https://medium.com/@Nimbora/defi-spring-just-got-better-earn-strk-with-nimbora-x-liquity-d7e881f22c38)
**Liquity strategy allows users to borrow LUSD**, a stablecoin pegged to the U.S. dollar, using ETH as collateral. This strategy is beneficial for users who want to leverage their assets without selling them. If ETH value goes up while the loan is active, repaying it becomes more profitable as users get back their ETH, now more valuable. On top of this, participating in this strategy now comes with a bonus: a ~29% APR in STRK tokens, provided by the Starknet Foundation as a part of the [DeFi Spring 2.0](https://medium.com/@Nimbora/introducing-defi-spring-2-0-bigger-bolder-better-364bb96b02d6) that are claimable every two weeks.


## Understanding the Borrow Section

There are 2 cards (troves) with 2 different TCR (total collateral ratio). The CR is not fixed, as its value is pegged to the ETH price. That is why the screenshot below might not match the current numbers you will see once you open the troves.

![Untitled](/content/borrow.png)

**TCR is the percentage of assets you need to lock up as collateral when borrowing**. If you want to borrow $100 and the TCR is 676%, you must provide $676 worth of assets as collateral.

Lets take as an example this image above - trove 604 TCR will require **less collateral** compared to Trove 910 CR, but Trove 910 TCR is **more secure** than Trove 604 .

Consider this scenario: if all troves were open when the ETH price was at $1600, Trove 910 would have a higher tolerance for price fluctuations compared to Trove 604, allowing it to withstand a more significant drop in ETH price before facing liquidation.

Once the collateral is deposited and locked, users can borrow against it according to the platform's loan-to-value ratio. If the value of the collateral falls below certain thresholds, the system may automatically liquidate the assets to repay the loan.


### **Which trove should you select?**

This depends on how much LUSD you want to borrow and ongoing initiatives.

The left trove offers a unique opportunity for users to borrow with minimal transaction costs, subsidized by the [Nimbora x Liquity](https://medium.com/@Nimbora/defi-spring-just-got-better-earn-strk-with-nimbora-x-liquity-d7e881f22c38) collaboration.

## How to borrow


Enter the amount you want to supply or click on the buttons to set a desired percentage of your balance you want to deposit. You can also directly enter the amount of LUSD you want to borrow, both fields can be used.


![alt](/content/hborrow.png)

Finally, when you've selected the amount, click on "borrow" and follow the prompts on your wallet (Argent or Braavos) to complete the transaction.


![alt](/content/rborrow.png)


Once the transaction has been accepted on the network, a popup will appear at the bottom right of the screen to let you know.

![alt](/content/fborrow.png)

You can consult all of your recent borrow in the wallet sections, your transaction should be here.

![alt](/content/cborrow.png)

And that's it, your borrow request has been sent, you can see it in pending orders section.

![alt](/content/pborrow.png)

Borrow should be processed within a day, LUSD will be directly sent to your wallet.


## Repay the Loan

First, you need to decide on the amount you want to repay. This could be all of your debt or only a portion of it.

![alt](/content/hrepay.png)

Once you've made up your mind, locate and click on the 'repay' button and follow the prompts on your wallet (Argent or Braavos) to complete the transaction.

![alt](/content/rrepay.png)

Once the transaction has been accepted on the network, a popup will appear at the bottom right of the screen to let you know.

![alt](/content/frepay.png)

You can consult all of your recent repays in the wallet sections, your transaction should be here.

![alt](/content/crepay.png)

And that's it, your repay request has been sent, you can see it in pending orders section.

![alt](/content/prepay.png)

Repay should be processed within a day, ETH will be directly sent to your wallet.

### What is Liquity?

-Liquity is an interest-free borrowing protocol on Ethereum. Liquity offers decentralized, interest-free loans in LUSD against Ether collateral, requiring a minimum 110% collateral ratio.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Your yield comes from several sources -  **npeETH base yield** + **$STRK** **

1. **Base**: Represents default strategy yield that auto-compounds daily.
2. **Boost**: Represents incentives provided by the Nimbora team using the [Starknet Catalyst grant](https://medium.com/@Nimbora/nimbora-and-starknet-catalyst-program-14cc7f2f1ab5) that are claimable every two weeks.
3. **Incentives**: Represents incentives provided by the Starknet Foundation as a part of the [DeFi Spring initiative](https://medium.com/@Nimbora/nimbora-joins-starknet-defi-spring-d7921e56e2e4) that are claimable every two weeks.
3. **Incentives**: Represents incentives provided by the Starknet Foundation as a part of the [DeFi Spring 2.0](https://medium.com/@Nimbora/introducing-defi-spring-2-0-bigger-bolder-better-364bb96b02d6) that are claimable every two weeks.

With this strategy you are also earning points for 3 protocols: 1x Nimbora, 3x EtherFi, 1x EigenLayer.
![Untitled](../../../../../static/content/strategy_npeeth/npeeth_points_variety.png)
Expand All @@ -62,7 +62,7 @@ You can always check your leaderboard position and Nimbora points breakdown by c

## How to Withdraw

Withdrawal are not synchronous such as deposits they take an average of 1 day to be processed, a fast withdrawal option should arrive later on.
Withdrawal are not synchronous such as deposits. Withdrawals take between 12 and 48 hours to be processed. A fast withdrawal option should arrive later on.


First, you need to decide on the amount you want to withdraw. This could be all or a portion of your assets.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Your yield comes from several sources -  **nppETH base yield** + **$STRK** *

1. **Base**: Represents default strategy yield that auto-compounds daily.
2. **Boost**: Represents incentives provided by the Nimbora team using the [Starknet Catalyst grant](https://medium.com/@Nimbora/nimbora-and-starknet-catalyst-program-14cc7f2f1ab5) that are claimable every two weeks.
3. **Incentives**: Represents incentives provided by the Starknet Foundation as a part of the [DeFi Spring initiative](https://medium.com/@Nimbora/nimbora-joins-starknet-defi-spring-d7921e56e2e4) that are claimable every two weeks.
3. **Incentives**: Represents incentives provided by the Starknet Foundation as a part of the [DeFi Spring 2.0](https://medium.com/@Nimbora/introducing-defi-spring-2-0-bigger-bolder-better-364bb96b02d6) that are claimable every two weeks.

With this strategy you are also earning points for 3 protocols: 1x Nimbora, 1x Puffer, 1x EigenLayer.

Expand All @@ -64,7 +64,7 @@ You can always check your leaderboard position and Nimbora points breakdown by c

## How to Withdraw[](https://docs.nimbora.io/docs/concepts/products/earn/pendle_lp_integration/nppETH#how-to-withdraw)

Withdrawal are not synchronous such as deposits they take an average of 1 day to be processed, a fast withdrawal option should arrive later on.
Withdrawal are not synchronous such as deposits. Withdrawals take between 12 and 48 hours to be processed. A fast withdrawal option should arrive later on.

First, you need to decide on the amount you want to withdraw. This could be all or a portion of your assets.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Your yield comes from several sources -  **npfUSDC base yield** + **$STRK** 

1. **Base**: Represents default strategy yield that auto-compounds daily.
2. **Boost**: Represents incentives provided by the Nimbora team using the [Starknet Catalyst grant](https://medium.com/@Nimbora/nimbora-and-starknet-catalyst-program-14cc7f2f1ab5) that are claimable every two weeks.
3. **Incentives**: Represents incentives provided by the Starknet Foundation as a part of the [DeFi Spring initiative](https://medium.com/@Nimbora/nimbora-joins-starknet-defi-spring-d7921e56e2e4) that are claimable every two weeks.
3. **Incentives**: Represents incentives provided by the Starknet Foundation as a part of the [DeFi Spring 2.0](https://medium.com/@Nimbora/introducing-defi-spring-2-0-bigger-bolder-better-364bb96b02d6) that are claimable every two weeks.

With this strategy you are also earning Nimbora points.
Remember, holding Nimbora yield-bearing tokens gets points based on your balance. The more and longer you hold, the more points you accumulate.
Expand All @@ -54,7 +54,7 @@ You can always check your leaderboard position and Nimbora points breakdown by c

## How to Withdraw[](https://docs.nimbora.io/docs/concepts/products/earn/pendle_lp_integration/npfUSDC#how-to-withdraw)

Withdrawal are not synchronous such as deposits they take an average of 1 day to be processed, a fast withdrawal option should arrive later on.
Withdrawal are not synchronous such as deposits. Withdrawals take between 12 and 48 hours to be processed. A fast withdrawal option should arrive later on.

First, you need to decide on the amount you want to withdraw. This could be all or a portion of your assets.

Expand Down

0 comments on commit 09d4e50

Please sign in to comment.