SmartWallet constructor
SmartWallet({})
Constructs a new SmartWallet
instance.
Parameters:
ownerAddress
– The owner's wallet address.smartWalletAddress
– The smart wallet address.walletModules
– The wallet modules associated with the smart wallet.paddedVersion
– The padded version of the smart wallet.version
– The smart wallet version.networks
– A list of supported networks (default:['fuse']
).
Implementation
factory SmartWallet({
required String ownerAddress,
required String smartWalletAddress,
required WalletModules walletModules,
required String paddedVersion,
required String version,
@Default(['fuse']) List<String> networks,
}) = _SmartWallet;