BasisOS
  • INTRODUCTION
    • What is BasisOS
    • Key Concepts in Basis Trading
    • Vision and Value Proposition
  • Basis Vaults
    • Architecture Overview
    • Components and Interactions
    • Managed Approach
    • Execution Flow
  • BASISOS AGENT
    • Overview
    • Core Components
    • System Design and Interactions
    • Agentic Roadmap
      • Stage 0: Assistant
      • Stage 1: Maintainer
      • Stage 2: Curator
      • Stage 3: Sovereign
  • TOKENOMICS
    • Token Distribution
    • Liquidity Mining
      • Distribution Mechanics
      • Rewards Schedule
    • Mindshare Mining
      • Distribution Mechanics
      • Rewards Schedule
  • CORE PROTOCOL
    • LogarithmVault
    • BasisStrategy
    • SpotManager
    • OffchainPositionManager
    • GmxV2PositionManager
    • LogarithmOracle
      • Oracle Provider
    • Contract Addresses
  • RISK MANAGEMENT
    • Funding Risk
    • Liquidity Risk
    • Risk Framework
      • Margin Treasury
      • Maximum Leverage
      • Asset Clustering
      • Strategy Capacity
    • Backtests
Powered by GitBook
On this page
  1. Basis Vaults

Architecture Overview

PreviousVision and Value PropositionNextComponents and Interactions

Last updated 3 months ago

The basis strategy smart contract system is designed to execute a strategy that buys assets in spot markets and hedges these positions by selling perpetual contracts. This approach offsets market exposure and generates revenue from funding payments on perpetual contracts. The system includes four main components:

  1. LogarithmVault - Manages user deposits and withdrawals and approves the strategy to access its funds.

  2. BasisStrategy - Implements the basis strategy by orchestrating trades between SpotManager and HedgeManager.

  3. SpotManager - Handles trading in spot markets (e.g., Uniswap).

  4. HedgeManager - Manages perpetual positions on protocols like GMX to offset spot exposure.