ReasoningLogger contract
Solidity 0.8.20 contract, deployed and live on Base mainnet, that persists every agent decision as an on-chain event. The fund's ExecutionAgent calls logDecision() after each cycle, producing a public, immutable audit trail of every verdict and the rationale behind it. Includes a circuit-breaker (trip()) for emergency halts and per-agent counters. Trade execution itself runs separately on the SoDEX testnet orderbook (ValueChain).
reading Base mainnet…
base-rpc.publicnode.com
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