Flow price: --
d76d3f7657403337a49d1132b8924c302102cc470a741de2a8dd5ff42f78c6a5

Transaction

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


Hash:
d76d3f7657403337a49d1132b8924c302102cc470a741de2a8dd5ff42f78c6a5
Status:
ERROR
Block height:
67386330
Block id:
1098b102e94cb61da2c634663401e03c350e8312de2aa2be072585e22b00b12a
Timestamp:
Saturday 9 December 2023 at 16:07:55 UTC
()
Proposer:
Authorizers: