Flow price: --
2b2d6b9e60ab9b5709fd2ededb833fb29f7eb5be5549e985e73968a9494b2aa8

Transaction

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


Hash:
2b2d6b9e60ab9b5709fd2ededb833fb29f7eb5be5549e985e73968a9494b2aa8
Status:
ERROR
Block height:
67546710
Block id:
690d0138deda3027eb7339ac3e280dedf9316036fdf6b50c214f8c173deff0db
Timestamp:
Monday 11 December 2023 at 23:55:58 UTC
()
Proposer:
Authorizers: