Skip to main content

MoveCall

Namespace: IotaSdk

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
public class MoveCall : IMoveCall, System.IEquatable`1[[IotaSdk.MoveCall, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IDisposable

Inheritance ObjectMoveCall
Implements IMoveCall, IEquatable<MoveCall>, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors

MoveCall(UInt64)

public MoveCall(ulong pointer)

Parameters

pointer UInt64

MoveCall(ObjectId, Identifier, Identifier, TypeTag[], Argument[])

public MoveCall(ObjectId package, Identifier module, Identifier function, TypeTag[] typeArguments, Argument[] arguments)

Parameters

package ObjectId

module Identifier

function Identifier

typeArguments TypeTag[]

arguments Argument[]

Methods

Destroy()

public void Destroy()

Dispose()

public void Dispose()

Arguments()

The arguments to the function.

public Argument[] Arguments()

Returns

Argument[]

Function()

The function to be called.

public Identifier Function()

Returns

Identifier

Module()

The specific module in the package containing the function.

public Identifier Module()

Returns

Identifier

Package()

The package containing the module and function.

public ObjectId Package()

Returns

ObjectId

TypeArguments()

The type arguments to the function.

public TypeTag[] TypeArguments()

Returns

TypeTag[]

Equals(MoveCall)

public bool Equals(MoveCall? other)

Parameters

other MoveCall?

Returns

Boolean

Equals(Object)

public override bool Equals(object? obj)

Parameters

obj Object?

Returns

Boolean