Skip to content
Woof404

09 / Contracts / deployed

TWO CONTRACTS.
NO KEYS TO EITHER.

Everything a Woof404 dog is lives in two contracts on Robinhood Chain. Both are written and tested; both are deployed at the addresses below.

Kennel functions

What anyone can call.

FunctionWhoWhat it does
mint(quantity)payableMints genesis dogs during the window for exactly price × quantity, up to the per-wallet limit.
reveal(seed)anyone with the seedAfter the mint closes, checks the seed against the committed hash and fixes every rarity.
revealWithoutSeed()anyoneSeven days after the mint closes, finishes the reveal without the seed if nobody revealed.
merge(ids[4])owner of all fourBurns four Commons and mints one Rare to the caller, recording the four parents.
withdraw()anyoneSends the contract's whole ETH balance to the payout address fixed at deployment.
tokenURI(id) / svgOf(id)viewMetadata and picture, drawn by the sketchbook from the dog's rarity, DNA and parents.
rarityOf(id) / dnaOf(id) / parentsOf(id)viewWhat a dog is made of, once revealed.
dogsOfOwnerIn(owner, from, to)viewA wallet's dogs in an id range, so any site can list them without an indexer.
status()viewMinted, supply, merges, burned, closed, revealed, close time and balance in one read.
Events
  • Minted(to, firstId, quantity, paid)
  • Revealed(finalSeed, withSeed, by)
  • Merged(owner, newId, parents)
  • Withdrawn(to, amount)
  • Transfer(from, to, id) (ERC-721)
Check it yourself

The source, tests and a verification script are part of the project. The script compares the code at each address byte for byte with a fresh build and prints every term the kennel was deployed with: supply, tier sizes, price, limit, window, payout address and seed commitment.

npm run verify-deployment -- --sketchbook 0x760Ed037A4944Dde0Cfb3e8dB40ef0367495914e --kennel 0x498d48d79dCd46c653484d761fBb1F39C3ec0af2
Next chapter / 10

What this site keeps.

Very little. Here is all of it.