Flow price: --
ed4f360c93fd8051f6b2354370117399170450f2eb45d45b47ef7f4facb1973e

Transaction

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


Hash:
ed4f360c93fd8051f6b2354370117399170450f2eb45d45b47ef7f4facb1973e
Status:
ERROR
Block height:
67373058
Block id:
ca2f90e205a338bc2f03aa3040625d75b1cd477ff84eef553ef5d8bca022f0fe
Timestamp:
Saturday 9 December 2023 at 11:30:53 UTC
()
Proposer:
Authorizers: