package
0.0.2
Repository: https://github.com/forbole/njuno.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

BindFlagsLoadViper binds all flags and read the config into viper.
ConcatCobraCmdFuncs returns a single function that calls each argument function in sequence RunE, PreRunE, PersistentPreRunE, etc.
ConvertValidatorAddressToBech32String converts the given validator address to its Bech32 string representation.
ConvertValidatorPubKeyToBech32String converts the given pubKey to a Bech32 string.
NewBlock allows to build a new Block instance.
NewBlockFromTmBlock builds a new Block instance from a given ResultBlock object.
NewCommitSig allows to build a new CommitSign object.
NewDoubleSignEvidence return a new DoubleSignEvidence object.
NewDoubleSignVote allows to create a new DoubleSignVote instance.
NewGenesis allows to build a new Genesis instance.
NewIBCTransferParams allows to build a new IBCTransferParams instance.
No description provided by the author
NewStakingPool allows to build a new StakingPool instance.
NewToken allows to build a new Token instance.
NewTokenPrice returns a new TokenPrice instance containing the given data.
NewTokenUnit allows to build a new TokenUnit instance.
NewTxResponse allows to build a new TxResponse instance.
NewValidator allows to build a new Validator instance.
NewValidatorCommission return a new ValidatorCommission instance.
NewValidatorDescription returns a new ValidatorDescription object.
NewValidatorStatus creates a new ValidatorVotingPower.
NewValidatorVotingPower creates a new ValidatorVotingPower.

# Structs

Block contains the data of a single chain block.
CommitSig contains the data of a single validator commit signature.
DoubleSignEvidence represent a double sign evidence on each tendermint block.
DoubleSignVote represents a double vote which is included inside a DoubleSignEvidence.
Genesis contains the useful information about the genesis.
IBCTransfer represents the x/ibc transfer parameters.
IBCTransferParams represents the x/ibc transfer parameters.
InflationResponse contains the data of the current inflation rate.
No description provided by the author
QueryAllBalancesResponse contains the account balance data.
StakingPool contains the data of the staking pool at the given height.
Token represents a valid token inside the chain.
TokenPrice represents the price at a given moment in time of a token unit.
TokenUnit represents a unit of a token.
No description provided by the author
No description provided by the author
No description provided by the author
TxResponse represents a valid transaction response.
No description provided by the author
Validator contains the data of a single validator.
ValidatorCommission contains the data of a validator commission at a given height.
ValidatorDescription contains the description of a validator and timestamp do the description get changed.
No description provided by the author
No description provided by the author
ValidatorsList represents validators list from a file.
ValidatorStatus represents the latest state of a validator.
ValidatorVotingPower represents the voting power of a validator at a specific block height.

# Type aliases

CobraCmdFunc represents a cobra command function.