Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManageContractBlockedListProposalJSON ¶
type ManageContractBlockedListProposalJSON struct { Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` ContractAddrs types.AddressList `json:"contract_addresses" yaml:"contract_addresses"` IsAdded bool `json:"is_added" yaml:"is_added"` Deposit sdk.SysCoins `json:"deposit" yaml:"deposit"` }
ManageContractBlockedListProposalJSON defines a ManageContractBlockedListProposal with a deposit used to parse manage blocked list proposals from a JSON file.
func ParseManageContractBlockedListProposalJSON ¶
func ParseManageContractBlockedListProposalJSON(cdc *codec.Codec, proposalFilePath string) ( proposal ManageContractBlockedListProposalJSON, err error)
ParseManageContractBlockedListProposalJSON parses json from proposal file to ManageContractBlockedListProposalJSON struct
type ManageContractDeploymentWhitelistProposalJSON ¶
type ManageContractDeploymentWhitelistProposalJSON struct { Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` DistributorAddrs types.AddressList `json:"distributor_addresses" yaml:"distributor_addresses"` IsAdded bool `json:"is_added" yaml:"is_added"` Deposit sdk.SysCoins `json:"deposit" yaml:"deposit"` }
ManageContractDeploymentWhitelistProposalJSON defines a ManageContractDeploymentWhitelistProposal with a deposit used to parse manage whitelist proposals from a JSON file.
func ParseManageContractDeploymentWhitelistProposalJSON ¶
func ParseManageContractDeploymentWhitelistProposalJSON(cdc *codec.Codec, proposalFilePath string) ( proposal ManageContractDeploymentWhitelistProposalJSON, err error)
ParseManageContractDeploymentWhitelistProposalJSON parses json from proposal file to ManageContractDeploymentWhitelistProposalJSON struct
Click to show internal directories.
Click to hide internal directories.