Flow price: --
4b26378e39f826f9b7c7c04851d096137f817f0936e73ce8b1f0e266f2753797

Transaction

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


Hash:
4b26378e39f826f9b7c7c04851d096137f817f0936e73ce8b1f0e266f2753797
Status:
ERROR
Block height:
68054764
Block id:
99c0ada4a39ff477f6a7381fd658848edfc046966dc430ab10ebe34455f5c9e7
Timestamp:
Tuesday 19 December 2023 at 08:41:14 UTC
()
Proposer:
Authorizers: