Tapioca - Project Breakdown | Revelo Intel

Tapioca

Table of Contents

Overview

Tapioca is the first fully cross-chain, permissionless money market. As a protocol, Tapioca allows users to lend and borrow assets between different networks, defragmenting liquidity and achieving higher levels of capital efficiency through interoperability. Tapioca leverages LayerZero’s omnichain messaging framework to facilitate lending and borrowing across chains, creating frictionless liquidity and improved capital efficiency. This cross-chain functionality opens up more opportunities for users to generate real yield on their assets, regardless of the originating network.

Key features that set Tapioca apart include its cross-chain functionality, capital efficiency, and user convenience. One notable innovation is Yieldbox, an advanced vault inspired by SushiSwap’s BentoBox. Yieldbox supports deposits of NFTs, rebase tokens, and risk-isolated strategies, enabling diverse yield strategies while maintaining asset isolation. On top of Yieldbox, Tapioca has developed Singularity, a dApp that enhances leverage by isolating risk, ensuring that the risk of assets in one market does not affect another.

The core concept behind Tapioca is composed of three core pillars:

  1. An unstoppable and scalable stablecoin.
  2. An economic model that maximizes value capture, minimizes the negative impacts of incentivization, and is well-aligned.
  3. An interoperable dApp that can live and prosper in a multichain world featuring unified liquidity and enhanced UX.

These concepts are upheld by five sub protocols:

Tapioca also introduces USDO, the first omnichain stablecoin, which is a non-algorithmic, overcollateralized, and censorship-resistant token. By utilizing LayerZero’s messaging technology, users can move stablecoins without relying on third-party bridges, preventing liquidity fragmentation.

Token Economy

Tapioca’s token economy has been designed for sustainability, decentralization, and efficient liquidity management.

Why the Project was Created

The project’s origin goes back to its first tweet in Dec 31, 2021. Tapioca’s vision lies on the premise that fragmented stablecoin liquidity across chains is a source of friction for DeFi users, since they often have to wait for several minutes and/or incur slippage when transferring assets from one chain to another (in addition to the associated security compromises).

On this basis, Tapioca tackles the field of money markets and stablecoins leveraging the potential of the cross-chain technology provided by LayerZero. For instance, USDO removes the friction for users to rely on bridges in order to transfer assets from one chain to another as well as to manage their borrow and lending positions on different chains. The OFT20 standard (a cross-chain protocol that enables token transfers across different blockchain networks without relying on bridges or intermediaries) makes USDO the first stablecoin to be composable across multiple blockchains – solving the stablecoin trilemma of price stability, decentralization or censorship resistance, and scalability or composability. The project continues to evolve, incorporating advanced technologies and expanding its ecosystem to fulfill this vision.

Tapioca’s Value Proposition

Tapioca connects hundreds of networks into a unified Omnichain liquidity layer and stablecoin ecosystem, supporting EVM (Ethereum Virtual Machine), SVM (Solana Virtual Machine), XCVM (Cross-Consensus Virtual Machine), and IBC (Inter-Blockchain Communication) protocols. This integration allows for seamless cross-chain interactions and liquidity management.

Benefits:

  1. Omnichain Liquidity: By linking various blockchain networks, Tapioca creates a cohesive liquidity layer, enhancing capital efficiency and reducing fragmentation.
  2. One-Click Leverage: This enables users to easily leverage attractive assets like Liquid Staking Tokens (LSTs), sDAI, GMX V2 LP etc, simplifying complex DeFi operations.
  3. Protocol Owned Liquidity (POL): Tapioca focuses on acquiring significant POL to support its USDO stablecoin. This liquidity is then used to generate fees, ensuring a sustainable and robust ecosystem.
  4. Revenue Sharing: twTAP (Time-Weighted TAP Token) lockers receive 100% of the ecosystem’s weekly revenue, distributed in USDO on a pro-rata basis. This incentivizes long-term participation and aligns the interests of the community with the growth and success of the Tapioca ecosystem.

Sector Outlook

As a protocol, Tapioca is a huge believer in the Omnichain thesis. This statement is reinforced by the explosive growth of new layer 1 chains, sidechains, and layer 2 solutions that have started to gain more market share over the past 2 years. For instance, at the beginning of 2021, Ethereum’s market share of DeFi TVL was close to 100%. However, by the end of 2021, that market share fell to 65%.

This falling market share, combined with the need for lending on alternative chains, is what inspired Tapioca to quickly fulfill the demand for cross-chain money markets with minimal infrastructure. This was achieved using LayerZero as the underlying technology. The fact that Tapioca relies on minimal infrastructure gives the protocol a competitive advantage versus other projects that rely on bridges and wrapped asset transfers, which have suffered multiple exploits over the past 2 years.

Similarly, Tapioca aims to meet the demand for long-tail assets (which make up 40% of DeFi liquidity) on money markets. Current money markets like Aave and Compound were not designed to handle risks associated with these assets. That’s why they rely on permissioned listings. Other money markets such as Alchemix and Abracadabra have also relied on permissioned systems for borrowing against preselected assets in order to borrow MIM and alUSD. The value proposition of Tapioca is to allow users to borrow against LP tokens, yield-bearing assets, and even NFTs (Non-Fungible Tokens).

Multichain

Overall, Tapioca is the first money market that enables interoperability and composability across chains, reunifying the current liquidity fragmentation between different markets. Its modular architecture, combined with the technology of LayerZero allows the protocol to route messages across different endpoints validated by an Oracle on multiple chains. In fact, Tapioca does not just use Stargate to automate the process of bridging but utilizes the LayerZero messaging system to have a presence on multiple chains, such as Ethereum, Binance Smart Chain, Optimism, Arbitrum, Fantom, Polygon Matic, and Avalanche.

Since 2020, the increased TVL and network activity in Ethereum has resulted in significant gas costs as a result of the network being congested.

 

Due to the stress the network was being put under, Ethereum gas fees started to sharply increase while slowing down transactions on the chain. Since gas fees are not calculated based on the size of the transaction but rather on the base costs of interacting with a given smart contract at a specific point in time, whales were less affected than retail users, most of which were left out of the market, since even a Uniswap swap could cost $200 in gas fees.

As time went by, alternative chains started to emerge and gain market share, with Binance Smart Chain (BSC) being the most notable beneficiary. However, as more dApps started to be deployed on BSC, users were faced with another problem: bridging funds from one chain to another.

The bridging trilemma involves finality, security, and composability. Connecting different chains adds many layers of complexity since every network has its own set of idiosyncrasies, mechanisms, and other nuances that its developers have to deal with. This problem is not solved by wrapped assets. For example, if the smart contract controlling the USDC tokens on Ethereum that back USDC.e on Avalanche are hacked, the wrapped USDC.e tokens would have no value whatsoever (custody risk).

Up until now, most protocols have chosen to deploy their contracts on each chain they want to be present on. However, there is no way that these protocols can sync their state between the smart contracts on different chains. If they wanted to interconnect those contracts, they would have to write code for every separate bridge that exists on each of these chains. The end result would be dozens of separate codebases (more risk) with unique interfaces and nuanced security properties, which becomes an untenable value proposition.

By using LayerZero, Tapioca builds upon a communication protocol that enables smart contract executions across multiple chains. With one transaction, the protocol can send arbitrary messages from a source to a destination chain.

Under the hood, there are multiple LayerZero endpoints on each supported chain, and each of these endpoints can conduct cross-chain transactions with their infrastructure on a LayerZero DVN (Decentralized Verifier Network) and an executor.

Because of this, whenever Tapioca wishes to support a new chain, it will not need to deploy its core smart contracts to each chain. Instead, Tapioca only needs to deploy a proxy lightweight contract that will be used to send and receive messages from the newly supported chain to the host chain. This allows Tapioca to reunify liquidity, and user flows, and reduce infrastructure risk.

Omnichain Tokens

The user experience is largely enhanced by the novel mechanism of TOFTEE: the Tapioca Omnichain Fungible Token Extensible Environment. TOFTEE creates a universal layer of liquidity that makes token supplies elastic between networks and allows for bridging at the token level, rather than at the protocol level. For instance, a user on Binance Smart Chain could borrow against BNB, and this BNB would be wrapped into tBNB in order to be omnipresent on all supported chains. Besides, with USDO, the first omnichain stablecoin, Tapioca can de-silo liquidity by allowing users to bridge assets without relying on an intermediary protocol. While most of current stablecoin offerings lack secure and trustless composability, by utilizing LayerZero OFT20 standard, USDO will be the first censorship-resistant stablecoin that can be transported across multiple chains without the need for a bridge, wait times, or fees.

Tapioca introduces the novel DeFi primitive of TOVTs, which stands for Tapioca Omnichain Vault Tokens. TOVTs are omnichain fungible tokens that represent the holder’s share of the vault they are participating in (tETH, tAVAX, tMATIC…). OFTs can be moved to any other chain supported by LayerZero with zerfo fees. The yield  of TOVTs is the result of a collaboration with Gelato, which allows Tapioca to analyze and reposition user funds in the best-performing and whitelisted yield-bearing assets. For instance, as yields increase/decrease in specific protocols, Tapioca can seamlessly optimize the yield strategy.

Call Options vs Liquidity Mining

By bootstrapping the protocol through its DSO (DAO Shares Options) program instead of doing so via a traditional liquidity mining incentives campaign, Tapioca manages to differentiate itself from other money markets and DeFi protocols with:

Chains

LayerZero is an interoperability framework that allows for seamless interactions across different blockchain networks. Its infrastructure allows messages to be transferred between two on-chain endpoints: the DVN and the executor. LayerZero’s technology uses the DVN to verify the integrity of transactions and an executor for delivery and to confirm the receipt of messages. This direct communication method ensures faster and more secure transaction verification, reducing wait times and increasing efficiency for users.

By leveraging LayerZero, Tapioca’s goal is to solve the bridging trilemma: fast finality, shared liquidity across chains, and the ability to use native assets. Through this solution to interoperability, Tapioca is able to offer innovative use cases to the lending and borrowing space:

Tapioca is hosted on the Layer-2 Ethereum Rollup, Arbitrum, where all the core smart contracts have been initially deployed. Ultimately, Tapioca’s end goal will be to support all chains, this includes EVMs (Arbitrum, Optimism, Monad, Berachain, Base etc), Move-based chains (Aptos, Sui, Movement), Solana and others.

Protocol Architecture

LayerZero

Tapioca has built all of their smart contracts with a native integration of LayerZero. This is different from other protocols that deploy their applications to multiple chains and then rely on bridges and wrapped assets to move funds from one chain to another. Contrary to other cross-chain solutions like bridging, LayerZero removes the need for an intermediary protocol. LayerZero technology uses a security stack (DVN) and executors as an automated caller for receiving messages.

Decentralized Validation Networks (DVNs) are networks of independent validators responsible for verifying and validating cross-chain messages and transactions.

LayerZero is a blockchain primitive that enables the deployment of applications on different chains while still allowing communication with one another. The core difference between LayerZero and bridges is that LayerZero does not require any intermediary blockchains or consensus mechanisms. Because of this, LayerZero is considered a messaging protocol that allows for seamless communication of applications across chains. 

When a User Application (OApps) sends a message via the source chain’s endpoint, the endpoint notifies the Security Stack (DVNs) for verification, the DVNs verify the message payload hash, the endpoint then notifies the User Application once verified, the message is executed by an Executor on the destination chain.

Yieldbox

Tapioca’s Yieldbox draws its inspiration from Sushiswap’s Bentobox V2. It was developed by  BoringCrypto and, compared to Sushi’s Bentobox, the key upgrade is that Yieldbox includes support for NFTs, rebase tokens, and risk-isolated yield strategies. Tokens deposited into Yieldbox may be lent out to  borrowers as well as yield-generating protocols at the same time to earn interest on the principal. Yieldbox, also known as Bentobox V2 is a fork of Bentobox. Bentobox is currently being used by other protocols such as Sushiswap (with Trident) and Abracadabra (with Degenbox). Yieldbox was built with composability in mind and can support a multitude of dApps built on top of it.

Yieldbox employs NFTs to represent user shares in the vault, maintaining a synthetic balance to account for idle funds while simultaneously applying these funds to yield-generating strategies. This dual approach ensures that user deposits are efficiently managed and continuously optimized for maximum yield.

While assets are being lent to Singularity markets, a portion of the total liquidity being lent is deployed into strategies via Yieldbox (generally 20% of the total liquidity). This rebalancing of assets is automated in order to capture the best yield on multiple chains. 

As an example, if a user deposited ETH directly into Yieldbox for a ETH-CRV strategy, the user would only access the yield from the ETH-CRV pool on the chain the ETH was deposited from. However, this is not the case in Tapioca, since Yieldbox is able to automate the process of moving ETH between separate yield strategies within the chains that Yieldbox has been deployed on. This automated process is powered by Gelato Network and produces what is known as “omnichain yield”. 

Active strategies in the Tapioca ecosystem are considered asset rehypothecation. Each asset, like ETH, can have multiple affiliated Yieldbox assets, allowing different integrators to have their own Yieldbox vaults.

Example strategies include:

Watch the Yieldbox presentation at ETHDubai by @boringcrypto: https://www.youtube.com/watch?v=JbMQg6-pH8E 

Singularity

Similar to Yieldbox, Singularity is a modified version of Kashi by Sushiswap and was licensed to TapiocaDAO after it was officially phased out in January 2023.

Singularity allows users to borrow, leverage and lend collateral assets from multiple networks, which creates an important liquidity layer across all supported DeFi ecosystems that allows the protocol and its users to achieve unprecedented levels of capital efficiency. 

Unlike most DeFi money markets, like Aave, Compound… Singularity is a dApp built on top of Yieldbox that enables isolated lending pairs. By isolating certain asset pairs, Tapioca can support lending for long-tail assets as well as higher levels of leverage. This means that the risk of assets within one market has no effect over the risk of another market. This isolated risk also applies to separate yield strategies within the same market for an asset (such as ETH in the ETH/USDO market being lent to Yearn or Aave).

Furthermore, by isolating the risk of different lending markets, Singularity enables users to access up to 10x leverage in one click. This is not the case in the majority of money markets built in the past, where users who wanted to access leverage had to borrow in one platform in order to lend in another and then loop and repeat the process. However, because Kashi separates markets into asset pairs, it manages to achieve composability by allowing users to lend and borrow into the same market.

Singularity allows for a Maximum Collateral Ratio (MCR) of 90%, with the Base Collateral Ratio (CR) being 75%.

A collateral ratio is an indicator that represents the size of the collateral being deposited compared to the value of the loan being taken. This represents the ratio between the dollar value of the collateral in a position and the dollar value of the debt being taken. 

Singularity also introduces the concept of Elastic Interest Rates. This is an innovation with respect to the prevalent lending protocols in the market. The majority of money markets set their interest rates as a function of the utilization rate, such that interest rates increase with higher utilization levels in order to disincentivize borrowers. The minimum and maximum levels in these markets, however, are fixed. Contrary to this model, by using elastic interest rates, Singularity can incentivize liquidity to fluctuate between specific ranges of utilization (e.g. 70%-80%), such that the elastic interest rate optimizes for utilization in a non-linear manner. The closer the utilization approaches one of the extremes, the faster the rate of change in the interest rate.

While the top stablecoins reach fairly high levels of utilization on Aave, dYdX, and Compound, this is not the case for volatile pairs. As an example, the utilization of ETH is usually below 20%. Singularity solves this inefficiency with elastic interest rates by attempting to target a utilization rate between 70% and 80%. When the utilization is low, interest rates decline to incentivize borrowers and reach the desired level of utilization. Similarly, when the utilization is greater than the desired threshold, interest rates increase to disincentivize borrowers and bring the utilization rate back to the desired levels.

Big Bang

Big Bang is a modified version of Kashi Lending that allows users to mint USDO by providing accepted tOFT or mTOFT (Tapioca Omnichain Wrapper) collateral assets. However, unlike Abracadabra’s MIM stablecoin, there is no borrow cap or limit on the amount of USDO that can be minted at any given time. Big Bang gives support for LSTs like Lido’s wstETH. By using these tokens as collateral, users can earn yield, effectively reducing the Loan-to-Value Ratio (LTV) of their borrow positions. To maintain the stability and censorship resistance of USDO, Big Bang only accepts highly decentralized and deeply liquid tokens.

Big Bang offers the flexibility to mint as much USDO as needed, subject to a debt ceiling that ensures responsible borrowing against specific collaterals.

Variable Interest Rates and CDR

To ensure that Tapioca can maintain USDO’s stability while offering competitive and dynamic borrowing conditions for its users, the protocol achieves a variable interest rate on Big Bang markets through a Collateral Debt Ratio (CDR). This compares the debt of each collateral asset to the total outstanding ETH debt, using ETH as the benchmark due to its desirability as a collateral. For instance, wstETH will have a 1:1.5 (66.7%) debt ratio against ETH. If $100 million in USDO debt is issued against ETH, wstETH’s interest rate starts at 5% with no debt and rises to 10% (Maximum) as debt reaches $66.7 million. The interest rate does not increase further beyond this point, regardless of additional debt.

Variable Borrow Fee

Big Bang markets will use a variable borrow in order to better incentivize arbitrage opportunities:

The mint fee will linearly move between 0% and 1% in order to target a mint fee of 0.5% at USDO’s desired price of $1. This spread can also be modified, but the core team suggests that loosening these parameters is undesirable.

Peg protection Mode (PPM)

Peg Protection Mode can be enabled via Conservator governance on any Big Bang market in the event that a collateral asset poses a risk to the peg of USD0. When this occurs, the interest rate will be doubled from the maximum threshold set in its min/max parameters after a 72-hour delay. This delay is intended to give ample time for borrowers to repay their outstanding loans. After this initial increase, the interest rate will continue to double every 72 hours up to a maximum of 10% until fully disabled.

Overall, PPM is a mechanism design that encourages debt repayments in a specific market in order to unwind a specific collateral asset. PPM is not a desirable state for the protocol.

Big Bang markets will feature a Maximum Collateral Ratio (MCR) of 90%.

Due to the effect that Big Bang collateral assets can have on the USD0 peg, only highly decentralized and deeply liquid assets can be used as collateral to mint USD0. This is the reason why most of the initial collateral assets are gas tokens of their respective network or highly liquid staking derivatives.

Leverage and LTV Ratio

In the Big Bang markets, the maximum effective leverage available to users is determined by the maximum Loan-To-Value (LTV) ratio set for each market. There is no external leverage ceiling; instead, leverage is naturally limited by the market’s LTV.

This formula ensures that leverage remains within safe limits dictated by the collateralization requirements of the market.

Markets within Big Bang feature a maximum LTV of 90%, meaning that USDO is at least 110% over-collateralized. This high LTV ratio makes borrowing highly capital efficient, allowing users to maximize their borrowing potential while maintaining a significant collateral buffer to ensure the stability of the USDO stablecoin.

Flash Mint

Most DeFi users are familiar with the concept of flash loans introduced by Aave. Flash loans let users borrow any amount of a given asset without pledging any collateral as long as the loan is repaid in the same transaction. When the loan is not repaid in the same transaction block, the whole transaction will be reverted. This makes flash loans very helpful for arbitrage trades, collateral swaps, and liquidations.

A flash loan is a smart contract transaction in which a lender smart contract lends assets to a borrower smart contract in an undercollateralized manner with the condition that the assets are returned, plus an optional fee, before the end of the transaction. 

Tapioca’s flash mints are different from standard flash loans due to the fact that USD0 is minted during the flash-loan transaction and burnt at the end of it. This means that the size of the flash mint is not capped by an amount of liquidity in a pool, but rather by a parameter set by governance. To achieve this, Tapioca uses the ERC-3156 standard.

The ERC-3156 is a standard interface for processing single-asset flash loans. This ERC specifies interfaces for lenders to accept flash loan requests, and for borrowers to take temporary control of the transaction within the lender execution.

By using USD0 flash mints, users can profit from arbitrage between assets (without needing the principal amount to execute the arbitrage), which will make the process of liquidations more efficient, while still generating fees for Tapioca. Overall, flash minting is a resource that will allow USD0 to recover its peg almost instantaneously. Besides, due to the omnichain infrastructure of the Tapioca protocol, any supported network can take advantage of flash mints.

In the beginning, there will be a maximum flash minting cap set to 100,000 USD0 with a 0.001% fee.

Liquidations

Currently, most protocols handle liquidations by relying on automated bots who reap the rewards by earning a percentage bonus on the collateral amount being liquidated. This takes away rewards from actual users. In order to solve this problem, Tapioca distinguishes between open and closed liquidations:

Liquidations refer to the process by which external actors close the debt position of borrowers whose debt exceeds the dollar value of their collateral. This might happen when the collateral asset decreases in value or the borrowed debt increases in value against each other.

On Tapioca, USDO is backed by network gas tokens (eg. ETH) or Liquid Staking derivatives (stETH, rETH). Unlike other protocols where the entirety of a user’s collateral is at risk of a liquidation event, on Tapioca, each CDP is isolated and only that individual CDP is at risk of being liquidated. This allows users to open multiple CDPs with separate liquidation prices.

A CDP is similar to a loan, where the user deposits assets as collateral and the Tapioca protocol issues a corresponding amount of USDO according to the user’s LTV, which is based on the collateral asset.

For example, users can open two different CDPs with different collateral assets, LTVs, and liquidation prices. If the user believes that a certain asset has a greater chance of losing value in dollar terms, they can choose to borrow less USDO from one collateral asset and borrow more from the other.

The liquidation price is the price at which a user’s collateral will be liquidated. Whenever the value of the collateral decreases to match the position’s liquidation price, the collateral will be sold to cover the user’s debt (the position will be liquidated). 

In order to incentivize liquidators to close unbacked positions, Tapioca utilizes a mechanism based on dynamic liquidation incentives. Contrary to other protocols where a liquidator is limited to how much of a user’s loan it can repay, Tapioca uses a dynamic closing factor that progressively allows for larger portions of a user’s collateral to be closed as the user’s loan comes progressively closer to becoming undercollateralized. 

The Loan-to-Value ratio, or LTV, is an indicator that represents the maximum borrowing power of a specific collateral asset. For example, if an asset has a LTV of 75% that means that for every unit of collateral, the user will be able to borrow 0.75 worth of that unit in USDO.

twAML (Time Weighted Average Magnitude Lock)

twAML, which stands for Time Weighted Average Magnitude Lock, is a strategic technology that seeks to promote economic growth within the Tapioca ecosystem while avoiding the standard liquidity programs that are used in the industry. twAML is the mechanism that oTAP relies upon in order to measure the value provided by lenders to the Tapioca protocol. twAML was designed for growth and sustainable governance practices that protect against manipulation.

twAML is used in twTAP as a token locking mechanism, as well as in Singularity markets in order to allow users to lock their lent liquidity in order to receive DSO incentives. 

Average Magnitude Lock (AML)

AML introduces a game theory-driven, competitive system where users select lock durations and liquidity amounts (time weights) that impact the Average Magnitude Lock (AML), a measure of economic activity within the Tapioca ecosystem.

Users compete by locking TAP or SIngularity Lending positions, influencing AML, and ensuring optimal  reward levels to stimulate economic growth which increases as TAP is locked for longer periods. Locked TAP increases Protocol Owned Liquidity (POL) captured with oTAP, while locked Singularity positions generate more ecosystem revenue benefiting twTAP lockers.

Higher discounts are offered for lower time commitments to incentivize growth when economic activity stagnates while lower discounts appear for average lock durations during periods of high economic activity, encouraging users to lock more capital for longer durations.

To impact AML, locks must account for at least 0.10% of total liquidity, however this is transparently modifiable by governance.

AML is an effective tool for creating competition between market participants as well. Users are incentivized to lock more capital and for longer durations to achieve better discounts, creating a Player vs. Player environment.

Example: If User A locks 100 USDO for one year and receives a 30% discount, User B locking the same amount for the same duration might receive a 15% discount. User B is incentivized to lock for a longer period to achieve the same discount as User A.

The Game Theory of twAML

The ultimate goal behind twAML was for it to focus on achieving a level of Pareto Efficiency that would align the incentives of the players and the system itself, ensuring that all participants receive outcomes that improve the payoffs of all actors and the system itself.

Pareto Efficiency implies that the incentives of the protocol are allocated in the most economically efficient manner (but that does not imply fairness) such that there is no outcome that increases at least one player’s payoff without decreasing anyone else’s.

With twAML, when one player chooses to escrow their capital for the duration required to maximize their incentives (oTAP) discount, the next player applying the same escrow arrangement would receive half the reward as the player before. This is a variant of Rubinstein’s bargaining model.

In twAML, both the optimal (collective outcome strategy) and the rational (self-interest strategy) strategy is to lock enough capital for the amount of time necessary to receive an equitable reward. Because of this, twAML also reaches the Subgame Perfect Nash Equilibrium.

When the lock time becomes perceived as too long to receive a reward level that is perceived as equitable, the system will decrease the lock time required to receive an equitable reward until allocative efficiency is reached again. In this case, what users view as an equitable reward at the individual level does not matter, since the collective always decides what is in the best interest of themselves and the system itself.

Why Tapioca DAO Will Not Use Liquidity Mining

The goal behind liquidity mining is to capture and retain liquidity in the ecosystem, however, most precedent liquidity mining programs have failed to accrue value to the governance token of the protocol. To solve the shortfalls of liquidity mining and avoid the dilution of incentives, Tapioca implements a twAML mechanism to maximize the time that capital remains in the protocol while still generating revenue and contributing towards a governance system where the incentives of all DAO members are aligned. Following this logic, the longer the liquidity is kept in Tapioca, the more value can be accrued through loan repayments, yield performance fees…

With twAML, Tapioca is trying to solve the primary issue with liquidity mining, where users “receive something for nothing”. After all, liquidity mining programs chase TVL, but this liquidity is not locked, as LPs can withdraw at any time. These programs hope to attract as many liquidity providers as possible by giving them token incentives for free. However, this is not a sustainable practice, and, in the long run, it leaves the protocol economically disabled.

Reasons Why Tapioca Will Not Implement Existing Alternatives To The ve Model

Base Economic Model

Users of today demand real yield instead of high emissions from inflationary tokens. To achieve that, twAML’s model is targeting the following goals in order to broaden the scope of Tapioca’s economic model:

Core Tenets of twAML

Simulation of twAML Mechanics

Barry Fried released a google doc that allowed anyone to simulate a call option discount percentage, relative to their weight or capital locked for X hours.

Pearlnet

Pearlnet is Tapioca’s omnichain infrastructure, Tapioca’s DVN. It utilizes LayerZero V2, allowing OApps to control their own modular verification network. Specifically, Pearlnet is a DVN (Decentralized Verification Network); it is a customized configuration of the default LayerZero omnichain configuration. This approach was taken with the goals of maximizing decentralization and minimizing the role of any trust in other protocols. It is made possible by the highly customizable nature of LayerZero.

Pearlnet utilizes LayerZero V2, in comparison to the previously implemented Pearlayer, which utilized LayerZero V1. It will launch initially as Pearlnet Epsilon, using a 4-of-7 multisig, in addition to Polyhedra zkLightClient, and Google Cloud, in a 1-of-2-of-3 configuration design. Specified messaging libraries will be used in a defined configuration. The process of upgrading Pearlnet Epsilon to Pearlnet will require a vote to pass, with a 60-day timelock completing after a successful vote.

While Tapioca’s core smart contracts are only deployed on Arbitrum, Yieldbox is deployed on many chains. Tapioca uses proxy contracts on all supported chains outside of Arbitrum in order to pass cross-chain messages from one chain to another. When it comes to pricing, Tapioca relies on Chainlink’s custom price feeds to support LayerZero infrastructure. These Oracles work in tandem with Pearlnet and the only way for an exploit to occur would be if there was a collusion between the Oracle and the Pearlnet.

Let’s take an example of a user that requests to deposit MATIC on Polygon in order to borrow funds on Arbitrum:

  1. The user deposits MATIC on Polygon
  2. A message is passed to the Polygon LayerZero endpoint informing of the user’s deposit
  3. The endpoint sends information to teh DVNs for verification.
  4. DVNs verify the message payload hash.
  5. Assuming everything is valid, the requested action to borrow USDO on Arbitrum is executed.

Pearlayer uses LayerZero’s Pre-Crime security mechanism, which is responsible for running a series of assertions on a locally forked blockchain in order to verify that every cross-chain message being delivered will never result in a compromised state. If any of these assertions were to fail, Pearlayer would not deliver the message to the Tapioca Protocols, preventing a possible attack altogether.

Tapioca also uses Forta for monitoring. Forta is a decentralized network of independent node operators that scan transactions on a block by block basis in order to track state changes and detect outlier transactions and threats. Whenever an issue is detected by a node operator, an alarm will be triggered in order to activate a set of smart contracts that will pause all markets and disable minting of USDO. Pearlayer is also behind a 4/7 multisig wallet.

Using the Protocol

Leverage

Leveraging long/short assets is one of the most common use cases of a money market protocol. This is possible in Tapioca thanks to Singularity, which allows users to leverage their CDPs (Collateralized Debt Positions).

Leverage is the term used to refer to the use of borrowed funds in order to increase one’s trading position beyond what would be available from the initial collateral deposit alone.

In order to open a CDP, users need to deposit the collateral that they want to leverage. In Singularity, as long as the required collateral is deposited within the same borrow transaction, the user will be able to select the desired level of leverage (up to 3x) and borrow the corresponding amount of the desired asset. Right after depositing the collateral, the borrowed asset will be swapped for the collateral asset, which will remain in Yieldbox until the user closes the positions.

In addition to allowing for borrowing with leverage, Tapioca also allows users to set a trailing stop loss to their position through Gelato Network. Thanks to this automation, whenever the stop loss price is hit, Gelato will trigger an execution to swap the collateral asset back into USD0 in order to deleverage the positions and protect the user from the loss of its funds.

A trailing stop loss is a limit order that lets the user specify a maximum value or percentage of loss to incur on a trade. As the price rises or falls, the stop loss moves along with it. This means that the stop price follows the market price when it moves in your favor and stays in place when the market price moves against you. This is useful for locking in profits on the way up while protecting capital on the way down.

Borrowing

In Tapioca, users can borrow liquidity from any chain. Users who have positive expectations about the future price of an asset and they don’t want to sell that asset can deposit their tokens as collateral on a money market in order to borrow against it. By borrowing, you are able to obtain extra liquidity (productive capital) without selling your tokens.

Given that Tapioca is an omnichain money market, users can borrow against their assets on one chain while utilizing the borrowed funds on another chain.

Overall, users can

How much can I borrow?

The maximum amount that a user can borrow depends on the dollar value of the tokens supplied as collateral. Different assets will have different Loan To Value Ratios (LTVs). The LTV for that asset will be used to determine how much USD0 you will receive against your collateral. For instance, if ETH has an LTV of 90% and you deposit $100 worth of ETH as collateral you will be able to borrow $90 worth of USD0.

At the beginning, there will be no debt ceiling (the maximum amount you can borrow) on any market.

How/When do I repay my loan?

Loans must be repaid in the same asset that is being borrowed, meaning that all loans would be repaid in USD0. Like in most DeFi money markets, loans are perpetual in nature and there is no fixed time to pay back a loan. Therefore, as long as the collateralized debt positions remain within the acceptable LTV ratio, the loan can remain open indefinitely.

Users must monitor the health of their loans in order to avoid being liquidated. If the health of their loan declines, they can partially or fully repay the loan, or deposit more collateral.

How much will I pay in interest?

The interest rate will depend on the collateral ratio of the given collateral. Each asset except ETH (which has a 0.5% fixed interest rate) will have a variable rate that will constantly change within a predefined minimum and maximum rate. In Singularity markets, the interest rate will be determined by the utilization rate of the market.

The Utilization rate is an indicator of how much capital is available in a lending pool. It represents the total amount of funds being borrowed from the total amount of liquidity available in the lending pool. 

As the utilization rate increases and approaches 100%, the capital becomes scarcer until when there is no more liquidity available since all the funds from the pool are being borrowed.

When capital is available, low-interest rates will incentivize borrowing

When capital is scarce, high-interest rates will disincentivize borrowing and encourage loan repayments.

Utilization rate = Total Borrows /  Total Liquidity

Lending

When users lend assets on Singularity markets, they are entitled to earn yield from borrowers, as well as a portion of each lending market that will be lent out in yield strategies (usually 20-25%). This is known as dual simultaneous usage of liquidity and will allow Tapioca to offer its users much higher yields than other standard lending markets (where the only yield comes from interest payments by borrowers).

The target utilization rate inside Singularity markets is 80% so 20% of the liquidity can be lent out in yield-generating strategies. This means that 80% of the total liquidity in Singularity markets will be available for borrowing.

All assets in Singularity will autocompound the accrued fees and liquidity mining rewards they earn as well as constantly rebalance themselves across many protocols and networks in order to access the best real yields possible within a given risk tolerance.

Minting

Big Bang is designed for minting the USDO CDP stablecoin.  When you mint USDO, you’re essentially creating a collateralized debt position (CDP) where you deposit certain assets as collateral to generate USDO. Unlike borrowing from other users, minting involves the protocol lending USDO directly to you, 

When users deposit collateral, they create a CDP. This means they are borrowing USDO against their deposited assets. The amount of USDO you can mint depends on the market parameters, particularly the Loan-to-Value (LTV) ratio.

Unlike borrowing, here the protocol directly lends USDO to you, backed by your collateral. In Singularity, other users act as lenders, but it still involves creating a CDP. Yield from liquid staking derivatives (LSTs like stETH) used as collateral can automatically help repay your debt over time. However, users need to be cautious of market volatility, slashing events, or depegs that could affect your collateral’s value.

Big Bang allows for an LTV of up to 90%, you can borrow up to 90% of the value of your collateral.

Locking

The TAP is Tapioca DAO’s backbone, but by itself, it doesn’t do much. When users lock TAP, they get twTAP, which lets them participate in governance, vote on improvement proposals, and bribe Option Gauges to direct incentives to their preferred markets.

twTAP also entitles users to a share of the protocol’s revenue, distributed in USDO every epoch (week).

Users who lock USDO in Singularity Markets, earn oTAP call option incentives every week, on top of their base lending yields. oTAP can give users up to a 50% discount on the market value of TAP each week.

The discount level stays the same throughout the lock period. The strike price for TAP is calculated each epoch based on the current market price and your discount.The amount you receive depends on the amount of TAP locked and the lock duration, measured against the current AML. Also, users who lock USDO in a Singularity Market earn oTAP call options each week.

What Happens When the Lock Period Ends?

Once the lock period ends, you can withdraw your TAP or USDO. But, you’ll lose the governance rights, USDO rewards, and Option Gauge voting power with twTAP, and you’ll stop receiving oTAP rewards with USDO.

Can Users Unlock Early?

Once you lock your TAP or USDO, you can’t unlock early or modify the lock duration. Tapioca is planning a new protocol called “twPro,” which will allow you to trade, liquidate, and perform other functions with your lock positions in the future.

What If My USDO Mint Position is Liquidated?

If your mint position is liquidated, a liquidator buys a portion of your collateral to bring your CDP (Collateralized Debt Position) back to a safe ratio. Even if your position reaches a 100% LTV and is fully liquidated, your USDO remains backed and the debt is settled by liquidators. On the other hand, if your mint position is open but not liquidated, you can reclaim your collateral after repaying the debt, while your USDO remains locked.

Where Does The Yield Come From?

Since Tapioca does not feature any liquidity mining programs, all the estimated yields that can be earned on the platform are the result of productive economic activities (e.g. real yield) such as lending assets to borrowers and collecting interest payments.

Tapioca is an omnichain money market that uses LayerZero technology in order to facilitate cross-chain borrowing and lending. Tapioca’s core smart contracts include Singularity, an isolated risk market borrow and lending engine, and Yieldbox, a permissionless token vault. Both of these contracts were created and licensed to Tapioca by BoringCrypto.

Teleport 

Teleport allows users to move USDO and TAP across networks with no slippage, long wait times, or fees. This is achieved through leveraging the LayerZero OFT or Omnichain Fungible Token super-standard, which imbues the token itself with the ability to be transferred network to network using a mint and burn. Unlike traditional bridging protocols, Teleport does not require liquidity pools or wrapped intermediary assets. Instead, it uses a burn-and-mint mechanism validated by LayerZero.

When a user initiates a Teleport transaction, the token on the source chain is burned. This burn is validated by the Verifier to ensure security against blockchain reorganizations (reorgs). Once validated, a message is delivered to the LayerZero endpoint on the source chain, prompting the Executor on the destination chain to mint the corresponding token. This process eliminates the need for liquidity pools, thereby avoiding slippage and reducing transaction times and fees.

Tapioca’s tOFTs, TAP token, and USDO stablecoin all employ this standard, enabling seamless movement across various LayerZero-supported networks. This approach significantly reduces the risks associated with traditional bridges and fosters a more interconnected and user-friendly DeFi ecosystem.

Introduction to Mechanism Design and Game Theory Implementation

Game Theory Behind DeFi Incentives Programs

When analyzing the way most liquidity mining programs work, it becomes very obvious that all users follow the same simple strategy: yield farming. This simple yield farming strategy simply consists in supplying capital, receiving rewards, and then withdrawing the liquidity and selling rewards for a profit. Unlike an environment of pure strategy, these practices do not incentivize users to study the market in order to come up with a procedure that provides the best payoffs given their specific circumstances.

Tapioca’s AML is based on Game Theory, a field of study that seeks to understand the behavior of human psychology and explain their decision-making process when it comes to comparing the benefits of self-interest and cooperation.

In economic theory, the Nash equilibrium is used to illustrate that decision-making is a system of strategic interactions based on the actions of the other players. When players no longer need to change their strategies, they have reached the Nash equilibrium. 

The Nash equilibrium is a part of game theory that models economic behaviors 

Game theory scenarios such as the prisoner’s dilemma lead to a counterintuitive decision-making paradox where the rational decision is to blame the other prisoner in an act of self-interest, while the optimal decision is for the prisoners to cooperate and remain silent in an act of collective interest. However, most individuals will almost always act in self-interest, and will rarely choose the optimal strategy.

Unlike in the prisoner’s dilemma, game theoretical systems such as (3, 3) introduced by Olympus allow the participants to communicate and, in theory, reach a consensus to continue cooperating (staking) in an optimal strategy. By staking, OHM holders are essentially cooperating to withhold OHM supply from the market, therefore raising the OHM price and increasing OHM’s market capitalization.

However, at the beginning of (3,3), the profit motivation to sell is small, and the participants’ self-interest would be aligned with the system to cooperate and increase the value of OHM through staking. But as participants continue choosing the optimal choice to stake and the potential profit starts increasing and players start deviating from their original strategy and start acting in their self-interest to sell (-3 + -3 = -6).

Once it becomes better to deviate from the optimal strategy, the Nash Equilibrium is lost. This is where a second concept from game theory is introduced, the Subgame Perfect Nash Equilibrium (SPNE).

A Nash equilibrium is said to be subgame perfect only if it has Nash equilibrium in every subgame of the game.

As an infinitely repeated Prisoner’s Dilemma, Olympus achieves the Nash Equilibrium. However, it fails to achieve SPNE like the Prisoner’s dilemma. As the game goes on into many sub-games, it becomes better to deviate from strategies and act against the collective interest of OHM.

When applying game theory to situations like Prisoner’s Dilemma, it is possible that, in theory, the outcomes are not optimal, since there can be better outcomes for all participants than what theory states.

An outcome is Pareto Optimum if you cannot find another outcome that simultaneously improves the payoffs of both players. 

In (3,3), the solution of cooperative staking (+6) does not constitute a Pareto Optimums, since the two participants would be better off if they were to betray the collective and sell (-6) during the later stages of the game.

Options Liquidity Mining (OLM)

The concept of Options Liquidity Mining was first introduced by Andre Cronje in 2021 to be applied for Keep3r Network. Since Keep3r was an experimental protocol at that time, the concept of Options Liquidity Mining did not get much traction. Now, however, with the advent of protocols working with on-chain options, Tapioca is leading the efforts to implement options as part of its liquidity mining program.

Tapioca introduces a new practice by which instead of rewarding users with TAP emissions at a price of $0, lenders will receive oTAP, an LayerZero 0NFT721  (NFT) position that represents a call option. When lenders exercise these options, 50% of the process will go towards building Protocol Owned Liquidity for the Tapioca DAO, and the remaining 50% will go to veTAP lockers. 

Call options are financial contracts that grant the option buyer the right but not the obligation to buy an asset (TAP tokens) at a specific price and within a prespecified time period.

The Drawbacks of Bonding

Token incentives would seek to attract capital towards the protocol due to how important this is for a money market. The key here is to avoid destabilization from external market conditions. A “veLP” like system was first studied as an initial approach so that users would lend capital and receive a tOLP ONFT receipt (Tapioca Ominchain Liquidity Provider Receipt) that they could then lock and receive incentives for each epoch their tOLP was locked. If implemented, this maximizes the capital available for borrowers, which in turn creates fees through debt repayments, borrowing fees, and yield performance fees. More liquidity would then lead to more revenue and more users.

This initial incentive could use bonding for accruing POL. However, bonds do not set a predictable price floor for the incentive, or an estimable trade of the capital provided for the expenditure of the incentives, as it is a constant discount against the incentives’ market price. Through this model, it is still possible to have more sell pressure from bonding practices than with regular liquidity mining. As an example, bots were programmed to buy POOL/ETH LP tokens to obtain POOL tokens at a discount from PoolTogether and sell them for a profit. Pooltogether realized that selling those tokens OTC or simply selling them on an AMM would have been more effective. 

Finally, by following an issuance strategy that creates enough POL for the times when TAP incentives are no longer effective in attracting more liquidity, Tapioca would become its own capital provider for its own LP pairs using Arrakis vaults to manage the LP in combination with Tapioca’s borrow-lending markets. Lockers would then share the fees generated and receive tETH as the unit of reward while the DAO would always act in the best interest of its longevity, unlike mercenary farmers.

OLM as an Alternative to Bonding

Due to the problems identified with a bonding approach, the team was faced with the question of how TAP could be issued without bonding. This is achieved by iterating over Andre Cronje’s Options Liquidity Mining model, which also could be reused for TAP’s airdrop. From that perspective, liquidity Mining can be looked at as a call option with a 100% discount and an infinite expiry, whereas call options set an estimable price floor such as:

Since non-circulating TAP only enters the market when call options are exercised, the preset inflation becomes the maximum amount of TAP that can be redeemed each week instead of the actual amount of inflation that will occur. Besides, due to the nature of call options going out of the money (unprofitable to execute) and having an expiration, this mechanism ensures that incentives can be offered over a long time horizon (since TAP not redeemed through call options does not enter circulation).

oTAP as a Value Capture Mechanism

Tapioca reconfigures the way call options work in the original OLM model followed by K3pr Network. oTAP call options will capture POL. This means that instead of redistributing redemptions with lockers, they will be redirected to the DAO Treasury, which will then deploy the capital into Arrakis vaults. The Arrakis Vaults would function as a decentralized market maker and the DAO Treasury would earn fees from the trading of its own tokens. 

To address the issue of where the value from redemptions goes, users would receive oTAP for each epoch their tOLP was locked. When a user receives oTAP, they would redeem TAP tokens from the DAO treasury, which creates POL (Protocol Owned Liquidity).The user could then choose whether to sell tokens on the open market to lock a profit, or whether to escrow the TAP tokens to receive shares of protocol revenue. This is achieved by using call options, which allow users to be ITM (in the money) and receive TAP tokens below its current market value.

When it comes to solving for the fixed discount of K3per Network, Tapioca’s goal is to have a dynamic discount based on economic activity. This is achieved through an Average Magnitude Lock mechanism.

twTAP and Time Weighted Escrowing

Like oTAP, twTAP (Time-Weighted Escrowed TAP) employs AML as well. The only difference is that the boundaries are not from 0% to 50% (minimum and maximum discounts in oTAP), but from 0% to 100%. This is the ratio of twTAP that is received as an input, where the twTAP output is given by AML (TAP amount + time duration).

Example: If a user locks 100 TAP for a year and the AML at that time gives a 50% output, the user will receive 50 twTAP. If another user locks the same 100 TAP for a year later, with an increased AML, they might receive only 30 twTAP. The second user would need to lock for a longer period to receive 50 twTAP or accept fewer twTAP.

An analogy would be that, during the Curve wars, users would have to lock for longer than 4 years to get the best outcome, while during periods of recession, users could lock for shorter amounts of time to get the best outcome. 

Both oTAP and twTAP are transferable and represented as LayerZero ONFT-721, which allows for the creation of secondary markets to trade locked positions while still forcing the underlying TAP to remain illiquid for its escrow duration. 

The Downsides of OLM

Despite its advantages, OLM has its drawbacks. The redistribution of tokens from redemptions to lockers means liquidity captured from these redemptions exits the system. Additionally, fixed expiry and discount rates are not optimal for dynamic adjustments during different economic phases. By refining OLM and incorporating dynamic discounts, Tapioca aims to overcome these limitations and create a more adaptive incentive structure.

Business Model

The Tapioca DAO Treasury is where all the Tapioca DAO-owned assets will be stored. These assets will include a share of Tapioca’s protocol revenue as well as funds obtained through exercised call options to the DSO program.

The Tapioca Treasury will also collect 20% of the total protocol revenue, which will come from performance fees on the yield generated by Singularity and Yieldbox. This will build POL (Protocol Owned Liquidity) for the Tapioca DAO.

By building POL, Tapioca eliminates the need for incentivizing liquidity with aggressive liquidity mining programs that are not sustainable in the long run. Besides, by building its own treasury, Tapioca removes the possibility that other third parties profit from its ecosystem and capture the value generated by Tapioca. This will ensure that users are always able to swap USD0 on all supported networks in a seamless manner regardless of market conditions and external events.

Revenue Streams

When it comes to protocol revenue and long-term sustainability, Tapioca does not emit TAP tokens for free. Instead, Tapioca issues oTAP, an American-style call option that allows the protocol to acquire POL (Protocol Owned Liquidity). Under this premise, lenders with oTAP can buy TAP tokens from the DAO at a discount.

Every week, a percentage of platform fees are distributed to twTAP lockers in the form of ETH. twTAP also allows liquidity providers to boost their oTAP call option discount up to 1.5x as well as boost their Singularity loan’s LTV ratio up to 15% from a base of 75%.

Tapioca also collects 20% of the total protocol revenue, which will come from performance fees on the yield generated by Singularity and Yieldbox.

The Tapioca Treasury will be funded by:

Fee Breakdown

As a protocol, Tapioca captures fees generated from the use of the services it provides. All of the listed fees below are distributed to twTAP lockers every epoch in the form of USDO:

Flash Mint Fee: 0.001%

Tokens

$TAP Token

As Tapioca has no liquidity mining programs, all TAP tokens were “pre-mined”, which means that the tokens held by the DAO are not circulating.

TAP is Tapioca’s governance token and the “heart” of the Tapioca DAO token economy, which include 6 sub-protocols;

TAP was crafted in order to support a sustainable and fairly distributed economy that can experience long-term growth and economic value retention. The end objective of the DAO is to reach a ubiquitous distribution of the TAP token in order to facilitate the decentralized governance of the Tapioca DAO.

The TAP token utilizes the LayerZero OFT20 standard. Because of this, TAP is transferable to any supported network without a bridge and has an elastic supply across all chains.

TAP tokens may only be acquired through the DAO Share Options (DSO) program and Pearl Labs does not purport TAP to have any value whatsoever. This lack of function is intentional, the token is designed to be “time weighted”, which can be thought of as ‘locked’. Upon time weighting, TAP transforms into twTAP, a LayerZero ONFT-721.

100,000,000 tokens can enter circulation, making up the finite supply. There will never be more than 100,000,000 $TAP tokens.

Token Distribution

The TAP token distribution was crafted in collaboration with the community in order to achieve an equitable distribution of the initial supply.

TAP has a fixed supply of 100,000,000 tokens and will be distributed over a period of at least 6 years. Once the total supply is in circulation, no additional TAP tokens can ever be created.

The TAP distribution is as follows:

 

The genesis supply is 7,630,000. 83% of the Genesis supply will be allocated to the Tapioca community, of which:

When it comes to the genesis token auction, a self-hosted Omnichain Balancer Liquidity Bootstrapping Pool (LBP) was selected with the following customized configuration.
  • Duration: 48 hours
  • Starting Weights: 1% USDC & 99% LTAP (170,000 USDC & 5,000,000 LTAP)
  • Ending Weights: 80% USDC & 20% LTAP
  • Swap Fee: 0.3%
LBP proceeds will go to the DAO Treasury and will be used to seed initial liquidity for TAP/WETH 0.05% & USD0/USDC 0.01% Uniswap V3 pools on Arbitrum, as well as the USD0/DAI 0.01% Uniswap V3 pool on Ethereum. The initial price will be set at $3.52, per Balancer’s recommendation.
LTAP will be used as a receipt token which can be exchanged 1:1 for TAP. The purpose of LTAP is to deter malicious actors who may want to deploy their own pool before the LBP has finished.

TAP Initial Circulating Supply

twTAP

twTAP stands for Time-Weighted TAP, which is a LayerZero 0NFT-721. twTAP can only be minted by locking TAP. twTAP is based on Tapioca’s twAML or time-weighted average magnitude lock.

The benefits for twTAP holders include:

  1. Voting Power within the Tapioca DAO & Option Gauges
  2. Pro-Rata Share of Ecosystem Fees which is distributed every epoch (week) in the form of Tapioca’s omnichain stablecoin- USD0.

twTAP also allows liquidity providers to boost their oTAP call option discount up to 1.5x as well as boost their Singularity loan’s LTV ratio up to 15% from a base of 75%.

Upon locking TAP, twAML receives TAP as an input as well as a time-weight in order to mint a certain amount of twTAP at a certain point in time.

oTAP

oTAP is a LayerZero 0NFT-721 token that serves the purpose of acting as an economic growth incentive used in the DSO (DAO Share Option) program. This is an alternative to running a liquidity mining program.

Lenders are eligible to receive oTAP call option incentives by locking tOLP (or Tapioca Omnichain Liquidity Provision) receipt tokens.

oTAP is an American-style call option, with discounts ranging from 0% to 50% (excluding twTAP boosting) depending on the time commitment and the current free market value of time.

Options offer the right but not the obligation to purchase an underlying asset in a set period of time at a fixed price.

An American call option is an options contract that allows holders to exercise their option rights at any time as long as it is before or on the day of expiration. The difference with European options is that the latest only allows for execution on the day of the expiration.

Recipients of oTAP may exercise oTAP in order to OTC (over the counter) purchase TAP at a discount from the DAO, which can then be sold on the spot market for a guaranteed profit.

oTAP is distributed weekly and has a 1week expiration. When oTAP is distributed, the spot price of TAP serves as the reference for coming up with the strike price of the option. Lenders receive an ITM (in the money) call option to purchase TAP based on their given discount.

One oTAP is redeemable for one TAP up until expiry.

The strike price of an option is the fixed price at which the owner of the contract can buy (in the case of a call option) or sell (in the case of a put option) the underlying asset.

An option is in the money when its value or its strike price is favorable compared to the market price (i.e if you can buy at a discount compared to the market price, or sell at a premium to the spot market price).

Option Airdrop

The Tapioca airdrop will use American options via oTAP in order to expand its user base and distribute TAP tokens among its most valuable users with the goal of decentralizing governance and incentivizing usage of the protocol.

The majority of airdrops rely on a simple strategy that consists of sending free tokens to wallet addresses that have interacted with the protocol. This method is known for leading to multiple negative consequences when it comes to creating a long-term user base. Among its main problems we can identify:

  • Limited value proposition, since for instance in Uniswap, only less than 5% of the recipients remained loyal users of the protocol, with less than 2% of UNI airdrop recipients ever voting or delegating their voting power for governance purposes.

Outside of Uniswap, the same applies to other protocols that have followed a similar practice, like 1inch, Hop Protocol, Optimism, Ethereum Name Service, or Looksrare. Each of them saw more than 90% of the airdrop recipients selling their tokens as soon as they received them. For example, nearly 50% of users who received OP tokens never used the chain after the airdrop. This shows that the OP airdrop failed to incentivize usage of the network (and thus generate revenue from fees).

When it comes to airdrops, one of the most well-known problems arises from sybil attacks by which a small number of network actors try to game the system and gain an outstanding share of influence over a protocol, usually by participating with multiple wallets that belong to the same entity.

Protocols preventing sybil attacks often impose restrictive measures that can end up harming legitimate protocol users and community members.

Tapioca addresses this issue by disincentivizing behaviors that seek to game the system. The reason for that is that TAP tokens are not being given away for free. Instead, there is an associated cost that discourages sybil attackers. TAP tokens must be purchased and, while the option airdrop allows for purchasing TAP tokens at a discount, even if these tokens are later on sold on the open market, those users are still providing liquidity to the Tapioca DAO. Furthermore, this allows community members to get discounted tokens from the protocol in order to further support its growth through the Tapioca Guild. Besides, since users are purchasing TAP, they are showing confidence in the long-term growth of the protocol.

LBP Participation and Eligibility Requirements

The earlier a user enters the TAP LBP, the higher their discount will be on TAP via oTAP call options.

1,500,000 oTAP out of the total 2,500,000 oTAP tokens were distributed to LBP participants such that each LBP participant could be weighted 10:3 in terms of airdrop allocation. This means that if a user purchased 10,000 TAP during the LBP, they would have received 3,000 oTAP at the end of the LBP event.

