SubAccount

Type Alias SubAccount 

Source
pub type SubAccount = SubAccount<Otw>;

Aliased Type§

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

Fields§

§id: UID§users: MoveVec<Address>

Addresses 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.