TWEthereumAbiFunction class abstract

Represents Ethereum ABI function

Implementers

Constructors

TWEthereumAbiFunction.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

TWEthereumAbiFunctionAddInArrayParamAddress(Pointer<Void> fn, int arrayIdx, Pointer<Void> val) int
Adding an address type parameter of to the top-level input parameter array
TWEthereumAbiFunctionAddInArrayParamBool(Pointer<Void> fn, int arrayIdx, bool val) int
Adding a bool type parameter of to the top-level input parameter array
TWEthereumAbiFunctionAddInArrayParamBytes(Pointer<Void> fn, int arrayIdx, Pointer<Void> val) int
Adding a bytes type parameter of to the top-level input parameter array
TWEthereumAbiFunctionAddInArrayParamBytesFix(Pointer<Void> fn, int arrayIdx, int size, Pointer<Void> val) int
Adding a int64 type parameter of to the top-level input parameter array
TWEthereumAbiFunctionAddInArrayParamInt16(Pointer<Void> fn, int arrayIdx, int val) int
Adding a int16 type parameter of to the top-level input parameter array
TWEthereumAbiFunctionAddInArrayParamInt256(Pointer<Void> fn, int arrayIdx, Pointer<Void> val) int
Adding a int256 type parameter of to the top-level input parameter array
TWEthereumAbiFunctionAddInArrayParamInt32(Pointer<Void> fn, int arrayIdx, int val) int
Adding a int32 type parameter of to the top-level input parameter array
TWEthereumAbiFunctionAddInArrayParamInt64(Pointer<Void> fn, int arrayIdx, int val) int
Adding a int64 type parameter of to the top-level input parameter array
TWEthereumAbiFunctionAddInArrayParamInt8(Pointer<Void> fn, int arrayIdx, int val) int
Adding a int8 type parameter of to the top-level input parameter array
TWEthereumAbiFunctionAddInArrayParamIntN(Pointer<Void> fn, int arrayIdx, int bits, Pointer<Void> val) int
Adding a intN type parameter of to the top-level input parameter array
TWEthereumAbiFunctionAddInArrayParamString(Pointer<Void> fn, int arrayIdx, Pointer<Utf8> val) int
Adding a string type parameter of to the top-level input parameter array
TWEthereumAbiFunctionAddInArrayParamUInt16(Pointer<Void> fn, int arrayIdx, int val) int
Adding a uint16 type parameter of to the top-level input parameter array
TWEthereumAbiFunctionAddInArrayParamUInt256(Pointer<Void> fn, int arrayIdx, Pointer<Void> val) int
Adding a uint256 type parameter of to the top-level input parameter array
TWEthereumAbiFunctionAddInArrayParamUInt32(Pointer<Void> fn, int arrayIdx, int val) int
Adding a uint32 type parameter of to the top-level input parameter array
TWEthereumAbiFunctionAddInArrayParamUInt64(Pointer<Void> fn, int arrayIdx, int val) int
Adding a uint64 type parameter of to the top-level input parameter array
TWEthereumAbiFunctionAddInArrayParamUInt8(Pointer<Void> fn, int arrayIdx, int val) int
Adding a uint8 type parameter of to the top-level input parameter array
TWEthereumAbiFunctionAddInArrayParamUIntN(Pointer<Void> fn, int arrayIdx, int bits, Pointer<Void> val) int
Adding a uintN type parameter of to the top-level input parameter array
TWEthereumAbiFunctionAddParamAddress(Pointer<Void> fn, Pointer<Void> val, bool isOutput) int
Add an address type parameter
TWEthereumAbiFunctionAddParamArray(Pointer<Void> fn, bool isOutput) int
Add a type[] type parameter
TWEthereumAbiFunctionAddParamBool(Pointer<Void> fn, bool val, bool isOutput) int
Add a bool type parameter
TWEthereumAbiFunctionAddParamBytes(Pointer<Void> fn, Pointer<Void> val, bool isOutput) int
Add a bytes type parameter
TWEthereumAbiFunctionAddParamBytesFix(Pointer<Void> fn, int size, Pointer<Void> val, bool isOutput) int
Add a bytesN type parameter
TWEthereumAbiFunctionAddParamInt16(Pointer<Void> fn, int val, bool isOutput) int
Add a int16 type parameter
TWEthereumAbiFunctionAddParamInt256(Pointer<Void> fn, Pointer<Void> val, bool isOutput) int
Add a int256 type parameter
TWEthereumAbiFunctionAddParamInt32(Pointer<Void> fn, int val, bool isOutput) int
Add a int32 type parameter
TWEthereumAbiFunctionAddParamInt64(Pointer<Void> fn, int val, bool isOutput) int
Add a int64 type parameter
TWEthereumAbiFunctionAddParamInt8(Pointer<Void> fn, int val, bool isOutput) int
Add a int8 type parameter
TWEthereumAbiFunctionAddParamIntN(Pointer<Void> fn, int bits, Pointer<Void> val, bool isOutput) int
Add a int(bits) type parameter
TWEthereumAbiFunctionAddParamString(Pointer<Void> fn, Pointer<Utf8> val, bool isOutput) int
Add a string type parameter
TWEthereumAbiFunctionAddParamUInt16(Pointer<Void> fn, int val, bool isOutput) int
Add a uint16 type parameter
TWEthereumAbiFunctionAddParamUInt256(Pointer<Void> fn, Pointer<Void> val, bool isOutput) int
Add a uint256 type parameter
TWEthereumAbiFunctionAddParamUInt32(Pointer<Void> fn, int val, bool isOutput) int
Add a uint32 type parameter
TWEthereumAbiFunctionAddParamUInt64(Pointer<Void> fn, int val, bool isOutput) int
Add a uint64 type parameter
TWEthereumAbiFunctionAddParamUInt8(Pointer<Void> fn, int val, bool isOutput) int
Add a uint8 type parameter
TWEthereumAbiFunctionAddParamUIntN(Pointer<Void> fn, int bits, Pointer<Void> val, bool isOutput) int
Add a uint(bits) type parameter
TWEthereumAbiFunctionCreateWithString(Pointer<Utf8> name) Pointer<Void>
Creates a function object, with the given name and empty parameter list. It must be deleted at the end.
TWEthereumAbiFunctionDelete(Pointer<Void> fn) → void
Deletes a function object created with a 'TWEthereumAbiFunctionCreateWithString' method.
TWEthereumAbiFunctionGetParamAddress(Pointer<Void> fn, int idx, bool isOutput) Pointer<Void>
Get an address type parameter at the given index
TWEthereumAbiFunctionGetParamBool(Pointer<Void> fn, int idx, bool isOutput) bool
Get a bool type parameter at the given index
TWEthereumAbiFunctionGetParamString(Pointer<Void> fn, int idx, bool isOutput) Pointer<Utf8>
Get a string type parameter at the given index
TWEthereumAbiFunctionGetParamUInt256(Pointer<Void> fn, int idx, bool isOutput) Pointer<Void>
Get a uint256 type parameter at the given index
TWEthereumAbiFunctionGetParamUInt64(Pointer<Void> fn, int idx, bool isOutput) int
Get a uint64 type parameter at the given index
TWEthereumAbiFunctionGetParamUInt8(Pointer<Void> fn, int idx, bool isOutput) int
Get a uint8 type parameter at the given index
TWEthereumAbiFunctionGetType(Pointer<Void> fn) Pointer<Utf8>
Return the function type signature, of the form "baz(int32,uint256)"