composable_svg
Module0x34a2…c82c
- Move path
- 0xbc3d…e5f9::composable_svg
- Functions
- 2726 public, 0 entry
- Structs
- 3
- Friend modules
- None
composable_svg
- access_policy19
- attributes18
- collection19
- composable_nft28
- composable_svg27
- composable_url10
- creators16
- display_info14
- frozen_pub1
- mint_cap15
- mint_event3
- mint_pass12
- mint_supply19
- nft18
- nft_bag28
- nft_protocol5
- p2p_list8
- p2p_list_domain13
- plugins14
- royalty29
- royalty_strategy_bps23
- session_token8
- supply27
- svg13
- symbol10
- tags11
- transfer_allowlist6
- transfer_allowlist_domain13
- transfer_token5
- url7
Functions27
- public fun add_from_attributes(&mut UID,VecMap<String, String>)
- public fun add_new(&mut UID)
- public fun assert_composable_svg(&UID)
- public fun assert_no_composable_svg(&UID)
- public fun borrow_svg_nft(&UID): &vector<u8>
- public fun deregister_nft(&mut UID,ID)
- public fun has_domain(&UID): bool
- public fun register_nft(&mut UID,ID)
Structs3
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- ComposableSvgstore
nfts vector<ID> attributes VecMap<String, String> svg vector<u8> children vector<ID> svg vector<u8> - Witnessdrop
dummy_field bool
Constants15
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 1 | u64 | Abort code | assert_composable_svg |
| 1 | 2 | u64 | Abort code | assert_no_composable_svg |
| 2 | 3 | u64 | Abort code | deregister |
| 3 | 4 | u64 | Abort code | render_child_ |
| 4 | 5 | u64 | Abort code | finish_render |
| 5 | "xmlns" // interpreted as UTF8 string | vector<u8> | Value | new |
| 6 | "http://www.w3.org/2000/svg" // interpreted as UTF8 string | vector<u8> | Value | new |
| 7 | "<svg" // interpreted as UTF8 string | vector<u8> | Value | start_render |
| 8 | " " // interpreted as UTF8 string | vector<u8> | Value | start_render |
| 9 | "="" // interpreted as UTF8 string | vector<u8> | Value | start_render |
| 10 | """ // interpreted as UTF8 string | vector<u8> | Value | start_render |
| 11 | ">" // interpreted as UTF8 string | vector<u8> | Value | start_render |
| 12 | "<g>" // interpreted as UTF8 string | vector<u8> | Value | render_child_ |
| 13 | "</g>" // interpreted as UTF8 string | vector<u8> | Value | render_child_ |
| 14 | "</svg>" // interpreted as UTF8 string | vector<u8> | Value | finish_render |