Documentation ¶
Index ¶
- Variables
- type Accounts
- type AppState
- type Auth
- type AuthInfo
- type AuthParams
- type Authz
- type Balances
- type Bank
- type BankParams
- type BaseAccount
- type BaseVestingAccount
- type Blob
- type BlobParams
- type BlobState
- type Body
- type Capability
- type ChannelGenesis
- type ClientGenesis
- type ClientGenesisParams
- type Coins
- type Commission
- type ConnectionGenesis
- type ConnectionGenesisParams
- type Crisis
- type DenomMetadata
- type DepositParams
- type Description
- type Distribution
- type DistributionParams
- type Error
- type Evidence
- type Fee
- type FeePool
- type Feegrant
- type GenTxs
- type Genesis
- type Genutil
- type Gov
- type Ibc
- type Messages
- type Mint
- type Minter
- type ModeInfo
- type NodeInfo
- type Other
- type Proof
- type ProtocolVersion
- type PubKey
- type Pubkey
- type Qgb
- type QgbParams
- type Request
- type Response
- type SignerInfos
- type Single
- type Slashing
- type SlashingParams
- type Staking
- type StakingParams
- type Status
- type Supply
- type SyncInfo
- type TallyParams
- type Transfer
- type TransferParams
- type ValidatorInfo
- type Vesting
- type VotingParams
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrRequest = errors.New("request error")
)
errors
Functions ¶
This section is empty.
Types ¶
type Accounts ¶
type Accounts struct { Type string `json:"@type"` Address string `json:"address,omitempty"` PubKey interface{} `json:"pub_key,omitempty"` AccountNumber string `json:"account_number,omitempty"` Sequence string `json:"sequence,omitempty"` BaseAccount BaseAccount `json:"base_account,omitempty"` BaseVestingAccount BaseVestingAccount `json:"base_vesting_account,omitempty"` Name string `json:"name,omitempty"` Permissions []interface{} `json:"permissions,omitempty"` }
type AppState ¶
type AppState struct { Auth Auth `json:"auth"` Authz Authz `json:"authz"` Bank Bank `json:"bank"` Blob BlobState `json:"blob"` Capability Capability `json:"capability"` Crisis Crisis `json:"crisis"` Distribution Distribution `json:"distribution"` Evidence Evidence `json:"evidence"` Feegrant Feegrant `json:"feegrant"` Genutil Genutil `json:"genutil"` Gov Gov `json:"gov"` Ibc Ibc `json:"ibc"` Mint Mint `json:"mint"` Params interface{} `json:"params"` Qgb Qgb `json:"qgb"` Slashing Slashing `json:"slashing"` Staking Staking `json:"staking"` Transfer Transfer `json:"transfer"` Vesting Vesting `json:"vesting"` }
type Auth ¶
type Auth struct { Params AuthParams `json:"params"` Accounts []Accounts `json:"accounts"` }
type AuthInfo ¶
type AuthInfo struct { SignerInfos []SignerInfos `json:"signer_infos"` Fee Fee `json:"fee"` Tip interface{} `json:"tip"` }
type AuthParams ¶
type AuthParams struct { MaxMemoCharacters string `json:"max_memo_characters"` TxSigLimit string `json:"tx_sig_limit"` TxSizeCostPerByte string `json:"tx_size_cost_per_byte"` SigVerifyCostEd25519 string `json:"sig_verify_cost_ed25519"` SigVerifyCostSecp256K1 string `json:"sig_verify_cost_secp256k1"` }
type Bank ¶
type Bank struct { Params BankParams `json:"params"` Balances []Balances `json:"balances"` Supply []Supply `json:"supply"` DenomMetadata []DenomMetadata `json:"denom_metadata"` }
type BankParams ¶
type BankParams struct { SendEnabled []interface{} `json:"send_enabled"` DefaultSendEnabled bool `json:"default_send_enabled"` }
type BaseAccount ¶
type BaseVestingAccount ¶
type BaseVestingAccount struct { BaseAccount BaseAccount `json:"base_account"` OriginalVesting []Coins `json:"original_vesting"` DelegatedFree []Coins `json:"delegated_free"` DelegatedVesting []Coins `json:"delegated_vesting"` EndTime string `json:"end_time"` }
type BlobParams ¶
type BlobState ¶
type BlobState struct {
Params BlobParams `json:"params"`
}
type Capability ¶
type Capability struct { Index string `json:"index"` Owners []interface{} `json:"owners"` }
type ChannelGenesis ¶
type ChannelGenesis struct { Channels []interface{} `json:"channels"` Acknowledgements []interface{} `json:"acknowledgements"` Commitments []interface{} `json:"commitments"` Receipts []interface{} `json:"receipts"` SendSequences []interface{} `json:"send_sequences"` RecvSequences []interface{} `json:"recv_sequences"` AckSequences []interface{} `json:"ack_sequences"` NextChannelSequence string `json:"next_channel_sequence"` }
type ClientGenesis ¶
type ClientGenesis struct { Clients []interface{} `json:"clients"` ClientsConsensus []interface{} `json:"clients_consensus"` ClientsMetadata []interface{} `json:"clients_metadata"` Params ClientGenesisParams `json:"params"` CreateLocalhost bool `json:"create_localhost"` NextClientSequence string `json:"next_client_sequence"` }
type ClientGenesisParams ¶
type ClientGenesisParams struct {
AllowedClients []string `json:"allowed_clients"`
}
type Commission ¶
type ConnectionGenesis ¶
type ConnectionGenesis struct { Connections []interface{} `json:"connections"` ClientConnectionPaths []interface{} `json:"client_connection_paths"` NextConnectionSequence string `json:"next_connection_sequence"` Params ConnectionGenesisParams `json:"params"` }
type ConnectionGenesisParams ¶
type ConnectionGenesisParams struct {
MaxExpectedTimePerBlock string `json:"max_expected_time_per_block"`
}
type DenomMetadata ¶
type DepositParams ¶
type Description ¶
type Distribution ¶
type Distribution struct { Params DistributionParams `json:"params"` FeePool FeePool `json:"fee_pool"` DelegatorWithdrawInfos []interface{} `json:"delegator_withdraw_infos"` PreviousProposer string `json:"previous_proposer"` OutstandingRewards []interface{} `json:"outstanding_rewards"` ValidatorAccumulatedCommissions []interface{} `json:"validator_accumulated_commissions"` ValidatorHistoricalRewards []interface{} `json:"validator_historical_rewards"` ValidatorCurrentRewards []interface{} `json:"validator_current_rewards"` DelegatorStartingInfos []interface{} `json:"delegator_starting_infos"` ValidatorSlashEvents []interface{} `json:"validator_slash_events"` }
type DistributionParams ¶
type Error ¶
type Error struct { Code int64 `json:"code"` Message string `json:"message"` Data json.RawMessage `json:"data"` }
Error -
type Genutil ¶
type Genutil struct {
GenTxs []json.RawMessage `json:"gen_txs"`
}
type Gov ¶
type Gov struct { StartingProposalID string `json:"starting_proposal_id"` Deposits []interface{} `json:"deposits"` Votes []interface{} `json:"votes"` Proposals []interface{} `json:"proposals"` DepositParams DepositParams `json:"deposit_params"` VotingParams VotingParams `json:"voting_params"` TallyParams TallyParams `json:"tally_params"` }
type Ibc ¶
type Ibc struct { ClientGenesis ClientGenesis `json:"client_genesis"` ConnectionGenesis ConnectionGenesis `json:"connection_genesis"` ChannelGenesis ChannelGenesis `json:"channel_genesis"` }
type Messages ¶
type Messages struct { Type string `json:"@type"` Description Description `json:"description"` Commission Commission `json:"commission"` MinSelfDelegation string `json:"min_self_delegation"` DelegatorAddress string `json:"delegator_address"` ValidatorAddress string `json:"validator_address"` Pubkey Pubkey `json:"pubkey"` Value Coins `json:"value"` EvmAddress string `json:"evm_address"` }
type NodeInfo ¶
type NodeInfo struct { ProtocolVersion ProtocolVersion `json:"protocol_version"` ID string `json:"id"` ListenAddr string `json:"listen_addr"` Network string `json:"network"` Version string `json:"version"` Channels string `json:"channels"` Moniker string `json:"moniker"` Other Other `json:"other"` }
type ProtocolVersion ¶
type QgbParams ¶
type QgbParams struct {
DataCommitmentWindow string `json:"data_commitment_window"`
}
type SignerInfos ¶
type Slashing ¶
type Slashing struct { Params SlashingParams `json:"params"` SigningInfos []interface{} `json:"signing_infos"` MissedBlocks []interface{} `json:"missed_blocks"` }
type SlashingParams ¶
type SlashingParams struct { SignedBlocksWindow string `json:"signed_blocks_window"` MinSignedPerWindow string `json:"min_signed_per_window"` DowntimeJailDuration string `json:"downtime_jail_duration"` SlashFractionDoubleSign string `json:"slash_fraction_double_sign"` SlashFractionDowntime string `json:"slash_fraction_downtime"` }
type Staking ¶
type Staking struct { Params StakingParams `json:"params"` LastTotalPower string `json:"last_total_power"` LastValidatorPowers []interface{} `json:"last_validator_powers"` Validators []interface{} `json:"validators"` Delegations []interface{} `json:"delegations"` UnbondingDelegations []interface{} `json:"unbonding_delegations"` Redelegations []interface{} `json:"redelegations"` Exported bool `json:"exported"` }
type StakingParams ¶
type Status ¶
type Status struct { NodeInfo NodeInfo `json:"node_info"` SyncInfo SyncInfo `json:"sync_info"` ValidatorInfo ValidatorInfo `json:"validator_info"` }
type SyncInfo ¶
type SyncInfo struct { LatestBlockHash []byte `json:"latest_block_hash"` LatestAppHash []byte `json:"latest_app_hash"` LatestBlockHeight pkgTypes.Level `json:"latest_block_height,string"` LatestBlockTime time.Time `json:"latest_block_time"` EarliestBlockHash []byte `json:"earliest_block_hash"` EarliestAppHash []byte `json:"earliest_app_hash"` EarliestBlockHeight pkgTypes.Level `json:"earliest_block_height,string"` EarliestBlockTime time.Time `json:"earliest_block_time"` CatchingUp bool `json:"catching_up"` }
type TallyParams ¶
type Transfer ¶
type Transfer struct { PortID string `json:"port_id"` DenomTraces []interface{} `json:"denom_traces"` Params TransferParams `json:"params"` }
type TransferParams ¶
type ValidatorInfo ¶
type VotingParams ¶
type VotingParams struct {
VotingPeriod string `json:"voting_period"`
}
Click to show internal directories.
Click to hide internal directories.