wasm

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 2, 2020 License: LGPL-3.0 Imports: 10 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLog

func AddLog(callbackParamKey uint64, address common.Address, topicSlice []byte, topicNum int)

func DbHasKey

func DbHasKey(callbackParamKey uint64, address common.Address, table uint64, key []byte) int

func DbHasTable

func DbHasTable(callbackParamKey uint64, address common.Address, table uint64) int

func DbLoad

func DbLoad(callbackParamKey uint64, address common.Address, table uint64, key []byte) []byte

func DbRemoveKey

func DbRemoveKey(callbackParamKey uint64, address common.Address, table uint64, key []byte)

func DbRemoveTable

func DbRemoveTable(callbackParamKey uint64, address common.Address, table uint64)

func DbStore

func DbStore(callbackParamKey uint64, address common.Address, table uint64, key []byte, value []byte)

func GetBlockHeight

func GetBlockHeight(callbackParamKey uint64) uint64

func GetBlockRound

func GetBlockRound(callbackParamKey uint64) uint64

func Transfer

func Transfer(callbackParamKey uint64, from common.Address, to common.Address, amount uint64, remainedGas *uint64) int

Types

type RegisterParam

type RegisterParam struct {
	// contains filtered or unexported fields
}
var GlobalRegisterParam *RegisterParam

func GetGlobalRegisterParam

func GetGlobalRegisterParam() *RegisterParam

func (*RegisterParam) RegisterParam

func (r *RegisterParam) RegisterParam(s *state.StateDB, b *types.Block) uint64

func (*RegisterParam) UnRegisterParam

func (r *RegisterParam) UnRegisterParam(key uint64)

Jump to

Keyboard shortcuts

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