Documentation
¶
Index ¶
Constants ¶
This section is empty.
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
MayanSwift string
Repayer string
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
|
|
|
consts
nolint
|
nolint |
|
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. |
Click to show internal directories.
Click to hide internal directories.