Flow price: --
b2c0b27e32dbd26c31a0058f28588f24d65eec8089e9201e7577ea50dfc52c81

Transaction

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


Hash:
b2c0b27e32dbd26c31a0058f28588f24d65eec8089e9201e7577ea50dfc52c81
Status:
ERROR
Block height:
68175017
Block id:
b6ec147bc2862126bccaec0a9dd466653ad3f863de63ed2683439dc356ba46ff
Timestamp:
Thursday 21 December 2023 at 02:31:24 UTC
()
Proposer:
Authorizers: