Skip to main content

MovePackageData

type MovePackageData​

Type corresponding to the output of `iota move build --dump-bytecode-as-base64`

type MovePackageData struct {
// contains filtered or unexported fields
}

func LiftFromExternalMovePackageData​

func LiftFromExternalMovePackageData(handle uint64) *MovePackageData

func MovePackageDataFromJson​

func MovePackageDataFromJson(json string) (*MovePackageData, error)

func NewMovePackageData​

func NewMovePackageData(modules [][]byte, dependencies []*ObjectId) *MovePackageData

func (*MovePackageData) DebugString​

func (_self *MovePackageData) DebugString() string

func (*MovePackageData) Dependencies​

func (_self *MovePackageData) Dependencies() []*ObjectId

Returns the package dependencies.

func (*MovePackageData) Destroy​

func (object *MovePackageData) Destroy()

func (*MovePackageData) Digest​

func (_self *MovePackageData) Digest() *Digest

Returns the package digest.

func (*MovePackageData) Modules​

func (_self *MovePackageData) Modules() [][]byte

Returns the package modules.

func (*MovePackageData) ToDisplayString​

func (_self *MovePackageData) ToDisplayString() string

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.

func (*MovePackageData) ToJson​

func (_self *MovePackageData) ToJson() string