Unit ID
29JUep6dZBNMKQJI/FKWY4upMVgVQJe9S99WcCvwaxc=
Received
16.08.2019 22:04:16
Confirmation delay (full node)
3 minutes 53 seconds
Confirmation delay (light node)
4 minutes 15 seconds
Messages
Definition
Definition: [ "autonomous agent", { "messages": { "cases": [ { "if": "{(trigger.data.puk) AND (!trigger.data.s) AND (!trigger.data.ad)}", "messages": [ { "app": "state", "state": "{ var[trigger.data.puk||'_'||trigger.data.asset] += trigger.output[[asset=base]]; response['message'] = var[trigger.data.puk]||'_'||trigger.data.asset||' are safe under the puk '||trigger.data.puk; }" } ] }, { "if": "{(trigger.data.puk) AND (trigger.data.s) AND (trigger.data.ad)}", "init": "{ $asset = trigger.data.as otherwise trigger.data.asset; if (!var[trigger.data.puk||$asset]) bounce ("puk doesn\'t exists with asset "||$asset); if (!is_valid_sig(trigger.data.ad, "-----BEGIN PUBLIC KEY-----"||trigger.data.puk||"-----END PUBLIC KEY-----", trigger.data.s)) bounce ("Wrong signature!"); }", "messages": [ { "app": "payment", "payload": { "asset": "{trigger.data.asset}", "outputs": [ { "address": "{trigger.data.ad}", "amount": "{var[trigger.data.puk]}" } ] } }, { "app": "state", "state": "{ var[trigger.data.puk||'_'||trigger.data.asset] = false; response['message'] = trigger.data.puk||'_'||trigger.data.asset||' sent to ' || trigger.data.ad; }" } ] }, { "messages": [ { "app": "state", "state": "{ bounce ("Set a 'puk' field to <a public key, for which you have the related private key> to safely store funds. To withdraw later, set the same 'puk', as well as a 'ad' field to <the Obyte adresse where you want to receive the funds> and a 's' field to <the signature of a message containing the address 'a'>."); }" } ] } ] } } ]
Technical information
Fees:
1,888 bytes
(353 headers, 1535 payload)
Level:1003457
Witnessed level:1003450
Main chain index:1002275
Latest included mc index:1002274
Status:stable/confirmed/final