Flow price: --
2210100d7d275991d3000bcd8bc4007e4efc2068fba90d5d1fbe28757df058d1

Transaction

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


Hash:
2210100d7d275991d3000bcd8bc4007e4efc2068fba90d5d1fbe28757df058d1
Status:
ERROR
Block height:
67819626
Block id:
4dcb2ff3adc1a24b2391ea13082b4a097ed0a60a0f0c7047a0c0778561a6ed50
Timestamp:
Friday 15 December 2023 at 22:53:02 UTC
()
Proposer:
Authorizers: