events

package
v0.0.0-...-a75425d Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const MinLogConfirmations = 10
View Source
const MinSecondsBetweenBlockNumberRequests = 15

Variables

View Source
var CommitPeriodHaltedLogTopic = getLogTopic("CommitPeriodHalted(bytes32,address,uint256)")
View Source
var ErrEnvVarEmpty = errors.New("getenv: environment variable empty")
View Source
var PollCreatedLogTopic = getLogTopic("PollCreated(bytes32,address,uint256,uint256)")
View Source
var RevealPeriodHaltedLogTopic = getLogTopic("RevealPeriodHalted(bytes32,address,uint256)")
View Source
var RevealPeriodStartedLogTopic = getLogTopic("RevealPeriodStarted(bytes32,address,bytes32,bytes32)")
View Source
var VoteCommittedLogTopic = getLogTopic("VoteCommitted(bytes32,address,bytes32)")
View Source
var VoteRevealedLogTopic = getLogTopic("VoteRevealed(bytes32,bytes32,uint256,address,address,uint256,uint256,uint256)")

Functions

func CurrentBlockNumber

func CurrentBlockNumber() uint64

func FinalizedBlockNumber

func FinalizedBlockNumber() uint64

func Init

func Init(_clientStringFutureEvents string, clientStringPastEvents string, commitRevealVotingAddress string)

func ProcessFutureEvents

func ProcessFutureEvents()

func ProcessPastEvents

func ProcessPastEvents()

func RevealCommitments

func RevealCommitments(client *ethclient.Client, revealPeriodStarted *contract.TruSetCommitRevealVotingRevealPeriodStarted)

Types

This section is empty.

Jump to

Keyboard shortcuts

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