config

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auction

type Auction struct {
	Duration     time.Duration
	MaxSolutions uint64
}

type Config

type Config struct {
	Network   Network
	Contracts Contracts
	Relay     Relay
}

func Load

func Load() *Config

func (*Config) Validate

func (c *Config) Validate()

type Contracts

type Contracts struct {
	Atlas             common.Address
	AtlasVerification common.Address
	Simulator         common.Address
}

type Gas

type Gas struct {
	MaxPerUserOperation *big.Int
	MaxPerDAppOperation *big.Int
}

type Network

type Network struct {
	RpcUrl string
}

type Relay

type Relay struct {
	Simulations bool
	Auction     Auction
	Gas         Gas
	Signatories map[common.Address]*ecdsa.PrivateKey
}

Jump to

Keyboard shortcuts

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