Flow price: --
8f4d4ffcf2e04c8382d6afbf57c2facf5ecb88dc9a218d04a5efad1102c13fd3

Transaction

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


Hash:
8f4d4ffcf2e04c8382d6afbf57c2facf5ecb88dc9a218d04a5efad1102c13fd3
Status:
ERROR
Block height:
67352022
Block id:
45e608b760e0e2a08a083d07272aa57414593e018d2c4e3039dba4c69f4e66aa
Timestamp:
Saturday 9 December 2023 at 04:11:50 UTC
()
Proposer:
Authorizers: