Flow price: --
73e166c815a2098fd2ee35f0073344f16c58ef32c5713134ae4ae20301ecbc28

Transaction

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


Hash:
73e166c815a2098fd2ee35f0073344f16c58ef32c5713134ae4ae20301ecbc28
Status:
ERROR
Block height:
68084290
Block id:
8830d3050f16552f8fa6a579f81475b5315d3f2ebe95ff1f7298b16cff2cac01
Timestamp:
Tuesday 19 December 2023 at 18:57:33 UTC
()
Proposer:
Authorizers: