Skip to content
Skip to content
BELL

Clock RelayBELL's market clock over LayerZero

Tokens travel. The clock should too.

Clock Relay sends a stock's session and halt state from Robinhood Chain to Base. A contract there asks whether the stock is in a trading session, halted or past its last update, and an old or expired answer reads as closed. It is live on mainnet for ANT today.

LIVE ON MAINNET6 OF 7 CLAIMS PROVENNO OWNER, NO PROXY2 DVNS, SET EXPLICITLY
CLOCK RELAY · ROBINHOOD CHAIN TO BASE
6/7CLAIMS PROVEN, EACH WITH A TRANSACTION
FIRST DESTINATION
Base
TRAVEL TIME
about 1 min
COST PER MESSAGE
0.00016 ETH

Read, send, verify, report

The sender reads the session from BELL's CalendarRegistry and the halt state from the HaltRegistry in the same transaction, so it holds no signing key and takes no input. Anyone can call it and pays the LayerZero fee. LayerZero's two verifiers check that the message came from that sender. The receiver keeps the newest state, refuses an older one, and reports CLOSED once a state expires.

CALENDAR + HALTSsigned registries on RobinhoodSENDERanyone calls relay()LAYERZERO2 DVNs verify the messageRECEIVERnewest state winsgetClock()stale reads as CLOSEDYOUR CONTRACTdecides its own ruleROBINHOOD CHAINBASETHE RELAY ONLY REPORTS THE CLOCK. THE DESTINATION ENFORCES ITS OWN RULES.
TWO CONTRACTS, BOTH IMMUTABLE · PEERS AND VERIFIERS ARE SET ONCE AND THE RIGHT TO CHANGE THEM IS GIVEN UP

What travels

One message per asset, about 200 bytes. Sessions use BELL's own numbers, so a consumer can compare them with the hook.

FIELDMEANING
assetIdBELL asset id, the key both registries use
session0 unknown, 1 pre, 2 regular, 3 post, 4 overnight, 5 closed
haltPhase0 normal, 1 halted, 2 resume auction (five minutes)
validUntilthe earlier of the interval end and the halt end
intervalHashhash of the calendar interval the session was read from, which matches the registry's own event
sourceBlockthe Robinhood Chain block it was read at, so anyone can check it

A state is stale when it is past validUntil, or older than 15 minutes while a session is open. A stale or unknown clock reads as CLOSED. The helper isOpen is true only in the regular session, fresh, with no halt.

6 of 7 claims, each with a transaction

Pending and tested-only are never counted as proven.

C1✓

The contracts cannot be changed

Sourcify runtime and creation match on both chains, no proxy, no owner after the delegate was renounced. The build uses bytecode_hash none, so Sourcify can only report match, not exact.

PROVEN
C2✓

Two independent verifiers, set explicitly

LayerZero Labs and Paxos required on both sides, 15 confirmations, read back before the delegate was renounced; see deploy.json for the txs.

PROVEN
C3✓

A relayed state matches the source

ANT OVERNIGHT state landed on Base about a minute later; intervalHash 0xde1a71b9...6ba8 and sourceBlock 127073799 match the Robinhood read.

PROVEN
C4

An older state is rejected

Older sourceBlock is rejected in the unit tests. LayerZero does not deliver an older message after a newer one, so it cannot be forced on mainnet.

TESTED ONLY
C5✓

An expired state reads as closed

After validUntil 1796115600 the receiver on Base reads stale true, session CLOSED, isOpen false (read at Base block 64640094).

PROVEN
C6✓

A halt travels, and clears

A test halt on the ANT asset (reason RELAYTEST) was sent to the HaltRegistry, then relayed: Base read haltPhase 1 and isHalted true. After the resume the next relay read haltPhase 2 (resume auction, valid 5 minutes), and a relay after that read haltPhase 0. The workflow runs failed on the halt sender balance (it needs about 0.0002 ETH for the gas limit), so the signed calldata from each run log was broadcast as it was.

PROVEN
C7✓

A contract on Base uses it

ClockGatedCounter on Base refused execute while the clock was in the resume auction (revert NotTradable(1,2,false)) and accepted it once a fresh relay read session 1, no halt.

PROVEN

Live on mainnet

SENDER · ROBINHOOD CHAIN0xc65C1950…E90ECB7frelay(assetId), anyone can call
RECEIVER · BASE0x9dfCf843…150170E7getClock, isOpen, isHalted, feeHint
TEST CONSUMER · BASE0x69f1076b…12125127runs only while the clock allows it

Honest limits

!

It reports the clock. It does not make a pool safe.

What a destination does with the answer is the destination's rule. Clock Relay says nothing about a price.

!

It is not real time

A relayed state is as fresh as the last relay, and its age is always shown. The halt lag of the source carries over: BELL's reporter reads public halt data, so a halt lands minutes after the real one.

!

It relays at changes, not continuously

ANT and NVDA are relayed to Base by a workflow that checks every ten minutes and sends only when Base is behind: a session boundary, a halt or a resume. A message costs about 0.00016 ETH. There is no heartbeat while a session is open, because that would be a message every 15 minutes per asset, so after 15 minutes the receiver reads CLOSED until the next change or until someone pays for a fresh relay. One destination so far.

!

Our first deployment ran out of gas

The first receiver deployment gave the executor 120,000 gas and needed about 199,000, so the message was verified but not delivered. We redeployed with 300,000 and fixed the source block, which Robinhood Chain reports as an L1 number from Solidity. The first pair stays on chain, unused.

1

Matched, not exact

Both contracts match on Sourcify, runtime and creation. They cannot be an exact match, because the build drops the metadata hash.

2

C4 is proven in tests only

LayerZero never delivers an older message after a newer one, so the rejection of an old state cannot be forced on mainnet. It is covered by unit tests.

3

The consumer is ours

The contract that uses the clock was written by the team. An outside consumer is still open. Earnings and sector events are not carried yet, because no registry holds them.

4

Not independently audited

No external audit exists. The contracts are small and immutable, with tests and a fork test against the live LayerZero endpoint. BELL is independent of LayerZero, which supplies public messaging only.

Read it from your own contract.

Call getClock(assetId) on the receiver. The test consumer shows the pattern in thirty lines.

git clone https://github.com/belldex/bell && cd bell
cat contracts/src/relay/ClockGatedCounter.sol

BELL is an independent protocol. Clock Relay uses LayerZero's public messaging and is not a partnership. This page is not an audit and not financial advice. Evidence updated 2026-12-01 12:05 UTC.