Flow price: --
b10de0cf8876b8fee9595d049fe2fea400d894310b6f51eddd07167f36011941

Transaction

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


Hash:
b10de0cf8876b8fee9595d049fe2fea400d894310b6f51eddd07167f36011941
Status:
ERROR
Block height:
67792863
Block id:
43c0136780cb736c9bc3cd4b198a30639c5be436f0d9dbfbe5d3e52b11b4b033
Timestamp:
Friday 15 December 2023 at 13:34:24 UTC
()
Proposer:
Authorizers: