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
  2. Bond System
  3. Auctioneer

Auctioneer Interfaces

PreviousAuctioneerNextSequential Dutch Auctioneer (SDA)

Last updated 1 year ago

The defines the external functions that all Auctioneer contracts must implement. Specifically, each Auctioneer should have the following functions:

createMarket
closeMarket
purchaseBond // Only Teller
getMarketInfoForPurchase
marketPrice
payoutFor
maxAmountAccepted
isInstantSwap
isLive
getTeller
getAggregator
currentCapacity

Sequential Dutch Auction (SDA) Interface

The extends the Auctioneer interface and adds two functions specific to Olympus' implementation:

currentDebt
currentControlVariable

Additionally, it defines five structs that are used in the SDA implementation:

MarketParams
BondMarket
BondTerms
BondMetaData
Adjustment

Fixed Price Auctioneer (FPA) Interface

The FPA Interface extends the Auctioneer interface and adds a couple functions specific to global FPA parameters. These functions are in lieu of the existing setDefaults and setIntervals functions, which, in hindsight, were too specific to the SDA case to be in the general Auctioneer Interface.

setMinMarketDuration
setMinDepositInterval

Additionally, it defines three structs specific to the FPA implementation:

MarketParams
BondMarket
BondTerms
Auctioneer Interface
SDA Interface