The trust problem
At a forced sale, the deposit is the bidder's money held by someone else for weeks. The facts that decide where it should go (who won, whether the auction went ahead, whether the winner paid) are public on the auction platform's record, but on a page made for people. AuctionDeposit lets GenLayer's validators read that page, and plain code move the money.
How it works
1. Open
The bank freezes the terms: the auction and property as the record prints them, the record page (on a host frozen when the contract was deployed), the deposit, when deposits close, the winner's payment window and the refund deadline.
2. Deposit
Each bidder pays exactly the deposit and names the bidder code the record will use for them. A wrong amount is refused and credited back.
3. Read the record
Validators open the record page; the AI only copies the status, winner and balance lines. Code checks every copy against the page and a closed list of phrases. Validators accept only an exactly equal result, and a majority must agree.
4. Seen twice
Nothing moves on one look: a result counts once two readings, sent at least 10 minutes apart in the live runs (2 minutes on the Try it page), show it. Unsuccessful bidders are refunded as soon as the winner is confirmed.
5. Deadlines
No payment shown within the winner's window: its deposit goes to the bank. No result by the refund deadline: everyone is refunded. Code alone, 30 minutes late, no AI needed.
6. Credits
Every payout is a credit each party withdraws itself. After the runs below, every party withdrew and the contract held nothing.
Live runs
Run:
to the bank back to bidders Each auction had three bidders; the record pages are fictional and change on a schedule, like a real record.
Every transaction
| Logged (UTC) | Auction | Call | Outcome | Tx |
|---|
Limits, stated plainly
- The contract trusts one record page on a host fixed at deployment. In real life the record is kept by the auction platform (notaries or the state), not by the bank.
- Anyone can open an auction for any auction number, so a bidder checks the bank's address before paying.
- Bidder codes are linked to addresses only because bidders say so; taking someone's code first blocks them from the escrow but gains nothing.
- The phrase lists are English: a record in Greek would read as unclear and refund everyone at the refund deadline.