Documentation ¶
Index ¶
- Constants
- func FindDirectories() []string
- type BrownieCompilerSettings
- type DeploymentProvider
- func (dp *DeploymentProvider) CheckIfProviderStructure(directory string) bool
- func (dp *DeploymentProvider) GetConfig(configName string, projectDir string) (*providers.Config, error)
- func (dp *DeploymentProvider) GetContracts(buildDir string, networkIDs []string, objects ...*model.StateObject) ([]providers.Contract, int, error)
- func (*DeploymentProvider) GetProviderName() providers.DeploymentProviderName
- func (dp *DeploymentProvider) MustGetConfig() (*providers.Config, error)
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 DeploymentProvider ¶
type DeploymentProvider struct { }
func NewDeploymentProvider ¶
func NewDeploymentProvider() *DeploymentProvider
func (*DeploymentProvider) CheckIfProviderStructure ¶
func (dp *DeploymentProvider) CheckIfProviderStructure(directory string) bool
func (*DeploymentProvider) GetContracts ¶
func (dp *DeploymentProvider) GetContracts( buildDir string, networkIDs []string, objects ...*model.StateObject, ) ([]providers.Contract, int, error)
func (*DeploymentProvider) GetProviderName ¶
func (*DeploymentProvider) GetProviderName() providers.DeploymentProviderName
func (*DeploymentProvider) MustGetConfig ¶
func (dp *DeploymentProvider) MustGetConfig() (*providers.Config, error)
Click to show internal directories.
Click to hide internal directories.