Oracles are key crypto infrastructure, lying at the core of all debt-based protocols such as money markets, derivatives, perps, etc. They're also one of DeFi's biggest attack vectors
This article by @samczsun provides an excellent summary of the issues
At the highest level, money market oracle manipulation attacks can be broken down into two main categories:
(1) False collateral value increase
(2) False collateral value decrease / debt asset value increase
In (1) the goal is to pump the price of a collateral asset, enabling the attacker to borrow > than the collateral's real value
In (2) the goal is to dump the price of a collateral / pump the price of a debt asset to 'falsely' liquidate another user (i.e. buy collateral cheaply)
While there are various kinds of oracle solutions, for this article we focus primarily on the on-chain TWAP oracle initially pioneered by @Uniswap and used by @astroport_fi
This will also be the primary oracle used by @mars_protocol's Fields of Mars
We analyse the costs of various attacks and use this to derive optimal TWAP parameters
This research has informed design choices on @mars_protocol TWAPs. We hope it can also be useful for others in the space
If you want to talk about this, our DMs are always open
All credit goes to the Delphi Labs risk team, specifically @ayana_eltai and @JonathanErlichL who crushed this research
A special thank you to @euler_mab, @Mudit__Gupta, and many others who provided feedback and helped refine our thinking on this
• • •
Missing some Tweet in this thread? You can try to
force a refresh
2/ In terms of mech design, most PMs have used P2P architectures
In these designs, not only do LPs have to bootstrap each individual betting market but also the "yes" and "no" side of each market, effectively setting the odds and taking all the betting risk related to that mkt
3/ This means users' ability to bet on one side of a market is constrained by liquidity on the other side of that market
This has led to low liquidity, terrible odds and hardly any bet volume
Alpha leak: @astroport_fi is in audit and will be launching in mid November
DEXes are the core building block of any DeFi ecosystem. The launch of Astroport means @terra_money will now have a best-in-class AMM
Thread on why I think this and why it matters 👇
1/ As I see it, @astroport_fi provides two fundamental improvements to existing AMMs:
✦ Flexible pool model
✦ Token econ & governance
I'll cover each of them in turn
2/ Flexible pool model
Different AMMs use different algorithms (also referred to as "pool types") to price assets, with each one being appropriate for certain kinds of assets
For instance, Uniswap's xyk pool is appropriate for volatile assets but inefficient for stable assets
We're looking for a few key people to join our team and help us build out the future of france
You'll be surrounded by world-class talent working on some of the most interesting problems in the space
More below 👇
COO
@lukedelphi and I are entrepreneurs at heart and we like to move fast. We need a detail-oriented operations exec to complement our skill-set, bringing a bit of structure/discipline to our workflows
This is a key role for a Wags like character to take ownership of
Games Economist
We've been intimately involved with the P2E space from the get-go, designing the token econ and leading seed rounds for @AxieInfinity, @YieldGuild, and others. We're now looking to leverage these learnings and build a FT gaming econ team
The pieces will start falling into place once Columbus 5 goes live in late September
In this thread, I share my mental model for @terra_money and guide to the end of year setup as I see it 👇
1/ Before we begin, it’s important to realise what Terra is
Terra’s product is often misunderstood as an L1
In reality, Terra’s only product is $UST. Everything else, including the L1, simply exists to help make $UST the most useful and decentralised form of money there is
3/ The decentralisation mechanisms are well-covered, so I’ll focus mostly on utility. What makes money useful?
Money can either be spent or held/invested (deferred spending)
1/ Delphi Labs is excited to announce that @lex_node has joined us as General Counsel
Gabe is a crypto law OG and widely respected as one of the top legal minds in the space having worked with projects like Metacartel, Lido, Yearn, Sushi, among many others
2/ Our goal at Delphi Labs is to push the crypto space forwards by helping projects with whatever they need to be successful
We already have exceptional talent in economic design, product, UX and strategy, but all projects grapple with the legal challenges crypto presents
3/ Unlike some in the space, Gabe applies existing regulations as they actually are rather than an idealised version of what they should be
He’s also written some of the best research out there on the implications of securities laws for token projects: github.com/lex-node