maker

package
v0.0.0-...-c187892 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2016 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountTypeIntro

func AccountTypeIntro(account *definitions.AccountType) string

func AccountTypeManualAnother

func AccountTypeManualAnother() string

func AccountTypeManualIntro

func AccountTypeManualIntro() string

func AccountTypeManualPerms

func AccountTypeManualPerms() []string

todo: this should autopopulate, but for later.

func AccountTypeManualPermsQuestion

func AccountTypeManualPermsQuestion(perm string) string

func AccountTypeManualSave

func AccountTypeManualSave() string

func AccountTypeManualToBond

func AccountTypeManualToBond() string

func AccountTypeManualTokens

func AccountTypeManualTokens() string

func AccountTypeToBond

func AccountTypeToBond(account *definitions.AccountType) string

func AccountTypeTokens

func AccountTypeTokens(account *definitions.AccountType) string

func ChainsMakePrelimQuestions

func ChainsMakePrelimQuestions() map[string]string

func ChainsMakeWelcome

func ChainsMakeWelcome() string

func LoadAccountType

func LoadAccountType(fileName string) (*definitions.AccountType, error)

func LoadAccountTypes

func LoadAccountTypes() ([]*definitions.AccountType, error)

func LoadChainTypes

func LoadChainTypes(fileName string) (*definitions.ChainType, error)

func MakeAccounts

func MakeAccounts(name, chainType string, accountTypes []*definitions.AccountType) ([]*definitions.Account, error)

func MakeChain

func MakeChain(do *definitions.Do) error

func MakeMintAccount

func MakeMintAccount(account *definitions.Account) *definitions.MintAccount

func MakeMintChain

func MakeMintChain(name string, accounts []*definitions.Account) error

func MakeMintValidator

func MakeMintValidator(account *definitions.Account) *definitions.MintValidator

func MintAccountPermissions

func MintAccountPermissions(perms map[string]int, roles []string) (*definitions.MintAccountPermissions, error)

func MintPermStringToFlag

func MintPermStringToFlag(perm string) (*definitions.MintPermFlag, error)

func MintPermsStringsToPerm

func MintPermsStringsToPerm(perms map[string]int) (*definitions.MintBasePermissions, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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