Owner
Structs
OwnerCap
struct OwnerCap<phantom T> has key, store {
id: UID,
of: VecSet<ID>
}Interface
new
public fun new<T: drop>(_: T, of: vector<ID>, ctx: &mut TxContext): OwnerCap<T>contains
of
add
remove
destroy
destroy_empty
assert_ownership
Last updated
Was this helpful?