utils

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DevelopmentFundDistributionProposalJSON

type DevelopmentFundDistributionProposalJSON struct {
	Title       string         `json:"title" yaml:"title"`
	Description string         `json:"description" yaml:"description"`
	Amount      sdk.Coins      `json:"amount" yaml:"amount"`
	Recipient   sdk.AccAddress `json:"recipient" yaml:"recipient"`
}

func ParseDevelopmentFundDistributionProposalJSON

func ParseDevelopmentFundDistributionProposalJSON(cdc *codec.Codec, proposalFile string) (DevelopmentFundDistributionProposalJSON, error)

type SecurityTokenFundDistributionProposalJSON

type SecurityTokenFundDistributionProposalJSON struct {
	Title       string             `json:"title" yaml:"title"`
	Description string             `json:"description" yaml:"description"`
	Recipients  []types.Recipients `json:"recipients" yaml:"recipients"`
}

func ParseSecurityTokenFundDistributionProposalJSON

func ParseSecurityTokenFundDistributionProposalJSON(cdc *codec.Codec, proposalFile string) (SecurityTokenFundDistributionProposalJSON, error)

Jump to

Keyboard shortcuts

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