Flow price: --
321b6090ceacbc5d04da151d1a0f83b2dd9dbaf0f74eb3e5d8b2033d5b3e81df

Transaction

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


Hash:
321b6090ceacbc5d04da151d1a0f83b2dd9dbaf0f74eb3e5d8b2033d5b3e81df
Status:
ERROR
Block height:
68094272
Block id:
c7d75fca033aaa2e11d46063154cd3f2a76d31f6db905e7f70646a87b802e90d
Timestamp:
Tuesday 19 December 2023 at 22:25:59 UTC
()
Proposer:
Authorizers: