Flow price: --
52c219bcb7299e9616ba45cde3e79f59381b214bf3a768f33bbfd33f5d965fa5

Transaction

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


Hash:
52c219bcb7299e9616ba45cde3e79f59381b214bf3a768f33bbfd33f5d965fa5
Status:
ERROR
Block height:
67356421
Block id:
1fdb59f4daf681c13f66b233164a6e1e8a09aa2f7091794e982ed3051902d081
Timestamp:
Saturday 9 December 2023 at 05:43:40 UTC
()
Proposer:
Authorizers: