Flow price: --
0472a9b6966015f6f92bba4f17483dd211db884d06bf86d05bef41399d00c2b8

Transaction

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


Hash:
0472a9b6966015f6f92bba4f17483dd211db884d06bf86d05bef41399d00c2b8
Status:
ERROR
Block height:
68032203
Block id:
38733988ecf79d11871581b78b1aef740072ca9be03bf23aba017d68b4cf99b9
Timestamp:
Tuesday 19 December 2023 at 00:50:14 UTC
()
Proposer:
Authorizers: