Documentation ¶
Index ¶
- Constants
- func FindDirectories() []string
- type DeploymentProvider
- func (dp *DeploymentProvider) CheckIfProviderStructure(directory string) bool
- func (dp *DeploymentProvider) GetConfig(configName string, projectDir string) (*providers.Config, error)
- func (*DeploymentProvider) GetProviderName() providers.DeploymentProviderName
- func (dp *DeploymentProvider) MustGetConfig() (*providers.Config, error)
- func (dp *DeploymentProvider) NewContractSource(path string, networkId string, client ethereum.Client) (stacktrace.ContractSource, error)
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) GetProviderName ¶
func (*DeploymentProvider) GetProviderName() providers.DeploymentProviderName
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.
Click to show internal directories.
Click to hide internal directories.