Flow price: --
97fcf3311dc879abb4c6f830b84e09745f4c1f568bb462d477b274aae72169fc

Transaction

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


Hash:
97fcf3311dc879abb4c6f830b84e09745f4c1f568bb462d477b274aae72169fc
Status:
ERROR
Block height:
67543286
Block id:
3c3ff5501847e6cef49215ecd163185afc8ebc21ed1e64f5de77a8fc0b2f1521
Timestamp:
Monday 11 December 2023 at 22:44:31 UTC
()
Proposer:
Authorizers: