Versions in this module Expand all Collapse all v6 v6.0.1 Jun 24, 2024 v6.0.0 Jun 20, 2024 Changes in this version + func BindFlagsLoadViper(cmd *cobra.Command, _ []string) error + func ConvertValidatorAddressToBech32String(address types.Address) string + func ConvertValidatorPubKeyToBech32String(pubKey tmcrypto.PubKey) (string, error) + func FindAttributeByKey(event abci.Event, attrKey string) (abci.EventAttribute, error) + func FindEventByType(events []abci.Event, eventType string) (abci.Event, error) + func FindEventsByType(events []abci.Event, eventType string) []abci.Event + type AuthInfo struct + Fee *Fee + SignerInfos []*SignerInfo + 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 Fee struct + GasLimit uint64 + type HeightQueue chan int64 + func NewQueue(size int) HeightQueue + type Message interface + GetBytes func() json.RawMessage + GetIndex func() int + GetType func() string + func UnmarshalMessage(index int, rawMsg json.RawMessage) (Message, error) + type SignerInfo struct + ModeInfo json.RawMessage + PublicKey json.RawMessage + Sequence uint64 + type StandardMessage struct + Bytes json.RawMessage + Index int + Type string + func NewStandardMessage(index int, msgType string, bytes json.RawMessage) *StandardMessage + func (msg *StandardMessage) GetBytes() json.RawMessage + func (msg *StandardMessage) GetIndex() int + func (msg *StandardMessage) GetType() string + func (msg *StandardMessage) MarshalJSON() ([]byte, error) + func (msg *StandardMessage) UnmarshalJSON(data []byte) error + type Transaction struct + func NewTransaction(txResponse *TxResponse, tx *Tx) (*Transaction, error) + func (tx Transaction) FindAttributeByKey(event sdk.StringEvent, attrKey string) (string, error) + func (tx Transaction) FindEventByType(index int, eventType string) (sdk.StringEvent, error) + func (tx Transaction) Successful() bool + type Tx struct + AuthInfo *AuthInfo + Body *TxBody + type TxBody struct + Messages []Message + TimeoutHeight uint64 + func (tb *TxBody) UnmarshalJSON(data []byte) error + type TxResponse struct + GasUsed uint64 + GasWanted uint64 + Height uint64 + Tx *Tx + type Validator struct + ConsAddr string + ConsPubKey string + func NewValidator(consAddr string, consPubKey string) *Validator Other modules containing this package github.com/forbole/juno/v2 github.com/forbole/juno/v3 github.com/forbole/juno/v4 github.com/forbole/juno/v5