Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ModVersion string
ModVersion contains `pkg/interop` module version suitable to be used in go.mod.
Functions ¶
Types ¶
type ProjectConfig ¶
type ProjectConfig struct {
Name string
SourceURL string
SafeMethods []string
SupportedStandards []string
Events []compiler.HybridEvent
Permissions []permission
Overloads map[string]string `yaml:"overloads,omitempty"`
NamedTypes map[string]binding.ExtendedType `yaml:"namedtypes,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.
Click to show internal directories.
Click to hide internal directories.