Documentation ¶
Index ¶
- Constants
- type API
- type Accounts
- type Admin
- type AdminAccount
- type AppState
- type AppTOML
- type Auth
- type AuthZ
- type Balances
- type Bank
- type BankParams
- type Block
- type CLP
- type CLPParams
- type Capability
- type ChannelGenesis
- type ClientGenesis
- type ClientGenesisParams
- type Coins
- type Commission
- type ConfigTOML
- type ConnectionGenesis
- type ConnectionGenesisParams
- type Consensus
- type ConsensusParams
- type ConstantFee
- type Crisis
- type Description
- type Dispensation
- type Distribution
- type DistributionParams
- type EpochInfos
- type Epochs
- type Evidence
- type EvidenceState
- type Fastsync
- type Fee
- type FeePool
- type GenTxs
- type GenTxsAuthInfo
- type GenTxsBody
- type GenTxsBodyMessages
- type Genesis
- type Genutil
- type Gov
- type GovDepositParams
- type GovMinDeposit
- type GovTallyParams
- type GovVotingParams
- type Grpc
- type Ibc
- type Instrumentation
- type Key
- type Keys
- type Margin
- type MarginParams
- type Mempool
- type Mint
- type MintParams
- type Minter
- type ModeInfo
- type NodeConfig
- type Oracle
- type P2P
- type Params
- type PoolMultiplier
- type Pubkey
- type PublicKey
- type RPC
- type Registry
- type RegistryEntry
- type RewardPeriod
- type SignerInfos
- type Single
- type Slashing
- type SlashingParams
- type Staking
- type StakingParams
- type StateSync
- type Statesync
- type Supply
- type Telemetry
- type TokenRegistry
- type Transfer
- type TransferParams
- type TxIndex
- type Validator
- type Value
- type Version
Constants ¶
View Source
const (
StakeTokenDenom = "rowan"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { Enable bool `toml:"enable"` Swagger bool `toml:"swagger"` EnabledUnsafeCors bool `toml:"enabled-unsafe-cors"` MaxOpenConnections int `toml:"max-open-connections"` RPCReadTimeout int `toml:"rpc-read-timeout"` RPCWriteTimeout int `toml:"rpc-write-timeout"` RPCMaxBodyBytes int `toml:"rpc-max-body-bytes"` Address string `toml:"address"` }
type Admin ¶ added in v0.13.4
type Admin struct {
AdminAccounts []AdminAccount `json:"admin_accounts"`
}
type AdminAccount ¶ added in v0.13.0
type AppState ¶
type AppState struct { Upgrade struct{} `json:"upgrade"` Ethbridge struct{} `json:"ethbridge"` Params interface{} `json:"params"` Ibc Ibc `json:"ibc"` Distribution Distribution `json:"distribution"` Staking Staking `json:"staking"` Gov Gov `json:"gov"` Mint Mint `json:"mint"` Slashing Slashing `json:"slashing"` Auth Auth `json:"auth"` AuthZ AuthZ `json:"authz"` Bank Bank `json:"bank"` CLP CLP `json:"clp"` Margin Margin `json:"margin"` Transfer Transfer `json:"transfer"` Capability Capability `json:"capability"` Dispensation Dispensation `json:"dispensation"` Oracle Oracle `json:"oracle"` Evidence EvidenceState `json:"evidence"` Genutil Genutil `json:"genutil"` Crisis Crisis `json:"crisis"` TokenRegistry TokenRegistry `json:"tokenregistry"` Admin Admin `json:"admin"` Epochs Epochs `json:"epochs"` }
type AppTOML ¶
type AppTOML struct { MinimumGasPrices string `toml:"minimum-gas-prices"` Pruning string `toml:"pruning"` PruningKeepRecent string `toml:"pruning-keep-recent"` PruningKeepEvery string `toml:"pruning-keep-every"` PruningInterval string `toml:"pruning-interval"` HaltHeight int `toml:"halt-height"` HaltTime int `toml:"halt-time"` MinRetainBlocks int `toml:"min-retain-blocks"` InterBlockCache bool `toml:"inter-block-cache"` IndexEvents []interface{} `toml:"index-events"` Telemetry Telemetry `toml:"telemetry"` API API `toml:"api"` Grpc Grpc `toml:"grpc"` StateSync StateSync `toml:"state-sync"` }
type Bank ¶
type Bank struct { Params BankParams `json:"params"` Balances Balances `json:"balances"` Supply Supply `json:"supply"` DenomMetadata []interface{} `json:"denom_metadata"` }
type BankParams ¶
type BankParams struct { SendEnabled []interface{} `json:"send_enabled"` DefaultSendEnabled bool `json:"default_send_enabled"` }
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 ConfigTOML ¶
type ConfigTOML struct { FastSync bool `toml:"fast_sync"` FilterPeers bool `toml:"filter_peers"` ProxyApp string `toml:"proxy_app"` Moniker string `toml:"moniker"` DbBackend string `toml:"db_backend"` DbDir string `toml:"db_dir"` LogLevel string `toml:"log_level"` LogFormat string `toml:"log_format"` GenesisFile string `toml:"genesis_file"` PrivValidatorKeyFile string `toml:"priv_validator_key_file"` PrivValidatorStateFile string `toml:"priv_validator_state_file"` PrivValidatorLaddr string `toml:"priv_validator_laddr"` NodeKeyFile string `toml:"node_key_file"` Abci string `toml:"abci"` RPC RPC `toml:"rpc"` P2P P2P `toml:"p2p"` Mempool Mempool `toml:"mempool"` Statesync Statesync `toml:"statesync"` Fastsync Fastsync `toml:"fastsync"` Consensus Consensus `toml:"consensus"` TxIndex TxIndex `toml:"tx_index"` Instrumentation Instrumentation `toml:"instrumentation"` }
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 ¶ added in v0.10.1
type ConnectionGenesisParams struct {
MaxExpectedTimePerBlock string `json:"max_expected_time_per_block"`
}
type Consensus ¶
type Consensus struct { WalFile string `toml:"wal_file"` TimeoutPropose string `toml:"timeout_propose"` TimeoutProposeDelta string `toml:"timeout_propose_delta"` TimeoutPrevote string `toml:"timeout_prevote"` TimeoutPrevoteDelta string `toml:"timeout_prevote_delta"` TimeoutPrecommit string `toml:"timeout_precommit"` TimeoutPrecommitDelta string `toml:"timeout_precommit_delta"` TimeoutCommit string `toml:"timeout_commit"` DoubleSignCheckHeight int `toml:"double_sign_check_height"` SkipTimeoutCommit bool `toml:"skip_timeout_commit"` CreateEmptyBlocks bool `toml:"create_empty_blocks"` CreateEmptyBlocksInterval string `toml:"create_empty_blocks_interval"` PeerGossipSleepDuration string `toml:"peer_gossip_sleep_duration"` PeerQueryMaj23SleepDuration string `toml:"peer_query_maj23_sleep_duration"` }
type ConsensusParams ¶
type ConstantFee ¶ added in v0.10.1
type Crisis ¶ added in v0.10.1
type Crisis struct {
ConstantFee ConstantFee `json:"constant_fee"`
}
type Description ¶
type Dispensation ¶
type Dispensation struct { DistributionRecords interface{} `json:"distribution_records"` Distributions interface{} `json:"distributions"` }
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 EpochInfos ¶ added in v1.4.0
type EpochInfos []struct { Identifier string `json:"identifier"` StartTime string `json:"start_time"` Duration string `json:"duration"` CurrentEpoch json.Number `json:"current_epoch"` CurrentEpochStartTime string `json:"current_epoch_start_time"` EpochCountingStarted bool `json:"epoch_counting_started"` CurrentEpochStartHeight json.Number `json:"current_epoch_start_height"` }
type Epochs ¶ added in v1.4.0
type Epochs struct {
Epochs EpochInfos `json:"epochs"`
}
type EvidenceState ¶
type EvidenceState struct {
Evidence []interface{} `json:"evidence"`
}
type GenTxs ¶
type GenTxs []struct { Body GenTxsBody `json:"body"` AuthInfo GenTxsAuthInfo `json:"auth_info"` Signatures []string `json:"signatures"` }
type GenTxsAuthInfo ¶
type GenTxsAuthInfo struct { SignerInfos SignerInfos `json:"signer_infos"` Fee Fee `json:"fee"` }
type GenTxsBody ¶
type GenTxsBody struct { Messages GenTxsBodyMessages `json:"messages"` Memo string `json:"memo"` TimeoutHeight string `json:"timeout_height"` ExtensionOptions []interface{} `json:"extension_options"` NonCriticalExtensionOptions []interface{} `json:"non_critical_extension_options"` }
type GenTxsBodyMessages ¶
type GenTxsBodyMessages []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 Value `json:"value"` }
type Gov ¶
type Gov struct { StartingProposalID string `json:"starting_proposal_id"` Deposits []interface{} `json:"deposits"` Votes []interface{} `json:"votes"` Proposals []interface{} `json:"proposals"` DepositParams GovDepositParams `json:"deposit_params"` VotingParams GovVotingParams `json:"voting_params"` TallyParams GovTallyParams `json:"tally_params"` }
type GovDepositParams ¶
type GovDepositParams struct { MinDeposit GovMinDeposit `json:"min_deposit"` MaxDepositPeriod string `json:"max_deposit_period"` }
type GovMinDeposit ¶
type GovTallyParams ¶
type GovVotingParams ¶
type GovVotingParams struct {
VotingPeriod string `json:"voting_period"`
}
type Ibc ¶
type Ibc struct { ClientGenesis ClientGenesis `json:"client_genesis"` ConnectionGenesis ConnectionGenesis `json:"connection_genesis"` ChannelGenesis ChannelGenesis `json:"channel_genesis"` }
type Instrumentation ¶
type Key ¶
type Key struct { Name string `json:"name" yaml:"name"` KeyType string `json:"type" yaml:"type"` Address string `json:"address" yaml:"address"` PubKey string `json:"pubkey" yaml:"pubkey"` Mnemonic string `json:"mnemonic" yaml:"mnemonic"` Threshold int `json:"threshold" yaml:"threshold"` PubKeys []string `json:"pubkeys" yaml:"pubkeys"` }
type Margin ¶ added in v0.15.0
type Margin struct {
Params MarginParams `json:"params"`
}
type MarginParams ¶ added in v0.15.0
type MarginParams struct { LeverageMax string `json:"leverage_max"` InterestRateMax string `json:"interest_rate_max"` InterestRateMin string `json:"interest_rate_min"` InterestRateIncrease string `json:"interest_rate_increase"` InterestRateDecrease string `json:"interest_rate_decrease"` HealthGainFactor string `json:"health_gain_factor"` EpochLength json.Number `json:"epoch_length,omitempty"` Pools []string `json:"pools,omitempty"` RemovalQueueThreshold string `json:"removal_queue_threshold"` MaxOpenPositions json.Number `json:"max_open_positions"` PoolOpenThreshold string `json:"pool_open_threshold"` ForceCloseFundPercentage string `json:"force_close_fund_percentage"` ForceCloseFundAddress string `json:"force_close_fund_address"` IncrementalInterestPaymentFundPercentage string `json:"incremental_interest_payment_fund_percentage"` IncrementalInterestPaymentFundAddress string `json:"incremental_interest_payment_fund_address"` SqModifier string `json:"sq_modifier"` SafetyFactor string `json:"safety_factor"` ClosedPools []string `json:"closed_pools"` IncrementalInterestPaymentEnabled bool `json:"incremental_interest_payment_enabled"` WhitelistingEnabled bool `json:"whitelisting_enabled"` RowanCollateralEnabled bool `json:"rowan_collateral_enabled"` }
type Mempool ¶
type Mempool struct { Recheck bool `toml:"recheck"` Broadcast bool `toml:"broadcast"` KeepInvalidTxsInCache bool `toml:"keep-invalid-txs-in-cache"` Size int `toml:"size"` MaxTxsBytes int `toml:"max_txs_bytes"` CacheSize int `toml:"cache_size"` MaxTxBytes int `toml:"max_tx_bytes"` MaxBatchBytes int `toml:"max_batch_bytes"` WalDir string `toml:"wal_dir"` }
type Mint ¶
type Mint struct { Minter Minter `json:"minter"` Params MintParams `json:"params"` }
type MintParams ¶
type NodeConfig ¶
type NodeConfig struct { FilterPeers bool `toml:"filter_peers"` FastSync bool `toml:"fast_sync"` ProxyApp string `toml:"proxy_app"` Moniker string `toml:"moniker"` DbBackend string `toml:"db_backend"` DbDir string `toml:"db_dir"` LogLevel string `toml:"log_level"` LogFormat string `toml:"log_format"` GenesisFile string `toml:"genesis_file"` PrivValidatorKeyFile string `toml:"priv_validator_key_file"` PrivValidatorStateFile string `toml:"priv_validator_state_file"` PrivValidatorLaddr string `toml:"priv_validator_laddr"` NodeKeyFile string `toml:"node_key_file"` Abci string `toml:"abci"` ProfLaddr string `toml:"prof_laddr"` Fastsync Fastsync `toml:"fastsync"` P2P P2P `toml:"p2p"` RPC RPC `toml:"rpc"` Consensus Consensus `toml:"consensus"` Mempool Mempool `toml:"mempool"` Instrumentation Instrumentation `toml:"instrumentation"` TxIndex TxIndex `toml:"tx_index"` }
type Oracle ¶
type Oracle struct { AddressWhitelist []interface{} `json:"address_whitelist"` AdminAddress string `json:"admin_address"` }
type P2P ¶
type P2P struct { Upnp bool `toml:"upnp"` AddrBookStrict bool `toml:"addr_book_strict"` Pex bool `toml:"pex"` SeedMode bool `toml:"seed_mode"` AllowDuplicateIP bool `toml:"allow_duplicate_ip"` MaxNumInboundPeers int `toml:"max_num_inbound_peers"` MaxNumOutboundPeers int `toml:"max_num_outbound_peers"` MaxPacketMsgPayloadSize int `toml:"max_packet_msg_payload_size"` SendRate int `toml:"send_rate"` RecvRate int `toml:"recv_rate"` Laddr string `toml:"laddr"` ExternalAddress string `toml:"external_address"` Seeds string `toml:"seeds"` PersistentPeers string `toml:"persistent_peers"` AddrBookFile string `toml:"addr_book_file"` UnconditionalPeerIds string `toml:"unconditional_peer_ids"` PersistentPeersMaxDialPeriod string `toml:"persistent_peers_max_dial_period"` FlushThrottleTimeout string `toml:"flush_throttle_timeout"` PrivatePeerIds string `toml:"private_peer_ids"` HandshakeTimeout string `toml:"handshake_timeout"` DialTimeout string `toml:"dial_timeout"` }
type PoolMultiplier ¶ added in v0.13.0
type RPC ¶
type RPC struct { Unsafe bool `toml:"unsafe"` GrpcMaxOpenConnections int `toml:"grpc_max_open_connections"` MaxOpenConnections int `toml:"max_open_connections"` MaxSubscriptionClients int `toml:"max_subscription_clients"` MaxSubscriptionsPerClient int `toml:"max_subscriptions_per_client"` MaxBodyBytes int `toml:"max_body_bytes"` MaxHeaderBytes int `toml:"max_header_bytes"` TimeoutBroadcastTxCommit string `toml:"timeout_broadcast_tx_commit"` Laddr string `toml:"laddr"` GrpcLaddr string `toml:"grpc_laddr"` TLSCertFile string `toml:"tls_cert_file"` TLSKeyFile string `toml:"tls_key_file"` CorsAllowedOrigins []string `toml:"cors_allowed_origins"` CorsAllowedMethods []string `toml:"cors_allowed_methods"` CorsAllowedHeaders []string `toml:"cors_allowed_headers"` }
type Registry ¶ added in v0.13.0
type Registry struct {
Entries []*RegistryEntry `json:"entries"`
}
type RegistryEntry ¶ added in v0.13.0
type RegistryEntry struct { Decimals int64 `json:"deciamls"` Denom string `json:"denom"` BaseDenom string `json:"base_denom"` Path string `json:"path"` IbcChannelID string `json:"ibc_channel_id"` IbcCounterpartyChannelID string `json:"ibc_counterparty_id"` DisplayName string `json:"display_name"` DisplaySymbol string `json:"display_symbol"` Network string `json:"network"` Address string `json:"address"` ExternalSymbol string `json:"external_symbol"` TransferLimit string `json:"transfer_limit"` Permissions []types.Permission `json:"permissions"` UnitDenom string `json:"unit_denom"` IbcCounterpartyDenom string `json:"ibc_counterparty_denom"` IbcCounterpartyChainID string `json:"ibc_counterparty_chain_id"` }
type RewardPeriod ¶ added in v0.13.0
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 Telemetry ¶
type Telemetry struct { ServiceName string `toml:"service-name"` Enabled bool `toml:"enabled"` EnableHostname bool `toml:"enable-hostname"` EnableHostnameLabel bool `toml:"enable-hostname-label"` EnableServiceLabel bool `toml:"enable-service-label"` PrometheusRetentionTime int `toml:"prometheus-retention-time"` GlobalLabels []interface{} `toml:"global-labels"` }
type TokenRegistry ¶ added in v0.13.0
type TokenRegistry struct {
Registry Registry `json:"registry"`
}
type Transfer ¶
type Transfer struct { PortID string `json:"port_id"` DenomTraces []interface{} `json:"denom_traces"` Params TransferParams `json:"params"` }
type TransferParams ¶
Click to show internal directories.
Click to hide internal directories.