Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggchainProofClient ¶
type AggchainProofClient struct {
// contains filtered or unexported fields
}
AggchainProofClient provides an implementation for the AggchainProofClient interface
func NewAggchainProofClient ¶
func NewAggchainProofClient(serverAddr string, generateProofTimeout time.Duration) (*AggchainProofClient, error)
NewAggchainProofClient initializes a new AggchainProof instance
func (*AggchainProofClient) GenerateAggchainProof ¶
func (c *AggchainProofClient) GenerateAggchainProof( lastProvenBlock uint64, requestedEndBlock uint64, l1InfoTreeRootHash common.Hash, l1InfoTreeLeaf l1infotreesync.L1InfoTreeLeaf, l1InfoTreeMerkleProof agglayer.MerkleProof, gerLeavesWithBlockNumber map[common.Hash]*agglayer.ProvenInsertedGERWithBlockNumber, importedBridgeExitsWithBlockNumber []*agglayer.ImportedBridgeExitWithBlockNumber, ) (*types.AggchainProof, error)
type AggchainProofClientInterface ¶
type AggchainProofClientInterface interface {
GenerateAggchainProof(
lastProvenBlock uint64,
requestedEndBlock uint64,
l1InfoTreeRootHash common.Hash,
l1InfoTreeLeaf l1infotreesync.L1InfoTreeLeaf,
l1InfoTreeMerkleProof agglayer.MerkleProof,
gerLeavesWithBlockNumber map[common.Hash]*agglayer.ProvenInsertedGERWithBlockNumber,
importedBridgeExitsWithBlockNumber []*agglayer.ImportedBridgeExitWithBlockNumber,
) (*types.AggchainProof, error)
}
AggchainProofClientInterface defines an interface for aggchain proof client
Click to show internal directories.
Click to hide internal directories.