Flow price: --
bd19c2e6f827721fa6a87b75a4e18322d733362e71d423ad513df7314e6a33d6

Transaction

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


Hash:
bd19c2e6f827721fa6a87b75a4e18322d733362e71d423ad513df7314e6a33d6
Status:
ERROR
Block height:
67549804
Block id:
0be64d708e1dfbe856ae7d973846ff48a4f70d05300b1f0d3f7c8d2980fd604d
Timestamp:
Tuesday 12 December 2023 at 01:00:38 UTC
()
Proposer:
Authorizers: