Metered off-chain.Settled on-chain.Shared by its makers.
CircuitPay is the settlement layer above TapeOut on BSC. Transistors become agent seats, circuits become swarms, and every deployment is a tape-out — each call is counted, co-signed, and returned as value to those who built it.
Verifiable metering, settlement and revenue split for every call on a TapeOut circuit.
137 diesYield 94%■ this draft
Version
Whitepaper v1.0 · October 2026
Standard
TCS-1 — TapeOut Circuit-call Settlement
Network
BSC, built on TapeOut processors
Settlement tokens
BEM or USDT — no protocol token is issued
Layer M1 · 01/15
§1
Abstract
CircuitPay brings verifiable metering, settlement and revenue split to calls on TapeOut circuits, and publishes its protocol as the open TCS-1 standard.
In CircuitPay a transistor is an agent seat, a circuit is a swarm of seats, and every deployment is a tape-out. TCS-1 defines how a call is metered, how it is priced, and how its revenue flows to circuit authors, executing seats, meters and the protocol treasury.
Metering happens off-chain; settlement happens on-chain. The caller deposits to open a session, caller and meter co-sign monotonically increasing receipts, and once a receipt clears its challenge window the contract splits the proceeds in fixed proportions.
Layer M2 · 02/15
§2
Background
TapeOut describes on-chain compute through Processors, transistors and circuits. A Processor is created by the factory; transistors are the ERC-1155 tokens it mints (id 0 = NAND, id 1 = LATCH); circuits are logic composed from them. Minting and tape-out are solved — what a circuit earns once it is called is not.
1
Too small to settle alone
Agent calls are frequent and tiny. Settling each on-chain costs more than the call itself.
2
Counts need a witness
Usage is reported by whoever executes it — inflation and wash calls must be ruled out.
3
No shared rule of split
Authors, seat holders and infrastructure operators lack a common way to divide value.
Layer M3 · 03/15
§3
Design Goals
1
Minimal
A Registry and a Settlement contract form the core; seat issuance is an optional module.
2
Verifiable
Every settlement traces back to a receipt signed by both parties.
3
Funds stay safe
A caller never spends beyond the deposit, and expired sessions refund themselves.
4
Permissionless
Anyone may trigger settlement or refund.
5
Composable
Circuits may call circuits; every session settles on its own.
6
Parameters frozen
Price and split are snapshotted at open — later changes never touch a live session.
Layer M4 · 04/15
§4
System Architecture
System architectureoff-chain · on-chain
CallerDeposits, co-signs receipts
↓calls→
Gateway / MeterExecutes on seats, co-signs EIP-712 receipts
TapeOut ProcessorERC-1155 transistors · read-only, never custodied
Circuit author · 60%
Executing seats · 25%
Meter · 10%
Treasury · 5%
Off-chain components only execute and meter; funds move solely inside the Settlement contract. The Registry reads TapeOut transistor balances to confirm seat ownership — it writes nothing to TapeOut and never custodies transistors.
Layer M5 · 05/15
§5
Participants
Participant roles
Role
Responsibility
Circuit author
Tapes out and registers the circuit, sets unit price and metering weights, maintains versions
Seat holder
Holds transistors and supplies agent execution to circuits
Meter
Runs the gateway, co-signs receipts, carries infrastructure cost
Caller
Deposits, signs receipts, receives results
Challenger
Submits a newer receipt during the challenge window
Protocol treasury
Funds audits, challenge rewards and ecosystem development
Layer VIA1 · 06/15
§6
Metering Model
A call c is measured as weighted resource consumption, rounded up. g counts logic gates executed, s counts state reads and writes, x counts sub-circuit or external calls. Weights are declared by the author at registration and committed in metaHash, so callers can verify them before opening a session.
(1) Unit of a callu(c) = ceil( w_g·g(c) + w_s·s(c) + w_x·x(c) )
p_σ is the unit price snapshotted at open and D_σ the deposit; the caller is refunded D_σ − G_σ. The contract keeps only the valid receipt with the highest nonce. Sub-circuit calls count toward the parent’s x(c) while settling in their own sessions, so nested accounting never cascades into a single failing transaction.
Layer VIA2 · 07/15
§7
Settlement & State Machine
None→
Open→
Active→
Challenge→
Settled/
Refunded
1
Open
The caller approves the settlement token and calls openSession. The deposit is locked; price and split are snapshotted.
2
Call & co-sign
After each batch the gateway issues a new receipt, signed by caller and meter under EIP-712.
3
Submit
Either party calls submitReceipt; the contract checks signatures, nonce, deadline and deposit cap.
4
Challenge
Once closed, a 24-hour window opens. Anyone holding a valid higher-nonce receipt may call challenge.
5
Settle
When the window ends, anyone may call settle. Shares are credited and the remaining deposit refunded.
6
Withdraw
Payees pull balances via withdraw; seat shares are claimed through claimSeat with a Merkle proof.
Layer VIA3 · 08/15
§8
Revenue Split
Revenue split
Recipient
Share
Rationale
Circuit author
60%
Bears design, tape-out and upkeep — the primary source of a call’s value
Executing seats
25%
Paid by actual work, rewarding seat holders for real execution
Meter
10%
Covers gateway and co-signing, keeping metering sustainable
Protocol treasury
5%
Funds audits, challenge rewards and development; kept low by design
Shares are expressed in basis points (6000 / 2500 / 1000 / 500, summing to 10000). Integer-division remainders go to the treasury — nothing is lost, nothing over-issued. Seat shares follow each seat’s work w_k in the receipt’s seatsRoot; seats that did not execute receive nothing.
mint(id, amount) — costs amount × mintPrice plus a 0.0001 BNB protocol fee per call
Mint revenue
Credited to the Processor creator, withdrawn via withdraw()
Seat types
id 0 = NAND, id 1 = LATCH
CircuitPay seats are issued on TapeOut processors through ITCS1SeatDistributor, in an allow-list phase followed by a public phase. The allow-list is stored on-chain as a Merkle root, each address has an issuance cap, and payment is accepted in BEM or USDT.
Layer CONT · 13/15
§13
Risk Disclosure
Upgradeable foundation
The TapeOut factory is a UUPS proxy governed by a 3/5 multisig and can upgrade its transistor contracts via beacon. CircuitPay monitors changes and may pause new registrations if seat ownership reads are affected.
Smart contract risk
Contracts may contain undiscovered vulnerabilities.
Metering trust
Metering happens off-chain; its security rests on dual signatures and the challenge mechanism.
Token risk
The price and availability of settlement tokens lie outside CircuitPay’s control.
Outside PoD
Circuits taped out on custom Processors do not take part in official TapeOut PoD mining.
Regulatory risk
Regulation of on-chain applications may change across jurisdictions.
Layer TOP · 14/15
§14
Roadmap
Phase 1Testnet
Deploy Registry, Settlement and SeatDistributor; release the reference gateway.
Phase 2Mainnet
Launch on BSC mainnet after an independent audit; open seat issuance.
Phase 3Open metering
Support multiple meters and switch on challenge rewards.
Phase 4Composition
Batch settlement for sub-circuit calls.
Layer PASS · 15/15
§15
Glossary
Glossary
Term
Meaning
CircuitPay
The circuit-call settlement layer built on TapeOut
TCS-1
The circuit-call settlement standard defined by CircuitPay
Processor
A processor contract created by the TapeOut factory
Transistor / Seat
A token minted by a Processor; in CircuitPay, one agent seat
Circuit / Swarm
An agent cluster of seats working together on a task
Tape-out
Deploying a project or circuit
Session
A set of calls and their settlement, backed by one deposit
Metering receipt
A cumulative usage proof co-signed by caller and meter
Challenge window
The period before settlement in which a newer receipt may be submitted