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
GCbjyMGtgNgUY1lYOjRvVvt/j0i//j15e6t6v+pU/Ic=
Received
15.08.2019 22:32:02
Confirmation delay (full node)
7 minutes 3 seconds
Confirmation delay (light node)
11 minutes 12 seconds
Authors
DPYEPM34AUBLZFLCJKKGSJ3R34373IUA
Children
hKk4bnbW8dvlvbue94m6U32pk9xkYUzgRNQ3HED6sOs=
Parents
Q8uiJ78PujwV7tlPBKP6lH5aJaPHs8uV4rWHgVTZaE0=
Messages
Definition
Address:
7MNRRM23KO2CVLZNZ75VBQENZMJXO4RY
Definition:
[ "autonomous agent", { "init": "{ $f = 1000; if(!trigger.data.safe) bounce ('please specifcy a safe name'); $balance_key = 'balance_' || trigger.data.safe; $code_hashed_key = 'code_' || trigger.data.safe; $input = trigger.output[[asset=base]]; }", "messages": { "cases": [ { "if": "{trigger.data.set}", "init": "{ if (var[$code_hashed_key]) bounce ("Safe already exists"); }", "messages": [ { "app": "state", "state": "{ var[$code_hashed_key] = trigger.data.set; response['sec'] = 'Code set for safe ' || trigger.data.safe; var[$balance_key] = var[$balance_key] + $input; response['message'] = 'accepted in safe ' || trigger.data.safe || ': ' || $input || ' bytes'; }" } ] }, { "if": "{trigger.data.code}", "init": "{ if (!var[$code_hashed_key]) bounce ("safe doesn't exists"); if (sha256(trigger.data.code) != var[$code_hashed_key]) response['message'] = sha256(trigger.data.code) ||" "||var[$code_hashed_key]; //bounce ("Wrong code!"); }", "messages": [ { "init": "{ $total = var[$balance_key] + $input - $f; }", "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{trigger.address}", "amount": "{$total}" } ] } }, { "app": "state", "state": "{ var[$balance_key] = 0; var[$code_hashed_key] = false; response['message'] = 'withdrawn from safe ' || trigger.data.safe || '. '; }" } ] } ] } } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
1,759
bytes
(353 headers, 1406 payload)
Level:
1002259
Witnessed level:
1002252
Last ball unit:
2KD0h/TZTOyLg5Cnn0TRd6tMSB6xvAjgsoythyQ/moY=
Main chain index:
1001077
Latest included mc index:
1001076
Status:
stable/confirmed/final