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
G5fcR9e1NK3esHyZQPjPEE3D+asT3XbhiX22Nz86C5Y=
Received
05.09.2023 19:04:01
Confirmation delay (full node)
5 minutes 30 seconds
Confirmation delay (light node)
9 minutes 41 seconds
Authors
UWU2UO3Z4AQAEP2GZR276M4U7IAXJ7ZX
Children
Yd5WMLPngU1wpsJEL0IqZ7VU90vml46+lIngoHzPzdk=
Parents
Ujlu3aFCe+BqrzsyPRxmEFOg3cVdQwufvrZQynknOI8=
Messages
Definition
Address:
BVI5ZXW2Y5P2SN3SP3ZB7YDKY5NE2J2B
Definition:
[ "autonomous agent", { "getters": "{ $pow2 = $x => $x*$x; $small_pow = ($x, $pow) => { if ($pow == 0) return 1; if ($pow == 1) return $x; if ($pow == 2) return $pow2($x); if ($pow == 3) return $pow2($x) * $x; if ($pow == 4) return $pow2($pow2($x)); if ($pow == 5) return $pow2($pow2($x)) * $x; if ($pow == 6) return $pow2($pow2($x) * $x); if ($pow == 7) return $pow2($pow2($x) * $x) * $x; if ($pow == 8) return $pow2($pow2($pow2($x))); if ($pow == 9) return $pow2($pow2($pow2($x))) * $x; if ($pow == 10) return $pow2($pow2($pow2($x)) * $x); if ($pow == 11) return $pow2($pow2($pow2($x)) * $x) * $x; if ($pow == 12) return $pow2($pow2($pow2($x) * $x)); bounce("unsupported power "||$pow); }; $get_reserve_price = () => { $oswap_params = definition[params.oswap_aa][1].params; $x_asset = $oswap_params.x_asset; $y_asset = $oswap_params.y_asset; $x_balance = balance[params.oswap_aa][$x_asset]; $y_balance = balance[params.oswap_aa][$y_asset]; $lp_shares = var[params.oswap_aa]['lp_shares']; $supply = $lp_shares.issued; $x_rate = data_feed[[oracles=params.x_oracle, feed_name=params.x_feed_name]] / $small_pow(10, params.x_decimals OTHERWISE 0); $y_rate = data_feed[[oracles=params.y_oracle, feed_name=params.y_feed_name]] / $small_pow(10, params.y_decimals OTHERWISE 0); $balance = $x_balance * $x_rate + $y_balance * $y_rate; $price = $balance / $supply; $price }; }", "messages": [ { "app": "state", "state": "{ bounce('lib only'); }" } ] } ]
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
2,403
bytes
(452 headers, 1951 payload)
Level:
3170577
Witnessed level:
3170570
Last ball unit:
XMiXo4XidtmztdJZVatuUe5TSfxUwwYaOSe5a7ryv5g=
Main chain index:
3145263
Latest included mc index:
3145262
Status:
stable/confirmed/final