-
Notifications
You must be signed in to change notification settings - Fork 2.4k
add shadows-nerwork #145
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
add shadows-nerwork #145
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the application. I have a few questions/comments:
- What is unique about your Ingester Module compared to the existing oracle modules and the work done by acala (see for example https://github.com/open-web3-stack/open-runtime-module-library/tree/master/oracle)? Could you not simply reuse their work? I’m also not sure how your solution ensures decentralization.
- Also what are the unique features of your Exchange and MintX modules (see https://github.com/w3f/General-Grants-Program/blob/master/grants/polkadot_stack.md for other solutions)?
- Could you reduce the price? It’s currently above the 30k limit.
@Noc2 #Thank you for your comments. The following is the answer to your question
We use off-chain-workers to implement the Ingester Module (see https://substrate.dev/docs/en/knowledgebase/learn-substrate/off-chain-workers), which is completely different from the existing oracle modules. We cannot reuse their work for the following reasons:
Unlike the existing DEX based on order book or liquidity( Such as acala exchange is based on liquidity, and Polkadex is based on an order book), we are based on the debt pool model. All trades are executed against the contract, known as P2C (peer-to-contract) trading. This provides infinite liquidity up to the total amount of collateral in the system, zero slippage, and permissionless on-chain trading. For details, please refer to our white paper System Architecture chapter. (https://github.com/ShadowsNetwork/whitepaper/blob/main/ShadowsNetworkWhitePaper.pdf)
Sorry, the calculation is wrong here, it has been corrected. |
@Noc2 |
Okay. Thanks a lot for the additional information and update. In this case you should take a look at the ares protocol. It seems you are right Acala is using off-chain worker, but it’s not used for laminars synthetic-protocol. Just one more question from my side: Could you also integrate unit-test into the deliverables for both milestones as well as some kind of medium article or tutorial. |
@Noc2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and thanks for the update. I will share it with the rest of the team.
Can you provide some details on the debt pool model? I am not familiar with this and could not find any detailed information in the white paper. |
@laboon Hi! Here are some descriptions about the mortgage pool: The debt pool is the core design of the shadows network and one of the biggest highlights. The debt in the debt pool is generated by stake DOS, which is the native token of the shadows network. When users stake DOS to create synthetic assets (such as synthesizing xUSD), "debt" is generated. The sum of debts of all DOS stakers is called the "debt pool". Let's take an example of minting xUSD and buying xBTC to illustrate what a debt pool is. Here it is assumed that the price of DOS is the same as USD, the stake rate is 800%, and the initial debt of the system is 0.
It can be seen from the above process that the transaction of synthetic assets is mainly to interact with smart contracts, there is no order book, and no counterparty. Synthetic asset transactions only exchange debt from one synthetic asset to another synthetic asset, and use the debt changes in the debt pool to cast or destroy synthetic assets, so that users don’t have to worry about liquidity issues, and there is no slippage problem. It is the essence of the debt pool. |
Interesting, thank you for the explanation! |
Congratulations! As part of the Open Grants Program, we want to help winning teams acknowledge their grants publicly while observing the foundation’s guidelines. To that end, we’ve created a badge for grant-winning teams. Here is a link to the download and guidelines. |
@ShadowsNetwork Could you please remove the web3 foundation grants badge from your website. You are only allowed to use this once you successfully delivered the first milestone, see : https://github.com/w3f/General-Grants-Program/blob/master/grants/grant-badge-guidelines.md |
@Noc2 |
Thanks! |
This grant has been terminated due to copyright infringements. See here. |
Grant Application Checklist