Flow price: --
24a25b493238b70db1720319c35f2dbad55e037f0102c35baae5bd2f08642647

Transaction

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


Hash:
24a25b493238b70db1720319c35f2dbad55e037f0102c35baae5bd2f08642647
Status:
ERROR
Block height:
67827660
Block id:
9d5b8664d41eba4f817ebc9de239ed02b12e29ecbf54d2a485d887d9e6a07e63
Timestamp:
Saturday 16 December 2023 at 01:40:58 UTC
()
Proposer:
Authorizers: