Flow price: --
748f2506b321f42c6e00e56584a28d6643c21c1a1b5ddd0f9291afd948290ee9

Transaction

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


Hash:
748f2506b321f42c6e00e56584a28d6643c21c1a1b5ddd0f9291afd948290ee9
Status:
ERROR
Block height:
67364629
Block id:
33089bdae4fba52ebfc2638257dce447f3eeb91c51fb00df6346e8b7a7a4ae6a
Timestamp:
Saturday 9 December 2023 at 08:34:58 UTC
()
Proposer:
Authorizers: