Flow price: --
65d13fb531a5517927a48d4d493cf86fb694937e92aaf10d4b2462b4f8a42541

Transaction

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


Hash:
65d13fb531a5517927a48d4d493cf86fb694937e92aaf10d4b2462b4f8a42541
Status:
ERROR
Block height:
67812018
Block id:
068ee647f366713d768374bf30b1328d37a723da956503dc2d3a46eec7eb7120
Timestamp:
Friday 15 December 2023 at 20:14:14 UTC
()
Proposer:
Authorizers: