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
BP7dMu1zVKDDgMQbwVxoMJtkUQzv7D5P8ZR2h8MvyB0=
Received
29.08.2019 19:18:17
Confirmation delay (full node)
3 minutes 22 seconds
Confirmation delay (light node)
4 minutes 50 seconds
Authors
DPYEPM34AUBLZFLCJKKGSJ3R34373IUA
Children
ygIXn/uM8arQPZvWlmZQ6gXb24hAswc2SxZ5zy9SLPE=
Parents
sJKlIaUfUPAbMQk8oABNkoOc3p3KCMycTtXvPFfskkM=
Messages
Definition
Address:
XV7T64HGBBEWJKUXIYNCWDFW6YNK4BKY
Definition:
[ "autonomous agent", { "messages": { "cases": [ { "if": "{ // select random registered address and optionally send a payment message to it, by
[email protected]
// usage: // 1) interested parties sends 10000 to this AA to register address for future selection, they will be paid back when selected // 2) another AA send 11000 and data.message which could include a message, a link or an address to send to the choosen address // 3) data.nosend if true doesn't send message from this AA, used to defer the payment sending to primary AA which might add more data if( trigger.data.message ){ if( !var[ "count" ] ) bounce( "There is currently no registered address to choose from"); if( !trigger.data.nosend AND trigger.output[ [ asset=base ]] < 11000 ) bounce( "need to send 11000 with data.message"); if( var[ "count" ] == 1 ) $choose = 1; // special case, number from seed doesn't work with start = end else $choose = number_from_seed( trigger.address || "{timestamp}" , 1 , var[ "count" ] ); // SEMI RANDOM CHOOSE $choosen = var[ $choose || "" ]; } trigger.data.message }", "messages": [ { "if": "{ trigger.data.nosend }", "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{ trigger.address }", "amount": "{ trigger.output[[asset=base]] - 1000 }" } ] } }, { "if": "{ !trigger.data.nosend }", "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{ $choosen }", "amount": 10000 }, { "address": "{ trigger.address }", "amount": "{ trigger.output[[asset=base]] - 11000 }" } ] } }, { "app": "data", "payload": { "message": "{trigger.data.message}", "choosen": "{ $choosen }" } }, { "app": "state", "state": "{ // RESPONSE LISTENED BY NODES response[ "message" ] = trigger.data.message; response[ "choosen" ] = $choosen; }" } ] }, { "messages": [ { "app": "state", "state": "{ if( var[ trigger.initial_address ] ) bounce( trigger.initial_address || " had registered with " || var [ trigger.initial_address ] || ", there are total of " || var[ "count" ] || " addresses to chose from "); // NEW REGISTRATION var[ "count" ] += 1; var[ var[ "count" ] || "" ] = trigger.initial_address; var[ trigger.initial_address ] = trigger.output[ [ asset = base ] ] ; response[ 'message' ] = trigger.initial_address || " registered, there are now " || var[ "count" ] || " addresses"; }" } ] } ] } } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
2,688
bytes
(353 headers, 2335 payload)
Level:
1032916
Witnessed level:
1032909
Last ball unit:
zRsReOgXTQU3lKMGCVQLiECTRjoWb4I7JYt92t+7weQ=
Main chain index:
1031728
Latest included mc index:
1031727
Status:
stable/confirmed/final