Module hydra_dx_math::liquidity_mining
source · [−]Functions
This function calculate and return reward per share or error.
This function return GlobalPool
’s reward per one period or error.
Reward per period is capped by max_reward_per_period
.
This function calculate liq. pool’s shares amount in GlobalPool
or error.
This function calculate loyalty multiplier or error.
General formula to calculate reward. Usage depends on type of rps and shares used for calculations
This function calculate and return (user_rewards, unclaimable_rewards)
.
This function calculate account’s valued shares[Balance
] or error.