Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultEmulatorConfigName = "default"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountKey ¶
type AccountKey struct {
Type KeyType
Index int
SigAlgo crypto.SignatureAlgorithm
HashAlgo crypto.HashAlgorithm
Context map[string]string
}
AccountKey is config for account key
type Accounts ¶
type Accounts []Account
func (*Accounts) GetByAddress ¶
GetByAddress get account by address
type Config ¶
type Config struct {
Emulators Emulators
Contracts Contracts
Networks Networks
Accounts Accounts
Deployments Deployments
}
type Contracts ¶
type Contracts []Contract
func (*Contracts) GetByNameAndNetwork ¶
GetByNameAndNetwork get contract array for account and network
func (*Contracts) GetByNetwork ¶
GetByNetwork returns all contracts for specific network
type Deploy ¶
type Deploy struct {
Network string // network name to deploy to
Account string // account name to which to deploy to
Contracts []string // contracts names to deploy
}
Deploy structure for contract
type Deployments ¶
type Deployments []Deploy
func (*Deployments) GetByAccountAndNetwork ¶
func (d *Deployments) GetByAccountAndNetwork(account string, network string) []Deploy
GetByAccountAndNetwork get deploy by account and network
func (*Deployments) GetByNetwork ¶
func (d *Deployments) GetByNetwork(network string) Deployments
GetByNetwork get all deployments by network
Click to show internal directories.
Click to hide internal directories.