Flow price: --
c56ad985fa6e4a042c761f4f9c64639ce541473df2fdaba720edd828843210f3

Transaction

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


Hash:
c56ad985fa6e4a042c761f4f9c64639ce541473df2fdaba720edd828843210f3
Status:
ERROR
Block height:
67494077
Block id:
ad7d1f067e3d8ef6c60b110d89833a126c932c97b2e4010c1aa5d3714b628b6e
Timestamp:
Monday 11 December 2023 at 05:37:11 UTC
()
Proposer:
Authorizers: