demo

package
v0.3.2-0...-6117ab2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForKYC

func CheckForKYC() (bool, error)

CheckForKYC will return whether a user has already passed the KYC

func ProposeCommit

func ProposeCommit(_branch string, _branchHeadHash string) (string, int, error)

ProposeCommit will start a new proposal on the ditContract of this repository

func SearchForHashInVotes

func SearchForHashInVotes(_branchHash string) (int, bool, bool, string, error)

SearchForHashInVotes will search for a vote on a given branch hash and return the outcome

func Vote

func Vote(_proposalID string, _choice string, _salt string) error

Vote will cast a users vote on a proposal

Types

This section is empty.

Jump to

Keyboard shortcuts

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