Flow price: --
02789681783105a2f5f4398cb2d0711d91cb8e97e1c6b07889955e10fe14d6b1

Transaction

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


Hash:
02789681783105a2f5f4398cb2d0711d91cb8e97e1c6b07889955e10fe14d6b1
Status:
ERROR
Block height:
67551905
Block id:
16fea6d05e8b0f0bcfdbfac8a5228f7271e008540a812d6189448b4a19ef8d81
Timestamp:
Tuesday 12 December 2023 at 01:44:29 UTC
()
Proposer:
Authorizers: