Flow price: --
0481a199661891f5144f4c25c252d1b9be8d318cdc7a7acabceec20c4dd0937e

Transaction

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


Hash:
0481a199661891f5144f4c25c252d1b9be8d318cdc7a7acabceec20c4dd0937e
Status:
ERROR
Block height:
67448065
Block id:
7280b9d70c1ef48db646c2189fd86f60e33fc882d758d70424a1bf0fc5eff869
Timestamp:
Sunday 10 December 2023 at 13:36:42 UTC
()
Proposer:
Authorizers: