Flow price: --
f462d269c7f5b8bbdc123679f32e33be5a35dac60c17a3ad2dbf66b512936e70

Transaction

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


Hash:
f462d269c7f5b8bbdc123679f32e33be5a35dac60c17a3ad2dbf66b512936e70
Status:
ERROR
Block height:
68095753
Block id:
016e7b80d1142ca819fa18c0368d9138f9de224730c7b1336d6114bbf0aaf7d4
Timestamp:
Tuesday 19 December 2023 at 22:56:55 UTC
()
Proposer:
Authorizers: