Flow price: --
d211d4764009dad47a3257a7a95705d0c438c0797320f8a74254dc4b7247afe7

Transaction

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


Hash:
d211d4764009dad47a3257a7a95705d0c438c0797320f8a74254dc4b7247afe7
Status:
ERROR
Block height:
67415867
Block id:
3732ac7fd8d1a99f100faba07d88c807801a24d0332a224cc6f19a5c77f27a38
Timestamp:
Sunday 10 December 2023 at 02:24:31 UTC
()
Proposer:
Authorizers: