Skip to content

Add AIP-4: Proof-Carrying Wash-Trading Enforcement - #3

Merged
kotevcode merged 1 commit into
mainfrom
feat/aip-4-wash-trading-enforcement
Aug 23, 2026
Merged

kotevcode merged 1 commit into
mainfrom
feat/aip-4-wash-trading-enforcement

Conversation

@kotevcode

Copy link
Copy Markdown
Contributor

Adds AIP-4, specifying how wash-trading findings become enforceable on-chain:

  • Findings are proof-carrying claims: a zkVM guest re-verifies raw Base evidence (receipt, transaction, and state MPT proofs) and checks a conserved-value-loop predicate — capital injected, volume settled, and capital returned, bound at comparable scale and attributed through the protocol's own cumulative accounting.
  • Historical block hashes are anchored to the existing public Chainlink BlockhashStore on Base (unowned, immutable, correct-by-construction writes, permissionlessly extendable) — no AntSeed-operated keeper or checkpoint oracle.
  • An immutable, ownerless registry records the proven fabricated volume as a ratio of the subject's own settled volume (read from AntseedChannels AgentStats at the period-end block, inside the proof); AIP-2 policies scale points superlinearly with that ratio, so there is no volume threshold to structure beneath.
  • Predicate parameters and the penalty curve are calibrated by a companion wash-trading detection AIP before any registry deploys.

Requires AIP-2. Discussion: Antseed/loop-proof#1

@kotevcode
kotevcode merged commit fdb5dd7 into main Aug 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant