Documentation
¶
Index ¶
- func DeployContract(member *types.Member, contract *types.Contract, name string, ...) (string, error)
- func DeployContracts(s *types.Stack, log log.Logger, verbose bool) error
- func ExtractContracts(stackName string, containerName string, dirName string, verbose bool) error
- func ReadCompiledContract(filePath string) (*types.Contract, error)
- func RegisterContract(member *types.Member, contract *types.Contract, contractAddress string, ...) error
- type Alloc
- type CliqueConfig
- type Genesis
- type GenesisConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployContract ¶
func ExtractContracts ¶
Types ¶
type CliqueConfig ¶
type Genesis ¶
type Genesis struct {
Config *GenesisConfig `json:"config"`
Nonce string `json:"nonce"`
Timestamp string `json:"timestamp"`
ExtraData string `json:"extraData"`
GasLimit string `json:"gasLimit"`
Difficulty string `json:"difficulty"`
MixHash string `json:"mixHash"`
Coinbase string `json:"coinbase"`
Alloc map[string]*Alloc `json:"alloc"`
Number string `json:"number"`
GasUsed string `json:"gasUsed"`
ParentHash string `json:"parentHash"`
}
func CreateGenesisJson ¶
func (*Genesis) WriteGenesisJson ¶
type GenesisConfig ¶
type GenesisConfig struct {
ChainId int `json:"chainId"`
HomesteadBlock int `json:"homesteadBlock"`
Eip150Block int `json:"eip150Block"`
Eip150Hash string `json:"eip150Hash"`
Eip155Block int `json:"eip155Block"`
Eip158Block int `json:"eip158Block"`
ByzantiumBlock int `json:"byzantiumBlock"`
ConstantinopleBlock int `json:"constantinopleBlock"`
PetersburgBlock int `json:"petersburgBlock"`
IstanbulBlock int `json:"istanbulBlock"`
Clique *CliqueConfig `json:"clique"`
}
Click to show internal directories.
Click to hide internal directories.