Flow price: --
edefea0f5e2ebb60d192abaeacf421edf916538cf35499b1b73609ba265d23d9

Transaction

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


Hash:
edefea0f5e2ebb60d192abaeacf421edf916538cf35499b1b73609ba265d23d9
Status:
ERROR
Block height:
68085109
Block id:
25c8e42a191ed7e74c0458c4a05f3d97976a57c67762fcd553b5179bc01d722a
Timestamp:
Tuesday 19 December 2023 at 19:14:39 UTC
()
Proposer:
Authorizers: