MoveCall
open class MoveCall : Disposable, AutoCloseable, MoveCallInterface
Command to call a move function
Functions that can be called by a MoveCall command are those that have a function signature that is either entry or public (which don't have a reference return type).
BCS
The BCS serialized form for this type is defined by the following ABNF:
move-call = object-id ; package id
identifier ; module name
identifier ; function name
(vector type-tag) ; type arguments, if any
(vector argument) ; input arguments
Constructors
| MoveCall | constructor(package: ObjectId, module: Identifier, function: Identifier, typeArguments: List<TypeTag>, arguments: List<Argument>) |
Functions
| Name | Summary |
|---|---|
| arguments | open override fun arguments(): List<Argument> The arguments to the function. |
| close | @Synchronized open override fun close() |
| destroy | open override fun destroy() |
| equals | open operator override fun equals(other: Any?): Boolean |
| function | open override fun function(): Identifier The function to be called. |
| module | open override fun module(): Identifier The specific module in the package containing the function. |
| package | open override fun package(): ObjectId The package containing the module and function. |
| toString | open override fun toString(): String |
| typeArguments | open override fun typeArguments(): List<TypeTag> The type arguments to the function. |