I've been deep in the trenches getting
@DriftProtocol relaunched and can't wait to show you all the exciting changes we've been making so here's a brief high level update:
1) every risk parameter on perp and spot market (what you know as borrow/lend), is being empirically derived. nothing is being left for eyeballing/guess work, instead being measured from book's past behavior during crashes and size around that. plan is to start relatively conservative and loosen incrementally as TVL rebuilds, more than happy to go deep on the methodology per metric but keeping that for dedicated posts.
2) OI caps are sized to what we can actually liquidate. more than just a demand forecast, it's also worst-case absorption limit. we stress every market against an instant ~40% adverse move (harsher than oct 10-11 realized) and size so that even with makers fully withdrawn there's no bad debt. I'm aware this might be more aggressive than needed so it's not the final caps, which will still account for backstop liquidity/IF.
3) I spend a lot of time working on vAMM (our internal market maker fallback liquidity), some major changes: did a big refactor that decoupled it off the PerpMarket struct into its own quoter interface, which makes the whole thing far cleaner to reason about and to audit. alongside ex-gauntlet researchers, lot of modeling and formalization (which I'd love to release publicly at some point in future) is being done to improve quoting/spread logic so you get the best price with good liquidity. this will continue improving post launch.
4) on funding rate mechanism, we've added clamps to reduce extreme spikes, updated the base funding rate in dead zone, and there's ongoing modeling to reduce volatility with the goal of funding that's smoother and more predictable to trade against.
5) a big part of the relaunch is lowering the attack surface, so been removing legacy code paths that don't need to exist anymore. this is the same tech debt
@redacted_noah has been posting a lot about lately
6) more soon..
we will also release a detailed changelog at relaunch so you can go through entire list yourself. meanwhile, I want to be as transparent as I can so will post more and please feel free to ask/tag me with any questions around exchange's economics/mechanism π«‘