SmartAccountFactory constructor
SmartAccountFactory({
- required String contractAddress,
- required dynamic contractABI,
- required dynamic contractName,
Implementation
SmartAccountFactory({
required this.contractAddress,
required contractABI,
required contractName,
// required rpcURL,
// required signer,
}) {
// this.contract = flutter_web3.Contract(contractAddress, contractABI, signer);
this.deployedContract = DeployedContract(
ContractAbi.fromJson(contractABI, contractName),
EthereumAddress.fromHex(contractAddress),
);
}