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 for this type is defined by the following ABNF:
```text move-call = object-id ; package id identifier ; module name identifier ; function name (vector type-tag) ; type arguments, if any (vector argument) ; input arguments ```
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 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) TypeArguments
func (_self *MoveCall) TypeArguments() []*TypeTag
The type arguments to the function.