contractcompiler

package
v0.0.0-...-61fb7ef Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const SOLC string = "solc"

Variables

This section is empty.

Functions

This section is empty.

Types

type ContractJson

type ContractJson struct {
	Filename        string `json:"filename"`
	Interface       string `json:"interface"`
	Bytecode        string `json:"bytecode"`
	ContractAddress string `json:"address"`
	Json            string `json:"json"`
}

func Compile

func Compile(fileName string, publicKeys []string, ethClient client.EthClient, private bool, contNameMap map[string]string, contTimeMap map[string]string, abiMap map[string]string) []ContractJson

type JsonFormatted

type JsonFormatted struct {
	Abi      interface{} `json:"interface"`
	Bytecode string      `json:"bytecode"`
	Address  string      `json:"address"`
}

Jump to

Keyboard shortcuts

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