Skip to main content

Module AccountFactory

Module AccountFactory 

Source
Expand description

Module containing a contract’s types and functions.

interface AccountFactory {
    event AccountCreated(address indexed account, address indexed manager);
    function getCreationDeposit() external view returns (uint256);
    function createAccount(uint96 salt) external payable returns (address account);
}

Structs§

AccountCreated
Event with signature AccountCreated(address,address) and selector 0xac631f3001b55ea1509cf3d7e74898f85392a61a76e8149181ae1259622dabc8.
AccountFactoryInstance
A AccountFactory instance.
createAccountCall
Function with signature createAccount(uint96) and selector 0xada9a83c.
createAccountReturn
Container type for the return parameters of the createAccount(uint96) function.
getCreationDepositCall
Function with signature getCreationDeposit() and selector 0x5e928c9b.
getCreationDepositReturn
Container type for the return parameters of the getCreationDeposit() function.

Enums§

AccountFactoryCalls
Container for all the AccountFactory function calls.
AccountFactoryEvents
Container for all the AccountFactory events.

Functions§

new
Creates a new wrapper around an on-chain AccountFactory contract instance.