package
0.108.1
Repository: https://github.com/nspcc-dev/neo-go.git
Documentation: pkg.go.dev

# Functions

BurnGas burns GAS to benefit Neo ecosystem.
CheckHashedWitness checks the given hash against the current list of script hashes for verifying in the interop context.
CheckKeyedWitness checks the hash of the signature check contract with the given public key against the current list of script hashes for verifying in the interop context.
CheckWitness checks witnesses.
CurrentSigners returns signers of the currently loaded transaction or stackitem.Null if script container is not a transaction.
GasLeft returns the remaining amount of GAS.
GetAddressVersion returns the address version of the current protocol.
GetCallingScriptHash returns calling script hash.
GetEntryScriptHash returns entry script hash.
GetExecutingScriptHash returns executing script hash.
GetInvocationCounter returns how many times the current contract has been invoked during the current tx execution.
GetNetwork returns chain network number.
GetNotifications returns notifications emitted in the current execution context.
GetRandom returns pseudo-random number which depends on block nonce and transaction hash.
GetScriptContainer returns transaction or block that contains the script being run.
GetTime returns timestamp of the block being verified, or the latest one in the blockchain if no block is given to Context.
GetTrigger returns the script trigger.
LoadScript takes a script and arguments from the stack and loads it into the VM.
Log logs the message passed.
Notify should pass stack item to the notify plugin to handle it, but in neo-go the only meaningful thing to do here is to log.
Platform returns the name of the platform.

# Constants

MaxEventNameLen is the maximum length of a name for event.
MaxNotificationSize is the maximum length of a runtime log message.
SystemRuntimeLogMessage represents log entry message used for output of the System.Runtime.Log syscall.