Skip to content

IETSAuctionHouse

Overview

License: GPL-3.0

interface IETSAuctionHouse

Structs info

Auction

struct Auction {
	uint256 auctionId;
	uint256 tokenId;
	uint256 amount;
	uint256 startTime;
	uint256 endTime;
	uint256 reservePrice;
	address payable bidder;
	address payable auctioneer;
	bool settled;
}

Events info

RequestCreateAuction

event RequestCreateAuction()

AuctionBid

event AuctionBid(uint256 indexed auctionId, address sender, uint256 value, bool extended)

AuctionCreated

event AuctionCreated(uint256 indexed auctionId, uint256 indexed tokenId, uint256 tokenAuctionNumber)

AuctionExtended

event AuctionExtended(uint256 indexed auctionId, uint256 endTime)

AuctionSettled

event AuctionSettled(uint256 indexed auctionId)

AuctionsMaxSet

event AuctionsMaxSet(uint256 maxAuctions)

AuctionDurationSet

event AuctionDurationSet(uint256 duration)

AuctionMinBidIncrementPercentageSet

event AuctionMinBidIncrementPercentageSet(uint8 minBidIncrementPercentagePrice)

AuctionReservePriceSet

event AuctionReservePriceSet(uint256 reservePrice)

AuctionTimeBufferSet

event AuctionTimeBufferSet(uint256 timeBuffer)

AuctionProceedPercentagesSet

event AuctionProceedPercentagesSet(uint256 platformPercentage, uint256 relayerPercentage, uint256 creatorPercentage)

AuctionProceedsWithdrawn

event AuctionProceedsWithdrawn(address indexed who, uint256 amount)

Functions info

pause (0x8456cb59)

function pause() external

unpause (0x3f4ba83a)

function unpause() external

setReservePrice (0xce9c7c0d)

function setReservePrice(uint256 _reservePrice) external

setTimeBuffer (0x7120334b)

function setTimeBuffer(uint256 timeBuffer) external

setProceedPercentages (0xb68bb0ba)

function setProceedPercentages(
    uint256 _platformPercentage,
    uint256 _relayerPercentage
) external

createBid (0x659dd2b4)

function createBid(uint256 auctionId) external payable

settleCurrentAndCreateNewAuction (0x666077c9)

function settleCurrentAndCreateNewAuction(uint256 _tokenId) external

settleAuction (0x2e993611)

function settleAuction(uint256 _tokenId) external

createNextAuction (0x01810a96)

function createNextAuction() external

fulfillRequestCreateAuction (0x279a0147)

function fulfillRequestCreateAuction(uint256 _tokenId) external

auctionExists (0x3c0868f0)

function auctionExists(uint256 _tokenId) external returns (bool)

auctionEnded (0x9e712387)

function auctionEnded(uint256 _tokenId) external returns (bool)

auctionSettled (0x28b9e726)

function auctionSettled(uint256 _tokenId) external returns (bool)

getActiveCount (0x63338b17)

function getActiveCount() external returns (uint256)

getTotalCount (0x56d42bb3)

function getTotalCount() external returns (uint256)

getAuction (0x78bd7935)

function getAuction(
    uint256 _tokenId
) external returns (IETSAuctionHouse.Auction memory auction)

getBalance (0x12065fe0)

function getBalance() external returns (uint256)

totalDue (0x0ad2f0c3)

function totalDue(address _account) external returns (uint256 _due)

drawDown (0xc2062005)

function drawDown(address payable _account) external