Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EVMChainGERSender ¶
type EVMChainGERSender struct {
// contains filtered or unexported fields
}
func NewEVMChainGERSender ¶
func NewEVMChainGERSender( logger *log.Logger, l2GlobalExitRoot, sender common.Address, l2Client EthClienter, ethTxMan EthTxManager, gasOffset uint64, waitPeriodMonitorTx time.Duration, ) (*EVMChainGERSender, error)
func (*EVMChainGERSender) IsGERAlreadyInjected ¶
func (c *EVMChainGERSender) IsGERAlreadyInjected(ger common.Hash) (bool, error)
func (*EVMChainGERSender) UpdateGERWaitUntilMined ¶
type EVMConfig ¶
type EVMConfig struct { GlobalExitRootL2Addr common.Address `mapstructure:"GlobalExitRootL2"` URLRPCL2 string `mapstructure:"URLRPCL2"` ChainIDL2 uint64 `mapstructure:"ChainIDL2"` GasOffset uint64 `mapstructure:"GasOffset"` WaitPeriodMonitorTx cfgTypes.Duration `mapstructure:"WaitPeriodMonitorTx"` SenderAddr common.Address `mapstructure:"SenderAddr"` EthTxManager ethtxmanager.Config `mapstructure:"EthTxManager"` }
type EthClienter ¶
type EthClienter interface { ethereum.LogFilterer ethereum.BlockNumberReader ethereum.ChainReader bind.ContractBackend }
type EthTxManager ¶
type EthTxManager interface { Remove(ctx context.Context, id common.Hash) error ResultsByStatus(ctx context.Context, statuses []ethtxmanager.MonitoredTxStatus, ) ([]ethtxmanager.MonitoredTxResult, error) Result(ctx context.Context, id common.Hash) (ethtxmanager.MonitoredTxResult, error) Add(ctx context.Context, to *common.Address, value *big.Int, data []byte, gasOffset uint64, sidecar *types.BlobTxSidecar, ) (common.Hash, error) }
Click to show internal directories.
Click to hide internal directories.