use namada_events::extend::EventAttributeEntry;
use crate::WholeGas;
pub struct GasUsed(pub WholeGas);
impl EventAttributeEntry<'static> for GasUsed {
type Value = WholeGas;
type ValueOwned = Self::Value;
const KEY: &'static str = "gas_used";
fn into_value(self) -> Self::Value {
self.0
}
}