Flow price: --
9aada73f36e2adbfddf2b6bc3bcd9b62941b22be0e7b73abbbc9e711cef4ab0e

Transaction

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


Hash:
9aada73f36e2adbfddf2b6bc3bcd9b62941b22be0e7b73abbbc9e711cef4ab0e
Status:
ERROR
Block height:
67399985
Block id:
0aaa6a79f75edabcede6a6bbe7fc87d16968a9067a0306f01960d693fe6533bc
Timestamp:
Saturday 9 December 2023 at 20:52:57 UTC
()
Proposer:
Authorizers: