DeployedContract.fromJson constructor

DeployedContract.fromJson({
  1. required String address,
  2. required String abiJson,
})

Implementation

factory DeployedContract.fromJson({
  required String address,
  required String abiJson,
}) {
  return DeployedContract(
    address: EvmAddr.fromHex(address),
    abi: SolParser.parse(abiJson),
  );
}