radix-engine 1.3.1

Reference implementation of Radix Engine, from the Radix DLT project.
Documentation
use crate::internal_prelude::*;

macro_rules! define_events {
    ($($name: ident),* $(,)?) => {
        $(
            #[derive(ScryptoSbor, ScryptoEvent, PartialEq, Eq, Debug)]
            pub struct $name {
                pub ids: IndexSet<NonFungibleLocalId>,
            }

            impl $name {
                pub fn new(ids: IndexSet<NonFungibleLocalId>) -> Self {
                    Self { ids }
                }
            }
        )*
    };
}
define_events! {
    WithdrawEvent,
    DepositEvent,
    RecallEvent
}