Flow price: --
f25d046bef21a5fe72030613facd3f3087da367aa52c2bd5a41d58ce149e335c

Transaction

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


Hash:
f25d046bef21a5fe72030613facd3f3087da367aa52c2bd5a41d58ce149e335c
Status:
ERROR
Block height:
67355063
Block id:
e1e8b7a6e81cf5321012b3388731cceb7d13953f886fd64d9c7fedd9884cf247
Timestamp:
Saturday 9 December 2023 at 05:15:22 UTC
()
Proposer:
Authorizers: