Bell15
Bell15 record contract · Robinhood Chain

What the contract enforces

The Bell15 record contract fixes what Bell15 published and when: one Merkle root per finished UTC hour and one batch root of wallet calls every 15 seconds. It holds $BELL15 locks. It has no proxy, no upgrade function, no pause and no rescue function.

reading

Where it stands

Contract
reading

Enforced by the chain

Anything else reverts with the custom error named.

  • Reading.

Recorded on chain, applied by the server

On chainApplied by the server
lockOf(owner) returns the matured amount, the lots not folded yet (amount and deposit time), the pending withdrawal and its ready time. countedOf and tierOf compute the counted amount and the tier.The tier is the highest t with counted × 10000 ≥ supply × tierBps[t−1], with the token's live total supply. The server gives that tier's limits.
expiriesOf(buyer) returns one expiry per plan; activePlan returns the highest plan still running.The better of the plan and the lock tier applies (Basic as tier 1, Watch as tier 2, Pro as tier 3).

Done by our server, checkable by anyone

  • Reading.

The commands that check each of these without Bell15 are in the docs.

Keys and the worst case if one leaks

KeyCanWorst case if it leaksAddress
Reading.

There is no upgrade key: no key can replace the code, take the locked tokens or rewrite a stored root. Every settings change is public on chain the moment it is proposed and applies only after the timelock.

Rejection tests

Each test breaks a rule on purpose, so the contract's error name shows on the explorer. They are simulated first from the address of the role each one needs, then sent; every sent one must revert.

#What it triesSignerExpected errorTransaction
Reading.

Read a root or a batch yourself

  1. Take the transaction hash the site shows next to each hour and each batch.
  2. Fetch its receipt with eth_getTransactionReceipt from any Robinhood Chain RPC, for example https://rpc.mainnet.chain.robinhood.com. It answers browsers directly.
  3. Keep only the logs whose address is the Bell15 contract. Any contract can emit a log with the same shape; only the Bell15 contract's own logs count.
  4. Decode the log by its topic 0: hour or batchId is topic 1, the other fields are the data.
  5. For the time, fetch the block with eth_getBlockByHash; postedAt and committedAt equal that block's timestamp, which Robinhood Chain's sequencer sets.
EventTopic 0
RootPosted(uint64,bytes32,uint32,uint32,bytes32,uint64)0xbc6af00ed5e48cba8a1a59fd49ae213463ec3c8c8edbd328feb6a67a9590d49c
CallBatch(uint64,bytes32,uint32,uint64)0xf857aa3b2bfe182300ea74f5f01c95ab3e8b880ea36a5927ef798d114ce19dfc

The contract's lastHour() and lastBatchId() give the latest root and batch id without any transaction hash.

Interface

Functions

–

Errors

–

Events

–

The facts on this page as JSON: /api/contract.