Flow price: --
c5a8b0c8fa4e65655cf262dbd787c5d3f53f2a9681169cc29e6d6ed138e36785

Transaction

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


Hash:
c5a8b0c8fa4e65655cf262dbd787c5d3f53f2a9681169cc29e6d6ed138e36785
Status:
ERROR
Block height:
67609211
Block id:
f487895725c8b0247af9dcce938350a940533c81c468a87edb3d46f0ec8e6239
Timestamp:
Tuesday 12 December 2023 at 21:40:44 UTC
()
Proposer:
Authorizers: