Documentation ¶
Index ¶
- func CheckIfProviderStructure(directory string) bool
- func FindDirectories() []string
- type DeploymentProvider
- 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 (dp *DeploymentProvider) GetDirectoryStructure() []string
- 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 ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfProviderStructure ¶ added in v0.8.0
func FindDirectories ¶ added in v0.8.0
func FindDirectories() []string
Types ¶
type DeploymentProvider ¶ added in v0.8.0
type DeploymentProvider struct { }
func NewDeploymentProvider ¶ added in v0.8.0
func NewDeploymentProvider() *DeploymentProvider
func (*DeploymentProvider) GetContracts ¶ added in v0.9.0
func (dp *DeploymentProvider) GetContracts( buildDir string, networkIDs []string, objects ...*model.StateObject, ) ([]providers.Contract, int, error)
func (*DeploymentProvider) GetDirectoryStructure ¶ added in v1.5.0
func (dp *DeploymentProvider) GetDirectoryStructure() []string
func (*DeploymentProvider) GetProviderName ¶ added in v0.8.0
func (*DeploymentProvider) GetProviderName() providers.DeploymentProviderName
func (*DeploymentProvider) MustGetConfig ¶ added in v0.8.0
func (dp *DeploymentProvider) MustGetConfig() (*providers.Config, error)
func (*DeploymentProvider) NewContractSource ¶ added in v0.8.0
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.