USM icon indicating copy to clipboard operation
USM copied to clipboard

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

Open jacob-eliosoff opened this issue 4 years ago • 2 comments

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 avatar Nov 24 '20 05:11 jacob-eliosoff

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.

alcueca avatar Nov 24 '20 21:11 alcueca

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

jacob-eliosoff avatar Nov 25 '20 01:11 jacob-eliosoff