Documentation ¶
Index ¶
- type EVMChain
- func (c *EVMChain) CheckFeeClaim() bool
- func (c *EVMChain) DomainID() uint8
- func (c *EVMChain) GetFeeClaim(msg *message.Message) error
- 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) 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) CheckFeeClaim ¶
type EventListener ¶
type ProposalExecutor ¶
type ProposalExecutor interface { Execute(message *message.Message) error Execute1(message *message.Message2) (bool, error) ExecuteSourceTransactiions(message *message.Message2) error ExecuteRemovefromdest(message *message.Message2) error FeeClaimByRelayer(p *message.Message) error IsFeeThresholdReached() bool }
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.