Unit ID
BB6TVgfC1T3DiwBY6de66OJM5/yl+QdXvpGQhp5j7v8=
Received
28.11.2023 12:09:35
Confirmation delay (full node)
15 minutes 35 seconds
Authors
ZJNEFJ4EHACI4ZNINP7AJAVSQ4SUYS3B
Definition
Messages
Data
delta_xn: 34395026503.56078
min_amount_out: 1552984
AA responses
From MBTF5GG44S3ARJHIZH3DEAB4DGUCHCF6
  • Bounced
  • Response unit:
  • Response: { "error": "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 1330332 would be less than the expected minimum 1552984" }
Technical information
Fees:
955 bytes
(514 headers, 441 payload)
Level:10620915
Witnessed level:10620905
Main chain index:10247374
Latest included mc index:10247373
Status:stable/confirmed/final