Flow price: --
0035e3a5807ef2fbc1624cd33a5f24acef8c333d8e20b88e260e19dfd122fec3

Transaction

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


Hash:
0035e3a5807ef2fbc1624cd33a5f24acef8c333d8e20b88e260e19dfd122fec3
Status:
ERROR
Block height:
67407076
Block id:
85184562e4e72105379f68623922ed2a206dc17c3a31c367c004389002bef680
Timestamp:
Saturday 9 December 2023 at 23:20:59 UTC
()
Proposer:
Authorizers: