Flow price: --
3a9f06d5f9348277e70674d66115062091c01143916bb9365325e41971aea8f2

Transaction

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


Hash:
3a9f06d5f9348277e70674d66115062091c01143916bb9365325e41971aea8f2
Status:
ERROR
Block height:
67458948
Block id:
80b5a8b9efea6e018a1bae8ed3600863441acf0f4c46b47914205135bb328860
Timestamp:
Sunday 10 December 2023 at 17:23:55 UTC
()
Proposer:
Authorizers: