Flow price: --
de4c901b3e0bc5f705be4e3da34e22a7112bd4f8f345e4f6f20c82657d8ef3de

Transaction

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


Hash:
de4c901b3e0bc5f705be4e3da34e22a7112bd4f8f345e4f6f20c82657d8ef3de
Status:
ERROR
Block height:
67445110
Block id:
c0dc80161e9cdf914f686fea6a56e0f17cff75e70d758db62b53575c97938623
Timestamp:
Sunday 10 December 2023 at 12:35:04 UTC
()
Proposer:
Authorizers: