odra_modules/cep78/
events.rs

1use odra::prelude::*;
2
3#[odra::event]
4pub struct Mint {
5    recipient: Address,
6    token_id: String,
7    data: String
8}
9
10#[odra::event]
11pub struct Burn {
12    owner: Address,
13    token_id: String,
14    burner: Address
15}
16
17#[odra::event]
18pub struct Approval {
19    owner: Address,
20    spender: Address,
21    token_id: String
22}
23
24#[odra::event]
25pub struct ApprovalRevoked {
26    owner: Address,
27    token_id: String
28}
29
30#[odra::event]
31pub struct ApprovalForAll {
32    owner: Address,
33    operator: Address
34}
35
36#[odra::event]
37pub struct RevokedForAll {
38    owner: Address,
39    operator: Address
40}
41
42#[odra::event]
43pub struct Transfer {
44    owner: Address,
45    spender: Option<Address>,
46    recipient: Address,
47    token_id: String
48}
49
50#[odra::event]
51pub struct MetadataUpdated {
52    token_id: String,
53    data: String
54}
55
56#[odra::event]
57pub struct VariablesSet {}
58
59#[odra::event]
60pub struct Migration {}