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

API

vault

Module0x79fa…3a87
Move path
0x79fa…3a87::vault
Functions
87 public, 6 entry
Structs
2
Friend modules
None
vault

Declarations

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

module vault;
struct AdminCap has key {
id: UID,
}
struct Vault has key {
id: UID,
members: VecSet<address>,
}
public entry fun add_member(&AdminCap,&mut Vault,address)
public entry fun deposit<T0>(&mut Vault,Coin<T0>)
fun init()
public entry fun receive_deposit<T0>(&mut Vault,Receiving<Coin<T0>>)
public entry fun revoke_membership(&AdminCap,&mut Vault,address)
public entry fun transfer_admin(AdminCap,&mut Vault,address)
public fun withdraw<T0>(&mut Vault, u64): Coin<T0>
public entry fun withdraw_and_receive<T0>(&mut Vault, u64)