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

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

NewContext returns new interop context.
NewContractMD returns Contract with the specified fields set.
Sort sorts interop functions by id.

# Constants

ContextNonceDataLen is a length of [Context.NonceData] in bytes.
DefaultBaseExecFee specifies the default multiplier for opcode and syscall prices.

# Structs

Context represents context in which interops are executed.
ContractMD represents a generic hardfork-independent native contract instance.
Event is a generic hardfork-independent native contract event descriptor.
Function binds function name, id with the function itself and the price, it's supposed to be inited once for all interopContexts, so it doesn't use vm.InteropFuncPrice directly.
HFSpecificContractMD is a hardfork-specific native contract descriptor.
HFSpecificEvent is a hardfork-specific native contract event descriptor.
HFSpecificMethodAndPrice is a hardfork-specific native contract method descriptor.
MethodAndPrice is a generic hardfork-independent native contract method descriptor.

# Interfaces

Contract is an interface for all native contracts.
Ledger is the interface to Blockchain required for Context functionality.

# Type aliases

Method is a signature for a native method.