Flow price: --
135433d2fdf9a2659848769da4d6c1a21f23f8edd5f5434261c63801417bb9d8

Transaction

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


Hash:
135433d2fdf9a2659848769da4d6c1a21f23f8edd5f5434261c63801417bb9d8
Status:
ERROR
Block height:
67352061
Block id:
3017c9cc9630d971d7cb41bf2c9b443f0771a3a0b66671fb9dec3bff1ac069b4
Timestamp:
Saturday 9 December 2023 at 04:12:43 UTC
()
Proposer:
Authorizers: