Flow price: --
e77cb2d0ca33a659be77ef233c18ac2090d26821137e50264580668de513ab69

Transaction

Hash: e77cb2d0ca33a659be77ef233c18ac2090d26821137e50264580668de513ab69
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: too many arguments
  --> e77cb2d0ca33a659be77ef233c18ac2090d26821137e50264580668de513ab69:28:32
   |
28 |                 let forAmount = SwapConfig.getAmountOut(amountIn: token0Vault.balance, reserveIn: minfo[1], reserveOut: minfo[0], swapFeeRateBps: 30)
   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected up to 3, got 4

error: too many arguments
  --> e77cb2d0ca33a659be77ef233c18ac2090d26821137e50264580668de513ab69:35:32
   |
35 |                 let forAmount = SwapConfig.getAmountOut(amountIn: cur, reserveIn: minfo[0], reserveOut: minfo[1], swapFeeRateBps: 30)
   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected up to 3, got 4


Hash:
e77cb2d0ca33a659be77ef233c18ac2090d26821137e50264580668de513ab69
Status:
ERROR
Block height:
67635450
Block id:
090a4f9cf53aab77e7d7f4fa845256382a234b65b2b5ef727c2f28236df9ae9f
Timestamp:
Wednesday 13 December 2023 at 06:48:28 UTC
()
Proposer:
Authorizers: