Flow price: --
8999d7e7d0c1dbf2f7502c47005c77a8122646b4d433d51694396d615488651c

Transaction

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


Hash:
8999d7e7d0c1dbf2f7502c47005c77a8122646b4d433d51694396d615488651c
Status:
ERROR
Block height:
67531959
Block id:
73d53f63f70b374e426fde4989a2fd5a2375cc24d6ccfd0f5cb100dc17aebf99
Timestamp:
Monday 11 December 2023 at 18:48:03 UTC
()
Proposer:
Authorizers: