Flow price: --
f836d95926334fdd27eb5283843377e9f57c59bdb9dc4a01588743037ed764ec

Transaction

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


Hash:
f836d95926334fdd27eb5283843377e9f57c59bdb9dc4a01588743037ed764ec
Status:
ERROR
Block height:
67947584
Block id:
901efb568a40b264d6688de18eef6b84c8f152fa6a52db3bd4002e4e0c4a230b
Timestamp:
Sunday 17 December 2023 at 19:23:59 UTC
()
Proposer:
Authorizers: