use ex3_serde::bincode::{deserialize, serialize};
use num_bigint::BigUint;

use ex3_node_error::OtherError;
use serde::{Deserialize, Serialize};

use crate::{CanisterId, WalletRegisterId};

#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct SnapshotVault {
    pub canister_id: CanisterId,
    pub seq_id: u64,
    pub wallet_start_id: WalletRegisterId,
    pub max_wallet_count: BigUint,
}

pub type BalanceVault = SnapshotVault;
pub type SecretVault = SnapshotVault;
pub type WalletRegistry = SnapshotVault;
