Smart Account Factory Contract
Factory for deploying Smart Accounts as Proxies
It is a Factory contract that is responsible for deploying Smart Accounts using
CREATE2and CREATE opcodes.
It deploys Smart Accounts as proxies pointing to
basicImplementationthat is immutable for this factory.
This allows keeping the same address for the same Smart Account
owneron various chains via
The Smart Account is initialized directly after its deployment with owner and callback handler info.
Returns an address for the Smart Account when it will be deployed by this factory with the same
_indexserves as a salt to be able to deploy several Smart Accounts for the same user from this factory.
) external view returns (address _account)
Deploys Smart Account with
CREATE2and returns its address.
) public returns (address proxy)
Deploys account using
CREATE(thus it deploys with a random address, rather than a counterfactual).
function deployAccount(address _owner) public returns (address proxy)