evm

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: LGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const ETH_SYMBOL = "ETH"

Variables

This section is empty.

Functions

This section is empty.

Types

type EVMConfig

type EVMConfig struct {
	GeneralChainConfig chain.GeneralChainConfig
	Admin              string

	AcrossPool             string
	AcrossHubPool          string
	LifiOutputSettler      string
	LifiInputSettlerEscrow string
	Repayer                string
	Processors             map[string]common.Address
	// Liquidator contract per token address
	Liquidators map[common.Address]common.Address

	Tokens map[string]config.TokenConfig
	// usd bucket -> confirmations
	ConfirmationsByValue map[uint64]uint64

	BlockInterval      *big.Int
	BlockRetryInterval time.Duration
}

func NewEVMConfig

func NewEVMConfig(chainConfig map[string]interface{}, solverConfig solverConfig.SolverConfig) (*EVMConfig, error)

NewEVMConfig decodes and validates an instance of an EVMConfig from raw chain config

type RawEVMConfig

type RawEVMConfig struct {
	chain.GeneralChainConfig `mapstructure:",squash"`
	Admin                    string `mapstructure:"admin"`
	Repayer                  string `mapstructure:"repayer"`

	BlockInterval      int64  `mapstructure:"blockInterval" default:"5"`
	BlockRetryInterval uint64 `mapstructure:"blockRetryInterval" default:"5"`
}

func (*RawEVMConfig) Validate

func (c *RawEVMConfig) Validate() error

Directories

Path Synopsis
calls
events/mock
Package mock_events is a generated GoMock package.
Package mock_events is a generated GoMock package.
mock
Package mock_message is a generated GoMock package.
Package mock_message is a generated GoMock package.

Jump to

Keyboard shortcuts

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