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
Name | Type | Description |
---|---|---|
bidAsset | address | The asset that bids are made with |
askAsset | address | The asset that asks are made with |
minPrice | uint256 | The minimum allowed price in terms of bidAsset |
maxPrice | uint256 | The maximum allowed price in terms of bidAsset |
tickWidth | uint256 | The spacing between valid prices |
priceDenominator | uint256 | |
endDate | uint256 | The timestamp at which the auction will end |