Flow price: --
e7853c702027beea8b8d5a8c41e6b9e78eb3f36f07c7ead2ec7206d7412c96bc

Transaction

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


Hash:
e7853c702027beea8b8d5a8c41e6b9e78eb3f36f07c7ead2ec7206d7412c96bc
Status:
ERROR
Block height:
67380691
Block id:
09d611a9ca94a3abf93f53089a5df0d3b5a896af06da2c58cf81b84418335791
Timestamp:
Saturday 9 December 2023 at 14:10:11 UTC
()
Proposer:
Authorizers: