Flow price: --
ef60924ae78dda9e66043aa1cde8c2710d7a94e06498ab67df71078fbd2ffd62

Transaction

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


Hash:
ef60924ae78dda9e66043aa1cde8c2710d7a94e06498ab67df71078fbd2ffd62
Status:
ERROR
Block height:
67550548
Block id:
ade3f8d418428e55a75a2b3c49a2d4e5d02b6b5f046d8a66f4a87fecf5271db7
Timestamp:
Tuesday 12 December 2023 at 01:16:09 UTC
()
Proposer:
Authorizers: