axelar-cgp-sui

Module 0xa5::operator_cap

use 0x2::object;
use 0x2::tx_context;

Resource OperatorCap

struct OperatorCap has store, key
Fields
id: object::UID

Function create

public(friend) fun create(ctx: &mut tx_context::TxContext): operator_cap::OperatorCap
Implementation
public(package) fun create(ctx: &mut TxContext): OperatorCap {
    OperatorCap {
        id: object::new(ctx),
    }
}