pub fn claim_user_reward(&mut self, 
        user_rps: &RPS,
        user_seeds: &Balance, 
        total_seeds: &Balance, 
        silent: bool,
    ) -> (RPS, Balance) {
        match self {
            Farm::SimpleFarm(farm) 
                => farm.claim_user_reward(user_rps, user_seeds, total_seeds, silent),
        }
    }
/// return the new user reward per seed 
/// and amount of reward as (user_rps, reward_amount) 
return the new user reward per seed
and amount of reward as (user_rps, reward_amount)
return the new user reward per seed and amount of reward as ( user_rps reward_amount )
pub fn claim_user_reward(&mut self, 
        user_rps: &RPS,
        user_seeds: &Balance, 
        total_seeds: &Balance, 
        silent: bool,
    ) -> (RPS, Balance) {
        match self {
            Farm::SimpleFarm(farm) 
                => farm.claim_user_reward(user_rps, user_seeds, total_seeds, silent),
        }
    }
pub fn claim_user_reward ( & mut self , user_rps : & RPS , user_seeds : & Balance , total_seeds : & Balance , silent : bool , ) -> ( RPS , Balance ) { match self { Farm :: SimpleFarm ( farm ) => farm . claim_user_reward ( user_rps , user_seeds , total_seeds , silent ) , } }
return the new user reward per seed
and amount of reward as (user_rps, reward_amount)
return the new user reward per seed and amount of reward as ( user_rps reward_amount )
&mut self
user_rps
&RPS
user_seeds
&Balance
total_seeds
&Balance
silent
bool
&mut self
user_rps
&RPS
user_seeds
&Balance
total_seeds
&Balance
silent
bool