The strike price of the oTAP call options was based on the final LBP price and these options will carry an expiration of 72 hours.

The Tapioca Guild received the second phase of the options airdrop, with its strike price-weighted against the price of TAP 72 hours after the completion of the LBP.

750,000 TAP was to the Tapioca Guild in the form of oTAP call options with a 72 hours expiry:

Pearl Club NFT holders who received their NFTs from their participation in the beta testing phase of the protocol will be eligible to receive the second phase of the oTAP call option airdrop distribution.

250,000 TAP will be allocated for holders of Pearl Club NFTs in the form of oTAP call options with a 72-hour expiry.

The third and final phase of the option airdrop distributed oTAP tokens to twTAP lockers, who received oTAP call options proportional to the amount of TPA not redeemed from the entire airdrop allocation 72 hours after the completion of the phase two distribution. These lockers received a proportional share of the remaining oTAP in relation to their total share of the twTAP metagovernance pool, bearing a 33% discount and a 72-hour expiry.

For example, if there were 500,000 unclaimed TAP tokens by the end of phase 2, a user who locks TAP purchased at the LBP and that has a 10% share of the global twTAP metagovernance pool received 50,000 oTAP with a 33% discount to the spot price of TAP with a 72-hour expiry.

Tapioca Omnichain LBP

Tapioca distributed 5,000,000 TAP tokens (5% of the total supply) via a Balancer Liquidity Bootstrapping Pool that lasted for 72 hours. The LBP event was used to distribute governance tokens to the broader community in order to achieve as much decentralization as possible while still triggering price discovery for the TAP token.

The reason for distributing tokens with an LBP event is because of its capital efficiency. By using a small portion of tokens to initiate the pool, Tapioca was able to optimize for a fair distribution of its native token. The reason why this fair distribution occurs is that the linear step-down function of the LBP creates a constant downward pressure on the price, balancing upward buy pressure and ideally keeping the price oscillating around its market value. This has two most notable benefits:

After the LBP concluded, the proceeds were transferred to the Tapioca DAO Treasury. These funds will be used to seed initial liquidity for the TAP and USD0 tokens.

Participants who purchase TAP at $2.00 or higher were also eligible for the Options Airdrop.

LBP Parameters

Users were able to take part in the LBP event with USDC from Arbitrum, Optimism, Ethereum, Avalanche, and Polygon.

Before the LBP the valuation of TAP was $0.44 per TAP token, which resulted in a $44M fully diluted valuation.

The starting price of the TAP LBP was $3.52. The commonly advised setup for an LBP is to set up the starting price at 4x the expected end price based upon final weightings. In this case, the weightings would suggest an end price of $0.88, which is 2x from the last round.

DAO Share Options (DSO)

The TAP token is not issued as part of a liquidity mining program. For that reason, the only way to receive TAP tokens is from the DAO itself. This is achieved by participating in the DSO or Dao Shares Options program.

DAO Share Options are an iteration of Andre Cronje’s Options Liquidity Mining. However, contrary to the original model implemented in Keep3r Network, Tapioca does not value TVL (Total Value Locked), and instead values permanent liquidity capture in the form of Protocol Owned Liquidity (POL). This rather simple change modifies the dynamic between capital providers and the Tapioca dAO itself. For that reason, Tapioca features no liquidity mining programs and instead relies on oTAP in order to incentivize the long-term growth of Tapioca’s POL.

The inspiration for the name of DSO comes from ESO, which stands for Employee Stock Options, which is a type of equity compensation granted by companies to their employees. This is a commonly used method by companies to create a loyal relationship between a company and its employees in order to increase the productive outcome of the company. In the same way, the goal of the DSO program is to create a loyal and symbiotic relationship between lenders and the Tapioca DAO.

Example walkthrough

Out of the money is an expression used to describe an option contract that only contains an extrinsic value and has no intrinsic value. An OTM call option will have a strike price that is higher than the spot market price of the underlying asset, while a put option will have a strike price that is lower than the market price of the underlying asset.

Due to the design of American options, each week there will be TAP tokens that will not be redeemed via oTAP call options. This TAP will simply remain in the House of the Commons until it is redeemed, which will allow the DSO program to run well past 4 years.

tOLP (Tapioca Omnichain Liquidity Provision)

tOLPs are receipt tokens to lenders that lend liquidity to Tapioca. This receipt is a LayerZero ONFT-721 that can be locked via twAML to receive DSO incentives.

tOFT

Tapioca Omnichain Fungible Tokens, tOFTs, are liquid LayerZero OFT20 omnichain asset wrappers that represent the underlying non-omnichain asset. Tapioca uses this design in order to issue tAssets that will be used as collateral on Tapioca markets. tAssets are strictly 1:1 backed by omnichain assets.

An OFT (Omnichain Fungible Token) is a LayerZero token standard that allows assets to seamlessly move between all supported chains with no added cost.

When there is a cross-chain asset transfer, the token is burned on the source chain and then minted on the destination chain, all directly through the token contract. Because of this, tAssets have an elastic supply on a per-chain basis while still having a fixed total supply of all circulating tokens across all chains. This makes liquidity composable instead of leading to liquidity fragmentation across chains.

There is no need for bridges and, therefore, wrapped assets do not need to act as receipts for assets that are not supported on a specific chain. Instead, tAsset wrappers are supported on all chains present in LayerZero. On a similar note, since there is no need for a bridge, this removes the extra barrier for users to pay a fee for moving their assets. Besides, bridges also introduce the additional problem of having slow finality.

By having transfers built directly into the contract, users can forgo paying an additional bridge provider on a per-transaction basis. With tOFTs, there are no exit fees, performance fees, mint fees… tOFTs only incur fees when being lent in Singularity markets and have no added fees besides the normal gas costs to wrap and unwrap them.

tAssets

Among the benefits of OFTs stands out its ability to avoid liquidity fragmentation across many chains. To avoid this fragmentation that results from protocols being deployed to multiple chains, Tapioca provides users with a way to access one unified token across many chains. For example, tGLP combines GLP on Arbitrum and Avalanche into one liquid asset.

Layerless ETH (tETH)

Layerless ETH is a special type of tAsset that unifies ETH from Ethereum mainnet, Arbitrum, and Optimism. Users can supply ETH from any of those chains to mint an equal amount of tETH. After that, users can move their tETH between chains without paying any fee besides gas costs. tETH can either be used in its wrapped state or can be unwrapped back to Ethereum mainnet ETH, Optimism ETH, or Arbitrum ETH. This process is also frictionless due to the reserves of ETH being automatically rebalanced between networks using Gelato Network.

Omnichain (tGLP)

tGLP is the omnichain representation of GMX’s GLP, with the difference that it unifies tokens from Arbitrum and Avalanche. tGLP is minted by depositing GMX GLP from Arbitrum or Avalanche. Furthermore, ETH and AVAX rewards are auto-compounded in order to acquire more GLP which is then split pro-rata between all tGLP vault participants. Unless being used on Singularity, no performance fee will be charged. Also, tGLP restakes the esGMX and multiplier points that it earns.

Beyond gas tokens, there will be tOFT assets for the following assets:

tOFTs can be deposited into Yieldbox in order to be used in yield strategies on Singularity or to use as collateral.

An extension of the tOFT standard is Meta tOFT (mtOFT)

USD0

USD0 is the first omnichain USD stablecoin. It will be non-algorithmic, overcollateralized, and censorship-resistant (since usd0 can only be minted with assets that have a near 100% decentralization ratio). USD0 can only be minted through the creation of CDPs (collateralized debt positions) denominated in gas tokens (i.e. ETH, MATIC, AVAX…) and their liquid staking derivatives (stETH, stMATIC…). USD0’s primary peg mechanism works off arbitrage opportunities within the Tapioca ecosystem.

A collateralized debt position is a position that users can create by locking collateral in a smart contract in exchange for borrowing a stablecoin against said collateral. 

By utilizing the OFT20 standard, USD0 has an elastic supply between all supported chains while having a fixed total supply. Currently, only Stargate’s STG governance token utilizes this standard. Using USD0 users will be able to bridge assets without relying on an intermediary protocol, effectively tackling the stablecoin trilemma of price stability, decentralization or censorship resistance, and scalability or composability.

On Tapioca, USD0 is hard pegged to $1. Whenever USD) trades below $1, arbitrageurs will be incentivized to purchase USD0 to pay off their loan’s debt at a discounted rate that will raise the price of USD0 to bring it back to peg. Similarly, when the price is greater than $1, arbitrageurs are incentivized to borrow USD0 and sell it at a premium on secondary markets, which will bring the price back to its $1 peg.

Arbitrageurs are the type of investors who attempt to profit from inefficiencies in the market (i.e. a USD stablecoin not being worth $1). In crypto, most of these operations are performed by automated bots whose trading strategies rely on differences in asset prices across liquidity pools.

UniswapV3 will be USD0’s primary market, which will support multiple Concentrated Liquidity pairs.

Governance

Tapioca uses an Optimistic governance model via Zodiac, which is a modular framework for governance built around Gnosis Safe. The first governors of the Tapioca DAO will be called the Pearl Club, whose 7 elected members will be able to lead the DAO behind a 4 of 7 multi-sig and a 72-hour timelock.

