Flow price: --
d9f7717df60fc50e6f8defe15c99411562525c63dfe36888c3f0bfb9da2180eb

Transaction

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


Hash:
d9f7717df60fc50e6f8defe15c99411562525c63dfe36888c3f0bfb9da2180eb
Status:
ERROR
Block height:
67387282
Block id:
6345e97278ea4259f8617273409d394579bd2de9cf06ba4df3af3d0ac14f6b95
Timestamp:
Saturday 9 December 2023 at 16:27:47 UTC
()
Proposer:
Authorizers: