signet-types 0.16.2

A collection of types used in Signet.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Typed Ethereum transaction receipt.

use alloy::consensus::{Receipt as AlloyReceipt, TxType};

/// Typed ethereum transaction receipt.
///
/// Receipt containing the result of transaction execution, paired with the
/// transaction type discriminant.
#[derive(Clone, Debug, PartialEq, Eq, Default)]
pub struct Receipt {
    /// Receipt type.
    pub tx_type: TxType,
    /// The actual receipt data.
    pub inner: AlloyReceipt,
}