Erc1056 class
Dart representation of Ethereums ERC-1056 SmartContract.
Constructors
Properties
- abi → String
-
final
- chainId ↔ int
-
getter/setter pair
- contractAddress ↔ EthereumAddress
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- namesToNumbers → dynamic
-
no setter
- networkName ↔ String
-
getter/setter pair
- numbersToNames → dynamic
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- web3Client ↔ Web3Client
-
getter/setter pair
Methods
-
addDelegate(
String privateKeyFrom, String identityDid, String delegateType, String delegateDid, {int validity = 86400}) → Future< void> -
changed(
String identityDid) → Future< BigInt?> -
changeOwner(
String privateKeyFrom, String identityDid, String newDid) → Future< void> -
changeOwnerSigned(
String privateKeyFrom, String identityDid, String newDid, MsgSignature signature) → Future< String> -
collectEventData(
String identityDid) → Future< Map< String, dynamic> > -
Collects all data from contract log for
identityDid
. -
didDocument(
String identityDid) → Future< String> -
Returns a minimal did-document for
identityDid
, only with information about the current identity owner -
estimateAddDelegate(
String identityDid, String delegateType, String delegateDid, [int validity = 86400]) → Future< BigInt> -
estimateChangeOwner(
String identityDid, String newDid) → Future< BigInt> -
estimateChangeOwnerSigned(
String identityDid, String newDid, MsgSignature signature) → Future< BigInt> -
estimateRevokeAttribute(
String identityDid, String name, String value) → Future< BigInt> -
estimateRevokeDelegate(
String identityDid, String delegateType, String delegateDid) → Future< BigInt> -
estimateSetAttribute(
String identityDid, String name, String value, [int validity = 86400]) → Future< BigInt> -
identityOwner(
String did) → Future< String> -
Request the current owner (its did) for identity
did
. -
nonce(
String identityDid) → Future< BigInt?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
revokeAttribute(
String privateKeyFrom, String identityDid, String name, String value) → Future< void> -
revokeDelegate(
String privateKeyFrom, String identityDid, String delegateType, String delegateDid) → Future< void> -
setAttribute(
String privateKeyFrom, String identityDid, String name, String value, {int validity = 86400}) → Future< void> -
signOwnerChange(
String privateKeyFrom, String identityDid, String newDid) → Future< MsgSignature> -
toString(
) → String -
A string representation of this object.
inherited
-
validDelegate(
String identityDid, String delegateType, String delegateDid) → Future< bool> ?
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited