contexts

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBigIntContext

func NewBigIntContext() (*bigIntContext, error)

func NewBlockchainContext

func NewBlockchainContext(
	host arwen.VMHost,
	blockChainHook vmcommon.BlockchainHook,
) (*blockchainContext, error)

func NewMeteringContext

func NewMeteringContext(
	host arwen.VMHost,
	gasSchedule map[string]map[string]uint64,
	blockGasLimit uint64,
) (*meteringContext, error)

func NewOutputContext

func NewOutputContext(host arwen.VMHost) (*outputContext, error)

func NewRuntimeContext

func NewRuntimeContext(
	host arwen.VMHost,
	blockChainHook vmcommon.BlockchainHook,
	vmType []byte,
) (*runtimeContext, error)

func NewStorageContext

func NewStorageContext(
	host arwen.VMHost,
	blockChainHook vmcommon.BlockchainHook,
) (*storageContext, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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