utils

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 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