Flow price: --
be4e3e0afa2ce72949ce92c8b94e0a174ed0da0a44a29eb9ebcef2cd9db70f61

Transaction

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


Hash:
be4e3e0afa2ce72949ce92c8b94e0a174ed0da0a44a29eb9ebcef2cd9db70f61
Status:
ERROR
Block height:
67746236
Block id:
46db4fdd3e40c18d8d0f9a8edbb5b8c9913b45b372fde390448e09fdf906b4a5
Timestamp:
Thursday 14 December 2023 at 21:21:05 UTC
()
Proposer:
Authorizers: