Flow price: --
0d75af500cfa93047c758299b2af742742c6c76719f375b90e590195c54bcaf9

Transaction

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


Hash:
0d75af500cfa93047c758299b2af742742c6c76719f375b90e590195c54bcaf9
Status:
ERROR
Block height:
67410097
Block id:
a2c5e71323e9af476187403b425d370a98e79422e245eee2fb90c32b84e7825e
Timestamp:
Sunday 10 December 2023 at 00:24:03 UTC
()
Proposer:
Authorizers: