Documentation ¶
Index ¶
- func AppCall(w *io.BinWriter, scriptHash util.Uint160)
- func AppCallWithOperation(w *io.BinWriter, scriptHash util.Uint160, operation string)
- func AppCallWithOperationAndArgs(w *io.BinWriter, scriptHash util.Uint160, operation string, ...)
- func AppCallWithOperationAndData(w *io.BinWriter, scriptHash util.Uint160, operation string, data []byte)
- func Array(w *io.BinWriter, es ...interface{})
- func Bool(w *io.BinWriter, ok bool)
- func Bytes(w *io.BinWriter, b []byte)
- func Call(w *io.BinWriter, op opcode.Opcode, label uint16)
- func Instruction(w *io.BinWriter, op opcode.Opcode, b []byte)
- func Int(w *io.BinWriter, i int64)
- func InteropNameToID(name []byte) uint32
- func Jmp(w *io.BinWriter, op opcode.Opcode, label uint16)
- func Opcode(w *io.BinWriter, op opcode.Opcode)
- func String(w *io.BinWriter, s string)
- func Syscall(w *io.BinWriter, api string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppCallWithOperation ¶
AppCallWithOperation emits an appcall with the given operation.
func AppCallWithOperationAndArgs ¶ added in v0.75.0
func AppCallWithOperationAndArgs(w *io.BinWriter, scriptHash util.Uint160, operation string, args ...interface{})
AppCallWithOperationAndArgs emits an APPCALL with the given operation and arguments.
func AppCallWithOperationAndData ¶
func AppCallWithOperationAndData(w *io.BinWriter, scriptHash util.Uint160, operation string, data []byte)
AppCallWithOperationAndData emits an appcall with the given operation and data.
func Instruction ¶
Instruction emits a VM Instruction with data to the given buffer.
func InteropNameToID ¶ added in v0.90.0
InteropNameToID returns an identificator of the method based on its name.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.