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.
checking RPC
alt: rpc-testnet.valuechain.network
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
SoSoFlows