-
添加流动性后,不初始化,此时进行兑换有什么影响?
XSwapProxyV1.batchSwapExactInRefer的方法,调用xpool.swapExactAmountInRefer
但是在swapExactAmountInRefer中,没有判断finalized
-
-
1.在销毁lp时,销毁了减去手续费LP后的部分,但是没有把手续费给SAFU
2.在给用户退币的时候,将手续费币种给SAFU后,又将原始值给用户了,就会导致给用户的币多了
-
1 https://halflife.kovan.xdefi.com/detail?id=22 本页面刷新不出来,必须退上一级才能刷。
2 Cancel太明显了,提示文字要更具体,Cancel改成红色:
Warning: Your remaining balance will be returned back to the stream sender, please make sure…
-
![image](https://user-images.githubusercontent.com/23711319/104832276-20fd2b00-58cb-11eb-820c-9161967fa9e8.png)
退出费用不为0,那么需要将流动性的一部分(手续费)转出
此时再销毁时,应该销毁扣除流动性之后的部分吧,否则销毁失败
-
![image](https://user-images.githubusercontent.com/23711319/105509217-409bb580-5d08-11eb-80a2-a155df130dfb.png)
-
Seeing a spurious [failure]( https://travis-ci.org/dask/dask/jobs/263287276#L7428 ) on Travis CI. Copied the relevant details below.
```python
=================================== FAILURES ====…