Flow price: --
4360e226a2bb666b01a2d579c468eec991db2a40a33f24e158962886a0336025

Transaction

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


Hash:
4360e226a2bb666b01a2d579c468eec991db2a40a33f24e158962886a0336025
Status:
ERROR
Block height:
68156112
Block id:
2ac2cf01185382112ac352900b97f0777e024b511b0c1e8a181d6220e70f793a
Timestamp:
Wednesday 20 December 2023 at 19:56:44 UTC
()
Proposer:
Authorizers: