Flow price: --
d394476185163ab3079d63305e6e945cf83e98848b6635e4241f8153182e52e9

Transaction

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


Hash:
d394476185163ab3079d63305e6e945cf83e98848b6635e4241f8153182e52e9
Status:
ERROR
Block height:
67441199
Block id:
8599d62f68382da16b4d05dd4a4a3035d6e4e84a4b34b35b57758caa838fabc6
Timestamp:
Sunday 10 December 2023 at 11:13:26 UTC
()
Proposer:
Authorizers: