Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

🔗shared_object

Struct SharedObjectRef

Describes how a shared object is passed to an interface Move call.

public struct SharedObjectRef has copy, drop, store
Fields

id: sui::object::IDThe ID of the shared object.ref_mut: boolWhether the object is passed by mutable reference.

Function shared_object_ref_imm

Helper to create SharedObjectRef with immutable reference.

public fun shared_object_ref_imm(id: sui::object::ID): nexus_primitives::shared_object::SharedObjectRef

Function shared_object_ref_mut

Helper to create SharedObjectRef with mutable reference.

Function shared_object_id

The ID of the referenced shared object.

Function shared_object_ref_mutable

Whether the shared object is passed by mutable reference.

Last updated