Flow price: --
c890a52969fe80fa1525cf9f567a9185f5fade86eb113f5145b035fba12eb198

Transaction

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


Hash:
c890a52969fe80fa1525cf9f567a9185f5fade86eb113f5145b035fba12eb198
Status:
ERROR
Block height:
67476056
Block id:
61c15364dd7d9a14bfc3f3f0cdbe6e26cdb4160ba016442f47f22a05c31ca6ab
Timestamp:
Sunday 10 December 2023 at 23:21:02 UTC
()
Proposer:
Authorizers: