Flow price: --
d6548fead677650f6d68cd81e0a7af0b99fa2fe511842178b16fad2c309de2b1

Transaction

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


Hash:
d6548fead677650f6d68cd81e0a7af0b99fa2fe511842178b16fad2c309de2b1
Status:
ERROR
Block height:
67507309
Block id:
840bcde9009c76414b5481b99d32a7380d209d1cedab7a500065082012d9f16b
Timestamp:
Monday 11 December 2023 at 10:13:28 UTC
()
Proposer:
Authorizers: