Flow price: --
8a46444d23f81da004429cf78548cd1e7bfd27db612ab9dc8d30cdb8cf85885a

Transaction

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


Hash:
8a46444d23f81da004429cf78548cd1e7bfd27db612ab9dc8d30cdb8cf85885a
Status:
ERROR
Block height:
67468070
Block id:
5cdbe573c2b87c59a0917166749be7f8ad1a88baf859d4652eab693749766d7d
Timestamp:
Sunday 10 December 2023 at 20:34:20 UTC
()
Proposer:
Authorizers: