optimistichash

package
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2025 License: Apache-2.0, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateCommitImportedBrdigeExitsHashFromClaims

func CalculateCommitImportedBrdigeExitsHashFromClaims(claims []bridgesync.Claim) common.Hash

CalculateCommitImportedBrdigeExitsHashFromClaims calculate hash from certBuildParams ([]bridgesync.Claim)

Types

type AggregationProofPublicValues

type AggregationProofPublicValues struct {
	L1Head           common.Hash
	L2PreRoot        common.Hash
	ClaimRoot        common.Hash
	L2BlockNumber    uint64
	RollupConfigHash common.Hash
	MultiBlockVKey   common.Hash
	ProverAddress    common.Address
}

// AggregationProofPublicValues represents the public values used in the aggregation proof.

func (*AggregationProofPublicValues) Hash

Hash calculates the hash of the AggregationProofPublicValues using ABI encoding.

func (*AggregationProofPublicValues) String

String returns a string representation of the AggregationProofPublicValues.

type OptimisticSignatureData

type OptimisticSignatureData struct {
	AggregationProofPublicValuesHash common.Hash
	NewLocalExitRoot                 common.Hash
	CommitImportedBridgeExits        common.Hash
}

func (*OptimisticSignatureData) Hash

// Hash calculates the hash of the OptimisticSignatureData.

func (*OptimisticSignatureData) String

func (o *OptimisticSignatureData) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL