Flow price: --
446fb5081acffb5cdeed298f829fa4f9c4e3e78067fd8ea0486be50e6e1a3deb

Transaction

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


Hash:
446fb5081acffb5cdeed298f829fa4f9c4e3e78067fd8ea0486be50e6e1a3deb
Status:
ERROR
Block height:
67414185
Block id:
5321c09f560ae05ed25447bd5cbc5a1a85d5a1f9478722d449535e935ed75335
Timestamp:
Sunday 10 December 2023 at 01:49:24 UTC
()
Proposer:
Authorizers: