Flow price: --
d73ccc45d226016931bd7ffcb028233b701e21fb9453b9e12d468917a5bb0ce4

Transaction

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


Hash:
d73ccc45d226016931bd7ffcb028233b701e21fb9453b9e12d468917a5bb0ce4
Status:
ERROR
Block height:
68175592
Block id:
23b88323a2840a4ad46711e13605be10de875223235afd1688ecdba37c066553
Timestamp:
Thursday 21 December 2023 at 02:43:23 UTC
()
Proposer:
Authorizers: