Flow price: --
6e10679b85a9d5219e3f7da2ad930aff800e47871ddf8a8182a60f02947fc945

Transaction

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


Hash:
6e10679b85a9d5219e3f7da2ad930aff800e47871ddf8a8182a60f02947fc945
Status:
ERROR
Block height:
67672609
Block id:
a33cd41a1131cc1107e821dd8e9fe2facf1a097b002d27a3d53989e54be7c519
Timestamp:
Wednesday 13 December 2023 at 19:44:13 UTC
()
Proposer:
Authorizers: