Flow price: --
d710d7056588d3531c05c941b3d9ac050c2e5701e3f0d780e2fa7c6831925b48

Transaction

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


Hash:
d710d7056588d3531c05c941b3d9ac050c2e5701e3f0d780e2fa7c6831925b48
Status:
ERROR
Block height:
68080619
Block id:
327d59e7a9c6f3c0dec2332befa0264b02219824edea994b170b358c47ce234a
Timestamp:
Tuesday 19 December 2023 at 17:40:58 UTC
()
Proposer:
Authorizers: