Flow price: --
7a2c6f4972c744f2bb01ae873b316a1f65c651844ee96861993f34c13f1ef8d2

Transaction

Hash: 7a2c6f4972c744f2bb01ae873b316a1f65c651844ee96861993f34c13f1ef8d2
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
  --> 7a2c6f4972c744f2bb01ae873b316a1f65c651844ee96861993f34c13f1ef8d2: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
  --> 7a2c6f4972c744f2bb01ae873b316a1f65c651844ee96861993f34c13f1ef8d2:35:32
   |
35 |                 let forAmount = SwapConfig.getAmountOut(amountIn: cur, reserveIn: minfo[0], reserveOut: minfo[1], swapFeeRateBps: 30)
   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected up to 3, got 4


Hash:
7a2c6f4972c744f2bb01ae873b316a1f65c651844ee96861993f34c13f1ef8d2
Status:
ERROR
Block height:
67378996
Block id:
779801e93ebf8de06bc1fc3ce1e36d48adf0fd1774a9fbc50d317b47d5152755
Timestamp:
Saturday 9 December 2023 at 13:34:49 UTC
()
Proposer:
Authorizers: