Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResultProposal ¶
type ResultProposal struct {
ProposalID int64 `json:"proposal_id"` // ID of the proposal
Type string `json:"type"`
Title string `json:"title"`
Description string `json:"description"`
Level string `json:"level"`
Status string `json:"proposal_status"` // Status of the Proposal
FinalTallyResult types.TallyResult `json:"final_tally_result"` // Result of Tallys
SubmitTime string `json:"submit_time"` // Time of the block where TxGovSubmitProposal was included
DepositEndTime string `json:"deposit_end_time"` // Time that the Proposal would expire if deposit amount isn't met
TotalDeposit btypes.BigInt `json:"total_deposit"` // Current deposit on this proposal. Initial value is set at InitialDeposit
VotingStartTime string `json:"voting_start_time"` // Time of the block where MinDeposit was reached. -1 if MinDeposit is not reached
VotingStartHeight int64 `json:"voting_start_height"`
VotingEndTime string `json:"voting_end_time"` // Time that the VotingPeriod for this proposal will end and votes will be tallied
}
type TxResponseResult ¶
type TxResponseResult struct {
Height int64 `json:"height"`
TxHash string `json:"txhash"`
Code uint32 `json:"code,omitempty"`
Data string `json:"data,omitempty"`
RawLog string `json:"raw_log,omitempty"`
Info string `json:"info,omitempty"`
GasWanted int64 `json:"gas_wanted,omitempty"`
GasUsed int64 `json:"gas_used,omitempty"`
Codespace string `json:"codespace,omitempty"`
Tx string `json:"tx,omitempty"`
Timestamp string `json:"timestamp,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.