Documentation
¶
Index ¶
- func AppCall(w *io.BinWriter, scriptHash util.Uint160, operation string, ...)
- func AppCallNoArgs(w *io.BinWriter, scriptHash util.Uint160, operation string, ...)
- func Array(w *io.BinWriter, es ...interface{})
- func BigInt(w *io.BinWriter, n *big.Int)
- 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 CheckSig(w *io.BinWriter, key []byte)
- func Instruction(w *io.BinWriter, op opcode.Opcode, b []byte)
- func Int(w *io.BinWriter, i int64)
- func Jmp(w *io.BinWriter, op opcode.Opcode, label uint16)
- func Opcodes(w *io.BinWriter, ops ...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 AppCall ¶
func AppCall(w *io.BinWriter, scriptHash util.Uint160, operation string, f callflag.CallFlag, args ...interface{})
AppCall emits an APPCALL with the default parameters to the given operation and arguments.
func AppCallNoArgs ¶ added in v0.93.0
AppCallNoArgs emits a call to the provided contract.
func CheckSig ¶ added in v0.99.0
CheckSig emits a single-key verification script using given []bytes as a key. It does not check for key correctness, so you can get an invalid script if the data passed is not really a public key.
func Instruction ¶
Instruction emits a VM Instruction with data to the given buffer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.