AbiReceiveFragment class

Inheritance

Constructors

AbiReceiveFragment({required String name, required StateMutability mutability})
AbiReceiveFragment.fromJson(Map<String, dynamic> json)
factory

Properties

constant bool?
Indicates whether the function is constant.
finalinherited
functionName String
Gets the encoded function name.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
inputs List<AbiParameter>
The list of input parameters for the fragment.
finalinherited
name String
The name of the function
finalinherited
outputs List<AbiParameter>
The list of output parameters for the function.
finalinherited
payable bool?
Indicates whether the function is payable.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selector List<int>
The function selector.
no setterinherited
signature List<int>
The signature hash of the function.
latefinalinherited
stateMutability StateMutability?
The state mutability of the function.
finalinherited
type FragmentTypes
The type of the fragment.
no setteroverride

Methods

decodeInput(List<int> encodedParams) List
Decodes the input parameters of the function from the encoded input bytes.
inherited
decodeOutput(List<int> encodedOutput) List
Decodes the output of the function from the encoded output bytes.
inherited
decodeOutputHex(String encodedOutput) List
Decodes the output of the function from the encoded hexadecimal string output.
inherited
encode(List params, [bool withSelector = true]) List<int>
Encodes the function with the provided parameters.
inherited
encodeHex(List params, [bool withSelector = true]) String
Encodes the function as a hexadecimal string with the provided parameters.
inherited
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