ExternalContractFunction 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 Only used for decoding existing datafields
- Inheritance
-
- Object
- ContractFunction
- ExternalContractFunction
- Implemented types
Constructors
-
ExternalContractFunction({required List<
FunctionParam> parameters, required String name, 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<
FunctionParam> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stateMutability → StateMutability?
-
final
Methods
-
addValues(
{required List values}) → ContractFunctionWithValues -
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