Flow price: --
de01eadb14df99d3c98b978060c6c460a474f3a8677e622523a82f5ae9861253

Transaction

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


Hash:
de01eadb14df99d3c98b978060c6c460a474f3a8677e622523a82f5ae9861253
Status:
ERROR
Block height:
68126298
Block id:
3ce830df715517af7dc9dba9a4c1a4f0124bdfb7e28ab05b686f051e6101e5cc
Timestamp:
Wednesday 20 December 2023 at 09:34:27 UTC
()
Proposer:
Authorizers: