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
NU/jjV+t4ljSWQ7YmzxG15bpXp6gHPGMYfgxkW+8RYU=
Received
28.12.2021 21:36:21
Confirmation delay (full node)
5 minutes 35 seconds
Confirmation delay (light node)
9 minutes 59 seconds
Authors
3Y24IXW57546PQAPQ2SXYEPEDNX4KC6Y
Children
E+jzsNeBmaykOhC1mPad4QtKexk9dLDJm3s2PikVUk4=
Parents
GsYmkuhi8NJTGUYk6IiTRpz/Cunl0BaLn8clg7Mym9g=
Messages
Definition
Address:
NPTNZFOTBQ7DVTR4OVV7SEMBNYFP2ZZS
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
2TO6NYBGX3NF5QS24MQLFR7KXYAMCIE5
4GDZSXHEFVFMHCUCSHZVXBVF5T2LJHMU
APABTE2IBKOIHLS2UNK6SAR4T5WRGH2J
DXYWHSZ72ZDNDZ7WYZXKWBBH425C6WZN
FAB6TH7IRAVHDLK2AAWY5YBE6CEBUACF
FOPUBEUPBC6YLIQDLKL6EW775BMV7YOH
GFK3RDAPQLLNCMQEVGGD2KCPZTLSG3HN
I2ADHGP4HL6J37NQAD73J7E5SKFIXJOT
JMFXY26FN76GWJJG7N36UI2LNONOGZJV
JPQKPRI5FMTQRJF4ZZMYZYDQVRD55OTC
TKT4UESIKTTRALRRLWS4SENSTJX6ODCW
UE25S4GRWZOLNXZKY4VWFHNJZWUSYCQC
Technical information
Fees:
2,843
bytes
(451 headers, 2392 payload)
Level:
8586018
Witnessed level:
8586001
Last ball unit:
GbvQiHn2mjHGR55g+5dCKfE5Ty1wp1M/Z96mffnrja0=
Main chain index:
8257674
Latest included mc index:
8257673
Status:
stable/confirmed/final