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
TmVS666mEOor8p0XbEvtIeZSZBmzWZo8M1BFELCaWwM=
Received
27.10.2019 16:41:01
Confirmation delay (full node)
6 minutes 3 seconds
Confirmation delay (light node)
7 minutes 26 seconds
Authors
DPYEPM34AUBLZFLCJKKGSJ3R34373IUA
Children
byblwh5PmZCy6fJYg7sBjaRFHpuMSdyKRJt7sTQyrtQ=
Parents
Zz4GBz2uHO7GSBI9G3GP0SDiJKfEXed03FyCcG1ZoII=
Messages
Definition
Address:
2KKIW3CNQCMK4OW67VDDXDJHUXZFTARL
Definition:
[ "autonomous agent", { "bounce_fees": { "base": 10000 }, "init": "{ $PERCENT = 0.01; $SECOND = 1; $MINUTES = 60; $HOUR = 60 * $MINUTES; $DAY = 24 * $HOUR; $WEEK = 7 * $DAY; $YEAR = 364.25 * $DAY; $AA_NAME = "CODAA_ASSET_MANAGER"; $HOW_TO = "I'm made to be used by machine, just review my code to know more"; $AA_ONLY_USER = ""; $CAP = 1e15; $RETURN_PERCENTAGE = 4* $PERCENT; $DEBUG = true; if (!$DEBUG) if ($AA_ONLY_USER !=trigger.address) bounce ("Not owner!"); }", "messages": { "cases": [ { "if": "{ !!trigger.data.get_return }", "init": "{ if (timestamp< parse_date(var[trigger.data.name||"_last_return_time"]) + var[trigger.data.name||"_return_period"]) bounce ("too early"); $return = var[trigger.data.name||"_balance"] * var[trigger.data.name||"_return_percentage"]; }", "messages": [ { "app": "payment", "payload": { "asset": "{ var[trigger.data.name||"_id"] }", "outputs": [ { "address": "{trigger.address}", "amount": "{ $return }" } ] } }, { "app": "state", "state": "{ var[trigger.data.name||"_balance"] -= $return; var[trigger.data.name||"_last_return_time"] = timestamp_to_string(timestamp); var[trigger.data.name||"_next_return"] = var[trigger.data.name||"_balance"] * var[trigger.data.name||"_return_percentage"]; response["message"] = "return percentage sent."; }" } ] }, { "init": "{ if (!!var["asset_id"]) bounce ("already created, use get_return if you are owner"); $return = var[trigger.data.name||"_balance"] * var[trigger.data.name||"_return_percentage"]; }", "messages": [ { "app": "asset", "payload": { "cap": "{ $CAP }", "is_private": false, "is_transferrable": true, "fixed_denominations": false, "auto_destroy": false, "cosigned_by_definer": false, "issued_by_definer_only": true, "spender_attested": false } }, { "app": "state", "state": "{ var["asset_id"] = response_unit; var["creation_time"] = timestamp_to_string(timestamp); var["balance"] = $CAP; var["return_period"] = 1 * $YEAR; var["return_percentage"] = $RETURN_PERCENTAGE; var["last_return_time"] = timestamp_to_string(timestamp); var["next_return_value"] = $CAP * $RETURN_PERCENTAGE; response["message"] = "Asset created"; }" } ] } ] } } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
2,951
bytes
(353 headers, 2598 payload)
Level:
1125130
Witnessed level:
1125123
Last ball unit:
z5hPQa9TU7s/tS8pg+GIjOiP7NODL+mFaz0WLdC+Zjc=
Main chain index:
1123887
Latest included mc index:
1123886
Status:
stable/confirmed/final