use std::string;
use sui::event;
use sage_admin::admin;
use sage_admin::admin_access;
use sage_admin::apps;
use sage_admin::fees;
use sage_utils::string_helpers;

Explore this module further in the Mover Registry: @sage/admin

Events

AppCreated

Emitted when a new App is created.

public struct AppCreated has copy, drop

Functions

create_app

Creates a new App within the protocol. Aborts with sage_admin::access:ETypeMismatch if the owned_user is the incorrect type.

public fun create_app<ChannelType: key>(channel_config: &ChannelConfig, channel: &ChannelType)