MovePackageData
Namespace: IotaSdk
Type corresponding to the output of iota move build --dump-bytecode-as-base64
public class MovePackageData : IMovePackageData, System.IDisposable
Inheritance Object → MovePackageData
Implements IMovePackageData, IDisposable
Attributes NullableContextAttribute, NullableAttribute
Constructors
MovePackageData(UInt64)
public MovePackageData(ulong pointer)
Parameters
pointer UInt64
MovePackageData(Byte[][], ObjectId[])
public MovePackageData(Byte[][] modules, ObjectId[] dependencies)
Parameters
modules Byte[][]
dependencies ObjectId[]
Methods
Destroy()
public void Destroy()
Dispose()
public void Dispose()
Dependencies()
Returns the package dependencies.
public ObjectId[] Dependencies()
Returns
Digest()
Returns the package digest.
public Digest Digest()
Returns
Modules()
Returns the package modules.
public Byte[][] Modules()
Returns
ToDisplayString()
Render this type as human-readable text.
Some types also print this through the binding's native string conversion; this method is the spelling every object type has.
The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.
public string ToDisplayString()
Returns
ToJson()
public string ToJson()
Returns
FromJson(String)
public static MovePackageData FromJson(string json)
Parameters
json String