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
T1MyXzkxTFVtzglkFDE8hIqcPHo9SaLrkA8W+VgHmjI=
Received
04.10.2020 09:18:56
Confirmation delay (full node)
4 minutes 40 seconds
Confirmation delay (light node)
7 minutes 28 seconds
Authors
DPYEPM34AUBLZFLCJKKGSJ3R34373IUA
Children
iUXOxYZBSOiboGlSci5cwz7vwM9qQoDdZ27N0e18qHU=
Parents
V/snFyJTgS+yym0TAKYGulDDfj/QV0WGcHUjA4NrbWk=
Messages
Definition
Address:
5IMNF7SVQ6CZDSZNNX72LI3UCPYRHS43
Definition:
[ "autonomous agent", { "init": "{ $lock_time = 7 * 24 * 3600; $registry_aa = "O6H6ZIFI57X3PLTYHOCVYPP5A553CYFQ"; $address = trigger.address; if (is_aa($address)) bounce("Asset must be sent from a plain wallet, not an AA"); }", "messages": { "cases": [ { "if": "{trigger.output[[asset!=base]].amount > 0}", "init": "{ $received_asset = trigger.output[[asset!=base]].asset; if ($received_asset == "ambiguous") bounce("Different assets cannot be handled at same time"); }", "messages": [ { "app": "state", "state": "{ var["amount_" || $received_asset || "_" || $address] += trigger.output[[asset!=base]].amount; var["ts_" || $received_asset || "_" || $address] = timestamp; response['info'] = "This asset will be locked until " || timestamp_to_string(timestamp + $lock_time); }" } ] }, { "if": "{trigger.data.withdraw}", "init": "{ if (asset[trigger.data.withdraw].exists) $asset = trigger.data.withdraw; else { $asset = var[$registry_aa]["s2a_" || trigger.data.withdraw]; if (!$asset) bounce("unknown symbol"); } $amount_available = var["amount_" || $asset || "_" || $address]; if (!$amount_available) bounce("You don't have deposit for this asset"); $lock_timestamp = var["ts_" || $asset || "_" || $address]; if ($lock_timestamp AND $lock_timestamp > timestamp - $lock_time) bounce("This asset is still locked, retry in " || $lock_time / 3600 || ' hours'); if (!$amount_available) bounce("Nothing available for withdraw"); if (trigger.data.amount){ if (!is_valid_amount(trigger.data.amount)) bounce("Invalid amount"); if(trigger.data.amount < $amount_available) bounce("Only " || $amount_available || " available for withdraw"); $amount = trigger.data.amount; } else { $amount = $amount_available; } }", "messages": [ { "app": "payment", "payload": { "asset": "{$asset}", "outputs": [ { "address": "{$address}", "amount": "{ $amount }" } ] } }, { "app": "state", "state": "{ var["amount_" || $asset || "_" || $address] -= $amount; var["ts_" || $asset || "_" || $address] = false; }" } ] } ] } } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
2,928
bytes
(452 headers, 2476 payload)
Level:
1669440
Witnessed level:
1669433
Last ball unit:
q8bD5mJmlUFbBSHG8yCBPF8H68xTiy8+ygTBCF8Ip3w=
Main chain index:
1661998
Latest included mc index:
1661997
Status:
stable/confirmed/final