Sui Framework
display_registry
- Move path
- 0x0000…0002::display_registry
- Functions
- 1813 public, 2 entry
- Structs
- 5
- Friend modules
- None
display_registry
- accumulator18
- accumulator_metadata2
- accumulator_settlement8
- address10
- address_alias5
- allowance40
- authenticator_state13
- bag10
- balance18
- bcs30
- bls1238143
- borrow4
- clock3
- coin54
- coin_registry43
- config11
- deny_list21
- derived_object3
- display14
- display_registry18
- dynamic_field19
- dynamic_object_field15
- ecdsa_k13
- ecdsa_r12
- ecvrf1
- ed255191
- event3
- forwarding_address1
- funds_accumulator12
- groth1610
- group_ops23
- hash2
- hex3
- hmac1
- kiosk41
- kiosk_extension14
- linked_table19
- math7
- nitro_attestation11
- object32
- object_bag11
- object_table10
- package26
- party5
- pay8
- poseidon2
- priority_queue8
- protocol_config1
- prover0
- random20
- rangeproofs3
- ristretto25518
- scratch18
- sui2
- table10
- table_vec12
- token45
- transfer16
- transfer_policy18
- tx_context19
- types1
- url4
- vdf4
- vec_map20
- vec_set11
- versioned7
- zklogin_verified_id9
- zklogin_verified_issuer6
Functions18
- public fun cap_id<T0>(&Display<T0>): Option<ID>
- public fun claim<T0: key>(&mut Display<T0>,Display<T0>): DisplayCap<T0>
- public fun claim_with_publisher<T0: key>(&mut Display<T0>,&mut Publisher): DisplayCap<T0>
- public fun clear<T0>(&mut Display<T0>,&DisplayCap<T0>)
- public fun delete_legacy<T0: key>(&Display<T0>,Display<T0>)
- entry fun destroy_system_migration_cap(SystemMigrationCap)
- public fun fields<T0>(&Display<T0>): &VecMap<String, String>
- public fun migrate_v1_to_v2<T0: key>(&mut DisplayRegistry,Display<T0>): (Display<T0>, DisplayCap<T0>)
- public fun new<T0>(&mut DisplayRegistry,Permit<T0>): (Display<T0>, DisplayCap<T0>)
- public fun new_with_publisher<T0>(&mut DisplayRegistry,&mut Publisher): (Display<T0>, DisplayCap<T0>)
- public fun set<T0>(&mut Display<T0>,&DisplayCap<T0>,String,String)
- public fun system_migration<T0: key>(&mut DisplayRegistry,&SystemMigrationCap,vector<String>,vector<String>)
- entry fun transfer_migration_cap(SystemMigrationCap,address)
- public fun unset<T0>(&mut Display<T0>,&DisplayCap<T0>,String)
Structs5
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
id UID fields VecMap<String, String> cap_id Option<ID> - DisplayCap<phantom T0>storekey
id UID - DisplayKey<phantom T0>copydropstore
dummy_field bool id UID id UID
Constants14
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Slot | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 0x80e8249451c1a94b0d4ec317d9dd040f11344dcce6f917218086caf2bb1d7bdd | address | Value | migration_cap_receivercreate |
| 1 | "ENotSystemAddress" // interpreted as UTF8 string | vector<u8> | Value | |
| 2 | "This is only callable from system address." // interpreted as UTF8 string | vector<u8> | Value | |
| 3 | "EDisplayAlreadyExists" // interpreted as UTF8 string | vector<u8> | Value | |
| 4 | "Display for the supplied type already exists." // interpreted as UTF8 string | vector<u8> | Value | |
| 5 | "ECapAlreadyClaimed" // interpreted as UTF8 string | vector<u8> | Value | |
| 6 | "Cap for this display object has already been claimed." // interpreted as UTF8 string | vector<u8> | Value | |
| 7 | "ENotValidPublisher" // interpreted as UTF8 string | vector<u8> | Value | |
| 8 | "The publisher is not valid for the supplied type." // interpreted as UTF8 string | vector<u8> | Value | |
| 9 | "EFieldDoesNotExist" // interpreted as UTF8 string | vector<u8> | Value | |
| 10 | "Field does not exist in the display." // interpreted as UTF8 string | vector<u8> | Value | |
| 11 | "ECapNotClaimed" // interpreted as UTF8 string | vector<u8> | Value | |
| 12 | "Cap for this display object has not been claimed so you cannot delete the legacy display yet." // interpreted as UTF8 string | vector<u8> | Value | |
| 13 | 0x0000000000000000000000000000000000000000000000000000000000000000 | address | Value | create |