Comments (3)
Put another way, Uniswap w/ large pools is the best decentralized oracle I know.
I'm assuming you mean centralized oracle - ie creating a Kyber-like system but maybe with more efficient code.
from v1-contracts.
As @haydenadams said on #13, "Custom pools - exchange contracts that integrate the same interface but are not deployed from the factory - are the best place to experiment on this. Custom pools are able to trade against the public pools using the tokenToExchange functions."
I think you can experiment with what you want with a custom pool instead of needing to change the existing Exchange contract.
You said "[updatePrice()] would initiate an Oraclize call to get the price." Where is this price coming from though? Who has control over this price? I see "Oracle" used a lot with cryptocurrencies, but haven't yet seen a decentralized one that is fast enough updating the price to work with something like you are proposing.
from v1-contracts.
I think you can experiment with what you want with a custom pool instead of needing to change the existing Exchange contract.
I understand you point.
You said "[updatePrice()] would initiate an Oraclize call to get the price." Where is this price coming from though? Who has control over this price? I see "Oracle" used a lot with cryptocurrencies, but haven't yet seen a decentralized one that is fast enough updating the price to work with something like you are proposing.
The price would come from whatever is coded in the Oracle Contract (e.g. some URL & Oraclize). So, yes the Oracle would not be decentralized, but the decision if to use Oracle, what Oracle to use (and when to change) and would be decentralized.
I am closing this issue, since the proposal is clearly not in line with the project direction.
from v1-contracts.
Related Issues (20)
- contracts-vyper instruction HOT 1
- getTokenToTokenPrice HOT 2
- Tokens that do no return bools do not work HOT 1
- vNext Feature Request: Moving Average Price Feed Data HOT 3
- Unknown list type HOT 1
- Market limit orders for Uniswap HOT 7
- How important is the `min_liquidity` argument when adding liquidity
- UIP 1: Optional Permissioned Liquidity Pools HOT 2
- Add support for EIP1155
- ERC-777 token support HOT 2
- Doesn’t woks with ᴇʀᴄ20 tokens which always returns nothing. HOT 1
- What will happen in case of REVERT inside DELEGATE_CALL? HOT 4
- Support for latest Vyper compiler HOT 4
- End to End encryption of Uniswap to prevent front running HOT 3
- Bytecode: deployedBytecode or constructor?
- ABI removeLiquidity return values name collision
- Can't compile contracts on master branch, are other branch contracts okay to test on local testnet? HOT 1
- Add ERC-20 compatibility check when creating a new exchange HOT 1
- Missing ETH after failed attempt to add additional funds to UBT/ETH Liquidity pool HOT 2
- 如何将一个地址中的代币转移到另外一个地址中?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v1-contracts.