Flow price: --
2b709bc64585feb1145a455c915905027ef385a892450efc52be4f739b7d25ab

Transaction

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


Hash:
2b709bc64585feb1145a455c915905027ef385a892450efc52be4f739b7d25ab
Status:
ERROR
Block height:
67549484
Block id:
d943407ea965e4b1bec269303f7b4fc75a46864c7ae8aac49458dee5e04b845d
Timestamp:
Tuesday 12 December 2023 at 00:53:56 UTC
()
Proposer:
Authorizers: