EvmAddr class

Constructors

EvmAddr(Uint8List bytes)
EvmAddr.create2({required Uint8List deployer, required Uint8List salt, required Uint8List initCode})
EIP-1014 CREATE2 deterministic deployment address.
factory
EvmAddr.fromHex(String hex)
factory
EvmAddr.fromPublicKey(Uint8List publicKey)
Derives from a 64- or 65-byte uncompressed secp256k1 public key. Takes last 20 bytes of keccak256 over the 64-byte x||y (no 0x04 prefix).
factory

Properties

bytes Uint8List
no setter
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toChecksumHex() String
EIP-55 mixed-case checksum encoding.
toHex() String
toString() String
A string representation of this object.
override

Operators

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