Flow price: --
1307ad40822f52313f90ae39cb538f298cd7033a0d8487f4b3b4b51cf8853b72

Transaction

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


Hash:
1307ad40822f52313f90ae39cb538f298cd7033a0d8487f4b3b4b51cf8853b72
Status:
ERROR
Block height:
67954291
Block id:
df4d20327e7c38596706b6bf80be62233dcb6a8cd3480dbd74cde1dd2fe43fa5
Timestamp:
Sunday 17 December 2023 at 21:43:57 UTC
()
Proposer:
Authorizers: