ExternalContractFunctionWithValues class
An Object that represents a contract function where we only have the function signature And hence only have the function name, selector and the parameters Created after decoding the datafield with ExternalContractFunction
- Inheritance
-
- Object
- ContractFunction
- ContractFunctionWithValues
- ExternalContractFunctionWithValues
- Implemented types
Constructors
-
ExternalContractFunctionWithValues({required String name, required List<
FunctionParamWithValue> parameters, StateMutability? stateMutability, List<FunctionParam> ? outputTypes}) -
const
Properties
- function → String
-
no setterinherited
- functionSelector → Uint8List
-
no setterinherited
- functionSelectorHex → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isExternal → bool
-
no setterinherited
- isLocal → bool
-
no setterinherited
- name → String
-
finalinherited
-
outputTypes
→ List<
FunctionParam> ? -
final
-
parameters
→ List<
FunctionParamWithValue> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stateMutability → StateMutability?
-
final
Methods
-
addValues(
{required List values}) → ContractFunctionWithValues -
inherited
-
buildDataField(
) → Uint8List -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Json -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited