You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.
Allow users buy some tokens with ETH directly.
This feature should be implemented in a new function in IRingSubmitter.
Should we allow users buy tokens from some addresses directly(need a price service, like Kyber) or from a sell order? (need some discussion here)
The text was updated successfully, but these errors were encountered:
I'd limit it to orders that sell for WETH/ETH. I don't really see a need to allow buying tokens with ETH in a different market.
We actually still have a choice here:
Support ETH directly:
Good:
Seller receives ETH directly if he wants
Bad:
Different markets for ETH and WETH
We will need to support ETH everywhere (transfers/fee contracts)
Support ETH by automatic conversion to WETH
For example, before we transfer the tokens we check how much WETH we need and convert the ETH to WETH so everything works like usual. This way we only convert the actual amount needed for the trades.
Good:
Single WETH market
No need to really support ETH anywhere except adding some special cases (like spendables for the owner of the ETH needs to be set to msg.value)
Allow users buy some tokens with ETH directly.
This feature should be implemented in a new function in IRingSubmitter.
Should we allow users buy tokens from some addresses directly(need a price service, like Kyber) or from a sell order? (need some discussion here)
The text was updated successfully, but these errors were encountered: