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
AvSXsCzzh95f0XpTsLhbQzfYK4N3B0wr1TDevNoEQOM=
Received
23.10.2019 17:47:56
Confirmation delay (full node)
3 minutes 47 seconds
Confirmation delay (light node)
6 minutes 26 seconds
Authors
DPYEPM34AUBLZFLCJKKGSJ3R34373IUA
Children
BL5FTh+AwNcNBtMP0B1GQdppLKxWVTQ1nR5DV+SsHsk=
Parents
2zODTkozJpKzTGv6vGPhUKsf44kWMRUmSujwsF88O4Q=
Messages
Definition
Address:
P2YE245WOM3GUWSNQRIVXFFDJAPBKIBD
Definition:
[ "autonomous agent", { "init": "{ // ===================================================== // EmailBank by Vik // To use with another attestor change $attestor_address and $attestor_name // ===================================================== // Attestor parameters $attestor_address = 'WX7ULR3L4KUDPAUVFJQIZAI6OPSP7XDG'; $attestor_name = 'email'; // General variables $return_fee = 1000; $attested_user_id = attestation[[attestors=$attestor_address, address=trigger.address]].user_id; if (!$attested_user_id) bounce ("Your address is not attested by "||$attestor_name||" attestor "|| $attestor_address); $balance_key = "user_id_"||$attested_user_id||"_balance"; }", "messages": { "cases": [ { "if": "{!trigger.data.withdraw}", "messages": [ { "app": "state", "state": "{ $b_message = var[$balance_key] ? "Current balance: " || var[$balance_key] ||" bytes. ":""; var[$balance_key] = var[$balance_key] + trigger.output[[asset=base]]; response['message'] = "You are going to deposit from " || $attestor_name ||" attested address. " || $b_message || "Balance after deposit: " || var[$balance_key] || " bytes."; }" } ] }, { "init": "{ if (!var[$balance_key]) bounce ("Your address is attested by "|| $attestor_name ||" attestor but the balance for your account is not found."); if (typeof(trigger.data.withdraw)!='number') bounce ("Please enter number of bytes in the 'withdraw' data field. Your current balance is " || var[$balance_key] || " bytes."); if (var[$balance_key] < trigger.data.withdraw) bounce ('Not enough funds. The maximum amount you can withdraw is ' || var[$balance_key] || ' bytes.'); if (trigger.output[[asset=base]] < $return_fee) bounce ('The sending amount is less than the transaction fee '|| $return_fee ||' bytes. Please increase it.'); }", "messages": [ { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{trigger.address}", "amount": "{trigger.data.withdraw + trigger.output[[asset=base]] - $return_fee}" } ] } }, { "app": "state", "state": "{ response['message'] = 'Current balance: '||var[$balance_key]|| ' bytes. Balance after withdrawal: ' || (var[$balance_key] - trigger.data.withdraw) || ' bytes. Transaction fee: '||$return_fee|| ' bytes.'; var[$balance_key] = var[$balance_key] - trigger.data.withdraw; }" } ] } ] } } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
2,860
bytes
(353 headers, 2507 payload)
Level:
1118095
Witnessed level:
1118088
Last ball unit:
x0KrwnvlANLJnAePXJUivE1ZBsle3lwM3VX7d6werNk=
Main chain index:
1116854
Latest included mc index:
1116853
Status:
stable/confirmed/final