Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DelistProposalJSON ¶
type DelistProposalJSON struct { Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` BaseAsset string `json:"base_asset" yaml:"base_asset"` QuoteAsset string `json:"quote_asset" yaml:"quote_asset"` Deposit sdk.DecCoins `json:"deposit" yaml:"deposit"` }
DelistProposalJSON defines a DelistProposal with a deposit used to parse parameter change proposals from a JSON file.
func ParseDelistProposalJSON ¶
func ParseDelistProposalJSON(cdc *codec.Codec, proposalFilePath string) (proposal DelistProposalJSON, err error)
ParseDelistProposalJSON parse json from proposal file to DelistProposalJSON struct
Click to show internal directories.
Click to hide internal directories.