Flow price: --
a3851760b7891bece616ca4f41aee50a374c48e3a9ca74df921c6f65c6fad7b7

Transaction

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


Hash:
a3851760b7891bece616ca4f41aee50a374c48e3a9ca74df921c6f65c6fad7b7
Status:
ERROR
Block height:
67518247
Block id:
0033929596eeb6f81f5b6ad367cf07628dd37670571d66b8e95372fea5dd6ac7
Timestamp:
Monday 11 December 2023 at 14:01:47 UTC
()
Proposer:
Authorizers: