Flow price: --
686bd3e2b12f63bafe7de032d65f995288f5c51f94fd36057436653f5f450976

Transaction

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


Hash:
686bd3e2b12f63bafe7de032d65f995288f5c51f94fd36057436653f5f450976
Status:
ERROR
Block height:
68083652
Block id:
3e4580da0f47108c0245926d18d4ed63e39a734cdebe7019ec3110fb3e5e5ad1
Timestamp:
Tuesday 19 December 2023 at 18:44:15 UTC
()
Proposer:
Authorizers: