Flow price: --
94205e19eabba81843d1f0c18cdd1522530a0d9f3207765da27cf234a1ec12be

Transaction

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


Hash:
94205e19eabba81843d1f0c18cdd1522530a0d9f3207765da27cf234a1ec12be
Status:
ERROR
Block height:
67858533
Block id:
75714bdbe2dd908026618302345f0f4b09b812d26bdc4d962251fd66b7ccd19b
Timestamp:
Saturday 16 December 2023 at 12:25:22 UTC
()
Proposer:
Authorizers: