Flow price: --
50ec8e59fb7dd682677c9f3c1ed0abd4cdd7e49703859ecf0884f25c1057346a

Transaction

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


Hash:
50ec8e59fb7dd682677c9f3c1ed0abd4cdd7e49703859ecf0884f25c1057346a
Status:
ERROR
Block height:
67359498
Block id:
17be5a681084181c4b125c5b45d17e8db50807442b70db1bac422b952b57cd1e
Timestamp:
Saturday 9 December 2023 at 06:47:54 UTC
()
Proposer:
Authorizers: