Flow price: --
feabb37cdd74251c511a4b6173a19f7dc497ada008d0a0a3f7d1795d543b5a7d

Transaction

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


Hash:
feabb37cdd74251c511a4b6173a19f7dc497ada008d0a0a3f7d1795d543b5a7d
Status:
ERROR
Block height:
67519028
Block id:
8bf0e5f903d4c480d712af9d4d69e388a48ddcd6c4cc1f21d66dc29c8c0c88b6
Timestamp:
Monday 11 December 2023 at 14:18:05 UTC
()
Proposer:
Authorizers: