Flow price: --
213e1c2aca4c373179610df5768420091b4062425472462464ac51932199c9b9

Transaction

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


Hash:
213e1c2aca4c373179610df5768420091b4062425472462464ac51932199c9b9
Status:
ERROR
Block height:
67554470
Block id:
a13312ace8fc3e93995d88270087a9f000b6c7a357061fd912c8731647d91097
Timestamp:
Tuesday 12 December 2023 at 02:38:03 UTC
()
Proposer:
Authorizers: