contract

package
v0.0.0-...-dc6c195 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallWithVersion

func CallWithVersion(scriptHash interop.Hash160, version int, method string, f contract.CallFlag, args ...any) any

CallWithVersion is a utility function that executes the previously deployed blockchain contract with the specified version (update counter) and hash (20 bytes in BE form) using the provided arguments and call flags. It fails if the contract has version mismatch. It returns whatever this contract returns. This function uses `System.Contract.Call` syscall.

Types

This section is empty.

Jump to

Keyboard shortcuts

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