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
0z2TWZmafPQFohDBRObS5Cea4AAe5VUIKuDV0iVzxCo=
Received
04.09.2019 17:30:43
Confirmation delay (full node)
1 minute 58 seconds
Confirmation delay (light node)
11 minutes 32 seconds
Authors
DPYEPM34AUBLZFLCJKKGSJ3R34373IUA
Children
blFfqOMaGN2Y1uSLldkyXWyLRllvav8iYTLBu8Cxxgw=
Parents
NF0P9FCm+C1IhsnNra8NChIxx5/QMnkJiCLYAcJwSJg=
Messages
Definition
Address:
GWAGTXN6FJG2U4SPDEAUEVQGDPGJDQAZ
Definition:
[ "autonomous agent", { "bounce_fees": { "base": 10000 }, "init": "{ $BOUNCE_FEE = 10000; $TYPICAL_FEE = 1000; $REIMBURSEMENT = $BOUNCE_FEE - $TYPICAL_FEE; }", "messages": { "cases": [ { "if": "{ trigger.data }", "init": "{ $seller = trigger.address; $start_price = trigger.data.start_price otherwise bounce ("start price is missing"); $lowest_price = trigger.data.lowest_price otherwise bounce ("lowest price is missing"); $time_steps = trigger.data.time_steps otherwise bounce ("time steps 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": "{ $time = timestamp; 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": "{ $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": "{$owner}", "amount": "{$amount}" }, { "address": "{$owner}", "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,480
bytes
(353 headers, 2127 payload)
Level:
1045749
Witnessed level:
1045742
Last ball unit:
z4tBy78HAJQOCiM0NZXldxkT9vIcnM2BOyHhr0qe5ws=
Main chain index:
1044522
Latest included mc index:
1044521
Status:
stable/confirmed/final