package
0.0.0-20201104074128-64b58fb28a27
Repository: https://github.com/trinhtan/peggy.git
Documentation: pkg.go.dev

# Functions

NewClaim returns a new Claim.
NewProphecy returns a new Prophecy, initialized in pending status with an initial claim.
NewStatus returns a new Status with the given data contained.

# Constants

DefaultConsensusNeeded defines the default consensus value required for a prophecy to be finalized.
No description provided by the author
ModuleName is the name of the oracle module.
No description provided by the author
QuerierRoute is the querier route for the oracle module.
RouterKey is the msg router key for the oracle module.
StoreKey is the string store representation.
No description provided by the author

# Variables

Exported code type numbers.
Exported code type numbers.
Exported code type numbers.
Exported code type numbers.
Exported code type numbers.
Exported code type numbers.
Exported code type numbers.
Exported code type numbers.
Exported code type numbers.
No description provided by the author
No description provided by the author

# Structs

Claim contrains an arbitrary claim with arbitrary content made by a given validator.
DBProphecy is what the prophecy becomes when being saved to the database.
Prophecy is a struct that contains all the metadata of an oracle ritual.
Status is a struct that contains the status of a given prophecy.

# Interfaces

StakingKeeper defines the expected staking keeper.

# Type aliases

StatusText is an enum used to represent the status of the prophecy.