Flow price: --
188778d0ea5c5f6dc5c77c1a3517d2410411193d5bc7c1494a159053cdad6463

Transaction

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


Hash:
188778d0ea5c5f6dc5c77c1a3517d2410411193d5bc7c1494a159053cdad6463
Status:
ERROR
Block height:
67352233
Block id:
50afed06283accb40b4096089f7331224157df26ce3ccc9e23144c92ded4c02c
Timestamp:
Saturday 9 December 2023 at 04:16:17 UTC
()
Proposer:
Authorizers: