Flow price: --
9a02094cfaa4584ddaa6601a221617e52365bcc795e1e31b9aaed32f081382c5

Transaction

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


Hash:
9a02094cfaa4584ddaa6601a221617e52365bcc795e1e31b9aaed32f081382c5
Status:
ERROR
Block height:
67444639
Block id:
8a90ec82aa3be3f086af43d519ff3364fe1a6294203ef516e87d80d4f567693a
Timestamp:
Sunday 10 December 2023 at 12:25:14 UTC
()
Proposer:
Authorizers: