Unit ID
+VHCrohdIB3W8+bJHYzoDUAM1EV55dYZwkp+7v4BX/k=
Received
11.09.2019 17:48:04
Confirmation delay (full node)
4 minutes 19 seconds
Confirmation delay (light node)
5 minutes 21 seconds
Messages
Definition
Definition: [ "autonomous agent", { "init": "{ $addr = trigger.address; if(!var[$addr]['owner']) bounce("Owner not set"); if(!var[$addr]['name']) bounce("Name not set"); $name = var[$addr]['name']; $ownerAddr = var[$addr]['owner']; if($ownerAddr != trigger.initial_address) bounce('Bad guy detected, you can s*** m* d*** piece of s***'); if(var[$name]) bounce('Name already registered'); if(var['r'||$addr]) bounce('AA already registered'); }", "messages": { "cases": [ { "messages": [ { "app": "attestation", "payload": { "address": "{$addr}", "profile": { "username": "{$name}" } } }, { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{trigger.initial_address}", "amount": "{trigger.output[[asset=base]] - 1000}" } ] } }, { "app": "state", "state": "{ var[$name] = $addr; var[$ownerAddr] = $addr; var['r'||$addr] = true; response['message'] = $name || ' is now a shortcut to ' || $addr ||'. Before using, please wait until attestation unit stabilizes.'; response['usage'] = '1. Set '||this_address||' as username attestor in a wallet. 2. Now you can send funds to @' || $name ||' in that wallet. 3. Enjoy!'; }" } ] } ] } } ]
Technical information
Fees:
1,540 bytes
(353 headers, 1187 payload)
Level:1055918
Witnessed level:1055910
Main chain index:1054691
Latest included mc index:1054690
Status:stable/confirmed/final