Flow price: --
d5b221df58dd55264ae12c138bdfb4f27f8f79c14066c1c73d99a929d60b10e0

Transaction

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


Hash:
d5b221df58dd55264ae12c138bdfb4f27f8f79c14066c1c73d99a929d60b10e0
Status:
ERROR
Block height:
68099723
Block id:
804ed937a29c3676dc7731e6bfec2231fc979deea496f8ed63395c50e3c327de
Timestamp:
Wednesday 20 December 2023 at 00:19:47 UTC
()
Proposer:
Authorizers: