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 ProcessFutureEvents ¶
func ProcessFutureEvents()
func ProcessPastEvents ¶
func ProcessPastEvents()
func RevealCommitments ¶
func RevealCommitments(client *ethclient.Client, revealPeriodStarted *contract.TruSetCommitRevealVotingRevealPeriodStarted)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.