MoveCall
type MoveCall
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`](https://github.com/iotaledger/iota-rust-sdk/blob/develop/crates/iota-sdk-types/bcs-schema.abnf\).
type MoveCall struct {
// contains filtered or unexported fields
}
func LiftFromExternalMoveCall
func LiftFromExternalMoveCall(handle uint64) *MoveCall
func MoveCallFromBcs
func MoveCallFromBcs(bcs []byte) (*MoveCall, error)
Create this type from BCS encoded bytes.
func MoveCallFromJson
func MoveCallFromJson(json string) (*MoveCall, error)
Create this type from a JSON encoded string.
func NewMoveCall
func NewMoveCall(varPackage *ObjectId, module *Identifier, function *Identifier, typeArguments []*TypeTag, arguments []*Argument) *MoveCall
func (*MoveCall) Arguments
func (_self *MoveCall) Arguments() []*Argument
The arguments to the function.
func (*MoveCall) DebugString
func (_self *MoveCall) DebugString() string
func (*MoveCall) Destroy
func (object *MoveCall) Destroy()
func (*MoveCall) Eq
func (_self *MoveCall) Eq(other *MoveCall) bool
func (*MoveCall) Function
func (_self *MoveCall) Function() *Identifier
The function to be called.
func (*MoveCall) Module
func (_self *MoveCall) Module() *Identifier
The specific module in the package containing the function.
func (*MoveCall) Ne
func (_self *MoveCall) Ne(other *MoveCall) bool
func (*MoveCall) Package
func (_self *MoveCall) Package() *ObjectId
The package containing the module and function.
func (*MoveCall) ToBcs
func (_self *MoveCall) ToBcs() ([]byte, error)
Convert this type to BCS encoded bytes.
func (*MoveCall) ToDisplayString
func (_self *MoveCall) 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 (*MoveCall) ToJson
func (_self *MoveCall) ToJson() (string, error)
Convert this type to a JSON encoded string.
func (*MoveCall) TypeArguments
func (_self *MoveCall) TypeArguments() []*TypeTag
The type arguments to the function.