brownie

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BrownieContractDirectoryPath  = "contracts"
	BrownieContractDeploymentPath = "deployments"
	BrownieContractMapFile        = "map.json"

	BrownieDependencySeparator = "packages"
)

Variables

This section is empty.

Functions

func FindDirectories

func FindDirectories() []string

Types

type BrownieCompilerSettings

type BrownieCompilerSettings struct {
	Compiler providers.Compiler `json:"compiler,omitempty" yaml:"compiler,omitempty"`
}

type DeploymentProvider

type DeploymentProvider struct {
}

func NewDeploymentProvider

func NewDeploymentProvider() *DeploymentProvider

func (*DeploymentProvider) CheckIfProviderStructure

func (dp *DeploymentProvider) CheckIfProviderStructure(directory string) bool

func (*DeploymentProvider) GetConfig

func (dp *DeploymentProvider) GetConfig(configName string, projectDir string) (*providers.Config, error)

func (*DeploymentProvider) GetContracts

func (dp *DeploymentProvider) GetContracts(
	buildDir string,
	networkIDs []string,
	objects ...*model.StateObject,
) ([]providers.Contract, int, error)

func (*DeploymentProvider) GetProviderName

func (*DeploymentProvider) MustGetConfig

func (dp *DeploymentProvider) MustGetConfig() (*providers.Config, error)

Jump to

Keyboard shortcuts

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