Transfers view
UTXO view
Obyte.org
Unit Legend
- not on main chain, not stable
- main chain, not stable
- bad unit
- not on main chain, stable/confirmed/final
- main chain, stable/confirmed/final
- not on main chain, selected
- main chain, selected
Close
Close
Unit ID
0JpFlm9gP2Dkw1tOwx8BQ/l2ZyQv1VqocnJthY86muM=
Received
06.09.2019 11:45:00
Confirmation delay (full node)
3 minutes 25 seconds
Confirmation delay (light node)
6 minutes 38 seconds
Authors
DPYEPM34AUBLZFLCJKKGSJ3R34373IUA
Children
ZTyYQwOEr/LTge/vhxbDECqe5+dRlqSIgpMFVtPvh4w=
Parents
UZ04GTAsCJ/MSQYoDBmNMG9d6ZfihBoFJQL54gw02aA=
Messages
Definition
Address:
JIFGYXEC7ZVUAU6KFQ5YQSCHT6W56RO2
Definition:
[ "autonomous agent", { "init": "{ $department = var['department']; $default_asset = var['default_asset']; $sent_asset = trigger.output[[asset!=base]].asset; $address = trigger.data.address; $amount = trigger.data.amount; if ($sent_asset == 'ambiguous') { bounce('multiple assets sent, send only one'); } }", "messages": { "cases": [ { "if": "{$department AND $address AND $amount}", "init": "{ $asset = ($sent_asset != 'none') ? $sent_asset : $default_asset; $allowance_now = var[trigger.address || '_' || $asset] otherwise 50; $sent_amount = trigger.output[[asset=$sent_asset]].amount; $allowance_left = $allowance_now + $sent_amount - $amount; if ($allowance_left < 0) { bounce('cannot spend that much'); } }", "messages": [ { "app": "payment", "payload": { "asset": "{$asset}", "outputs": [ { "address": "{$address}", "amount": "{$amount}" } ] } }, { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{trigger.address}", "amount": "{trigger.output[[asset=base]] - 1000}" } ] } }, { "app": "state", "state": "{ var[trigger.address || '_' || $asset] = $allowance_left; }" } ] }, { "if": "{!!$department != true OR $asset != 'none'}", "messages": [ { "app": "state", "state": "{ var['department'] = trigger.address; var['default_asset'] = $sent_asset; }" } ] } ] } } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
1,626
bytes
(353 headers, 1273 payload)
Level:
1049228
Witnessed level:
1049221
Last ball unit:
44ClOl8+yf20Iz0zKQYXTkn0Q0y6obtyVawzKncEp4Q=
Main chain index:
1048001
Latest included mc index:
1048000
Status:
stable/confirmed/final