Unit ID
mBLVozYdN2itrQJhys/nDjl9lc/j7jCKc1ouzoLKKXA=
Received
16.08.2019 21:49:17
Confirmation delay (full node)
4 minutes 12 seconds
Confirmation delay (light node)
6 minutes 1 second
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=trigger.data.asset]]; 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,881 bytes
(353 headers, 1528 payload)
Level:1003385
Witnessed level:1003378
Main chain index:1002203
Latest included mc index:1002202
Status:stable/confirmed/final