Flow price: --
3a573eb2f5b0f7193d9f1f806f61f82f20301ec314eef7be35cb5560521f4d66

Transaction

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


Hash:
3a573eb2f5b0f7193d9f1f806f61f82f20301ec314eef7be35cb5560521f4d66
Status:
ERROR
Block height:
67466532
Block id:
308cbcc3ff76f0b63b37fa36ff5df9b45d32013118fb9ae6df921cb883018bb0
Timestamp:
Sunday 10 December 2023 at 20:02:13 UTC
()
Proposer:
Authorizers: