Flow price: --
88064c7c5eadcf5db4b4a8d876ebfe3db5aaae343ef42820dbe8c7accfe1e0a9

Transaction

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


Hash:
88064c7c5eadcf5db4b4a8d876ebfe3db5aaae343ef42820dbe8c7accfe1e0a9
Status:
ERROR
Block height:
67580807
Block id:
5048ed9e45a3f2856bc9502281e4f313f085e5fb2dfec83c2c2977a3d8562037
Timestamp:
Tuesday 12 December 2023 at 11:47:52 UTC
()
Proposer:
Authorizers: