Flow price: --
fabcc7d0a65bf98c5d153ddd076c550103205c900762f6552c84cd60719be338

Transaction

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


Hash:
fabcc7d0a65bf98c5d153ddd076c550103205c900762f6552c84cd60719be338
Status:
ERROR
Block height:
67355149
Block id:
bec1c809cd869a5720675f90d101fe720069a68c83929d39606e56443e877d8b
Timestamp:
Saturday 9 December 2023 at 05:17:08 UTC
()
Proposer:
Authorizers: