Flow price: --
dfcaa749b662c6b020307f8196e6ab9d9997146cbc3f2f6b9dd596d420797eba

Transaction

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


Hash:
dfcaa749b662c6b020307f8196e6ab9d9997146cbc3f2f6b9dd596d420797eba
Status:
ERROR
Block height:
67362021
Block id:
8afad0e7aafc13e8ab063880c7566ca8f7785afdb5a7db4e94cc41ba3ca328ac
Timestamp:
Saturday 9 December 2023 at 07:40:33 UTC
()
Proposer:
Authorizers: