Flow price: --
194f3f77bd1ff3918a1b89813f9be616cea165bdba6efd28592783ab5f885566

Transaction

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


Hash:
194f3f77bd1ff3918a1b89813f9be616cea165bdba6efd28592783ab5f885566
Status:
ERROR
Block height:
67870459
Block id:
c410cee06c6f2e56844d446657517a620ec0a5abc0978b2a4d0e853b17d08b3d
Timestamp:
Saturday 16 December 2023 at 16:34:16 UTC
()
Proposer:
Authorizers: