Skip to content

Data structures and enums ​

Auction ​

getAuction(uint256) returns leaderSubmissionId, leaderBid, winnerSubmissionId, winningBid and finalized. A zero leader ID means there is no current leader. Winner fields are meaningful only after finalization.

Submission ​

getSubmission(uint256) returns auctionId, submitter, contentHash, bidAmount and refundWithdrawn. Authored strings are emitted by SubmissionCreated and bound by contentHash; they are not returned by this read.

Record ​

getRecord(uint256) returns kind, submissionId, imageURI, title and description. On Robinhood Chain, kind 2 represents a winning Record and kind 3 represents an Empty Record.

Identifier relationships ​

Auction ID, Record ID and Tablet token ID identify the same represented day. Submission IDs use their own increasing counter. Auction 1 represents the Tokyo day containing initialization; later IDs advance one Tokyo day at a time.