Unit ID
FxS+EM6ICdQXNbX0luIKqMMjT880Y0RjlAIzitgEhko=
Received
22.07.2021 15:38:32
Confirmation delay (full node)
2 minutes 54 seconds
Messages
Payments
Data
act: 1
AA responses
From AHVIZHJK27RFO4BM74ZVQSILGJ7AYMS4
  • Bounced
  • Response: { "error": "formula $below_peg_ts = var['below_peg_ts']; $request_data = {payments: []}; // finishing a redemption if ($redemption){ if (trigger.address != $curve_aa) bounce("BUG: redemption is still active"); $res = trigger.data.tx.res; $request_data.payments[] = { asset: $reserve_asset, address: $redemption.address, amount: $redemption.reserve_amount - $res.reserve_needed - $network_fee }; response['t1_redemption_proceeds'] = -$res.reserve_needed; } $data = $get_exchange_data(); $below_peg = (exists($data.target_p2) AND $data.current_p2 < $data.target_p2); $large_below_peg = $below_peg AND ($data.target_p2 - $data.current_p2)/$data.target_p2 >= $below_peg_threshold; $tokens1 = $data.tokens1_delta; if ( !exists($data.target_p2) OR $below_peg AND $below_peg_timeout AND (!$below_peg_ts OR timestamp < $below_peg_ts + $below_peg_timeout) OR abs($tokens1) <= 1 // already on-peg OR abs($data.reserve_delta) < $min_reserve_delta // reserve delta would be too small ){ // skip fixing } else { $large_below_peg_after = $data.new_p2 < $data.target_p2 AND ($data.target_p2 - $data.new_p2)/$data.target_p2 >= $below_peg_threshold; $bFixing = true; if ($tokens1 > 0){ // will buy T1 $request_data.payments[] = {asset: $reserve_asset, address: $curve_aa, amount: $data.reserve_needed + $network_fee}; $request_data.forwarded_data = {tokens1: $tokens1}; } else if ($tokens1 < 0) // will redeem T1 $request_data.payments[] = {asset: $asset1, address: $curve_aa, amount: -$tokens1}; if ($reserve_asset != 'base') // to make sure the curve AA has enough bytes to respond $request_data.payments[] = {asset: 'base', address: $curve_aa, amount: 2000}; } $bSending = length($request_data.payments) > 0; failed: not finite in /" }
Technical information
Fees:
858 bytes
(451 headers, 407 payload)
Level:7899957
Witnessed level:7899946
Main chain index:7584554
Latest included mc index:7584553
Status:stable/confirmed/final