Flow price: --
2a7400384bbb6a94c78a32ece50da8e683f13939e4371e5f1e9442e6b9a58838

Transaction

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


Hash:
2a7400384bbb6a94c78a32ece50da8e683f13939e4371e5f1e9442e6b9a58838
Status:
ERROR
Block height:
67382163
Block id:
8043cb4dd54346531baa2c26c519fe667e08687c641c89832c6bb6b9a572ea0f
Timestamp:
Saturday 9 December 2023 at 14:40:53 UTC
()
Proposer:
Authorizers: