Flow price: --
e2cba2c09be29b46378a6eaf9f998eec7c9956a4a752e2accf87583135971d42

Transaction

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


Hash:
e2cba2c09be29b46378a6eaf9f998eec7c9956a4a752e2accf87583135971d42
Status:
ERROR
Block height:
67946599
Block id:
67536a7226ac7afe52c83520ad71a6abc084314412a08afab2bce13626efc14a
Timestamp:
Sunday 17 December 2023 at 19:03:25 UTC
()
Proposer:
Authorizers: