fn check_min_required_near_deposit(&self, account: &Account, batch_id: domain::BatchId) {
        if let Some(batch) = account.stake_batch(batch_id) {
            self.check_stake_batch_min_required_near_balance(batch)
        }
    }
/// check that batch NEAR amount will issue at least 1 yoctoSTAKE
/// we never want to issue 0 yoctoSTAKE tokens if NEAR is deposited and staked
///
/// the min required NEAR deposit is calculated using the cached STAKE token value
/// thus, to be on the safe side, we will require that minimum amount of NEAR deposit should be
/// enough for 1000 yoctoSTAKE
check that batch NEAR amount will issue at least 1 yoctoSTAKE
we never want to issue 0 yoctoSTAKE tokens if NEAR is deposited and staked

the min required NEAR deposit is calculated using the cached STAKE token value
thus, to be on the safe side, we will require that minimum amount of NEAR deposit should be
enough for 1000 yoctoSTAKE
check that batch NEAR amount will issue at least 1 yoctoSTAKE we never want to issue 0 yoctoSTAKE tokens if NEAR is deposited and staked the min required NEAR deposit is calculated using the cached STAKE token value thus to be on the safe side we will require that minimum amount of NEAR deposit should be enough for 1000 yoctoSTAKE
fn check_min_required_near_deposit(&self, account: &Account, batch_id: domain::BatchId) {
        if let Some(batch) = account.stake_batch(batch_id) {
            self.check_stake_batch_min_required_near_balance(batch)
        }
    }
fn check_min_required_near_deposit ( & self , account : & Account , batch_id : domain :: BatchId ) { if let Some ( batch ) = account . stake_batch ( batch_id ) { self . check_stake_batch_min_required_near_balance ( batch ) } }
check that batch NEAR amount will issue at least 1 yoctoSTAKE
we never want to issue 0 yoctoSTAKE tokens if NEAR is deposited and staked
check that batch NEAR amount will issue at least 1 yoctoSTAKE we never want to issue 0 yoctoSTAKE tokens if NEAR is deposited and staked
&self
account
&Account
batch_id
domain::BatchId