Flow price: --
6f38ff69ddff4e35de36a106b76af928c9fa13f14c86bebef90d754daa69f16b

Transaction

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


Hash:
6f38ff69ddff4e35de36a106b76af928c9fa13f14c86bebef90d754daa69f16b
Status:
ERROR
Block height:
67462338
Block id:
4398b3ad681cfbfdde4ef49e2bfbcbafdc43981aaeb334425ae1640e564fa855
Timestamp:
Sunday 10 December 2023 at 18:34:42 UTC
()
Proposer:
Authorizers: