AbiMethod class

Annotations
  • @JsonSerializable(fieldRename: FieldRename.kebab, explicitToJson: true)

Constructors

AbiMethod({required String name, required String description, required List<Argument> arguments, Returns returns = const Returns()})
AbiMethod.fromJson(Map<String, dynamic> json)
factory
AbiMethod.method(String method)
factory

Properties

arguments List<Argument>
final
description String
final
hashCode int
The hash code for this object.
no setterinherited
name String
final
returns Returns
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selector Uint8List
no setter
signature String
no setter
txnCallCount int
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

RefArgTypes Set<String>
final
TxArgTypes Set<String>
final

Static Methods

getMethodByName(List<AbiMethod> methods, String name) AbiMethod
Find the ABI method with the given name in this contract.
isTxnArgOrForeignArrayArgs(String data) bool

Constants

RefTypeAccount → const String
RefTypeApplication → const String
RefTypeAsset → const String
TxAnyType → const String