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
e5cx9OJzKu9Lo8FYtpP9Wz6TYTTCyMuO3Mu2ljsKtDM=
Received
02.09.2019 06:29:58
Confirmation delay (full node)
2 minutes 56 seconds
Confirmation delay (light node)
6 minutes 56 seconds
Authors
DPYEPM34AUBLZFLCJKKGSJ3R34373IUA
Children
YYzzyLMeo99AjALGsab0mTZf8H1yVNbX2PtS4MCkop4=
Parents
u1/3yBRqHz5/LI4NflOjQuR8ZeSb89wB2CWvwvq2Qzg=
Messages
Definition
Address:
4GPFU42PMFNQ3VI47UXEBCGAUREALVHI
Definition:
[ "autonomous agent", { "bounce_fees": { "base": 10000 }, "init": "{ $BOUNCE_FEE = 10000; $TYPICAL_FEE = 1000; $REIMBURSEMENT = $BOUNCE_FEE - $TYPICAL_FEE; }", "messages": { "cases": [ { "if": "{ trigger.data.owner }", "init": "{ $owner = trigger.data.owner otherwise bounce("owner field is missing"); $period = trigger.data.period otherwise bounce("period field is missing"); $reference = sha256($owner || $period ); if (var[$reference]) bounce("pension plan already exists"); }", "messages": [ { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{trigger.address}", "amount": "{$REIMBURSEMENT}" } ] } }, { "app": "state", "state": "{ var[$reference] = 'requested'; var[$reference||'.owner'] = $owner; var[$reference||'.period'] = $period; response['reference'] = $reference; response['status'] = var[$reference]; response['message'] = 'pension plan created'; }" } ] }, { "if": "{ $deposit = trigger.output[[asset = base]]; $deposit > $BOUNCE_FEE }", "messages": [ { "app": "state", "state": "{ response['message'] = 'Added ' || $deposit || ' bytes to the private pension plan'; }" } ] }, { "if": "{ trigger.data.action AND trigger.data.action == 'withdraw'}", "init": "{ $owner = var[$reference || '.owner']; $amount = trigger.data.amount otherwise balance[$owner]; if ($amount > balance[$owner]) bounce("Invalid withdrawal amount. Maximum balance is " || balance[$owner]); if ($amount <= 0) bounce("Invalid withdrawal amount. Enter a number greater than zero."); if (trigger.address != $owner) bounce("Unauthorized"); }", "messages": [ { "app": "payment", "payload": { "outputs": [ { "address": "{trigger.address}", "amount": "{$amount}" }, { "address": "{trigger.address}", "amount": "{$REIMBURSEMENT}" } ] } }, { "app": "state", "state": "{ var[$owner] -= $amount; }" } ] }, { "init": "{ bounce("Enter a data field: owner, reference or action"); }", "messages": [ { "app": "state", "state": "{ response['usage'] = 'Enter a data field: owner, reference or action'; }" } ] } ] } } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
2,246
bytes
(353 headers, 1893 payload)
Level:
1039510
Witnessed level:
1039502
Last ball unit:
vs5w+69nnYVXp/IT2XBCZFNH/my/6V/5Pb0xE01xvLA=
Main chain index:
1038295
Latest included mc index:
1038294
Status:
stable/confirmed/final