Flow price: --
931a6da042ff53f0647a7be3469c80b32db73bea89253287cbc821917160b8c7

Transaction

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


Hash:
931a6da042ff53f0647a7be3469c80b32db73bea89253287cbc821917160b8c7
Status:
ERROR
Block height:
67363982
Block id:
9025ab720f9d35a5ce2cd7f803db53818c7125da400eab8e4b83ab6b6770bb13
Timestamp:
Saturday 9 December 2023 at 08:21:30 UTC
()
Proposer:
Authorizers: