Documentation ¶
Index ¶
- Constants
- type Accounts
- type ActiveAccounts
- type Agg
- type BalanceUpdates
- type Blocks
- type BlocksProposed
- type DelegationsAgg
- type Delegators
- type HistoricalState
- type HistoryProposals
- type MissedBlocks
- type ProposalDeposits
- type ProposalVotes
- type Proposals
- type Stats
- type TimeRange
- type ValidatorDelegators
- type VotingPower
Constants ¶
View Source
const ( AggByHour = "hour" AggByDay = "day" AggByWeek = "week" AggByMonth = "month" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agg ¶
type Agg struct { By string `schema:"by"` From dmodels.Time `schema:"from"` To dmodels.Time `schema:"to"` }
func (*Agg) BuildQuery ¶
type BalanceUpdates ¶
type BlocksProposed ¶
type BlocksProposed struct {
Proposers []string
}
type DelegationsAgg ¶
type Delegators ¶
type HistoricalState ¶
type HistoryProposals ¶
type MissedBlocks ¶
type MissedBlocks struct {
Validators []string
}
type ProposalDeposits ¶
type ProposalDeposits struct {
ProposalID []uint64 `schema:"proposal_id"`
}
type ProposalVotes ¶
type TimeRange ¶
func (*TimeRange) Query ¶
func (filter *TimeRange) Query(timeColumn string, q squirrel.SelectBuilder) squirrel.SelectBuilder
type ValidatorDelegators ¶
type VotingPower ¶
Click to show internal directories.
Click to hide internal directories.