runtime

package
v0.90.1-pre Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckHashedWitness

func CheckHashedWitness(ic *interop.Context, v vm.ScriptHashGetter, hash util.Uint160) (bool, error)

CheckHashedWitness checks given hash against current list of script hashes for verifying in the interop context.

func CheckKeyedWitness

func CheckKeyedWitness(ic *interop.Context, v vm.ScriptHashGetter, key *keys.PublicKey) (bool, error)

CheckKeyedWitness checks hash of signature check contract with a given public key against current list of script hashes for verifying in the interop context.

func CheckWitness

func CheckWitness(ic *interop.Context, v *vm.VM) error

CheckWitness checks witnesses.

func GasLeft

func GasLeft(_ *interop.Context, v *vm.VM) error

GasLeft returns remaining amount of GAS.

func GetInvocationCounter

func GetInvocationCounter(ic *interop.Context, v *vm.VM) error

GetInvocationCounter returns how many times current contract was invoked during current tx execution.

func GetNotifications

func GetNotifications(ic *interop.Context, v *vm.VM) error

GetNotifications returns notifications emitted by current contract execution.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL