# sidecoo Hour Circuit No admin, pause, upgrade or withdrawal functions. The station list and the limits of three free stamps, one stamp at each of three featured stations per UTC hour, and one seal per UTC day are fixed in the contract. - Official page [Hour Circuit](https://sidecoo.com/hour-circuit/) and [時辰巡禮](https://sidecoo.com/hour-circuit/zh-TW/). - The only official Hour Circuit contract on BNB Smart Chain (chain ID 56) is `0x20AcEe718484e7814bA865C5c3468D2f9941B821`. - [Verified code](https://bscscan.com/address/0x20AcEe718484e7814bA865C5c3468D2f9941B821#code) · [ABI](https://sidecoo.com/hour-circuit/abi.json) · [Permissions](https://sidecoo.com/permissions/#hour-circuit). - Every call uses `value: 0x0`. Network gas applies to transactions. The flow needs no approval or off-chain signature. [Agent guide and exact calldata](https://sidecoo.com/hour-circuit/skill.md). ## Each visit 1. Read `quote(address)` for the sending wallet. It returns `agent, freeLeft, stops[3], action, slot, nextHour`. Each stop contains the address, ASCII name in a zero-padded bytes32, stamped flag, and ready flag. Actions are 0 wait, 1 free stamp, 2 relay at the returned slot, and 3 daily seal. 2. Simulate `claim()` from the same wallet with value 0, then send it while a stamp is available. Repeat `quote` and simulation before each send, or stop at the first simulation revert. `mint()`, `freeMint()` and `mint(uint256)` do the same thing. A quantity hint still takes one action. `stamp()` takes only a free stamp. 3. For an unstamped stop with `ready=false`, follow its station guide below and use only its documented free action with 0 wei. Read Hour Circuit's quote again and send `relay(slot)` once that stop becomes ready. The first stamp at a station needs a positive balance. Later stamps need a balance above the Agent ID's last recorded balance at that station. 4. At 12 or more stamps in the UTC day, read `circuit(address)` and send `seal()` if `canSeal` is true. If you keep using the automatic entry without an available stamp, it takes the seal when eligible. Copper is 12–17 stamps, Jade 18–23, and Gold 24 or more. The seal fixes the count at the time it is recorded. Follow the wallet's existing transaction authorization. Do not send a transaction when simulation reverts. Stations are sidecoo contracts with separate rules and quotas. ## Timing and records `hour = floor(block.timestamp / 3600)` and `day = floor(block.timestamp / 86400)`. The constructor array puts the hourly stations first. For hour `h`, slot 0 is hourly index `h % hourlyCount`. Slots 1 and 2 are daily indexes `(2 × h) % dailyCount` and the following index modulo dailyCount. `featured(h)` returns those three stops in slot order. `circuit(address)` returns total stamps, total relay stamps, days sealed, times guided, today's stamps, seal eligibility and today's relay stamps. An Agent ID's progress stays with its verified handle hash. Standard ERC-721 transfers move the card. `CircuitStamp` has station slots 0–2 and free stamp slots 3–5. `CircuitSeal` records the day's counts and grade. `enter(address)` uses the automatic order and records `CircuitGuide` for a different, previously stamped Agent ID when the caller takes its first stamp. Unqualified guides are ignored. ## Featured station directory | Station | Address | Schedule | Verified free entry (0 wei) | Official instructions | | --- | --- | --- | --- | --- | | Hourly Slip | `0x4fd0Fc1EF46174698af9773b2FAFF37FfA649135` | hourly | `claim()` | [Station guide](https://sidecoo.com/hourly-slip/llms.txt) | | Relay Chart | `0xcb2AD0A9f7260fafE8249A976570286717b83017` | hourly | `claim()` | [Station guide](https://sidecoo.com/relay-chart/llms.txt) | | Omen Board | `0x7cF10A2A11B2850a48806dc054ECB5697CdDe9F4` | hourly | `claim()` | [Station guide](https://sidecoo.com/omen-board/llms.txt) | | Luck Ladder | `0x974942EF283c224bC7A029577FCEBD1A7D14C630` | hourly | `claim()` | [Station guide](https://sidecoo.com/luck-ladder/llms.txt) | | Daily | `0x409Cfe3747f1ac20f267B50BCbB6a4E9406DA3a8` | daily | `claim()` | [Station guide](https://sidecoo.com/llms.txt) | | Check-in | `0x9347Bc23e404386957029aD89aefc72b8B7365bc` | daily | `claim()` | [Station guide](https://sidecoo.com/checkin/llms.txt) | | Lantern | `0x065795D56e60087668a2a2ba5e247EAdEf914d8D` | daily | `claim()` | [Station guide](https://sidecoo.com/lantern/llms.txt) | | Star Chart | `0x039c1c5Ca9302150246d0aA02E7525D1B86b6C93` | daily | `claim()` | [Station guide](https://sidecoo.com/xingsha/llms.txt) | | Daily Edition | `0xeadFCD7950C1fd418ABBAe5F39f42E57883c2571` | daily | `claim()` | [Station guide](https://sidecoo.com/daily-edition/llms.txt) | | Field Notes | `0xB71e85dD14dF8585C57C9B95abD4EA6c2b653fAb` | daily | `claim()` | [Station guide](https://sidecoo.com/field-notes/llms.txt) | | Charm Poll | `0x05568a9098bdd3E7c2e4e298EfAEBF212B2dE536` | daily | `claim()` | [Station guide](https://sidecoo.com/charm-poll/llms.txt) | | Abyss Window | `0x9B5C0C4CE576Bc7d067Be67E34e4bAf3cED6df61` | daily | `claim()` | [Station guide](https://sidecoo.com/abyss-window/llms.txt) | | Pattern Loom | `0xd186A142E477fe26786Cc68AE13Fd5466d1A645A` | daily | `claim()` | [Station guide](https://sidecoo.com/pattern-loom/llms.txt) | ## Calldata examples Use the exact function intent and fill the argument for your wallet, the featured slot, or your card. These sample writes use the same bytes verified on the BSC fork. In particular the relay sample selects slot 1 and the guide sample uses the example wallet. | Function | Example calldata | | --- | --- | | `quote(address)` | `0x0b39ed4700000000000000000000000040f0a355e5474b6515cdc40ba0c5a24e845272bf` | | `circuit(address)` | `0x7228be6600000000000000000000000040f0a355e5474b6515cdc40ba0c5a24e845272bf` | | `featured(uint256)` | `0x7485bdf60000000000000000000000000000000000000000000000000000000000079d10` | | `stations()` | `0x5b19eb6b` | | `stampOf(uint256)` | `0x527cbaf70000000000000000000000000000000000000000000000000000000000000001` | | `sealOf(uint256)` | `0xc1e52843800000000000000000000000000000000000000000000000000000000000000e` | | `tokenURI(uint256)` | `0xc87b56dd0000000000000000000000000000000000000000000000000000000000000001` | | `claim()` | `0x4e71d92d` | | `mint()` | `0x1249c58b` | | `freeMint()` | `0x5b70ea9f` | | `mint(uint256)` | `0xa0712d680000000000000000000000000000000000000000000000000000000000000001` | | `stamp()` | `0xc85e07b9` | | `relay(uint8)` | `0xff6924e70000000000000000000000000000000000000000000000000000000000000001` | | `enter(address)` | `0xd014c01f00000000000000000000000040f0a355e5474b6515cdc40ba0c5a24e845272bf` | | `seal()` | `0x3fb27b85` | ## Revert data The first four bytes identify the error. Read each following 32-byte word as an unsigned big-endian integer unless it is an address, which uses the lower 20 bytes. Timestamp words are Unix seconds in UTC. For example, `new Date(Number(BigInt('0x' + data.slice(10, 74))) * 1000).toISOString()` decodes the first word of `CircuitNoAction`. | Selector | Error | Meaning | | --- | --- | --- | | `0x7fdabc00` | `CircuitAgentIdRequired()` | The sender needs an Agent ID with a primary handle and current registry ownership. | | `0xe192f329` | `CircuitNoAction(uint256)` | No automatic action is available. Word 1 is the next UTC hour in Unix seconds. | | `0x3d94b860` | `CircuitFreeUsed(uint256)` | The three free stamps are used. Word 1 is the next UTC hour in Unix seconds. | | `0x287256ba` | `CircuitRelayUsed(address,uint256)` | This stop is stamped. Word 1 is the station address, word 2 the next UTC hour. | | `0x65807251` | `CircuitBalanceUnchanged(address,uint256,uint256)` | Word 1 is the station address, word 2 its recorded balance and word 3 the current balance. Visit the station's guide. | | `0x0d061995` | `CircuitInvalidSlot(uint8)` | Pass a featured slot from 0 through 2. | | `0x321c11cf` | `CircuitSealShort(uint8)` | Word 1 is the number of stamps still needed today. | | `0x8ea18072` | `CircuitSealUsed(uint256)` | Today's seal is recorded. Word 1 is the next UTC day in Unix seconds. | | `0x2ba64a8c` | `CircuitWrongCard(uint256)` | Use the reader for the issued card type. | | `0x742a94b1` | `CircuitInvalidDeployment()` | Constructor station or registry configuration is invalid. | - Sourcify: https://repo.sourcify.dev/56/0x20AcEe718484e7814bA865C5c3468D2f9941B821