Unit ID
UyiaWi3CtPKAWL58ETVFyrjhpZ5XHxPolpvsQzOsJj8=
Received
04.09.2019 18:01:34
Confirmation delay (full node)
2 minutes 19 seconds
Confirmation delay (light node)
5 minutes 36 seconds
Messages
Definition
Definition: [ "autonomous agent", { "bounce_fees": { "base": 10000 }, "init": "{ $BOUNCE_FEE = 10000; $TYPICAL_FEE = 1000; $REIMBURSEMENT = $BOUNCE_FEE - $TYPICAL_FEE; }", "messages": { "cases": [ { "if": "{ trigger.data.seller }", "init": "{ $seller = trigger.address; $start_price = trigger.data.start_price otherwise bounce ("start price is missing"); $lowest_price = trigger.data.lowest_price otherwise bounce ("lowest price is missing"); $time_steps = trigger.data.time_steps otherwise bounce ("time steps missing"); $price_steps = trigger.data.price_steps otherwise bounce ("price steps missing"); $product_description = trigger.data.product_description otherwise bounce ("product description is missing"); $product_url = trigger.data.product_url; $start_time = trigger.data.start_time; $end_time = trigger.data.end_time; $reference = sha256($seller || $start_price || $lowest_price || $time_steps || $price_steps || $product_description || timestamp); }", "messages": [ { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{trigger.address}", "amount": "{$REIMBURSEMENT}" } ] } }, { "app": "state", "state": "{ $time = timestamp; var[$reference] = 'auction_created'; var[$reference||'.seller'] = $seller; var[$reference||'.start_price'] = $start_price; var[$reference||'.lowest_price'] = $lowest_price; var[$reference||'.time_steps'] = $time_steps; var[$reference||'.price_steps'] = $price_steps; var[$reference||'.product_description'] = $product_description; var[$reference||'.product_url'] = $product_url; var[$reference||'.start_time'] = $start_time; var[$reference||'.end_time'] = $end_time; response['reference'] = $reference; response['status'] = var[$reference]; }" } ] }, { "init": "{ bounce("Enter data fields"); }", "messages": [ { "app": "state", "state": "{ response['usage'] = 'Enter data fields'; }" } ] } ] } } ]
Technical information
Fees:
2,383 bytes
(353 headers, 2030 payload)
Level:1045782
Witnessed level:1045775
Main chain index:1044555
Latest included mc index:1044554
Status:stable/confirmed/final