📘
Impossible Finance Docs
  • Start here
    • 👋Welcome to Impossible Finance
    • ✨Our Features
    • đŸ‘ļGet Started
      • Create & connect a Wallet
        • Wallet Suggestions
      • Get IDIA Tokens
      • Verify (KYC) your Wallet
  • Launchpad
    • đŸ”ĻLaunchpad Overview
      • The FCFS mechanism
      • The 3 IDO Periods
      • The 3 Sale Cards
      • The 2 Tokens - IDIA & vIDIA
        • Vesting & vIDIA Rewards - Overview
        • How to vest vIDIA - Step by step
        • How to claim vIDIA rewards
        • vIDIA FAQs
      • Launchpad Contract V4
      • Buyback Program
        • Example of Buyback Program at work
    • 🐤How to participate in an IDO by staking IDIA - Step-by-step
    • ❓Launchpad FAQ
    • đŸ•šī¸Ronin Launchpad
      • How to Participate in the Ronin Launchpad
      • How to Purchase Whitelist Allocation
  • Node Sale
    • How to participate in a Whitelist Node Sale
  • Community
    • đŸ‹ī¸ImpossiBulls Program
    • đŸ—Ŗī¸Feedback Platform
  • Contact Us
    • 🤝Business & Marketing Partnerships
    • 🆘Customer Support
    • 🌐Socials & Dev Links
  • Launchpad Tech
    • Launchpad Staking Contract
    • Launchpad Sale Contract
  • Swap
    • Swap Overview
    • Swap Math
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Swap

Swap Overview

IIF Swap: Enhancing Uniswap V2 with TVL Inflation

The IF Swap takes Uniswap V2 to the next level by introducing a feature that artificially increases the total value locked (TVL) for pools that involve stablecoins. This inflation of TVL helps reduce trade slippage, which, in simple terms, means users can get better prices when trading.

Additionally, this feature allows liquidity providers (LPs) to use their capital more effectively, resulting in increased LP rewards.

The xybk Invariant: Introducing Artificial TVL Boost

Impossible Finance accomplishes this through a unique concept called the "xybk invariant."

This concept introduces a variable called the boost variable, denoted as "b." Essentially, the boost variable allows us to set the artificial TVL of a pool at a multiple of the real TVL.

For example, if we have a xybk pair pool with 100 of each token and a boost of 10, it would behave exactly like a Uniswap V2 pool with 1000 of both tokens.

Asymmetrical Tuning: Better Support for Tokens with Varying Risks

In addition to the xybk invariant, we bring forth a new idea called "asymmetrical tuning" to the AMM swap space.

Asymmetrical tuning enables the Impossible Swap ecosystem to support tokens with uneven risks more effectively compared to other swap designs.

For instance, let's say there's a new algorithmic stablecoin project that has strong mechanisms to maintain its peg when the price is above $1. In this scenario, we would adjust the capital efficiencies to be higher when the stablecoin is priced above $1, while still maintaining a regular Uniswap curve when the prices go below $1. This approach allows us to optimize the system for different token behaviors and create a more flexible and adaptable environment.

PreviousLaunchpad Sale ContractNextSwap Math

Last updated 1 year ago

Was this helpful?