Flow price: --
b7cc9f6e89c1f5c4954a73a19437c1cf0d5398c28fb5bf83b3b0d27850926fc3

Transaction

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


Hash:
b7cc9f6e89c1f5c4954a73a19437c1cf0d5398c28fb5bf83b3b0d27850926fc3
Status:
ERROR
Block height:
67376639
Block id:
bb88b15affb882da7712b877a05cfa5fe251528476b69efbf18c032c713a7e9c
Timestamp:
Saturday 9 December 2023 at 12:45:37 UTC
()
Proposer:
Authorizers: