Flow price: --
abd754dfd4f1c0948d03652ed933e6106193addd79ef094ae827739cab0ffdce

Transaction

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


Hash:
abd754dfd4f1c0948d03652ed933e6106193addd79ef094ae827739cab0ffdce
Status:
ERROR
Block height:
67414196
Block id:
67c0b26bed531528d7693fcf5395297c2370190dbe83b2a635e9aa1154e5dfb6
Timestamp:
Sunday 10 December 2023 at 01:49:37 UTC
()
Proposer:
Authorizers: