Documentation ¶
Index ¶
- type EVMChain
- func (c *EVMChain) DomainID() uint8
- func (c *EVMChain) PollEvents(ctx context.Context, sysErr chan<- error, msgChan chan *message.Message, ...)
- func (c *EVMChain) Write(msg *message.Message) error
- func (c *EVMChain) Write1(msg1 *message.Message2) (bool, error)
- func (c *EVMChain) Write2(msg *message.Message2) error
- func (c *EVMChain) WriteBatch(msg []*message.Message) error
- func (c *EVMChain) WriteRemoval(msg *message.Message2) error
- type EventListener
- type ProposalExecutor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EVMChain ¶
type EVMChain struct {
// contains filtered or unexported fields
}
EVMChain is struct that aggregates all data required for
func NewEVMChain ¶
func NewEVMChain(listener EventListener, writer ProposalExecutor, blockstore *store.BlockStore, config *chain.EVMConfig) *EVMChain
func (*EVMChain) PollEvents ¶
func (c *EVMChain) PollEvents(ctx context.Context, sysErr chan<- error, msgChan chan *message.Message, msgChan1 chan *message.Message2)
PollEvents is the goroutine that polls blocks and searches Deposit events in them. Events are then sent to eventsChan.
func (*EVMChain) WriteBatch ¶ added in v1.0.42
type EventListener ¶
type ProposalExecutor ¶
Directories ¶
Path | Synopsis |
---|---|
evmgaspricer/mock
Package mock_evmgaspricer is a generated GoMock package.
|
Package mock_evmgaspricer is a generated GoMock package. |
mock
Package mock_calls is a generated GoMock package.
|
Package mock_calls is a generated GoMock package. |
transactor/itx/mock
Package mock_itx is a generated GoMock package.
|
Package mock_itx is a generated GoMock package. |
transactor/mock
Package mock_transactor is a generated GoMock package.
|
Package mock_transactor is a generated GoMock package. |
bridge/mock
Package mock_bridge is a generated GoMock package.
|
Package mock_bridge is a generated GoMock package. |
mock
Package mock_executor is a generated GoMock package.
|
Package mock_executor is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.