package
2.0.1+incompatible
Repository: https://github.com/tellor-io/layer.git
Documentation: pkg.go.dev
# README
x/oracle
Abstract
This module enables reporting of data to the network. Reporters can commit and then reveal their report, or immediatiely reveal. Reports can only be made for the cycle list and tipped queries. For more information, reference the ADRs below.
ADRs
- adr002 - queryId time frame structure
- adr1001 - distribution of base rewards
- adr1002 - dual delegation
- adr1003 - time based rewards eligibility
- adr1004 - fees on tips
- adr1005 - handling of tips after report
- adr1008 - voting power by group
Transactions
SubmitValue
Tip
UpdateCycleList
Getters
Params
- get module parametersReporters
- get all staked reportersDelegatorReporter
- get reporter a delegator is staked with.ReporterStake
- get a reporter's total tokens.DelegationRewards
- get rewards of a delegatorReporterOutstandingRewards
- get all outstanding rewards for a reporter
Mocks
- cd into oracle/mocks
- run
make mock-gen
CLI
Example Commands
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package types is a reverse proxy.
# Functions
No description provided by the author
ExportGenesis returns the module's exported genesis.
InitGenesis initializes the module's state from a provided genesis state.
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
# Structs
AppModule implements the AppModule interface that defines the inter-dependent methods that modules need to implement.
AppModuleBasic implements the AppModuleBasic interface that defines the independent methods a Cosmos SDK module needs to implement.
No description provided by the author
No description provided by the author