Flow price: --
8d8f0aeee30e6e3eefd703ffa0e8fa956952c7fdc4639dfb747457bc6417711d

Transaction

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


Hash:
8d8f0aeee30e6e3eefd703ffa0e8fa956952c7fdc4639dfb747457bc6417711d
Status:
ERROR
Block height:
68075415
Block id:
0b9c7f94f69c00d183b3dc4c024828bf4cc3b8ecda57d375cbf35770244fda70
Timestamp:
Tuesday 19 December 2023 at 15:52:21 UTC
()
Proposer:
Authorizers: