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 of this type is specified in bcs-schema.abnf.
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. |
| toBcs | open override fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | open override fun toDisplayString(): String Render this type as human-readable text. |
| toJson | open override fun toJson(): String Convert this type to a JSON encoded string. |
| toString | open override fun toString(): String |
| typeArguments | open override fun typeArguments(): List<TypeTag> The type arguments to the function. |
Companion object functions
| Name | Summary |
|---|---|
| fromBcs | fun fromBcs(bcs: ByteArray): MoveCall Create this type from BCS encoded bytes. |
| fromJson | fun fromJson(json: String): MoveCall Create this type from a JSON encoded string. |