Versions in this module Expand all Collapse all v1 v1.0.8 Jun 26, 2024 v1.0.7 May 9, 2024 v1.0.6 May 1, 2024 v1.0.5 Mar 2, 2024 v1.0.4 Nov 27, 2023 v1.0.3 Nov 1, 2023 v1.0.2 Oct 24, 2023 Changes in this version + func RemoveEmpty(s []string) []string + func ToNullString(value string) sql.NullString + func ToString(value sql.NullString) string + type AccountRow struct + Address string + func NewAccountRow(address string) AccountRow + func (a AccountRow) Equal(b AccountRow) bool + type AverageTimeRow struct + AverageTime float64 + Height int64 + OneRowID bool + func NewAverageTimeRow(averageTime float64, height int64) AverageTimeRow + func (r AverageTimeRow) Equal(s AverageTimeRow) bool + type BlockRow struct + Hash string + Height int64 + PreCommitsNum int64 + ProposerAddress sql.NullString + Timestamp time.Time + TotalGas int64 + TxNum int64 + type CommunityPoolRow struct + Coins *DbDecCoins + Height int64 + OneRowID bool + func NewCommunityPoolRow(coins DbDecCoins, height int64) CommunityPoolRow + func (v CommunityPoolRow) Equals(w CommunityPoolRow) bool + type ConsensusRow struct + Height int64 + OneRowID bool + Round int32 + Step string + func NewConsensusRow(height int64, round int32, step string) ConsensusRow + func (r ConsensusRow) Equal(s ConsensusRow) bool + type DbCoin struct + Amount string + Denom string + func NewDbCoin(coin sdk.Coin) DbCoin + func (coin *DbCoin) Scan(src interface{}) error + func (coin *DbCoin) Value() (driver.Value, error) + func (coin DbCoin) Equal(d DbCoin) bool + func (coin DbCoin) ToCoin() sdk.Coin + type DbCoins []*DbCoin + func NewDbCoins(coins sdk.Coins) DbCoins + func (coins *DbCoins) Scan(src interface{}) error + func (coins DbCoins) Equal(d *DbCoins) bool + func (coins DbCoins) ToCoins() sdk.Coins + type DbDecCoin struct + Amount string + Denom string + func NewDbDecCoin(coin sdk.DecCoin) DbDecCoin + func (coin *DbDecCoin) Scan(src interface{}) error + func (coin *DbDecCoin) Value() (driver.Value, error) + func (coin DbDecCoin) Equal(d DbDecCoin) bool + func (coin DbDecCoin) ToDecCoin() sdk.DecCoin + type DbDecCoins []*DbDecCoin + func NewDbDecCoins(coins sdk.DecCoins) DbDecCoins + func (coins *DbDecCoins) Scan(src interface{}) error + func (coins DbDecCoins) Equal(d *DbDecCoins) bool + func (coins DbDecCoins) ToDecCoins() sdk.DecCoins + type DepositRow struct + Amount DbCoins + Depositor string + Height int64 + ProposalID int64 + func NewDepositRow(proposalID int64, depositor string, amount DbCoins, height int64) DepositRow + func (w DepositRow) Equals(v DepositRow) bool + type DistributionParamsRow struct + Height int64 + OneRowID bool + Params string + type DoubleSignEvidenceRow struct + Height int64 + VoteAID int64 + VoteBID int64 + func NewDoubleSignEvidenceRow(height int64, voteAID int64, voteBID int64) DoubleSignEvidenceRow + func (v DoubleSignEvidenceRow) Equal(w DoubleSignEvidenceRow) bool + type DoubleSignVoteRow struct + BlockID string + Height int64 + ID int64 + Round int + Signature string + ValidatorAddress string + ValidatorIndex int + VoteType int + func NewDoubleSignVoteRow(id int64, voteType int, height int64, round int, blockID string, ...) DoubleSignVoteRow + func (v DoubleSignVoteRow) Equal(w DoubleSignVoteRow) bool + type FeeAllowanceRow struct + Allowance string + Grantee string + Granter string + Height int64 + ID uint64 + type GenesisRow struct + ChainID string + InitialHeight int64 + OneRowID bool + Time time.Time + func NewGenesisRow(chainID string, time time.Time, initialHeight int64) GenesisRow + func (r GenesisRow) Equal(s GenesisRow) bool + type GovParamsRow struct + DepositParams string + Height int64 + OneRowID bool + TallyParams string + VotingParams string + type ItemRow struct + Collection string + Index string + Meta string + OnChain string + type MintParamsRow struct + Height int64 + OneRowID bool + Params string + func NewMintParamsRow(params string, height int64) MintParamsRow + func (m MintParamsRow) Equal(n MintParamsRow) bool + type ModuleRow struct + Module string + func (v ModuleRow) Equal(w ModuleRow) bool + type ModuleRows []*ModuleRow + func NewModuleRows(names []string) ModuleRows + func (v ModuleRows) Equal(w *ModuleRows) bool + type MultisigProposalRow struct + FinalTallyResult json.RawMessage + Group string + Id uint64 + Messages json.RawMessage + Proposer string + Status int32 + SubmitBlock uint64 + VotingEndBlock uint64 + type OperationRow struct + Creator string + Index string + OperationType int32 + Status int32 + Timestamp uint64 + type ProposalRow struct + Content string + DepositEndBlock uint64 + Metadata string + ProposalID uint64 + Proposer string + Status string + SubmitBlock uint64 + VotingEndBlock uint64 + VotingStartBlock uint64 + func NewProposalRow(proposalID uint64, content string, ...) ProposalRow + func (w ProposalRow) Equals(v ProposalRow) bool + type ProposalStakingPoolSnapshotRow struct + BondedTokens int64 + Height int64 + NotBondedTokens int64 + ProposalID uint64 + func NewProposalStakingPoolSnapshotRow(proposalID uint64, bondedTokens, notBondedTokens, height int64) ProposalStakingPoolSnapshotRow + type ProposalValidatorVotingPowerSnapshotRow struct + Height int64 + ID int64 + Jailed bool + ProposalID int64 + Status int + ValidatorAddress string + VotingPower int64 + func NewProposalValidatorVotingPowerSnapshotRow(id int64, proposalID int64, validatorAddr string, votingPower int64, ...) ProposalValidatorVotingPowerSnapshotRow + type SlashingParamsRow struct + Height int64 + OneRowID bool + Params string + func NewSlashingParamsRow(params string, height int64) SlashingParamsRow + type StakingParamsRow struct + Height int64 + OneRowID bool + Params string + type StakingPoolRow struct + BondedTokens int64 + Height int64 + NotBondedTokens int64 + OneRowID bool + func NewStakingPoolRow(bondedTokens, notBondedTokens int64, height int64) StakingPoolRow + func (r StakingPoolRow) Equal(s StakingPoolRow) bool + type SupplyRow struct + Coins *DbCoins + Height int64 + OneRowID bool + func NewSupplyRow(coins DbCoins, height int64) SupplyRow + func (v SupplyRow) Equals(w SupplyRow) bool + type TallyResultRow struct + Abstain string + Height int64 + No string + NoWithVeto string + ProposalID int64 + Yes string + func NewTallyResultRow(proposalID int64, yes string, abstain string, no string, noWithVeto string, ...) TallyResultRow + func (w TallyResultRow) Equals(v TallyResultRow) bool + type TokenPriceRow struct + ID string + MarketCap int64 + Name string + Price float64 + Timestamp time.Time + func NewTokenPriceRow(name string, currentPrice float64, marketCap int64, timestamp time.Time) TokenPriceRow + func (u TokenPriceRow) Equals(v TokenPriceRow) bool + type TokenRow struct + Name string + TradedUnit string + type TokenUnitRow struct + Aliases pq.StringArray + Denom string + Exponent int + PriceID sql.NullString + TokenName string + type ValidatorCommissionRow struct + Commission sql.NullString + Height int64 + MinSelfDelegation sql.NullString + OperatorAddress string + func NewValidatorCommissionRow(operatorAddress string, commission string, minSelfDelegation string, ...) ValidatorCommissionRow + func (v ValidatorCommissionRow) Equal(w ValidatorCommissionRow) bool + type ValidatorData struct + ConsAddress string + ConsPubKey string + Height int64 + MaxChangeRate string + MaxRate string + SelfDelegateAddress string + ValAddress string + func NewValidatorData(consAddress, valAddress, consPubKey, selfDelegateAddress, maxRate, ... string, ...) ValidatorData + func (v ValidatorData) GetConsAddr() string + func (v ValidatorData) GetConsPubKey() string + func (v ValidatorData) GetHeight() int64 + func (v ValidatorData) GetMaxChangeRate() *sdk.Dec + func (v ValidatorData) GetMaxRate() *sdk.Dec + func (v ValidatorData) GetOperator() string + func (v ValidatorData) GetSelfDelegateAddress() string + type ValidatorDescriptionRow struct + AvatarURL sql.NullString + Details sql.NullString + Height int64 + Identity sql.NullString + Moniker sql.NullString + SecurityContact sql.NullString + ValAddress string + Website sql.NullString + func NewValidatorDescriptionRow(...) ValidatorDescriptionRow + func (w ValidatorDescriptionRow) Equals(v ValidatorDescriptionRow) bool + type ValidatorInfoRow struct + ConsAddress string + Height int64 + MaxChangeRate string + MaxRate string + SelfDelegateAddress string + ValAddress string + func NewValidatorInfoRow(consAddress, valAddress, selfDelegateAddress, maxRate, maxChangeRate string, ...) ValidatorInfoRow + func (v ValidatorInfoRow) Equal(w ValidatorInfoRow) bool + type ValidatorRow struct + ConsAddress string + ConsPubKey string + func NewValidatorRow(consAddress, consPubKey string) ValidatorRow + func (v ValidatorRow) Equal(w ValidatorRow) bool + type ValidatorSigningInfoRow struct + Height int64 + IndexOffset int64 + JailedUntil time.Time + MissedBlocksCounter int64 + StartHeight int64 + Tombstoned bool + ValidatorAddress string + func NewValidatorSigningInfoRow(validatorAddress string, startHeight int64, indexOffset int64, ...) ValidatorSigningInfoRow + func (v ValidatorSigningInfoRow) Equal(w ValidatorSigningInfoRow) bool + type ValidatorStatusRow struct + ConsAddress string + Height int64 + Jailed bool + Status int + Tombstoned bool + func NewValidatorStatusRow(status int, jailed bool, tombstoned bool, consAddess string, height int64) ValidatorStatusRow + func (v ValidatorStatusRow) Equal(w ValidatorStatusRow) bool + type ValidatorVotingPowerRow struct + Height int64 + ValidatorAddress string + VotingPower int64 + func NewValidatorVotingPowerRow(address string, votingPower int64, height int64) ValidatorVotingPowerRow + func (v ValidatorVotingPowerRow) Equal(w ValidatorVotingPowerRow) bool + type VoteRow struct + Height int64 + Option string + ProposalID int64 + Voter string + func NewVoteRow(proposalID int64, voter string, option string, height int64) VoteRow + func (w VoteRow) Equals(v VoteRow) bool