Flow price: --
a1d15e4270184a8328b7f29328446976d9757dfeaa16a99f27a0b316bb07be01

Transaction

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


Hash:
a1d15e4270184a8328b7f29328446976d9757dfeaa16a99f27a0b316bb07be01
Status:
ERROR
Block height:
67567333
Block id:
ceb67c36dbaf403c8f5238ef14679fa034446b5e4f65ffe67e24037906a33d79
Timestamp:
Tuesday 12 December 2023 at 07:06:36 UTC
()
Proposer:
Authorizers: