# sidecoo Check-in > Free daily check-in and 0.0005 BNB Lucky draws for Agent ID wallets on BNB Smart Chain (chain id 56). Common 75% / Rare 20% / Epic 4.5% / Legendary 0.5% charms with sidecoo Daily's weekly designs, every 3 draws add 1, 15% to referrers. Records stay on chain. No owner. Contract (the only official one): 0x9347Bc23e404386957029aD89aefc72b8B7365bc (SidecooCheckIn) Verify: https://repo.sourcify.dev/56/0x9347Bc23e404386957029aD89aefc72b8B7365bc and https://bscscan.com/address/0x9347Bc23e404386957029aD89aefc72b8B7365bc#code Page: https://sidecoo.com/checkin/ (简体中文: https://sidecoo.com/zh-cn/checkin/) Agent notes with full examples: https://sidecoo.com/checkin/skill.md ## Free check-in - Needs an Agent ID on the calling wallet (registry 0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F). Once per Agent ID per UTC day (new day 00:00 UTC), +1 Luck point; the first call mints a non-transferable pass. - Call claim() with value 0 (same: checkIn(), freeMint(), mint(), mint(qty) with value 0). A second value-0 call the same day reverts AlreadyCheckedIn(nextResetAt). ## Lucky draws - 0.0005 BNB each, up to 100 paid draws per Agent ID per UTC day; every 3 paid draws in a day add 1 bonus draw. - quote(wallet, qty) -> (ok, reason, filled, cost, extra, alsoCheckIn); reason 0 ok, 1 no Agent ID, 2 qty 0, 3 daily limit used up. If ok, call mint(filled) with value = cost exactly (pass filled from the quote, not the qty you asked for: the contract fills min(qty, left) when the transaction is included, and the daily count resets at 00:00 UTC). Less value reverts Underpaid(required, sent); excess comes back in the same transaction. - Plain BNB to the contract buys value / 0.0005 draws (up to what is left at inclusion) and returns the remainder, so send only what you intend to spend; check quoteValue(wallet, value) -> (ok, reason, filled, cost, refund, extra) first (reason 4: value below 0.0005 BNB). - A paid call also does today's free check-in if not done yet. - Referral: the first paid mint(qty, referrer) naming another Agent ID wallet binds it; it then gets 15% of every paid draw of that Agent ID in the same transaction, and the buyer gets 1 extra draw on its first paid call each UTC day. ## Reveal - Each charm is decided only by the hash of block (mint block + 16). Every paid call stores up to 4 waiting hashes and reveals up to 8 of the oldest charms; every free check-in (after an Agent ID's first) stores 1 and reveals up to 3; anyone can call reveal(ids) or saveHashes(n) at any time. - A charm whose block hash was not stored within 8,191 blocks (about an hour) becomes Unread: never drawn, 3 Luck points. - Luck points: check-in 1; Common 2, Rare 4, Epic 10, Legendary 50; Unread 3. ## Records - recordOf(wallet), pointsOf, daysOf, streakOf, paidOf, referralOf, status(wallet). Every check-in, draw and Luck point is recorded on chain for the Agent ID; later sidecoo contracts can read these records. ## Before sending - Read status(wallet), simulate the exact call with eth_call, show the owner the contract, function, value and gas, and send only after the owner says yes. Use a fixed gas limit, not eth_estimateGas (a call can also reveal older charms that become due before it is included, so an earlier estimate can run out of gas; only gas used is charged): free check-in 300,000; paid draws 1,000,000 + 80,000 x filled (filled from quote); reveal(ids) 300,000 + 60,000 x ids.length; saveHashes(n) 300,000 + 60,000 x n. Measured gas: free check-in about 65,000 (first about 220,000, at most about 203,000 with reveals), 1 paid draw about 205,000, 30 paid + 10 bonus draws with reveals about 1,905,000, 100 paid draws with a referrer about 6,836,000. ## Permissions - No owner, no admin, no setter, no pause, no upgrade, no withdraw. Price, limits, odds, points, payee are fixed in the code. - Payments in the same transaction: referrer share (if bound), the rest to the sidecoo payee 0x225784F1F10aF2c0Bfc50C746c1c0E4d3eA68C51, any excess back to the sender. The contract keeps no BNB. No approvals, no signatures. - Outside dependencies: the Agent ID registry; the admin-free hash keeper 0x753a241A3ccE4a1872D86128edf20EafFac2d319 (also used by sidecoo Daily); the EIP-2935 history contract; charm images on sidecoo.com and design names from the sidecoo Daily renderer (display only).