Commit 7ec0bdf
authored
update roles assignment for afloat (#17)
* 🔧 chore(functions.rs): remove commented out code for creating asset in do_create_marketplace function
✨ feat(functions.rs): add documentation for do_create_marketplace function to explain its purpose and behavior
* 🔧 chore(lib.rs): remove unused imports to improve code cleanliness and reduce clutter
✨ feat(lib.rs): add new events to track user creation, editing, deletion, sell and buy order creation, order taking, balance updates, admin addition, and user role assignment
🐛 fix(lib.rs): fix typo in event comment
🚀 feat(lib.rs): add new extrinsic `assign_user_to_role` to allow assigning a user to a role1 parent d806af2 commit 7ec0bdf
2 files changed
+30
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
| |||
56 | 54 | | |
57 | 55 | | |
58 | 56 | | |
59 | | - | |
| 57 | + | |
60 | 58 | | |
| 59 | + | |
61 | 60 | | |
| 61 | + | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
| 65 | + | |
64 | 66 | | |
| 67 | + | |
65 | 68 | | |
| 69 | + | |
66 | 70 | | |
| 71 | + | |
67 | 72 | | |
| 73 | + | |
68 | 74 | | |
| 75 | + | |
| 76 | + | |
69 | 77 | | |
70 | 78 | | |
71 | 79 | | |
| |||
399 | 407 | | |
400 | 408 | | |
401 | 409 | | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
402 | 426 | | |
403 | 427 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
| |||
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | 65 | | |
73 | 66 | | |
74 | 67 | | |
| |||
0 commit comments