Versions in this module Expand all Collapse all v0 v0.0.2 Aug 30, 2022 Changes in this version + func NewDBSignatures(signaturesList []types.TxSignatures) []string + func ToNullString(value string) sql.NullString + func ToString(value sql.NullString) string + type BlockRow struct + Hash string + Height int64 + PreCommitsNum int64 + ProposerAddress sql.NullString + Timestamp time.Time + TotalGas int64 + TxNum int64 + type DbCoin struct + Amount string + Denom string + func NewDbCoin(coin sdk.Coin) DbCoin + func (coin *DbCoin) Value() (driver.Value, error) + type DbCoins []*DbCoin + func NewDbCoins(coins sdk.Coins) DbCoins + type GenesisRow struct + ChainID string + InitialHeight int64 + OneRowID bool + Time time.Time + func NewGenesisRow(chainID string, time time.Time, initialHeight int64) GenesisRow + func (v GenesisRow) Equal(w GenesisRow) 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 string + Height int64 + MinSelfDelegation sql.NullString + OperatorAddress string + SelfDelegateAddress string + func NewValidatorCommissionRow(operatorAddress, selfDelegateAddress, commission, minSelfDelegation string, ...) ValidatorCommissionRow + func (v ValidatorCommissionRow) Equal(w ValidatorCommissionRow) bool + type ValidatorDescriptionRow struct + Details sql.NullString + Height int64 + Identity sql.NullString + Moniker sql.NullString + SelfDelegateAddress string + ValAddress string + func NewValidatorDescriptionRow(valAddress, selfDelegateAddress, moniker, identity, details string, ...) ValidatorDescriptionRow + func (v ValidatorDescriptionRow) Equal(w ValidatorDescriptionRow) bool + type ValidatorStatusRow struct + ConsAddress string + Height int64 + InActiveSet string + Jailed string + SelfDelegateAddress string + Tombstoned string + func NewValidatorStatusRow(consAddess, selfDelegateAddress, inActiveSet, jailed, tombstoned string, ...) ValidatorStatusRow + func (v ValidatorStatusRow) Equal(w ValidatorStatusRow) bool