Flow price: --
8e1a964a2b6da92160b902e83717ae601604ca87748a2148bf74b64cad13ef3b

Transaction

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


Hash:
8e1a964a2b6da92160b902e83717ae601604ca87748a2148bf74b64cad13ef3b
Status:
ERROR
Block height:
67390432
Block id:
61f32f337bebb1158a689d4e56e316f3a6389625e2750b18887bff5b9f6cf835
Timestamp:
Saturday 9 December 2023 at 17:33:34 UTC
()
Proposer:
Authorizers: