Flow price: --
6b09c278616f775bee4b35afc29820546a4fc158208534ab8fbfd826e36dc9bd

Transaction

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


Hash:
6b09c278616f775bee4b35afc29820546a4fc158208534ab8fbfd826e36dc9bd
Status:
ERROR
Block height:
67430439
Block id:
aa9bcd07596bb55446f7c6992331e389d7360bf9dec6a4a5a4557c0704dff91e
Timestamp:
Sunday 10 December 2023 at 07:28:47 UTC
()
Proposer:
Authorizers: