0xaa::owner_cap
use 0x2::object;
use 0x2::tx_context;
OwnerCap
struct OwnerCap has store, key
id: object::UID
create
public(friend) fun create(ctx: &mut tx_context::TxContext): owner_cap::OwnerCap
public(package) fun create(ctx: &mut TxContext): OwnerCap {
OwnerCap {
id: object::new(ctx),
}
}