Flow price: --
7c3c04bba85bdb60a60d1b102003e2be868e34353f9698ae5232929573c1fb4d

Transaction

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


Hash:
7c3c04bba85bdb60a60d1b102003e2be868e34353f9698ae5232929573c1fb4d
Status:
ERROR
Block height:
68189321
Block id:
c50d4970e1670a6e81ab173d0538159a4b23fc678342b1d10c9f4f2b3b2d3435
Timestamp:
Thursday 21 December 2023 at 07:29:54 UTC
()
Proposer:
Authorizers: