@EdgeProtocol will be a money-market protocol on #Terra - allowing users to lend and borrow various #Terra-native tokens.

Let's take a closer look at it.

(Long thread)

/1
@EdgeProtocol will provide:

1️⃣ Customized pool creation
2️⃣ Money-market marketplace
3️⃣ Liquidation/stability reserve

All of that while enabling Protocol-Owned Money-Markets (POMM).

/2
1️⃣ Customized pool creation

Just about anyone will be able to create a pool - a set of tokens that will act together in lending/borrowing tandem.

Tokens deposited to the pool will act as collateral to borrow other tokens from the same pool.

/3
Current #DawnOfEdge launch (delayed until tomorrow) is a beta version with just one genesis pool containing:

- $UST
- $aUST
- $LUNA
- $bLUNA
- $LunaX
- $ANC
- $MIR

/4
Each asset has a "collateral factor". Example:

I deposited 200 $UST and $100-worth of $LunaX.
Collateral factors:
- $UST: 90%
- $LunaX: 80%

Borrowing power = $200 * 90% + $100 * 80% = $260.

Collateral factor is used to account for volatility of the collateral asset.

/5
How much can I borrow with borrowing power of $260? That depends on what I want to borrow - each asset has a borrowing factor too, which (again) accounts for its volatility.

If I wanted to borrow $LUNA (borrowing factor 85%), I could get:

$260 * 85% = $221 worth of $LUNA.

/6
Since I deposited $300, that gives me max LTV of 73.67% - for that particular combination.

In each case maxLTV will be different - that's why Edge uses:

Risk Ratio = CurrentLTV / maxLTV

Liquidation takes place at maxLTV.

Current/Safe/Liquidation LTV are shown on a bar.

/7
Once liquidation takes place, liquidators can get collateral at a discounted price.

That discount is pre-defined and depends on the asset liquidated.

Below a table with:
- Collateral factors
- Borrowing factors
- Liquidation discount
for the Genesis pool.

/8
Another element pre-defined for the Genesis pool are interest rate curves.

For a $FOO token, interest rate curve defines:

"How much interest do I need to pay for borrowing $FOO, if x% of $FOO from the pool is currently borrowed"

That x% is called "utilization ratio" btw.

/9
Every single token in the Genesis pool has a different curve.

All these curves have one thing in common though - the rate increases slowly until certain point (=target utilization) is reached. Once target utilization is exceeded, borrowing rate raises sharply.

/10
All of these parameters:
- Collateral factors
- Borrowing factors
- Liquidation discounts
- Interest rate models
are already defined for the Genesis pool.

Creator of any new pool will be able to define them on her own.

A bit daunting, but quite flexible at the same time.

/11
@WhiteWhaleTerra has $782k of $WHALE in their treasury.
@NexusProtocol has $159K of #PSI.

Many other protocols have community funds containing their native token.

These tokens are just held - they bear no yield.

That could change with POMM.

/12
@WhiteWhaleTerra could create their own pool on @EdgeProtocol, e.g. containing:
- $WHALE
- $UST
- $vUST
- $vLUNA (once $LUNA vault is opened)

then end $WHALE to it and earn deposit rate.

@NexusProtocol could do the same with $PSI, $nLUNA, $nETH and $UST.

/13
2️⃣ Money-market marketplace

One thing to notice is that the same asset (e.g. $UST) may appear in many pools.

Since each pool is a separate and independent money market, the deposit/borrow rates might differ.

As $UST depositor I may choose the pool.

/14
That's what @EdgeProtocol calls Money-market marketplace.

Different pools might compete for the same assets with various rates and token compositions.

Some will chase higher deposit APR or lower borrow APR, others will choose a pool as an enabler of their chosen strategy.

/15
3️⃣ Liquidation/stability reserve

In case of a liquidation, there is a risk that the amount from liquidation won't cover the borrowed amount (=underwater risk).

@EdgeProtocol will have a reserve to mitigate that risk to some extent.

/16
Borrowers will be paying interest on their loan that depends on utilization ratio of the borrowed token. Let's call their rate BR (borrow rate).

Depositors will earn interest on their deposits = DR (deposit rate).

/17
Normally it would be:
DR = BR * (totalBorrowedAmount / totalDepositedAmount) = BR * utilizationRatio.

In @EdgeProtocol it will be:

DR = BR * utilizationRatio * (1-insuranceFundFee)

Insurance fund fee = 10% for the Genesis pool.

/18
In practice, depositors will be getting 90% of the yield paid by the borrowers, with remaining 10% going to the "liquidation reserve".

That reserve will protect depositors' principal in case of a underwater liquidation, at a cost of slightly lower yield.

/19
@EdgeProtocol seems to have an interesting value proposition.

Not much is known about the tokenomics of their token (not even the ticker). No public sale info, no distribution chart, no information about value accrual.

/20
I imagine there will be a token though, e.g. to incentivize the deposit and/or borrow in certain pools.

Until then - I will be following closely the deposit/borrow APRs to (maybe) execute one of the strategies:
➡ Loop $aUST
➡ Loop $LunaX
➡ Short an asset
➡ Leverage-farm

/21
➡ Loop $aUST

Steps to execute:
1) Deposit $aUST (collateral factor 90%)
2) Borrow $UST (borrow factor 95%)
3) Deposit borrowed $UST to Anchor Earn to get $aUST
4) Repeat steps 1)-3)

In step 2) I can borrow 80%*90%*95% = 68.4% or the original amount at LTV 80%.

/22
I calculated borrowed amounts in each loop and effective APY from $aUST - in the table below for LTV 80/85/90/95/99%.

DISCLAIMER
These calculations ignore deposit APR and borrow APR. Actual effective APY in real life will vary from what you can see in the table.

/23
With LTV 99% and 10 loops we can safely say that with just Genesis pool we might get a #Terra-native Degenbox strategy.

Best part? Based on Oracle feeds, I cannot think of a scenario that would result in liquidation. 🤯

/24
That's all for now (thread limit).

More details on other strategies and more calculations will follow after launch (hopefully, tomorrow). 😉

/25-end

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Patryk (🌒,💙, 🔺)

Patryk (🌒,💙, 🔺) Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @AgilePatryk

Feb 14
@prism_protocol - strategies 101
S02E07 - Keep collateral airdrops on @anchor_protocol

Right now $bLUNA gives us no claim rights on the airdrops - neither genesis airdrops nor regular ones.

What if we could change that?

/1
DISCLAIMER: This thread might not age well.

Anchor will likely have a new borrow model (v2) implemented soon enough that will change the game entirely.

As well, airdrops are kinda losing popularity recently as they create extra selling pressure.

Having said that...

/2
As of today, according to stats provided by @SmartStake:

$LUNA staking APR = 10.13%
APR from airdrops to $LUNA stakers = 0.63%

Note that "0.87%" airdrop APR in the top left corner includes $MIR and $MINE airdrops which have ended.

/3 Image
Read 8 tweets
Jan 25
1️⃣ Loan safeguard mechanisms
2️⃣ More dApps building on Borrow
3️⃣ Popular (and automated?) strategies that build on Borrow
4⃣ Higher LTV limit

/1
1️⃣ Loan safeguard mechanisms

Not my idea (original tweet from @doktor_make linked), but something @anchor_protocol team could implement on their own:

Users deposit UST / LPs / etc. to be treated as emergency reserve when LTV exceeds a given limit.



/2
This emergency reserve could be used to either pay down the loan, e.g. $LUNA - $UST LP could be broken down and UST used for repayment. $Or aUST.

Or it could increase the collateral, e.g. $bLUNA - $LUNA could be broken down, converted to $bLUNA entirely and provided to ⚓.

/3
Read 14 tweets
Jan 21
Earlier today I have launched v1.2 of my Google Sheet _Terra Tools and Resources_.

Most of the changes are related to analysing your LP position.

Here are a few observations (charts and data for current $LUNA - $UST LP).

🧵👇

/1
First, here is a look at the data I used (see picture).

All of that comes from 2 sources:

coinhall.org/charts/terra/t…

station.terra.money

Position value is arbitrarily chosen as $1000, but does not affect overall observations.

/2
First, let's look at the situation in short time horizon of 1 day.

On the chart, the difference between LP and LP+APR positions is negligible on a first sight (picture 2). We need to zoom in to see where the magic happens.

/3
Read 16 tweets
Jan 17
Someone has asked me today:

<brief overview of $LUNA 'covered call' from @friktion_labs follows>

/1
Before we jump into head first into anything, I think some of you might be wondering:

What the heck is a 'covered call'?

/2
What we call "hodling" in TradFi may be called a "long position". We simply keep an asset in our wallet and (hopefully) enjoy it's price appreciation.

Visually, we can see a pretty straightforward relation between the asset price and value of a long position. Namely, 1:1.

/3
Read 14 tweets
Jan 13
How to earn extra ~22% APY on your $stONE (liquid-staked $ONE) - a simple guide.

/1
(I assume you already have some $ONE. If you don't - get it now from your favorite DEX / CEX.)

First, we need some $stONE - liquid token representing staked $ONE. For that, navigate to @tranquil_fi, to their page for converting $ONE => $stONE.

app.tranquil.finance/stone

/2
Use the "Stake ONE" section to stake your $ONE and receive $stONE as a deposit confirmation.

Your $stONE is earning ~7.42% APY at the time of writing via auto-compounded $ONE staking rewards.

BTW you can use that same section to unstake later on (that takes 21 days).

/3
Read 8 tweets
Jan 13
@prism_protocol - strategies 101
S02E06 - Auto-compounding with @ApolloDAO and @SpecProtocol

🧵👇

/1
Auto-compounding at @ApolloDAO and @SpecProtocol is simple:
➡ You deposit a yield-bearing token (e.g. LP)
➡ Yield is collected and protocol fee deducted
➡ With remaining yield more tokens are bought, paired and staked back into LP

/2
That's how APR (no compounding) is turned into APY (regular compounding, e.g. daily). Could be quite a difference, especially with higher APRs and with hourly compounding of @ApolloDAO / @SpecProtocol.

BTW, here is a tool to convert APR<->APY:

aprtoapy.com

/3
Read 14 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

:(