Unit ID
EBeEc7B3PlgUkGxU1nAkheo+gnNbwIofhq0icbktU5M=
Received
16.11.2020 04:23:48
Confirmation delay (full node)
5 minutes 35 seconds
Confirmation delay (light node)
8 minutes 16 seconds
Messages
Payments
AA responses
From NQ5NVX23H66XH477DA46BL3SYYXDMBX3
  • Bounced
  • Response: { "error": "formula if (trigger.output[[asset=var['hometeam']]] > 0) $asset = var['hometeam']; else if (trigger.output[[asset=var['awayteam']]] > 0) $asset = var['awayteam']; else if (trigger.output[[asset=var['draw']]] > 0) $asset = var['draw']; else if (trigger.output[[asset=var['canceled']]] > 0) $asset = var['canceled']; else bounce("no betting asset"); if ($reserve_asset == 'base') $amount = trigger.output[[asset=$asset]] - 1000; else $amount = trigger.output[[asset=$asset]]; $feedname = params.championship || '_' || params.home_team || '_' || params.away_team || '_' || params.fixture_date; $datafeed_value = data_feed[[oracles=params.oracle, feed_name=$feedname, ifnone='_none']]; if ($asset == var['hometeam'] AND $datafeed_value != params.home_team) bounce("home team didn't win"); if ($asset == var['awayteam'] AND $datafeed_value != params.away_team) bounce("away team didn't win"); if ($asset == var['draw'] AND $datafeed_value != 'draw') bounce("there wasn't a draw"); if ($asset == var['canceled'] AND $datafeed_value != 'canceled'){ $expired = timestamp > parse_date(params.fixture_date) + $timeout * 24 * 3600; if ($datafeed_value != '_none') bounce("there wasn't a cancelation or postponement"); if (!$expired) bounce("timeout not reached yet"); } failed: bad asset false" }
Technical information
Fees:
763 bytes
(452 headers, 311 payload)
Level:1755257
Witnessed level:1755249
Main chain index:1747556
Latest included mc index:1747555
Status:stable/confirmed/final