Flow price: --
8c6a9e62cbe73e615106991b43a29922909bafcba6ce37f5f6a7eaa53a0b7c29

Transaction

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


Hash:
8c6a9e62cbe73e615106991b43a29922909bafcba6ce37f5f6a7eaa53a0b7c29
Status:
ERROR
Block height:
67404841
Block id:
4edfa98d3d741dfa6cc161fdf73e06b6b7d158ea778521bcf71242486608a93f
Timestamp:
Saturday 9 December 2023 at 22:34:20 UTC
()
Proposer:
Authorizers: