1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
use crate::account_config::resources::{
ChildVASP, Credential, DesignatedDealer, DesignatedDealerPreburns, ParentVASP,
VASPDomainManager, VASPDomains,
};
use serde::{Deserialize, Serialize};
#[derive(Debug, Serialize, Deserialize)]
pub enum AccountRole {
ParentVASP {
vasp: ParentVASP,
credential: Credential,
vasp_domains: Option<VASPDomains>,
},
ChildVASP(ChildVASP),
DesignatedDealer {
dd_credential: Credential,
preburn_balances: DesignatedDealerPreburns,
designated_dealer: DesignatedDealer,
},
TreasuryCompliance {
vasp_domain_manager: VASPDomainManager,
},
Unknown,
}