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
0yZVrEL9PCSC3yH9FBKOfzwS/HsG3ZTA62cnayu5IFU=
Received
11.09.2019 13:04:22
Confirmation delay (full node)
1 minute 12 seconds
Confirmation delay (light node)
5 minutes 19 seconds
Authors
DPYEPM34AUBLZFLCJKKGSJ3R34373IUA
Children
dK5xkCR3S14RAOqbA5dKlRKn6wAiG91vY4RqhDVPhp8=
Parents
p8JGrbiBz+zt/PwKyw2qJYfMmFX39rj8whQnFJm3d7E=
Messages
Definition
Address:
74NKN7XV7XNRMXJUZXTHPQU47QDNT2JG
Definition:
[ "autonomous agent", { "init": "{ $release_fee = 1000; $balance_key = 'balance_'||trigger.address; response['info'] ="Welcome user! This AA allows to keep your bytes. Please add 'keep' data field with any value if you want to store bytes or 'release' data field if you want to withdraw previously deposited bytes. "; }", "messages": { "cases": [ { "if": "{trigger.data.keep}", "messages": [ { "app": "state", "state": "{ var[$balance_key] = var[$balance_key] + trigger.output[[asset=base]]; response['message'] = trigger.output[[asset=base]] || ' bytes will be keeped.'; }" } ] }, { "if": "{trigger.data.release AND var[$balance_key] >= $release_fee}", "messages": [ { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{trigger.address}", "amount": "{ var[$balance_key] - $release_fee}" } ] } }, { "app": "state", "state": "{ response['message'] = var[$balance_key] - $release_fee|| ' bytes will be released. Transaction fee is'|| $release_fee || ' bytes'; var[$balance_key] = 0; }" } ] }, { "if": "{trigger.data.release}", "messages": [ { "app": "state", "state": "{ bounce('The payment will be bounced. No bytes to release for this address or their amount is less than' || $release_fee || ' bytes fee.'); }" } ] }, { "messages": [ { "app": "state", "state": "{ bounce("The payment will be bounced. Please add 'keep' or 'release' data field with any value."); }" } ] } ] } } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
1,728
bytes
(353 headers, 1375 payload)
Level:
1055309
Witnessed level:
1055300
Last ball unit:
9Gmbwz5UgbjVMwr0YVTJJplMdQNU1alfockVcnG29AM=
Main chain index:
1054082
Latest included mc index:
1054081
Status:
stable/confirmed/final