Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
SupportedChainTypes = []TargetChainType{EVMChain}
)
Functions ¶
This section is empty.
Types ¶
type AggOracle ¶
type AggOracle struct {
// contains filtered or unexported fields
}
func New ¶
func New( logger *log.Logger, chainSender ChainSender, l1Client ethereum.ChainReader, l1InfoTreeSyncer L1InfoTreer, blockFinalityType etherman.BlockNumberFinality, waitPeriodNextGER time.Duration, ) (*AggOracle, error)
type ChainSender ¶
type Config ¶
type Config struct {
TargetChainType TargetChainType `mapstructure:"TargetChainType"`
URLRPCL1 string `mapstructure:"URLRPCL1"`
// BlockFinality indicates the status of the blocks that will be queried in order to sync
BlockFinality string `` //nolint:lll
/* 134-byte string literal not displayed */
WaitPeriodNextGER types.Duration `mapstructure:"WaitPeriodNextGER"`
EVMSender chaingersender.EVMConfig `mapstructure:"EVMSender"`
}
type L1InfoTreer ¶
type L1InfoTreer interface {
GetLatestInfoUntilBlock(ctx context.Context, blockNum uint64) (*l1infotreesync.L1InfoTreeLeaf, error)
}
Click to show internal directories.
Click to hide internal directories.