evminternal

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: Apache-2.0, BSD-2-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ManagementHandlers = []coreutil.ProcessorEntryPoint{
	evm.FuncSetNextOwner.WithHandler(setNextOwner),
	evm.FuncClaimOwnership.WithHandler(claimOwnership),
	evm.FuncSetGasPerIota.WithHandler(setGasPerIota),
	evm.FuncWithdrawGasFees.WithHandler(withdrawGasFees),
	evm.FuncGetOwner.WithHandler(getOwner),
	evm.FuncGetGasPerIota.WithHandler(getGasPerIota),
	evm.FuncSetBlockTime.WithHandler(setBlockTime),
}

Functions

func ApplyTransaction added in v0.2.3

func ApplyTransaction(ctx iscp.Sandbox, apply func(tx *types.Transaction, blockTime uint32) (*types.Receipt, error)) (dict.Dict, error)

func EVMStateSubrealm added in v0.2.3

func EVMStateSubrealm(state kv.KVStore) kv.KVStore

func InitializeManagement

func InitializeManagement(ctx iscp.Sandbox)

func Result

func Result(value []byte) dict.Dict

func ScheduleNextBlock added in v0.2.3

func ScheduleNextBlock(ctx iscp.Sandbox)

Types

This section is empty.

Jump to

Keyboard shortcuts

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