Flow price: --
54778bfbbfb008798c4ffbc634756f3424dedb96507e24e38ecb147db52061bb

Transaction

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


Hash:
54778bfbbfb008798c4ffbc634756f3424dedb96507e24e38ecb147db52061bb
Status:
ERROR
Block height:
67686531
Block id:
91df3f1f5f7f32e526b5933719275461ae3b36e8a83cc5324250adfdb0c7a5ee
Timestamp:
Thursday 14 December 2023 at 00:34:51 UTC
()
Proposer:
Authorizers: