ethereum

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractContracts

func ExtractContracts(containerName, sourceDir, destinationDir string, verbose bool) error

func GenerateAddressAndPrivateKey added in v0.0.47

func GenerateAddressAndPrivateKey() (address string, privateKey string)

Types

type Account added in v0.0.47

type Account struct {
	Address    string `json:"address"`
	PrivateKey string `json:"privateKey"`
}

type CompiledContract added in v0.0.45

type CompiledContract struct {
	ABI      interface{} `json:"abi"`
	Bytecode string      `json:"bin"`
}

type CompiledContracts added in v0.0.45

type CompiledContracts struct {
	Contracts map[string]*CompiledContract `json:"contracts"`
}

func ReadContractJSON added in v1.0.0

func ReadContractJSON(filePath string) (*CompiledContracts, error)

func ReadSolcCompiledContract added in v1.0.0

func ReadSolcCompiledContract(filePath string) (*CompiledContracts, error)

func ReadTruffleCompiledContract added in v0.0.47

func ReadTruffleCompiledContract(filePath string) (*CompiledContracts, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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