predeployment

package
v0.7.3-beta3 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateGenesisAccountFromFile

func GenerateGenesisAccountFromFile(
	filepath string,
	constructorArgs []string,
	predeployAddress types.Address,
) (*chain.GenesisAccount, error)

GenerateGenesisAccountFromFile generates an account that is going to be directly inserted into state

func ParseArguments

func ParseArguments(raws []string) ([]interface{}, error)

Types

type ArgParser

type ArgParser struct {
	*strings.Reader
}

func (*ArgParser) Parse

func (p *ArgParser) Parse(input string) (interface{}, error)

Parse parse string and return one input args

func (*ArgParser) PeekRune

func (p *ArgParser) PeekRune() (rune, error)

PeekRune reads one character from the current position without change of the position

Jump to

Keyboard shortcuts

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