rust_eigenda_v2_client/
core.rs

1mod blob_key;
2pub mod eigenda_cert;
3mod payment;
4
5pub use blob_key::BlobKey;
6pub use payment::{OnDemandPayment, PaymentMetadata, PaymentStateRequest, ReservedPayment};
7
8pub(crate) const BYTES_PER_SYMBOL: usize = 32;
9
10/// Payload encoding version
11#[derive(Debug, PartialEq)]
12pub enum PayloadEncodingVersion {
13    Zero = 0,
14}
15
16/// The form of a payload dictates what conversion, if any, must be performed when creating a blob from the payload.
17#[derive(Clone, Copy, Debug)]
18pub enum PayloadForm {
19    /// Evaluation form, where the payload is in evaluation form.
20    Eval,
21    /// Coefficient form, where the payload is in coefficient form.
22    Coeff,
23}