runtime

package
v0.91.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckHashedWitness

func CheckHashedWitness(ic *interop.Context, 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, 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) error

CheckWitness checks witnesses.

func GasLeft

func GasLeft(ic *interop.Context) error

GasLeft returns remaining amount of GAS.

func GetInvocationCounter

func GetInvocationCounter(ic *interop.Context) error

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

func GetNotifications

func GetNotifications(ic *interop.Context) 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