Flow price: --
d4a2e88b1e96d5d99a811f738aba9f66c7ef4aeaee592b9d5f3ede03115a4c65

Transaction

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


Hash:
d4a2e88b1e96d5d99a811f738aba9f66c7ef4aeaee592b9d5f3ede03115a4c65
Status:
ERROR
Block height:
67600292
Block id:
d0e2b6252af725fa407b5545fb5ee5726fe1fa2469bc6652d132974926479c8b
Timestamp:
Tuesday 12 December 2023 at 18:34:34 UTC
()
Proposer:
Authorizers: