Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressMap ¶
AddressMap is a map of address names to their corresponding addresses
type Chain ¶
type Chain struct {
Name string `json:"name"`
ID string `json:"id,omitempty"`
Services ServiceMap `json:"services,omitempty"`
Nodes []Node `json:"nodes"`
Wallets WalletMap `json:"wallets,omitempty"`
JWT string `json:"jwt,omitempty"`
Config *params.ChainConfig `json:"config,omitempty"`
Addresses AddressMap `json:"addresses,omitempty"`
}
type DevnetEnvironment ¶
type DevnetEnvironment struct {
Name string `json:"name"`
L1 *Chain `json:"l1"`
L2 []*L2Chain `json:"l2"`
Features []string `json:"features,omitempty"`
DepSet json.RawMessage `json:"dep_set,omitempty"`
}
DevnetEnvironment exposes the relevant information to interact with a devnet.
type EndpointMap ¶
EndpointMap is a map of service names to their endpoints.
type L2Chain ¶ added in v1.12.2
type L2Chain struct {
Chain
L1Addresses AddressMap `json:"l1_addresses,omitempty"`
L1Wallets WalletMap `json:"l1_wallets,omitempty"`
}
type Node ¶
type Node struct {
Services ServiceMap `json:"services"`
}
Node represents a node for a chain
type Service ¶
type Service struct {
Name string `json:"name"`
Endpoints EndpointMap `json:"endpoints"`
}
Service represents a chain service (e.g. batcher, proposer, challenger)
type ServiceMap ¶
ServiceMap is a map of service names to services.
Click to show internal directories.
Click to hide internal directories.