Flow price: --
c39ae3ef219a1bf8d632e02a576056e1ae2c336f7bd84f0b3db5bb702343acef

Transaction

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


Hash:
c39ae3ef219a1bf8d632e02a576056e1ae2c336f7bd84f0b3db5bb702343acef
Status:
ERROR
Block height:
67483631
Block id:
df26fdb467d9a8228209d31cd756f37867c7d98a61eaaec2a75b3476ca175b5a
Timestamp:
Monday 11 December 2023 at 01:59:10 UTC
()
Proposer:
Authorizers: