Vault contains metadata about a vault.

interface Vault {
    admin_authority: VaultAuthority;
    creator: Uint8Array;
    id: longnum;
    nonce?: longnum;
    state: number;
    suspend_authority: VaultAuthority;
}

Properties

admin_authority: VaultAuthority

AdminAuthority specifies the vault's admin authority.

creator: Uint8Array

Creator is the address of the vault creator.

ID is the unique per-creator identifier of the vault.

nonce?: longnum

Nonce is the nonce to use for the next action.

state: number

State is the vault state.

suspend_authority: VaultAuthority

SuspendAuthority specifies the vault's suspend authority.