EnsService class

Constructors

EnsService({required EthereumAddress address, required Web3Client client, int? chainId})

Properties

chainId int?
finalinherited
client → Web3Client
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
self → DeployedContract
finalinherited

Methods

checkSignature(ContractFunction function, String expected) bool
Returns whether the function has the expected selector.
inherited
newOwnerEvents({BlockNum? fromBlock, BlockNum? toBlock}) Stream<NewOwner>
Returns a live stream of all NewOwner events emitted by this contract.
newResolverEvents({BlockNum? fromBlock, BlockNum? toBlock}) Stream<NewResolver>
Returns a live stream of all NewResolver events emitted by this contract.
newTTLEvents({BlockNum? fromBlock, BlockNum? toBlock}) Stream<NewTTL>
Returns a live stream of all NewTTL events emitted by this contract.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
owner(Uint8List node, {required Credentials credentials, Transaction? transaction}) Future<String>
The optional transaction parameter can be used to override parameters like the gas price, nonce and max gas. The data and to fields will be set by the contract.
read(ContractFunction function, List params, BlockNum? atBlock) Future<List>
inherited
resolver(Uint8List node, {required Credentials credentials, Transaction? transaction}) Future<String>
The optional transaction parameter can be used to override parameters like the gas price, nonce and max gas. The data and to fields will be set by the contract.
setOwner(Uint8List node, EthereumAddress owner, {required Credentials credentials, Transaction? transaction}) Future<String>
The optional transaction parameter can be used to override parameters like the gas price, nonce and max gas. The data and to fields will be set by the contract.
setResolver(Uint8List node, EthereumAddress resolver, {required Credentials credentials, Transaction? transaction}) Future<String>
The optional transaction parameter can be used to override parameters like the gas price, nonce and max gas. The data and to fields will be set by the contract.
setSubnodeOwner(Uint8List node, Uint8List label, EthereumAddress owner, {required Credentials credentials, Transaction? transaction}) Future<String>
The optional transaction parameter can be used to override parameters like the gas price, nonce and max gas. The data and to fields will be set by the contract.
setTTL(Uint8List node, BigInt ttl, {required Credentials credentials, Transaction? transaction}) Future<String>
The optional transaction parameter can be used to override parameters like the gas price, nonce and max gas. The data and to fields will be set by the contract.
toString() String
A string representation of this object.
inherited
transferEvents({BlockNum? fromBlock, BlockNum? toBlock}) Stream<Transfer>
Returns a live stream of all Transfer events emitted by this contract.
ttl(Uint8List node, {required Credentials credentials, Transaction? transaction}) Future<String>
The optional transaction parameter can be used to override parameters like the gas price, nonce and max gas. The data and to fields will be set by the contract.
write(Credentials credentials, Transaction? base, ContractFunction function, List parameters) Future<String>
inherited

Operators

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