Flow price: --
e3c4ad70d62bcbf9d0fe1128b2a99c045053b553b3f4d1d5b8c3537ce23c4e1e

Transaction

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


Hash:
e3c4ad70d62bcbf9d0fe1128b2a99c045053b553b3f4d1d5b8c3537ce23c4e1e
Status:
ERROR
Block height:
67426745
Block id:
56bb5e0030cdcaedd1b4c406575bfef2571adf255fc57e7332f0e89044a9d609
Timestamp:
Sunday 10 December 2023 at 06:11:42 UTC
()
Proposer:
Authorizers: