deployer

package
v0.0.0-...-f1d979d Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PassportFactoryGasLimit is a minimum gas amount needed to fully deployer passport factory contract with all dependent contracts
	PassportFactoryGasLimit = 4000000

	// PassportGasLimit is a minimum gas amount needed to fully deployer passport contract
	PassportGasLimit = 460000
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Deploy

type Deploy eth.Session

Deploy contains methods to deployer contracts

func New

func New(s *eth.Session) *Deploy

New converts session to Deploy

func (*Deploy) DeployPassport

func (d *Deploy) DeployPassport(ctx context.Context, passportFactoryAddress common.Address) (common.Address, error)

DeployPassport deploys only Passport contract using existing PassportFactory contract

func (*Deploy) DeployPassportFactory

func (d *Deploy) DeployPassportFactory(ctx context.Context) (common.Address, error)

DeployPassportFactory deploys PassportFactory contract and all contracts needed in order to deployer it

Jump to

Keyboard shortcuts

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