Lending & Borrowing

Burrow stands as a decentralized platform that operates on a pool-based model, allowing users to both supply assets to generate interest and borrow against these assets to access liquidity. Similar in essence to protocols like Aave and Compound, Burrow offers a non-custodial approach to handling assets.

Operating natively on the NEAR blockchain, which is a proof-of-stake, sharded blockchain equipped with a WebAssembly runtime, Burrow differentiates itself by employing smart contracts written in Rust.

The primary objective of Burrow is to enhance liquidity for interest-earning assets, with a specific focus on layer 1 staking derivatives like stNEAR and stETH. Users can deposit stNEAR as collateral, subsequently borrowing additional NEAR to create a leveraged staking position or even borrow a stablecoin to establish a self-repaying position.

Full Burrow Docs (https://docs.burrow.finance/product-docs/introduction/burrow)

Ref Overseas Burrow

Currently, Ref Finance is taking charge of managing and developing the Burrow protocol, which serves as the leading money market on the NEAR blockchain. This strategic decision underscores Ref's dedication to enhancing the DeFi ecosystem on NEAR by means of collaboration rather than rivalry.

As a consequence of this collaboration, users will benefit from a streamlined and robust DeFi experience, as they can access all present and future features of the Burrow protocol through a unified user interface within Ref's platform.

Read full article on Medium: https://ref-finance.medium.com/ref-finance-oversees-burrow-to-strengthen-defi-on-near-23802c8d74a5

Core Metrics


Net APY in DeFi considers the actual earnings or costs after accounting for fees and expenses. It shows how much you could truly gain or lose from activities like lending and borrowing, factoring in any charges that might affect your overall return. The Net APY is calculated as follows:

total_supply = sum(supply_i * price_i)

total_supply_interest = sum(supply_i * price_i * supply_apy_i)

total_borrow_interest = sum(borrow_i * price_i * borrow_apy_i)

net_apy = (total_supply_interest - total_borrow_interest) / total_supply

Health Factor

The health factor is a metric used to assess the safety of a borrower's position in a DeFi protocol. It is calculated by dividing the value of the collateral by the borrowed amount. Now we can compute the health factor:

health_factor = adjusted_collateral_sum / adjusted_borrowed_sum

If the health factor is higher than 100%, it means the account is in a good state and can't be liquidated. If the health factor is less than 100%, it means the account can be partially liquidated and can't borrow more without repaying some amount of the existing assets or providing more collateral assets.

Total Supplied

Total supplied refers to the total amount of crypto assets that users have provided to a DeFi protocol's liquidity pool or lending platform. These assets are used by others for various purposes like trading or borrowing.

Total Borrowed

Total borrowed indicates the combined amount of crypto assets that users have borrowed from a DeFi lending platform or protocol. These assets are typically used to trade, invest, or fulfill other financial activities.

Available Liquidity

Available liquidity in DeFi represents the amount of assets that can be borrowed from a lending pool or liquidity pool. It's the portion of the supplied assets that are not currently being used by borrowers.

Daily Rewards

Daily rewards in DeFi refer to the crypto assets that users earn on a daily basis for participating in specific DeFi protocols or activities. These rewards can be in the form of interest, trading fees, or other incentives provided by the platform.


(This defines the step-by-step procedures on how to do the following)


Step 1: Access https://app.ref.finance/burrow and connect your wallet

Step 2: Select one asset from the list and click “Supply”

Step 3: Enter your desired number and turn on “Use as Collateral” (Optional)

Step 4: Supply and sign the transaction


Make sure you have already supplied your asset (and turned on Use as collateral button) first before borrowing.

Step 1: Select a token you want to borrow

I will borrow $DAI using $NEAR as collateral in this situation

Step 2: Choose an appropriate amount

Step 3: Verify all the details and confirm the transaction


Step 1: Click on Repay Button

Step 2: Enter an appropriate amount

Notice that Health Factor changes every time you increase/decrease the repayment amount

Step 3: Confirm the transaction


Step 1: Select the token you wish to withdraw and click "Withdraw" button

Step 2: Choose an appropriate amount

Step 3: Verify the details and confirm your transaction

Adjusting collateral

Step 1: Select the token and click "Adjust" button

Step 2: Enter an appropriate amount

Keep an eye on your Health Factor since it will adjust following your collateral position

Step 3: Confirm the transaction

Last updated