AccountExtension
The AccountExtension
smart contract is the extension usable with the Managed Account smart contracts. It is the default extension for these base contracts.
It includes the default logic for creating a smart account smart contract including the ability to:
- Have multiple owners
- Execute transactions (single and batched).
- Send and receive native tokens.
- Send and receive ERC-721 and ERC-1155 NFTs.
- Multicall-able.
- Store contract metadata.
View on GitHub
This is an example smart contract demonstrating how to inherit from this extension and override the functions to add (optional) custom functionality.
This extension inherits from the following extensions: