Flow price: --
7676126e0148aaece18c5ba5d4ed1d18a09b3b27abc5512dbde17e979b27f528

Transaction

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


Hash:
7676126e0148aaece18c5ba5d4ed1d18a09b3b27abc5512dbde17e979b27f528
Status:
ERROR
Block height:
68191904
Block id:
27119e6714ec4006485b4bc7e47e3667ac136524cf7952138dca2c178e096619
Timestamp:
Thursday 21 December 2023 at 08:23:48 UTC
()
Proposer:
Authorizers: