Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

MyFactoryAccount

A factory contract to create accounts on demand.

State Variables

_impl

address private immutable _impl;

Functions

constructor

constructor(address impl_);

predictAddress

Predict the address of the account

function predictAddress(bytes calldata callData) public view returns (address);

cloneAndInitialize

Create clone accounts on demand

function cloneAndInitialize(bytes calldata callData) public returns (address);