pub trait AccountIdFor<Assets> {
    type AccountId;

    fn from_assets(assets: &Assets, identifier: Option<&[u8]>) -> Self::AccountId;
    fn name(assets: &Assets, identifier: Option<&[u8]>) -> Vec<u8> ;
}
Expand description

Abstraction over account id and account name creation for Assets

Required Associated Types§

Required Methods§

Create account id for given assets and an identifier

Create a name to uniquely identify a share token for given assets and an identifier.

Implementors§