Flow price: --
d4f94bfec2e76eba0f6c4e641267ed98393ffca46e7a5728838f2356046caff7

Transaction

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


Hash:
d4f94bfec2e76eba0f6c4e641267ed98393ffca46e7a5728838f2356046caff7
Status:
ERROR
Block height:
67462818
Block id:
c40f0eda8f0f0dd3a03831accf822a530476a4afc2ee071c40f74195ca7ae875
Timestamp:
Sunday 10 December 2023 at 18:44:44 UTC
()
Proposer:
Authorizers: