$DEV incident remediation — atomic burn executor via Dev.fee().
- Foundry (
forge,cast) - Python 3 (used by
scripts/compute_burn_deltas.py, invoked frompath_a_bundle.sh) - Ethereum mainnet RPC access (public endpoints work)
forge build
forge test -vvFork tests require RPC access (uses https://ethereum-rpc.publicnode.com by default).
src/Settlement.sol— Burn executor contract (Path A: deployed factory, Path B: EIP-7702)src/ZeroRewardPolicy.sol— Phase-2 Policy: pinsrewards()to 0, stopping reward accrual at its source (deploy viaPolicyFactory.create+ ownerforceAttach)src/interfaces/IDevProtocol.sol— Minimal Dev Protocol interfacestest/— Unit tests + mainnet fork testsforensics/— Attack cluster analysis and burn target documentationRUNBOOK.md— operator checklist; execution isscripts/path_a_bundle.shscripts/compute_burn_deltas.py— pair / FeeCollector snapshot + floor check (current − pre-attack); TX2 uses keep-remainder encoding, not these deltasscripts/path_a_bundle.sh— Path A Flashbots bundle (snapshot → simulate → submit)