Flow price: --
cafdab012f12a7b7c8bd000e35129d828b8170f82010a41f65a71916cd0aa3fd

Transaction

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


Hash:
cafdab012f12a7b7c8bd000e35129d828b8170f82010a41f65a71916cd0aa3fd
Status:
ERROR
Block height:
67795728
Block id:
1a4b9d8a829a586f92c14020c06752c66a3048c5b246bebf5ef4497ded66c601
Timestamp:
Friday 15 December 2023 at 14:34:11 UTC
()
Proposer:
Authorizers: