Response: {
"error": "formula
$buy_last_ticket = trigger.output[[asset=$asset]] >= $ticket_price;
if ($buy_last_ticket)
$reimbursement = trigger.output[[asset=$asset]] - $ticket_price -1000;
else
$reimbursement = trigger.output[[asset=$asset]] -1000;
// delay before we draw with seed based only on time variable data
$draw_time = number_from_seed(var[$key||"_seed"], 30 * 60 * 1000, 3 * 60 * 60 * 1000);
// pick a helper from the players, but someone else or a bot will be able to trigger for the reward
$helper = var[$key||"_player_"||number_from_seed($draw_time, 1, var[$key||"_number_of_players"])];
$reward = round (var[$key||"_balance"] * $percentage_for_helper / 100);
failed: min and max must be numbers"
}