Andrew Kang Profile picture
Sep 28, 2020 13 tweets 6 min read Read on X
1/ Oracles Usage in AMMs

Many AMMs (@synthetix_io, @Bancor, @BreederDodo, @perpprotocol, etc.) have adopted oracles to provide reference pricing, but does it really work?

I'll explain 👇 Image
2/ These AMMs use oracles in many different ways. Some use the prices from the oracles to derive a "Zero Slippage" quote price for any size trade (A). Others use them to "rebalance" to external market prices (B). The last group uses them to determine funding rates (C)
3/ These projects that utilize AMMs can roughly be bucketed into the categories above

A) Zero Slippage - @synthetix_io @CoFiXProtocol
B) Rebalancers - @BreederDodo @Bancor
C) Perpetuals - @perpprotocol @MonteCarloDEX
4/ @synthetix_io exchange was the first AMM to utilize oracles. This resulted in a lot of issues since traders could always front-run price changes before oracle updates. Even when fees were pushed to 1%+ / trade, some frontrunners were still consistently profitable
5/ Even when @synthetix_io demo'd on Layer 2 with sub second block times, there was evidence of soft frontrunning from some of the competitors in the trading competition

"Fee reclamation" was implemented to fix this, with the caveat that it settles you at a future price.
6/ @CoFiXProtocol takes an interesting spin on this by adding a spread and adjusting prices based on market volatility. The spread and vol adjusted prices help protect against frontrunning, but LPs would still be vulnerable during moments where volatility suddenly increases
7/ @Bancor and @BreederDodo use oracle updates to shift their price curve to center around external market prices. Part of the motivation is to "reduce value leakage from arbitragers". I discuss here why that really isn't an issue:

8/ The other issue here is that arbitragers will, in mature markets, always be able to close price gaps before oracle updates settle on-chain.

Oracle updates on Ethereum Layer 1 can't be every block (usually every 2-10 min), and arbers will take profits as quickly as they can.
9/ Another mechanic employed is applying liquidity amplification. While this is good for takers, it can be a double edged sword because it proportionally increases the IL faced by LPs.

Bancor and Dodo use a mechanic to "realize" IL, so in these cases it would be permanent loss
10/ @perpprotocol and @MonteCarloDEX don't have the same issues since the trade prices are not directly influenced by the oracles, rather only trading activity.

Oracles are merely used to determine funding for positions and since prices are TWAPed, there is limited frontrun risk
11/ A & B projects face the same problem that @synthetix_io faced early on, and almost renders the point of using an oracle for price updates pointless without 100% frontrun protection (but these have their tradeoffs).

Higher TPS networks can make these models more effective
12/ I think some of these AMMs could do better removing oracles since it can increase profitability for LPs: gas usage decreases> Tx get cheaper > More arbitrage trades around local vol > More fees for LPs

Excited to see what continued innovation come from these teams
TL;DR Using oracles can theoretically allow you to increase liquidity for traders but practically this is inhibited by arbitragers/front runners

They might work better on higher TPS L1/L2

There might be more problems when the DEXs get large as the reference markets

• • •

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

Keep Current with Andrew Kang

Andrew Kang 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 @Rewkang

Oct 27
It’s counterintuitive, but the best tokenomic design for a project (and retail) is to not have investor lock ups and have as much tokens to be as circulating as possible on Day 1 (except team, treasury)

One year cliff and 3-4 year vests are a poor standard that came about from a misunderstanding of capital markets and lazy copy pasting from prior projects

In reality, long vests have little impact on investor contribution post TGE. Good investors will be supportive whether tokens are vesting or not. Opposite for passive investors

The standard needs to changeImage
I wrote about why low float high FDV was bad in 2021. Back then projects started to copy the Serum model of 1% circulating - I pushed that projects should have at very minimum 15-20% circulating on TGE. Now I believe even that is too low. The standard should be 65-75%+

We've given a lot of this advice to new founders, but its tough because you are fighting against bad tokenomics advice from lawyers that misinterpret securities law and other VCs that try to push the status quo

But talk to any past founder and most will tell you that vesting + low float designs are a mistake and result in major headaches down the lineImage
Read 4 tweets
Aug 11
No knowledge of anything actually happening but combination of the below leading me to bet that there’s some interesting developments upcoming for $SUI

1. Raoul pal shill thread while he sits on advisory board
2. Large OTC bids
3. Relatively strong holdership through big unlocks
4. Aggressive price action with no pullback
5. Big recent performance upgrade with Mysiceti potentially allowing for interesting new apps
Many people commenting that they are giving grants to people to shill. If true, this is bullish
Potential speculation into Korea blockchain week announcement
Read 5 tweets
Mar 11
This was pretty insane memecoin alpha from AVAX foundation

Whenever a big player says they are buying, it never fails to ignite momentum when market conditions are ok (CZ/Binance in March, early Saylor buys, etc). Suddenly, the technology improves

Don’t fight the fed
Think you see this strategy replicated across all chains/foundations in the future, just as all of them launched DeFi incentive programs

It’s a very high ROI/probability way to increase onchain activity, bridging inflows, community members, etc
It’s the same reflexive loop that chains saw with NFTs last cycle where people needed to buy the chains coins to buy the NFTs and every chain wanted NFT collections but I think there’s more power in this loop because tokens are better speculative vehicles than their NF counterparts
Read 4 tweets
Dec 30, 2023
1/ The road ahead for Arbitrum ($ARB) - Mega thread

2021
- Arbitrum launch

2022
- Nitro upgrade for improved performance
- Arbitrum Odyssey introduced but paused
- Arbitrum Nova, a separate chain built for lost-cost transactions focused on gaming and social apps was launchedImage
2/ 2023 was the year of big launches and announcements

- Launched highly anticipated $ARB token, with 1.162B tokens distributed to ~580k wallets
- TVL doubled since the start of the year
- 4th highest TVL chain - more than Solana and Optimism combined
- Resuming Arbitrum Odyssey Image
3/ But things are just getting started for Arbitrum.

Believe that these following catalysts/narrative will really kickstart the arbitrum flywheel going into 2024:

- Arbitrum Orbits
- STIPS
- ARB Staking
- EIP-4844
Read 15 tweets
Jun 7, 2023
The New King of Money Markets

The @RDNTCapital Thesis twitter.com/i/web/status/1… Image
1/ At $5B and $2B TVL, Aave and Compound are currently the largest money markets in crypto

By innovating while others cruise, @RDNTCapital is the top competitor to challenge the throne and has the potential to become the new King of Money Markets in all of crypto
2/ At a glance:

-$260m TVL across Arb/BSC

-First functional cross-chain MM (lend on X chain, borrow on Y)
-Launching on ETH & zkSync next
-Safely adding more collateral like $ARB (other MMs move slowly)
-Token design optimized for demand & protocol growth
Read 16 tweets
Feb 27, 2023
Accumulated spot position in $STX last 2 weeks as well

As an investment, it hits the sweet spots of good supply schedule, strong marketability, cheap relative valuation, important catalysts ahead, proven bear market resistant builders
Main catalyst is the Bitcoin Halving in a year and I think Hal's comparison to LDO & the merge is pretty apt

Second big catalyst would be potential catalysts for DeFi on Stacks - potentially catalzying a 9-10 figure DeFi ecosystem built around $BTC
On relative valuation, my proxy would be Lightning network who i believe if they had a token would be valued at least multi-billion FDV just based on brand value alone, regardless of usage

But if DeFi on Stacks takes off, it probably leap frogs Lightning on actual usage
Read 7 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!

Follow Us!

:(