Flow price: --
4633ac661ed93ef2b2a6614cc98924098596cb4ec37513772ad2875cfa3bb205

Transaction

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


Hash:
4633ac661ed93ef2b2a6614cc98924098596cb4ec37513772ad2875cfa3bb205
Status:
ERROR
Block height:
67503307
Block id:
51eb8ca780151f6fe2b0719f795eaf3af81997c1c59f2d801f51dd72aaf80722
Timestamp:
Monday 11 December 2023 at 08:49:55 UTC
()
Proposer:
Authorizers: