# Introduction to Toupée Tech

A coordination system for ecosystem incentives.

Welcome to the Toupée Tech User Guide. In this manual, we will delve into the Toupée Tech platform, a coordinator of incentives within ecosystems. This introduction will give you an overview of Toupée Tech and also draw a brief comparison with its source of inspiration, Solidly. The landscape of decentralized finance (DeFi) has experienced rapid expansion and ingenuity, as various projects have been crafting new solutions to tackle issues related to incentivizing liquidity and coordinating actions on the blockchain. The Solidly framework presents one such solution, offering a space where users can collaboratively manage liquidity incentives on its automated market maker (AMM) system. Toupée Tech aims to build upon the innovative aspects of Solidly while addressing its limitations. As you navigate through this User Guide, we will explore the different elements and functionalities of Toupée Tech, granting you a thorough grasp of its operational mechanics and potential influence on DeFi ecosystems.


# What is Solidly

Solidly introduced a brilliant concept focused on optimizing protocol revenue and rewarding those who displayed trust in the protocol while actively contributing to its advancement. From the moment of its launch, Solidly stood out as a groundbreaking DeFi application, achieving an impressive Total Value Locked (TVL) of up to $2.3 billion in its inaugural week.

The core principles underpinning Solidly's approach were as follows:

* Liquidity Providers (LPs) willingly forwent their entitlement to swap fees, instead earning emission tokens ($SOLID) by providing liquidity.
* The emission of $SOLID tokens to LPs was overseen by gauges, with emission rates being determined through the input of veSOLID voters.
* These veSOLID voters not only received accumulating swap fees from LPs but also held a strong incentive to foster the growth of viable pairs within the ecosystem.

While the execution of the idea may have had its imperfections, the concept itself was undeniably ingenious. Numerous projects attempted to replicate this concept, leading to noteworthy successes such as Velodrome and Thena.

We are pursuing a similar objective, taking this concept a step further. However, our model will incorporate distinct differences when compared to Solidly's framework.


# What is Toupée Tech?

Toupée Tech functions as an ecosystem incentive coordinator, offering a distinct strategy for yield farming, token administration, and on-chain governance. The platform introduces an innovative token structure, encompassing WIG, vWIG, and oWIG tokens, each presenting users with diverse advantages and motivations. The supply of WIG tokens is algorithmically controlled via a bonding curve mechanism, ensuring a stable foundation for WIG tokens while providing liquidity at market-driven rates.

Key Features: \
\
An all-encompassing Solidly System with a fresh token configuration. Extension points to seamlessly incorporate any yield-generating asset into the ecosystem. WIG, equivalent to SOLID, is disbursed through the Toupée Tech Bonding Curve, consistently backed by ETH, and its price maintains a level of ≥ 1 ETH/WIG. vWIG, analogous to veSOLID, involves staking WIG to acquire vWIG. **The previous 4-year locking mechanism is removed**. \
\
\- Staking is only in effect during active voting periods, and resetting votes to 0 enables withdrawal back to WIG\
\- vWIG serves as the governing power token\
\- oWIG: Functions as a call option for WIG at the designated base price (1 ETH/WIG). \
\
These are issued to gauges as incentives for liquidity, dependent on vWIG votes. vWIG garners swap fees from the Toupée Tech Bonding Curve, accrues oWIG through rebases, and collects voting fees from endorsed gauges.<br>

\- Leverage borrowing against vWIG without concerns of interest or liquidation risks. \
\- 1 WIG consistently allows borrowing up to the value of 1 ETH.


# What Toupée Tech Aims to Solve

Toupée Tech endeavors to enhance the Solidly model by introducing pivotal innovations that offer: \
\
Adaptability: Through the integration of plugins, support for gauges involving any yield-generating asset becomes possible. This liberates Toupée Tech from dependency on any singular AMM technology, safeguarding against potential obsolescence. Furthermore, this expansion opens avenues for ecosystem incentives beyond the realm of DeFi, encompassing domains like web3 gaming and public goods. \
\
Stability: The establishment of an unalterable price floor for the primary token (WIG), grants DAOs that accumulate voting power the ability to assess their risk with a firm confidence in the token's minimum value. \
\
Flexibility: The era of protracted lockups for tokens secured in voting is concluded. Participants with voting power experience locked positions solely during active use, with the option to initiate a one-week unlocking phase. This empowers them to free their vote-escrowed tokens and depart the system. \
\
Sustainability: The issuance of call options to gauges introduces a balanced incentive system. Those engaging must also contribute. \
\
Liquidity: The bonding curve introduces a novel concept of Token-owned Liquidity (ToL), ushering in substantial liquidity and minimal slippage across the full spectrum of possible price points. This encompasses borrowing against tokens in vote escrow without liquidation risk, providing liquidity from a single side (eliminating impermanent loss), and establishing an immutable price floor for the primary token.


# Tokenomics

subject to minor changes

### Initial Supply (10k)

* 5% (500) to Community as permanently locked voting power
* 10% (1k) to Community as liquid oWIG
* 45% (4.5k) to Protocols/DAOs as permanently locked voting power
* 20% (2k) to Toupee Tech Team: 50/50 oWIG, permanently locked voting power
* 20% (2k) to Ecosystem Votes as oWIG supporting liquidity for key ecosystem tokens \ <br>

  <figure><img src="/files/gv2yNy7qv0FIHFPUDkBu" alt=""><figcaption><p>Initial token supply to be distributed to participants most likely to contribute to Toupee Tech's growth</p></figcaption></figure>

## Emissions

Weekly oWIG emissions will start at 400 oWIG - 4% of the initial supply - and decay at 1% per week.

vWIG holders receive 20% of emissions&#x20;

Emissions of oWIG continue forever with no fixed supply.

5% of emissions will go to a team controlled multisig every week.

### Airdrop

The following protocol communities will receive the oWIG airdrop:

* Tour de Berance NFT holders (oWIG + voting power)
* The Honey Jar - THC NFT holders (oWIG)
* Base users rugged on $BALD (oWIG, top 100 wallets holding $BALD on block during liquidity rug)\
  <https://basescan.org/tx/0xd4fce790ac42a5a801bebb220adc2a6f9d9bf99985de6a824638a269c3e52ade>
* veAERO holders, balance locked >100k veAERO (oWIG, excluding DAOs)
* BVM/WETH gauge reward on Velocimeter (oWIG)
* Redacted Cartel's Hidden Hand individual delegates > $1k (voting power)\
  <https://snapshot.org/#/gauges.aurafinance.eth/proposal/0xce7da7e157a88cacf8d044089ec0b0fa08f1c7cca03914e702493b4de9557ae4><br>


# Depositing Plug-ins

The heart and essence of the Toupée Tech ecosystem resides within its unique model of extensions! Through "extensions," any yield-generating asset established within any protocol on the Base chain can seamlessly integrate into Toupée Tech, each with its dedicated gauges! Users gain the ability to deposit their LP tokens produced on decentralized exchanges (DEXs), tokens acquired from lending/borrowing platforms, and essentially any tokens generating yield independently. These gauges would generate $oWIG as incentives, mirroring the mechanism of $SOLID on Solidly. The distinction emerges in that these $oWIG tokens would represent a call option for $WIG. By holding oWIG, users gain the capacity to purchase $WIG at the predefined floor price of 1 ETH.<br>

### Example


# Being an oWIG Holder

The oWIG token stands as one of the most prominent distinctions of Toupée Tech when juxtaposed with Solidly/Velodrome. oWIG serves as the token allocated to Liquidity Providers (LPs) for contributing liquidity, and concurrently functions as the call option for $WIG. Those users embodying the role of LPs, and in turn receiving oWIG, are presented with the following opportunities: a) They can exercise their call option tied to $WIG, thereby acquiring it at the established floor price. b) Alternatively, they can choose to forgo their privilege of purchasing $WIG at the floor price. In doing so, they can opt to burn their oWIG tokens and, in exchange, receive 'Voting Power' that is locked indefinitely. Voting Power cannot be borrowed against.

For an in-depth understanding of the oWIG token and the mechanics of redeeming $WIG at the floor price through the bonding curve, please refer to the "Toupée Tech Bonding Curve" section for comprehensive information.


# Being a vWIG Holder

The vWIG token serves as the governing and voting asset within the ecosystem, endowing vWIG holders with the authority to shape the allocation of oWIG emissions. Through this prerogative, they gain the ability to: a) Acquire the swap fees corresponding to the gauge for which they are casting their vote. b) Obtain bribes that might be offered. c) Participate in crucial deliberations and decisions regarding the protocol. d) Anticipate forthcoming surprise $oWIG airdrops, including an exclusive airdrop for initial week vWIG holders.

A notable advantage of vWIG is its unlockable nature within just one week. In contrast to other Solidly/Velodrome models, this characteristic introduces essential liquidity to the vWIG token.

Furthermore, a distinct and remarkable benefit of vWIG is its capacity to enable borrowing with no liquidation risk. Given the bonding curve's assurance that each circulating WIG is always backed by at least 1 ETH, holders of vWIG can securely borrow up to 1 ETH against each vWIG staked. This borrowing mechanism eliminates the risk of liquidation since the borrowed ETH's value is consistently supported by WIG tokens.

To obtain vWIG, users can engage in the process of locking their WIG tokens into vWIG. This locking process, as previously noted, involves a one-week waiting period for unlocking.


# Overview

## Overview

Toupée Tech is inspired by the Solidly system, sharing some similarities and differences in how they handle liquidity provision, rewards, and token emissions.

| Feature                     | Solidly                                              | Toupee Tech                                                                                                                         |
| --------------------------- | ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| Primary Token               | SOLID                                                | WIG                                                                                                                                 |
| Voting Token                | veSOLID                                              | vWIG                                                                                                                                |
| Incentive Token             | SOLID                                                | oWIG (Call option on WIG, strike price = floor price, no expiration)                                                                |
| Vote Escrow Lock            | Fixed lock (4 years)                                 | 1 week unlock period                                                                                                                |
| Assets Belong To            | Solidly AMM                                          | Any yield bearing asset can be integrated                                                                                           |
| Primary Token Liquidity     | Incentivized                                         | Token-owned Liquidity: Bonding Curve                                                                                                |
| Voting Token Revenue        | SOLID: locked (ve33 rebase) Voter Rewards: swap fees | oWIG: unlocked (10% of emissions) Voter Rewards: swap fees, yield, interest, etc. Swap Fees: WIG + ETH from bonding curve swap fees |
| Floor Price                 | NA                                                   | 1 ETH/WIG                                                                                                                           |
| Borrow against Voting Token | NA                                                   | Borrow at floor price, no liquidation                                                                                               |

Solidly is designed to support its own AMM LP tokens, with revenue primarily derived from swap fees. The system concentrates on incentivizing swap fee generation, and veSOLID holders who vote for specific gauges earn those swap fees.\
\
On the other hand, Toupée Tech is an inclusive version of the Solidly system, capable of supporting any yield-bearing asset. This allows for various revenue streams, such as token emissions, swap fees, interest, or even game revenue. Toupée Tech's flexibility and adaptability to different AMM LP tokens and yield types make it a versatile system catering to a wider range of DeFi use cases and strategies. Additionally, it can remain competitive as new technology emerges.

Toupée Tech also introduces a unique bonding curve mechanism that enables call option emissions and offers several innovative features. These include Token-owned Liquidity (ToL), single-sided liquidity provisions (eliminating impermanent loss), deep liquidity and low slippage at inception, an immutable floor price at 1 ETH/WIG, and borrowing against vWIG without the risk of liquidation.


# Gauge Plugins & How They Are Useful

Toupee Tech uses plugins to extend gauge support to any yield-bearing asset.

### Solidly <a href="#solidly" id="solidly"></a>

The Solidly platform is a DeFi ecosystem that facilitates interactions between three main asset types: LP tokens, SOLID tokens, and veSOLID tokens. Its unique tokenomics model is designed to distribute rewards effectively while governing the protocol.LP tokens represent shares in liquidity pools within the Solidly AMM and earn swap fees from users trading between asset pairs on the platform. Each LP token corresponds to a specific asset pair and accumulates value based on the trading volume and liquidity provision of the respective pool.SOLID tokens are distributed as incentives to liquidity providers (farmers) who deposit LP tokens in the Solidly system. The emission rate and distribution of SOLID tokens are governed by the voting power of veSOLID token holders, directing SOLID emissions towards their preferred gauges.veSOLID tokens are acquired by users who lock their SOLID tokens for a predetermined period, converting them into vote-escrowed SOLID (veSOLID) tokens. These tokens grant holders voting rights, allowing them to participate in the governance of the Solidly ecosystem by voting on various gauges containing different LP tokens.At the core of the Solidly model are gauges—smart contracts that control the distribution of SOLID token rewards to farmers based on the voting power of veSOLID token holders. This mechanism ensures that swap fees generated within the Solidly AMM system are redirected towards veSOLID holders who actively participate in governance rather than being distributed directly to liquidity providers.By depositing LP tokens in the Solidly system, farmers effectively exchange the yield generated from swap fees for SOLID token emissions. This exchange of yield sources incentivizes user participation and ensures a fair distribution of rewards across the ecosystem.\
\
Toupée Tech

However, the original Solidly model is limited to specific assets and liquidity pairs. To accommodate a wider range of assets and enhance the platform's utility and flexibility, the generalized Toupee Tech model has been developed.

Toupee Tech expands its potential applications and attracts a diverse range of users, projects, and assets, resulting in a more inclusive and versatile DeFi ecosystem. In Toupee Tech, gauges are not limited to a single AMM's liquidity pairs. The system enables the creation of plugins for any yield-bearing asset, significantly broadening its potential applications and attracting a diverse range of users, projects, and assets. Farmers deposit plugins in gauges, and the yield from plugins goes to vWIG voters who voted for that gauge, while plugin farmers earn oWIG.


# Bonding Curve Explained

Bonding curve is the contract that governs the price dynamics of an ERC20 TOKEN via a dual bonding curve mechanism. There are two bonding curves that make up the tokenomics of $WIG. At this explanation, you can think of TOKEN as WIG, and BASE as ETH:\
\
1\) A fixed-price curve that y = c, where the TOKEN price is invariant at 1 BASE/TOKEN (the floor price).- TOKENs are minted from floor reserves by exercising OTOKEN call options equivalent to the BASE amount.- TOKENs can be consistently redeemed from floor reserves at the floor price.​\
\
2\) A variable-price curve that employs the xy=k formula for TOKEN price discovery. An initial TOKEN supply is created by using virtual assets.\
\
\- Virtual tokens are minted into market reserves, balanced by a corresponding quantity of virtual BASE. TOKEN pricing on the market reserves spans a range of 1 BASE/TOKEN (lower bound) to infinity BASE/TOKEN (upper bound). The market reserve facilitates the buying and selling of TOKENs.\
\
\- The integration of these reserves forms the comprehensive bonding curve for the TOKEN.\
\
\- The constructs of floor reserves and market reserves underpin this contract.\
\
\- Floor reserves are BASE pools allowing TOKEN redemption at a static floor price.\
\
\- TOKENs are exclusively minted from floor reserves via exercising OTOKEN call options using BASE.\
\
\- Market reserves incorporate variable amounts of BASE and TOKEN subjected to market-driven pricing derived from a virtual xy=k invariant. An initial TOKEN supply is minted into the market reserves wiith an equal virtual BASE reserve amount. TOKEN pricing in the market reserves varies from a minimum of 1 BASE/TOKEN (floor price) to an upper limit of infinity BASE/TOKEN.\
\
\- The contract is designed to interact with external contracts including: OTOKEN, VTOKEN, and a FEES contract.\
\
\- It is also equipped to levy protocol and UI hosting provider fees. The TOKEN's initial supply is minted to the bonding curve balanced by an equal amount of virtual BASE.<br>


# Toupee Tech Bonding Curve

Toupee Tech's new token model is built on a novel bonding curve.The Toupee Tech Bonding Curve is a crucial component of the Toupee Tech ecosystem, responsible for maintaining the value of the WIG token and determining its market price through the Floor Reserves and the Market Reserves.The Toupee Tech Bonding Curve offers three significant features:

* Single-sided liquidity provision: Allows liquidity provision for WIG without the risk of impermanent loss, leading to deeper liquidity pools and better price stability.
* Emission of call options: Provides a sustainable emissions mechanism through oWIG call options.
* Borrowing against vWIG: Enables borrowing against vWIG without risk of liquidation and no interest, creating a risk-free borrowing mechanism.\ <br>

  <figure><img src="/files/iH0J1jTYzeTI0b7TSgj7" alt=""><figcaption></figcaption></figure>

\
**Floor Reserves** \
\
The Floor Reserves secures an unchanging price floor for the WIG token, certifying that its valuation never descends beneath a predefined benchmark. This mechanism fosters stability and instills trust among participants in the system. The Floor Reserves permit the issuance of oWIG call options to gauges, which can be exercised by users to procure WIG tokens at the floor price.

oWIG (the token generated through farming) stands as a call option for WIG, featuring a strike price that equals the floor price (1 ETH/WIG) and displaying no expiration. Holders can activate oWIG by utilizing ETH to acquire WIG tokens from the floor reserves, potentially securing WIG at a price lower than the prevailing market rate. Moreover, users possess the ability to exchange WIG for the floor price (1 ETH/WIG), thereby establishing a guaranteed minimum valuation for all circulating WIG tokens.

Toupée Tech employs a constant-option bonding curve for the Floor Reserves. This bonding curve operates continuously, devoid of restrictions on the volume of reserves it can accommodate, thus facilitating an unlimited token supply.\
\
**Market Reserves** \
\
The Market Reserves dynamically adjust in response to market demand, effectively determining the market price of WIG without necessitating upfront capital. This curve operates to sustain the market price of WIG above or at par with the floor price, facilitating substantial liquidity and encouraging the process of price discovery.

Toupée Tech employs a virtual bonding curve to manage the Market Reserves, thus eliminating the requirement for upfront capital when configuring the floor price. This methodology not only engenders profound liquidity and minimal slippage for WIG from the outset but also eradicates the necessity for external liquidity incentives. Participants can conveniently purchase and sell WIG at the prevailing market price directly from the market reserves, unrestricted by time constraints. The virtual bonding curve establishes a price range spanning from the Floor Price to infinity (∞), anchoring to a finite supply of WIG tokens. The bonding curve originates with the complete WIG token supply and a designated amount of virtual ETH. The virtual ETH, essentially synthetic ETH, is utilized for accounting within the KY=K equation and is not obligated to back the WIG token. (Further details can be found in the "The Mathematics Behind The Virtual Assets" section.)

<br>


# Toupée Tech Bonding Curve Illustrated with Examples

For a more comprehensive grasp of the bonding curve's mechanics, let's delve into a scenario that commences with an empty bonding curve, undergoes a series of actions, and eventually returns to an empty state. This illustrative case will elucidate the functioning of the bonding curve, highlighting the assurance that 1 WIG is perpetually supported by a minimum of ≥ 1 ETH.

Initial State: The bonding curve commences with 0 circulating WIG and no ETH to back it. The Floor Reserve price is predetermined at 1 ETH/WIG, and the Market Reserve formula is defined as (100 virtual ETH) \* (100 WIG) = 10,000.

Purchase WIG: A user dedicates 33.33 ETH to procure WIG from the Market Reserves. The computation proceeds as follows: (100 virtETH + 33.33 ETH)(100 WIG - y WIG) = 10,000, leading to y = 25 WIG.

**What does slippage look like if we set X and Y higher?**\
X, Y = 100 -> 25 ETH => 20 WIG -> Slippage = 20%\
X, Y = 1000 -> 25 ETH => 24.4 WIG -> Slippage = 2.4%\
X,Y = 10000 -> 25 ETH => 24.94 WIG-> Slippage = 0.24%\
\
This example illustrates how the bonding curve achieves single-sided liquidity without any upfront liquidity provision. The WIG token itself serves as the "LP" (although users won't earn swap fees unless they stake it for vWIG). Note that there are now 25 WIG in circulation, backed by 33.33 ETH, maintaining the 1 WIG ≥ 1 ETH relationship.

* **Exercise oWIG:** A user converts 25 oWIG + 25 ETH to receive 25 WIG, exercising their oWIG to purchase WIG at the floor price. This adds another 25WIG to circulation, and since ETH was deposited into the bonding curve, the circulating WIG remains backed by at least 1 ETH/WIG.
* **Sell WIG:** The user who exercised 25 oWIG for 25 WIG now wants to take their profit. They can do this by selling WIG at the market price to the bonding curve. The calculation is as follows: (100 virtETH + 33.33 ETH - x ETH)(75 WIG + 25 WIG) = 10,000 x = 33.33 ETH.

The total profit is 33.33 ETH - 25 ETH = 8.33 ETH (25 ETH used to exercise oWIG to WIG, and 33.33 ETH from selling WIG to ETH.)


# Borrow with No Interest/No Liquidation Risk

Using vWIG as Collateral as delineated in the preceding section, the bonding curve's mechanism ensures the perpetual backing of 1 WIG by a minimum of 1 ETH. This innovative setup underpins a borrowing mechanism, particularly relevant when utilizing vWIG as collateral. Given that the value of 1 WIG consistently equals or exceeds 1 ETH, holders of vWIG can effectively borrow up to 1 ETH for each vWIG they have staked. This borrowing process unfolds without any exposure to liquidation risk, as the borrowed ETH's valuation is perpetually safeguarded by WIG tokens.

<figure><img src="/files/yIxDSiciKa6yUbZaO8qY" alt=""><figcaption><p>liquidation free toupee clients</p></figcaption></figure>

The absence of liquidation risk and the omission of interest engender a borrowing experience that's both appealing and devoid of undue stress for users, setting it apart from traditional DeFi lending platforms. Furthermore, the design of the system obliterates the potential for non-performing debt, as the value of WIG tokens constantly remains equivalent to or surpasses the borrowed ETH, thereby ensuring the stability of the protocol.


# The Mathematics Behind the Virtual Assets

Understanding the Mechanism of Holding Virtual Assets in the Treasury

The Market Reserves operate dynamically in response to market demand, autonomously determining the market price of WIG without necessitating any upfront capital. This approach ensures that the market price of WIG consistently remains equivalent to or exceeds the floor price, fostering abundant liquidity and encouraging the process of price discovery.

Toupée Tech employs a virtual bonding curve to manage the Market Reserves, thereby removing the necessity for upfront capital during the establishment of the floor price. This methodology engenders profound liquidity and minimal slippage for WIG from the outset, circumventing the need for external liquidity incentives. Participants can conveniently acquire and sell WIG at the prevailing market price from the market reserves at any given time. The virtual bonding curve defines a price range spanning from the Floor Price to infinity (∞), while remaining anchored to a finite supply of WIG tokens. The bonding curve initiates with the complete WIG token supply and a predetermined quantity of virtual ETH. This virtual ETH, akin to synthetic ETH, functions for accounting within the KY=K equation.

For instance, if both virtual ETH and WIG total supplies are set at 100 each, the equation would be (100 ETH) \* (100 WIG) = K. Initially, all WIG resides within the bonding curve and none is in circulation. As a result, the virtual ETH remains untapped since there is no WIG available for sale into the pool.

For WIG to enter circulation, a user must initially purchase it from the bonding curve. However, at this point, there is real ETH available to be exchanged for the circulating WIG. For instance, (100 + 25 ETH) \* (100 - 20 WIG) = 10,000. Now, there exists 25 actual ETH in the bonding curve and 20 WIG in circulation. If all circulating WIG were subsequently sold back to the bonding curve, the reserves would revert to the state of (100 ETH) \* (100 WIG). This cycle reinstates the scenario where no WIG is in circulation and, consequently, no virtual ETH is required as liquidity.

This mechanism also serves as an introduction to elucidate how oWIG consistently remains in a favorable financial state. (Further details can be found on the following page.)


# oWIG is In the Money

Ensuring the Consistency of oWIG Conversion to WIG at the Floor Price The structural design of the bonding curve system, guaranteeing the perpetually elevated market price of WIG over the floor price, holds significant implications for the status of oWIG call options. As these options possess a strike price equivalent to the floor price and the WIG asset invariably maintains backing equivalent to its floor price in ETH, the oWIG call options are logically poised to perpetually remain "in the money."

This characteristic is further fortified by the diminished risk for purchasers when the market price closely approximates the floor price. This convergence towards the floor price serves to bolster the oWIG options' advantageous financial position. Buyers find it increasingly attractive to secure WIG near the floor price, capitalizing on the ability to employ it as collateral for borrowing ETH with minimal risk. This escalated demand for WIG consequently propels its market price upward, thereby preserving the "in the money" status of the oWIG call options.

The existence of oWIG call options introduces a more sustainable model for token emission when juxtaposed with conventional yield farming incentives. The call options are intrinsically predisposed to consistently remain "in the money" because 1 WIG is perpetually ≥ 1 ETH, maintaining a state of equilibrium. Furthermore, when the cost of acquiring WIG approaches 1 ETH, the acquisition assumes a near-risk-free aspect due to the borrowing mechanism. This facilitates accessible voting power for opportunistic participants, engendering an increase in the WIG price and consequently reinstating the "in the money" status of oWIG.


# Token-Owned Liquidity ToL

(Token-Owned Liquidity) refers to a scenario where the Automated Market Maker (AMM) resides within the token itself and possesses ownership of its own liquidity.

Every WIG token created is consistently backed by a minimum of 1 ETH. Stringent guidelines dictate the minting of WIG, and its acquisition is only possible through the provision of ETH to the Toupée Tech Bonding Curve.

This framework facilitates:

* Single-Sided Liquidity: Participants can contribute a single asset to liquidity pools without needing a corresponding asset, thus eliminating the requirement for paired assets.
* Absence of Impermanent Loss: The risk of impermanent loss, typical in conventional liquidity provision systems, is mitigated in the Token-Owned Liquidity paradigm.
* Virtual Liquidity: The token's architecture incorporates an inherent mechanism for liquidity provision, resulting in enhanced trading efficiency.
* Floor Price: A predetermined floor price is established for the token, ensuring a baseline valuation.
* Borrowing: Borrowing mechanisms can be facilitated against the token, driven by its consistent backing.
* Call Option Emissions: The token's architecture can support the issuance of call options, fostering diverse use cases.

This innovative model transforms the traditional liquidity provision landscape by integrating AMM dynamics within the token itself.

<br>


# vWIG as an Omni-LP

&#x20;An intriguing strategy to address impermanent loss faced by liquidity providers (LPs) is observed through the outcomes of the Solidly system utilizing veSOLID. veSOLID operates akin to an LP token, as all LP swap fees from Solidly's AMM are channeled to veSOLID voters. Consequently, LPs essentially trade their swap fees for SOLID emissions, and veSOLID holders earn swap fees for LP tokens they endorse.

veSOLID possesses the ability to represent multiple LPs simultaneously, contingent on the user's vote. This dynamic empowers veSOLID to serve as a versatile, "omni" LP position, enabling users to seamlessly switch between diverse LPs devoid of the typical losses linked to such transitions.

However, this approach harbors certain limitations. veSOLID holders remain subject to the long-term performance of veSOLID, which mandates a 4-year lock.

Toupée Tech endeavors to build upon the insights gleaned from Solidly's outcomes to achieve omni-liquidity devoid of impermanent loss risk. To achieve this feat, Toupée Tech must fulfill four pivotal prerequisites:

* vWIG must establish a floor value: The integration of a token with a floor price introduces a safeguard against downside risk, allowing users to evaluate the risk of possessing voting power by juxtaposing the asset's market price and floor price.
* vWIG must prioritize liquidity: vWIG should lack a lock period and exhibit substantial liquidity for WIG.
* vWIG must promote capital efficiency: The system must facilitate risk-free borrowing against vWIG to optimize capital efficiency.
* vWIG should function as an omniLP for multiple AMMs: In contrast to veSOLID's role restricted to the Solidly AMM, vWIG aspires to operate as an omniLP across diverse AMMs, supporting varied AMM types and fostering competitive liquidity provisions as technological advancements unfold.

Toupée Tech's blueprint is meticulously designed to satisfy these prerequisites, offering a comprehensive resolution for omni-liquidity unburdened by impermanent loss risk. The bonding curve constitutes a pivotal mechanism in this framework, enabling single-sided liquidity provision for WIG.


# Decentralization

Incentivized UI: UI provider fee, earn 25% of swap fees from the bonding curve by becoming a verified UI provider.\
\
Incentivized plugins: Build plugins for Toupée Tech, implement your own fee logic, earn as long as the plugin is being used. \
\
On-chain governance: fluid gauge voting and voter rewards, on-chain governance for adding gauges, emergency council.


# Audits

{% file src="/files/x5WhNZBhvO16hs6F6NQs" %}

{% file src="/files/QJAEya2MPU68ED6BqGxl" %}


# Deployment

### BASE Mainnet

<br>

<pre class="language-javascript"><code class="lang-javascript">OTOKENFactory:  0x1441cBA5A9Df12F157c362cA0C8EeD50C2b07d27
VTOKENFactory:  0xd54B64A096b785d19CFf3f19061509230736590c
FeesFactory:  0x5Ed50fbB15d047B2b6BC0E6FAdE25A3B1eee106d
RewarderFactory:  0x56DF157dec576Cc2596257FB17115a7ea0329e01
WIG:  0x58Dd173F30EcfFdfEbCd242C71241fB2f179e9B9
oWIG:  0xbe1053ec4Ac137c9A5B4462d53d5c2c0B89a2B79
vWIG:  0x60c08737877a5262bdb1c1cAC8FB90b5E5B11515
Fees:  0x8D05Ef8093A746101cEE1A0578eDd277f3Ecd6c1
Rewarder:  0xdD3e797522e15c3eDe6ed468738CBa754e1DE558
Governor:  0x46e77D8349BA8AE9137B89196A61FFEE2c8c64B4
GaugeFactory:  0xE23E1a116090A0829b7Ab536a3aF463A5A36A5A5
BribeFactory:  0x9714412E8838337E60C8f7b4C2Bc49247964c0fd
Voter:  0x756fC5e6BdB26A85594346D7D0520E1c0e492452
Minter:  0xF49222fCCBa2c149B3Ff3AE9D3A30eDb1f162576
Multicall:  0xDA81A398787f57810f1225dB3A6dc12635AAE82f
Controller:  0x1Eeb34B653d396Cdc60A9C434C09E1803dd4904E
VelociPluginFactory:  0xC40215FEdcc1475B5D767C4ebc7085501FFC8AbF
VelociBVM/ETHPlugin:  0xd0C41cC7433a9e234BB5aE14a668d56478eA4E99
VelociFTW/DAIPlugin: 0x3e017D06483E345D709D5D623Ff289293311372C
VelociwBLT/YFI: 0xd0182481ABf153704d607a0c7d0B41f0c91552dd
VelociwBLT/wsFTWPlugin: 0x0d0127125CaC70400839B6BdC652f82d56bc144e
VelociwBLT/stERNPlugin: 0x93fd987C5B671c1F61C33071E32829E37a137d61
VelociwBLT/BMXPlugin: 0x227a7bfC7ceEc7b019218D3CE4BEb025FAE74b19
VelociWETH/USDbCPlugin: 0x60F2418e1835Da1cAF06F33C7fd4dFdb5A91F524
VelocicbETH/AKITA V3 Plugin: 0x37ca925d8E6028d36319563B09D2BF50F91c833a
AeroGaugePluginFactory:  0x9fc66381eA664F6AEa4BD516091ebBe1D27ff6eD
AeroWETH/AEROGaugePlugin:  0xF139C95e7e959aD1535C80EA7e021891891f7b6a
<strong>AeroWETH/USDbCGaugePlugin: 0x25A7E6A89f06ef3F90B844f69f1f0B63D389F040
</strong>AeroWETH/USDbCGaugePluginFixed: 0x0195ba4C952c5AEEFb3E57659a8b9A7a8b435479
AeroDOLA/USDbCGaugePlugin: 0xdB55De47f1cb51D84442255D9ecCC54559E2509F
AeroBASED/WETHGaugePlugin: 
0x96C1E3624005d3bc032c7FC36bfdB31413C4fd4a
AeroWETH/fBOMBGaugePlugin: 
0xCDB6E9b7B3bE971d23C7d194F72C2db6758738c1
AerofBOMB/AEROGaugePlugin: 0x919d99b085583bff5833Ff0cb0aBea4AF5D9D6b4
AeroLUSD/USDbCGaugePlugin: 0x6115B7F86FB2F81fC8b459eAD1eF9f092DE338e5
AeroLUSD/USDCGaugePlugin: 0x6D84715Afda79a237E407dCe9B916F66115eCcCd
MerkleClaim: 0x5D82183DB96e55A5F2CAeE691728584cD4a037e1
WETH/WIG on Aero: 0x9f6a5F49E4D57a7de596c48181B65A0083AD343c
AeroPairPluginFactory: 0xEaC05094887c6548F3054fc121C57844c2Eb0448
AeroPairPlugin: 0x7Ff9E636AFe2697D9F7C6e0071d9C4c580455111
AeroWETH/ITXPairPlugin: 
0x047078e0ac22145a26C72E0FCac06CD82d043608
AeroBaseDOGE/WETHPairPlugin:
0xd1CA9D78005B5A891c8a6BD8408ED308B33ed715
AeroJESUS/WETHPairPlugin:
0xef04879d23E4113bbc32898436241b7e382755Bd
AeroIT/USDbCPairPlugin: 0x508006E083ad7D0DF666e9224a1CA81922450f3d
ScalePluginFactory: 0xece72A27Bbd6e667672aC226a26eAf3e2f71E22E
ScaleWETH/SCALE Gauge Plugin: 0xF1F00AA00d6eD2e5190449F2Ff3bcB72c8FDeC6B
ScaleWETH/bSHARE Gauge Plugin: 
0x8E57dA48F35217b13AfcE34EB244f8Cfe7B8C5C4
ScaleWETH/BASED Gauge Plugin:
0x6d4809cFBd7f4738d960a4d21cdD000B91Ec97aa
ScaleoWIG/USDbC Gauge Plugin:
0xF19A7B64809DC969B173f40d3F8C6734935290b8
StargateETH Pluginfactory:
0x110093De578ca0a202C85240f1AcE3529e228F68
StargateETH Vault Plugin:
0x1667F3687Bd71CE260D4b12B337B9B066b4471A9



</code></pre>

###

### BASE Goerli Testnet

\
oWIGFactory: 0xd54B64A096b785d19CFf3f19061509230736590c \
vWIGFactory: 0x5Ed50fbB15d047B2b6BC0E6FAdE25A3B1eee106d \
FeesFactory: 0x56DF157dec576Cc2596257FB17115a7ea0329e01 \
RewarderFactory: 0x58Dd173F30EcfFdfEbCd242C71241fB2f179e9B9\
\
WIG: 0x46e77D8349BA8AE9137B89196A61FFEE2c8c64B4 \
oWIG: 0x60c08737877a5262bdb1c1cAC8FB90b5E5B11515 \
vWIG: 0x8D05Ef8093A746101cEE1A0578eDd277f3Ecd6c1 \
Fees: 0xdD3e797522e15c3eDe6ed468738CBa754e1DE558 \
Rewarder: 0x5981E9a04812782A0F42942cb4f967Fa0E9a2831 \
Governor: 0xE23E1a116090A0829b7Ab536a3aF463A5A36A5A5\
\
GaugeFactory: 0x9714412E8838337E60C8f7b4C2Bc49247964c0fd \
BribeFactory: 0x756fC5e6BdB26A85594346D7D0520E1c0e492452 \
Voter: 0xF49222fCCBa2c149B3Ff3AE9D3A30eDb1f162576 \
Minter: 0x3Bb30CA0Bf95D6a2Fc8aD9087BAC92711BF0947e\
\
Multicall: 0x1Eeb34B653d396Cdc60A9C434C09E1803dd4904E \
Controller: 0x48377A5b243a17e23b6A782a2e2172b39A786064\
\
PluginFactory: 0x53eC36f0b510f0a510f3aa2698941f53c72f42f1\
LP Plugin: 0x0a7edCe5a51891b5D2eE85Fe97A359fBB7B08FaE\
LP Gauge Plugin: 0x25CF6208a85938E2716C49daeE53188D59037238

###


# Plugin Overview

Overview of Toupee Tech Plugin functionality and flow

**Toupee Plugin Overview** **Aerodrome Pair Plugin**

* Farmers deposit LP to earn oWIG
* Voters earn swap fees from LP
* Same model as Solidly, Velodrome, etc.

**Aerodrome Gauge Plugin**

* Farmers deposit LP to earn oWIG
* Voters earn AERO from gauge
* Plugin deposits LP into Aerodrome Gauge to earn AERO, which goes to voters

**Velocimeter Gauge Plugin**

* Farmers deposit LP to earn oWIG
* Voters earn oBVM + other rewards from gauge
* Plugin deposits LP into Velocimeter gauge to earn rewards, which go to voters

**Equalizer Gauge Plugin**

* Farmers deposit LP to earn oWIG
* Voters earn SCALE from gauge
* Plugin deposits LP into Scale gauge to earn rewards, which go to voters

**Stargate Farm Plugin**

* Farmers deposit LP to earn bridge fees + oWIG
* Voters earn STG from farm
* Plugin deposits LP into Stargate farm to earn rewards, which go to voters\
  \
  \
  \+ bribes to all voters

<br>


# Testnet Guide

Guide to test Toupee tech&#x20;

<https://toupeetech-frontend-v1.vercel.app/>

\
\
Get ETH on testnet for <https://goerli.basescan.org>

Ping the team in discord for gas or buy it off <https://testnetbridge.com>\
Wrap ETH for WETH\
<https://goerli.basescan.org/token/0x4200000000000000000000000000000000000006#writeContract>\
connect to Web3\
2\. Deposit \[ enter the amount you want to convert from ETH to WETH] and click write.<br>

Connect Your wallet to test website <https://toupeetech-frontend-v1.vercel.app/>&#x20;

<figure><img src="/files/gJExS3rdEPtDivIP6hUF" alt=""><figcaption></figcaption></figure>

Connect with base goerli testnet

<figure><img src="/files/d2KDswiPgRNOVdJ9n6Ns" alt=""><figcaption></figcaption></figure>

Website will auto add base goerli to your wallet.<br>

**How to get oWIG?**\
\
Ask 0xThug in Toupee Discord\
\
\
**Things to be tested**&#x20;

Mint 10 LP gauge plugin bottom of page

Deposit into farm

Redeem oWIG to wig with wETH

Stake WIG to vWIG

Burn oWIG to vWIG

Vote on farms under vote\ <br>


