Flow price: --
1e88c4bca5e16c3d23e9eac906f5873a08f1b9351430c3bd2c8778d9b012622d

Transaction

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


Hash:
1e88c4bca5e16c3d23e9eac906f5873a08f1b9351430c3bd2c8778d9b012622d
Status:
ERROR
Block height:
68013477
Block id:
a45cc401c28008746170ea71e0055a91e8b30dfe8fd1a4c69937349176c16502
Timestamp:
Monday 18 December 2023 at 18:19:13 UTC
()
Proposer:
Authorizers: