Skip to main content

DualAuctionFactory

Inherits: IAuctionFactory

State Variables

implementation

address public immutable implementation;

Functions

constructor

constructor(address _implementation);

createAuction

Creates a new auction

function createAuction(
address bidAsset,
address askAsset,
uint256 minPrice,
uint256 maxPrice,
uint256 tickWidth,
uint256 priceDenominator,
uint256 endDate
) public returns (IDualAuction);

Parameters

NameTypeDescription
bidAssetaddressThe asset that bids are made with
askAssetaddressThe asset that asks are made with
minPriceuint256The minimum allowed price in terms of bidAsset
maxPriceuint256The maximum allowed price in terms of bidAsset
tickWidthuint256The spacing between valid prices
priceDenominatoruint256
endDateuint256The timestamp at which the auction will end