RevocationRegistry class

Represents an ethereum-smartcontract to revoke credentials.

Constructors

RevocationRegistry(String rpcUrl, {String? contractAddress, dynamic chainId = 1})

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
web3Client ↔ Web3Client
getter/setter pair

Methods

changeOwner(String privateKeyFrom, String didNewOwner) → Future<void>
deploy(String privateKeyFrom) → Future<String>
deployed() → Future<BigInt?>
Returns the block number of the block in which the contract was deployed.
estimateChangeOwner(String from, String didNewOwner) → Future<BigInt>
estimateGasDeploy(String from) → Future<BigInt>
estimateRevoke(String fromAddress, String credDidToRevoke) → Future<BigInt>
isRevoked(String credentialDid) → Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
revocationTimestamp(String credentialDid) → Future<DateTime>
revoke(String privateKeyFrom, String credDidToRevoke) → Future<void>
setContract(String contractAddress) → void
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited