Flow price: --
1210563fe5e1e09113ac8be97b7c060da0ea6e277cbfca58803aa98668eedb9e

Transaction

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


Hash:
1210563fe5e1e09113ac8be97b7c060da0ea6e277cbfca58803aa98668eedb9e
Status:
ERROR
Block height:
67410680
Block id:
3b770668dabb1b186897e46b7e15cb07ce5f9841da8960e71515650c44d59dbb
Timestamp:
Sunday 10 December 2023 at 00:36:13 UTC
()
Proposer:
Authorizers: