Flow price: --
ef4fea1607bb6ecc18e89197c68a539587c59337df95cf825730ec6257d1f6d0

Transaction

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


Hash:
ef4fea1607bb6ecc18e89197c68a539587c59337df95cf825730ec6257d1f6d0
Status:
ERROR
Block height:
67352040
Block id:
ff48a6d2975416f7d17e63060db4a191766df01ccaeb391e95a5355e807a5c3e
Timestamp:
Saturday 9 December 2023 at 04:12:17 UTC
()
Proposer:
Authorizers: