Flow price: --
b80da576763e58bf51272d3c35e0871fe1cfe4ec1c57606b094dcfe1474f5137

Transaction

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


Hash:
b80da576763e58bf51272d3c35e0871fe1cfe4ec1c57606b094dcfe1474f5137
Status:
ERROR
Block height:
67352581
Block id:
471428ef0ea0571150b99ba0aecbb4e93361761d998d50a920deb23bbb9c83a5
Timestamp:
Saturday 9 December 2023 at 04:23:32 UTC
()
Proposer:
Authorizers: