Skip to content

Conversation

LukasDeco
Copy link
Collaborator

No description provided.

@LukasDeco LukasDeco force-pushed the lukas/per-market-leverage branch from 29eee1f to bb9cd5c Compare September 3, 2025 17:17
@@ -111,7 +111,7 @@ export function decodeUser(buffer: Buffer): UserAccount {
offset += 8;
const lastQuoteAssetAmountPerLp = readSignedBigInt64LE(buffer, offset);
offset += 8;
const remainderBaseAssetAmount = buffer.readInt32LE(offset);
const maxMarginRatio = buffer.readInt32LE(offset);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you might have to split this into two u16

@LukasDeco LukasDeco force-pushed the lukas/per-market-leverage branch from 63154ae to 546984a Compare September 5, 2025 20:29
@LukasDeco LukasDeco changed the base branch from master to crispheaney/per-position-max-margin-ratio September 5, 2025 21:13
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

Successfully merging this pull request may close these issues.

2 participants