params

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IssueConfigParams

type IssueConfigParams struct {
	MinDeposit      sdk.Coins `json:"min_deposit"`
	StartingIssueId uint64    `json:"starting_issue_id"`
}

Param Config issue for issue

func (IssueConfigParams) Equal

Checks equality of IssueConfigParams

func (IssueConfigParams) String

func (dp IssueConfigParams) String() string

type IssueParams

type IssueParams struct {
	Name            string  `json:"name"`
	Symbol          string  `json:"symbol"`
	TotalSupply     sdk.Int `json:"total_supply"`
	Decimals        uint    `json:"decimals"`
	Description     string  `json:"description"`
	BurnOff         bool    `json:"burning_off"`
	BurnFromOff     bool    `json:"burning_from_off"`
	BurnAnyOff      bool    `json:"burning_any_off"`
	MintingFinished bool    `json:"minting_finished"`
}

Param issue for issue

type IssueQueryParams

type IssueQueryParams struct {
	StartIssueId string         `json:"start_issue_id"`
	Owner        sdk.AccAddress `json:"owner"`
	Limit        int            `json:"limit"`
}

Param query issue for issue

type Params

type Params struct {
	IssueConfigParams IssueConfigParams `json:"issue_params"`
}

Params returns all of the issue params

func NewParams

func NewParams(config IssueConfigParams) Params

func (Params) String

func (iss Params) String() string

Jump to

Keyboard shortcuts

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