Flow price: --
98a04581288e4f73376d0a10a79b937bf115fd4c8724cd2a501b860a1089bd6d

Transaction

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


Hash:
98a04581288e4f73376d0a10a79b937bf115fd4c8724cd2a501b860a1089bd6d
Status:
ERROR
Block height:
68086199
Block id:
56a0fb6d5ad4a64baa0ba12d4b2b63c2236efedd6a2a77d954feaa04f52bc3b7
Timestamp:
Tuesday 19 December 2023 at 19:37:26 UTC
()
Proposer:
Authorizers: