CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 42b3079317c22125ee968c959ca8d2bc7687d32e19f3454bdc79f8a7e9c41010:34:29
|
34 | let lpTokenRemove <- lpTokenCollectionRef.withdraw(pairAddr: pairAddr, amount: lpTokenAmount)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: pre-condition failed: [IncSwapErrorMsg:LpTokenCollection: haven't provided liquidity to pair 0xfa82796435e15832][IncSwapErrorCode:1]
--> b063c16cac85dbd1.SwapFactory:209:16
|
209 | self.lpTokenVaults.containsKey(pairAddr):
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^