SynLend

SynLend: A

The following is a detailed description of the protocol

Supported Assets

1. List of assets that can be Lent to or borrowed from the protocol:

Only stable coins can be lent to or borrowed from the protocol.

i. On BSC, only BUSD and USDT can be lent or borrowed

ii. On Polygon, only USDC and USDT can be lent or borrowed.

2. List of assets that can be used as collateral:

i. On BSC, BNB, ETNA token and ETNA NFTs are assets that can be used as collateral. Any other ERC20 token on BSC can be integrated at a later time.

ii. On Polygon, Matic, ETNA token and ETNA NFTs are assets that can be used as collateral. Any other ERC20 token on Polygon can be integrated at a later time.

Lending and Borrowing Interest Rates

1. Interest rate of Stable coin lent to or borrowed from the protocol:

The interest rates algorithm is as follows:

This gives the lending rate as:

And the borrowing rate as:

FOR EXAMPLE:

With the following parameters set as follows:

Then lenders get paid:

And borrowers get charged:

Borrowing Fixed Rate:

If the borrower rather takes the loan at a fixed rate, such a borrower will be charged a fixed interest rate of:

Exceptions with ETNA assets used as collateral:

There is an exception when a borrower's loan is collateralized with ETNA tokens or ETNA NFTs. In both cases, the loan are at zero interest rate charged.

Collateral Borrowing Power

For example:

Which can be taken out in BUSD, USDC or USDT.

With this collateral value, the user can take out a maximum of 2500 but can choose borrow any amount between 0 – 2,500 BUSD/USDC, the remaining amount not taken will remain as accessible credit that can be taken at a later time.

Loan Liquidation

With depreciation of the value of the collateral used by a borrower, the loan taken by the borrower is flagged for liquidation if the collateral depreciates up to a certain value.

The borrower can prevent liquidation by paying back some part or the whole loan or by depositing more collateral to increase his borrowable limit.

Liquidation Amount

When liquidation occurs, the total amount by which the loan is deliquescent is liquidated plus a liquidation fee, this is given by:

Since the collateral in this example is ETNA, then ETNA amount that worth $2,750 is liquidated.

Again, user can prevent this by paying all or part of the loan back or by depositing more collateral to increase his/her borrowable limit.

Liquidation Mechanism:

The protocol have a function for appointing liquidator account roles. It allows the appointment of up to 100 accounts to be liquidators. When an account is appointed as a liquidator, such an account can see loans that are flagged for liquidation, this displays in the liquidation dashboard.

Accounts appointed are only accounts from users of the vault contract. Top users of the vault are appointed to be liquidators.

Liquidator payment:

The liquidation fee is given by:

Admin payment:

The remaining portion of the liquidation fee is paid as an admin fee and it is given by:

Amount Borrowed vs Amount owed

For example, in this senerio, user deposited the following:

10000 ETNA which worths $2000

10 BNB which worths $6000

ETNA Borrowing factor is 0.2 and BNB Borrowing factor is 0.3

This means the user allowed borrowing amount is: 2000x0.2 + 6000x0.3 = $2200

If user borrowed all the $2200.

If user does not pay anything back, with effective apr = 7.5% (assuming constant for calculation purpose), after a year user will owe = 2365

If also the liquidation occurs when calateral value dropped to amount owed*(1+0.25) = 2365 x 1.25 =2956.25

at this time, let us asume the collateral sum total is now 2940 due to market crash. Liquidation should always take the most from BNB and then the rest from ETNA. so if there is any portion of collateral to be returned in the case of multiple collateral, it should be ETNA to be returned since liquidation will always take the most possible from other collaterals used and then what ever remaining to be taken is taken from ETNA

Take the most from other collateral first

Note: All the dollar values are calculated in terms of the collateral used and at the market rate at the time the liquidation occurred.

Last updated