Flow price: --
25ae56516de15a2645c4721fdec3a5b9c93359b8cde48c973fedc8c5b99e9c50

Transaction

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


Hash:
25ae56516de15a2645c4721fdec3a5b9c93359b8cde48c973fedc8c5b99e9c50
Status:
ERROR
Block height:
67555775
Block id:
4a59991af29975aaf42f2fbbe88a8b91d838b5b52d1c2b2b2d8dc2a49765ce1c
Timestamp:
Tuesday 12 December 2023 at 03:05:18 UTC
()
Proposer:
Authorizers: