Flow price: --
b95d2576d0c2b1a1f6844f85b480afee6e0cab2d6107ad9082bcf2cd8fb5f738

Transaction

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


Hash:
b95d2576d0c2b1a1f6844f85b480afee6e0cab2d6107ad9082bcf2cd8fb5f738
Status:
ERROR
Block height:
67463803
Block id:
09832791924460dfafc613399779e50bb8a245e1ca455a462fbd5adbcc230acc
Timestamp:
Sunday 10 December 2023 at 19:05:17 UTC
()
Proposer:
Authorizers: