Aave also allows those will idle assets to earn a relatively safe return on capital from lenders, whose rates are determined by a curve.
We're in the phase of the market where there's a lot of retail inbounds but not enough education about the Ethereum ecosystem and DeFi.
So, let's break down the basics of some of the top protocols.
First on deck: Aave (@AaveAave), an Ethereum-based money market protocol.
A 🧵
Aave also allows those will idle assets to earn a relatively safe return on capital from lenders, whose rates are determined by a curve.
Users would hold BTC, ETH, and other assets (including many ERC-20 tokens) with no expectation of a native yield or dividends.
ETH, for instance, was long just an asset for transaction fees, as was Bitcoin.
Users can deposit a variety of assets as collateral, then use that collateral as ammo to borrow other assets to be used in DeFi or beyond.
Loans are *overcollateralized*.
1. Those looking for steady, relatively safe yield on idle assets.
2. Those that want to leverage their assets by borrowing against their holdings, then trading and spending the loan to achieve utility beyond the rate they pay.
- Find idle assets that can be lent out on Aave
- Deposit said assets
- Earn a per-block, pro-rata interest paid for by those that borrow your assets (assets are pooled, then used) from the protocol
- Find inactive, useless asset
- Deposit it into Aave
- Enable it as collateral
- Borrow desired assets from protocol
- Use borrowed assets for trading, yield farming, spending, etc.
Shorting:
A user can borrow an asset from Aave, sell it, buy it back when the price is lower, then pocket the delta.
This works because the loan is denominated in the asset(s) borrowed.
ETH natively does not produce yield.
It can be used as collateral to borrow assets that *can* earn yield.
Assuming you can earn 15% on USDC and borrow @ 5%, borrowing USDC at a 200% collat. ratio will allow for an effective yield of 5% on ETH.
Say a user is holding Wrapped Bitcoin and wants something on-chain or IRL, though doesn't want to get rid of their WBTC exposure.
A user can collateralize their WBTC, buy what they want, then pay back the loan with income or other assets to reclaim their WBTC.
Aave pioneered flash loans, a concept where anyone can borrow any amount of capital within a single block for a number of use cases.
Did a thread here in the past.
https://t.co/FRn5Pj2TFk
If you've been following DeFi or Ethereum over the past few months, you've likely heard the term "flash loan" mentioned again and again.
— Nick Chong (@n2ckchong) October 29, 2020
This new DeFi primitive has been at the core of a number of economic exploits and arbitrages.
A thread on the basics of flash loans - \U0001f447 pic.twitter.com/uOQC2tzlYl
- A user borrowed 2,048,000 USDC from dYdX
- Traded that USDC for 2,028,367 DAI in Curve's Y pool
- Traded that DAI for 2,064,182 USDC in Curve's sUSD pool
- Paid dYdX back + 2 wei
All in one block...
Profit: 16,182 USDC
Cost: $60 in gas
I'll cover:
- Interest rates
- Terms
- Liquidations
- aTokens
The more an asset is utilized, the higher the rate lenders earn and borrowers pay.
The borrow rate is always above the deposit rate.
Here's the borrow rate model for USDC / USDT.
To mitigate unexpected spikes in utilization affecting the rate one pays on their loan, users can lock in a fixed rate, so they can manage risk properly.
This rate can readjust based on market conditions.
Aave has a number of loan terms that dictate how much one can borrow, at what point they are liquidated, and how much they pay when they are liquidated.
These terms are determined by a risk team, who assess market conditions to minimize risk to protocol collateral.
Unlike traditional loans, Aave loans are liquidated autonomously when a user's loan-to-value ratio falls below certain values.
A large enough drop in the value of one's collateral will allow users to bid the collateral, sell it, then pocket a bonus.
aTokens are yield-bearing assets that accrue interest in real time, allowing one to watch their deposited assets grow by block.
It can be used by other developers to build interesting applications and use cases.
For instance...
@APWineFinance: APWine allows users to trade unrealized yield
etc.
aTokens, flash loans, etc. can all be used in tandem with other contracts to create use cases.
More from Crypto
Should you invest in Polygon (Matic)?
— LearnApp (@LearnApp_co) June 12, 2021
\U0001f4a1 Here's @PrateekLearnapp's take on #Matic, as shared on @CNBCTV18News.
What are your thoughts on #Polygon (Matic)? \U0001f4ac
Read the full article here \U0001f449 https://t.co/rmLTV0WFo2#crypto #cryptocurrencies pic.twitter.com/9k1lclN7oL
Let's look at Proof-Of-Stake, an alternative to the energy-intensive Proof-Of-Work algorithm.
🧵🔽
1️⃣ A Quick Recap On Proof-Of-Work
A Proof-Of-Work algorithm requires miners to do a certain amount of work that is compute-intensive to gain access to a service or the right to do something. This algorithm, by design, also requires that the work done shall not ...
... be reusable for anything else than what it was performed for. This lies at the core of the security concept of a blockchain. To gain the right to append a new block to a chain and to get some currency as a reward, there is work to be done, and this work must be verifyable.
That work is a race between different miners. Many miners try to compete and to be the first to find the answer to a problem presented to them. This implies that a lot of energy is wasted as only the first correct solution is accepted.
You can find a more detailed thread on Proof-Of-Work
Proof-Of-Work is the name of a cryptographic algorithm that is used for some blockchains when new blocks are to be appended to the chain.
— Oliver Jumpertz (@oliverjumpertz) April 3, 2021
Let's take a higher-level look at how this one works, shall we?
\U0001f9f5\U0001f53d
1) Is Blockfi profitable?
2) How much money does BlockFi have on its balance sheet?
3) Is the yield that BlockFi pays to its depositors earned or subsidized by billionaire investors?
4) Has BlockFi ever been profitable?
5) Are you planning to go public?
When is the interview published? @otisa502
— Jakob.Cel (@HedegaardJakob) February 14, 2021