Flow price: --
2e8710201cff6798d07b7a3c9049df738f8fae5110b4f10b9633e358c2edc34e

Transaction

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


Hash:
2e8710201cff6798d07b7a3c9049df738f8fae5110b4f10b9633e358c2edc34e
Status:
ERROR
Block height:
67511556
Block id:
90327b64333e61f2c479dcee9171fac2716d79f674a6ed7ac87a8b7032550761
Timestamp:
Monday 11 December 2023 at 11:42:06 UTC
()
Proposer:
Authorizers: