Flow price: --
cfcb0c2d07bb2f3ac07fe18cb700413c0f71c9758b419c1e21d8187595ad82c6

Transaction

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


Hash:
cfcb0c2d07bb2f3ac07fe18cb700413c0f71c9758b419c1e21d8187595ad82c6
Status:
ERROR
Block height:
67493938
Block id:
c683fea8ca7b99db24f053e2a96e58e6dd3b6b6fc1650431bb37b2e89f91e0d5
Timestamp:
Monday 11 December 2023 at 05:34:17 UTC
()
Proposer:
Authorizers: