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
hyz78ibbJpvbmzTrHa4pTlKUaQMQi8Y8CtUDckxLyw4=
Received
04.08.2019 18:57:09
Confirmation delay (full node)
3 minutes 18 seconds
Confirmation delay (light node)
5 minutes 35 seconds
Authors
JBGMJI7XSKLKNHZF26BUBWHVUZSDV3P5
Children
HmLW4czC0K15pOtj7fy7CPSL3uRTzDOdwVA2zmEgrIw=
Parents
ykQXTwItmoO5eYqY9xaZt4JuGfqBAYBjlkhoe0auTDA=
Messages
Payments
FM6QASPV2XNKY4H3YAKTDP42OPTNZF6V
0.00001
GBYTE
Data
withdraw:
all
AA responses
From FM6QASPV2XNKY4H3YAKTDP42OPTNZF6V
AA address:
FM6QASPV2XNKY4H3YAKTDP42OPTNZF6V
Bounced
Response:
{ "error": "formula { $owner = trigger.address; $activator = trigger.initial_address; $fee = $f; $asset_ct = trigger.data.asset; $addr = trigger.initial_address; $base_inp = trigger.output[[asset=base]]; $base_key = 'base_' || trigger.initial_address; if($base_inp <= 0) bounce('no inputs detected'); if(trigger.output[[asset!=base]].asset != 'none') $asset = trigger.output[[asset!=base]].asset; if($asset){ if($asset == 'ambiguous'){ bounce('only 1 asset per tx'); } if(trigger.output[[asset!=base]] ==0) bounce('zero asset tx'); $asset_inp = trigger.output[[asset!=base]]; } $asset_key = $asset_ct||'_'||trigger.initial_address; if($asset and $asset_ct != $asset) bounce('not a previously defined asset'); $ratio = 1000;//bytes per 1 asset $max_b_to_exchange = balance[base] - $base_inp; if($asset){ $max_a_to_exchange = balance[$asset] - $asset_inp; } else{ $max_a_to_exchange = 0; } $base_inp_in_asset = round($base_inp/$ratio); $asset_inp_in_bytes = $asset_inp*$ratio; if($asset){ if($max_b_to_exchange and $max_b_to_exchange != 0 and !trigger.data.cancel){ //exchange if($asset_inp_in_bytes > $max_b_to_exchange){ //partial exchange till empty,return rest and bfees $byte_amount = $max_b_to_exchange+$base_inp; $asset_amount = round(($asset_inp_in_bytes - $max_b_to_exchange)/$ratio); } else{ //full exchange until empty,return bfees $byte_amount = round($asset_inp_in_bytes)+$base_inp; $asset_amount = 0; } } else{ if(!trigger.data.cancel) $deposit = true; } } else{ if($max_a_to_exchange and $max_a_to_exchange != 0 and !trigger.data.cancel){ //exchange if($base_inp_in_asset > $max_a_to_exchange){ //partial exchange till empty,return rest $asset_amount = round($max_a_to_exchange); $byte_amount = round(($base_inp_in_asset - $max_a_to_exchange)*$ratio); } else{ //full exchange until empty $asset_amount = round($base_inp_in_asset); $byte_amount = 0; } } else{ if(!trigger.data.cancel) $deposit = true; } } } failed: reassignment to addr, old value JBGMJI7XSKLKNHZF26BUBWHVUZSDV3P5" }
Witnesses
2FF7PSL7FYXVU5UIQHCVDTTPUOOG75GX
2GPBEZTAXKWEXMWCTGZALIZDNWS5B3V7
4H2AMKF6YO2IWJ5MYWJS3N7Y2YU2T4Z5
DFVODTYGTS3ILVOQ5MFKJIERH6LGKELP
ERMF7V2RLCPABMX5AMNGUQBAH4CD5TK4
F4KHJUCLJKY4JV7M5F754LAJX4EB7M4N
IOF6PTBDTLSTBS5NWHUSD7I2NHK3BQ2T
O4K4QILG6VPGTYLRAI2RGYRFJZ7N2Q2O
OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD
PA4QK46276MJJD5DBOLIBMYKNNXMUVDP
RJDYXC4YQ4AZKFYTJVCR5GQJF5J6KPRI
WELOXP3EOA75JWNO6S5ZJHOO3EYFKPIR
Technical information
Fees:
607
bytes
(353 headers, 254 payload)
Level:
985885
Witnessed level:
985878
Last ball unit:
LOK2lCAyt3qVFxzUf7l1JXNZqbDOyWHmGlR/M3DaDTQ=
Main chain index:
984705
Latest included mc index:
984704
Status:
stable/confirmed/final