pub(crate) fn register(&mut self, token_ids: &Vec<ValidAccountId>) {
        for token_id in token_ids {
            let t = token_id.as_ref();
            if self.get_balance(t).is_none() {
                self.tokens.insert(t, &0);
            }
        }
    }
/// Registers given token and set balance to 0.
Registers given token and set balance to 0.
Registers given token and set balance to 0 .
pub(crate) fn register(&mut self, token_ids: &Vec<ValidAccountId>) {
        for token_id in token_ids {
            let t = token_id.as_ref();
            if self.get_balance(t).is_none() {
                self.tokens.insert(t, &0);
            }
        }
    }
pub ( crate ) fn register ( & mut self , token_ids : & Vec < ValidAccountId > ) { for token_id in token_ids { let t = token_id . as_ref ( ) ; if self . get_balance ( t ) . is_none ( ) { self . tokens . insert ( t , & 0 ) ; } } }
Registers given token and set balance to 0.
Registers given token and set balance to 0 .
&mut self
token_ids
&Vec<ValidAccountId>
&mut self
token_ids
&Vec<ValidAccountId>