radix_engine/blueprints/resource/events/
resource_manager.rs

1use crate::internal_prelude::*;
2
3#[derive(ScryptoSbor, ScryptoEvent, PartialEq, Eq, Debug)]
4pub struct VaultCreationEvent {
5    pub vault_id: NodeId,
6}
7
8#[derive(ScryptoSbor, ScryptoEvent, PartialEq, Eq, Debug)]
9pub struct MintFungibleResourceEvent {
10    pub amount: Decimal,
11}
12
13#[derive(ScryptoSbor, ScryptoEvent, PartialEq, Eq, Debug)]
14pub struct BurnFungibleResourceEvent {
15    pub amount: Decimal,
16}
17
18#[derive(ScryptoSbor, ScryptoEvent, PartialEq, Eq, Debug)]
19pub struct MintNonFungibleResourceEvent {
20    pub ids: IndexSet<NonFungibleLocalId>,
21}
22
23#[derive(ScryptoSbor, ScryptoEvent, PartialEq, Eq, Debug)]
24pub struct BurnNonFungibleResourceEvent {
25    pub ids: IndexSet<NonFungibleLocalId>,
26}