Documentation
¶
Index ¶
- type Account
- type AppState
- type AppStateEvidence
- type Auth
- type AuthInfo
- type AuthParams
- type Balance
- type Bank
- type BankParams
- type BankParamsSendEnabled
- type BaseAccount
- type BaseVestingAccount
- type Block
- type Body
- type Capability
- type Chainmain
- type ChannelGenesis
- type ClientGenesis
- type ClientGenesisParams
- type Commission
- type CommissionRates
- type ConnectionGenesis
- type ConsensusParams
- type ConsensusParamsEvidence
- type ConsensusParamsValidator
- type ConsensusPubkey
- type CreateGenesisValidatorParams
- type DenomMetadatum
- type DenomUnit
- type DepositParams
- type Description
- type Distribution
- type DistributionParams
- type Fee
- type FeePool
- type GenTx
- type Genesis
- type Genutil
- type Gov
- type Ibc
- type MinDeposit
- type Mint
- type MintParams
- type Minter
- type ModeInfo
- type PubKey
- type PublicKey
- type SignerInfo
- type Single
- type Slashing
- type SlashingParams
- type Staking
- type StakingParams
- type StakingValidator
- type Supply
- type TallyParams
- type Transfer
- type TransferParams
- type Upgrade
- type Validator
- type Vesting
- type VotingParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
Type string `json:"@type"`
Address *string `json:"address,omitempty"`
PubKey interface{} `json:"pub_key"`
AccountNumber *string `json:"account_number,omitempty"`
Sequence *string `json:"sequence,omitempty"`
BaseVestingAccount *BaseVestingAccount `json:"base_vesting_account,omitempty"`
BaseAccount *BaseAccount `json:"base_account,omitempty"`
ModuleAccountName *string `json:"name,omitempty"`
ModuleAccountPermissions []string `json:"permissions,omitempty"`
}
type AppState ¶
type AppState struct {
Auth Auth `json:"auth"`
Bank Bank `json:"bank"`
Capability Capability `json:"capability"`
Chainmain Chainmain `json:"chainmain"`
Distribution Distribution `json:"distribution"`
Evidence AppStateEvidence `json:"evidence"`
Genutil Genutil `json:"genutil"`
Gov Gov `json:"gov"`
Ibc Ibc `json:"ibc"`
Mint Mint `json:"mint"`
Params interface{} `json:"params"`
Slashing Slashing `json:"slashing"`
Staking Staking `json:"staking"`
Supply Supply `json:"supply"`
Transfer Transfer `json:"transfer"`
Upgrade Upgrade `json:"upgrade"`
Vesting Vesting `json:"vesting"`
}
type AppStateEvidence ¶
type AppStateEvidence struct {
Evidence []interface{} `json:"evidence"`
}
type Auth ¶
type Auth struct {
Params AuthParams `json:"params"`
Accounts []Account `json:"accounts"`
}
type AuthInfo ¶
type AuthInfo struct {
SignerInfos []SignerInfo `json:"signer_infos"`
Fee Fee `json:"fee"`
}
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 Balance ¶
type Balance struct {
Address string `json:"address"`
Coins []MinDeposit `json:"coins"`
}
type Bank ¶
type Bank struct {
Params BankParams `json:"params"`
Balances []Balance `json:"balances"`
Supply []interface{} `json:"supply"`
DenomMetadata []DenomMetadatum `json:"denom_metadata"`
}
type BankParams ¶
type BankParams struct {
SendEnabled []BankParamsSendEnabled `json:"send_enabled"`
DefaultSendEnabled bool `json:"default_send_enabled"`
}
type BankParamsSendEnabled ¶
type BaseAccount ¶
type BaseVestingAccount ¶
type BaseVestingAccount struct {
BaseAccount BaseAccount `json:"base_account"`
OriginalVesting []MinDeposit `json:"original_vesting"`
DelegatedFree []interface{} `json:"delegated_free"`
DelegatedVesting []interface{} `json:"delegated_vesting"`
EndTime string `json:"end_time"`
}
type Capability ¶
type Capability struct {
Index string `json:"index"`
Owners []interface{} `json:"owners"`
}
type ChannelGenesis ¶
type ChannelGenesis struct {
ACKSequences []interface{} `json:"ack_sequences"`
Acknowledgements []interface{} `json:"acknowledgements"`
Channels []interface{} `json:"channels"`
Commitments []interface{} `json:"commitments"`
NextChannelSequence string `json:"next_channel_sequence"`
Receipts []interface{} `json:"receipts"`
RecvSequences []interface{} `json:"recv_sequences"`
SendSequences []interface{} `json:"send_sequences"`
}
type ClientGenesis ¶
type ClientGenesis struct {
Clients []interface{} `json:"clients"`
ClientsConsensus []interface{} `json:"clients_consensus"`
ClientsMetadata []interface{} `json:"clients_metadata"`
CreateLocalhost bool `json:"create_localhost"`
NextClientSequence string `json:"next_client_sequence"`
Params ClientGenesisParams `json:"params"`
}
type ClientGenesisParams ¶
type ClientGenesisParams struct {
AllowedClients []string `json:"allowed_clients"`
}
type Commission ¶
type Commission struct {
CommissionRates CommissionRates `json:"commission_rates"`
UpdateTime string `json:"update_time"`
}
type CommissionRates ¶
type ConnectionGenesis ¶
type ConnectionGenesis struct {
ClientConnectionPaths []interface{} `json:"client_connection_paths"`
Connections []interface{} `json:"connections"`
NextConnectionSequence string `json:"next_connection_sequence"`
}
type ConsensusParams ¶
type ConsensusParams struct {
Block Block `json:"block"`
Evidence ConsensusParamsEvidence `json:"evidence"`
Validator ConsensusParamsValidator `json:"validator"`
Version Chainmain `json:"version"`
}
type ConsensusParamsEvidence ¶
type ConsensusParamsValidator ¶
type ConsensusParamsValidator struct {
PubKeyTypes []string `json:"pub_key_types"`
}
type ConsensusPubkey ¶
type CreateGenesisValidatorParams ¶
type CreateGenesisValidatorParams struct {
Status constants.Status `json:"status"`
Description model.ValidatorDescription `json:"description"`
Commission model.ValidatorCommission `json:"commission"`
MinSelfDelegation string `json:"minSelfDelegation"`
DelegatorAddress string `json:"delegatorAddress"`
ValidatorAddress string `json:"validatorAddress"`
TendermintPubkey string `json:"tendermintPubkey"`
Amount coin.Coin `json:"amount"`
Jailed bool `json:"jailed"`
}
type DenomMetadatum ¶
type DepositParams ¶
type DepositParams struct {
MaxDepositPeriod string `json:"max_deposit_period"`
MinDeposit []MinDeposit `json:"min_deposit"`
}
type Description ¶
type Distribution ¶
type Distribution struct {
DelegatorStartingInfos []interface{} `json:"delegator_starting_infos"`
DelegatorWithdrawInfos []interface{} `json:"delegator_withdraw_infos"`
FeePool FeePool `json:"fee_pool"`
OutstandingRewards []interface{} `json:"outstanding_rewards"`
Params DistributionParams `json:"params"`
PreviousProposer string `json:"previous_proposer"`
ValidatorAccumulatedCommissions []interface{} `json:"validator_accumulated_commissions"`
ValidatorCurrentRewards []interface{} `json:"validator_current_rewards"`
ValidatorHistoricalRewards []interface{} `json:"validator_historical_rewards"`
ValidatorSlashEvents []interface{} `json:"validator_slash_events"`
}
type DistributionParams ¶
type Genesis ¶
type Genesis struct {
GenesisTime string `json:"genesis_time"`
ChainID string `json:"chain_id"`
InitialHeight string `json:"initial_height"`
ConsensusParams ConsensusParams `json:"consensus_params"`
AppHash string `json:"app_hash"`
AppState AppState `json:"app_state"`
Validators []Validator `json:"validators"`
}
type Gov ¶
type Gov struct {
DepositParams DepositParams `json:"deposit_params"`
Deposits []interface{} `json:"deposits"`
Proposals []interface{} `json:"proposals"`
StartingProposalID string `json:"starting_proposal_id"`
TallyParams TallyParams `json:"tally_params"`
Votes []interface{} `json:"votes"`
VotingParams VotingParams `json:"voting_params"`
}
type Ibc ¶
type Ibc struct {
ChannelGenesis ChannelGenesis `json:"channel_genesis"`
ClientGenesis ClientGenesis `json:"client_genesis"`
ConnectionGenesis ConnectionGenesis `json:"connection_genesis"`
}
type MinDeposit ¶
type Mint ¶
type Mint struct {
Minter Minter `json:"minter"`
Params MintParams `json:"params"`
}
type MintParams ¶
type SignerInfo ¶
type Slashing ¶
type Slashing struct {
MissedBlocks []interface{} `json:"missed_blocks"`
Params SlashingParams `json:"params"`
SigningInfos []interface{} `json:"signing_infos"`
}
type SlashingParams ¶
type SlashingParams struct {
DowntimeJailDuration string `json:"downtime_jail_duration"`
MinSignedPerWindow string `json:"min_signed_per_window"`
SignedBlocksWindow string `json:"signed_blocks_window"`
SlashFractionDoubleSign string `json:"slash_fraction_double_sign"`
SlashFractionDowntime string `json:"slash_fraction_downtime"`
}
type Staking ¶
type Staking struct {
Delegations []interface{} `json:"delegations"`
Exported bool `json:"exported"`
LastTotalPower string `json:"last_total_power"`
LastValidatorPowers []interface{} `json:"last_validator_powers"`
Params StakingParams `json:"params"`
Redelegations []interface{} `json:"redelegations"`
UnbondingDelegations []interface{} `json:"unbonding_delegations"`
Validators []StakingValidator `json:"validators"`
}
type StakingParams ¶
type StakingValidator ¶
type StakingValidator struct {
Commission Commission `json:"commission"`
ConsensusPubkey ConsensusPubkey `json:"consensus_pubkey"`
Description Description `json:"description"`
Jailed bool `json:"jailed"`
MinSelfDelegation string `json:"min_self_delegation"`
OperatorAddress string `json:"operator_address"`
Status string `json:"status"`
Tokens string `json:"tokens"`
UnbondingHeight string `json:"unbonding_height"`
UnbondingTime string `json:"unbonding_time"`
}
type TallyParams ¶
type Transfer ¶
type Transfer struct {
DenomTraces []interface{} `json:"denom_traces"`
Params TransferParams `json:"params"`
PortID string `json:"port_id"`
}
type TransferParams ¶
type VotingParams ¶
type VotingParams struct {
VotingPeriod string `json:"voting_period"`
}
Click to show internal directories.
Click to hide internal directories.