feat: classify Curve/Balancer fee burners and CoW AMM as named order types (COW-1006)#92
Closed
lgahdl wants to merge 1 commit into
Closed
Conversation
…types (COW-1006)
Identifies and classifies 5 of the top 9 Unknown handler addresses:
- 0xc0fc3d (mainnet, 613 generators): Curve CowSwapBurner
- 0x995831 (mainnet, 578): Balancer v3 CowSwapFeeBurner v2
- 0x0e800d (mainnet, 30): Balancer v3 CowSwapFeeBurner v1 (deprecated)
- 0x254f3a (gnosis, 80): Balancer v3 CowSwapFeeBurner v2
- 0xb148f4 (gnosis, 110): CoW AMM ConstantProduct pool (verified)
Remaining 4 addresses stay Unknown: two unverified gnosis proxies (likely CoW AMM
but unconfirmed) and two unverified mainnet handlers from an unknown deployer.
All new types are non-deterministic. They are added to NON_DETERMINISTIC_TYPES
so C4 backfills them via /account/{owner}/orders at live-sync start.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
jeffersonBastos
approved these changes
Jun 17, 2026
Contributor
|
Superseded by #102 ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Identifies and classifies the top unknown handler addresses. 5 of 9 top addresses classified; 4 remain Unknown pending source verification.
Newly classified
0xc0fc3ddfec95ca45a0d2393f518d3ea1ccf44f8bCurveCowSwapBurner— Curve Finance fee-burn handler0x9958317b80ee5f10457017d54c2484d722059157BalancerCowSwapFeeBurner— Balancer v3 fee burner v20xb148f40fff05b5ce6b22752cf8e454b556f7a851CowAmmConstantProduct— CoW AMM pool (verified)0x254f3a2974b97dc2e675f6115c845567c55f83b0BalancerCowSwapFeeBurner— Balancer v3 fee burner v20x0e800d8d2e8b4694610aedc385aa6d763492b106BalancerCowSwapFeeBurner— Balancer v3 fee burner v1 (deprecated)Remaining Unknown (4 addresses, ~166 generators)
0x83cd6c9be42e65ef403a656590cf9675991454ef0xafcdd60d97a957545bc2713c30ff74b7bc9489920x99b989b97508e5babde15e0c0be0953e098a1ed10xb4097271885cb51f68729ac242b6438de201edd10x83cd6cNotes on CoW AMM
Each
ConstantProductpool IS its own handler — the pool address equals the handler address. Only the one verified address is classified. Factory-level detection (all pools fromConstantProductFactory) is out of scope here.Test plan
pnpm typecheck— passespnpm test— 66/66 passUnknownin DBCloses COW-1006
🤖 Generated with Claude Code