Flow price: --
3431d1c3f8175b5a24b5754a217974219bb391b8ba8f023bcc655da7ce4d4b65

Transaction

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


Hash:
3431d1c3f8175b5a24b5754a217974219bb391b8ba8f023bcc655da7ce4d4b65
Status:
ERROR
Block height:
67352118
Block id:
19711414c14c7ac4c09d6ea8c43166b332e4d8d08661613ab290f4e6cf4c0f3b
Timestamp:
Saturday 9 December 2023 at 04:13:52 UTC
()
Proposer:
Authorizers: