Flow price: --
93e8e6efb41f7b0df6057517819bf041517be008232d69bef3da1deb561d0b2c

Transaction

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


Hash:
93e8e6efb41f7b0df6057517819bf041517be008232d69bef3da1deb561d0b2c
Status:
ERROR
Block height:
67562914
Block id:
d090ad5834d41b13976f8f870f7534d7d79b2db316d30bf57ab12b4e0e6c5079
Timestamp:
Tuesday 12 December 2023 at 05:34:23 UTC
()
Proposer:
Authorizers: