pub(crate) fn internal_get_deposit(
        &self,
        sender_id: &AccountId,
        token_id: &AccountId,
    ) -> Balance {
        self.internal_get_account(sender_id)
            .and_then(|x| x.get_balance(token_id))
            .unwrap_or(0)
    }
/// Returns current balance of given token for given user. If there is nothing recorded, returns 0.
Returns current balance of given token for given user. If there is nothing recorded, returns 0.
Returns current balance of given token for given user . If there is nothing recorded returns 0 .
pub(crate) fn internal_get_deposit(
        &self,
        sender_id: &AccountId,
        token_id: &AccountId,
    ) -> Balance {
        self.internal_get_account(sender_id)
            .and_then(|x| x.get_balance(token_id))
            .unwrap_or(0)
    }
pub ( crate ) fn internal_get_deposit ( & self , sender_id : & AccountId , token_id : & AccountId , ) -> Balance { self . internal_get_account ( sender_id ) . and_then ( | x | x . get_balance ( token_id ) ) . unwrap_or ( 0 ) }
Returns current balance of given token for given user.
Returns current balance of given token for given user .
&self
sender_id
&AccountId
token_id
&AccountId
&self
sender_id
&AccountId
token_id
&AccountId