EIP-7702 and CoW Protocol Solvers: Who Holds the Keys
Why our solver's submitter addresses return bytecode, what an EIP-7702 delegation proves about who holds the key, and how to check your own in one call.
The short answer: for Kaisersolver, which competes under CoW Protocol's hosted driver, the protocol's operations hold the submitter keys and Fiftysix holds only the rewards key. The EIP-7702 delegation on each submitter address proves it, because only an account's key holder can set one.
We map every address in our operation down to its code. When we called eth_getCode on the submitter address for Kaisersolver, the CoW Protocol solver we operate, it came back with bytecode.
Externally owned accounts do not normally have bytecode. That is close to the definition of one. And on Ethereum, code appearing on an account is also the signature of a wallet drainer, so we traced it to the end.
It was not a drainer. It was an EIP-7702 delegation, and what it proves about who holds which key is now part of how we describe our operation.
The addresses behind a CoW Protocol solver
A solver operation like ours runs on a small set of addresses:
- A rewards address that receives weekly COW.
- A submitter address on each chain, which does two jobs: it attributes quotes to the solver, and it puts winning settlements on chain.
The question that matters is not what these addresses hold. It is who holds the key to each one.
What EIP-7702 does
EIP-7702 arrived with the Pectra upgrade under the title "Set Code for EOAs." It lets an externally owned account point at a contract, so that calls into the account run that contract's code in the account's own context. The account keeps its address, nonce and balance, and gains contract-style behaviour.
Two details matter.
The delegation lives in the account's code slot as a designator: the three bytes 0xef0100 followed by the twenty-byte address of the contract it points at. That is what eth_getCode returns, and it is why an EOA can appear to have code.
Only the account itself can set it. A SetCode transaction carries authorization tuples, and each tuple is signed by the private key of the account being delegated. There is no way for a third party to set a delegation on an account whose key it does not hold. The signature is the authorization.
What a delegation proves about who holds the key
A delegation designator exists on each of our submitter addresses. Only the holder of an account's private key can create one. Fiftysix does not hold those keys and has never signed a SetCode authorization for those accounts.
So the keys are held by the party that set the delegations: the protocol's own operations.
That is not an inference from documentation or from something we were told. It proves itself from chain state. The delegation could not exist under any other arrangement. The reason for it is architectural.
The address map
There are four relevant addresses. Fiftysix holds the key to one. The protocol's operations hold the keys to the other three.
| Address | Chain | Delegates to | Key held by |
|---|---|---|---|
0x689d90B257722edB0759e1D07ED956494DFc805e | Rewards, Ethereum mainnet | None | Fiftysix |
0xDd5AEcDd8BA8498706E2583f6e2Ff90E08E1c01b | Arbitrum submitter | 0xf2076Ad911785622d7A09FA5E874A1eC1EffC547 | Protocol operations |
0x4C7Bdd2d75050C4Fdb84AD47dd328dc5C07d7743 | Base submitter | 0xd102ACE6350Feec29934432929F2b816477510F8 | Protocol operations |
0x4914895fE025D44b2FAfbe65f7D988c6eF0c1378 | BNB Chain submitter | 0xb8872EC50ca3ff8EB57bC039c96C62Bf4DAAD922 | Protocol operations |
The rewards address receives weekly COW. It is the only address whose key Fiftysix holds, and it has never held user funds or trading inventory.
Each submitter delegates to its own contract on its own chain, and anyone can inspect all three on a block explorer.
How the work divides
Kaisersolver takes part through the CoW DAO bonding pool under what is known as the hosted driver arrangement. Once you know who holds which key, the division of labour reads cleanly.
The engine is the brain. It receives the solve request, works out routing and pricing, and returns a proposed settlement. That is the part that competes, and it is on our side of the line.
The protocol runs the driver. It takes the solution, simulates it, signs it, and submits it on chain from the submitter address. That is the part that touches the chain, and it is not ours.
The EIP-7702 delegation is what makes the second half work. Pointing each EOA at a submission contract gives the driver contract-style execution from an address that is still an EOA. Each solver keeps its own address for attribution, while the submission machinery runs centrally. It is a clean design. CoW Protocol publishes the source of one such delegation target, Solver7702Delegate, in its solver-7702-delegate repository.
“Documentation describes how a system is meant to work. The chain shows how yours works right now.”
What funding the submitter actually means
Every so often we send ETH to an address whose key we do not control. Written that way, it sounds like paying a fee.
It is not a fee. It is a gas tank. The ETH is spent only as gas, and only when the driver lands one of our winning settlements, and the weekly rewards accounting pays the gas back. Economically the balance is ours the whole time, even though the key is not.
That makes it working capital rather than an expense. We go into what that does to a solver's numbers in what it costs to run a CoW Protocol solver.
Three consequences
Non-custody here is structural. We do not hold the keys to any account that could hold user value. There is one key, and it receives rewards already earned. The delegations prove the rest, because they could not exist if we held those keys.
Control and cost are separate. We cannot cancel, replace or pause a transaction on the submission path. When a settlement fails, the penalty still lands on us, because we are the registered and bonded operator of record.
Monitoring is evidence, not enforcement. Watching an address whose key you do not hold cannot stop anything. It tells you what happened. So we treat ours that way: alerts on any token balance at a submitter, any change to a delegation designator and any standing token approval, plus a real outflow watch on the one address we do control.
How to check an address for an EIP-7702 delegation
None of this needs special access. It is public chain state, and it takes about a minute.
Call eth_getCode on the address. A plain EOA returns 0x. A delegated one returns twenty-three bytes starting with 0xef0100. Strip that prefix, and the remaining twenty bytes are the contract it delegates to.
cast code 0xDd5AEcDd8BA8498706E2583f6e2Ff90E08E1c01b --rpc-url $ARB_RPC
# 0xef0100f2076ad911785622d7a09fa5e874a1ec1effc547
Without Foundry, the same call over plain JSON-RPC:
curl -s -X POST $RPC -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_getCode","params":["<address>","latest"]}'
Then ask two questions about the result. Do you recognise the delegate as a published, verified contract you can read? And did you ever sign an authorization for that account?
If the answer to the second is no, you do not hold the key to that address, whatever your internal documents say. Better to know that before someone asks you about custody than after.
How to revoke an EIP-7702 delegation
A delegation stays in place until the account replaces it. To clear it, the account signs a new authorization that points at the zero address (0x0000…0000). Once that authorization is processed, the account's code is cleared and it reads as a plain EOA again: eth_getCode returns 0x.
The rule is the same as for setting one: only the account's own key can sign it. So revoking is the mirror of the proof above. If you can clear a delegation, you hold the key. We cannot clear the delegations on our submitter addresses, and that is exactly what the map says.
Frequently asked questions
What does 0xef0100 mean in eth_getCode?
It is the EIP-7702 delegation designator: the three bytes 0xef0100 followed by the twenty-byte address the account delegates to. Since the London upgrade, new contract code cannot start with 0xef, which keeps the designator from being mistaken for deployed bytecode.
Can someone set an EIP-7702 delegation on my address without my key?
No. Every authorization is signed by the private key of the account being delegated. A third party cannot create one for an account whose key it does not hold, though it can try to trick the key holder into signing one.
How do I revoke an EIP-7702 delegation?
Sign a new authorization that points at the zero address. Once it is processed, the account's code is cleared and eth_getCode returns 0x. Only the key holder can do it.
Is an EIP-7702 delegation a sign of a wallet drainer?
Not on its own. Drainers have tricked people into signing delegations to malicious contracts, so an unexpected one is worth tracing. Check whether the delegate is a published, verified contract you recognise, and whether you ever signed an authorization for that account. The delegations on our submitter addresses point at the protocol's submission contracts.
Who holds the keys to a CoW Protocol solver's submitter address?
For Kaisersolver, which competes under the hosted driver arrangement, the protocol's operations hold the submitter keys and Fiftysix holds only the rewards key. Each submitter's EIP-7702 delegation proves it. A solver that runs its own driver normally holds its own submission key.
The general point
If you are the company behind a solver you did not build, establish which keys you actually hold, not just what your addresses contain.
Documentation describes how a system is meant to work. The chain shows how yours works right now. We check our operation at that level, address by address, and one call is all it takes.
Kaisersolver is operated by Fiftysix LLC, a US company; the solver engine and tooling are built by William (kaisersnipes). Addresses and chain state are as observed at the dates stated. Nothing here is legal, tax or investment advice.
