ENSRoot class

Constructors

ENSRoot({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
controllers(EthereumAddress $param0, {BlockNum? atBlock}) Future<bool>
The optional atBlock parameter can be used to view historical data. When set, the function will be evaluated in the specified block. By default, the latest on-chain block will be used.
ens({BlockNum? atBlock}) Future<EthereumAddress>
The optional atBlock parameter can be used to view historical data. When set, the function will be evaluated in the specified block. By default, the latest on-chain block will be used.
isOwner(EthereumAddress addr, {BlockNum? atBlock}) Future<bool>
The optional atBlock parameter can be used to view historical data. When set, the function will be evaluated in the specified block. By default, the latest on-chain block will be used.
lock(Uint8List label, {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.
locked(Uint8List $param3, {BlockNum? atBlock}) Future<bool>
The optional atBlock parameter can be used to view historical data. When set, the function will be evaluated in the specified block. By default, the latest on-chain block will be used.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
owner({BlockNum? atBlock}) Future<EthereumAddress>
The optional atBlock parameter can be used to view historical data. When set, the function will be evaluated in the specified block. By default, the latest on-chain block will be used.
read(ContractFunction function, List params, BlockNum? atBlock) Future<List>
inherited
setController(EthereumAddress controller, bool enabled, {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(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 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.
supportsInterface(Uint8List interfaceID, {BlockNum? atBlock}) Future<bool>
The optional atBlock parameter can be used to view historical data. When set, the function will be evaluated in the specified block. By default, the latest on-chain block will be used.
tLDLockedEvents({BlockNum? fromBlock, BlockNum? toBlock}) Stream<TLDLocked>
Returns a live stream of all TLDLocked events emitted by this contract.
toString() String
A string representation of this object.
inherited
transferOwnership(EthereumAddress newOwner, {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