Type Alias SubAccount

Source
pub type SubAccount = SubAccount<Otw>;

Aliased Type§

pub struct SubAccount {
    pub id: UID,
    pub user: Address,
    pub account_id: u64,
    pub collateral: Balance<Otw>,
    /* private fields */
}

Fields§

§id: UID§user: Address

Address able to make calls using this SubAccount

§account_id: u64

Numerical value associated to the parent account

§collateral: Balance<Otw>

Balance available to be allocated to markets.