utils

package
v1.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2022 License: Apache-2.0 Imports: 3 Imported by: 1

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.SysCoins `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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL