Documentation
¶
Overview ¶
Copyright 2020 ChainSafe Systems SPDX-License-Identifier: LGPL-3.0-only
Copyright 2020 ChainSafe Systems SPDX-License-Identifier: LGPL-3.0-only
Index ¶
- Variables
- func GetTransactions() types.Transactions
- func GetTxRoot(transactions types.Transactions) (common.Hash, error)
- func NewListener(cfg *config.CeloChainConfig, client client.LogFilterWithLatestBlock, ...) *listener
- type Blockstorer
- type IBridge
- type IERC20Handler
- type IERC721Handler
- type IGenericHandler
- type IRouter
- type ValidatorsAggregator
Constants ¶
This section is empty.
Variables ¶
View Source
var BlockDelay = big.NewInt(1)
View Source
var BlockRetryInterval = time.Second * 5
View Source
var BlockRetryLimit = 5
View Source
var ErrFatalPolling = errors.New("listener block polling failed")
View Source
var ExpectedBlockTime = time.Second
Functions ¶
func GetTransactions ¶
func GetTransactions() types.Transactions
func NewListener ¶
func NewListener(cfg *config.CeloChainConfig, client client.LogFilterWithLatestBlock, bs Blockstorer, stop <-chan struct{}, sysErr chan<- error, router IRouter, valsAggr ValidatorsAggregator) *listener
Types ¶
type Blockstorer ¶
type IERC20Handler ¶
type IERC721Handler ¶
type IGenericHandler ¶
type IGenericHandler interface {
GetDepositRecord(opts *bind.CallOpts, depositNonce uint64, destId uint8) (genericHandler.GenericHandlerDepositRecord, error)
}
Click to show internal directories.
Click to hide internal directories.