Flow price: --
4efaa3d9fb31eeb95adaf9da97f61512f2223369423e38d18f1ebd8b886f5a05

Transaction

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


Hash:
4efaa3d9fb31eeb95adaf9da97f61512f2223369423e38d18f1ebd8b886f5a05
Status:
ERROR
Block height:
68071563
Block id:
47dc2d3ad500b89a5b2d1ccf7ec43a0517c73f9fec602b27186d844bb62f609e
Timestamp:
Tuesday 19 December 2023 at 14:31:57 UTC
()
Proposer:
Authorizers: