Flow price: --
b2d5059c473aff4c8bafc30d201d133a4ce8084e4b1b29abfc808a128fc37112

Transaction

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


Hash:
b2d5059c473aff4c8bafc30d201d133a4ce8084e4b1b29abfc808a128fc37112
Status:
ERROR
Block height:
67352111
Block id:
d7da75f3d5c0f8f95bc09dbce6cf9b163231010d2fba8ea05f72c3d482eee4f1
Timestamp:
Saturday 9 December 2023 at 04:13:43 UTC
()
Proposer:
Authorizers: