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
intbt7jRFfq0hjqR6SVZUuZvfriSIpcJwhvJzKIZqDM=
Received
29.12.2021 09:45:41
Confirmation delay (full node)
2 minutes 53 seconds
Confirmation delay (light node)
4 minutes 28 seconds
Authors
DPYEPM34AUBLZFLCJKKGSJ3R34373IUA
Children
+VaAJR904iEhJhv2prvTfDXUi2l4KgIMB6vh5AQ/wcU=
Parents
DBS3ACEbXLxy8fm5ZNYPLQT89f1gnGtciqb2JASvf3U=
Messages
Definition
Address:
HZENJOEOLEBRGKQYJBGGIJNLX7RAAVSH
Definition:
[ "autonomous agent", { "doc_url": "https://devid.org/github.json", "getters": "{ $username2address = ($github_username) => var['u2a_'||$github_username]; $address2username = ($address) => var['a2u_'||$address]; }", "init": "{ $overwrite_delay = 3; // in days // $attestor = 'OYW2XTDKSNKGSEZ27LMGNOPJSYIXHBHC'; // mainnet $attestor = 'QBIAZQZWO3YK2I2C3X37DCVY643S4NI4'; // testnet // $attestor = 'QMWQRJV6NCYGUI6X7BWRKLLBQVQYLZ27'; // testkit tests require(trigger.address == $attestor, "only the attestor can call this AA"); }", "messages": { "cases": [ { "if": "{trigger.data.address AND trigger.data.github_username}", "messages": [ { "app": "state", "state": "{ $address = trigger.data.address; $github_username = trigger.data.github_username; require(is_valid_address($address), "address not valid"); require(has_only($github_username, '\w-'), "github username not valid"); $existing_owner = var['u2a_'||$github_username]; if ($existing_owner){ // would overwrite require($existing_owner != $address, "the same owner"); $pending_varname = 'pending_'||$address||'_'||$github_username; $pending_ts = var[$pending_varname]; if (!$pending_ts){ var[$pending_varname] = timestamp; response['message'] = "This attestation would overwrite an existing record and can't be activated immediately for security reasons. Please repeat your attestation in "||$overwrite_delay||" days to activate the new owner of this github username."; return; } require(timestamp > $pending_ts + $overwrite_delay * 24 * 3600, "the delay period is still ongoing"); var[$pending_varname] = false; // the old a2u stays intact } var['u2a_'||$github_username] = $address; var['a2u_'||$address] = $github_username; response['message'] = $github_username||' => '||$address; }" } ] }, { "if": "{trigger.data.withdraw AND trigger.data.amount}", "messages": [ { "app": "payment", "payload": { "asset": "base", "outputs": [ { "address": "{$attestor}", "amount": "{trigger.data.amount}" } ] } } ] } ] } } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
2,844
bytes
(452 headers, 2392 payload)
Level:
2541138
Witnessed level:
2541130
Last ball unit:
X1P0dxO6KLrrlI7GhtryYt4nPEzSR+kjHpvRFUGOHmA=
Main chain index:
2519300
Latest included mc index:
2519299
Status:
stable/confirmed/final