0xef0100 || delegate_address
is set in the code
field of the signing EOA. Subsequently, all code-executing operations called on the EOA will load the runtime bytecode of the contract deployed at delegate_address
and execute in the context of the EOA.
The delegation process itself is straightforward: users first authorize a specific smart contract by signing an EIP-7702 authorization. This authorization is then submitted to the network through an EIP-7702 transaction, which establishes the delegation relationship. Once delegated, the account can utilize all the functionality of the authorized smart contract while maintaining its sovereignty. Users can revoke this delegation at any time by submitting a transaction that clears the delegation, effectively removing the smart contract’s ability to act on behalf of the account.