Here's the code. Enjoy it.
For other bits and pieces:
https://tinyurl.com/wildcat-whitepaper
https://tinyurl.com/wildcat-manifesto
https://wildcat-protocol.gitbook.io
When modifying any type definition, look for any place where the type is directly accessed in yul.
Most events and errors in this contract are emitted using custom emitter functions which rely on the specific order of parameters in the definition