LogoLogo
HomeApp
  • 👋Introduction to Perennial
  • 🌸Perennial Petals
    • 💰Trading Competition - Flight School
  • ⛓️Perennial Chain
    • 🌺Mainnet
    • 🌼Testnet
  • 📚Guides
    • Bridging to Perennial
    • Create an Account
    • Place a limit order
    • Bridging from Perennial
  • 🏗️Protocol
    • 🏛️Markets
      • 📝Market Design
      • 🔮Oracles & Settlement
      • 📈Payoff & Positions
      • 💰Trading Fees & Price Impact
      • ⚖️Funding & Interest Rate
      • 🌊Leverage & Liquidations
      • 👩‍🌾Liquidity Provisioning
      • 📝Advanced Order Types
      • 💵Collateral
    • 📬Intents
      • 📑Mechanism
      • 🔗Offchain Infrastructure
      • 🏦Intent Solvers (Makers)
      • 📑Specification
    • 🛄Collateral Accounts
    • 🏦Vaults
    • 💽Codebase
    • 🛑Protocol Risks
  • 🏗️Building on Perennial
    • Why Perennial?
    • Before Integrating
    • Frontend & Client Integrations
    • Smart Contract Integrations
    • Offchain Infrastructure
    • Guides
      • ✏️Creating a New Market
      • 👂Subscribe to Market Updates
  • ⁉️Frequently Asked Questions
    • Perennial
    • Trading
    • Markets
    • Fees
  • 📡Protocol Info
    • Markets & Vaults
    • Protocol Contracts
  • 🔐Security
    • Audits & Bug Bounty
  • 🎉Perp.Fun
    • Introduction
    • Autopilot
      • Weekly Autopilot Rewards
Powered by GitBook
On this page
  • Position Flipping
  • Single Position per Market
  1. Protocol
  2. Intents

Intent Solvers (Makers)

For actors looking to solve Taker intents there are some things that must be considered when developing systems to do so.

Position Flipping

Due to an invariant on the protocol side, a wallet can't flip their position from Long to Short & visa versa without waiting for the protocol to settle in between. Given this, Makers looking to handle long & short flow should maintain two wallets and net the flow.

For example:

Action
Long Wallet (Maker)
Short Wallet (Short)

Short 1 BTC

+1 BTC

-0 BTC

Short 1 BTC

+2 BTC

-0 BTC

Long 1 BTC

+1 BTC

-0 BTC

Long 2 BTC

+1 BTC

-2 BTC

Maker Rebalance

+0 BTC

-1 BTC

This is unwanted complexity for the Maker and we will look to fix this in a later version of the protocol.

Single Position per Market

An invariant of the protocol is that an account can't have multiple positions open in a market at the same time. Instead, a wallet can increase or decrease their position to modify their exposure.

This is an intended behaviour of the protocol & will continue to persist.

PreviousOffchain InfrastructureNextSpecification

Last updated 6 months ago

🏗️
📬
🏦