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
C8l1x2Mod4Axdi0IUpHuYkmjnYmknghndN/yEZqNgzE=
Received
30.07.2019 22:21:43
Confirmation delay (full node)
4 minutes 36 seconds
Confirmation delay (light node)
7 minutes 2 seconds
Authors
DPYEPM34AUBLZFLCJKKGSJ3R34373IUA
Children
glk+TUoKD4oN+uYRhz8T48MUWn1hMKaC0RBY9ETjMCM=
Parents
IgYi6hwRuzYoR/++/qaPKVzayZYUJTiIhP2hkEXnwOs=
Messages
Definition
Address:
GATJW5EM5RZXFJ45JCF3RNLKIMURIGML
Definition:
[ "autonomous agent", { "init": "{ $banker = 'JBGMJI7XSKLKNHZF26BUBWHVUZSDV3P5'; $f = 1000; if(trigger.data.account) $acct_key = trigger.data.account; else $acct_key = ''; $base_key = 'balance_' || trigger.address || $acct_key; $secret_key = 'secret_' || trigger.address || $acct_key; $inp = trigger.output[[asset=base]]; }", "messages": { "cases": [ { "if": "{ $secret = trigger.data.secret; $secret AND trigger.data.receiver AND var[$secret_key] AND sha256($secret) == var[$secret_key] }", "messages": [ { "init": "{ $total = var[$base_key] + $inp - $f; }", "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{trigger.data.receiver}", "amount": "{$total}" } ] } }, { "app": "state", "state": "{ var['total'] = var['total'] - var[$base_key]; var[$base_key] = 0; var[$secret_key] = false; response['message'] = 'withdrawn from account ' || $acct_key || ': ' || $total || ' bytes'; }" } ] }, { "if": "{trigger.data.set_proof AND !var[$secret_key]}", "messages": [ { "app": "state", "state": "{ var[$secret_key] = trigger.data.set_proof; response['sec'] = 'secret set for account' || $acct_key; var['total'] = var['total'] + $inp; var[$base_key] = var[$base_key] + $inp; response['message'] = 'accepted on account ' || $acct_key || ': ' || $inp || ' bytes'; }" } ] }, { "if": "{ $allowed = balance[base] - $inp - var['total'] - $f; $banker == trigger.address AND trigger.data.withdraw AND $allowed > 0 }", "messages": [ { "init": "{ $total = $allowed + $inp; }", "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{trigger.address}", "amount": "{$total}" } ] } } ] }, { "messages": [ { "app": "state", "state": "{ var['total'] += $inp; var[$base_key] += $inp; response['message'] = 'accepted on account '|| $acct_key || ': ' || $inp || ' bytes' ; }" } ] } ] } } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
2,134
bytes
(353 headers, 1781 payload)
Level:
977139
Witnessed level:
977132
Last ball unit:
6FwAdXjeGwVhk6HNx13AZtEKmeDtStCN316XaDofOjU=
Main chain index:
975959
Latest included mc index:
975958
Status:
stable/confirmed/final