Flow price: --
1b70c464a195c10a81ca56e7a6dc9411cf4ca0a878b1d8407c0d6283f7c8bea5

Transaction

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


Hash:
1b70c464a195c10a81ca56e7a6dc9411cf4ca0a878b1d8407c0d6283f7c8bea5
Status:
ERROR
Block height:
67735369
Block id:
944f33bf17fe83af06426a872289d5f5e08df66911fad9ce5bf2ce2ea91fbd70
Timestamp:
Thursday 14 December 2023 at 17:34:13 UTC
()
Proposer:
Authorizers: