Flow price: --
63641921712661933b7cb16339babb973b5e8d8c38f739dc5de130e896fc95f3

Transaction

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


Hash:
63641921712661933b7cb16339babb973b5e8d8c38f739dc5de130e896fc95f3
Status:
ERROR
Block height:
67356860
Block id:
97fc1477c22a7e3eb90d69ae19dee519f1d345958f7bba3670fa05e1b318dc3c
Timestamp:
Saturday 9 December 2023 at 05:52:52 UTC
()
Proposer:
Authorizers: