Commit d806af2
authored
Afloat setup permissions (#16)
* 🔧 chore(types.rs): remove duplicate CreateAsset enum definition to improve code readability
✨ feat(types.rs): add InitialSetupArgs enum to handle initial setup arguments for asset creation and role assignment
* update format with rustfmt
* update format with rustfmt
* update format with rustfmt
* update format with rustfmt
* update format with rustfmt
* update format with rustfmt
* update format with rustfmt
* update format with rustfmt
* update format and change funtions for setup
* 🐛 fix(functions.rs): remove unused imports and commented out code to improve code cleanliness and readability
✨ feat(functions.rs): rename `do_setup_asset` function to `do_create_afloat_asset` for better naming consistency and clarity
✨ feat(lib.rs): refactor `InitialSetupArgs::All` match arm to call necessary setup functions in the correct order for initializing afloat pallet
* 🐛 fix(functions.rs): rename add_to_afloat_collection function to do_add_account_to_afloat_frunique for better clarity and consistency
🐛 fix(lib.rs): rename add_to_afloat_collection function to do_add_account_to_afloat_frunique for better clarity and consistency
* 🔧 chore(settings.json): update editor.tabSize from 2 to 4 for consistent indentation
* 🔧 chore(pre-commit): add pre-commit hook to enforce code style using `cargo fmt` before committing
🐛 fix(afloat): remove unnecessary commented out code in pallet module
* 📝 docs(functions.rs): add documentation for `do_setup_roles` function in Afloat pallet to explain its inputs and purpose
🔥 refactor(lib.rs): remove unnecessary empty line in Afloat pallet module
* 🔧 chore(check.yml): add step to check Rust code formatting using rustfmt
🔧 chore(check.yml): add step to check Rust build using cargo check --release1 parent a9f61c2 commit d806af2
File tree
53 files changed
+28678
-27410
lines changed- .githooks
- .github/workflows
- .vscode
- pallets
- afloat/src
- bitcoin-vaults/src
- confidential-docs/src
- fruniques/src
- fund-admin-records/src
- fund-admin/src
- gated-marketplace/src
- mapped-assets/src
- rbac/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
53 files changed
+28678
-27410
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
39 | 45 | | |
40 | 46 | | |
41 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments