# Welcome to Quadrat² Protocol

The most capital-efficient protocol in the multi-chain DeFi world

Quadrat is a permissionless, decentralized, and highly capital-efficient active liquidity management protocol. Quadrat has been built on top of Uniswap v3 protocol to capture the maximum possible rewards from the smart liquidity provision in the Pools. The protocol is driven by the first DeFI NFT community and $POOL Token Governance. The protocol is powered by 0xPlasma Labs (decentralized DeFi Dev Team).

Quadrat Protocol and its growing TVL have a very important and positive impact on Uniswap v3 protocol and on the whole multi-chain DeFi ecosystem:

> Growing Quadrat TVL → More Capital Efficient Uniswap v3 Pools → More trading volume comes to Uniswap v3 → More Fees Quadrat Depositors Earn → Growing Quadrat TVL

## Uniswap v3 LP issues

Uniswap is the largest decentralized exchange (DEX) and one of the cornerstones of Decentralized Finance (DeFi). Uniswap uses liquidity pools to provide Automated Market Making (AMM) functionality for exchanging cryptocurrencies on the EVM blockchains (Ethereum, Polygon, Arbitrum, Optimism).&#x20;

Uniswap v3 provides increased capital efficiency and fine-tuned control to liquidity providers, improves the accuracy and convenience of the price oracle, and has a more flexible fee structure. Uniswap v3 introduces a number of new features, notably the concentrated liquidity feature, which allows liquidity providers to concentrate their liquidity in a specific price range, leading to increased capital efficiency.

Because of the complexity of Uniswap v3, **95% of liquidity providers** don't generate any rewards on their capital, and the rest **5% of liquidity providers** are receiving impermanent losses on their positions without any Web3 tools to properly hedge this and rebalance liquidity. This situation completely eliminates the advantages of the Uniswap v3 protocol and creates a huge barrier to its TVL growth.

1\) **Ineffective liquidity distribution** in the Pool dramatically decreases the capital efficiency of the Uniswap v3 protocol. That's also the major reason why Uniswap v2 still has $1B TVL.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FGZl6WXP5cF3BJKxNKRAi%2Fpool-uni.png?alt=media&amp;token=d13fc532-d7d6-432f-86c3-f2604342df50" alt=""><figcaption><p>The Largest Uniswap v3 Pool USDC/ETH 0.3% Fee Tier</p></figcaption></figure>

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FeUhtYxmWyyuel8furx1F%2Fimage.png?alt=media&amp;token=b3275f09-8dfd-406b-8373-76b318853c9c" alt=""><figcaption></figcaption></figure>

2\) **Disbalanced Liquidity Pools** make an asset swap in Uniswap v3 highly ineffective with a big price impact and a high potential for MEV attack, in some cases that make asset swap even impossible and the trading volume goes to other DEXes. This happened because users can't monitor their position 24/7, and rebalancing of the liquidity can cost a lot of Gas Fees and complex calculations. The Common problem in 40% of Uniswap v3 Pools.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FepjawowxRqt7Odrf6nzd%2Fimage.png?alt=media&amp;token=92f116b2-9033-4b87-aa69-71f5b8c41864" alt=""><figcaption><p>5M TVL MKR/ETH Pool - 0 Trading Volume, 0 Fees. Liquidity is extremely disbalanced.</p></figcaption></figure>

3\) **Impermanent losses** are potential losses that funds are exposed to when they are in a liquidity pool. It occurs when the mathematical formula adjusts the asset ratio in a pool to ensure they remain at 50:50 in terms of value. The pool can become uneven by large trades that drain one asset from one side of the pool, forcing a significant rebalance of the pool. The quantity of the tokens deposited into the pool changes based on the trading activity. Upon withdrawal, the user is issued the tokens equivalent to their ownership “share” of the pool. The loss is not realized until the user withdraws their funds from the liquidity pool. Uniswap v3 makes impermanent losses more dangerous for positions because of the concentrated liquidity and without the proper rebalancing tools you can't protect yourself from IL

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2Fttr4Da5PyiRFqw0ObnWm%2Fimage.png?alt=media&amp;token=8693cde3-c43e-4e0c-97c3-523a37b98a03" alt=""><figcaption><p>Impermanent loss model and Risk profile for the assets in active price range on Uniswap v3.</p></figcaption></figure>

3\) Another big disadvantage of Uniswap v3 protocol is its **NFT-based liquidity positions**. Each time someone provides liquidity into the Uniswap v3 pools, the protocol mints new NFT (+gas fees) representing this position. [Uniswap LP NFT](https://etherscan.io/address/0xc36442b4a4522e871399cd717abdd847ab11fe88) standard ERC-721 does not allow it to use in other protocols (liquidity farming, liquidity lock, leverage, lending, DAO, etc.), which is blocking the huge external opportunities of Uniswap v3.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FvHebYK4RHkjE4dOCLgmz%2Fimage.png?alt=media&amp;token=63b9cbab-2a85-46ef-8ddf-741ccc21b623" alt=""><figcaption><p>350,000 minted Uniswap Position NFTs only on Ethereum Chain</p></figcaption></figure>

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FjvHuWdRo63UG7VV32GbP%2Fimage.png?alt=media&amp;token=dbff8a54-55ce-4873-b01d-4089b7c21a29" alt=""><figcaption><p>48M USD was spent on the TX gas fees to mint Uniswap NFTs</p></figcaption></figure>

**So let's fix it all with only one Protocol - Quadrat**

## Quadrat Solution

Quadrat is a permissionless, non-custodial, active liquidity management protocol of concentrated liquidity in Uniswap v3 pools. UI of Quadrat's protocol is integrated and hosted on [**Plasma.Finance**](https://apy.plasma.finance) Web3 platform. This protocol is available only for 10.000 [**Quadrat NFT Pass holders**](/quadrat-launch-roadmap/quadrat-nft-pass) (**the first NFT with a real Utility > providing access to yield farming and the highest APY on the DeFi market**). Quadrat protocol can be also used by **Investment DAOs, Web3 Treasuries, Gnosis Safe Vaults** and integrated as DeFi Lego in leverage and lending protocols.

Quadrat Permissionless Factory Contract ([**HyperLoop**](/quadrat-protocol/development-infrastructure/hyperpool-smart-contracts)) allows Asset Managers to create Uniswap v3 non-custodial Vaults or Strategies on any blockchain where Uniswap v3 Deployed (**Ethereum, Optimism, Polygon, Arbitrum**).

Users (Liquidity Providers) can deposit funds into the Quadrat Vaults and passively earn the hights fees from Uniswap v3 on DeFi Market. Asset Managers can implement their Strategies to actively manage Strategy liquidity in Uniswap v3 Pools. Asset Managers don't have access to users' funds, they can only rebalance Uniswap v3 Pool Price Ranges of the Strategy.

Quadrat also provides highly effective [**0xPlasma Strategies**](/quadrat-strategies/rebalancing-algorithm) for Uniswap v3, developed by in-house analytics and data scientists. 0xPlasma Strategies implement different models of asset management, based on market volatility, trading indicators, and other financial models of price range prediction. Quadrat Strategies target the maximization of users' rewards from liquidity provision, hedging the possible risks and impermanent losses.

### **Quadrat Protocol Advantages:** <a href="#id-86f0" id="id-86f0"></a>

* Quadrat Protocol converts non-fungible liquidity positions of Uniswap v3 into LP tokens of ERC-20 standard. It's enabling liquidity to be used in any external DeFi protocols (staking, lending, farming, DAO, etc.)
* Protocol Strategies automatically reinvests earned fees back into Uniswap v3 Pool Strategy to achieve a compounding effect for deployed capital
* Asset Managers can implement a wide range of strategies to manage concentrated liquidity in Uniswap v3, maximizing the APY of the Strategy.

## Quadrat Vision

Quadrat Protocol has the ability to acquire **20% of Uniswap v3 Liquidity (1B USD TVL)** and capture with this liquidity **90% of all Uniswap v3 fees (1B USD of Rewards annually)**, with **an average APY of 100%**. It will make the Quadrat Protocol the most capital-efficient and profitable DeFi protocol on the market.

## Access to Protocol

Quadrat Protocol and UI access are limited to **10.000 seats**, and available **only for** [**Quadrat NFT Pass**](/quadrat-launch-roadmap/quadrat-nft-pass) **holders.** Owners of Quadrat NFT Pass can participate in the protocol Governance, provide liquidity in the Strategies to earn rewards, and create new Strategies to manage personal or public capital with a revenue-sharing model.

## Protocol Structure

### **Protocol Users**

There are three types of actors using permissionless vaults:

* Users (Liquidity Provider) provide liquidity into Strategy Vaults to earn profits from Uniswap v3 Fees.
* Asset Managers manage price ranges of liquidity in Uniswap v3 and earn performance fees.
* Protocol Governance control the protocol parameters and monitor Asset Managers

### Strategy Vaults

Quadrat Strategy is a non-custodial Proxy Vault that provides liquidity into Uniswap v3 Pool and safely allows the Asset Manager to manage the Price Ranges of this liquidity.

## Community Structure

There are 5 types of [Quadrat NFT Pass](/quadrat-launch-roadmap/quadrat-nft-pass) with different rarity and utilities that give access to protocol and private Discord Groups:

**Sublime Galaxy** (100 NFTs) - private club of the largest VCs, DeFi and Hedge Funds. Access to the Private Discord Group and liquidity strategies. *Governance L1*.

**Midnight Rainbow** (100 NFTs) - Uniswap Team, DeFi protocols, DeFi Gods and Founders, Investment DAOs, DEX Market Makers. Private Discord Group. *Governance L2*.

**Black Forest** (200 NFTs) - 0xPlasma Network, Media, Advisors, Reserves. Private Discord Group. *Governance L3*.

**Golden Ray** (500 NFTs) - Top Uniswap v3 LPs across all chains.

**Bronze State** (9100 NFTs) - Public NFT (mint, pool). Public Group, access to public strategies.

## ETH/Quadrat NFT SudoSwap Pool

<https://sudoswap.xyz/#/swap/0x8538E5fA7248158081ae62fba5E3E6BFAbC41980>

## Upcoming Protocol Stages and NFT Distribution:

Access to the Protocol will be distributed between VCs, Top LPs, community members and ambassadors:&#x20;

1 Stage: **Sublime Galaxy** NFT Pass distribution via airdrop for VCs, DeFi protocol founders, DeFi and Hedge Funds

2 Stage: **Midnight Rainbow** NFT Pass distribution via airdrop for Uniswap Team, Market Makers

3 Stage: **Golden Ray** NFT Pass distribution via airdrop for the Top-100 Uniswap v3 LPs on Ethereum, Polygon, Optimism, Arbitrum.

4 Stage: **Bronze State** NFT Pass pre-mint event for Community Ambassadors (100 NFTs)

5 Stage: **Bronze State NFT Pass distribution via public sale on**&#x20;

## Social Links

Please follow our social media and join Discord Server to follow all Protocol Updates and Community Events

Website: <https://plasma.finance/quadrat>

Quadrat Dashboard: <https://apy.plasma.finance/#/quadrat/plasma>

Quadrat Twitter: <https://twitter.com/0xquadrat>

0xPlasma Twitter: <https://twitter.com/0xPlasma>

Discord Group: <https://discord.gg/zZByEW2k5Y>

Telegram: [@OxPlasma](https://t.me/OxPlasma)

GitHub: <https://github.com/plasmadlt>


# About Uniswap Protocol

Uniswap v1 was launched in November 2018 as a proof of concept for automated market makers (AMMs), a type of exchange where anyone can pool assets into shared market-making strategies.

In May 2020, Uniswap v2 introduced new features and optimizations, setting the stage for exponential growth in AMM adoption. Less than one year since its launch, v2 has facilitated over \\$135bn in trading volume, ranking as one of the largest cryptocurrency spot exchanges in the world.

Uniswap now serves as critical infrastructure for decentralized finance, empowering developers, traders, and liquidity providers to participate in a secure and robust financial marketplace.

Today, we are excited to present an overview of Uniswap v3. We are targeting an **L1 Ethereum mainnet launch on May 5**, with an **L2 deployment on Optimism set to follow shortly after.**

Uniswap v3 introduces:

* **Concentrated liquidity,** gives individual LPs granular control over what price ranges their capital is allocated to. Individual positions are aggregated together into a single pool, forming one combined curve for users to trade against
* **Multiple fee tiers**, allowing LPs to be appropriately compensated for taking on varying degrees of risk

These features make Uniswap v3 **the most flexible and efficient AMM ever designed**:

* LPs can provide liquidity with **up to 4000x capital efficiency** relative to Uniswap v2, earning **higher returns on their capital**
* Capital efficiency paves the way for low-slippage **trade execution that can surpass both centralized exchanges and stablecoin-focused AMMs**
* LPs can significantly **increase their exposure to preferred assets** and **reduce their downside risk**
* LPs can sell one asset for another by adding liquidity to a price range entirely above or below the market price, approximating **a fee-earning limit order that executes along a smooth curve**

Uniswap's **oracles are now far easier and cheaper to integrate**. V3 oracles are capable of providing time-weighted average prices (TWAPs) on demand for any period within the last \~9 days. This removes the need for integrators to checkpoint historical values.

Even with these groundbreaking design improvements, the **gas cost of v3 swaps on Ethereum mainnet is slightly cheaper than v2**. Transactions made on the Optimism deployment will likely be *significantly* cheaper!

Read on for more details on Uniswap v3. For a deeper technical overview check out the [Uniswap v3 Core whitepaper](https://uniswap.org/whitepaper-v3.pdf), the [Uniswap v3 Core smart contracts](https://github.com/Uniswap/uniswap-v3-core/).

## Concentrated Liquidity <a href="#concentrated-liquidity" id="concentrated-liquidity"></a>

In Uniswap v2, liquidity is distributed evenly along an x\*y=k price curve, with assets reserved for all prices between 0 and infinity. For most pools, a majority of this liquidity is never put to use. As an example, **the v2 DAI/USDC pair reserves just \~0.50% of capital for trading between $0.99 and $1.01**, the price range in which LPs would expect to see the most volume and consequently earn the most fees.

V2 LPs only earn fees on a small portion of their capital, which can fail to appropriately compensate for the price risk ("impermanent loss") they take by holding large inventories in both tokens. Additionally, traders are often subject to high degrees of slippage as liquidity is spread thin across all price ranges.

In Uniswap v3, LP's can **concentrate their capital within custom price ranges, providing greater amounts of liquidity at desired prices.** In doing so, **LPs construct individualized price curves** that reflect their own preferences.

LPs can combine any number of distinct concentrated positions within a single pool. For example, an LP in the ETH/DAI pool may choose to allocate $100 to the price range $1,000-$2,000 and an additional $50 to the range $1,500-$1,750.

By doing so, an LP can approximate the shape of any automated market maker or active order book.

**Users trade against the combined liquidity of all individual curves** with no gas cost increase per liquidity provider. Trading fees collected at a given price range are split pro-rata by LPs proportional to the amount of liquidity they contributed to that range.

### Capital Efficiency <a href="#capital-efficiency" id="capital-efficiency"></a>

By concentrating their liquidity, LPs can provide **the same liquidity depth as v2 within specified price ranges while putting far less capital at risk.** The capital saved can be held externally, invested in different assets, deposited elsewhere in DeFi, or used to increase exposure within the specified price range to earn more trading fees.

Let's illustrate with an example:

Alice and Bob both want to provide liquidity in an ETH/DAI pool on Uniswap v3. They each have \\$1m. The current price of ETH is 1,500 DAI.

Alice decides to deploy her capital across the entire price range (as she would have in Uniswap v2). She deposits 500,000 DAI and 333.33 ETH (worth a total of \\$1m).

Bob instead creates a concentrated position, depositing only within the price range from 1,000 to 2,250. He deposits 91,751 DAI and 61.17 ETH, worth a total of about $183,500. He keeps the other $816,500 himself, investing it however he prefers.

While Alice has put down 5.44x as much capital as Bob, *they earn the same amount of fees*, as long as the ETH/DAI price stays within the 1,000 to 2,250 range.

![](https://uniswap.org/images/posts/uniswap-v3/example_1.png)

Bob's custom position also acts as a kind of stop-loss for his liquidity. Both Alice and Bob's liquidity will be entirely denominated in ETH if the price of ETH falls to $0. However, Bob will have lost just $159,000, versus Alice's $1m. Bob can use his additional $816,500 to hedge against downside exposure or to invest in any other conceivable strategy.

![](https://uniswap.org/images/posts/uniswap-v3/example_2.png)

Instead of providing equivalent liquidity depth as v2 LPs with less capital, v3 LPs can choose to provide **greater depth with the same amount of capital** as their v2 counterparts. This requires **taking on more price risk** ("impermanent loss") while supporting greater amounts of trading and earning higher fees.

LPs in more stable pools will likely provide liquidity in particularly narrow ranges. If the \~$25m currently held in the Uniswap v2 DAI/USDC pair was instead concentrated between 0.99 — 1.01 in v3, it would provide the same depth as $5bn in Uniswap v2 as long as the price stayed within that range. **If the \~$25m was concentrated into the 0.999 - 1.001 range it would provide the same depth as $50b in Uniswap v2.**

The tool below calculates the capital efficiency gains of a concentrated liquidity position (centered around the current price) relative to allocating capital across the entire price curve.

Liquidity Deposit ValueValue of paired tokens$Select ETH price rangeCurrent Price: $1,820V3 Range PositionCapital Required$150,000Fees per $ vs. V25.24xV2 PositionCapital Required$785,779These two positions will earn equal fees and perform identically while the price remains between $1200 and $2800.

At launch, capital efficiency gains will max out at 4000x for LPs providing liquidity within a single 0.10% price range. The v3 pool factory is technically capable of supporting ranges as granular as 0.02%, translating to a maximum 20,000x capital efficiency gains relative to v2. However, more granular pools can increase swap gas costs and might be more useful on Layer 2.

### Active Liquidity <a href="#active-liquidity" id="active-liquidity"></a>

If market prices move outside an LP's specified price range, their liquidity is effectively removed from the pool and is no longer earning fees. In this state, an LP's liquidity is composed entirely of the less valuable of the two assets, until the market price moves back into their specified price range or they decide to update their range to account for current prices.

In v3, it is theoretically possible for no liquidity to exist in a given price range. However, we expect rational LPs to continuously update their price ranges to cover the current market price.

### Range Orders <a href="#range-orders" id="range-orders"></a>

V3's LP customizability opens up a novel order feature to complement market orders, which we are calling 'range orders'.

LPs can deposit a single token in a custom price range above or below the current price: if the market price enters into their specified range, they sell one asset for another along a smooth curve while earning swap fees in the process.

Depositing to a narrow range feels similar to a traditional limit order. For example, if the current price of DAI is below 1.001 USDC, Alice could add \\$10m worth of DAI to the range of 1.001 — 1.002 DAI/USDC.

Once DAI trades above 1.002 DAI/USDC, Alice's liquidity will have fully converted into USDC. Alice must withdraw her liquidity (or use a third-party service to withdraw on her behalf) to avoid automatically converting back into DAI if DAI/USDC starts trading below 1.002.

![](https://uniswap.org/images/posts/uniswap-v3/range.png)

The average execution price of a fully executed range order is the geometric average of the minimum and maximum price: in Alice's case, the execution price equals 1.001499 DAI/USDC for a total of \\$1,001,499. This execution price does not account for additional swap fees earned during the period in which prices trade within the 1.001 — 1.002 DAI/USDC range.

Range orders within wider ranges may prove particularly useful for **profit-taking, buying the dip,** and **primary issuance events**: in the later use case, issuers are now able to deposit liquidity in a single asset and specify the exact range of prices across which they wish to sell their tokens.


# Uniswap v2 vs v3

> This chapter retells [the whitepaper of Uniswap V3](https://uniswap.org/whitepaper-v3.pdf). Again, it’s totally ok if you don’t understand all the concepts. They will be clearer when converted to code.

To better understand the innovations Uniswap V3 brings, let’s first look at the imperfections of Uniswap V2.

Uniswap V2 is a general exchange that implements one AMM algorithm. However, not all trading pairs are equal. Pairs can be grouped by price volatility:

1. Tokens with medium and high price volatility. This group includes most tokens since most tokens don’t have their prices pegged to something and are subject to market fluctuations.
2. Tokens with low volatility. This group includes pegged tokens, mainly stablecoins: USDC/USDT, USDC/DAI, USDT/DAI, etc. Also: ETH/stETH, ETH/rETH (variants of wrapped ETH).

These groups require different, let’s call them, pool configurations. The main difference is that pegged tokens require high liquidity to reduce the demand effect (we learned about it in the previous chapter) on big trades. The prices of USDC and USDT must stay close to 1, no matter how big the number of tokens we want to buy and sell. Since Uniswap V2’s general AMM algorithm is not very well suited for stablecoin trading, alternative AMMs (mainly [Curve](https://curve.fi/)) were more popular for stablecoin trading.

What caused this problem is that liquidity in Uniswap V2 pools is distributed infinitely–pool liquidity allows trades at any price, from 0 to infinity:

![The curve is infinite](https://uniswapv3book.com/images/milestone_0/curve_infinite.png)

This might not seem like a bad thing, but this makes capital inefficient. Historical prices of an asset stay within some defined range, whether it’s narrow or wide. For example, the historical price range of ETH is from $0.75 to $4,800 (according to [CoinMarketCap](https://coinmarketcap.com/currencies/ethereum/)). Today (June 2022, 1 ETH costs $1,800), no one would buy 1 ether at $5000, so it makes no sense to provide liquidity at this price. Thus, it doesn’t really make sense to provide liquidity in a price range that’s far away from the current price or that will never be reached.

> However, we all believe in ETH reaching $10,000 one day.

### Concentrated Liquidity [#](https://uniswapv3book.com/docs/introduction/uniswap-v3/#concentrated-liquidity) <a href="#concentrated-liquidity" id="concentrated-liquidity"></a>

Uniswap V3 introduces *concentrated liquidity*: liquidity providers can now choose the price range they want to provide liquidity. This improves capital efficiency by allowing to put more liquidity into a narrow price range, which makes Uniswap more diverse: it can now have pools configured for pairs with different volatility. This is how V3 improves V2.

In a nutshell, a Uniswap V3 pair is many small Uniswap V2 pairs. The main difference between V2 and V3 is that, in V3, there are **many price ranges** in one pair. And each of these shorter price ranges has **finite reserves**. The entire price range from 0 to infinite is split into shorter price ranges, with each of them having its own amount of liquidity. But, what’s crucial is that within that shorter price range, **it works exactly as Uniswap V2**. This is why I say that a V3 pair is many small V2 pairs.

Now, let’s try to visualize it. What we’re saying is that we don’t want the curve to be infinite. We cut it at points aa and bb and say that these are the boundaries of the curve. Moreover, we shift the curve so the boundaries lay on the axes. This is what we get:

![Uniswap V3 price range](https://uniswapv3book.com/images/milestone_0/curve_finite.png)

> It looks lonely, doesn’t it? This is why there are many price ranges in Uniswap V3–so they don’t feel lonely 🙂

As we saw in the previous chapter, buying or selling tokens moves the price along the curve. A price range limits the movement of the price. When the price moves to either of the points, the pool becomes **depleted**: one of the token reserves will be 0, and buying this token won’t be possible.

On the chart above, let’s assume that the start price is at the middle of the curve. To get to point aa, we need to buy all available yy and maximize xx in the range; to get to point bb, we need to buy all available xx and maximize yy in the range. At these points, there’s only one token in the range!

> Fun fact: this allows to use Uniswap V3 price ranges as limit-orders!

What happens when the current price range gets depleted during a trade? The price slips into the next price range. If the next price range doesn’t exist, the trade ends up fulfilled partially-we’ll see how this works later in the book.

This is how liquidity is spread in [the USDC/ETH pool in production](https://info.uniswap.org/#/pools/0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8):

![Liquidity in the real USDC/ETH pool](https://uniswapv3book.com/images/milestone_0/usdceth_liquidity.png)

You can see that there’s a lot of liquidity around the current price but the further away from it the less liquidity there is–this is because liquidity providers strive to have higher efficiency of their capital. Also, the whole range is not infinite, it’s an upper boundary shown in the image.

### Dune Analytics Dashboard Uniswap V2/V3 Comparison

{% embed url="<https://dune.com/mtitus6/Uniswap-V2V3-Comparison>" %}

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FI7iIHHwiqjE5e6KPTmcH%2Fimage.png?alt=media&amp;token=841f7941-d82e-45c3-8643-33feee646cdd" alt=""><figcaption></figcaption></figure>


# Impermanent Loss

Important articles to understand the risk of liquidity provision in the Quadrat Vaults and Uniswap v3

When you provide liquidity into Vaults or Uniswap v3 Pools your position can expect impermanent losses. Impermanent losses are not actual losses incurred from a liquidity provider’s position in a DeFi protocol. Rather, it’s the opportunity cost that arises when compared to buying and holding the same asset – or the risk of getting less value back when closing the position.&#x20;

**Quadrat Protocol decreases your IL rates** by constantly rebalancing Vault position and assets in the narrow active price range of Uniswap v3 to earn enough trading fee income to offset the impermanent loss. Sometimes strategy will rebalance its position in one or another asset to completely get rid of IL and 100% protect your capital.&#x20;

Each Strategy User can additionally protect themselves from IL by opening a short position on the volatile asset on CEXes (**CeFi**), borrowing assets and selling on the lending protocol (**DeFi**), or buying the option (**CeFi/DeFi**). All these strategies can make a delta-neutral position for liquidity providers and you will earn a pure APY on Quadrat Strategies. We will explain the hedging strategies in another blog post.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FwoZAjjUpjkzcVfnv5cSO%2Fimage.png?alt=media&amp;token=a4d16305-d9d9-49e8-96bc-a64b86947af5" alt=""><figcaption><p><em>Example of a Uniswap transaction</em></p></figcaption></figure>

**Quadrat Protocol** also provides a [Strategy](/quadrat-strategies/usdt-usdc-strategies) with *no impermanent losses* for **USDC, USDT,** [**ETH**](/quadrat-strategies/eth-strategies-with-the-highest-apy-and-lowest-il)**,** [**BTC**](/quadrat-strategies/btc-strategies-with-the-highest-apy-and-lowest-il)**.**

We've collected for you the most important articles that explain what is IL and how can you calculate it for your position in Quadrat Protocol.

## Calculating the Expected Value of the Impermanent Loss in Uniswap <a href="#id-9ce0" id="id-9ce0"></a>

{% embed url="<https://lambert-guillaume.medium.com/an-analysis-of-the-expected-value-of-the-impermanent-loss-in-uniswap-bfbfebbefed2>" %}

## Understanding impermanent loss <a href="#dc35" id="dc35"></a>

{% embed url="<https://medium.com/coinmonks/understanding-impermanent-loss-9ac6795e5baa>" %}

### **What is impermanent loss?** <a href="#id-005b" id="id-005b"></a>

Impermanent loss is a loss that funds are exposed to when they are in a liquidity pool. This loss typically occurs when the ratio of the tokens in the liquidity pool becomes uneven. Although, the impermanent loss isn’t realized until the tokens are withdrawn from the liquidity pool. This loss is typically calculated by comparing the value of your tokens in the liquidity pool versus the value of simply holding them. Since stablecoins have price stability, liquidity pools that utilize stablecoins can be less exposed to impermanent loss.

### **How does impermanent loss work?** <a href="#cb6c" id="cb6c"></a>

Impermanent loss typically affects liquidity pools that are meant to have an equal ratio of tokens, 50/50. In the USDC/ETH liquidity pool the liquidity providers need to provide equal portions of USDC and ETH into the pool. They are then entitled to withdraw equal portions of the pool. When users trade using a liquidity pool, which happens on decentralized exchanges, the ratio will change depending on how many tokens are in each pool, which will affect the price of those tokens.

Let’s say a liquidity provider adds 1 ETH and 100 USDC to the liquidity pool, this is for an equal value of both tokens. The dollar amount of their deposit is $200 because their ETH and USDC are both worth $100 each. Currently, there is 10 ETH and 1,000 USDC in the liquidity pool, a 50/50 ratio, which gives the liquidity provider a 10% share of the pool. They will receive LP tokens that they can use to redeem their 10% share of the pool at any time.

Since the price of tokens relies on the ratios of their liquidity pools their prices can separate from the prices on other exchanges. If the price of ETH increases by 100%, now worth $200 per ETH, the liquidity pool would have changed to 7.071 ETH and 1,414.21 USDC. This is because the ratio of the pool has changed, it is no longer 50/50, which affected the price of ETH.

Since the liquidity provider has a 10% share of the liquidity pool, they can withdraw 0.7071 ETH and 141 USDC, which equals $282. However, if the liquidity provider simply held their 1 ETH and 100 USDC, they would be worth $300. The difference between the two, $18, is the amount of impermanent loss the liquidity provider experienced. A greater change in the ratio of the pool will result in a larger amount of impermanent loss.

The amount of impermanent loss can also be impacted by the tokens in the liquidity pool as well as the number of liquidity providers in the pool. Since the above examples uses an ETH/USDC liquidity pool, ETH has a stable asset to swap against. If the liquidity pool were to be ETH/LINK then the risk of impermanent loss could be higher as both tokens have the potential to be volatile. Liquidity pools can also be made up of purely stablecoins, like DAI and USDC. This significantly reduces the risk of impermanent loss because stablecoins have almost no volatility, which will allow the pool to remain extremely stable.

Below is a graph that shows how price can impact the amount of impermanent loss a liquidity provider will experience. When a token increases 500% in price, you can see that the liquidity provider will incur an impermanent loss of approximately 25%. This is 25% less than the value of the tokens if they were simply held.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FJScA4pMU37n4mxJkk80w%2Fimage.png?alt=media&amp;token=ab62fee6-b030-49dd-973b-3d6ba19a6540" alt=""><figcaption></figcaption></figure>

Since decentralized exchanges use equations to calculate how to adjust the values of tokens when the ratio changes, you can instead use an impermanent loss calculator to easily calculate potential losses. Below is an example of an impermanent loss calculator that can be found at&#x20;

{% embed url="<https://dailydefi.org/tools/impermanent-loss-calculator/>" %}

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2Fzg90hW7clRHsNJtcnwdS%2Fimage.png?alt=media&amp;token=cfbb83b3-3ec8-447a-8ced-f92282f73a94" alt=""><figcaption></figcaption></figure>

In this example, Token A is $100 and Token B is $1, with a total starting value of $1000 between the two tokens — this is set automatically by the calculator. In the “future prices” section, the value of Token A, has increased to $200 while Token B, has remained at $1.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FRnpqPVUPgp3pjjekVGRe%2Fimage.png?alt=media&amp;token=ec9d4332-e14d-4a39-aea3-93aeb3095ad7" alt=""><figcaption></figcaption></figure>

Since the value of Token A & B being held would be $1,500 compared to them being in a liquidity pool, $1,414.21, this would result in an impermanent loss of $85.79.

This uses an example of $500 for both Token A and B. To calculate using your own amount you could multiply or divide any of the given values. If you were using $2000 of both tokens, which is double the example, your impermanent loss would be $171.58.

Below is another example of an impermanent loss calculator that can be found at decentyields.com/impermanent-loss-calculator. Here you can manually set your deposit amount as well as the ratio of the pool, and the pool weight.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FOOPoI6nzYNVIqQaeA9EL%2Fimage.png?alt=media&amp;token=142c565b-fcb1-47d8-adfa-45a96998db3b" alt=""><figcaption></figcaption></figure>

In this example, the price of ETH increases 100% while Tether remains stable. Below you can see that the profit on a deposit of $4,000 is $1,656, the Pool P/L. However, the impermanent loss is 5.7% which results in a loss of $344. This can be calculated by subtracting the Pool Value from the Hold Value, $6,000 — $5,656 = $344.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FJ1aYTeTW52qYAPmAZ5CO%2Fimage.png?alt=media&amp;token=b82be60f-0be6-44cb-abfd-f416a7e0ed8e" alt=""><figcaption></figcaption></figure>

However, it can only calculate from the current value of a token. If you bought the token at a lower or higher price than it is currently, it would not allow you to change that. If you require as much data as possible, you may need to utilize multiple calculators as there currently isn’t a calculator that provides every necessary function and data point.

### The Impermanent Loss Rate of the Uniswap v3 AMM (Math) <a href="#id-88f5" id="id-88f5"></a>

{% embed url="<https://pandichef.medium.com/the-impermanent-loss-rate-of-the-uniswap-v3-amm-d6f505d12db>" %}

### Expected Impermanent Loss in Uniswap V2 & V3 (Math) <a href="#id-6096" id="id-6096"></a>

{% embed url="<https://medium.com/gammaswap-labs/expected-impermanent-loss-in-uniswap-v2-v3-7fb81033bd81>" %}

### Uniswap: A Good Deal for Liquidity Providers? <a href="#edcb" id="edcb"></a>

{% embed url="<https://pintail.medium.com/uniswap-a-good-deal-for-liquidity-providers-104c0b6816f2>" %}

## How to avoid impermanent loss

{% embed url="<https://newsletter.banklesshq.com/p/how-to-avoid-impermanent-loss>" %}

### Research Paper: IL on Uniswap v3

{% embed url="<https://arxiv.org/pdf/2111.09192.pdf>" %}

[UNISWAP: Impermanent Loss and Risk Profile of a Liquidity Provider](https://arxiv.org/pdf/2106.14404.pdf)

{% embed url="<https://arxiv.org/pdf/2106.14404.pdf>" %}


# Impermanent Loss (IL) and Options Calculator

**IL Calculator**

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FmAwLd4ZdsTIc1RJaZDqf%2Fimage.png?alt=media&amp;token=6ca5555e-571a-4994-a432-ab514f6750c3" alt=""><figcaption></figcaption></figure>

<https://www.desmos.com/calculator/dmnrp2jde7>

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FWwUiWAbQmcCoj1dHKGVg%2Fimage.png?alt=media&amp;token=04a6f648-f96e-456b-a485-5a849c193fcc" alt=""><figcaption></figcaption></figure>

<https://www.desmos.com/calculator/fsupjiyq2n?lang=ru>

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FP2PaXbGBhtJE2j28kK0v%2Fimage.png?alt=media&amp;token=d4a1c2aa-ce96-4273-a5a4-3b05fcb0ec95" alt=""><figcaption></figcaption></figure>

<https://www.desmos.com/calculator/i8h0wzqaci?lang=ru>

#### **Uniswap v3 IL Calculator**

{% embed url="<https://uniswap.fish/>" %}

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FKQSYKq2RLAFtY2BO0w8f%2Fimage.png?alt=media&amp;token=66378d92-a377-4259-9bc3-4d2ae2fb88bf" alt=""><figcaption></figcaption></figure>


# Implied Volatility

In financial mathematics, the implied volatility (IV) of an option contract is the value of the volatility of the underlying instrument which, when input in an option pricing model (such as Black–Scholes), will return a theoretical value equal to the current market price of said option. A non-option financial instrument that has embedded optionality, such as an interest rate cap, can also have implied volatility. Implied volatility, a forward-looking and subjective measure, differs from historical volatility because the latter is calculated from known past returns of a security. To understand where implied volatility stands in terms of the underlying, implied volatility rank is used to understand its implied volatility from a one-year high and low IV.

Please read the following articles to better understand Implied Volatility on Uniswap v3:

{% embed url="<https://medium.com/gammaswap-labs/calculating-implied-volatility-from-uniswap-v2-v3-e466e49d60e0>" %}

{% embed url="<https://lambert-guillaume.medium.com/on-chain-volatility-and-uniswap-v3-d031b98143d1>" %}


# Uniswap v3 Analytics

Analytics Dashboards

The best analytics dashboard for Uniswap v3 Pool statistics you can find on Dune Analytics:

{% embed url="<https://dune.com/murathan/pool-analyzer>" %}

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2F3EOkqmlgjn9k9sj3Ud5w%2Fimage.png?alt=media&amp;token=264a7959-47f6-428e-b360-ff6210cdb28d" alt=""><figcaption></figcaption></figure>

{% embed url="<https://dune.com/gammastrategies/Uniswap-v3-Volume-and-Fees-Collected>" %}

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2Fx3cCxPbGLMglT94qzlv5%2Fimage.png?alt=media&amp;token=fd99c4d9-3f00-41c7-9c92-a9f5eb5b8d1f" alt=""><figcaption></figcaption></figure>

{% embed url="<https://dune.com/gammastrategies/Polygon-Uniswap-v3-Last-2-Days-Pool-Discovery>" %}

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FyWpfYg2sU7zSYuVR73p8%2Fimage.png?alt=media&amp;token=240db6a3-5963-4f4d-ba28-370971b7a224" alt=""><figcaption></figcaption></figure>

{% embed url="<https://dune.com/yulesa/Liquidity-Distribution>" %}

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FEtWRyKfnhewupZqfXPxv%2Fimage.png?alt=media&amp;token=1816c3cf-3283-4e2a-9c77-d7d5accaba88" alt=""><figcaption></figcaption></figure>

{% embed url="<https://dune.com/msilb7/Uniswap-v3-Pair-Deep-Dive>" %}

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FMyU7y2tjHVPp7cludpGT%2Fimage.png?alt=media&amp;token=1aec93fc-5025-466a-af16-96420e4afd19" alt=""><figcaption></figcaption></figure>

{% embed url="<https://dune.com/msilb7/Uniswap-v3-Competitive-Analysis>" %}

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2F3Lsu2jka3nEdwbn6Ikgd%2Fimage.png?alt=media&amp;token=5aab69e4-89aa-4b7a-83aa-431eef55ea61" alt=""><figcaption></figcaption></figure>

{% embed url="<https://dune.com/danning.sui/uniswap-user-base>" %}

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2Fu1LtOS0t4CBypQxz40lv%2Fimage.png?alt=media&amp;token=18ee40d3-3bb1-4900-9b05-5767bbc60b12" alt=""><figcaption></figcaption></figure>

{% embed url="<https://dune.com/llama/Uniswap-v3-Liquidity-Program-by-Llama>" %}

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2Fg2zHHnrW1scqi8IOO8LL%2Fimage.png?alt=media&amp;token=d4af3dfc-8515-45d5-8164-b6becb37d30c" alt=""><figcaption></figcaption></figure>


# Uniswap V3 Fee Calculation

There are a few advanced calculators for Uniswap v3 Pools. You can use it to calculate the fees for different Pools and Price Ranges.

### Uniswap.fish

{% embed url="<https://uniswap.fish/>" %}

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FIuu5tzSDV9qI9JmRZCSa%2Fimage.png?alt=media&amp;token=3f5b64fd-7855-4bc5-9ec6-1dd25db47400" alt=""><figcaption></figcaption></figure>

### Metacrypt Uniswap v3 Calculator

{% embed url="<https://www.metacrypt.org/tools/uniswap-v3-calculator-simulator>" %}

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FGqTpaJRSemKiLMVSicDo%2Fimage.png?alt=media&amp;token=e9f7f604-a82b-4f25-b016-ccbc3c8d9ab2" alt=""><figcaption></figcaption></figure>

### Flipsidecrypto Uniswap V3 Fee Calculator

{% embed url="<https://science.flipsidecrypto.xyz/uniswapv3/>" %}

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2F986E6WpuwOdxiWeHOR4o%2Fimage.png?alt=media&amp;token=60ef0db7-0d3b-4603-b622-64d0f124a333" alt=""><figcaption></figcaption></figure>

### DeFi-Lab Uniswap V3 Strategy Simulator

{% embed url="<https://defi-lab.xyz/uniswapv3simulator>" %}

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FDJyFpb9A3hv8UD49zrMq%2Fimage.png?alt=media&amp;token=f2b06e20-5cdf-48f6-b5e2-20001bdceb52" alt=""><figcaption></figcaption></figure>


# Uniswap v3 Math

For Developers and Asset Managers

## Uniswap — Deep Dive into V3 technical white paper <a href="#d278" id="d278"></a>

{% embed url="<https://trapdoortech.medium.com/uniswap-deep-dive-into-v3-technical-white-paper-2fe2b5c90d2>" %}

### The full guideline on Uniswap v3 math, used in Quadrat Protocol

{% embed url="<https://atiselsts.github.io/pdfs/uniswap-v3-liquidity-math.pdf>" %}
Uniswap v3 Math
{% endembed %}

### Uniswap v3 core WhitePaper

{% embed url="<https://uniswap.org/whitepaper-v3.pdf>" %}


# Uniswap Resources

[Awesome-Uniswap-v3](https://github.com/GammaStrategies/awesome-uniswap-v3) is a community-driven project, designed to be a resource people can use to familiarize themselves with Uniswap v3.&#x20;

Uniswap v3 is the most powerful version of the Uniswap protocol yet; with Concentrated Liquidity offering unprecedented capital efficiency for liquidity providers, better execution for traders, and superior infrastructure at the heart of decentralized finance.

### Get Started

Those interested in Uniswap v3 are invited to explore AUS's collection of resources below. Get to know Uniswap v3 with the help of guides, documentation, analysis pieces, tools, AMAs, podcasts, and third-party apps, and more

### Uniswap Properties

#### Uniswap Official

* [Uniswap Website](https://uniswap.org/) - Official Uniswap Website
* [Uniswap v3 Whitepaper](https://uniswap.org/whitepaper-v3.pdf) - Uniswap v3 Whitepaper
* [Uniswap v3 Smart Contracts](https://github.com/Uniswap/uniswap-v3-core) - Uniswap v3 Smart Contracts
* [Uniswap v3 Periphery Contracts](https://github.com/Uniswap/uniswap-v3-periphery) - Uniswap v3 Periphery Contracts
* [Uniswap v3 Subgraph](https://github.com/Uniswap/uniswap-v3-subgraph) - Uniswap v3 Subgraph
* [Uniswap App](https://app.uniswap.org/#/swap) - Uniswap App
* [v3 Documentation](https://docs.uniswap.org/) - Official documentation for Uniswap v3
* [Uniswap Analytics](https://info.uniswap.org/#/) - Uniswap Analytics
* [Blog](https://uniswap.org/blog/) - Official blog for Uniswap
* [Uniswap Grants](https://twitter.com/uniswapgrants?lang=en) - Uniswap Grants

#### Channels

* [Uniswap Discord](https://discord.com/invite/FCfyBSbCU5) - Uniswap Discord
* [Uniswap Twitter](https://twitter.com/Uniswap) - Uniswap Twitter
* [Uniswap Reddit](https://www.reddit.com/r/Uniswap) - Uniswap Reddit

### Media Coverage

#### Mentions

* [Wallstreet Journal](https://www.wsj.com/articles/upstart-peer-to-peer-crypto-exchanges-take-aim-at-coinbase-11621848601) - Uniswap Wallstreet Journal
* [Yahoo Finance](https://finance.yahoo.com/news/uniswap-v3-arrival-signals-bright-153000373.html) - Yahoo Finance
* [Decrypt](https://decrypt.co/69920/uniswap-v3-comes-tomorrow-heres-what-expect) - Decrypt
* [MarketWatch](https://www.marketwatch.com/press-release/uniswap-v3-released-but-the-maker-idea-is-not-new-2021-03-29) - MarketWatch

#### Podcasts

* [The Scoop](https://podcasts.apple.com/us/podcast/a-deep-dive-into-uniswap-v3-with-the-blocks-mika-honkasalo/id1460134454?i=1000514558379) - Fintech Frank
* [Coin Bureau](https://www.audible.com/pd/Uniswap-V3-is-COMING-What-it-Means-For-UNI-Ep-125-Podcast/B091QFGNN9) - Coin Bureau
* [Crypto Unstacked](https://www.audible.com/pd/Deep-Dive-Uniswap-v3-Can-You-Still-Be-a-Lazy-Liquidity-Provider-with-this-Novel-AMM-Design-Podcast/B095BRZCLX) - Crypto Unstacked v3
* [Bankless](http://podcast.banklesshq.com/rollup-1st-week-of-may-uniswap-v3-elon-musk-snl-dogecoin-bankless-dao-eth-btc) - Bankless v3

### Basics

#### FAQs

* [Official FAQ](https://uniswap.org/faq/) - Official Uniswap FAQ

#### Guides

* [Swap](https://docs.uniswap.org/concepts/introduction/swaps) - Official Uniswap guide on swaps
* [Liquidity provider & Migration User Guide](https://docs.uniswap.org/concepts/introduction/liquidity-user-guide) - Official step-by-step guide on providing liquidity on v3, and migration of liquidity from Uniswap v2 to v3

#### Videos

* [Uniswap v3](https://www.youtube.com/watch?v=5KonJGrGTiU) - Introduction to Uniswap v3 by the Defiant
* [Uniswap v3 - Architecture explained](https://www.youtube.com/watch?v=Ehm-OYBmlPM) - Explanation of Uniswap v3 by Finematics
* [Noah from Uniswap Explains Uniswap v3 Contracts](https://drive.google.com/file/d/1dRifSAXxc-6HKCKH8tcygEmHxJTKAlxp/view)

#### Research

* [Official Uniswap research page](https://docs.uniswap.org/concepts/advanced/research) - A list of research papers curated by uniswap labs

**General Protocol Reserach**

* [Uniswap V3's Alchemy](https://www.nansen.ai/research/uniswap-v3s-alchemy) - An examination of the nascent rise of Uniswap V3, and its implications for the DeFi landscape by Nansen
* [Liquidity Mining on Uniswap v3](https://www.paradigm.xyz/2021/05/liquidity-mining-on-uniswap-v3/) - Paradigm's research on liquidity mining on Uniswap v3
* [Liquidity providing in Uniswap v3 (1)](https://reuptake.medium.com/liquidity-providing-in-uniswap-v3-49bf3a0bd2ec) - Description of new features of Uniswap v3 relevant for LPs. Analysis of *boost* derived from concentrated liquidity.
* [Liquidity providing in Uniswap v3 (3)](https://reuptake.medium.com/liquidity-providing-in-uniswap-v3-3-c82fb9a5f545) - Research on the sources of yield on Uniswap v3
* [On-chain range orders using Uniswap V3](https://medium.com/auditless/on-chain-range-orders-using-uniswap-v3-7a49e480ce51) - Research by Auditless on Uniswap v3 range orders
* [Expected Price Range Strategies in Uniswap v3](https://medium.com/gamma-strategies/expected-price-range-strategies-in-uniswap-v3-833dff253f84) - Review of academic research on a class of LP strategies
* [Uniswap v3 Math](https://medium.com/blockchain-development-notes/uniswap-v3-maths-explained-capital-efficiency-86257c44405a) - Derives capital efficiency formulas
* [Market Making in DeFi](https://blog.0x.org/market-making-in-defi) - Description of market making dynamics on DeFi
* [The Market Making Landscape of Uniswap v3](https://www.nansen.ai/research/the-market-making-landscape-of-uniswap-v3) - Analysis of typical LP behavior on Uniswap v3 by late August 2021
* [Because not all Uniswap V3 pools are born equally…](https://defi-lab.medium.com/because-not-all-uniswap-v3-pools-are-born-equally-dd2e105aa091) - Generates some statistics on how to compare different Uni v3 pools
* [A Mathematical View of Automated Market Maker (AMM) Algorithms and Its Future](https://medium.com/anchordao-lab/automated-market-maker-amm-algorithms-and-its-future-f2d5e6cc624a) — Derivations of several results of AMM math

**Academic Research**

* [Strategic Liquidity Provision in Uniswap v3](https://arxiv.org/pdf/2106.12033.pdf) - Research from Harvard on research on Strategic Liquidity Provision
* [Behavior of Liquidity Providers in Decentralized Exchanges (ETH Zurich)](https://arxiv.org/pdf/2105.13822.pdf) - ETH Zurich research on the behavior of LP's on Dexes
* [On Liquidity Mining for Uniswap v3](https://arxiv.org/abs/2108.05800) - Analizes potential schemes of rewarding liquidity miners on Uniswap v3
* [The Replicating Portfolio of a Constant Product Market with Bounded Liquidity](https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3898384) - Derives what portfolio of spots and options can replicate a Uniswap v3 position
* [Liquidity Math un Uniswap v3](https://atiselsts.github.io/pdfs/uniswap-v3-liquidity-math.pdf) - Derivation of several key Liquidity Provision formulas from Uniswap v3
* [Concentrated Liquidity in Automated Market Makers](https://arxiv.org/abs/2110.01368) - Analysis of returns of concentrated liquidity provision since Uniswap v3's release, as well as a comparison of the performance of different strategies.

**Strategy Simulation and Quantitative Analysis**

* [Active Liquidity Management: Trader's Perspective](https://altonomy.medium.com/uniswap-v3-9b388e2fe272) - A quantitative analysis and simple simulation on Uniswap v3, with final suggestions on how to put together an optimal market-making strategy on Uniswap v3
* [A 'real-world' framework for backtesting Uniswap V3 strategies](https://jnp777.medium.com/a-real-world-framework-for-backtesting-uniswap-v3-strategies-88825abdcd17) - Framework for backtesting LP strategies
* [Uniswap V3: A Quant Framework to model yield farming returns](https://medium.com/@DeFiScientist/uniswap-v3-a-quant-framework-to-model-yield-farming-returns-941a1600425e) - Research by DeFI Scientist on Uniswap v3 LP returns
* [Realized Strangle](https://github.com/Lucas-Kohorst/realized-strangle) - Executes LP positions and options strategies
* [Rebalancing vs Passive strategies for Uniswap V3 liquidity pools](https://medium.com/@DeFiScientist/rebalancing-vs-passive-strategies-for-uniswap-v3-liquidity-pools-754f033bdabc) - Analyzes the impact of frequent rebalancing on LP returns.
* [Quantifying Just in Time Liquidity in Uniswap v3](https://jnp777.medium.com/quantifyng-just-in-time-liquidity-in-uniswap-v3-23ac1db729c5) - Article describing the impact of Flashbots on Liquidity Provision Returns.

**Impermanent Loss**

* [Impermanent Loss in Uniswap V3](https://medium.com/auditless/impermanent-loss-in-uniswap-v3-6c7161d3b445) - Auditless' research on Impermanent Loss
* [Impermanent Loss Insurance (Protection Markets) for Uniswap v3 LP’s](https://medium.com/gamma-strategies/impermanent-loss-insurance-protection-markets-for-uniswap-v3-lps-20d661f61883) - Research by Gamma Strategies on Uniswap v3 Impermanent Loss Insurance
* [Liquidity providing in Uniswap v3 (2)](https://reuptake.medium.com/liquidity-providing-in-uniswap-v3-2-5e24af7c346c) - Analysis of impermanent loss from rebalancing and its compounding.
* [Concentrated Divergence Loss](https://overanalyser.substack.com/p/concentrated-divergence-loss) - Experiences of LPing in a very small Uniswap v3 pool vs. the main Uniswap v2 pool
* [Impermanent Loss in Uniswap V3](https://crypto-defiworld.medium.com/impermanent-loss-in-uniswap-v3-222d01668d6e) - Mathematical derivation of impermanent loss
* [G3M Impermanent Loss Dynamics](https://arxiv.org/pdf/2108.06593.pdf) - Derives and analyzes impermanent loss on Geometric Mean Market Makers
* [Calculating the Expected Value of the Impermanent Loss in Uniswap](https://lambert-guillaume.medium.com/an-analysis-of-the-expected-value-of-the-impermanent-loss-in-uniswap-bfbfebbefed2) - Analysis of the expected impermanent loss of a one tick position on Uniswap v3
* [Single-Position Impermanent Loss of A Single Transaction for Uniswap V3](https://medium.com/@PlanetHunter/impermanent-loss-calculation-for-uniswap-v3-c753dcfae16d) - Derivation of impermanent loss formulas for Uniswap v3 positions
* [Understand LP risks: use Effective Gain/Loss, not Impermanent Loss](https://medium.com/@gui.lamacie/understand-lp-risks-use-effective-gain-loss-not-impermanent-loss-34d1450231a5) - Proposes the use of "effective loss", a measure of net profit that assumes that initial position was 100% USD based, rather than the ratio of tokens you deposit into the pool (as you had to purchase the tokens that you LP).

**Didactic Tools**

* [Basic Constant Product Market Maker Explainer](https://www.desmos.com/calculator/nw4zrqrftx) - Graphical Explanation of x \* y = k markets.
* [Introduction of Concentrated Liquidity to a CMM](https://www.desmos.com/calculator/wfp3scq3g3) - Introduces range orders to the AMM.
* [Swap-to-add Calculator](https://www.desmos.com/calculator/oiv0rti0ss?s=09) - Derivation of the swaps required to deposit 100% of your pair of assets in a pool, given that the pool's ratio and your ranges might not match.
* [Impermanent Loss Calculator](https://www.desmos.com/calculator/i8h0wzqaci) - This tool shows how impermanent loss and portfolio composition work for Uniswap v3 positions.
* [Multiple LP positions example](https://www.desmos.com/calculator/qknhcrktmz) - This tool shwos how multiple concentrated liquidity positions behave when stacked on top of each other in the same pool.

**Options Analysis**

* [Synthetic Options and Short Calls in Uniswap V3](https://lambert-guillaume.medium.com/synthetic-options-and-short-calls-in-uniswap-v3-a3aea5e4e273) - Research interpreting Uniswap v3 LP positions as synthetic options contracts
* [Uniswap V3 LP Tokens as Perpetual Put and Call Options](https://lambert-guillaume.medium.com/uniswap-v3-lp-tokens-as-perpetual-put-and-call-options-5b66219db827) - Research on LP positions as perpetual options
* [Understanding the Value of Uniswap v3 Liquidity Positions](https://lambert-guillaume.medium.com/understanding-the-value-of-uniswap-v3-liquidity-positions-cdaaee127fe7) - Research on LP position valuation using an Options Framework
* [How to Create Perpetual Options in Uniswap v3](https://lambert-guillaume.medium.com/how-to-create-a-perpetual-options-in-uniswap-v3-3c40007ccf1) - Guide on how to implement Uniswap v3 positions as perpetual options
* [A Guide for Choosing Optimal Uniswap V3 LP Positions, Part 1](https://lambert-guillaume.medium.com/a-guide-for-choosing-optimal-uniswap-v3-lp-positions-part-1-842b470d2261) - Statistical analysis of LP positions
* [A Guide for Choosing Optimal Uniswap V3 LP Positions, Part 2](https://lambert-guillaume.medium.com/a-guide-for-choosing-optimal-uniswap-v3-lp-positions-part-2-4a94b0a12886) - Derivation of "effective liquidity", combining expected time spent "in the money" with the Uniswap v3 capital efficiency.
* [Pricing Uniswap v3 LP Positions: Towards a New Options Paradigm?](https://lambert-guillaume.medium.com/pricing-uniswap-v3-lp-positions-towards-a-new-options-paradigm-dce3e3b50125) - Analysis of the risk-reward tradeoffs of one tick positions in Uniswap v3 when interpreted as options
* [On-chain Volatility and Uniswap v3](https://lambert-guillaume.medium.com/on-chain-volatility-and-uniswap-v3-d031b98143d1) - Derivation of the implied volatility of a one-tick LP position on Uniswap v3.

**Layer 2 Research**

* [Understanding Fees in Optimistic Ethereum: Part 1](https://optimismpbc.medium.com/what-to-expect-when-eths-expecting-part-1-9bb5cbccb7c1) - Research on swap fee changes from Optimism
* [The Costs of Uniswap v3 Active Management](https://medium.com/gamma-strategies/the-costs-of-uniswap-v3-active-management-7dd1c160fdd) - Research on LP costs, including early Optimism LP estimates

**Concentrated Liquidity Provision Hedging**

* [Gamma transforms: How to hedge squeeth using Uni V3](https://lambert-guillaume.medium.com/gamma-transforms-how-to-hedge-squeeth-using-uni-v3-da785cb8b378) - Research on hedging squeeth to have zero gamma.

### Developer tools

* [The "Tuner", a Uniswap V3 Simulator](https://github.com/Bella-DeFinTech/uniswap-v3-simulator) - SDK for simulating a Uniswap v3 pool

#### v3 Smart contracts

* [Overview](https://docs.uniswap.org/reference/smart-contracts) - Overview of Uniswap v3 smart contracts
* [Contract map](https://j1mmy.fi/uniswapv3/pool) - Interactive contract map for Uniswap v3
* [Deployment addresses](https://github.com/Uniswap/uniswap-v3-periphery/blob/main/deploys.md) - Deployment addresses for Uniswap v3
* [Business Source License](https://github.com/Uniswap/uniswap-v3-core/blob/main/LICENSE) - Terms of the business license.
* [Uniswap v3 SDK](https://github.com/Uniswap/uniswap-v3-sdk) - Official SDK for building applications on top of Uniswap v3
* [Uniswap library](https://github.com/Uniswap/uniswap-lib) - Solidity libraries that are shared across Uniswap contracts. This package focuses on safety and execution gas efficiency.

#### Data

* [Revert Finance](https://revert.finance/) - Actionable analytics for tracking liquidity provision on Uniswap v3
* [Uniswap v3 Subgraph](https://github.com/Uniswap/uniswap-v3-subgraph) - Uniswap v3 Subgraph
* [Flipside Crypto](https://velocity-app.flipsidecrypto.com/velocity/collections/f4986b7d-2505-45d1-9e9f-e7296e8acc86) - Flipside Crypto data sources

### Ecosystem dApps

#### Simulators

* [Flipside crypto](https://uniswapv3.flipsidecrypto.com/) - Uniswap v3 Fee calculator
* [V3.unbound.finance](https://v3.unbound.finance/) - Uniswap v3 strategy simulator
* [DeFiLab](https://defi-lab.xyz/) - Uniswap v3 Strategy simulator
* [Chainvault.io](https://app.chainvault.io/dashboard/tools/ilcalc) - Uniswap v3 IL calculator
* [Vercel App](https://uniswap-simulator.vercel.app/) - Uniswap v3 strategy simulator
* [Ranges.fi](https://ranges.fi/) - Backtester of Uniswap v3 LP positions
* [Revert Finance's Initiator](https://medium.com/@revert_finance/presenting-the-initiator-3450f63d6b7e) - Revert.finance's simulator
* [BearWhale.Crypto](https://www.bearwhale.io/liquiditypool/) - LP Return data and simulator

#### Analytics & Dashboards

* [Uniswap v3 volume and fees collected](https://duneanalytics.com/gammastrategies/Uniswap-v3-Volume-and-Fees-Collected) - Dune dashboard containing data for volume and fees collected for Uniswap v3 by [Gamma Strategies](https://twitter.com/GammaStrategies?s=20)
* [Uniswap v2-to-v3 ramp up](https://duneanalytics.com/msilb7/Uniswap-V2-vs-V3-Ramp-Up) - Dune dashboard comparing Uniswap v2 and v3 by [Michael Silberling](https://twitter.com/msilb7)
* [Uniswap v3 usage](https://duneanalytics.com/msilb7/Uniswap-v3-Competitive-Analysis) - Dune dashboard with Uniswap v3 Trading Usage, Growth, and Competitive Analysis by [Michael Silberling](https://twitter.com/msilb7)
* [Parsec Finance](https://app.parsec.finance/) - Uniswap v3 specific features such as historical pool depth and positions overview

### Uni Grant Winners

#### Wave 3 - Uniswap v3 - V3 for the People

* UNIFest - Virtual concert co-produced by the UNI community through lightweight governance
* v3 python wrapper - Open source python wrapper for v3, enables automated trading contracts/strategies
* [Rari Capital - Nova contracts external audit](https://docs.rari.capital/nova/) - Open Zeppelin audit of Rari Capital's Nova Contracts which enables L1-L2 interop swaps
* John Palmer - UI & tools for UNI governance - Tooling and interface for more easily launching autonomous proposals
* [Omar Bohsali - v3 LM incentive contracts](https://github.com/omarish/uniswap-v3-staker/) - Creation and auditing of v3 liquidity mining incentive contracts
* Rabbit Hole - v3 onboarding - Incentivized learning modules to UNI newcomers getting their feet wet with v3
* Timothy Luke - UGP Headless Branding - Headless branding exercise from branding experts to see how to create an amorphous and growing movement of UGP participants
* [v3 Analytics Bounties (Flipside & Dune Analytics)](https://www.notion.so/UGP-V3-Dashboard-Bounties-7b28b308df8a4be88336fd8d8148610e) - RFP
* [Other Internet Community Study](https://www.notion.so/UGP-Wave-3-V3-for-the-People-48a7cd1e72cc48f4baec815bd0b4bb56) - RFP

#### Wave 4 - Uniswap v3 - I Open at the Close

* [UNI.vote](http://uni.vote/) & Bravo upgrade - [Gasless on-chain voting](https://github.com/Comp-Vote/uni.vote) & upgrading UNI gov to Bravo
* pyexchange v3 client - v3 python client but with Maker syntax and using pyexchange framework
* EIP-3074 Audit - Cofunded with the EF - audit of EIP3074
* Sunny Radadiya - v3 metatx frontend - Continuation of hackathon winning project to build frontend for stableswap metatx on v3
* David Mihal - cryptofees.info v3 subgrap - v3 subgraphs for [cryptofees.info](http://cryptofees.info/)
* Omni Analytics - UNISwappR - Installable package within R, enabling Uniswap data to be pulled directly from the blockchain
* Vulcanize DB - vulcanize GQL watchers - Alternative to [UNI subgraph ](https://github.com/vulcanize/vulcanizedb)with potentially promising performance improvements
* Omar Bohsali - uniswap v3 devtools - [Convenient libraries for v3 development](https://github.com/Uniswap/hardhat-plugin-deploy-v3/)
* Defilab\_xyz V3 simulation tool - Leveling up the viral [beautiful V3 LP simulator](https://defi-lab.xyz/) & educational tool
* Buidl Guidl - v3 bounties - Bounties to support web3 newcomers building on [uniswap hosted by Austin Griffith](https://support.buidlguidl.com/)
* DAO Research Coop - Research for DAO best practices led by Connor Spelliscy, cofunded by Aave Grants and Compound Grants

#### Wave 5 - Uniswap v3 - The Community & Beyond

* Polywrap Follow-up - v3 wrapper - [Work on porting univ3.js sdk to polywrap](https://github.com/polywrap)
* Simple SDK Follow-up - v3 support - [Support for L2 & SDK enhancements](https://github.com/uniswap-integration/simple-uniswap-sdk)
* Valve Finance Follow-up - [Improving routing algo and interactions](https://github.com/valve-finance/uniswap_routing)
* [Brink.Trade](http://brink.trade/) Range Orders - [Improving routing algo and interactions](https://github.com/valve-finance/uniswap_routing)

#### Wave 6 - Uniswap v3 - GM 2022

* Liquifi open source vesting contracts - open source DAO vesting contracts and dashboard for DAO workers to capture upside through vesting
* Omni Analytics - UNISwappR Follow-on - Expansion of the UNISwappR library and tooling
* v3 golang SDK - Daoleno - v3 golang SDK - Daoleno
* Gelato Finance G-UNI - Upgrade G-UNI from alpha to enable users to more easily create, share, and deploy own designed decentralized pools
* Yewbow - Guillaume Lambert - educational v3 LP onboarding interface to explore metrics, strategies, and more!

#### Wave 7 - Uniswap v3 - buidlers buidlers buidlers

* v3 Staking Frontend - open source webapp to easily deploy v3 LP incentivizes
* ranges.fi - extending [ranges.fi](http://ranges.fi/) to include L2 backtesting tool, vault manager and performance comparisons
* v3 TWAP Dev Tools - Chaos Labs - improving existing TWAP devtooling

#### Wave 8 - Uniswap v3 - The Community is The Protocol

* Chaos Labs - TWAP Hardhat plugin - Hardhat tooling for easy simulation of Uniswap-v3 TWAP behaviours
* Time weight quoter for v3 - Building a time weighted average precise quoter (TWAQ) and optimized router
* Mean Finance - static-call TWAP contract - Implementation of static-callable TWAP contract for any token pairs
* eth-hentai python tool - v3 python library to easily pull trade data for trade strategy simulations
* Seedle Finance - Feature expansion such as "Swap & Add" and "Search & Deploy flow"&#x20;


# Protocol Overview

Quadrat is a permissionless, non-custodial, active liquidity management protocol of&#x20;

concentrated liquidity in Uniswap v3. UI of Quadrat's protocol is integrated and hosted on [**Plasma.Finance**](https://apy.plasma.finance) Web3 platform. This protocol is available only for 10.000 [**Quadrat NFT Pass holders**](/quadrat-launch-roadmap/quadrat-nft-pass) (**the first NFT with a real Utility > providing access to yield farming and the highest APY on the DeFi market**). Quadrat protocol can be also used by **Investment DAOs, Web3 Treasuries, Gnosis Safe Vaults** and integrated as DeFi Lego in leverage and lending protocols.

Quadrat Permissionless Factory Contract ([**HyperLoop**](/quadrat-protocol/development-infrastructure/hyperpool-smart-contracts)) allows Asset Managers to create Uniswap v3 non-custodial Vaults or Strategies on any blockchain where Uniswap v3 Deployed (**Ethereum, Optimism, Polygon, Arbitrum**).

Users (Liquidity Providers) can deposit funds into the Quadrat Vaults and passively earn the hights fees from Uniswap v3 on DeFi Market. Asset Managers can implement their Strategies to actively manage Strategy liquidity in Uniswap v3 Pools. Asset Managers don't have access to users' funds, they can only rebalance Uniswap v3 Pool Price Ranges of the Strategy.

Quadrat also provides highly effective [**0xPlasma Strategies**](/quadrat-strategies/rebalancing-algorithm) for Uniswap v3, developed by in-house analytics and data scientists. 0xPlasma Strategies implement different models of asset management, based on market volatility, trading indicators, and other financial models of price range prediction. Quadrat Strategies target the maximization of users' rewards from liquidity provision, hedging the possible risks and impermanent losses.

### **Quadrat Protocol Advantages:** <a href="#id-86f0" id="id-86f0"></a>

* Quadrat Protocol converts non-fungible liquidity positions of Uniswap v3 into LP tokens of ERC-20 standard. It's enabling liquidity to be used in any external DeFi protocols (staking, lending, farming, DAO, etc.)
* Protocol Strategies automatically reinvests earned fees back into Uniswap v3 Pool Strategy to achieve a compounding effect for deployed capital
* Asset Managers can implement a wide range of strategies to manage concentrated liquidity in Uniswap v3, maximizing the APY of the Strategy.

### How Protocol Works

1\) User (Liquidity Provider) provides the amount of token X and token Y in the Quadrat Vault, receiving LP token ERC-20 (representing Users' position or share in the Vault)

2\) Quadrat Vault deploys (proxy) these assets into Uniswap v3 pool X/Y (fee tier Z%)

3\) Asset Manager can call only the rebalancing function in the Vault and doesn't have any access to the undelaying assets.

4\) When the Asset Manager calls rebalance function of the smart contract, the Quadrat Vault rebalance price range of the position in the Uniswap v3 Pool

5\) User can withdraw assets back + earned fees at any time, burning its LP token

6\) User can send an LP token of Quadrat Strategy to any other wallet address.

<div align="left"><figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FId2EVaG7SaWp26RB31gj%2Fscheme_1.svg?alt=media&amp;token=ee0e39de-aabb-4fd6-9848-89ba1d874b1a" alt=""><figcaption></figcaption></figure></div>

### How Rebalancing Works

Every time the Asset Manager calls the rebalancing function of the protocol, the Vault executes from 10 to 16 actions in one blockchain transaction. The rebalancing function provides a highly effective mechanism for Asset Manager to rebalance and exchange assets with maximum accuracy and minimum losses in one TX. During the Strategy rebalancing, the Quadrat Vault does not mint the NFT position of Uniswap v3, which will save the additional gas fees for Strategy.

<div align="left"><figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FY2RyoDdjQP8ti5neev3s%2Fscheme_2.svg?alt=media&amp;token=d4c8c708-36cb-4a48-935d-de1d92cb75c2" alt=""><figcaption></figcaption></figure></div>


# Use Cases

Users can earn fees by **providing liquidity in two Tokens X/Y** in the Quadrat Strategy Vaults that are managed by 0xPlasma algorithmic manager. Users are incentivized to provide liquidity to these Vaults because they will receive higher rewards in both Tokens, which can be withdrawn to their wallet at any moment.

**Quadrat Protocol** is a trustless decentralized liquidity management protocol that supports any Uniswap v3 Pools. It's designed for **Asset Managers** to have total control of their strategies for any Uniswap v3 Pool. The Protocol enables fund managers to create strategies for any Uniswap v3 Pool and manage their own liquidity or attract external capital and **receive a performance fee** from the performance of their strategy.


# Passive Strategies (Savings)

If you hold any amount of crypto assets like ETH, BTC, USDT, Matic, etc., you can deposit these assets for the long term into **Quadrat Strategies** and receive the highest possible APY on your assets.


# Fund Management

For Investment DAO or private crypto fund managers Quadrat Protocol could be an additional source of yield for the underlying fund assets. Quadrat Protocol is simply integrating with [**Web3 DAO protocols**](/defi-lego-with-quadrat-protocol/investment-dao) and [**Gnosis Safe Multisig wallet**](/defi-lego-with-quadrat-protocol/gnosis-safe-+-quadrat-strategies).


# Option Strategies

Quadrat Protocol can be used for Options strategies in DeFi.

Please read these articles to explore this opportunity.

{% embed url="<https://lambert-guillaume.medium.com/uniswap-v3-lp-tokens-as-perpetual-put-and-call-options-5b66219db827>" %}

{% embed url="<https://lambert-guillaume.medium.com/synthetic-options-and-short-calls-in-uniswap-v3-a3aea5e4e273>" %}

{% embed url="<https://lambert-guillaume.medium.com/how-to-create-a-perpetual-options-in-uniswap-v3-3c40007ccf1>" %}


# DEX Trading - Asset Trust Management

On-chain Asset Trust Management.

**Quadrat Protocol Vaults** can be used as a permissionless and trustless trading strategy for asset managers and Investment Funds. You can create a vault to trade users' assets as an asset manager without access to these funds.


# Quadrat Strategies

Overview

Quadrat Research Team develops its own Highly Performance Rebalancing Strategies for different Uniswap v3 Pools and Chains that you can find under the "[**0xPlasma**](https://apy.plasma.finance/#/quadrat/plasma)**"** Tab on the Quadrat Strategy page.

All Quadrat Strategies are automized with python algorithms and backtested on the historical data of each Pool. The team is continuously optimizing these strategies to provide the best possible APY on each Uniswap v3 Pool.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FXosRs5wzHAgxfzNCGv5t%2Fimage.png?alt=media&amp;token=ee1e5f07-5692-408a-960f-47a1f713fdbc" alt=""><figcaption></figcaption></figure>

Before you decided to provide your liquidity in any of the Strategies, we recommend you read and understand all the metrics.

You can read more about the Quadrat Strategies [here](/quadrat-strategies/rebalancing-algorithm).


# Protocol Fee Structure

**Fee Structure**

* 2.5% Quadrat Performance Fee (distributed to Governance Treasury)
* 0% Withdrawal fee
* 0% Management fee
* X% Asset Manager Performance Fee (set by a manager)

\*Performance fee only charges when the strategy is earning profit.

​**Overview of the cost structure of yield aggregators and asset management projects**

| **Project** | **Management Fee** | **Performance Fee** | **Total Fee** |
| ----------- | ------------------ | ------------------- | ------------- |
| Yearn V2    | 2%                 | 20%                 | 22%           |
| Harvest     | 0%                 | 30%                 | 30%           |
| dHedge      | 0%                 | 20%                 | 20%           |


# Quadrat UI and User Experience


# How to analyse strategies

Before you provide liquidity in any of the Quadrat Strategies, please read this guideline about the metrics and how to analyze strategies.

[**Quadrat Strategy Page**](https://apy.plasma.finance/#/quadrat/plasma)

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FAsuzBDhTCPBmXd8gK8Jx%2Fimage.png?alt=media&amp;token=c841a5ce-9dd8-42a2-841c-a6480ee0d5ff" alt=""><figcaption><p>Quadrat Strategy Page</p></figcaption></figure>

### Assets

Uniswap v3 Pool and Fee Tier of the Strategy. TVL - Uniswap v3 Pool TVL. Share - strategy share of the Pool. To provide liquidity in each chosen Strategy you need to have both assets in your wallet. You can swap assets in the proportion you need, using the [HyperDEX protocol](https://apy.plasma.finance/#/hyper-dex/market).

### Chain

Blockchain of the Quadrat Strategy. You can switch between different chains using the dropdown menu at the right side of the page.

### Manager

Asset Manager Address of current strategy. By clicking on the address you will see the Asset Manager page based on the ENS profile.

{% hint style="info" %}
Deploy your capital in the Strategies owned by trusted and transparent managers.
{% endhint %}

{% hint style="warning" %}
Only put your assets under the management of a trustworthy Asset Manager.
{% endhint %}

### Manager TVL

Total Asset Value Locked in all Strategies owned by this Asset Manager.

### Strategy TVL

Total Asset Value Locked in the current Strategy.

### TVL 30D

TVL changed in the past 30 days.

### Fees Earned

Total Amount of Fees earned by the strategy.

### APY

APY (Annual Percentage Yield) - current day return on the capital multiplied by 365 days.

{% hint style="success" %}
**APY is independent of Strategy TVL. 10$ Strategy TVL and $1M Strategy TVL will have the same APY.**
{% endhint %}

### Performance, TVL

Chart of Strategy TVL change in the past 2 weeks.

### Performance, APY

Chart of Strategy APY change in the past 2 weeks.

### Strategy Range

Current Price Range of the Strategy.

{% hint style="success" %}
&#x20;The Strategy can be out of the Price Range to protect capital against intermittent losses.
{% endhint %}

### Assets in Range

Amount of Assets deployed in the current Price range of Uniswap v3 Pool.

### Assets in Hodl

Amount of Assets holds on the Strategy Contracts.

## Strategy Page

Example: <https://apy.plasma.finance/#/quadrat/0x81c96720D0aB4397d0c50528D230DdA87DcAee57>

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2F8S1etkxCBYwJ4nnidx6y%2Fimage.png?alt=media&amp;token=263a284e-fb96-4123-9d28-d92d104cad6f" alt=""><figcaption></figcaption></figure>

### Strategy Info

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FDMsi0ET9BR8b1yt1nUqi%2Fimage.png?alt=media&amp;token=bb00e24e-f9ee-4adc-bd0a-0d82fc53da01" alt=""><figcaption></figcaption></figure>

**TVL** - total value locked in the Strategy Vault

**Strategy Address** - smart contract address of the Strategy Vault

**Uniswap Pool** - smart contract address of Uniswap v3 Pool

### Strategy Charts

**APY/TVL** - chart of APY and TVL for the past 2 months. APY and TVL are two indicators independent of each other

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FQi9fuwNghHubkItMklxr%2Fimage.png?alt=media&amp;token=55e31673-d26a-4e4c-9fd1-fe4f79f72559" alt=""><figcaption></figcaption></figure>

**TVL** - Chart of Total Value Locked in Uniswap v3 Pool for the past 2 months.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FBexEhgwMLtWXHJCscah4%2Fimage.png?alt=media&amp;token=39dee57f-24c0-4602-904a-5003a2e54844" alt=""><figcaption></figcaption></figure>

**Volume** - Chart of trading volume of the Uniswap v3 Pool. The more volume > more fees > the more APY.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FTF8BUUKiZT71Ri1PLBNp%2Fimage.png?alt=media&amp;token=f9b037fb-7c6c-4c4e-a52a-0b8e6774b2f5" alt=""><figcaption></figcaption></figure>

**Impl. Vol** - The historical implied volatility for Uniswap v3 Pool. Comparing the IV to the realized volatility (RV, dashed line) can help determine whether a pool is under or over-liquid.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FprpXooEMmzBhCkXdsE8g%2Fimage.png?alt=media&amp;token=531b0c81-1880-4a5f-921b-f988cdf8e450" alt=""><figcaption></figcaption></figure>

**Fees** - Defined as the total amount of fees that would have been earned by 1 unit of unbounded liquidity. **feeGrowthGlobal** increases on every swap step by the swap fee amount divided by the current liquidity. `feeGrowthGlobal += feeAmount / currentLiquidity`

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FH61pP17BBRT0bywR6Szg%2Fimage.png?alt=media&amp;token=cfef9a9c-6e72-4148-ad5c-ea9d1d7cb514" alt=""><figcaption></figcaption></figure>

**Price** - Price chart of the underlying asset.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2Fo5K2KFHryDIiua3JvAc2%2Fimage.png?alt=media&amp;token=3ea8ec30-f3cb-4e79-a9fd-aa6ff13365bf" alt=""><figcaption></figcaption></figure>

### Fee Calculator

You can use the built-in Uniswap.fish calculator to calculate potential fees and impermanent losses from the price range in the current Uniswap v3 Pool.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FC88uTmeqAIr7BNPuC5mY%2Fimage.png?alt=media&amp;token=0b21cb00-9b7a-48c5-a0a4-2d9cec233132" alt=""><figcaption></figcaption></figure>

## Strategy Statistics

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2Fhv8LEfT6lJXb0DztL7wC%2Fimage.png?alt=media&amp;token=a2a1ff36-0168-4f2f-b511-0ad233ed7efa" alt=""><figcaption></figcaption></figure>

**Strategy Range** - information about the current Price Range and Assets in the Strategy

**Rebalance** - the list of the rebalancing transaction by the Asset Manager

**Transactions** - Deposit Transactions of the Strategy

## Users Statistic

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FzTcloFMKWgpnwu2D32od%2Fimage.png?alt=media&amp;token=7565a04b-e160-443d-a97d-801852e9d2a8" alt=""><figcaption></figcaption></figure>

**Your Position** - your current value of the position in the Strategy

**Your Transactions** - your deposit and withdrawal transactions


# How to deposit assets in Strategies

Deposit Process

When you deposit assets in the Strategy with **an active price range**, you need to hold two assets in the wallet.

When you deploy assets in a strategy that is currently **out of the Active Price Range**, you only need to provide one-side asset.

### Instruction:

1\) Go to [Quadrat Strategy Dashboard](https://apy.plasma.finance/#/quadrat/plasma) and Click on the Assets to Open Strategy Page.

2\) Type one asset amount in the Deposit tab field

3\) You will see how much both assets you need to provide in the Strategy to make a Deposit

![](https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2Ft584nQdWnWIwDMmSV29d%2Fimage.png?alt=media\&token=21d98b57-4344-4728-8b13-a27b4ede99e6)

4\) if you have an insufficient balance on your wallet of one of the assets, you can use [HyperDEX](https://apy.plasma.finance/#/hyper-dex/market) to swap your assets in the right proportion. We don't provide auto swap and deposit due to security reasons and the safety of your assets.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FhnqZ1ghqXwNyx43m4bhN%2Fimage.png?alt=media&amp;token=81bb3e16-3e59-49f1-887d-b7aa75c612ee" alt=""><figcaption></figcaption></figure>

4.1) If you deposit assets using one of the native chain tokens, like **ETH** or **Matic**, you need first to wrap it and receive wETH or wMatic respectively to your wallet. Only wrapped tokens can be used in the Quadrat Strategy.

To wrap your tokens, please open [**HyperDEX**](https://apy.plasma.finance/#/hyper-dex/market) and chose assets: From "Matic" To "wMatic", for example. Put the amount of Matic to wrap and sign a transaction.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FG8MLaRPLlkydS5Pz9iJI%2Fimage.png?alt=media&amp;token=d40c53f1-6c4e-43a7-8544-4f773735bfaa" alt=""><figcaption></figcaption></figure>

You can unwrap your wrapped tokens at any time following the reverse process.

5\) After you have both assets in the right proportion in your wallet, you need to Approve both assets to use in the Strategy Smart Contract. Click the "Approve" button and sign a transaction in the wallet.

6\) After both approved transactions will be confirmed by the blockchain, you can click the "Deposit" button, sign a transaction in your wallet and deposit assets.

7\) After you successfully deployed capital to the strategy, you will receive the **LP tokens** of the strategy, which reflect your share in the current strategy and the right to the assets that you placed there.

{% hint style="info" %}
If you **don't see your LP Strategy Tokens** on the wallet after the deposit, please copy the Strategy Contract Address and manually add it as a Token in your Wallet.
{% endhint %}

{% hint style="warning" %}
If you lose your **wallet keys** or lose **LP tokens** then your assets in the Strategy will be compromised and potentially lost. Never share your wallet's private keys with anyone else or type them in any only service. Use only a non-custodial [Plasma Wallet](https://plasma-wallet.com/) to store your funds safely and interact with Plasma dApp.
{% endhint %}

{% hint style="info" %}
**The Quadrat Protocol is a non-custodial protocol.** Your assets in the protocol automatically will be deployed to Uniswap v3 Pool at the Strategy's Price Range, and only your wallet can withdraw assets back from the Strategy.
{% endhint %}

{% hint style="info" %}
To properly **calculate your deposit amount and the final returns**, use the current USD price of each asset when you deposit and withdraw funds in the Strategy. When you withdraw your funds from Strategy you will receive them in a different proportion than you deposited.
{% endhint %}

You can always find your active Strategy Deposits in the Portfolio Tab on the Quadrat Strategy Page.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FNapRttUGZe8mEzz5TXCA%2Fimage.png?alt=media&amp;token=7b194aef-ed27-471a-8515-047b5c42f422" alt=""><figcaption></figcaption></figure>


# How to withdraw assets from the Strategy

Guideline

To withdraw your assets from the strategy you need to burn your LPs on the Strategy Smart Contract. You can do it directly by interacting with the smart contract and writing function "burn" or using our UI and Withdraw Tab on the Strategy Page. Withdrawing your funds from the strategy you will automatically claim all the earned fees.

![](https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FdzFe3skNqhKh1dhOmba1%2Fimage.png?alt=media\&token=0d206d94-4264-4395-9e92-b405e7936d6e)

{% hint style="info" %}
Remember that when you withdraw your funds from the Strategy you will receive the proportion of assets at the current Strategy range position. So it will always be different from the asset proportion that you deposited in the Strategy. For example, you deposited 100 USDT and 1wETH, and withdraw 10 USDT and 1.1 wETH.
{% endhint %}


# Development Infrastructure

Smart Contracts, API Services and Subgraphs for external developers and integrations.


# HyperPool Smart Contracts

HyperPool (Quadrat Protocol) Smart Contracts are audited and deployed to four Mainnets

```
/***
 *      ______             _______   __                                             
 *     /      \           |       \ |  \                                            
 *    |  $$$$$$\ __    __ | $$$$$$$\| $$  ______    _______  ______ ____    ______  
 *    | $$$\| $$|  \  /  \| $$__/ $$| $$ |      \  /       \|      \    \  |      \ 
 *    | $$$$\ $$ \$$\/  $$| $$    $$| $$  \$$$$$$\|  $$$$$$$| $$$$$$\$$$$\  \$$$$$$\
 *    | $$\$$\$$  >$$  $$ | $$$$$$$ | $$ /      $$ \$$    \ | $$ | $$ | $$ /      $$
 *    | $$_\$$$$ /  $$$$\ | $$      | $$|  $$$$$$$ _\$$$$$$\| $$ | $$ | $$|  $$$$$$$
 *     \$$  \$$$|  $$ \$$\| $$      | $$ \$$    $$|       $$| $$ | $$ | $$ \$$    $$
 *      \$$$$$$  \$$   \$$ \$$       \$$  \$$$$$$$ \$$$$$$$  \$$  \$$  \$$  \$$$$$$$
 *                                                                                  
 *                                                                                  
 *                                                                                  
 */
```

### Ethereum

**\[HyperLPool]** 0x6FbC6AF2eF3f3B5CffDAEee0a415bF1552CD5415\
<https://etherscan.io/address/0x6FbC6AF2eF3f3B5CffDAEee0a415bF1552CD5415#writeContract>

**\[HyperLPRouter]** 0xbAE5c63A4f47e1B1821f4AFFF8e8CA9EE5f10dde\
<https://etherscan.io/address/0xbAE5c63A4f47e1B1821f4AFFF8e8CA9EE5f10dde#writeContract>

**\[Proxy HyperLPFactory]** 0x823DB50c56D8A994aF0CeB3f7dC421852cF6fBFF\
<https://etherscan.io/address/0x823DB50c56D8A994aF0CeB3f7dC421852cF6fBFF#writeProxyContract>

### Polygon

**\[HyperLPool]** 0x85537E27Ea585349a3dA48C1C3743f88497563fA

[HyperLPool | Address 0x85537E27Ea585349a3dA48C1C3743f88497563fA | PolygonScan](https://polygonscan.com/address/0x85537E27Ea585349a3dA48C1C3743f88497563fA#code)

**\[HyperLPRouter]** 0xc71f6D7c7d11CF8ABB2c3a8D5A603b5752c59460

[HyperLPRouter | Address 0xc71f6D7c7d11CF8ABB2c3a8D5A603b5752c59460 | PolygonScan](https://polygonscan.com/address/0xc71f6D7c7d11CF8ABB2c3a8D5A603b5752c59460#code)

**\[HyperLPFactory]** 0x1A639E9249d26C70EdF0b7410A8495d9B72140Ff

[EIP173Proxy | Address 0x1A639E9249d26C70EdF0b7410A8495d9B72140Ff | PolygonScan](https://polygonscan.com/address/0x1A639E9249d26C70EdF0b7410A8495d9B72140Ff#writeProxyContract)

### Optimism&#x20;

**\[HyperLPool]** 0x962E44996a3f94A92d5388Ce0d9Cb2b189dc0241\
<https://optimistic.etherscan.io/address/0x962E44996a3f94A92d5388Ce0d9Cb2b189dc0241#writeContract>

**\[HyperLPRouter]** 0x953585eADA251f737171633A186E0e3130B49cEe\
<https://optimistic.etherscan.io/address/0x953585eADA251f737171633A186E0e3130B49cEe#writeContract>

**\[Proxy HyperLPFactory]** 0x3AE3B506a39FFC1aA3964F6DC888891Ea10671ED\
<https://optimistic.etherscan.io/address/0x3AE3B506a39FFC1aA3964F6DC888891Ea10671ED#writeProxyContract>

### Arbitrum&#x20;

[HyperLPool | Address 0xb1bDd421c1baC7B065091a48eAf8f004a7Bf3C6c | Arbiscan](https://arbiscan.io/address/0xb1bDd421c1baC7B065091a48eAf8f004a7Bf3C6c#code)

[HyperLPRouter | Address 0x7E8C335b22a37070a9B70B8AaAe6a57390BCb704 | Arbiscan](https://arbiscan.io/address/0x7E8C335b22a37070a9B70B8AaAe6a57390BCb704#code)

[EIP173Proxy | Address 0xb8D498f025c45A8A7a63277CB1cCa36c2599bBD7 | Arbiscan](https://arbiscan.io/address/0xb8D498f025c45A8A7a63277CB1cCa36c2599bBD7#writeProxyContract)


# API Service

\[coming soon]

0xPlasma Labs is working on the API service for crypto hedge funds, bots and algorithmic strategy managers. Please follow our Discord and Twitter to get the news first when API will be released.


# Quadrat and Uniswap v3 Subgraphs

Infrastructure for on-chain data source

We provide our subgraphs for developers, DeFi analytics, and external integration

**Quadrat Subgraphs:**

* [Ethereum](https://thegraph.com/hosted-service/subgraph/ilyamk/quadrat-v1-ethereum)
* [Polygon](https://thegraph.com/hosted-service/subgraph/ilyamk/quadrat-v1-polygon)
* [Optimism](https://thegraph.com/hosted-service/subgraph/ilyamk/quadrat-v1-optimism)
* [Arbitrum](https://thegraph.com/hosted-service/subgraph/ilyamk/quadrat-v1-arbitrum)
* [BNB Chain](https://thegraph.com/hosted-service/subgraph/ilyamk/quadrat-v1-bnb)

**Uniswap v3 Subgraphs by Messari:**

* [Ethereum](https://thegraph.com/hosted-service/subgraph/messari/uniswap-v3-ethereum)
* [Polygon](https://thegraph.com/hosted-service/subgraph/messari/uniswap-v3-polygon)
* [Optimism](https://thegraph.com/hosted-service/subgraph/messari/uniswap-v3-optimism)
* [Celo](https://thegraph.com/hosted-service/subgraph/messari/uniswap-v3-celo)
* [Arbitrum](https://thegraph.com/hosted-service/subgraph/messari/uniswap-v3-arbitrum)

**Uniswap v3 Original Subgraphs**

* [Ethereum](https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v3)
* [Polygon](https://api.thegraph.com/subgraphs/name/ianlapham/uniswap-v3-polygon)
* [Optimism](https://api.thegraph.com/subgraphs/name/ianlapham/optimism-post-regenesis)
* [Celo](https://api.thegraph.com/subgraphs/name/jesse-sawa/uniswap-celo)
* [Arbitrum](https://thegraph.com/hosted-service/subgraph/ianlapham/uniswap-arbitrum-one)
* [BNB Chain](https://api.thegraph.com/subgraphs/name/ianlapham/uniswap-v3-bsc)

### Resources for Subgraph Developers

#### Introductory

* Learn the basics of GraphQL: <https://graphql.org/learn/>
* Query subgraphs using GraphQL: <https://thegraph.com/docs/en/developer/graphql-api/>
* Get familiar with The Graph: <https://thegraph.academy/developers/>
* Defining a subgraph: <https://thegraph.academy/developers/defining-a-subgraph/>
* Creating a subgraph: <https://thegraph.com/docs/en/developer/create-subgraph-hosted/>
* Deploying a subgraph using The Graph Studio: <https://thegraph.com/docs/en/studio/deploy-subgraph-studio/>

#### Intermediate

* [AssemblyScript API](https://thegraph.com/docs/en/developer/assemblyscript-api/)
* [Unit Test Using Matchstick](https://thegraph.com/docs/en/developer/matchstick/)
* [Building a Subgraph for Sushiswap](https://docs.simplefi.finance/subgraph-development-documentation/sushiswap-subgraph-development)
* [Building a Subgraph for Loopring](https://www.youtube.com/watch?v=SNmzhwlQqgU)
  * Using templates (dynamic data sources)
  * Indexing proxies

#### Advanced

* Building ambitious subgraphs (Part I): <https://www.youtube.com/watch?v=4V2o5YJooOM>
  * Schema design
  * Error handling
  * Interface and union types
* Building ambitious subgraphs (Part II) <https://www.youtube.com/watch?v=1-8AW-lVfrA>
  * Performance tips and tricks (for both mappings and queries)
* [Documentation for the graph-node](https://github.com/graphprotocol/graph-node/tree/master/docs)


# Quadrat Open Uniswap v3 Asset Management Platform


# Overview

**Quadrat Protocol** enables anyone with [NFT Pass](/quadrat-launch-roadmap/quadrat-nft-pass) to create and manage Strategies for any Uniswap v3 Pool on 4 blockchains: Ethereum, Polygon, Optimism, Arbitrum.

You can manage Strategies with your own funds (same as you manage Uniswap v3 positions) or attract external capital and receive a management fee from your Strategy Performance.


# Create Strategy Vault

To create a new Strategy Vault connect your wallet to Plasma.Finance and open the [**Strategy Creation Page.**](https://apy.plasma.finance/#/quadrat/create)

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FoV0hBt6ODgQYP0ESjQt0%2Fimage.png?alt=media&amp;token=dd187758-a0c9-4ba1-a3ef-c0f067af8578" alt=""><figcaption></figcaption></figure>

To create a new Strategy please choose the blockchain, Uniswap v3 pool, and its fee tier.

You need to add your wallet address as an Asset Manager.

You can also set the Management Fee for your Strategy from 0 to 20% of the strategy performance in the future.

Set the initial price range of your Strategy and Sign a create transaction in your wallet.

After the transaction will be confirmed you can open your Strategy Page and share it with your community.

The Rebalancing Tab is available only for the Owner (Asset Manager) of the Strategy.


# Manager ENS Profile

Public on-chain Asset Manager Profile

Quadrat is a permissionless, censorship resistance, security, and self-custody protocol for active liquidity management on Uniswap v3.

Quadrat Community and Governance strictly require any public Strategy Asset Manager to hold **ENS NFT** with filled on-chain data:

* Avatar (optional)
* Social media links
* Twitter account (\*required)
* Website (optional)
* Text or Description (optional)
* Contact Email (\*required)

It will provide additional confidence and trust to the Asset Manager. Contact details will be used by Quadrat Governance to verify the account and contact the Asset Manager if necessary.

Every Asset Manager has its ENS profile page on Quadrat Web3 Interface.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FplupnCjIs89QCBCZVUDm%2Fimage.png?alt=media&amp;token=9f988611-15ae-4e72-bc6e-23a5efafbf99" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You can mint your **ENS NFT** on the official ENS website and customize your ENS data: <https://ens.domains/>
{% endhint %}


# Manager Success Fees

Reward system for Managers of Strategies

The success (Management) Fee is a percentage of Strategy Revenue that managers earn for managing a pool.

The management Fee amount can be set up only once when the manager creates a new strategy.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2Fp9WgSKtBXNgMOKPZq5Kn%2Fimage.png?alt=media&amp;token=57021a63-6132-40fc-b7c9-ed04a0514c21" alt=""><figcaption></figcaption></figure>

Management Fees have to be in the range from 0% to 20% of Strategy Revenue.

Managers can claim earned fees at any time via Strategy WebPage or Contract Call.

{% hint style="info" %}
The manager's rebalancing TX gas fees can be only compensated via Success Fees.
{% endhint %}

{% hint style="info" %}
If you are managing your own funds in Strategy, you can set the management fees to zero.
{% endhint %}


# Rebalancing Calculator

Advanced Uniswap v3 Asset Management Tool

The process of the liquidity rebalancing in Uniswap v3 pool requires very accurate calculations and work with the data of the liquidity pool in ticks, the real-time swap price of individual tokens, and much more, everything within the block. This process was not possible to implement manually until now.

Our engineers have developed a rebalancing calculator that takes into account many parameters in real-time, which gives the manager a huge opportunity and flexibility in working with strategies and liquidity.

<div align="left"><figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2F4QhKeqDX55oYICuEc8ic%2Fimage.png?alt=media&amp;token=60a419ac-98e8-4831-aca3-4cb812b9a05b" alt="Rebalancing Calculator for Uniswap v3 Pools"><figcaption><p>Rebalancing Calculator for Uniswap v3 Pools</p></figcaption></figure></div>

### Calculator Structure

**Compound Fees**: Set the same price range, to claim earned fees from Uniswap Pool and deposit it in the Current Strategy Range. No Swap Transaction.

**100% to Pool**: Deposit 100% of Funds+Fees+Hodl Assets into the New Price Range close to current Range without a Swap Transaction.

**All in "Asset A"**: Price Range from current price tick -1 tik to -20%. Your position will be in only one asset.

**All in "Asset B"**: Price Range from current price tick +1 tik to +20%. Your position will be in only one asset.

**+/- Tik**: New Price Range will be set as a +/- Tick from the Current Price Tick in the Pool.

**+/- %**: New Price Range will be set as a +/- % from the Current Price Tick in the Pool.

**Infinity Range**: New Price Range will be set from 0 to infinity range, price model of Uniswap v2 Pools&#x20;

**Long**: If you are bullish on the underlying asset you can set the price range that captures the value from the growing price of the asset.

**Short**: If you are bearish on the underlying asset you can set the price range that captures the value from the falling price of the asset.

**Hodl**: The price range will be -99.99%<>-99.98% for one asset or +9,999%<>10,000% for another asset. It will allow you to implement the trading strategy in the Pool, buying or selling one or another asset without the risk of having impermanent losses.

**Squeeze**: Squeeze the current range on the % from both sides of the range.

**Spread**: Spread the new price range on the % from both sides of the range.

### Rebalancing Settings

It's **advanced settings** to control the share of assets for swap during rebalancing and price slippage. Rebalancing settings are set to "Auto" by default, providing you with the most optimal inputs.

{% hint style="danger" %}
Use the "manual" mode only if you understand how it works. With incorrect settings, you risk losing some or all of your user funds, becoming a victim of MEV attacks, or receiving the wrong amount of assets after rebalancing. Please do your own deep research on these features and consult with other asset managers in the Discord group.
{% endhint %}

**Price Slippage** is the change in token price caused by the total movement of the market. Price Slippage is reflected as the difference between the price you *expect* to receive after swapping vs what you *actually* receive after the swap is complete.

The minimum amount you receive from a trade is determined by the market price and your slippage limit setting. When you are using the Quadrat web app, you will receive the market price that is offered based on the slippage limits. The Quadrat web app sets a default slippage of 0.50%.

There are two factors that contribute to Price Slippage:

1. Liquidity:

   Some tokens and token pairs are not traded as much (very new, not popular, etc) and have low liquidity. Due to the low demand for these tokens, when a swap is initiated the price may dramatically change because the difference between the lowest asking price and the highest bid is very high.
2. Price Volatility:

   When a token price is volatile, it means that it can change rapidly or unexpectedly. This can cause a dramatic change in price that affects the market for that token price.

Please read more about Price Slippage calculation in our [Article](/quadrat-protocol/quadrat-open-uniswap-v3-asset-management-platform/rebalancing-slippage).

<br>


# Rebalancing Slippage


# Rebalancing Strategy

**Article for Asset Managers:**

{% embed url="<https://medium.com/@DeFiScientist/rebalancing-vs-passive-strategies-for-uniswap-v3-liquidity-pools-754f033bdabc>" %}


# TX Fees Cost for Asset Managers

When Asset Manager rebalances the strategy Asset Manager will pay a gas fee for the rebalancing transaction execution. Rebalance Strategy only if you are sure that you will cover your TX fees from the management fee of the Strategy.

### Costs of rebalancing TX

* **Ethereum** - &#x30;**.**&#x30;06741911070149808 Ether (5-10$)
* **Polygon** - 0.01579614913029807 MATIC (0.014)
* **Optimism** - 0.001$

### Strategy Creation TX

* **Ethereum** - &#x30;**.**&#x30;16518800033993012 Ether (15-20$)
* **Polygon** - &#x30;**.**&#x31;29311436110083155 MATIC (0.1$)
* **Optimism** - &#x30;**.**&#x30;0006336215794 Ether (0.08$)


# Depositors Whitelist


# Block new Deposits

Strategy Manager can block and unblock new deposits in the Strategy Vault at any moment, calling the contract function: "*Write as Proxy*" > call "*toggleRestrictMint*"

![](https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FQfo4JJwnBmGkjtf7vnkf%2Fimage.png?alt=media\&token=0d89d7e4-87ff-4a4a-84ad-7f5877909d3b)

Check the current status of RestrictMint in the contract "*Read as Proxy*" > read "*restrictedMintToggle*"

<img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2F67xDmCPheP7PKrdVr0bo%2Fimage.png?alt=media&amp;token=7d790291-d48c-4df0-ae5b-8e7c0fa33249" alt="" data-size="original">

Status:

* 0 - Contract open for new deposits
* 1 - The contract is blocking all new deposits

{% hint style="info" %}
If you don't see the Proxy Contract for your Strategy in Blockchain Explorer, please use a Proxy Contract Verification Page:

Etherscan: <https://etherscan.io/proxyContractChecker>

Polygon: <https://polygonscan.com/proxyContractChecker>

Arbitrum: <https://arbiscan.io/proxyContractChecker>

Optimism: <https://optimistic.etherscan.io/proxyContractChecker>
{% endhint %}


# Strategy Balance Limit


# Strategy Ownership Transfer

Strategy Manager can transfer ownership of the Strategy to another Manager at any time using the Contract Call in Blockchain Explorer: "Write as a Proxy" > "transferOwnership".

{% hint style="warning" %}
After you transfer the ownership you will lose control of the Strategy Contract and Rebalancing.
{% endhint %}

![](https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FB7EM4VTu1tMLgoUoeWlF%2Fimage.png?alt=media\&token=e7d7b0ee-b3a4-40fb-9407-28e20438ba66)

{% hint style="info" %}
If you don't see the Proxy Contract for your Strategy in Blockchain Explorer, please use a Proxy Contract Verification Page:

Etherscan: <https://etherscan.io/proxyContractChecker>

Polygon: <https://polygonscan.com/proxyContractChecker>

Arbitrum: <https://arbiscan.io/proxyContractChecker>

Optimism: <https://optimistic.etherscan.io/proxyContractChecker>
{% endhint %}


# Risk Warnings for Asset Managers

Important Disclaimer

As a **Public Asset Manager** you must be in complete 24/7 control of the next risks:

1\) **Impermanent Loss** of the Strategy. Try to be always capital-efficient with the price ranges and swap fees for rebalancing.

2\) **Assets Price** you hold on the strategy contract out of the active range.

3\) **Swap Price Slippage**. If your calculation of Swap Slippage for Rebalancing is wrong, you will expose an underlying asset lost risk with an MEV attack. Always use the Slippage Settings less than 1%, with an average of 0.5%.

**If a manager's strategies result in inefficient money management, platform abuse, or even loss of depositors' funds, Quadrat Protocol Governance can block that Asset Manager and take the strategy out of their control.**


# Governance Control

Capital Protection Policy

Quadrat Governance (NFT Pass and $POOL token owners) control and protect the protocol and strategies.

Quadrat Governance is monitoring all the Strategies and Asset Managers.&#x20;

{% hint style="warning" %}
Based on the community and protocol policies, If the Governance notices any unusual, malicious, or dangerous activity of the Asset Manager, Governance can vote on blocking and taking the manager out of the control of the strategy contract, to protect users and capital.

To avoid accidental blocking, each Asset Manager must be a member of a private Discord group of Asset Manager Alliance and be available for prompt communication with the Governance at any time.
{% endhint %}


# Risk Assessment

The Quadrat Protocol has close to zero risk of smart contract hack because it uses the most popular market standard protocol to interact with Uniswap v3 Pool, which has been audited and tested by major Security Audits.

The current Risk Profile that we would like you to take into account when you make deposits in the Strategy is next:

**1) Risk of Impermanent Losses.** There is the same risk when you deposit assets in any pool of Uniswap v2 or v3. The Strategy's auto-rebalancer will optimize the potential IL by trading your assets when it possible, but it can't cover your IL 100%. There are a few strategies for how you can protect yourself and cut 100% of IL using the current DeFi tools or CEXes.

**2) Risk of Private Asset Manager.** When you deployed your assets into OxPlasma strategies you are fully protected from this risk. If you choose any Strategies that are managed by External Private Managers you have a risk of the Asset Manager is *being less capital-efficient* or *does not manage the pool range properly* or *being attacked by MEV bots*. This may entail the risk of partial or complete loss of the funds of the strategy and depositors. Invest your assets only in a Strategy with a reliable Asset Manager.&#x20;

{% hint style="warning" %}
If you see a risky Asset Manager you can contact the protocol governance in Discord chay which will investigate the incident and may block the Asset Manager.
{% endhint %}

### Research on the Risks and Returns from Uniswap v3 Liquidity Provision.

{% embed url="<https://arxiv.org/pdf/2205.08904.pdf>" %}


# Quadrat Brand Asset


# Booster Overview

Booster is a Quadrat Protocol Extension to create and launch staking and farming campaigns on Uniswap v3 and Pancakeswap v3.

**0xPlasma Labs** is excited to announce the launch of **Quadrat Booster Protocol,** which allows you to create customized rewarding programs for your community with our incredibly powerful staking and farming pool creator.

Quadrat Booster is an advanced staking/farming factory where you can create:

* Farming Campaign for any Uniswap v3 pool Quadrat Strategy with rewards in any erc-20 token
* Farming Campaign for any Uniswap v3 pool Quadrat Strategy with rewards in Strategy LP tokens (to boost APY even more)
* Farming Campaign with a Boosting Period and Liquidity Lockup (improving your tokenomics)

Using Quadrat Booster, token projects can attract more liquidity in their v3 pools and distribute it more efficiently, using fewer tokens for rewards.

{% hint style="info" %}
**Quadrat Booster Staking and Farming** is 5-10x more capital efficient than farming on Uniswap v2 or other farmings.
{% endhint %}

Please [read how to use Quadrat Booster for Token Projects](/quadrat-booster/using-quadrat-booster-for-protocol-team-tokenomic-and-liquidity-improvement) to improve tokenomics and liquidity.


# How to create Farming on Uniswap v3 using Quadrat Booster

This whole page is dedicated for projects/teams who wish to create their own stake or farm pool on Uniswap v3/Pancakeswap v3 to allow their community to participate in the ecosystem and earn rewards.

Before creating a Farming Campaign for your token pool, please check that:

* You have created your token pool with a fee tier on Uniswap v3/Pancakeswap v3, set the correct price and added initial liquidity to that pool
* You have created a Quadrat Strategy for your Uniswap v3 pool using our[ Quadrat UI](https://apy.plasma.finance/#/quadrat/create)&#x20;

While you have a Quadrat Strategy and its contract address, you can start creating your Staking/Farming Campaign with Quadrat Booster.

{% hint style="info" %}
You can also reach out to the Quadrat Team to setup your Strategy with an auto-rebalancing strategy, otherwise, you will need to manage it manually with all users' funds.
{% endhint %}

{% hint style="info" %}
You can create multiple Boosters for the same Quadrat Strategy and token v3 pool, using different terms and timelines.
{% endhint %}

### How to create a Farm with Quadrat Booster

First, copy your Quadrat Strategy Contract Address, you can find it on the Strategy Page:

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FLlZYnAhp8lKkqJbhNGOu%2FScreenshot%202023-05-26%20at%2014.51.10.png?alt=media&amp;token=e065a1bf-104c-4490-9393-d17d6e55be73" alt=""><figcaption></figcaption></figure>

Check that your chosen Chain is correct in Metamask or another web3 wallet.

**Open the Booster Creating page** 👉 \[link]

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FoAuR4lf5OsiEOcW1YP5D%2Fimage.png?alt=media&amp;token=f7bff3be-2f54-4f17-a7e6-a64f18c75f11" alt=""><figcaption></figcaption></figure>

#### 1. Choose Quadrat Strategy for Staking/Farming Campaign

Put your Quadrat Strategy Contract Address in this field, and you will see the real-time data of your chosen Token Strategy.

{% hint style="info" %}
Don't use any other contract or token addresses in this field.
{% endhint %}

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2F3SgT0vbpIUgjBGSR1Tdy%2Fimage.png?alt=media&amp;token=0955dfe9-ef80-4a41-86ee-fcaa6a09074c" alt=""><figcaption></figcaption></figure>

#### 2. Choose the ERC-20 Token that you will be using to reward your community

You have two options here:

* **Reward in LP tokens.** Your community will receive rewards in the LP tokens of the same Quadrat Strategy. This **option increases the final APY** of the users, as all LP tokens for rewards will also receive an additional APY from the strategy during the farming campaign. To use this option you will have to provide your token liquidity in the same Quadrat Strategy to receive Strategy's LP tokens.
* **Reward in ERC-20 Token.** Classical format of the Farming/Staking Campaign when the community is receiving the project's token as a reward for liquidity provision. You can use any ERC-20 token for this option (your token, WETH, USDC, etc.).

{% hint style="info" %}
Advanced option: As you can use any erc-20 token for rewards, you can play around with this option with more structured derivatives. For example, you can lock your token in your project staking contract and use this staked token as a reward token.
{% endhint %}

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FO6SHmPnKfwwLi9mLRLuk%2Fimage.png?alt=media&amp;token=2e89595d-f2cc-4bf9-b29e-fba45271670b" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Please consider that you will be able to deposit tokens for rewards only after you create your **Farming Contract**. In this initial step, you only need to choose the token for rewards.
{% endhint %}

#### 3. Choose a timeline for Staking/Farming Campaign

Now you need to set up your start and finish date/time for the future Farming Campaign. All times and dates are in UTC format.

{% hint style="info" %}
Keep in mind that the timing for the Booster Protocol is dictated by the block number on the blockchain (Ethereum, Polygon, etc). If a campaign is created significantly ahead of its commencement date, the estimated start and end times may be subject to minor adjustments. In some cases, you can change again Start and Finish Date right before the campaign begins.
{% endhint %}

You will be able to change this setting after creating a Farming Campaign and before it starts.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FGLIFoasaFI5DuRHGIopX%2Fimage.png?alt=media&amp;token=078638e0-d0f0-4eda-914d-5f49bf4d2995" alt=""><figcaption></figcaption></figure>

#### 4. Set a lockup period for liquidity, LP boosting (optional)

Should you wish to encourage users to maintain their liquidity for extended durations, you have the option to establish varying lockup periods coupled with enhancement bonuses. This is a discretionary feature. Please note, it can only be configured at the point of creation and is not modifiable thereafter.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FVBDSUM92t2Kqwq3dkoVr%2Fimage.png?alt=media&amp;token=829444fa-08e2-4bc9-b664-5627410460ce" alt=""><figcaption></figcaption></figure>

#### 5. Setup a Bonus Period (optional)

To foster early liquidity provision during the inception of the Farming Campaign, an Initial Bonus Period can be configured. Users who stake their Liquidity Pool tokens (LPs) within this timeframe will benefit from a bonus multiplier (e.g., 200%, 2X, 3X), which will enhance their rewards throughout the entire farming period.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FnnMBRL62PfutPfyq3sdh%2Fimage.png?alt=media&amp;token=bb9a70dc-a0fa-4826-afde-776c5d6161cd" alt=""><figcaption></figcaption></figure>

#### 6.  Staking Terms (optional)

In this section, you currently have the capability to establish two supplementary conditions for users:

1. **Minimum staking period** - This is the duration during which liquidity, once provided to the campaign, will be locked for all stakes in the contract. This measure acts as a safeguard against rapid staking and subsequent reward dumping in the market.
2. **Minimum staking amount** - This defines the least quantity of tokens that users are required to stake (stake attempts with a smaller amount will result in transaction reversal). This can be utilized to incentivize larger holders and liquidity providers, as well as motivate the community to supply additional liquidity to the pool. **Be careful calculating the number of LPs for the minimum staking amount.**

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FtWuEE3BVsZr6F4Z5VJPf%2Fimage.png?alt=media&amp;token=b207b72d-7bdf-4177-b631-cacef380eec7" alt=""><figcaption></figcaption></figure>

#### 7. Sign the Transaction to create your Farming Campaign and its Contract.

Once you have completed all configuration steps, select the "Create Campaign" button and sign the transaction via your Web3 Wallet (aka Metamask or [Plasma Wallet](https://plasma-wallet.com/)).

{% hint style="info" %}
Creating a Farming Campaign is a paid feature of Quadrat Protocol. Pay attention to the fees you pay for creating a Booster Campaign.
{% endhint %}

#### 8. Deposit your Reward Tokens to the Quadrat Booster

After the deployment of your Quadrat Booster, you now have the opportunity to deposit Liquidity Pool tokens (LPs) or other Tokens as rewards for your Campaign.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FU1JX2SHnNsEZu2neojEs%2Fimage.png?alt=media&amp;token=f3c54b08-e44c-44aa-9850-5cd887727ba4" alt=""><figcaption></figcaption></figure>

You can add these rewards multiple times throughout the Farming Campaign period.

Please note that after each deposit of rewards, you need to execute a separate transaction to 'Update Booster.' This step recalculates the rewards for all participants.

{% hint style="info" %}
Decentralized Autonomous Organizations (DAOs) also have the capability to contribute rewards to the Farming Campaign by transferring tokens directly to the Booster Campaign Contract. Anyone can update Booster contract after that by calling the Update function in the Contract Read UI (on blockchain explorer).
{% endhint %}

For guidelines on calculating the amount of the optimal reward to enhance Liquidity and Annual Percentage Yield (APY), please refer to the following [link](/quadrat-booster/using-quadrat-booster-for-protocol-team-tokenomic-and-liquidity-improvement).

## Launch Booster Staking/Farming Campaign

Once all configurations are in place, you are now ready to distribute the link to your **Quadrat Strategy** amongst your community. This action initiates the growth of your Total Value Locked (TVL).&#x20;

Best of luck! 🔥


# Managing Quadrat Booster Farming Campaigns

After you created your Quadrat Booster Farming Campaign you can still manage different parameters:

* Deposit Rewards multiple times (if you see that your APY is dropped during the increased staked liquidity, you can add more rewards and update booster to increase Booster APY)
* Manage the Start and Finish date/time of your Campaign (settings can be changed only before the campaign starts)
* Manage Boosting Periods (before the Campaign Start date)
* Manage Lockup Periods (before the Campaign Start date)
* Manage Min deposit and Min Staking Period (before the Campaign Start date)

{% hint style="info" %}
In the event of an urgent issue, or if any problems are detected with your Farming Campaign or Token, administrators can halt the Campaign and extract all remaining rewards. Post cancellation, users maintain the ability to retract their locked funds and any remaining earned rewards.
{% endhint %}


# Deposit LPs into Booster Farming Campaign (for liquidity providers)

Guideline for Liquidity Providers

To participate in Quadrat Booster Staking and Farming Campaign, you need:

* provide your liquidity to the Quadrat Strategy of the chosen pool (after that, you will receive your Quadrat LPs in your web3 wallet)
* stake (or lock) your Quadrat LPs into the Booster Campaign

{% hint style="info" %}
In the event that the Quadrat Booster incorporates Lockup Periods, a single deposit and liquidity lock from one wallet is permissible. In situations lacking such conditions, you have the flexibility to make multiple deposits into the Quadrat Farming Campaign.
{% endhint %}

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2F7nuyra8MZGVHF16q6ApB%2Fimage.png?alt=media&amp;token=c50978b5-80c3-4c2f-816a-ecbc0361e9d5" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Ensure you thoroughly review the terms and conditions about staking and potential liquidity lockups before committing your LP. Note that any token project (even a scam token) can initiate its Farming Campaign on the Quadrat Platform. The Quadrat protocol or the 0xPlasma Labs Team are not responsible for any Campaigns created and launched on their platform.
{% endhint %}

{% hint style="info" %}
If the Quadrat Strategy is administered by the project directly, it's crucial to acknowledge the potential risk of dumping your provided liquidity in the token pool (to buy back tokens) and the possible rug pull scenario associated with the project.
{% endhint %}


# Withdraw Liquidity from Booster Farming and Claiming Rewards (for liquidity providers)

Guideline for Liquidity Providers

In order to retract your liquidity from the Farming Campaign, certain prerequisites need to be satisfied:

* The contract-defined minimum staking duration set by the project must be completed
* The lockup period, which was selected during the provision of liquidity, has concluded
* Partial liquidity withdrawal is permitted at any given time, provided the Campaign does not entail any lockup periods

{% hint style="info" %}
You can claim/withdraw your earned rewards at any moment in time. (regardless of Farming campaign conditions)
{% endhint %}

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FMEnAen1dXTfUvLk2L5dA%2Fimage.png?alt=media&amp;token=813e69f3-dfa2-4082-81eb-f2703c1419c7" alt="" width="375"><figcaption></figcaption></figure>


# Using Quadrat Booster for Protocol/Team Tokenomic and Liquidity Improvement

Tokenomics Booster

Utilizing the Quadrat Booster can significantly enhance your token price discovery, bolster tokenomics, and deepen the liquidity of your pools.

**This is why you should consider using the Quadrat Booster for your project:**

1. **Improved Liquidity**: Tools like the Quadrat Booster can help token projects incentivize liquidity provision on platforms like Uniswap v3, strengthening the stability of their token pools.
2. **Automated Process**: If the Quadrat Booster allows for the automatic generation and management of farming campaigns, this can significantly reduce the manual effort needed to run these campaigns.
3. **Customization**: In case Quadrat Booster offers a high level of customization, this can allow projects to tailor their farming campaigns to their specific needs, such as adjusting reward rates, liquidity lockup and farming periods.
4. **Efficiency**: Tools like Quadrat Booster can enhance efficiency in distributing rewards to liquidity providers, ensuring they receive their due rewards promptly and accurately.
5. **Smart Contract Safety**: If Quadrat Booster has undergone rigorous smart contract audits (by [Pessimistic Security](https://pessimistic.io/)), this can assure token projects that their farming campaigns are secure against exploits.
6. **Community Engagement**: A tool that facilitates token farming can boost community engagement by providing token holders with more ways to interact with the project and benefit from their involvement.
7. **User-Friendly Interface**: If Quadrat Booster offers a user-friendly interface, this can make it easy for both the token project and liquidity providers to interact with the platform, increasing adoption and user satisfaction.
8. **Cost-Effective**: By streamlining the process of creating and managing farming campaigns, Quadrat Booster could potentially save token projects considerable resources in terms of time and financial costs.
9. **Capital Efficient:** By using Quadrat LP tokens for farming rewards, you can double or triple farming rewards without using additional tokens.
10. **Scalability**: If Quadrat Booster is built to handle large volumes of transactions and user interactions, it can ensure smooth operations even as the token project grows and attracts more liquidity providers.
11. **Ecosystem Compatibility**: Uniswap v3 compatibility ensures that projects can leverage the benefits of one of the most popular and trusted DeFi platforms while conducting their farming campaigns, enhancing trust and ease-of-use for token holders.

### How to calculate the amount of rewards to achieve the best APY and liquidity depth in Uniswap or Pancakeswap v3 pools.

The Annual Percentage Yield (APY) of the Quadrat Booster Farming is contingent upon several variables, including Trading Volume, Total Value Locked (TVL) in the Pool, the Price of the Token, and prevailing Market Conditions. It is subject to considerable dynamism.

We have designed a straightforward Google Sheet to assist you in calculating the optimal rewards for your Farming Campaign. [This Google Sheet](https://docs.google.com/spreadsheets/d/1o4y1Q-Pidt79yWgHmjqzf3W6h_HO4vAmCdn_WaEk7rQ/edit?usp=sharing) can be copied and populated with your specific data to model the possible profitability and APY for your upcoming Farming Campaign.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FECZnTy7DfaHuw3QKSVhz%2Fimage.png?alt=media&amp;token=b452e2b5-6bd5-4093-9216-19e3d541d985" alt=""><figcaption></figcaption></figure>


# Lending

DeFi Primitives

Quadrat Protocol represents Uniswap v3 liquidity pools via LP token using standard ERC-20.&#x20;

If you represent a Lending Protocol (like **AAVE** or **Compound**), you can integrate Quadrat LP ERC-20, for example for USDT/USDC v3 pool, as a collateral asset in your protocol to borrow USDT or USDC funds.

As Uniswap v3 Pool LP's position can be fully immutable and have a low-risk profile (volatility and liquidation), LP assets can be very safe DeFi collateral assets. A good example of such a model is G-UNI LPs which are used by MakerDAO as collateral for DAI.

{% embed url="<https://twitter.com/MakerDAO/status/1532079938756567046>" %}

If your protocol wants to increase your Uniswap v3 Token Pool liquidity, you can integrate your Pool Quadrat LP in any permissionless Lending Protocol and allow users to borrow and deposit assets in your pool with massive leverage on-chain.


# DeFi Index

DeFi Primitives

**Quadrat Strategy LPs** (ERC-20) can be used in derivatives and structured products like on-chain Indexes. For example, You can build your Index Smart Contract with a portfolio of  *Quadrat\_Strategy+Comp+Yearn* positions using a simple tool - [TokenSet Protocol](https://www.tokensets.com/)  ([https://twitter.com/SetProtocol)](https://twitter.com/SetProtocol)

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FsiWpzquiaWjz9DxQ5C7v%2Fimage.png?alt=media&amp;token=946636e4-4543-401b-a5fe-4c57655d0305" alt=""><figcaption></figcaption></figure>

### TokenSet Documentation

{% embed url="<https://docs.tokensets.com/managers/set-creation>" %}


# Rebalancing Vaults

DeFi Primitives

Quadrat Strategy LP (ERC-20) can be easily integrated with Rebalancing Vaults such as [Mellow Protocol](https://mellow.finance/) and [GearBox](https://gearbox.fi/). Additional Automation of such protocols can increase x2 the total APY.


# Liquidity Farming and Liquidity Lockup on Uniswap v3

DeFi Primitives

Protocols and Tokens that want to implement **Liquidity Farming for their Uniswap v3 token pools**, can use Quadrat Strategy LP in the lockup contract with additional incentivization in Protocol's Token.&#x20;

Because of the Concentrated Liquidity of Quadrat Strategies, the Liquidity Farming model with Quadrat can increase the APY % of the Token Pool to XXX% and additionally provide Y% APY in tokens.

You can use a no-code liquidity farming dashboard of [**Unicrypt**](https://app.unicrypt.network/) to setup Liquidity Farming for your Strategy and incentives it.&#x20;

### Here is a short guideline for Liquidity Farming with Quadrat and Unicrypt.

1\) Create a strategy with -20%/+150% price range for your token Uniswap v3 pool on Quadrat Protocol

2\) Copy the contract address of the strategy

3\) Go to Unicrypt Token Farming Dashboard - <https://app.unicrypt.network/chain/mainnet/farms/create>

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2Fc5bDIZIgi6POH6sAXsiG%2Fimage.png?alt=media&amp;token=56060c11-ed8f-4445-b2dd-774a785ab44b" alt=""><figcaption></figcaption></figure>

**Use Strategy Contract Address (Quadrat LP) as a Staking Asset Address.**

4\) Set your period of staking and rewards for the users

5\) Sign a transaction to deploy your Token Liquidity Farming on Uniswap v3

6\) Now your community can deposit liquidity into your Quadrat Strategy for Uniswap v3 Pool, Lock LP tokens into Unicrypt Farming Pool, and receive rewards.

7\) During the Liquidity Farming Campaign you can easily rebalance your token v3 pool and Strategies to capture the maximum APY for your users.

**P.s Based on our market backtests, the liquidity farming based on Quadrat Strategies for new tokens can generate up to 2000% APY for the users, and at the same time increase the Uniswap v3 Pool TVL of the Token.**

{% hint style="info" %}
For the **lockup of your Uniswap v3 Liquidity,** you can use [**Unicrypt Token Lockup Dashboard**](https://app.unicrypt.network/services/lock-tokens) and lock your Strategy LP. You still will be able to rebalance your liquidity in the Quadrat Strategy, but won't be able to withdraw it until the lockup period is finished.
{% endhint %}


# HyperDEX + Quadrat

DeFi Infrastructure

[**HyperDEX**](https://apy.plasma.finance/#/hyper-dex/market) **protocol is a professional multi-chain DEX aggregator.** [HyperDEX](https://apy.plasma.finance/#/hyper-dex/market) aggregates 100+ DEXes, 10,000 Assets, $10B of on-chain liquidity, and supports the most popular EVM chains: **Ethereum, Polygon, BNB, Optimism, Arbitrum, Celo, Avalanche, etc.** You can always expect the best swap rates and minimal slippage on the Market, when trading tokens with HyperDEX.

When you deposit assets into the Quadrat Strategy, you can use [HyperDEX](https://apy.plasma.finance/#/hyper-dex/market) to swap your assets in the right proportion for the Strategy or wrap and unwrap native assets, such as **ETH** and **Matic**.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2Fv3ikazJbIWVG4wJawYf4%2Fimage.png?alt=media&amp;token=e411df84-8bbc-447a-8e93-6c4752091df1" alt=""><figcaption><p>HyperDEX Protocol Trading Platform</p></figcaption></figure>

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FWVnaIQuNY2edaplinGd9%2Fimage.png?alt=media&amp;token=e0c202c4-850c-48e1-9786-65604fc7ca7d" alt=""><figcaption><p>Wrap and unwrap native assets with HyperDEX</p></figcaption></figure>


# Gnosis SaFe + Quadrat Strategies

DeFi Security and Asset Management

If you are using the [**Gnosis Safe Multisig**](https://gnosis-safe.io/) Wallet (for your funds or for external fund management) you can easily access **Quadrat Strategy Dashboard,** deposit and withdraw assets from the Strategies on the **Gnosis App Store**.

Just open the Gnosis App Page and add the custom app with a link to the Web3 Plasma Finance website: <https://apy.plasma.finance/>

You also can use **Swap and Bridge** protocols on Plasma Finance with your **Gnosis Safe Wallet**.

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2Ffd78JrQF4ETrKg5uhFl1%2Fimage.png?alt=media&amp;token=5ca73f83-861e-46c1-847e-811b0ece48ea" alt=""><figcaption><p>Gnosis Safe App</p></figcaption></figure>


# Auto Strategy Executor with Gelato

DeFi automatization

**Gelato Protocol** is an on-chain automatization relayer network for Smart Contracts (such as Quadrat Protocol).

You can use Gelato contracts to automate your **Strategy Rewards Claiming** (as a depositor)**, Manage your on-chain money stream, execute the Limit Orders** or execute auto-rebalancing for your Quadrat Strategies (as an Asset Manager).

Please read more about **Gelato Protocol** here:

{% embed url="<https://www.gelato.network/>" %}

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2F5p8KbM2665uRPMi8zkXw%2Fimage.png?alt=media&amp;token=262a39e7-47a5-441a-a725-b7c9ee355d4c" alt=""><figcaption></figcaption></figure>


# External Tokens Governance and Uniswap v3 Pool Management

Any external Token Governance can create Strategies for their token Uniswap v3 Pools and manage the liquidity and pool via multisig wallet of the smart contract.&#x20;

It will give full control of the capital efficiency of the protocol token pools and provide additional incentives for the token holders and governance.


# Investment DAO

DeFi Primitives

**Quadrat Protocol and Strategies are fully compatible with existing DAO protocols.**

Due to very limited access to the protocol (10,000 NFTs), the best and safest way of deploying the capital to the Strategies from the group of wallets is using an Investment DAO mechanism.

You can create **Investment DAO** using any available no-code platform, collect money from your investors, and deposit funds into Quadrat Strategies.

We would recommend you use one of these platforms to create DAO:

{% embed url="<https://aragon.org/>" %}

{% embed url="<https://weezi.io/>" %}

{% embed url="<https://syndicate.io/>" %}

{% embed url="<https://gnosis.github.io/zodiac/>" %}


# \* Quadrat DeFi Lego (for Devs)

If you represent one of the existing **lending, option, margin, or hedging DeFi protocols**, please contact us for integration with Quadrat: <hi@plasma.finance> or join Discord.\
\
Together we can build new DeFi primitives and optimize on-chain liquidity.

Looking forward,

Quadrat Team


# Rebalancing Algorithm

Quadrat Research Team develops its own Highly Performance Quantum Rebalancing Strategies and auto-rebalancing on-chain executors for different Uniswap v3 Pools and Chains that you can find under the "[**0xPlasma**](https://apy.plasma.finance/#/quadrat/plasma)**"** Tab on the Quadrat Strategy page.

Every Quadrat Rebalancing Strategy is automized with python algorithms and backtested on the historical data of the current Uniswap v3 Pool. The team is continuously optimizing these strategies to provide the best possible APY on each Uniswap v3 Pool.

The current Quadrat algorithms are privately held as an IP of the Quadrat Team.

The rebalancing strategy of algorithms and its actions are based on two factors:

**1) Price Range Strategy**. Calculation model and squeezing model of the current active price range for the strategy, based on the multiple factors:

* Each underlying token price volatility
* Pool Implied Volatility
* ARCH/GARCH modeling of the pool
* Monte Carlo Simulations for Asset Prices and Ranges.
* TVL of Strategy compare to the Pool TVL
* Current Virtual Liquidity in the ticks of ranges
* Pool Trading Volume
* Price Channel Trading Indicators
* Historical backtest and modeling of the optimal parameters for a range rebalancing
* Historical data on the price position at the price range
* Swap Fees for rebalancing asset
* Earned fees from the current price range
* Economic Simulation of the strategy in different price ranges
* Optimal and safe price ranges for rebalancing

**2) Trading indicators for HODL positions.** To protect the users' funds from impermanent losses in the volatile market, the rebalancing algorithm can decide which token and what amount to hold out of the Price Range. If the underlying token price goes rapidly down and out of the price range, assets will be rebalanced in the stablecoin, and if the price of a volatile asset rapidly goes up, the strategy can be rebalanced 100% in the growing asset, out of the current price range.

### Strategic Liquidity Provision in Uniswap v3

{% embed url="<https://arxiv.org/pdf/2106.12033.pdf>" %}

### Uniswap V3 LP Strategies <a href="#e4ea" id="e4ea"></a>

{% embed url="<https://medium.com/despread-global/uniswap-v3-lp-strategies-1c9aa1020df1>" %}


# USDT, USDC Strategies

Stablecoin Strategies

Farming Stablecoins on Quadrat Protocol provides you with much more APY than a classical lending protocol such as AAVE and Compound.

Stablecoin Strategies almost do not have exposure to impermanent losses for deployed assets, except for some stablecoin synthetics and algorithmic assets.

Even the biggest **Uniswap v3 Pool of USDT/USDC** could have days with **350% of APY** on Quadrat Protocol.

Open the "**Stable**" Tab to explore the strategies with stablecoins:

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FxOFfZg7eHNLUybXozuVE%2Fimage.png?alt=media&amp;token=43bd9fd3-fd5a-4c19-93f3-da0174c55f03" alt=""><figcaption></figcaption></figure>

## Stablecoin Strategies

{% hint style="info" %}
Make sure your wallet is switched and connected to the target chain before you further click on the strategy links.
{% endhint %}

### Ethereum Chain

Currently Available:

[**USDT/USDC**](https://apy.plasma.finance/#/quadrat/0x981C8319a55BD32974CB7976C540308D604933F7) (0.01% Fee Tier) - backtested APY range: 4-8%

*Future Strategy Vaults that can be opened by the Underlying Tokens Protocol Governance Voting:*

* DAI / USDC (0.05% Fee Tier) - backtested APY range: 10-20%
* DAI / USDC (0.01% Fee Tier) - backtested APY range: 10-20%
* FRAX / USDC (0.05% Fee Tier) - backtested APY range: 10-20%
* BUSD / USDC (0.05% Fee Tier) - backtested APY range: 7-15%
* agEUR / USDC (0.01% Fee Tier) - backtested APY range: 10-20%
* GUSD / USDC (0.05% Fee Tier) - backtested APY range: 30-50%
* LUSD / USDC (0.05% Fee Tier) - backtested APY range: 10-15%
* USDC / BOB (0.01% Fee Tier) - backtested APY range: 5-15%
* DAI / FRAX (0.05% Fee Tier) - backtested APY range: 10-20%
* DAI / FEI (0.05% Fee Tier) - backtested APY range: 15-25%

#### Polygon Chain

Currently Available:

[**USDT/USDC**](https://apy.plasma.finance/#/quadrat/0xb995fB568C22B50Ce1FCD536b5c76672459F1c76) (0.01% Fee Tier) backtested APY range: 5-16%

*Future Strategy Vaults that can be opened by the Underlying Tokens Protocol Governance Voting:*

* USDC / EURS (0.3% Fee Tier) backtested APY range: 20-30%
* USDC / miMATIC (0.01% Fee Tier) backtested APY range: 10-20%
* DAI / miMATIC (0.01% Fee Tier) backtested APY range: 10-20%
* USDC / agEUR (0.01% Fee Tier) backtested APY range: 5-10%
* BUSD / BOB (0.01% Fee Tier) backtested APY range: 15-25%
* USDC / BOB (0.01% Fee Tier) backtested APY range: 50-100%
* USDC / BUSD (0.05% Fee Tier) backtested APY range: 50-100%

#### Optimism Chain

Coming Soon:

* USDC / DAI (0.01% fee tier) backtested APY range: 15-20%
* USDC / USDT (0.05% fee tier) backtested APY range: 5-10%
* USDC / BOB (0.05% fee tier) backtested APY range: 5-10%
* USDC / DAI (0.01% fee tier) backtested APY range: 15-20%
* USDC / DAI (0.01% fee tier) backtested APY range: 15-20%
* USDC / DAI (0.01% fee tier) backtested APY range: 15-20%


# ETH Strategies with the highest APY and lowest IL

Highly Effective Strategies for ETH

ETH/Synthetics Strategy Vaults will be available soon for the Quadrat Community:

* ETH / sETH2 (0.3% Fee Tier) - backtested APY range: 20-50%
* cbETH / ETH (0.05% Fee Tier) - backtested APY range: 50-100%
* rETH / ETH (0.05% Fee Tier) - backtested APY range: 15-30%
* ETH2x-FLI / ETH (0.3% Fee Tier) - backtested APY range: 15-30%
* ETH / oSQTH (0.3% Fee Tier) - backtested APY range: 30-60%


# BTC Strategies with the highest APY and lowest IL

Highly Effective Strategies for BTC

BTC/Synthetics Strategy Vaults will be available soon for the Quadrat Community:

* WBTC / renBTC (0.05% Fee Tier) - backtested APY range: 50-100%
* BTC2x-FLI / WBTC (1% Fee Tier) - backtested APY range: 50-100%


# Low IL and high APY strategies

Strategies with highly correlated underlying assets has high APY and very limited IL.

* WBTC / ETH (0.3% Fee Tier) - backtested APY range: 50-60%
* MATIC / ETH (0.3% Fee Tier) - backtested APY range: 50-100%
* UNI / ETH (0.3% Fee Tier) - backtested APY range: 100-150%
* BIT / ETH (0.3% Fee Tier) - backtested APY range: 50-100%
* LDO / ETH (0.3% Fee Tier) - backtested APY range: 100-150%
* ETH / LOOKS (0.3% Fee Tier) - backtested APY range: 150-200%
* COMP / ETH (0.3% Fee Tier) - backtested APY range: 15-30%
* AAVE / ETH (0.3% Fee Tier) - backtested APY range: 40-60%
* ETH / ENS (0.3% Fee Tier) - backtested APY range: 60-150%
* ETH / CRV (1% Fee Tier) - backtested APY range: 200-600%


# Black Swan Strategies

High-performance strategies

Strategies on stablecoins and volatile assets that generate 100-300% APY for liquidity providers on 30-100M USD capital. These strategies will be available only for the holders of "**Sublime Galaxy"** and **"Midnight Rainbow"** NFT Passes.

Those strategies are working extremely profitable only on the **"Black Swan"** Events in the market, like big liquidation events, extreme volatility and market crash.


# Trading Strategies

Permissionless strategies based on trading bots and indicators. Strategies trade the major assets like ETH, BTC, Matic, 1inch, Comp, Uni, Link, Ape, Shib, AAVE and etc.

These strategies have a zero APY but are highly efficient for buying and selling assets at the price extremes on 1D, 4D and 1D timelines.


# Forex Strategies

Provide Liquidity in the Stable Strategies based on FX pairs:

* USDC/EURS
* USDC/EURT
* USDT/EURT
* USDC/JPYC
* USDC / GYEN

Pairs will be available soon.


# Delta Neutral Strategy and Hedge \*Advanced

Advanced Hedging Strategies

There are a few strategies for how to protect your capital from impermanent losses in the Quadrat Strategy Vaults.

Here are a few useful articles with an explanation of how to build Delta Neutral Strategy in DeFi market:

{% embed url="<https://medium.com/@cetrafinance/delta-neutral-defi-strategies-overview-d0617561a1f4>" %}

{% embed url="<https://lambert-guillaume.medium.com/gamma-transforms-how-to-hedge-squeeth-using-uni-v3-da785cb8b378>" %}

{% embed url="<https://lambert-guillaume.medium.com/how-to-deploy-delta-neutral-liquidity-in-uniswap-or-why-euler-finance-is-a-game-changer-for-lps-1d91efe1e8ac>" %}


# Quadrat NFT Pass

Quadrat Investment Club, Liquidity Alliance & DAO

Quadrat is a premium active liquidity management protocol for Uniswap v3 with the highest APY on the DeFi market.

Access to Quadrat Protocol will be limited to 10,000 seats (LPs and Asset Managers) and provided only for Quadrat NFT Pass owners.

### Quadrat NFT Pass Link

<https://opensea.io/collection/quadrat-nft-pass>

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FIACtOAHhvUgI9JEaFVLJ%2Fimage.png?alt=media&amp;token=47c2cd72-88c1-41bb-aee6-e02f41351a93" alt=""><figcaption><p>Quadrat NFT Pass page on Opensea</p></figcaption></figure>

> Quadrat NFT Pass is the first DeFi NFT that gives premium access to **Quadrat Protocol**, **Quadrat DAO**, **Quadrat Investment Club**, **Quadrat Uniswap Asset Managers Alliance** and **Quadrat Liquidity Alliance**.

**Quadrat NFT Pass Total Emission:** 10,000 NFTs

**Quadrat NFT Pass Smart Contract** (ERC721) - <https://etherscan.io/address/0x48a6189c582deb79a12de99e7db5dfb076484284>

### NFT User Groups

There are 5 types of Quadrat NFT Pass with different rarity and utilities:

**Sublime Galaxy** (100 NFTs) - private club of the largest VCs, DeFi and Hedge Funds. Access to the Private Discord Group and liquidity strategies. *Quadrat Governance L1.*

**Midnight Rainbow** (100 NFTs) - Uniswap Team, DeFi protocols, DeFi Twitter Gods, Investment DAOs, DEX Market Makers. Private Discord Group. *Quadrat Governance L2.*

**Black Forest** (200 NFTs) - 0xPlasma Network, Media, Advisors, Reserves. Private Discord Group. *Quadrat Governance L3.*

**Golden Ray** (500 NFTs) - Top Uniswap v3 LPs and Asset Managers across all chains.

**Bronze State** (9100 NFTs) - Public NFT (mint, pool). Public Group, access to public strategies.

### **NFT Distribution**

**Quadrat NFT Pass Distribution:**

* 100 NFTs → airdrop for 0xPlasma Network and Quadrat Advisors
* 50 NFTs → airdrop to Twitter and Youtube Crypto Influencers
* 50 NFTs → airdrop to Top-50 DeFi Protocol DAOs
* 100 NFTs → distributed to Quadrat Community via minting whitelist with a pre-sale price
* 100 NFTs → airdrop to top-100 VCs, DeFi and Hedge Funds
* 500 NFTs → airdrop to top-500 Uniswap LPs across four chains: Ethereum, Polygon, Optimism, Arbitrum.
* 100 NFTs  → Quadrat Reserves
* 9,000 NFTs → distributed via open pool on [SudoSwap](https://sudoswap.xyz/) (owned by Uniswap) protocol with a bonding curve price mechanism \[[read more](/quadrat-launch-roadmap/nft-pool-for-public-distribution) about pool distribution]

### How to get Quadrat NFT Pass and Access to the Protocol

1\) Follow our [**Discord**](https://discord.gg/zZByEW2k5Y) and [**Twitter**](https://twitter.com/0xquadrat) **Channels** to get all updates and news first

2\) Participate in our [**weekly content for the community**](/quadrat-launch-roadmap/nft-pass-distribution-for-community-and-pre-mint-whitelist-for-ambassador). Every week you can win one spot in the pre-mint whitelist. We open 10 spots every week. Pre-mint NFT price \~500$ (ETH).

3\) If you are managing more than 1.000.000$ of liquidity you can get one free airdrop of **Golden Ray NFT.**

4\) If you hold $PPAY token you can buy an NFT pass from **SudoSwap Pool $PPAY/$Quadrat**. The pool is limited to 50 NFTs only. Check more information in the [**Discord Channel**](https://discord.gg/zZByEW2k5Y).

5\) Buy Quadrat NFT Pass from the public [**SudoSwap Pool ETH/Quadrat**](/quadrat-launch-roadmap/nft-pool-for-public-distribution). The price for NFT Pass in the pool is based on the Exponential Curve and starts from 0.5 ETH.

### The first SudoSwap Pool for $PPAY Community \[PPAY/Quadrat\_NFT] - 50 NFTs were sold out in a second:&#x20;

<https://sudoswap.xyz/#/swap/0x4fe655c42ea733b3dd49e7b8eee5ef9da268cefc>

### The second SudoSwap \[Quadrat\_NFT / ETH] Pool - only 50 NFTs. Price starts from 1 ETH with a 1% step up on each purchase.

<https://sudoswap.xyz/#/swap/0x8538E5fA7248158081ae62fba5E3E6BFAbC41980>


# NFT Pass Distribution for Community and pre-mint whitelist for Ambassador

To distribute Quadrat Pass NFT among early adopters of the protocol and provide early access to Protocol Pools we will implement the pre-mint whitelist.

Every week we will give access to 10 NFT pre-mint to the top 10 active users of the Quadrat Ambassador Program.

To become eligible for the Quadrat NFT Pass Ambassador Program, you need:

* Follow our Twitter Channels: [Quadrat](https://twitter.com/0xquadrat), [0xPlasma](https://twitter.com/0xPlasma), [ILIA.eth](https://twitter.com/ILIA_0x)
* Be a part of [0xPlasma Discord Community](https://discord.gg/zZByEW2k5Y)

To win the NFT pre-mint whitelist spot, community members should show their activity and loyalty to the Quadrat Protocol. Every Activity will earn some points for the member. Every week we will add top-10 members by a summary of the earned points to the pre-mint whitelist.

Here is a list of points you can earn every week for your activity as an Ambassador Member:

* Blog Post - Protocol Review *(proof - active link) \[50 points]*
* Youtube Video - Protocol Review *(proof - active link) \[100 points]*
* Retweet one of the Quadrat Tweets with 3 tags of your friends or DeFi influencers. Max 3 retweets per week. *(proof - active link) \[5 points/tweet]*
* Post a Tweet with a screenshot of the Quadrat Platform with 3 tags of your friends or DeFi influencers. Max 3 tweets per week. *(proof - active link) \[5 points/tweet]*
* Make a Post on Telegram Channel *(proof - active link) \[50 points/post]*
* Message about the Quadrat Protocol in any external DeFi Protocol Telegram Chat *(proof - screenshot) \[1 point/message]*
* Make a Post on Linkedin *(proof - active link) \[5 points]*
* Make a Post on Reddit Channel *(proof - active link or screenshot) \[10 points/post]*
* Make a Post in any external protocol Discord Channel *(proof - active link or screenshot) \[5 points/message]*
* Provide us an excel file with a translation of the [Quadrat landing page](https://plasma.finance/quadrat) including the Meta text and keywords of the webpage. Available languages for translation. Each Language - 60 points.
  * French
  * Spanish
  * Chinese
  * French
  * German
  * Hindi
  * Indonesian
  * Japanese
  * Korean
  * Arabic
  * Turkish
  * Hebrew
* Run a Google Ads Campaign using Quadrat Marketing Assets *(proof - screenshot of campaign analytic dashboard) \[Every 1$ spent on a Google Ads Campain gives you 1 point]*

To prove your activity You need to screenshot all your posts/messages or provide an active link to your activities. Every week you need to fill up the **Ambassador form** by 23:59 UTC Sunday.


# NFT Pool for Public Distribution

SudoSwap Pool and Distribution Model

Quadrat NFT Pass will be publicly distributed via SudoSwap NFT Pool.

**Pool Price Model**: Bonding Curve - Exponential Curve

**Start Price** (NFT #1) = **1 ETH** (start floor price)

**Price Delta** = Each time somebody purchases NFT, the NFT price will adjust up by **0.05%,** every time somebody sells NFT, the NFT price will adjust down by **0.05%**

**Final Price** (NFT #9000) = **53.923 ETH** (final floor price)

**Quadrat NFT Pass Price Chart:**

<figure><img src="https://1091566028-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJtaSwja0kmVj4glhdfe9%2Fuploads%2FnMSBsHKSwOC0iL1sBMyI%2Fimage.png?alt=media&amp;token=1af4c39b-6cff-4278-a4d0-0e50709a91f7" alt=""><figcaption><p>Quadrat NFT Pass Pool Price Model on SudoSwap</p></figcaption></figure>

SudoSwap Pool will be opened for NFT trading until all 9000 NFTs will be purchased from the market.

After the NFT Pool will be sold out, NFT trading will be available only on the secondary market (Gem, Opensea, LooksRare, etc.)

All funds from the Quadrat NFT Pass sale will be distributed to Quadrat Strategies, fees will be distributed to Quadrat Treasure, controlled by Quadrat Governance.

🔗 [Read more about SudoSwap Protocol](https://docs.sudoswap.xyz/)

### The first SudoSwap Pool for $PPAY Community \[PPAY/Quadrat\_NFT] - 50 NFTs were sold out in a second:&#x20;

<https://sudoswap.xyz/#/swap/0x4fe655c42ea733b3dd49e7b8eee5ef9da268cefc>

### The second SudoSwap \[Quadrat\_NFT / ETH] Pool - only 50 NFTs. Price starts from 1 ETH with a 1% step up on each purchase.

<https://sudoswap.xyz/#/swap/0x8538E5fA7248158081ae62fba5E3E6BFAbC41980>


# Fair $POOL Token Launch & Token AirDrop

Token Distribution for Quadrat Community

$POOL Governance token will be fairly launched via airdrop to Quadrat Community.

Here are a few conditions that you must meet in order to receive:

* Follow our Twitter Channels: [Quadrat](https://twitter.com/0xquadrat), [0xPlasma](https://twitter.com/0xPlasma), [ILIA.eth](https://twitter.com/ILIA_0x)
* Be a part of [0xPlasma Discord Community](https://discord.gg/zZByEW2k5Y)
* Be an owner of Quadrat NFT Pass
* Hold any amount of Plasma Finance $PPAY Governance token on any chain (Ethereum, Polygon, BNB Chain]
* Have an active liquidity stake in one or more Quadrat Strategies on one or multiple chains (Ethereum, Polygon, Optimism, Arbitrum)
* Have a retweet of 3 Quadrat Tweets: \[links will be added soon]


# Quadrat Strategy Incentivization

Boost mechanism for Strategy APY and Protocol TVL

$POOL Governance can vote on the boosting APY for chosen strategies (same as [Convex](https://www.convexfinance.com/) boost APY on [Curve](https://curve.fi/), read more about [Great Curve Wars](https://medium.com/despread-global/the-great-curve-war-aka-convex-war-bf702d159fb3)).

1\) Boosting APY from 300% to 1000% brings more depositors to the Strategy

2\) Growing TVL earners more fees and boosting the total APY of the Strategy

3\) Growing APY generates more fees from the protocol for $Pool Treasury

4\) $POOL Governance redeploys earned fees from $POOL Treasury to boost strategy APY.

5\) The circle repeats boosting protocol TVL, strategies APY and $POOL Treasury


# Staking Program for $POOL Governance

For $POOL holders

For $POOL holders will be available staking program for 6-12-24-36 months. The staking Program will provide economically viable rewards depending on the growth of capitalization and protocol TVL.

Staked $POOL will be converted into $gPOOL voting power that provides access to the Protocol Governance Mechanism.

The Staking Program will be incentivized by the Governance Treasury.

More info is coming soon...


# Quadrat Liquidity Alliance

Quadrat Community of LP Whales, Market Makers, Investment DAOs, and DeFi funds.

To get access to the community and private Discord Chat you need to buy and hold Quadrat NFT "**Midnight Rainbow"** or **"Golden State".**

**Liquidity Alliance Benefits:**

* get access to the Private Strategies&#x20;
* get access to a new Token Pool with the highest rewards&#x20;
* participate in discussions and develop new rebalancing and hedging strategies
* participate in Quadrat DAO investment strategy
* private Discord Group


# Asset Managers Alliance

Community of Professional DeFi Asset Managers, Web3 Researchers and Developers.&#x20;

Private Discord Group to share the most profitable strategies, new Uniswap pools, analytics and research papers.

If you are managing Strategies on Quadrat Protocol you can request access to the group from Discord Admins.


# 0xPlasma OG

Quadrat Team is a part of the R\&D 0xPlasma. The team is also working closely with external advisors and analytics, who are also researching the problem of concentrated liquidity and strategies for Uniswap v3.


# Quadrat dApp and Socials

Please follow our social media to stay updated

Website: <https://plasma.finance/quadrat>

Quadrat Dashboard: <https://apy.plasma.finance/#/quadrat/plasma>

Quadrat Twitter: <https://twitter.com/0xquadrat>

0xPlasma Twitter: <https://twitter.com/0xPlasma>

Discord Group: <https://discord.gg/zZByEW2k5Y>

Telegram: [@OxPlasma](https://t.me/OxPlasma)

### Quadrat NFT Pass

Smart Contract: <https://etherscan.io/address/0x48a6189c582deb79a12de99e7db5dfb076484284>

Opensea: <https://opensea.io/collection/quadrat-nft-pass>

Gem.xyz: <https://www.gem.xyz/collection/quadrat-nft-pass/>

### SudoSwap Pool for $PPAY Community \[PPAY/Quadrat\_NFT] - sold out:

<https://sudoswap.xyz/#/swap/0x4fe655c42ea733b3dd49e7b8eee5ef9da268cefc>

### The Second SudoSwap \[Quadrat\_NFT / ETH] Pool - only 50 NFTs. Price starts from 1 ETH with a 1% step up on each purchase.

<https://sudoswap.xyz/#/swap/0x8538E5fA7248158081ae62fba5E3E6BFAbC41980>


