Flow price: --
ba38b229982e19a116054b6ecc5232ac05762fd145be7371683e5656ae47873f

Transaction

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


Hash:
ba38b229982e19a116054b6ecc5232ac05762fd145be7371683e5656ae47873f
Status:
ERROR
Block height:
68175638
Block id:
268485662b4b4ad19d894f25f1be4ae65bea4335664b804831b47e557f308d75
Timestamp:
Thursday 21 December 2023 at 02:44:21 UTC
()
Proposer:
Authorizers: