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
DjrKucsj3om44j467LXV5ZHk8RYBEPIqMJuHm7drWc4=
Received
27.10.2019 15:03:01
Confirmation delay (full node)
3 minutes 6 seconds
Confirmation delay (light node)
4 minutes 48 seconds
Authors
DPYEPM34AUBLZFLCJKKGSJ3R34373IUA
Children
HGzAibJPG4u7VlDUkEsCKR73sF5VByA33wScEhdg0Co=
Parents
mpcSoyFErU8tPLBrow5fEULqQc0cujDJeSVQFPPphMM=
Messages
Definition
Address:
ZHBLSKMDZ6YTEKTK5IBHFSRN6XWMR7IT
Definition:
[ "autonomous agent", { "bounce_fees": { "base": 10000 }, "init": "{ $aa_name = "CODAA_ASSET_MANAGER"; $howto = "I'm made to be used by machine, just review my code to know more"; $DEBUG = true; $PERCENT = 0.01; $SECOND = 1; $MINUTES = 60; $HOUR = 60 * $MINUTES; $DAY = 24 * $HOUR; $WEEK = 7 * $DAY; $YEAR = 364.25 * $DAY; }", "messages": { "cases": [ { "if": "{ !!trigger.data.create}", "init": "{ if (!!var[trigger.data.name]) bounce ("Already used!"); }", "messages": [ { "app": "asset", "payload": { "cap": "{ trigger.data.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[trigger.data.name||"_id"] = response_unit; var[trigger.data.name||"_owner"] = trigger.address; var[trigger.data.name||"_creation_time"] = timestamp_to_string(timestamp); var[trigger.data.name||"_balance"] = trigger.data.cap otherwise 1e15; var[trigger.data.name||"_last_return_time"] = timestamp_to_string(timestamp); var[trigger.data.name||"_return_period"] = trigger.data.period otherwise 1 * $YEAR; var[trigger.data.name||"_return_percentage"] = trigger.data.percentage otherwise 4 * $PERCENT; var[trigger.data.name||"_next_return"] = var[trigger.data.name||"_balance"] * var[trigger.data.name||"_return_percentage"]; response["message"] = "Asset created"; }" } ] }, { "if": "{ !!trigger.data.do_accounting }", "init": "{ if (!!var[trigger.data.name]) bounce ("name needed!"); if (var[trigger.data.name||"_owner"] !=trigger.address and !$DEBUG) bounce ("Not owner!"); 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||"_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."; }" } ] }, { "messages": [ { "app": "state", "state": "{ bounce($howto); }" } ] } ] } } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
3,435
bytes
(353 headers, 3082 payload)
Level:
1124975
Witnessed level:
1124968
Last ball unit:
fDmh7hklAGSyfAvTCd4mB+p3X66ZIraomIZR2TCCJaA=
Main chain index:
1123732
Latest included mc index:
1123731
Status:
stable/confirmed/final