1
2
3
4
5
6
7
8
9
10
11
12
use injective_math::FPDecimal;
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};

/// Deposit is data format for the subaccount deposit
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)]
pub struct Deposit {
    #[serde(default)]
    pub available_balance: FPDecimal,
    #[serde(default)]
    pub total_balance: FPDecimal,
}