Flow price: --
5ff8672925d01be6061772f0e35cf3f0040bf13e0e3d5a6a33b7f2ef1ac6e089

Transaction

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


Hash:
5ff8672925d01be6061772f0e35cf3f0040bf13e0e3d5a6a33b7f2ef1ac6e089
Status:
ERROR
Block height:
67645224
Block id:
67d7999cc9b7a2903793f9b5e756f95aefac241d083c9a5de8d7ceb6b84b12d7
Timestamp:
Wednesday 13 December 2023 at 10:12:26 UTC
()
Proposer:
Authorizers: