events

package
v0.0.0-...-7131e01 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2019 License: Apache-2.0 Imports: 6 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EventRecords = make(map[string]LockEvent)

Functions

func IsEventRecorded

func IsEventRecorded(txHash string) bool

Checks the sessions stored events for this transaction hash

func NewEventWrite

func NewEventWrite(txHash string, event LockEvent) bool

Add a validator's address to the official claims list

func PrintEvent

func PrintEvent(event LockEvent)

func PrintEventByTx

func PrintEventByTx(txHash string)

func PrintEvents

func PrintEvents() error

Prints all the claims made on this event

Types

type LockEvent

type LockEvent struct {
	Id    [32]byte
	From  common.Address
	To    []byte
	Token common.Address
	Value *big.Int
	Nonce *big.Int
}

LockEvent represents a single smart contract event

func NewLockEvent

func NewLockEvent(contractAbi abi.ABI, eventName string, eventData []byte) LockEvent

Jump to

Keyboard shortcuts

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