Auctioneer Interfaces

The Auctioneer Interface 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 SDA Interface 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

Last updated