Unit ID
4ZsrtWgj7DaCF4RIFRGOcxAvsE+pS+kjRtzk7DdMlGA=
Received
28.08.2019 15:07:16
Confirmation delay (full node)
5 minutes 48 seconds
Confirmation delay (light node)
8 minutes 14 seconds
Messages
Definition
Definition: [ "autonomous agent", { "messages": { "cases": [ { "if": "{ if( trigger.data.choose ){ if( !var[ "count" ] ) bounce( "There is currently no registered address to choose from"); if( var[ "count" ] == 1 ) $choose = 1; // special case, number from seed doesn't work with start = end else $choose = number_from_seed( trigger.address || "{timestamp}" , 1 , var[ "count" ] ); // SEMI RANDOM CHOOSE } trigger.data.choose }", "messages": [ { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{ var[ $choose || "" ] }", "amount": 10000 } ] } }, { "app": "data", "payload": { "job": "{trigger.data.choose}" } }, { "app": "state", "state": "{ response[ "message" ] = "job sent to choosed"; response[ "job" ] = "{ trigger.data.choose }"; response[ "choosed" ] = var[ $choose || "" ]; }" } ] }, { "messages": [ { "app": "state", "state": "{ if( var[ trigger.initial_address ] ) bounce( trigger.initial_address || " had registered with " || var [ trigger.initial_address ] || ", there are total of " || var[ "count" ] || " addresses to chose from "); // NEW REGISTRATION var[ "count" ] += 1; var[ var[ "count" ] || "" ] = trigger.initial_address; var[ trigger.initial_address ] = trigger.output[ [ asset = base ] ] ; response[ 'message' ] = trigger.initial_address || " registered, there are now " || var[ "count" ] || " addresses"; }" } ] } ] } } ]
Technical information
Fees:
1,840 bytes
(353 headers, 1487 payload)
Level:1030163
Witnessed level:1030155
Main chain index:1028976
Latest included mc index:1028975
Status:stable/confirmed/final