Flow price: --
1f7f59e175da8679c2e5ba287c78bdacdbd521f0246c7cdfa63291b293a9a0ca

Transaction

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


Hash:
1f7f59e175da8679c2e5ba287c78bdacdbd521f0246c7cdfa63291b293a9a0ca
Status:
ERROR
Block height:
67477753
Block id:
ad070ad8939c03808573aef682175c0fffdca30cd804fa78ffde67a7012cf538
Timestamp:
Sunday 10 December 2023 at 23:56:27 UTC
()
Proposer:
Authorizers: