Flow price: --
eb738358212efc073bb2f85f0bfa688512366f84fafd2680d255ea0e2ce668b1

Transaction

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


Hash:
eb738358212efc073bb2f85f0bfa688512366f84fafd2680d255ea0e2ce668b1
Status:
ERROR
Block height:
67353502
Block id:
b9e1f6b2802500e1c6b0314cf331a6bdecf4e3a1c69a0a6b144fd2c4fcda634c
Timestamp:
Saturday 9 December 2023 at 04:42:46 UTC
()
Proposer:
Authorizers: