Unit ID
LGBmx0hqHHN2arTO6kWEcd6Mhfz/tRx+MlnZDlxukkE=
Received
08.02.2021 09:09:52
Confirmation delay (full node)
3 minutes 54 seconds
Confirmation delay (light node)
6 minutes 29 seconds
Messages
Definition
Definition: [ "autonomous agent", { "bounce_fees": { "base": 10000 }, "init": "{ $nom_AA = 'Portal'; $versio = '1'; $adr__ = trigger.address; $accio = trigger.data.accio; $resp_unit = trigger.data.resp_unit; $receptora = trigger.data.receptora; $autoritzada = trigger.data.autoritzada; $qt = trigger.data.qt; $ref = trigger.data.ref; $val = trigger.data.val; $AUT_0 = 'XD7FVUM442NPIIMLRIT2FYWJEDQ4ILLJ'; $AUT_A = var[ '_AUT_A' ]; $AUT_B = var[ '_AUT_B' ]; $AUT_C = var[ '_AUT_C' ]; if ( $adr__ != $AUT_0 ) { if ( ! $AUT_A OR $adr__ != $AUT_A ) { if ( ! $AUT_B OR $adr__ != $AUT_B ) { if ( ! $AUT_C OR $adr__ != $AUT_C ) { bounce ( 'No autoritzada' ); } } } } if ( $accio == "autoritzacio" ) { if ( ! $autoritzada ) { bounce ( $nom_AA || ': Cal proporcionar el valor de: autoritzada' ); } } }", "messages": { "cases": [ { "if": "{ $accio == "definicio" }", "messages": [ { "app": "asset", "payload": { "cap": "{ trigger.data.cap otherwise 1e9 }", "is_private": false, "is_transferrable": true, "auto_destroy": "{ !! trigger.data.auto_destroy }", "fixed_denominations": false, "issued_by_definer_only": true, "cosigned_by_definer": false, "spender_attested": false } }, { "app": "state", "state": "{ var[response_unit] = trigger.address; }" } ] }, { "if": "{ $accio == "emissio" AND $resp_unit AND var[$resp_unit] == trigger.address }", "messages": [ { "app": "payment", "payload": { "asset": "{ $resp_unit }", "outputs": [ { "address": "{ $receptora }", "amount": "{ $qt }" } ] } } ] }, { "if": "{ $accio == "autoritzacio" }", "messages": [ { "app": "state", "state": "{ response['ref'] = $ref; response['val'] = $val; var[ $ref ] = $val; }" } ] } ] } } ]
Technical information
Fees:
2,575 bytes
(452 headers, 2123 payload)
Level:1876422
Witnessed level:1876414
Main chain index:1868458
Latest included mc index:1868457
Status:stable/confirmed/final