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
  • Keepers
  • Intents API
  1. Building on Perennial

Offchain Infrastructure

PreviousSmart Contract IntegrationsNextGuides

Last updated 5 months ago

To maintain composability the Perennial protocol is design to be fully operational with onchain transactions. However, abstractions of particular parts of the protocol have enabled usability enhancements for Takers and Makers alike. Here are some of examples of offchain infrastructure that works with Perennial:

Keepers

Here are a list of services that receive a fee for certain functions related to the Perennial protocol:

  1. - Responsible for committing requested price updates to the Oracles

  2. - Responsible for liquidating undercollateralized positions

  3. - Responsible for executing executable orders

  4. - Responsible for calling per-user settlement callbacks for position updates

  5. - Responsible for forwarding intents to Controller.sol. Sponsoring the transaction through Alchemy Account Abstraction

NOTE: If you are running liquidator or order execution keepers, you can to deploy the BatchKeeper smart contract. This contract is responsible for batching transactions to reduce gas costs.

Intents API

With the 2.3 upgrade, Perennial supports Intents. As signed messages they need a counterparty to execute these transactions. The Perennial protocol doesn't specify who or how these offchain messages are handled so it's up to market actors to design & implement a system.

🏗️
Oracle Keeper
Liquidation Keeper
Order Keeper
Settlement Keeper
Intent Relayer