Flow price: --
129211b3bfedb4fa80d7b352426dd47a08eba4092075852e4c77d9fa04a28ad9

Transaction

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


Hash:
129211b3bfedb4fa80d7b352426dd47a08eba4092075852e4c77d9fa04a28ad9
Status:
ERROR
Block height:
67528027
Block id:
5879ca5833ceb8f64cb815a86e4ecbc5ab100588f4df85f05af101e711016120
Timestamp:
Monday 11 December 2023 at 17:25:55 UTC
()
Proposer:
Authorizers: