smartcontract

package
v0.98.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 License: MIT Imports: 30 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommands

func NewCommands() []cli.Command

NewCommands returns 'contract' command.

Types

type ProjectConfig

type ProjectConfig struct {
	Name               string
	SourceURL          string
	SafeMethods        []string
	SupportedStandards []string
	Events             []manifest.Event
	Permissions        []permission
	Overloads          map[string]string `yaml:"overloads,omitempty"`
}

ProjectConfig contains project metadata.

func ParseContractConfig added in v0.94.1

func ParseContractConfig(confFile string) (ProjectConfig, error)

ParseContractConfig reads contract configuration file (.yaml) and returns unmarshalled ProjectConfig.

Jump to

Keyboard shortcuts

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