Flow price: --
5780a4e9fbbea68b94a822c7a677a57949c47567d423e7ac18df1280020fb527

Transaction

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


Hash:
5780a4e9fbbea68b94a822c7a677a57949c47567d423e7ac18df1280020fb527
Status:
ERROR
Block height:
67554070
Block id:
a001180641fe592ea2e9360b8754dfcadaf022adb97d6ed5c106c27f667264ce
Timestamp:
Tuesday 12 December 2023 at 02:29:48 UTC
()
Proposer:
Authorizers: