Flow price: --
1f0f35f93dd336c79ad158c1f1ee2a083831638853f4db186867a54692192e00

Transaction

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


Hash:
1f0f35f93dd336c79ad158c1f1ee2a083831638853f4db186867a54692192e00
Status:
ERROR
Block height:
67529228
Block id:
2d4987aa1a575653ed4913e712d52c9693fe880358788c31d3e038c8cc271062
Timestamp:
Monday 11 December 2023 at 17:50:59 UTC
()
Proposer:
Authorizers: