Documentation
¶
Index ¶
- type Account
- type AccountBalance
- type AcknowledgementMessage
- type AnnualProvision
- type AuthzGrant
- type BandwidthParams
- type Block
- type CancelUnbondingDelegationMessage
- type Coin
- type Coins
- type CommunityPool
- type CreateRouteMessage
- type CreateValidatorMessage
- type Cyberlink
- type CyberlinkMessage
- type DMNParams
- type Delegation
- type DelegationMessage
- type DelegationReward
- type DelegationRewardMessage
- type DeleteRouteMessage
- type DenomTrace
- type DepositParams
- type DistributionCommission
- type DistributionParams
- type DistributionReward
- type EditRouteMessage
- type EditRouteNameMessage
- type EditValidatorMessage
- type ExecMessage
- type Fee
- type FeeAllowance
- type GovParams
- type GrantAllowanceMessage
- type GrantMessage
- type GridParams
- type HandleValidatorSignature
- type InvestmintMessage
- type LiquidityPool
- type Message
- type MintParams
- type MultiSendMessage
- type Particle
- type Proposal
- type ProposalDeposit
- type ProposalDepositMessage
- type ProposalTallyResult
- type ProposalVoteMessage
- type ProposerReward
- type RankParams
- type RawBandwidthParams
- type RawDMNParams
- type RawDistributionParams
- type RawGridParams
- type RawMintParams
- type RawRankParams
- type RawSlashingParams
- type RawStakingParams
- type RecvPacketMessage
- type Redelegation
- type RedelegationMessage
- type RevokeAllowanceMessage
- type RevokeMessage
- type Route
- type SendMessage
- type SetWithdrawAddressMessage
- type SignersInfo
- type SlashingParams
- type StakingParams
- type StakingPool
- type SubmitProposalMessage
- type Supply
- type Swap
- type TallyParams
- type Transaction
- type TransferMessage
- type UnbondingDelegation
- type UnbondingDelegationMessage
- type UnjailMessage
- type Validator
- type ValidatorCommission
- type ValidatorDescription
- type ValidatorInfo
- type ValidatorMessageDescription
- type ValidatorPreCommit
- type ValidatorStatus
- type ValidatorVotingPower
- type VoteWeightedMessage
- type VotingParams
- type WeightedVoteOption
- type WithdrawValidatorCommissionMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountBalance ¶
type AcknowledgementMessage ¶
type AcknowledgementMessage struct { SourcePort string `json:"source_port"` // SourceChannel string `json:"source_channel"` // DestinationPort string `json:"destination_port"` // DestinationChannel string `json:"destination_channel"` // Data []byte `json:"data"` // TimeoutTimestamp uint64 `json:"timeout_timestamp"` // Signer string `json:"signer"` // Height int64 `json:"height"` // MsgIndex int64 `json:"msg_index"` // TxHash string `json:"tx_hash"` // }
type AnnualProvision ¶
type AuthzGrant ¶
type BandwidthParams ¶ added in v1.2.0
type BandwidthParams struct { Height int64 `json:"height"` // Params RawBandwidthParams `json:"params"` // }
BandwidthParams represents bandwidth params
type CommunityPool ¶
type CreateRouteMessage ¶ added in v1.2.0
type CreateValidatorMessage ¶
type CreateValidatorMessage struct { Height int64 `json:"height"` // TxHash string `json:"tx_hash"` // MsgIndex int64 `json:"msg_index"` // DelegatorAddress string `json:"delegator_address"` // ValidatorAddress string `json:"validator_address"` // Description ValidatorMessageDescription `json:"description"` // CommissionRates float64 `json:"commission_rates"` // MinSelfDelegation int64 `json:"min_self_delegation"` // Pubkey string `json:"pubkey"` // }
type Cyberlink ¶ added in v1.2.0
type Cyberlink struct { ParticleFrom string `json:"particle_from"` // ParticleTo string `json:"particle_to"` // Neuron string `json:"neuron"` // Timestamp string `json:"timestamp"` // TxHash string `json:"tx_hash"` // Height int64 `json:"height"` // }
Cyberlink represents cyber_link
type CyberlinkMessage ¶ added in v1.1.2
type CyberlinkMessage struct { TxHash string `json:"tx_hash"` // Neuron string `json:"neuron"` // ParticleFrom string `json:"particle_from"` // ParticleTo string `json:"particle_to"` // Height int64 `json:"height"` // MsgIndex int64 `json:"msg_index"` // LinkIndex int64 `json:"link_index"` // }
CyberlinkMessage represents cyber_link message
type DMNParams ¶ added in v1.2.0
type DMNParams struct { Height int64 `json:"height"` // Params RawDMNParams `json:"params"` // }
DMNParams represents RawDMNParams with Height
type Delegation ¶
type DelegationMessage ¶
type DelegationMessage struct { Delegation TxHash string `json:"tx_hash"` // MsgIndex int64 `json:"msg_index"` // }
type DelegationReward ¶
type DelegationRewardMessage ¶
type DeleteRouteMessage ¶ added in v1.2.0
type DenomTrace ¶ added in v0.1.1
type DepositParams ¶
type DepositParams struct { MinDeposit Coins `json:"min_deposit,omitempty"` // MaxDepositPeriod int64 `json:"max_deposit_period,omitempty"` // }
DepositParams contains the data of the deposit parameters of the x/gov module
type DistributionCommission ¶
type DistributionParams ¶
type DistributionParams struct { Height int64 `json:"height"` // Params RawDistributionParams `json:"params"` // }
type DistributionReward ¶
type EditRouteMessage ¶ added in v1.2.0
type EditRouteNameMessage ¶ added in v1.2.0
type EditValidatorMessage ¶
type EditValidatorMessage struct { Height int64 `json:"height"` // Hash string `json:"tx_hash"` // Index int64 `json:"msg_index"` // Description ValidatorMessageDescription `json:"description"` // }
type ExecMessage ¶
type FeeAllowance ¶
type GovParams ¶
type GovParams struct { DepositParams DepositParams `json:"deposit_params"` // VotingParams VotingParams `json:"voting_params"` // TallyParams TallyParams `json:"tally_params"` // Height int64 `json:"height"` // }
type GrantAllowanceMessage ¶
type GrantMessage ¶
type GridParams ¶ added in v1.2.0
type GridParams struct { Height int64 `json:"height"` // Params RawGridParams `json:"params"` // }
GridParams represents RawGridParams with Height
type InvestmintMessage ¶ added in v1.2.0
type InvestmintMessage struct { Height int64 `json:"height"` // MsgIndex int64 `json:"msg_index"` // TxHash string `json:"tx_hash"` // Neuron string `json:"neuron"` // Amount Coin `json:"amount"` // Resource string `json:"resource"` // Length uint64 `json:"length"` // }
InvestmintMessage represents investmint message
type LiquidityPool ¶ added in v0.1.5
type LiquidityPool struct { PoolID uint64 `json:"pool_id"` // ReserveAccountAddress string `json:"reserve_account_address"` // ADenom string `json:"a_denom"` // BDenom string `json:"b_denom"` // PoolCoinDenom string `json:"pool_coin_denom"` // LiquidityA Coin `json:"liquidity_a"` // LiquidityB Coin `json:"liquidity_b"` // }
type MintParams ¶
type MintParams struct { Height int64 `json:"height"` // Params RawMintParams `json:"params"` // }
type MultiSendMessage ¶
type Particle ¶ added in v1.2.0
type Particle struct { Particle string `json:"particle"` // Neuron string `json:"neuron"` // Timestamp string `json:"timestamp"` // TxHash string `json:"tx_hash"` // Height int64 `json:"height"` // }
Particle represents a particle
type Proposal ¶
type Proposal struct { ID uint64 `json:"id"` // Title string `json:"title"` // Description string `json:"description"` // ProposalRoute string `json:"proposal_route"` // ProposalType string `json:"proposal_type"` // ProposerAddress string `json:"proposer_address"` // Status string `json:"status"` // Content []byte `json:"content"` // SubmitTime time.Time `json:"submit_time"` // DepositEndTime time.Time `json:"deposit_end_time"` // VotingStartTime time.Time `json:"voting_start_time"` // VotingEndTime time.Time `json:"voting_end_time"` // }
type ProposalDeposit ¶
type ProposalDepositMessage ¶
type ProposalDepositMessage struct { ProposalDeposit TxHash string `json:"tx_hash"` // MsgIndex int64 `json:"msg_index"` // }
type ProposalTallyResult ¶
type ProposalVoteMessage ¶
type ProposerReward ¶
type RankParams ¶ added in v1.2.0
type RankParams struct { Height int64 `json:"height"` // Params RawRankParams `json:"params"` // }
RankParams represents RParams with Height
type RawBandwidthParams ¶ added in v1.2.0
type RawBandwidthParams struct { RecoveryPeriod uint64 `json:"recovery_period"` // AdjustPricePeriod uint64 `json:"adjust_price_period"` // BasePrice float64 `json:"base_price"` // BaseLoad float64 `json:"base_load"` // MaxBlockBandwidth uint64 `json:"max_block_bandwidth"` // }
RawBandwidthParams represents bandwidth_params
type RawDMNParams ¶ added in v1.2.0
type RawDMNParams struct { MaxSlots int64 `json:"max_slots"` MaxGas int64 `json:"max_gas"` FeeTTL int64 `json:"fee_ttl"` }
RawDMNParams represents dmn_params
type RawDistributionParams ¶ added in v1.2.0
type RawGridParams ¶ added in v1.2.0
type RawGridParams struct {
MaxRoutes int64 `json:"max_routes"` //
}
RawGridParams represents grid_params
type RawMintParams ¶ added in v1.2.0
type RawMintParams struct { MintDenom string `json:"mint_denom"` // InflationRateChange float64 `json:"inflation_rate_change"` // InflationMax float64 `json:"inflation_max"` // InflationMin float64 `json:"inflation_min"` // GoalBonded float64 `json:"goal_bonded"` // BlocksPerYear uint64 `json:"blocks_per_year"` // }
type RawRankParams ¶ added in v1.2.0
type RawRankParams struct { CalculationPeriod int64 `json:"calculation_period"` DampingFactor float64 `json:"damping_factor"` Tolerance float64 `json:"tolerance"` }
RawRankParams represents rank_params
type RawSlashingParams ¶ added in v1.2.0
type RawSlashingParams struct { DowntimeJailDuration time.Duration `json:"downtime_jail_duration"` // SignedBlocksWindow int64 `json:"signed_blocks_window"` // MinSignedPerWindow float64 `json:"min_signed_per_window"` // SlashFractionDoubleSign float64 `json:"slash_fraction_double_sign"` // SlashFractionDowntime float64 `json:"slash_fraction_downtime"` // }
type RawStakingParams ¶ added in v1.2.0
type RawStakingParams struct { UnbondingTime time.Duration `json:"unbonding_time"` // MaxValidators uint64 `json:"max_validators"` // MaxEntries uint64 `json:"max_entries"` // HistoricalEntries uint64 `json:"historical_entries"` // BondDenom string `json:"bond_denom"` // MinCommissionRate float64 `json:"min_commission_rate"` // }
type RecvPacketMessage ¶
type RecvPacketMessage struct { SourcePort string `json:"source_port"` // SourceChannel string `json:"source_channel"` // DestinationPort string `json:"destination_port"` // DestinationChannel string `json:"destination_channel"` // Signer string `json:"signer"` // Data []byte `json:"data"` // TimeoutTimestamp uint64 `json:"timeout_timestamp"` // Height int64 `json:"height"` // MsgIndex int64 `json:"msg_index"` // TxHash string `json:"tx_hash"` // }
type Redelegation ¶
type Redelegation struct { CompletionTime time.Time `json:"completion_time"` // Coin Coin `json:"coin"` // DelegatorAddress string `json:"delegator_address"` // SrcValidatorAddress string `json:"src_validator_address"` // DstValidatorAddress string `json:"dst_validator_address"` // Height int64 `json:"height"` // }
type RedelegationMessage ¶
type RedelegationMessage struct { Redelegation TxHash string `json:"tx_hash"` // MsgIndex int64 `json:"msg_index"` // }
type RevokeAllowanceMessage ¶
type RevokeMessage ¶
type SendMessage ¶
type SignersInfo ¶
type SlashingParams ¶ added in v0.1.9
type SlashingParams struct { Height int64 `json:"height"` // Params RawSlashingParams `json:"params"` // }
type StakingParams ¶
type StakingParams struct { Params RawStakingParams `json:"params"` // Height int64 `json:"height"` // }
type StakingPool ¶
type SubmitProposalMessage ¶
type SubmitProposalMessage struct { Height int64 `json:"height"` // TxHash string `json:"tx_hash"` // MsgIndex int64 `json:"msg_index"` // Proposer string `json:"proposer"` // InitialDeposit Coins `json:"initial_deposit"` // Title string `json:"title"` // Description string `json:"description"` // Type string `json:"type"` // ProposalID uint64 `json:"proposal_id"` // }
type Swap ¶ added in v0.1.4
type Swap struct { Height int64 `json:"height"` // MsgIndex uint32 `json:"msg_index"` // BatchIndex uint32 `json:"batch_index"` // PoolID uint32 `json:"pool_id"` // SwapRequester string `json:"swap_requester"` // OfferCoinDenom string `json:"offer_coin_denom"` // OfferCoinAmount float64 `json:"offer_coin_amount"` // DemandCoinDenom string `json:"demand_coin_denom"` // ExchangedDemandCoinAmount float64 `json:"exchanged_demand_coin_amount"` // TransactedCoinAmount float64 `json:"transacted_coin_amount"` // RemainingOfferCoinAmount float64 `json:"remaining_offer_coin_amount"` // OfferCoinFeeAmount float64 `json:"offer_coin_fee_amount"` // OrderExpiryHeight int64 `json:"order_expiry_height"` // ExchangedCoinFeeAmount float64 `json:"exchanged_coin_fee_amount"` // OrderPrice float64 `json:"order_price"` // SwapPrice float64 `json:"swap_price"` // Success bool `json:"success"` // }
type TallyParams ¶
type TallyParams struct { Quorum float64 `json:"quorum,omitempty"` // Threshold float64 `json:"threshold,omitempty"` // VetoThreshold float64 `json:"veto_threshold,omitempty"` // }
TallyParams contains the tally parameters of the x/gov module
type Transaction ¶
type Transaction struct { Hash string `json:"hash"` // Height int64 `json:"height"` // Success bool `json:"success"` // Messages [][]byte `json:"messages"` // Memo string `json:"memo"` // Signatures []string `json:"signatures"` // Signer string `json:"signer"` // GasWanted int64 `json:"gas_wanted"` // GasUsed int64 `json:"gas_used"` // RawLog string `json:"raw_log"` // Logs []byte `json:"logs"` // SignerInfos []SignersInfo `json:"signer_infos"` // Fee *Fee `json:"fee,omitempty"` // }
type TransferMessage ¶
type UnbondingDelegation ¶
type UnbondingDelegationMessage ¶
type UnbondingDelegationMessage struct { UnbondingDelegation TxHash string `json:"tx_hash"` // MsgIndex int64 `json:"msg_index"` // }
type UnjailMessage ¶
type ValidatorCommission ¶
type ValidatorDescription ¶
type ValidatorDescription struct { OperatorAddress string `json:"operator_address"` // Moniker string `json:"moniker"` // Identity string `json:"identity"` // Website string `json:"website"` // SecurityContact string `json:"security_contact"` // Details string `json:"details"` // Height int64 `json:"height"` // }
type ValidatorInfo ¶
type ValidatorPreCommit ¶ added in v1.2.0
type ValidatorStatus ¶
type ValidatorVotingPower ¶ added in v0.1.11
type VoteWeightedMessage ¶
type VotingParams ¶
type VotingParams struct {
VotingPeriod int64 `json:"voting_period,omitempty"` //
}
VotingParams contains the voting parameters of the x/gov module
type WeightedVoteOption ¶
Source Files
¶
- account.go
- account_balance.go
- annual_provision.go
- authz.go
- bandwidth_params.go
- block.go
- cancel_unbonding_delegation_message.go
- coin.go
- community_pool.go
- create_validator_message.go
- cyberlink.go
- cyberlink_message.go
- delegation.go
- delegation_reward.go
- delegation_reward_message.go
- distribution_commission.go
- distribution_params.go
- distribution_reward.go
- dmn_params.go
- edit_validator_message.go
- fee_allowance.go
- gov_params.go
- grant_allowance_message.go
- grid_params.go
- handle_validator_signature.go
- ibc.go
- investmint_message.go
- liquidity_pool.go
- message.go
- mint_params.go
- multi_send_message.go
- particles.go
- proposal.go
- proposal_deposit.go
- proposal_tally_result.go
- proposal_vote_message.go
- proposer_reward.go
- rank_params.go
- redelegation.go
- revoke_allowance_message.go
- route.go
- send_message.go
- set_withdraw_address_message.go
- slashing_params.go
- staking_params.go
- staking_pool.go
- submit_proposal_message.go
- supply.go
- swap.go
- transaction.go
- unbonding_delegation.go
- unjail_message.go
- validator.go
- validator_commission.go
- validator_description.go
- validator_info.go
- validator_message_description.go
- validator_precommit.go
- validator_status.go
- validator_voting_power.go
- vote_weighted_message.go
- withdraw_validator_commission_message.go