Sponsor Funds Multi-Asset Bounty
Maintainer locks allowlisted ERC-20 funds (AUDT, USDC, or WETH) in AuditBountyEscrow via createBountyWithToken keyed to (targetHash, minScore, deadline).
Protocol Specification · Five Core Contracts
AUDT Protocol separates fixed-cap ERC20Votes token accounting, EIP-712 attestation verification & revocation, multi-asset bounty escrow, bounded-slash refutation staking with arbiter liveness timeouts, and role-separated timelock governance into five zero-dependency Solidity 0.8.28 contracts.
End-to-End Coordination Flow
Every state transition is cryptographically bound to exact repository and Git commit hashes, with automatic proof revocation, permissionless bounty reopening, and zero off-chain discretionary custody.
Maintainer locks allowlisted ERC-20 funds (AUDT, USDC, or WETH) in AuditBountyEscrow via createBountyWithToken keyed to (targetHash, minScore, deadline).
Auditeur audits the exact commit independently and signs an 8-field AuditProofV1 EIP-712 payload under HopperAuditProof v1.
AttestationBridge verifies ECDSA signature, attestor authority, and proofId uniqueness, optionally mirrors to a live IEAS registry, and gates bounty claims & dispute-window release.
Challengers post bonds in RefutationStake (50% max snapshotted slash). Successful refutation auto-calls AttestationBridge.revokeProof() and unlocks reopenRefutedBounty(); stalled disputes refund both sides via claimArbiterTimeout().
Contract-by-Contract Specification
All five contracts remain testnet candidates pending independent external audit and foundation legal formation.
AudtToken — Fixed-Cap ERC-20 with ERC20Votes & EIP-2612 PermitZero-dependency Solidity 0.8.28 ERC-20 with EIP-2612 gasless permit, self-burn, and OpenZeppelin-compatible checkpointed voting delegation (ERC20Votes / ERC-6372 clock()). The full 100,000,000 AUDT supply is minted once inside the deployment constructor with zero post-deploy minting path.
AttestationBridge — EIP-712 Proof Verifier, Revocation Registry & Optional EAS MirrorVerifies ECDSA signatures over 8-field HopperAuditProof v1 (AuditProofV1) typed data from authorized Auditeur signers, enforces replay protection, tracks irreversible refutedProofs via revokeProof wired directly to RefutationStake, and optionally mirrors both attestations and revocations into a live IEAS registry.
AuditBountyEscrow — Multi-Asset Open-Source Audit Bounty EscrowEscrows governance-allowlisted ERC-20 bounty pools (AUDT by default plus standard assets such as USDC or WETH via createBountyWithToken) bound to an exact targetHash, minimum score threshold, and deadline — guarded against refuted proofs with permissionless reopening.
RefutationStake — Bounded-Slash Refutation Staking with Arbiter Liveness Escape HatchEnables verifiers to stake AUDT on recorded (proofId, findingHash) claims and challengers to post bonds contesting erroneous audits — enforcing a 50% hard slash cap snapshotted per claim, automatic AttestationBridge revocation, and a permissionless claimArbiterTimeout liveness escape hatch.
AudtTimelock — Role-Separated Transparent Governance TimelockTransparent timelock controller enforcing strict proposer / executor / canceller (Safe Guardian) role separation and an immutable 48-hour minimum execution delay on Ethereum Mainnet (chainId 1) and Base Mainnet (chainId 8453).
Authority Minimization
Governance cannot rewrite monetary policy, raise slashing past 50%, or confiscate escrowed assets. Mutable surfaces are strictly bounded and exposed through role-separated AudtTimelock.
| Surface | Mutability | Authority | Safety Guarantee |
|---|---|---|---|
AudtToken 100M cap, transfers & ERC20Votes | Immutable | None (constructor-fixed) | Zero minting, zero transfer tax, zero freeze, zero blacklist, ERC-6372 block clock forever. |
AttestationBridge EIP-712 & revocation monotonicity | Immutable | Contract bytecode | Replay guards, EIP-2 low-s recovery, and permanent refutedProofs flags cannot be weakened. |
AuditBountyEscrow active multi-asset deposits | Non-Custodial | Deterministic settlement only | Refuted proofs cannot release; permissionless reopenRefutedBounty & post-deadline refunds. |
RefutationStake 50% max slash & arbiter timeout | Bounded Timelock | AudtTimelock | Snapshotted per claim; claimArbiterTimeout() guarantees funds never freeze if arbiter stalls. |
| Authorized attestors, token allowlist & optional IEAS mirror | Timelocked | AudtTimelock | Queued by proposer with >= 48h mainnet delay; Safe Guardian canceller may cancel during delay. |
AudtTimelock roles & execution delay | Self-Governed | onlySelf | Two-step proposer transfer; open executor when address(0); 48h mainnet delay floor immutable. |