Unit ID
SSeul0OdaUHu9Bs2vWKNPDXbGP1BRB+I6VmRFkyiNFo=
Received
21.05.2020 05:58:06
Confirmation delay (full node)
31 minutes 14 seconds
Messages
Definition
Definition: [ "autonomous agent", { "messages": [ { "init": "{ $origin = definition[trigger.address][1].base_aa otherwise trigger.address; $asset = trigger.unit; $asset_symbol = trigger.data.asset_symbol; $oracle = trigger.data.oracle; if (!$oracle) bounce("no oracle specified"); if (!is_valid_address($oracle)) bounce("oracle is not a valid address"); if (!$asset_symbol) bounce("no asset symbol specified"); if(contains($asset_symbol,"|")) bounce("asset symbol cannot contain '|'"); if (length($asset_symbol) > 50) bounce("asset symbol cannot be longer than 50 chars"); if (var['s2a_' || $asset_symbol || '|' || $origin || '|' || $oracle]) bounce("This symbol is already registered"); if (trigger.output[[asset=base]] < length($asset_symbol)*2 + 268) bounce("Payment received doesn't cover storage fees"); }", "app": "state", "state": "{ var['s2a_' || $asset_symbol || '|' || $origin || '|' || $oracle] = $asset; var['a2s_' || $asset || '|' || $origin || '|' || $oracle] = $asset_symbol; }" } ] } ]
Technical information
Fees:
1,596 bytes
(353 headers, 1243 payload)
Level:1344469
Witnessed level:1344456
Main chain index:1338973
Latest included mc index:1338972
Status:stable/confirmed/final