Flow price: --
8cab33d60a6d7a01dbac26103e1c4e9ceab1a80c71100d61cb8f07da9e9b3f1d

Transaction

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


Hash:
8cab33d60a6d7a01dbac26103e1c4e9ceab1a80c71100d61cb8f07da9e9b3f1d
Status:
ERROR
Block height:
67429461
Block id:
075f5d2e961eefa79e1a7451e7e19fc3eae7caf59e1e03d8b88f06c66e0d4086
Timestamp:
Sunday 10 December 2023 at 07:08:22 UTC
()
Proposer:
Authorizers: