Flow price: --
10cc27ca7f379aea348e02062d59ed256c59a61892077be84ec1d09efeb8a995

Transaction

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


Hash:
10cc27ca7f379aea348e02062d59ed256c59a61892077be84ec1d09efeb8a995
Status:
ERROR
Block height:
67974048
Block id:
fc3df718dee0a110fd6086d97ef7bc2ef3f0d7ae10083f6c37bb20adb08c5d09
Timestamp:
Monday 18 December 2023 at 04:36:20 UTC
()
Proposer:
Authorizers: