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
type ManageContractMethodBlockedListProposalJSON ¶ added in v1.0.0
type ManageContractMethodBlockedListProposalJSON struct { Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` ContractList types.BlockedContractList `json:"contract_addresses" yaml:"contract_addresses"` IsAdded bool `json:"is_added" yaml:"is_added"` Deposit sdk.SysCoins `json:"deposit" yaml:"deposit"` }
ManageContractMethodBlockedListProposalJSON defines a ManageContractMethodBlockedListProposal with a deposit used to parse manage contract method blocked list proposals from a JSON file.
func ParseManageContractMethodBlockedListProposalJSON ¶ added in v1.0.0
func ParseManageContractMethodBlockedListProposalJSON(cdc *codec.Codec, proposalFilePath string) ( proposal ManageContractMethodBlockedListProposalJSON, err error)
ParseManageContractMethodBlockedListProposalJSON parses json from proposal file to ManageContractBlockedListProposalJSON struct
type ManageSysContractAddressProposalJSON ¶ added in v1.6.6
type ManageSysContractAddressProposalJSON struct { Title string `json:"title" yaml:"title"` Description string `json:"description" yaml:"description"` // Contract Address ContractAddr sdk.AccAddress `json:"contract_address" yaml:"contract_address"` IsAdded bool `json:"is_added" yaml:"is_added"` Deposit sdk.SysCoins `json:"deposit" yaml:"deposit"` }
ManageSysContractAddressProposalJSON defines a ManageSysContractAddressProposal with a deposit used to parse manage system contract address proposals from a JSON file.
func ParseManageSysContractAddressProposalJSON ¶ added in v1.6.6
func ParseManageSysContractAddressProposalJSON(cdc *codec.Codec, proposalFilePath string) ( proposal ManageSysContractAddressProposalJSON, err error)
ManageSysContractAddressProposalJSON parses json from proposal file to ManageSysContractAddressProposal struct
type ResponseBlockContract ¶ added in v1.0.0
type ResponseBlockContract struct { Address string `json:"address" yaml:"address"` BlockMethods types.ContractMethods `json:"block_methods" yaml:"block_methods"` }
type ResponseSysContractAddress ¶ added in v1.6.6
type ResponseSysContractAddress struct {
Address string `json:"address" yaml:"address"`
}