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

Implement a proper on-chain limit order book for resting FUM buy limit orders (USM->FUM and/or ETH->FUM) #61

Open
jacob-eliosoff opened this issue Nov 24, 2020 · 2 comments
Assignees

Comments

@jacob-eliosoff
Copy link
Collaborator

I've been doing some dreaming about this... It's not a trivial undertaking, but the code might actually be quite short and I really think it's the feature that would most effectively prevent the system from going underwater. Anyway not top of our plate quite yet...

@jacob-eliosoff jacob-eliosoff self-assigned this Nov 24, 2020
@alcueca
Copy link
Collaborator

alcueca commented Nov 24, 2020

I think we have discussed this in the past, but on-chain limit order books would be a beast to code in solidity.

Basically you will need one or two trees of some sort, which even if you would manage to code with a reasonable gas use, they would still be quite complex code to audit and debug.

@jacob-eliosoff
Copy link
Collaborator Author

Yup we did discuss that, but on further thought I'm not convinced it's as hard as we said! Anyway not right now...

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

No branches or pull requests

2 participants