pub(crate) fn internal_register_account(&mut self, account_id: &AccountId, amount: Balance) {
        let mut account = self.internal_unwrap_or_default_account(&account_id);
        account.near_amount += amount;
        self.internal_save_account(&account_id, account);
    }
/// Registers account in deposited amounts with given amount of $NEAR.
/// If account already exists, adds amount to it.
/// This should be used when it's known that storage is prepaid.
Registers account in deposited amounts with given amount of $NEAR.
If account already exists, adds amount to it.
This should be used when it's known that storage is prepaid.
Registers account in deposited amounts with given amount of $NEAR . If account already exists adds amount to it . This should be used when it ' s known that storage is prepaid .
pub(crate) fn internal_register_account(&mut self, account_id: &AccountId, amount: Balance) {
        let mut account = self.internal_unwrap_or_default_account(&account_id);
        account.near_amount += amount;
        self.internal_save_account(&account_id, account);
    }
pub ( crate ) fn internal_register_account ( & mut self , account_id : & AccountId , amount : Balance ) { let mut account = self . internal_unwrap_or_default_account ( & account_id ) ; account . near_amount += amount ; self . internal_save_account ( & account_id , account ) ; }
Registers account in deposited amounts with given amount of $NEAR.
Registers account in deposited amounts with given amount of $NEAR .
&mut self
account_id
&AccountId
amount
Balance
&mut self
account_id
&AccountId
amount
Balance