event

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CONTRACT_STATE_FAIL    byte = 0
	CONTRACT_STATE_SUCCESS byte = 1
)
View Source
const (
	EVENT_NOTIFY = "Notify"
)

Variables

This section is empty.

Functions

func PushSmartCodeEvent

func PushSmartCodeEvent(txHash common.Uint256, errCode int64, action string, result interface{})

PushSmartCodeEvent push event content to socket.io

Types

type ExecuteNotify

type ExecuteNotify struct {
	TxHash      common.Uint256
	State       byte
	GasConsumed uint64
	Notify      []*NotifyEventInfo
}

type NotifyEventInfo

type NotifyEventInfo struct {
	ContractAddress common.Address
	States          interface{}
}

NotifyEventInfo describe smart contract event notify info struct

Jump to

Keyboard shortcuts

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