pub fn contract_earnings(&self) -> YoctoNear {
        env::account_balance()
            .saturating_sub(self.contract_owner_balance.value())
            .saturating_sub(self.total_user_accounts_balance().value())
            .saturating_sub(self.collected_earnings.value())
            .into()
    }
/// returns how much gas rewards the contract has accumulated
returns how much gas rewards the contract has accumulated
returns how much gas rewards the contract has accumulated
pub fn contract_earnings(&self) -> YoctoNear {
        env::account_balance()
            .saturating_sub(self.contract_owner_balance.value())
            .saturating_sub(self.total_user_accounts_balance().value())
            .saturating_sub(self.collected_earnings.value())
            .into()
    }
pub fn contract_earnings ( & self ) -> YoctoNear { env :: account_balance ( ) . saturating_sub ( self . contract_owner_balance . value ( ) ) . saturating_sub ( self . total_user_accounts_balance ( ) . value ( ) ) . saturating_sub ( self . collected_earnings . value ( ) ) . into ( ) }
returns how much gas rewards the contract has accumulated
returns how much gas rewards the contract has accumulated
&self