Futureswap Docs
  • Futureswap Docs
  • Protocol
    • Trading
      • Trading Flow
      • Auto-Deleveraging (ADL)
      • Fees
      • Liquidations
    • Liquidity
      • Liquidity Basics
      • Risks
    • Oracles
    • Economic Soundness
    • Incentives Program
    • Developer
      • Trade
      • Trade Estimate
      • Events
      • ADL
      • Liquidation
      • Revert Reasons
      • CLI
      • Addresses, ABI's and Links
        • Arbitrum
          • ETH/USDC
          • WBTC/ETH
        • Avalanche
          • Mainnet
            • JOE/USDC
            • WAVAX/USDC
          • Testnet
            • AVAX/FRAX
            • JOE/AVAX
            • FXS/FRAX
            • WAVAX/USDC
      • Code Examples
  • Other
    • FAQ
    • Audits
    • Community Discord
Powered by GitBook
On this page
  • Common Reverts:
  • Uncommon Reverts:

Was this helpful?

  1. Protocol
  2. Developer

Revert Reasons

Common Reverts:

  • "PBL": Price received was broke bound required by trader

  • "IVS":

    • Not enough Futureswap liquidity

    • The trade was bankrupt after the changePosition( ) call

    • Uniswap did not send us the right amount of tokens (unlikely)

    • Several low level issues (out of gas, bad tokens, etc.) (unlikely)

  • "L": Trade would be liquidatable after the action

  • "SJW": Would occur for an opening trade and never a closing that is using too much Futureswap liquidity. Reduce trade size

Uncommon Reverts:

  • "ES": Exchange Stopped. No action can occur

  • "ENN": Exchange is Paused. Only closing a trade and removing liquidity can occur

  • "SP": Not a liquidatable trade

PreviousLiquidationNextCLI

Last updated 3 years ago

Was this helpful?