PainStaking.sim_win

You're seeing just the function sim_win, go back to PainStaking module for more information.
Link to this function

sim_win(edges, iterations \\ 100, opts \\ [])

View Source

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