At ETHDenver 2020, my partner and I started the development of DefiHedge, a protocol for fixed-rate lending and interest-rate swaps. At the time, we had the impression that we were the first and only team building interest-rate derivatives, but shortly thereafter learned that was not the case.
It happened that not only had the team at CherrySwap released a pooled interest-rate swap mechanism at ETHBerlin 2019, but Paradigm’s own Dan Robinson released a primitive for decentralized zero-coupon bonds around early September 2019.
Since that point, a number of additional products have been proposed, namely UMA’s yTokens, Opium’s SwapRate, SwapNet/Notional, Yield Protocol, and our efforts at DefiHedge.
The large implementation differences between each of these protocols may not be clear, but broadly speaking each project can be categorized as either a collateralized zero-coupon bond, or as a direct, collateralized peer-to-peer swap.
This article highlights these differences, and identifies the projects that we expect will dominate their niche:
DefiHedge: Fixed-Rate Lending & Rate Swaps
Yield: Fixed-Rate Borrowing
“A zero-coupon bond is a debt security that does not pay interest but instead trades at a deep discount, rendering a profit at maturity, when the bond is redeemed for its full face value.” — SEC Glossary ¹
As an alternative to traditional methods of yield payment through interest, decentralized zero-coupon bond models allow users to collateralize their capital in return for a coupon that can be redeemed at maturity.
Through collateralized lending, decentralized zero-coupon bond writers gain leverage on their capital, while committing to pay the debt created by their minted zero-coupon bond upon the coupon’s maturity.
Should these borrowers wish to lock in a fixed rate, they can then sell their coupon, knowing that upon maturity they should be able to repurchase it around expected maturity price, repaying the debt that is owed.
This then allows other users to buy the coupon at a current depreciated price, with the guarantee that they will be able to cash it in for full value at maturity, creating a marketplace for fixed-rate lending.
Based off Dan Robinson’s 2019 working draft, UMA, “A Protocol for Building Synthetic Assets”, began development of the first working implementation of this sort of collateralized zero-coupon bond, released in August and currently live on Balancer.
UMA’s implementation, as an early primitive, provides a product that works as described. Users can collateralize their funds to mint yUSD, and yUSD of a given maturity is tradable against USDC through a “traditional” AMM on Balancer.
While UMA’s approved collateral currently limits the application of this infrastructure, future users could utilize yTokens to perform a pseudo interest-rate swap. Should aTokens from Aave be approved as collateral, users can mint and sell yUSD, locking in fixed borrowing rates using their yield generating tokens as collateral (though this greatly increases liquidation risk).
Much like other AMM projects, UMA’s implementation has a number of drawbacks:
Additionally, UMA’s liquidation mechanism is particularly punishing for the liquidated party, and requires constant vigilance to contest any liquidation attempts.
That said, UMA’s yUSD still provides a first to market product and a relatively low risk profile.
Swapnet, originally named Neutrino Swaps and recently rebranded as Notional, retains much of the same design as UMA’s implementation.
Users deposit collateral to mint tokens that correspond to future cash flows, “fCash”, similar to the minting of yTokens. Users can then trade fCash below price parity using a simple AMM, locking in their rate.
While Notional does not mention their intended rate-swap implementation, based on other similarities it can be assumed that they too plan to allow for the collateralization of yield bearing tokens (e.g. Chai, cTokens, aTokens), facilitating a pseudo-swap.
Given the similarities, Notional’s implementation then retains the primary drawbacks of UMA’s model:
That said, Notional’s proposed liquidation mechanism, while simple, may be preferable.
As opposed to a custom mechanism that requires vigilant users, or a system that heavily punishes those who are liquidated (>10% haircuts), Notional simply market sells assets using Uniswap, involving slippage but taking no liquidation cut.
Yield, funded by Dan Robinson’s current employer, Paradigm, is an extension of Dan’s initial 2019 design for decentralized zero-coupon bonds.
Given the other zero-coupon bond models pay homage to Dan’s design, Yield shares much of its basic infrastructure with it’s compatriots.
Users can post collateral and mint yTokens, redeemable at maturity for full face value. These yTokens can then be bought or sold using Yield’s custom AMM, allowing users to lock in fixed rates on their lending or borrowing.
With the two previous models imitating the initial Yield design, Yield retains many of their drawbacks:
However, unlike the other zero-coupon bond models, Yield implements a custom AMM formula that accounts for the time-based price action inherent to maturity based lending marketplaces.
This improvement provides a consistent rate over time in the absence of trades and allows liquidity providers to allocate capital without exposing themselves to constant time-based arbitrage.
This leaves Yield as the apparent winner within zero-coupon bonds, however it should be noted that Yield also presents the highest risk profile due to their auction-based liquidation mechanism (e.g. Maker on 3/12/2020).
Using more traditional mechanisms, direct collateralized swaps allow two users to match with one another while arbitrating swap duration and rate.
For every swap there is a fixed and floating side, and once two orders have been matched, collateral is posted and funds are committed to a yield generating protocol.
Without a need for a collateralized lending layer, these protocols tend to require less liquidity and involve slightly less risk. Additionally, both current models also implement a form of CLOB, which tends to result in less slippage and further reduces liquidity requirements.
In early 2020, Opium.Team, a protocol for general decentralized options, expanded their product line to incorporate direct collateralized swaps.
While SwapRate lacks a whitepaper or significant documentation, as the first mainnet attempt at direct swaps, they are still worth mentioning.
Once fixed and floating orders are matched, funds are committed to either Compound or Aave, in addition to 10% locked nominal collateral.
Unlike DefiHedge, SwapRate features fixed-rate borrowing and a reduced collateral requirement through the implementation of a liquidation mechanism contained within the base Opium Protocol.
That said, these features come at considerable cost as the risk of liquidation conceptually removes the safety provided by fixed rates; Should the rates vary too much, or your collateral experience volatility, you are at significant liquidation risk.
SwapRate also comes with added overhead and potential contract risk given its additional routing through the Opium Protocol.
Coming full circle to our product, a proof of concept has been live on Ropsten since Spring 2020 and we are working towards a hopeful Q4 2020 mainnet release.
DefiHedge may be similar to SwapRate in that they both directly match users, and both require collateral, however beyond that they share no similarities.
Without touching upon their major differences in UX and exchange design, DefiHedge does not cover fixed-rate borrowing, and DefiHedge requires 100% like-kind collateral (e.g. 1000USDC at 5% for 1 yr must be matched by 50USDC).
Once two users are matched, funds are pooled and then minted into interest-bearing tokens. Funds from that point are unable to be accessed until the agreement is complete, at which point one party is returned their capital and fixed yield, while the other is returned the remaining floating interest.
This removes the need for collateral liquidation within DefiHedge agreements, allowing for the only truly “trustless” decentralized swap model.
DefiHedge additionally features negative maker fee’s, which significant reduce market liquidity requirements, especially in emerging/nascent markets. When users compete as makers rather than taking available liquidity, the market is forced inwards, spread reduces and liquidity concentrates.
This results in the most efficient system possible for fixed-rate lending or interest-rate swaps, as users can avoid slippage all together while taking advantage of our low contract overhead, additional maker incentives and reduced market spread.
Result: 6 Transactions for .75x leverage
Result: 2 Transactions for 10-100x leverage
With the current rate of development, I expect to need to add to this category in the future, but for now this primarily covers the pooled swap design.
Another project coming out of ETHBerlin 2019, CherrySwap is the first project that attempted to allow anyone, no matter how little capital, to participate in swaps through pooled liquidity.
CherrySwap’s implementation requires multiple stages. In the first, liquidity providers lock up Dai in return for CherryDai, which is immediately minted into cTokens to earn interest.
Once the lockup stage is complete, other users can begin to take long or short positions as the pooled liquidity takes the opposite side of any given position.
As the pooled liquidity is utilized, rates change such that the pool is intended to stay liquid, however the current design only requires 125% initial collateralization and features no liquidation.
This results in a unique product that is worth mentioning and worthy of future consideration or development, although it’s current limitations and vulnerabilities leave it unfit for production.