ContractEvent class
An event that can be emitted by a smart contract during a transaction.
Constructors
-
ContractEvent(bool anonymous, String name, List<
EventComponent> components) - Constructor.
Properties
- anonymous → bool
-
Whether this events was declared as anonymous in solidity.
final
-
components
→ List<
EventComponent> -
A list of types that represent the parameters required to call this
function.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Name.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signature → Uint8List
-
The signature of this event, which is the keccak hash of the event's name
followed by it's components.
latefinal
- stringSignature → String
-
The user-visible signature of this event, consisting of its name and the
type of its parameters.
no setter
Methods
-
decodeResults(
List< String?> topics, String data) → List -
Decodes the fields of this event from the event's
topics
and itsdata
payload. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited