Flow price: --
85519fd772c53d11366a393ef036c47ce8b2c87aa02d460187475179239dd18d

Transaction

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


Hash:
85519fd772c53d11366a393ef036c47ce8b2c87aa02d460187475179239dd18d
Status:
ERROR
Block height:
67512425
Block id:
bbd96923e1eb8fb2b65f7464e2ac98e119bb35f33e9b00f15c00b9e54796d104
Timestamp:
Monday 11 December 2023 at 12:00:14 UTC
()
Proposer:
Authorizers: