Flow price: --
0b3eb26b410190b60333ba0c14084675091829e297c9dcf9964caeff6d12a640

Transaction

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


Hash:
0b3eb26b410190b60333ba0c14084675091829e297c9dcf9964caeff6d12a640
Status:
ERROR
Block height:
67783758
Block id:
ee4d6dff98c29bad472ef3ba9325f69b82921fd398adab0199724f843fc9a2d8
Timestamp:
Friday 15 December 2023 at 10:24:22 UTC
()
Proposer:
Authorizers: