buidler

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuidlerConfig

type BuidlerConfig struct {
	ProjectDirectory string                             `json:"project_directory"`
	BuildDirectory   string                             `json:"contracts_build_directory"`
	Networks         map[string]providers.NetworkConfig `json:"networks"`
	Solc             providers.Compiler                 `json:"solc"`
	ConfigType       string                             `json:"-"`
}

type BuidlerContract

type BuidlerContract struct {
	*providers.Contract
	Address  string         `json:"address"`
	Receipt  buidlerReceipt `json:"receipt"`
	Metadata string         `json:"metadata"`
}

type DeploymentProvider

type DeploymentProvider struct {
	NetworkIdMap map[string]int
}

func NewDeploymentProvider

func NewDeploymentProvider() *DeploymentProvider

func (*DeploymentProvider) GetConfig

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

func (*DeploymentProvider) GetContracts

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

func (*DeploymentProvider) MustGetConfig

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

Jump to

Keyboard shortcuts

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