Flow price: --
a64e3a87e78fdc65f5405274aba6e7e352050319990c5db8638da05dae31e99c

Transaction

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


Hash:
a64e3a87e78fdc65f5405274aba6e7e352050319990c5db8638da05dae31e99c
Status:
ERROR
Block height:
67605765
Block id:
e52a298df10698a97bc1bdfe1e49968538aaf93f62b18de10e17abcf8a7772aa
Timestamp:
Tuesday 12 December 2023 at 20:28:49 UTC
()
Proposer:
Authorizers: