Flow price: --
06383e69a7e166bf7aaa2fc94c5b41752de644d9fdd34412464bdc8a32febac0

Transaction

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


Hash:
06383e69a7e166bf7aaa2fc94c5b41752de644d9fdd34412464bdc8a32febac0
Status:
ERROR
Block height:
67548881
Block id:
0ddd04f0e3de4c128a46c20644c1a2668ed7ba6ed32f6841c80f205194bbd234
Timestamp:
Tuesday 12 December 2023 at 00:41:22 UTC
()
Proposer:
Authorizers: