Unit ID
UOfcdIfUUYkc3/6XAVJxsM4U1iigUEjIdTUdxoEyMeI=
Received
23.08.2019 11:44:25
Confirmation delay (full node)
2 minutes 35 seconds
Confirmation delay (light node)
5 minutes 37 seconds
Messages
Definition
Definition: [ "autonomous agent", { "bounce_fees": { "base": 10000 }, "init": "{ $aa_name = "SAAFE with name"; $SAAFE = "TUJT2AOQ6BBNBHU3H4AE3KJ6OEAGE4KA"; $name = trigger.data.name otherwise bounce ("Please, specify 'name'."); $puk1 = var[$name]||"_puk1" otherwise trigger.data.puk1 otherwise false; $puk2 = var[$name]||"_puk2" otherwise trigger.data.puk2 otherwise false; $puk = ($puk1 AND $puk2)? $puk1||$puk2 : bounce ("Please specify existing 'name', or create a new safe with 'name', 'puk1' and 'puk2' (2 halfs of a public key for which your have the private key safely store in real world."); $withdraw_address = trigger.data.address otherwise trigger.address; // with draw to trigger if not specified; }", "messages": [ { "if": "{ $puk and !(trigger.data.s1 or trigger.data.s2)}", "app": "data", "payload": { "puk1": "{ trigger.data.puk1 }", "puk2": "{ trigger.data.puk2 }", "private": "{ true }" } }, { "if": "{ trigger.data.s1 AND trigger.data.s2}", "app": "data", "payload": { "puk1": "{ trigger.data.puk1 }", "puk2": "{ trigger.data.puk2 }", "s1": "{ trigger.data.s1 }", "s2": "{ trigger.data.s2 }", "asset": "{ trigger.data.asset }", "ad": "{ $withdraw_address }" } }, { "app": "payment", "payload": { "asset": "{'base'}", "outputs": [ { "address": "{$SAAFE}", "amount": "{trigger.output[[asset=base]] - 1000}" } ] } }, { "app": "state", "state": "{ var[$name||"_puk1"] = $puk1; var[$name||"_puk2"] = $puk2; response['message'] = var[$SAAFE]["message"]; }" } ] } ]
Technical information
Fees:
1,741 bytes
(353 headers, 1388 payload)
Level:1020858
Witnessed level:1020850
Main chain index:1019672
Latest included mc index:1019671
Status:stable/confirmed/final