Flow price: --
873bc3dbf987343f7de93b451bf92679eda7c68dd259de378e361549d7d5e4c4

Transaction

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


Hash:
873bc3dbf987343f7de93b451bf92679eda7c68dd259de378e361549d7d5e4c4
Status:
ERROR
Block height:
67362700
Block id:
95b8ab74555430ac95f7075e4728565b0f82aadb404f6fa24a2ad1cae8eff031
Timestamp:
Saturday 9 December 2023 at 07:54:44 UTC
()
Proposer:
Authorizers: