Search by name, SuiNS, address, digest, object ID, coin type or checkpoint.

Move path
0xfe1d…80bf::app
Functions
172 public, 0 entry
Structs
6
app

Declarations

Rebuilt from the module interface. No verified source is published, and function bodies are only available as bytecode.

module app;
struct APP has drop {
dummy_field: bool,
}
struct AdminCap has store, key {
id: UID,
}
struct PackageCallerCap has store, key {
id: UID,
}
struct PackageWhitestKey has copy, drop, store {
dummy_field: bool,
}
struct ProtocolApp has store, key {
id: UID,
version: u64,
markets: Table<TypeName, ID>,
}
struct ReferralKey has copy, drop, store {
dummy_field: bool,
}
public(package) fun add_market<T0>(&mut ProtocolApp,ID)
public(package) fun burn_cap(PackageCallerCap)
fun create(): (AdminCap, ProtocolApp)
public fun current_version(): u64
public(package) fun ensure_has_permission(&ProtocolApp,ID,u8)
public(package) fun ensure_version_matches(&ProtocolApp)
public(package) fun get_market_config<T0>(&ProtocolApp,&market::Market<T0>): &market::MarketConfiguration
public(package) fun get_market_id<T0>(&ProtocolApp): &ID
fun init(APP)
public(package) fun is_market_registered<T0>(&ProtocolApp): bool
public(package) fun migrate(&mut ProtocolApp): u64
public(package) fun mint_cap(): PackageCallerCap
public fun permissions(&ProtocolApp,&PackageCallerCap): u32
public(package) fun referral(&ProtocolApp): &referral::Referral
public(package) fun referral_mut(&mut ProtocolApp): &mut referral::Referral
public(package) fun validate_market<T0>(&ProtocolApp,&market::Market<T0>)
public(package) fun whitelist_mut(&mut ProtocolApp): &mut VecMap<ID, u32>