LogoLogo
HomeApp
  • 👋Introduction to Perennial
  • 🌸Perennial Petals
    • 💰Trading Competition - Flight School
  • 🫂Rebates and Rewards
  • ⛓️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
      • 💰Price Impact & Trading Fees
      • ⚖️Funding & Interest Rate
      • 🌊Margin & 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
  • Collateral
  • Flat Skew
  • Intent Structure
  1. Protocol
  2. Intents

Mechanism

PreviousIntentsNextOffchain Infrastructure

Last updated 6 months ago

Perennial's Intents are signed EIP712 messages which are verified by a market contract to modify a user's position. When an Intent is executed it becomes a normal position within a market that subject to the same fees and liquidations as a position submitted onchain. What makes Intents unique is that they are priced directly with the maker executing the order. Takers are guaranteed the price they submit, inclusive of fees. The pricing occurs without the intervention of the Market's AMM as the Maker takes the inverse of the order.

Lets dive into some details:

Collateral

As is standard in Perennial, all actors in the system must first deposit collateral to back their respective positions. Given this, an intent is only valid if the account associated with the intent has collateral in that corresponding market.

Flat Skew

When executing a Taker's intent, the Maker must take the other side of the intent for it to be settled down to the AMM. This ensures that the Taker's intent has no impact on the AMMs price.

In the above example a Taker wants to open a 10 Long intent, the Maker must open a 10 Short position to keep the skew the same.

Intent Structure

Intents take the form of a signed EIP-712 signed message. You can see more .

🏗️
📬
📑
A users & maker's intents being added to a market .
here