Rebuilt from the module interface. No verified source is published, and function bodies are only available as bytecode.
module vault;
struct AdminCap has store, key {
id: UID,
}
struct Vault<phantom T0> has store, key {
id: UID,
reserve: Balance<T0>,
}
public entry fun create_vault<T0>(&AdminCap)
public fun deposit_partial<T0>(&mut Vault<T0>,Balance<T0>,u64,u64,&AdminCap)
public fun deposit_with_event<T0>(&mut Vault<T0>,Balance<T0>,&AdminCap)
public fun deposit_with_threshold<T0>(&mut Vault<T0>,Balance<T0>,u64,&AdminCap)
public fun deposit_with_threshold_and_event<T0>(&mut Vault<T0>,Balance<T0>,u64,&AdminCap)
public entry fun new_admin(address,&AdminCap)
public fun withdraw<T0>(&mut Vault<T0>,u64,&AdminCap):
Balance<
T0>
public fun withdraw_coin<T0>(&mut Vault<T0>,u64,&AdminCap):
Coin<
T0>