Flow price: --
8f7f07beeed0a9af5e7b4a307017f2c389442aad827db7718f6923f5369e74af

Transaction

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


Hash:
8f7f07beeed0a9af5e7b4a307017f2c389442aad827db7718f6923f5369e74af
Status:
ERROR
Block height:
67459948
Block id:
10e764118ca39b8fff5dcae9dca8baecfa0e2b8b7c910761775bbf890d20a185
Timestamp:
Sunday 10 December 2023 at 17:44:48 UTC
()
Proposer:
Authorizers: