Flow price: --
021ce92852022af3ebb272900d4edbec20faa3a33906aa8826abaa704a4d5ce5

Transaction

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


Hash:
021ce92852022af3ebb272900d4edbec20faa3a33906aa8826abaa704a4d5ce5
Status:
ERROR
Block height:
67532595
Block id:
393d7f917a2804fea287877fd1d70da54b517e337c528911e9c371332770b718
Timestamp:
Monday 11 December 2023 at 19:01:19 UTC
()
Proposer:
Authorizers: