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
ksX23dh5TBWTdw8zZ7nZQbIHKYc2aL8ph2I7biVdTn8=
Received
28.07.2019 13:04:19
Confirmation delay (full node)
3 minutes 41 seconds
Confirmation delay (light node)
5 minutes 49 seconds
Authors
DPYEPM34AUBLZFLCJKKGSJ3R34373IUA
Children
f5NNm+NXDjLPMdZGYUm2y07zZZJEns94eG58dWBZ5lA=
Parents
9aX5JPmURhlhdzbkoTp4Wp66pfDaBBIGMg8xutkOzoM=
Messages
Definition
Address:
QM5A52FY3O2WJW7PIZ65DZW7S7AEJUMS
Definition:
[ "autonomous agent", { "init": "{ $banker = 'JBGMJI7XSKLKNHZF26BUBWHVUZSDV3P5'; $base_key = 'balance_'||trigger.address; $f = 1000; $secret_key = 'secret_'||trigger.address; }", "messages": { "cases": [ { "if": "{ $secret = trigger.data.secret; $total = var[$base_key]+trigger.output[[asset=base]]-$f; $w_addr = trigger.data.addr; $secret AND $w_addr AND var[$secret_key] AND sha256($secret) == var[$secret_key] }", "messages": [ { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{$w_addr}", "amount": "{$total}" } ] } }, { "app": "state", "state": "{ var['total'] = var['total']-var[$base_key]; var[$base_key] = 0; response['message'] = 'withdrawn:' || $total|| ' bytes'; }" } ] }, { "if": "{trigger.data.set_secret AND !var[$secret_key]}", "messages": [ { "app": "state", "state": "{ var[$secret_key]=trigger.data.set_secret; response['sec'] = 'secret setted ok'; var['total'] = var['total']+trigger.output[[asset=base]]; var[$base_key] = var[$base_key] + trigger.output[[asset=base]]; response['message'] = 'accepted:' || trigger.output[[asset=base]] || ' bytes' ; }" } ] }, { "if": "{ $allowed = balance[base]-trigger.output[[asset=base]]-var['total']-$f; $total = $allowed+trigger.output[[asset=base]]; $banker == trigger.address AND trigger.data.withdraw AND $allowed > 0 }", "messages": [ { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{trigger.address}", "amount": "{$total}" } ] } } ] }, { "messages": [ { "app": "state", "state": "{ var['total'] = var['total']+trigger.output[[asset=base]]; var[$base_key] = var[$base_key] + trigger.output[[asset=base]]; response['message'] = 'accepted:' || trigger.output[[asset=base]] || ' bytes' ; }" } ] } ] } } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
2,038
bytes
(353 headers, 1685 payload)
Level:
973034
Witnessed level:
973027
Last ball unit:
jrizUQFZg1ILEK5GB6nUG7ejh2aaFjOGL8BW0u83z4w=
Main chain index:
972029
Latest included mc index:
972028
Status:
stable/confirmed/final