Flow price: --
fd96608de22012f07f3576e17cee95920762ca1b38675d8f332012b71f5bb508

Transaction

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


Hash:
fd96608de22012f07f3576e17cee95920762ca1b38675d8f332012b71f5bb508
Status:
ERROR
Block height:
67408414
Block id:
467c5b762840ea9c675a0e8011fd35d7338cb1c665316c89dfe9995fd035e6c6
Timestamp:
Saturday 9 December 2023 at 23:48:57 UTC
()
Proposer:
Authorizers: