truffle

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: GPL-3.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfProviderStructure added in v0.8.0

func CheckIfProviderStructure(directory string) bool

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) GetConfig added in v0.8.0

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

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

Jump to

Keyboard shortcuts

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