Flow price: --
cc9ffcca3e3c718130200739531a206c6e2179f97fd4a2643f1cb586c6b27f77

Transaction

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


Hash:
cc9ffcca3e3c718130200739531a206c6e2179f97fd4a2643f1cb586c6b27f77
Status:
ERROR
Block height:
67620792
Block id:
5380ba3f979f41ae027a3adde81eca713dd7c647551cfe634000f5fa73004a13
Timestamp:
Wednesday 13 December 2023 at 01:42:30 UTC
()
Proposer:
Authorizers: