openzeppelin

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpenzeppelinConfigFile = "networks.js"
)

Variables

This section is empty.

Functions

func FindDirectories

func FindDirectories() []string

Types

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) GetProviderName

func (*DeploymentProvider) MustGetConfig

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

func (*DeploymentProvider) NewContractSource

func (dp *DeploymentProvider) NewContractSource(path string, networkId string, client ethereum.Client) (stacktrace.ContractSource, error)

NewContractSource builds the Contract Source from the provided config, and scoped to the provided network.

Jump to

Keyboard shortcuts

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