📌Registry
Last updated
Last updated
ERC6551Registry
is a contract that facilitates the creation of ERC6551 accounts using the Create2
opcode for deterministic address generation. It allows users to deploy new accounts with specific implementation details and initialization data.
createAccount
Creates a new ERC6551 account.
Name | Type | Description |
---|---|---|
address
- The address of the newly created account.
account
Computes the address of an ERC6551 account.
address
- The computed account address.
Name | Type | Description |
---|---|---|
implementation
address
The contract implementation address.
chainId
uint256
Chain ID.
tokenContract
address
Token contract address.
tokenId
uint256
Token ID.
salt
uint256
Salt for address generation.
initData
bytes
Initialization data for the account.
implementation
address
The contract implementation address.
chainId
uint256
Chain ID.
tokenContract
address
Token contract address.
tokenId
uint256
Token ID.
salt
uint256
Salt for address generation.