Flow price: --
9004163a05646078bea85ae91a3f2840a6cdb6673feb8712380db83b6606b867

Transaction

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


Hash:
9004163a05646078bea85ae91a3f2840a6cdb6673feb8712380db83b6606b867
Status:
ERROR
Block height:
67949420
Block id:
79e0dd133ce4dd946793b7d6d9b7dc37e8cb2952ebc66c7985c87ad4bedcf690
Timestamp:
Sunday 17 December 2023 at 20:02:18 UTC
()
Proposer:
Authorizers: