Flow price: --
dfebeea7e22434fe8ce4fae22643f7205769d1825c1aa98d448cc906cebb1c8b

Transaction

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


Hash:
dfebeea7e22434fe8ce4fae22643f7205769d1825c1aa98d448cc906cebb1c8b
Status:
ERROR
Block height:
68105817
Block id:
5373aab4ddf57e9d5286e69a557dfa5a9b9bd33408d6e23a1f75d68860ae2fac
Timestamp:
Wednesday 20 December 2023 at 02:26:58 UTC
()
Proposer:
Authorizers: