✅ DEPLOYED ON BASE MAINNET
Contract 0x9a3827049f43f2f61f0b066c610cf40a33d79cf6 · deploy tx · a live on-chain decision receipt was written via logDecision().
SoSoFlows.contract

ReasoningLogger contract

Solidity 0.8.20 contract that persists every agent decision as an on-chain event on ValueChain testnet. ExecutionAgent calls logDecision() after each cycle, producing a public audit trail of every verdict and the rationale behind it. Includes circuit-breaker (trip()) for emergency halts and per-agent counters.

Target chain
138565
ValueChain testnet
Solidity
0.8.20
no external imports
Bytecode
- bytes
loading
Deploy gas
- gas
estimated, no constructor args
RPC status
checking
testnet-rpc.valuechain.network
Deploy status
live on Base
in your browser
checking RPC alt: rpc-testnet.valuechain.network
Deploy via live agents page
01Public interface
02ABI (JSON)
loading...
03Bytecode
loading...
04Gas estimate breakdown
Base TX cost
21,000
Contract creation overhead
32,000
Bytecode storage (200 gas/byte)
-
Constructor execution
~80,000
Estimated deploy total
-
Per logDecision()
~120,000-180,000
05Storage layout (view methods)
decisions[uint] -> Decision struct
read all by id
countByAgent[address] -> uint
per-agent counter
totalDecisions
monotonic counter
owner
deployer initially
tripped / tripReason / trippedAt
circuit-breaker state