Unit ID
ap4cQepAc6Sui9yNWvC7ss6DBugozuBcY9EZnSl2Qr4=
Received
23.08.2019 08:49:21
Confirmation delay (full node)
5 minutes 59 seconds
Confirmation delay (light node)
9 minutes 39 seconds
Messages
Definition
Definition: [ "autonomous agent", { "bounce_fees": { "base": 10000 }, "init": "{ $aa_name = "SAAFE with name"; $SAAFE = "EUWGKRYFJOAMFQZYVJ2AAYKEFQLGZAWC"; $name = trigger.data.name otherwise bounce ("Please, specify 'name'."); // Reconstitute the public key by concataining the 2 given parts $puk = var[$name] otherwise (trigger.data.puk1 AND trigger.data.puk2)? trigger.data.puk1||trigger.data.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."); // Reconstitute the signature by concataining the 2 given parts $signature = (trigger.data.s1 AND trigger.data.s2)? trigger.data.s1||trigger.data.s2 : false; $withdraw_address = trigger.data.address otherwise trigger.address; // with draw to trigger if not specified; }", "messages": [ { "app": "data", "payload": { "puk1": "{ trigger.data.puk1 }", "puk2": "{ trigger.data.puk2 }", "private": "{true}" } }, { "if": "{ $signature }", "app": "data", "payload": { "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] = $puk; response['message'] = var[$SAAFE]["response['message']'"]; }" } ] } ]
Technical information
Fees:
1,747 bytes
(353 headers, 1394 payload)
Level:1020411
Witnessed level:1020404
Main chain index:1019225
Latest included mc index:1019224
Status:stable/confirmed/final