Flow price: --
edb8ec608c2098a693a5cd0f47c9dbaba2a54f4b5bf204a453bc0302c42592d0

Transaction

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


Hash:
edb8ec608c2098a693a5cd0f47c9dbaba2a54f4b5bf204a453bc0302c42592d0
Status:
ERROR
Block height:
67372947
Block id:
b9296c76f03b7d3dc517a499917d0adf98633bdd535ffd2e20810b05b7b7218b
Timestamp:
Saturday 9 December 2023 at 11:28:34 UTC
()
Proposer:
Authorizers: