Flow price: --
ddb5f057b82f927a83b116801db96020058ae82828ec2519378745ac25076230

Transaction

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


Hash:
ddb5f057b82f927a83b116801db96020058ae82828ec2519378745ac25076230
Status:
ERROR
Block height:
68080453
Block id:
af36c53fd8e143d5860e9f5056dff2dfd42583ec205a7662a48a9670bd0b8987
Timestamp:
Tuesday 19 December 2023 at 17:37:29 UTC
()
Proposer:
Authorizers: