LogoLogo
WebsiteGithubCommunity Docs
  • Developer Docs
  • Smart Contracts
    • Bond System
      • Auctioneer
        • Auctioneer Interfaces
        • Sequential Dutch Auctioneer (SDA)
          • Auction Pricing
          • Fixed-Term SDA
          • Fixed-Expiry SDA
        • Fixed Price Auctioneer (FPA)
          • Fixed-Term FPA
          • Fixed-Expiry FPA
        • Oracle-based Auctioneers
          • Oracle Interface
        • Oracle Fixed Discount Auctioneer (OFDA)
          • Fixed-Term OFDA
          • Fixed-Expiry OFDA
        • Oracle Sequential Dutch Auctioneer (OSDA)
          • Fixed-Term OSDA
          • Fixed-Expiry OSDA
      • Teller
        • Teller Interfaces
        • Base Teller
        • Fixed-Expiry Teller
        • Fixed-Term Teller
      • Callback
        • Callback Interface
        • Base Callback
        • Sample Callback Contract
      • Aggregator
        • Aggregator Interface
        • Aggregator Contract
      • Intended User Actions
      • Limit Orders
    • Option System
      • Fixed Strike oTokens
      • Fixed Strike Option Teller
      • Options Liquidity Mining (OLM)
        • Manual Strike OLM
        • Oracle Strike OLM
      • OLM Factories
  • Developers
    • Subgraph
    • Market Calculations
    • Purchases & Redemptions
    • User Balances
    • Options Library
      • Helper Functions
      • Types
  • References
    • Technical Resources
      • Audits
    • Community Resources
    • Brand Assets
    • Contact Us
Powered by GitBook
On this page
  1. Smart Contracts

Bond System

Overview of Bond Protocol's smart contract architecture

PreviousDeveloper DocsNextAuctioneer

Last updated 1 year ago

Bond Protocol is a system to create OTC markets for any ERC20 token pair with optional vesting of the payout. The markets do not require maintenance and will manage bond prices per the methodology defined in the specific auctioneer contract. Bond issuers create markets that pay out a Payout Token in exchange for deposited Quote Tokens. If payouts are instant, users can purchase Payout Tokens with Quote Tokens at the current market price and receive the Payout tokens immediately on purchase. Otherwise, they receive Bond Tokens to represent their position while their bond vests. Once the Bond Tokens vest, they can redeem it for the Quote Tokens. The type of Bond Token received depends on the vesting type of the market: Fixed Expiry (all purchases vest at a set time in the future) -> ERC20, Fixed Term (each purchaser waits a specific amount of time from their purchase) -> ERC1155.

Bond Protocol is comprised of 3 main types of contracts:

  • - Store market data, implement pricing logic, and allow creators to create/close markets

  • - Handle user purchases and issuing/redeeming of bond tokens

  • - Maintains unique count of markets across system and provides convenient view functions for querying data across multiple Auctioneers or Tellers

Auctioneers
Tellers
Aggregator
Architecture Diagram