twTAP, which stands for Time-Weighted TAP, is required for an account in order to participate in DAO governance. twTAP is a LayerZero 0NFT721 and is transferable. twTAP is useful in order to counterbalance the Optimistic governance structure that lies upon the Pearl Club decisions. For that reason, twTAP lockers can veto any governance proposal when a 10% quorum is reached.

By using a time-weighted metagovernance structure, Tapioca can reward the long-standing and loyal members of the DAO by granting them more voting power. Nonetheless, the Pearl Club carries out operational governance tasks on a day-to-day basis. This is intended to fast-track governance in order to enact proposals in a more efficient and on-chain manner.

The initial governors of the Pearl Club will be members of the community as well as Pearl Labs contributors who will be elected in a Snapshot election. Most proposals, however, will not require a full on-chain vote and, therefore, can be approved by the Pearl Club via optimistic governance.

The Tapioca Foundation

On June 29, 2023, it was announced that The Tapioca Foundation had been formed to legally represent TapiocaDAO in the real world. The foundation is formed as a way to represent TapiocaDAO in real life.

Pearl Labs Limited is a subsidiary of The Tapioca Foundation, which is based in the Cayman Islands. Pearl Labs Limited is also the sole director of the foundation and is responsible for managing all affairs. The DAO members are beneficiaries of the foundation. The constitution of the DAO is up for debate and ratification. The foundation is a non-profit and acts purely to benefit the DAO and its members, it has no shareholders and cannot pay out dividends to Pearl Labs Limited (the director) or the DAO members (beneficiaries).

Reasons behind Foundation Creation: 

Certificate of Incorporation

Memorandum of Association (ROC Stamp)

Zodiac

The Tapioca DAO has a roadmap toward reaching a state of full decentralization that will follow an outline of Six Phases:

The Zodiac Reality Modules allow for on-chain executions based on the outcome of events reported by the Reality.eth oracle. For instance, a proposal ID (e.g. an IPFS hash) and a series of transaction hashes are passed to the oracle in order to follow the results of voting proposals and trigger an on-chain execution.

The Scope Guard module limits the scope of the functions that can be called by specific addresses. It can also allow/disallow multi-sig transactions to use delegate calls to specific addresses.

 

Collateral Onboarding

One of the most common and recurring decisions that will be made by the DAO involves the onboarding of collateral assets. The level of scrutiny for collateral assets in Big Bang and Singularity will differ, due to the importance of Big Bang when it comes to protecting USD0’s peg. For each asset, an appropriate LTV, debt ceiling, liquidation penalty, and debt ratio/interest rate must be set.

For new collateral assets to be onboarded to Big Bang or Singularity markets, a number of factors must be considered:

Tapioca Improvement Proposals (TIPs)

Tapioca Improvement Proposals are governance proposals that require large structural changes to the protocol. As the community makes decisions on what the future of the DAO should look like, TIPs will guide and define what the governance process should look like in order to optimize the process of bringing those changes to production while still maximizing decentralization.

  1. Draft Proposal and present it in the Tapioca DAO Commonwealth forum. Every proposal will have a title, a summary with a brief overview of the TAP, the motivation and reasons why the proposal is being put forward, the key information about what the proposal will do, and any supporting evidence as well as implementation details.
  2. Collect feedback from other community members. This will usually be done by creating a poll on the forum in order to gauge community sentiment on the ideas brought forward by the proposal.
  3. TIP Snapshot submission. The DAO will post the finalized and refined proposal to Snapshot in order to start a voting process that will last 72 hours. The required Quorum Threshold is required to be at least 10%, and the Support Threshold is required to be at least 60%.

When voting on a proposal, a TAP holder’s voting power equals the holder’s twTAP balance at the blocktime when the proposal was submitted. Because of this, any twTAP acquired after the submission of a proposal will not count toward voting on that proposal.

Risks

Although LayerZero is a strong step forward toward reaching multichain interoperability, it is not a perfect system. LayerZero relies on an Ultra Light Node setup that does not involve third-party oracles and relayers (Chainlink is the default oracle, but anyone can set up their own). This presents a centralization risk from the oracle source.

Collusions between the oracle and the relayers could result in malicious transactions being executed.

Security

By using LayerZero Tapioca can avoid one of the most critical single points of failures of cross-chain technology: bridges. Among the distinct advantages of this approach, it is worth noting that LayerZero leverages existing and established Oracle infrastructure. Besides, the Relayer provides an extra layer of security. For a malicious action to take place, bot the Oracle and the Relayer would have to be compromised.

Bridge exploits account for ~50% of all DeFi exploits, totaling a loss of ~2.5B in crypto assets.

As a protocol, LayerZero has undergone the following audits:

Audits

Tapioca underwent 19 audits covering 13,000 lines of Solidity code and over 130 contracts. This extensive audit process cost $2.5 million, reflecting the protocol’s commitment to security.

With reviews from: 

Tapioca has also been audited for formal verification by Certora. While the protocol still has pending security reports from Deadrosesxyz, CarrotSmuggler and Hats Finance.

Tapioca’s Guarded State

When the protocol goes live, the Tapioca ecosystem will be in a Guarded state to maximize security. This means certain functionalities will be limited, such as advanced LayerZero composed message operations and overall USDO issuance, which will be capped at $50 million. Additionally, network support will initially be limited to Arbitrum and Ethereum. The plan to leave the Guarded state is contingent on DAO decisions. This transition will unlock full functionality and expand network support.

Past Vulnerabilities

Tapioca has been a victim to a social engineering attack underscoring that even well-funded defenses can still fall short against sophisticated exploit strategies.

Tapioca Post Mortem: Exploitation of $4.65 Million

On the October 18, 2024, Tapioca Protocol suffered a significant exploit resulting in a $4.65 million loss. The breach stemmed from a social engineering attack in which the attacker deceived a co-founder into downloading malicious software, leading to unauthorized access to private keys. This access allowed the attacker to manipulate the $TAP token vesting contract, enabling the illicit claim and sale of 29,669,866 $TAP tokens. Additionally, they exploited the $USDO stablecoin contract, minting an excess amount and draining the USDO/USDC liquidity pool.

In response, Tapioca Protocol worked with security firms SEAL911 and EnigmaDarkLabs to limit losses, successfully recovering approximately $2.65 million (1,000 ETH) to the protocol’s multisig wallet. However, the exploit resulted in a sharp decline in $TAP’s market value, with a drop exceeding 95%. Following the attack, the DAO’s treasury, excluding TAP tokens, stands at ~$4.8 million, representing a 45% loss from where it stood before the social engineering attack.

Dependencies and Access Controls

There are two alternatives that dominate the industry when it comes to managing the governance structure of DAOs. The first one relies on a multi-sig control with a handful of signers that usually belong to the core protocol team. The second one is using on-chain weighted voting systems such as the Governor Bravo framework by Compound. However, implementing a multi-sig carries on risks of centralization, whereas a fully on-chain alternative is an impediment to a progressive decentralization since it produces friction and disincentivizes the participation of token holders.

Tapioca has opted for a hybrid governance approach utilizing Zodiac in order to follow a progressive governance roadmap towards decentralization. By relying on a limited number of members with relevant skills and expertise on a specific subject matter, Tapioca seeks to manage the day-to-day operations of the DAO in a low-friction manner during the first months of the DAO’s existence. Because of this, all proposals are optimistic and assumed to be in alignment with the long-term goals of the DAO.

Team

Core Contributors

Tapioca was founded in February 2022 by twMatt and 0xRektora, who together created Pearl Labs  and later, the Tapioca Foundation. 

Other Member of the Team Include:

Project Investors

Tapioca did not rely on “tier one” VCs for funding and instead bootstrapped $2M for the protocol from researchers, builders, and DAOs.

Additional Information

Pearl Club NFT Collection

The Pearl Club is an exclusive collection of 714 hand-drawn and animated Omnichain NFTs (ONFTs) created by Tapioca DAO’s community. This unique collection, designed by MoMe, the artist behind the popular Canto Longnecks, blends art, community, and DeFi.

Fourteen of the 714 Pearl Club NFTs were specially given to core contributors of TapiocaDAO and BoringCrypto as honorary tokens. The remaining NFTs were minted on Arbitrum and distributed to Guild members who participated in the beta testing of the Tapioca platform.

Pearl Club NFTs allow holders to participate in governance through voting on Pearl Improvement Proposals (PIPs), with each NFT equating to one vote. These NFTs can be teleported across different networks without any additional fees, only incurring standard gas costs. The background of each NFT changes to reflect the primary color of the network it resides on.

Additionally, each Pearl Club NFT holder is eligible to redeem a pair of limited edition TAPsocks, although shipping costs may apply depending on the delivery location. The aoTAP airdrop and TAPsocks redemption are determined by the current holder at the time of distribution, not the original minter.

FAQ

What is the Tapioca Guild?

When will it launch?

How are DAO Share Options (DSO) different from bonding?

How can Tapioca offer such high LTV ratios of up to 90%?

What does Omnichain mean?

Community Links