-
-
Notifications
You must be signed in to change notification settings - Fork 298
feat(perps-controller): add Lighter perps venue (initial implementation, flag-gated) #9889
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
Open
abretonc7s
wants to merge
46
commits into
main
Choose a base branch
from
TAT-3766-feat-spike-lighter-perps-integratio
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+24,185
−18
Open
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
23f9b72
feat(perps): spike — investigate Lighter as second perps venue
abretonc7s 1e5160b
feat(perps): add experimental Lighter venue provider POC
abretonc7s 848a69d
feat(perps): stream Lighter live data over WebSocket and extend the t…
abretonc7s 62ab9b7
feat(perps-controller): Lighter TP/SL, margin/leverage, and history r…
abretonc7s c2f0de5
fix(perps-controller): align Lighter editOrder/TPSL results with Orde…
abretonc7s 22027ea
feat(perps-controller): enable Lighter mainnet
abretonc7s 200943f
feat(perps-controller): Lighter HyperLiquid-parity history, routes, a…
abretonc7s 55b90e6
fix(perps-controller): review fixes for the Lighter provider
abretonc7s 14e50c5
fix(perps-controller): address external review of the Lighter provider
abretonc7s 8b910c8
fix(perps-controller): close re-review gaps in the Lighter provider
abretonc7s 3f0608a
fix(perps-controller): third-review round — races, sizing, and honest…
abretonc7s f13031e
fix(perps-controller): cross-review round 1 — session fences, close s…
abretonc7s 279374a
fix(perps-controller): cross-review round 2 — serialized signer, hone…
abretonc7s 378c75f
fix(perps-controller): round-4 review — atomic session identity, hone…
abretonc7s 9e1d27f
fix(perps-controller): round-5 review — ownership, WS identity, consi…
abretonc7s 95fc311
fix(perps-controller): round-6 consolidated — leverage arity artifact…
abretonc7s 29671c3
fix(perps-controller): round-7 consolidated — random uint48 client id…
abretonc7s 7de45e6
fix(perps-controller): round-8 — bounded id allocation, market valida…
abretonc7s 40688a2
fix(perps-controller): round-9 — finite-positive intent and safe wire…
abretonc7s 15f082b
fix(perps-controller): round-10 — execution-price wire parity, preval…
abretonc7s f8a4e7a
fix(perps-controller): round-11 — TP/SL full preflight and create-bef…
abretonc7s f0fbd90
fix(perps-controller): round-12 — venue-input integrity boundary, ser…
abretonc7s b87e515
fix(perps-controller): round-13 — position sign contract, settlement …
abretonc7s d0ac021
fix(perps-controller): round-13/14 — durable per-attempt TP/SL journa…
abretonc7s e16d9cb
fix(perps-controller): round-14/15 — authoritative tx-hash settlement…
abretonc7s a6a4dbe
fix(perps-controller): round-16 — durable operation intent, lifecycle…
abretonc7s 34422da
fix(perps-controller): round-17 — journal operation identity (CAS), d…
abretonc7s 4a0c583
fix(perps-controller): round-18 — pinned-WASM dispatch identity, dura…
abretonc7s f8d0ed0
fix(perps-controller): round-19 — process-wide serialization, complet…
abretonc7s 1c2ae2d
fix(perps-controller)!: round-20 — financial idempotency quarantine, …
abretonc7s 574a102
fix(perps-controller)!: round-21 — quarantine persistence, selective …
abretonc7s 233be5a
fix(perps-controller): round-22 — single ledger mutex for all RMW, po…
abretonc7s 4bbf916
fix(perps-controller): round-23 — atomic post-dispatch ledger transit…
abretonc7s 5420849
Merge remote-tracking branch 'origin/main' into TAT-3766-feat-spike-l…
abretonc7s da8d4f9
fix(perps-controller): CI compatibility — regenerate messenger action…
abretonc7s 50624d3
fix(perps-controller): mainnet write gate, aggregated recovery surfac…
abretonc7s 9006493
fix(perps-controller): repo-wide lint conformance for the aggregated …
abretonc7s a045856
fix(perps-controller): allow mainnet signer setup for authenticated r…
abretonc7s ce81a72
fix(perps-controller): refuse mainnet key registration before any sig…
abretonc7s 9d3128e
docs(perps-controller): document the allowMainnetSignerSetup parameter
abretonc7s 3034be0
test(perps-controller): deterministic Lighter WASM signer build
abretonc7s 82166c4
fix(perps-controller): device-validation defects — empty-size full cl…
abretonc7s 40fd9d0
fix(perps-controller): venue-derived route override and binding per-m…
abretonc7s 90c6fe1
fix(perps-controller): grid-aware binding minimum order size for Ligh…
abretonc7s 5a8ade9
fix(perps-controller): serve venue market metadata instead of Termina…
abretonc7s 6ba1e14
fix(perps-controller): validate USD-derived Lighter order sizes on th…
abretonc7s File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.