Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable Margin on top of Market Protocol - How to collaborate with DyDx or BzX or DDex #10

Open
tzhan28 opened this issue Jul 1, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@tzhan28
Copy link
Contributor

tzhan28 commented Jul 1, 2019

dydx问题1
dydx贷出来的token能否自由流通
dydx不能直接对接,但暂时不会成为主要障碍,问题类似erc20 vs 721问题,在erc20外面又包了一层,所以别的交易所没法交易。
可以做个类似makerdao的机制,eth押着,dai可以交易,dydx可以做差不多的事情。
Market mint的币肯定可以在dydx内流转,但是不能进入别的交易所。token在dydx合约地址里面。

dydx问题2
market合约到期分红给dydx合约就懵逼了
jie:有一招,到期前先全都平仓,尤其是带有dydx的market 合约token。需要对手方配合

如果dydx没空配合我们改,我们自己分叉dydx的话,就没有dydx生态内的流动性了。另外也可以看看ddex的做的怎么样。ddex上次称和dydx的主要区别是可以对接链下的做市商。

Dydx question 1:
Can tokens borrowed from dydx freely float?
Dydx cannot directly integrate with Market Protocol at the moment, but it may not be a significant roadblock. This may be the ERC 20 vs. ERC 721 issue, wrapping ERC20, so cannot be freely traded outside of other exchanges.
We may be able to build a MakerDao like mechanism: collateralized ETH, tradable DAI. We can achieve something similar with dydx.
Tokens minted with Market can definitely be used within dydx, but cannot be used in other exchanges. Token locked inside dydx smart contract address.

Dydx question 2:
When contract tokens minted via Market smart contract settles and sends payoff to dydx, it becomes problematic, because dydx smart contract will not be able to tell what these tokens are for.
Jie: we may be able to close position prior to expiration, especially contract tokens held by dydx. But this requires counterparty to cooperate.

We should contact dydx team regarding this issue, liquidity within dydx ecosystem is valuable. We should also follow up with the margin trading solution ddex is working on.

@CarboClanC CarboClanC changed the title How to collaborate with DyDx Variable Margin on top of Market Protocol - How to collaborate with DyDx or DDex Jul 6, 2019
@CarboClanC CarboClanC added the enhancement New feature or request label Jul 6, 2019
@CarboClanC CarboClanC changed the title Variable Margin on top of Market Protocol - How to collaborate with DyDx or DDex Variable Margin on top of Market Protocol - How to collaborate with DyDx or BzX or DDex Jul 9, 2019
@CarboClanC
Copy link
Member

Should also take a look of bzx.
Scaler market Augur 2.0 choose to integrate bzx for margin lending. https://www.augur.net/blog/margin-lending/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants