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