Flow price: --
1fc825659746d76da2fcfe44217cd7e3e9ccb056a7d76b2651d99e973668517b

Transaction

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


Hash:
1fc825659746d76da2fcfe44217cd7e3e9ccb056a7d76b2651d99e973668517b
Status:
ERROR
Block height:
67353023
Block id:
bc5b0ed6d7797fd1fd28119ff30975b22255e31e8bc6323a2707a6ceb093a546
Timestamp:
Saturday 9 December 2023 at 04:32:46 UTC
()
Proposer:
Authorizers: