Flow price: --
2fdc95a240f3e70fba63cee872e9c71cd7ad870e651d61dfcb3196bf67009b72

Transaction

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


Hash:
2fdc95a240f3e70fba63cee872e9c71cd7ad870e651d61dfcb3196bf67009b72
Status:
ERROR
Block height:
67963605
Block id:
ee9d22d2fc7187340e4babe5dfe3926abecd3e1d0b3c4fb591c682ef0f89ba90
Timestamp:
Monday 18 December 2023 at 00:58:23 UTC
()
Proposer:
Authorizers: