Flow price: --
820a86e3ecb0a12d1d348af4182e34a7414bd690304c2cb745a4964acad6108c

Transaction

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


Hash:
820a86e3ecb0a12d1d348af4182e34a7414bd690304c2cb745a4964acad6108c
Status:
ERROR
Block height:
67492454
Block id:
61a2edc3dc4471bf888438b98cbd54e9a79b8bcc01de1154c34fcacc364c3802
Timestamp:
Monday 11 December 2023 at 05:03:19 UTC
()
Proposer:
Authorizers: