.md · 2 sections · 12065 characters
workbench: Research Packages/Fintech and Private Rails/Programmable Money Transaction Constitution 2026-09-22/SMART_CONTRACT_ASSURANCE_AND_FAILURE_MATRIX_2026-09-22.md
Canonical source SHA-256: e7710f8599f9da86a4a99a45274023dd823710ec75dd63b8ae7b14900c18f8cd
Served copy SHA-256: e7710f8599f9da86a4a99a45274023dd823710ec75dd63b8ae7b14900c18f8cd
Owner evidence cutoffs: {}
These are package-level cutoffs, not a claim that this source was rechecked on those dates. Use its own publication and capture dates.
Owners: private-monetary-stack, tokenization-entity-control-map, overall-dlt-transition, programmable-and-agentic-payments-2026-09-22
Section 1 of 2
# Smart-Contract Assurance and Failure Matrix
Cutoff: 2026-09-22 Purpose: turn programmable execution into inspectable accounting evidence
An on-chain transaction can be authentic and still be the wrong business event. Assurance therefore has to establish both:
Circle's 2025 audit is the clearest current issuer specimen: the auditor tested mint/burn controls, reserve-to-circulation reconciliation, independently obtained blockchain evidence and evaluated the reliability of that evidence.
## Control and evidence matrix
| Control domain | Question | Minimum evidence | Failure signal | Correction or remedy |
|---|---|---|---|---|
| Contract identity | Is this the intended contract on the intended chain? | Chain ID, contract address, bytecode/code hash, deployment record | Look-alike token or wrong network | Reject/quarantine; recover through recipient or legal process |
| Version and upgrade | Which logic applied at execution time? | Versioned source, proxy implementation, governance approval, upgrade history | Unauthorized or untested upgrade | Pause/freeze where authorized; compensating transfer; governance or court remedy |
| Administrator power | Who can pause, mint, burn, freeze or change rules? | Role map, multisig policy, key custody, activity log | Concentrated or compromised admin | Key rotation, revoke role, freeze, incident response |
| User authorization | Did an authorized person intend this exact transfer? | Identity-to-wallet link, signature, approval workflow, device/session data | Stolen key, address substitution, coerced transfer | Contractual dispute, freeze/burn if lawful, compensating transfer; no automatic reversal assumption |
| Admission | Was the wallet/account eligible at that moment? | KYC/CIP, sanctions result, allowlist version, jurisdiction and investor status | Post-transfer rejection or regulatory breach | Freeze, offboard, return/compensate under documented authority |
| Oracle | Is the trigger source authoritative, timely and tamper-resistant? | Source identity, signed message, timestamp, aggregation method, fallback and dispute terms | Stale, manipulated, conflicting or unavailable value | Pause, alternate source, adjudication, compensating transaction |
| Commercial performance | Did the goods/service condition really occur? | Delivery, acceptance, usage or milestone record | Code releases payment before performance | Contract claim, refund, insurance, dispute resolution |
| Token quantity | Is the supply/transfer population complete and accurate? | Mint/burn events, total supply, balances, independent node/provider comparison | Unaccounted mint, missed burn, duplicate ingestion | Halt, reconcile, investigate, adjust books and disclosures |
| Finality | What confirmation threshold makes the event stable? | Block height, consensus/finality proof, reorg policy | Reorganization or chain rollback | Hold posting until threshold; reverse provisional posting; compensate after legal finality analysis |
| Bridge/wrapper | Is the asset native or a claim on locked/burned value elsewhere? | Bridge contract, lock/mint and burn/release proof, operator/validator set | Unbacked wrapped token or bridge exploit | Quarantine, impairment/loss analysis, bridge recovery proceeding |
| Authoritative title | Did legal ownership or the securityholder register change? | Transfer-agent or issuer register before/after | Token moved but title register rejected update | Correct register, unwind/compensate, adjudicate beneficial ownership |
| Issuer liability | Did the issuer's obligation change consistently with token supply? | Issuer subledger, mint/burn authorization, circulation reconciliation | Tokens exceed recorded liability or reserves | Stop issuance/redemption, investigate, correct liability and supply |
| Reserve and cash | Did reserve funding, redemption or bank payout settle? | Custodian statement, bank confirmation, payment-system receipt | Token burned but payout fails; reserve shortfall | Reinstate claim, payable/receivable, liquidity or insolvency process |
| Accounting mapping | Does the event map to the correct entity, account and period? | Rule ID/version, journal, source-to-ledger linkage, period controls | Transfer posted as revenue; duplicate asset; wrong cutoff | Reverse journal where permitted; correcting entry and disclosure |
| Reconciliation | Do chain, issuer, custodian, bank and general-ledger totals agree? | Daily/continuous reconciliation with exceptions | Timing break, unrecorded coin, orphaned bank item | Classified break, owner, ageing, escalation and resolution proof |
| Privacy and retention | Can evidence be retained without impermissible data exposure? | Data map, access controls, retention and deletion rules | Personal data leaked or evidence unavailable | Restrict, notify/remediate, preserve legally required record |
| Business continuity | What happens if chain, oracle, cloud, wallet or bank is unavailable? | Recovery objective, alternate rail, tested playbook | Transaction stuck in partial state | Queue, cancel if allowed, switch rail, later reconcile |
## Failure and loss allocation matrix
The table identifies the first questions, not a predetermined legal outcome.
| Failure | State mismatch | Immediate accounting question | Potential loss bearer or remedy path |
|---|---|---|---|
| Wrong recipient address | Token state final; commercial obligation possibly unsatisfied | Is the payable discharged? Is there a recovery receivable or loss? | Sender, recipient, wallet provider or insurer depending on contract and fault |
| Compromised key | Valid signature; invalid human authority | Derecognition, fraud loss and recovery recognition | Account owner, custodian, signer, insurer or wrongdoer |
| Bad oracle | Code condition met; real-world condition false or disputed | Was performance achieved? Is payment recoverable? | Oracle provider, contract party, insurer or dispute process |
| Duplicate event ingestion | One on-chain event; two accounting postings | Reverse duplicate; assess control deficiency | Reporting entity until corrected |
| Chain reorganization | Provisional state disappears | Was posting provisional? Does a receivable/payable return? | Design-dependent; may sit with party accepting low finality |
| Contract upgrade defect | Authorized governance change causes wrong execution | Error versus loss; contingent claim; impairment | Administrator, governance body, affected user or insurance fund |
| Bridge exploit | Wrapped token no longer fully backed | Fair value, impairment, derecognition and disclosure | Bridge users/operator/validators/insurer; underlying may remain locked |
| Stablecoin depeg | Token exists; cash conversion value changes | Cash-equivalent policy, fair value or credit loss, liquidity disclosure | Holder first, with claim against issuer/reserves depending on rights |
| Issuer freeze/burn | Token becomes restricted or removed | Asset existence, restriction, claim against issuer | Holder subject to lawful order; recovery through legal process |
| Token burn with failed bank payout | On-chain claim extinguished; fiat not received | Receivable from issuer/bank and whether redemption completed | Issuer or bank subject to agreement and payment-state evidence |
| Goods not delivered | Payment state complete; performance incomplete | Prepayment/receivable rather than expense; expected loss | Seller, buyer, guarantor, insurer or escrow |
| Issuer insolvency | Token claim impaired; reserve pool enters priority process | Expected recovery, impairment/fair value and disclosure | Holder shares ratably in applicable reserve priority |
| Custodian insolvency | Customer asset may be segregated but inaccessible | Control, restriction and recoverability | Customer if segregation succeeds; estate risk if books/segregation fail |
| Reserve-bank failure | Reserve claim impaired or temporarily unavailable | Issuer liquidity, reserve value and holder credit exposure | Issuer/reserve pool; deposit insurance only at account-holder level as applicable |
| Accounting rule change | Same token; classification policy changes | Transition method, comparatives, covenants and cash flows | Reporting entity manages adoption; not an on-chain correction |
Four mechanisms are often described loosely as a “reversal,” but they differ:
Every production design needs to identify which mechanism exists, who may invoke it and what evidence links the original and corrective events.
Blockchain population access can improve completeness testing, but auditors still need to establish:
The revolutionary potential is continuous, population-level evidence. The corresponding audit risk is a highly precise test of the wrong contract, wrong chain, wrong legal object or incomplete off-chain record.
Section 2 of 2
The standards do not need to name a blockchain for the core duties to apply:
Circle's CAM is therefore not an exotic exception to audit theory. It is a specific application of ordinary evidence, controls and risk-response duties to a code-mediated issuer liability.