Flow price: --
d6d5d345f39f1adf0983dd9ca7cc638a1eb9688107663a92802f8ff16b8a4956

Transaction

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


Hash:
d6d5d345f39f1adf0983dd9ca7cc638a1eb9688107663a92802f8ff16b8a4956
Status:
ERROR
Block height:
67625517
Block id:
4919cd1b67363c268191cc96d0e386cd6914c22d05bd6b468933416924a47299
Timestamp:
Wednesday 13 December 2023 at 03:21:07 UTC
()
Proposer:
Authorizers: