Flow price: --
60948739adc361af1951ed1238ae9f168e06f77ebdd9bd2cdf7466be7330e5d9

Transaction

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


Hash:
60948739adc361af1951ed1238ae9f168e06f77ebdd9bd2cdf7466be7330e5d9
Status:
ERROR
Block height:
67550713
Block id:
4b7eef719c80d08224d59ee303110ca8ed118064c26471cf7208524fde610a0d
Timestamp:
Tuesday 12 December 2023 at 01:19:36 UTC
()
Proposer:
Authorizers: