Documentation
¶
Overview ¶
Package operatorTableCalculator provides stake table root calculation functionality for EigenLayer multichain operations. This package handles the calculation of Merkle tree roots from operator set data across multiple chains, integrating with EigenLayer's CrossChainRegistry to fetch active operator reservations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StakeTableCalculator ¶
type StakeTableCalculator struct {
// contains filtered or unexported fields
}
StakeTableCalculator is responsible for calculating the cloud operator table root.
func NewStakeTableRootCalculator ¶
func NewStakeTableRootCalculator(cfg *Config, ec chainManager.EthClientInterface, l *zap.Logger) (*StakeTableCalculator, error)
NewStakeTableRootCalculator creates a new instance of StakeTableCalculator.
func (*StakeTableCalculator) CalculateStakeTableRoot ¶
func (c *StakeTableCalculator) CalculateStakeTableRoot( ctx context.Context, referenceBlockNumber uint64, ) ( [32]byte, *merkletree.MerkleTree, *distribution.Distribution, error, )
CalculateStakeTableRoot performs the complete calculation for a given reference block.
Click to show internal directories.
Click to hide internal directories.