Versions in this module Expand all Collapse all v4 v4.0.0 Jun 26, 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 + Timestamp time.Time + func NewDepositRow(proposalID int64, depositor string, amount DbCoins, timestamp time.Time, ...) 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 InflationRow struct + Height int64 + OneRowID bool + Value float64 + func NewInflationRow(value float64, height int64) InflationRow + func (i InflationRow) Equal(j InflationRow) bool + 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 ProposalRow struct + Content string + DepositEndTime time.Time + Description string + ProposalID uint64 + ProposalRoute string + ProposalType string + Proposer string + Status string + SubmitTime time.Time + Title string + VotingEndTime time.Time + VotingStartTime time.Time + func NewProposalRow(proposalID uint64, proposalRoute string, proposalType string, title 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 SoftwareUpgradePlanRow struct + Height int64 + Info string + PlanName string + ProposalID uint64 + UpgradeHeight int64 + func NewSoftwareUpgradePlanRow(proposalID uint64, planName string, upgradeHeight int64, info string, ...) SoftwareUpgradePlanRow + type StakingParamsRow struct + Height int64 + OneRowID bool + Params string + type StakingPoolRow struct + BondedTokens int64 + Height int64 + NotBondedTokens int64 + OneRowID bool + StakedNotBondedTokens int64 + UnbondingTokens int64 + func NewStakingPoolRow(bondedTokens, notBondedTokens, unbondingTokens, stakedNotBondedTokens 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 + func NewValidatorStatusRow(status int, jailed 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 + Timestamp time.Time + Voter string + func NewVoteRow(proposalID int64, voter string, option string, timestamp time.Time, ...) VoteRow + func (w VoteRow) Equals(v VoteRow) bool Other modules containing this package github.com/forbole/bdjuno/v2 github.com/forbole/bdjuno/v3