Flow price: --
07391de195e0fd706491f256fadfb871dd339689d55701db8e28e85fe8c20339

Transaction

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


Hash:
07391de195e0fd706491f256fadfb871dd339689d55701db8e28e85fe8c20339
Status:
ERROR
Block height:
67391588
Block id:
9332c92f3d5e4501ff0f4c780115d315c260bc24a2335a8fbad088acc7856cd6
Timestamp:
Saturday 9 December 2023 at 17:57:42 UTC
()
Proposer:
Authorizers: