deployer

package
v0.0.0-...-dc00528 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeployFunc

type DeployFunc func(dep *Deployer) (common.Address, *types.Transaction, error)

type Deployer

type Deployer struct {
	Log    *logan.Entry
	Client *ethclient.Client
	Opts   *bind.TransactOpts
}

Deployer of native contracts.

func New

func New(ctx context.Context, cfg config.Config) (*Deployer, error)

New Deployer.

func (*Deployer) Run

func (d *Deployer) Run(ctx context.Context, tasks []DeployFunc) error

Run deployment tasks.

func (*Deployer) TransactOpts

func (d *Deployer) TransactOpts() *bind.TransactOpts

TransactOpts

Jump to

Keyboard shortcuts

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