Flow price: --
adab7ece00804d5d529eb16f1fa5f64b7c13599653b791750861d71e57594f5c

Transaction

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


Hash:
adab7ece00804d5d529eb16f1fa5f64b7c13599653b791750861d71e57594f5c
Status:
ERROR
Block height:
67547239
Block id:
b4f118d66380581354d4da03e51709ce3f1f13f6b96bd8da243b4863f027cf87
Timestamp:
Tuesday 12 December 2023 at 00:07:06 UTC
()
Proposer:
Authorizers: