Flow price: --
d5baa0fae9d3083af93699f3346ab443a2e2b20a5c79256829839b84138636f5

Transaction

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


Hash:
d5baa0fae9d3083af93699f3346ab443a2e2b20a5c79256829839b84138636f5
Status:
ERROR
Block height:
67974078
Block id:
31a16be5c06ad146a6087b47a0e20d9afd014c8d609a1c6361bb9fd7eba5bf88
Timestamp:
Monday 18 December 2023 at 04:36:58 UTC
()
Proposer:
Authorizers: