Unit ID
MOGtbag8vbv2hBsNDmNxJVk1R/NZUJwYEAO0JXCA+sU=
Received
09.06.2023 08:03:16
Confirmation delay (full node)
8 minutes 7 seconds
Confirmation delay (light node)
13 minutes 0 seconds
Authors
AHWKN5OZAOYPLU3YFUY23GBQ5VEGFMQA
Definition
Messages
Data
delta_yn: 393630
hops: [ { "address": "4NN3GFY42GSNKYOETG7HAQISULOLNYKK", "data": { "delta_xn": 145204685.7767043, "min_amount_out": 59741 }, "change_address": "FJO6SXRXISA36NBCYGSY4IQRT7FGFPEV" }, { "address": "FJO6SXRXISA36NBCYGSY4IQRT7FGFPEV" } ]
AA responses
From YJ3FVKBJRMZWGJNHYW5E2RRDAFWB6ZC2
  • Bounced
  • Response unit:
  • Response: { "error": "one of secondary AAs bounced with error: 4NN3GFY42GSNKYOETG7HAQISULOLNYKK: formula require(!($x_in AND $y_in), "received both assets"); if ($y_in){ $received_amount_Y = $received_amount_y; $in_asset = $y_asset; $out_asset = $x_asset; $delta_Yn = trigger.data.delta_yn; } else{ // x <-> y swap their roles. Uppercase X, Y, and P refer to invertable values $received_amount_Y = $received_amount_x; $in_asset = $x_asset; $out_asset = $y_asset; $delta_Yn = trigger.data.delta_xn; } $res = ($final_price ? $pool_lib_by_price : $pool_lib)#6.$swap($balances, $l_balances, $profits, $recent, $x0, $y0, $y_in, $final_price ? 0 : $delta_Yn, $final_price, $received_amount_Y, trigger.data.min_amount_out, trigger.initial_address, $pool_props); // further hops $hops = trigger.data.hops; $address = $hops[0].address OTHERWISE trigger.address; $change_address = $hops[0].change_address OTHERWISE $address; if ($hops){ $data_for_next_hop = $hops[0].data; delete($hops, 0); // remove the head hop if ($data_for_next_hop OR length($hops)){ $forwarded_data = $data_for_next_hop OTHERWISE {}; if (length($hops)) $forwarded_data.hops = $hops; } } failed: output amount 59327 would be less than the expected minimum 59741" }
Technical information
Fees:
1,710 bytes
(769 headers, 941 payload)
Level:10259628
Witnessed level:10259618
Main chain index:9890715
Latest included mc index:9890714
Status:stable/confirmed/final