PainStaking.sim_win
You're seeing just the function
sim_win
, go back to PainStaking module for more information.
Specs
sim_win([edge()], pos_integer(), staking_options()) :: {:ok, float()} | {:error, String.t()}
Simulate a repeated edge situation for the average amount won
iterations
sets the number of simulated outcomes