Versions in this module Expand all Collapse all v0 v0.0.2 Aug 30, 2022 Changes in this version + func BindFlagsLoadViper(cmd *cobra.Command, _ []string) error + func ConvertValidatorAddressToBech32String(address types.Address) string + func ConvertValidatorPubKeyToBech32String(pubKey tmcrypto.PubKey) (string, error) + type Block struct + Hash string + Height int64 + ProposerAddress string + Timestamp time.Time + TotalGas uint64 + TxNum int + func NewBlock(height int64, hash string, txNum int, totalGas uint64, proposerAddress string, ...) *Block + func NewBlockFromTmBlock(blk *tmctypes.ResultBlock, totalGas uint64) *Block + type CobraCmdFunc func(cmd *cobra.Command, args []string) error + func ConcatCobraCmdFuncs(fs ...CobraCmdFunc) CobraCmdFunc + type CommitSig struct + Height int64 + ProposerPriority int64 + Timestamp time.Time + ValidatorAddress string + VotingPower int64 + func NewCommitSig(validatorAddress string, votingPower, proposerPriority, height int64, ...) *CommitSig + type DoubleSignEvidence struct + Height int64 + VoteA DoubleSignVote + VoteB DoubleSignVote + func NewDoubleSignEvidence(height int64, voteA DoubleSignVote, voteB DoubleSignVote) DoubleSignEvidence + type DoubleSignVote struct + BlockID string + Height int64 + Round int32 + Signature string + Type int + ValidatorAddress string + ValidatorIndex int32 + func NewDoubleSignVote(roundType int, height int64, round int32, blockID string, ...) DoubleSignVote + type Genesis struct + ChainID string + InitialHeight int64 + Time time.Time + func NewGenesis(chainID string, startTime time.Time, initialHeight int64) *Genesis + type HeightQueue chan int64 + func NewQueue(size int) HeightQueue + type IBCTransfer struct + ReceiveEnabled bool + SendEnabled bool + type IBCTransferParams struct + Height int64 + Params IBCTransfer + func NewIBCTransferParams(params IBCTransfer, height int64) *IBCTransferParams + type InflationResponse struct + Inflation string + type PageResponse struct + NextKey []byte + Total string + type QueryAllBalancesResponse struct + Balances sdk.Coins + Pagination *PageResponse + type StakingPool struct + BondedTokens sdk.Int + Height int64 + NotBondedTokens sdk.Int + func NewStakingPool(bondedTokens sdk.Int, notBondedTokens sdk.Int, height int64) *StakingPool + type Token struct + Name string + Units []TokenUnit + func NewToken(name string, units []TokenUnit) Token + type TokenPrice struct + MarketCap int64 + Price float64 + Timestamp time.Time + UnitName string + func NewTokenPrice(unitName string, price float64, marketCap int64, timestamp time.Time) TokenPrice + type TokenUnit struct + Aliases []string + Denom string + Exponent int + PriceID string + func NewTokenUnit(denom string, exponent int, aliases []string, priceID string) TokenUnit + type TxFee struct + Amount sdk.Coins + Gas string + type TxMsg struct + Type string + Value TxMsgValue + type TxMsgValue struct + Amount sdk.Coin + DelegatorAddress string + ValidatorAddress string + type TxResponse struct + Fee TxFee + Hash string + Height int64 + Memo string + Msg []TxMsg + Signatures []TxSignatures + func NewTxResponse(fee TxFee, memo string, msg []TxMsg, sig []TxSignatures, hash string, ...) TxResponse + type TxSignatures struct + Signature string + type Validator struct + ConsensusAddr string + Height int64 + SelfDelegateAddress string + func NewValidator(consAddr string, selfDelegateAddress string, height int64) Validator + type ValidatorCommission struct + Commission string + Height int64 + MinSelfDelegation string + SelfDelegateAddress string + ValAddress string + func NewValidatorCommission(valAddress, selfDelegateAddress, commission, minSelfDelegation string, ...) ValidatorCommission + type ValidatorDescription struct + Description string + Height int64 + Identity string + Moniker string + OperatorAddress string + SelfDelegateAddress string + func NewValidatorDescription(opAddr, selfDelegateAddress, description, identity string, moniker string, ...) ValidatorDescription + type ValidatorInfo struct + Address string + Commission string + Details string + Identity string + InActiveSet string + Jailed string + MinSelfDelegation string + Moniker string + Tombstoned string + VotingPower string + type ValidatorList struct + Validator ValidatorInfo + type ValidatorStatus struct + ConsensusAddress string + Height int64 + InActiveSet string + Jailed string + SelfDelegateAddress string + Tombstoned string + func NewValidatorStatus(valConsAddr, selfDelegateAddress, inActiveSet, jailed, tombstoned string, ...) ValidatorStatus + type ValidatorVotingPower struct + ConsensusAddress string + Height int64 + SelfDelegateAddress string + VotingPower string + func NewValidatorVotingPower(address, selfDelegateAddress string, votingPower string, height int64) ValidatorVotingPower + type ValidatorsList struct + Validators []ValidatorList