Optimistic Auctions
Interface
interface IOptimisticAuction {
/// @notice Emitted when a new bid is submitted for an auction instance.
event BidSubmitted(
uint256 indexed auction_id,
address indexed bidder,
uint64 indexed deadline,
uint256 value,
bytes data
);
/// @notice Submit a bid into a specific auction instance.
/// If the auction_id does not exist yet, it is created implicitly.
/// @param auction_id Logical auction identifier. Bids with the same id compete together.
/// @param deadline Unix timestamp in microseconds. After this, the bid is invalid.
/// @param value Application-defined numeric value associated with the bid.
/// @param data Opaque payload, commonly encodes an intent or order.
function submitBid(
uint256 auction_id,
uint64 deadline,
uint256 value,
bytes calldata data
) external;
}Last updated

