Unit ID
6de3Az5mHMmX9g1jNXWHY/YXuOae9LAHHUhzaUT3OEU=
Received
12.04.2020 11:40:34
Confirmation delay (full node)
7 minutes 10 seconds
Confirmation delay (light node)
11 minutes 19 seconds
Messages
Definition
Definition: [ "autonomous agent", { "bounce_fees": { "base": 10000 }, "init": "{ $type = trigger.data.type; }", "messages": { "cases": [ { "if": "{$type == 'create'}", "init": "{ $id = trigger.data.id; $owner = trigger.address; $amount = trigger.data.amount; $days = trigger.data.days; $is_started = trigger.data.is_started OTHERWISE 0; }", "messages": [ { "app": "state", "state": "{ if(exists($id) AND exists($amount) AND exists($days)){ if(var[$id]) { bounce("Project exists"); } var[$id] = 1; var[$id || '_owner'] = $owner; var[$id || '_amount'] = $amount; var[$id || '_days'] = $days; var[$id || '_started'] = $is_started; var[$id || '_unit'] = trigger.unit; if($is_started == 1) { var[$is || '_start_day'] = timestamp; } response['result'] = 'ok'; } else { bounce("Days and amount required"); } }" } ] } ] } } ]
Technical information
Fees:
1,433 bytes
(353 headers, 1080 payload)
Level:1304847
Witnessed level:1304840
Main chain index:1299638
Latest included mc index:1299637
Status:stable/confirmed/final