Flow price: --
c90f492435187f2421a1b56c267d94a4c7cf2678f57aa99623f09e9fbbd758d5

Transaction

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


Hash:
c90f492435187f2421a1b56c267d94a4c7cf2678f57aa99623f09e9fbbd758d5
Status:
ERROR
Block height:
67554403
Block id:
38466e7a1cc5bd2016e19cfd2350798b9d1408fa0b07ca43f92e8399c94fbda5
Timestamp:
Tuesday 12 December 2023 at 02:36:40 UTC
()
Proposer:
Authorizers: