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
rGWsnWq1rwTc9+EkKWq6nUY5btNRGFfT7jiDAkVQ7jY=
Received
06.02.2022 12:18:47
Confirmation delay (full node)
2 minutes 26 seconds
Confirmation delay (light node)
3 minutes 54 seconds
Authors
DPYEPM34AUBLZFLCJKKGSJ3R34373IUA
Children
+La7+n/Y5yV5+C93t8v35U5hMgnvtfPmkWZb65rhtnI=
Parents
bIrY/ZS2nZ/Y6i46xL4Adh+CYw4eKnJXDTU2Q4CIhJw=
Messages
Definition
Address:
WIZP3WFOSFQK26AZNDQTUSASBFT36LJX
Definition:
[ "autonomous agent", { "getters": "{ $peek = ($i)=>var[json_stringify(var["tail"] - ($i OTHERWISE 0))]; $msg_push = ($val)=>json_stringify([ { app: "data", payload: { push: $val } }, { app: "payment", payload: { outputs: [ {address: this_address, amount: length($val)+100} ] } } ]); $msg_pop = ()=>json_stringify([ { app: "data", payload: { pop: 1 } }, { app: "payment", payload: { outputs: [{address: this_address, amount: 100}] } } ]); $size = ()=>var["head"]; $can_push = ($address)=>{ if (is_aa(params.can_push_controller)) //Is an AA, execute getter return params.can_push_controller#4.$can_push($address); return $address == params.can_push_controller; //Is a normal address }; $can_pop = ($address)=>{ if (is_aa(params.can_pop_controller)) //Is an AA, execute getter return params.can_pop_controller#4.$can_push($address); return $address == params.can_pop_controller; //Is a normal address }; }", "init": "{ $MIN_PAYOUT = 10000; $COLLECTION_ADDRESS = "ZIT3YPDTLGAO7MVO2ONNDMSEYS2VELX6"; $head_ptr = var["head"] OTHERWISE 0; }", "messages": [ { "if": "{(trigger.data.pop OR trigger.data.clear) AND balance["base"] > $MIN_PAYOUT}", "app": "payment", "payload": { "outputs": [ { "address": "{$COLLECTION_ADDRESS}" } ] } }, { "app": "state", "init": "{ $is_allowed_to_pop = $can_pop(trigger.address); if (trigger.data.pop){ require($can_push(trigger.address), "You cannot pop data from this stack"); $new_head_ptr = max(0, $head_ptr - 1); } else if (trigger.data.push){ require($is_allowed_to_pop, "You cannot push data to this stack"); $new_head_ptr = $head_ptr + 1; } else if (trigger.data.clear){ require($is_allowed_to_pop, "You cannot clear this stack"); $new_head_ptr = 0; } }", "state": "{ if (trigger.data.pop) var[json_stringify($head_ptr)] = false; else if (trigger.data.push) var[json_stringify($new_head_ptr)] = trigger.data.push; var["head"] = $new_head_ptr; }" } ] } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
3,582
bytes
(452 headers, 3130 payload)
Level:
2566900
Witnessed level:
2566890
Last ball unit:
+O1ux+WtNOhtohIH3NUe/pqXjYCMxfN74PVa07U0b/0=
Main chain index:
2544911
Latest included mc index:
2544910
Status:
stable/confirmed/final