package
0.8.5
Repository: https://github.com/layr-labs/eigenda.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
ConvertPaymentHeader converts a protobuf payment header to a PaymentMetadata.
No description provided by the author
No description provided by the author
No description provided by the author
HashBatchHeader returns the hash of the BatchHeader that is used to emit the BatchConfirmed event ref: https://github.com/Layr-Labs/eigenda/blob/master/contracts/src/libraries/EigenDAHasher.sol#L57.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The "s" is an operatorId in hex string format, which may or may not have the "0x" prefix.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
The list of supported encoding formats for bundle.
Similar to bundle encoding format, this describes the encoding format of chunks.
We use uint8 to count the number of quorums, so we can have at most 255 quorums, which means the max ID can not be larger than 254 (from 0 to 254, there are 255 different IDs).
maxRequiredNumChunks is the maximum number of chunks that can be required for a single quorum.
minChunkLength is the minimum chunk length supported.
How many bits (out of header) for representing the bundle's encoding format.
How many bits for the bundle's header.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

OperatorInfo contains information about an operator which is stored on the blockchain state, corresponding to a particular quorum.
Assignment contains information about the set of chunks that a specific node will receive.
AssignmentInfo contains the global information associated with a group of assignments, such as the total number of chunks.
BatchHeader contains the metadata associated with a Batch for which DA nodes must attest; DA nodes sign on the hash of the batch header.
Blob stores the data and header of a single data blob.
BlobAuthHeader contains the data that a user must sign to authenticate a blob request.
BlobHeader contains all metadata related to a blob including commitments and parameters for encoding.
BlobMessage is the message that is sent to DA nodes.
BlobQuorumInfo contains the quorum IDs and parameters for a blob specific to a given quorum.
BlobRequestHeader contains the original data size of a blob and the security required.
No description provided by the author
EncodedBlob contains the messages to be sent to a group of DA nodes corresponding to a single blob.
This is similar to BlobMessage, but keep the commitments and chunks in encoded format (i.e.
No description provided by the author
No description provided by the author
IndexedOperatorInfo contains information about an operator which is contained in events from the EigenDA smart contracts.
IndexedOperatorState contains information about the current state of operators which is contained in events from the EigenDA smart contracts, in addition to the information contained in OperatorState.
No description provided by the author
No description provided by the author
OperatorInfo contains information about an operator which is stored on the blockchain state, corresponding to a particular quorum.
No description provided by the author
No description provided by the author
OperatorState contains information about the current state of operators which is stored in the blockchain state.
No description provided by the author
PaymentMetadata represents the header information for a blob.
QuorumAttestation contains the results of aggregating signatures from a set of operators by quorums It also returns map of all signers across all quorums.
QuorumResult contains the quorum ID and the amount signed for the quorum.
SecurityParam contains the quorum ID and the adversary threshold for the quorum;.
No description provided by the author
SignatureAggregation contains the results of aggregating signatures from a set of operators across multiple quorums.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

AssignmentCoordinator is responsible for taking the current OperatorState and the security requirements represented by a given QuorumResults and determining or validating system parameters that will satisfy these security requirements given the OperatorStates.
No description provided by the author
No description provided by the author
ChainState is an interface for getting information about the current chain state.
ChainState is an interface for getting information about the current chain state.
No description provided by the author
No description provided by the author
No description provided by the author
SignatureAggregator is an interface for aggregating the signatures returned by DA nodes so that they can be verified by the DA contract.
No description provided by the author

# Type aliases

No description provided by the author
A Bundle is the collection of chunks associated with a single blob, for a single operator and a single quorum.
No description provided by the author
Bundles is the collection of bundles associated with a single blob and a single operator.
No description provided by the author
No description provided by the author
This is similar to Bundle, but tracks chunks in encoded format (i.e.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
QuorumID is a unique identifier for a quorum; initially EigenDA wil support upt to 256 quorums.