Flow price: --
c3527226e60a386d1cd119d879b3e88733505fabf5cef39bff88e86bc8995cfa

Transaction

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


Hash:
c3527226e60a386d1cd119d879b3e88733505fabf5cef39bff88e86bc8995cfa
Status:
ERROR
Block height:
67424690
Block id:
073b7ac73e5344d2f67ff6d47c3fa0c2f469ed1c9b3a1153cc779a76d683fedf
Timestamp:
Sunday 10 December 2023 at 05:28:48 UTC
()
Proposer:
Authorizers: