Documentation
¶
Index ¶
- func CheckHashedWitness(ic *interop.Context, v vm.ScriptHashGetter, hash util.Uint160) (bool, error)
- func CheckKeyedWitness(ic *interop.Context, v vm.ScriptHashGetter, key *keys.PublicKey) (bool, error)
- func CheckWitness(ic *interop.Context, v *vm.VM) error
- func GasLeft(_ *interop.Context, v *vm.VM) error
- func GetInvocationCounter(ic *interop.Context, v *vm.VM) error
- func GetNotifications(ic *interop.Context, v *vm.VM) error
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 ¶
CheckWitness checks witnesses.
func GetInvocationCounter ¶
GetInvocationCounter returns how many times current contract was invoked during current tx execution.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.