diff --git a/common-ts/src/serializableTypes.ts b/common-ts/src/serializableTypes.ts index 9c1f4741..9a76dd57 100644 --- a/common-ts/src/serializableTypes.ts +++ b/common-ts/src/serializableTypes.ts @@ -1055,21 +1055,6 @@ export class SerializableUserSnapshotRecord implements UserSnapshotRecord { @inheritSerialization(SerializableUserSnapshotRecord) export class UISerializableUserSnapshotRecord extends SerializableUserSnapshotRecord { - @autoserializeUsing(QuoteBigNumSerializeAndDeserializeFns) - //@ts-ignore - spotQuoteValue: BigNum; - @autoserializeUsing(QuoteBigNumSerializeAndDeserializeFns) - //@ts-ignore - prevEpochWithdrawalQuoteVal: BigNum; - @autoserializeUsing(QuoteBigNumSerializeAndDeserializeFns) - //@ts-ignore - prevEpochDepositQuoteVal: BigNum; - @autoserializeUsing(QuoteBigNumSerializeAndDeserializeFns) - //@ts-ignore - perpPositionUpnl: BigNum; - @autoserializeUsing(QuoteBigNumSerializeAndDeserializeFns) - //@ts-ignore - prevEpochSettledPnl: BigNum; @autoserializeUsing(QuoteBigNumSerializeAndDeserializeFns) //@ts-ignore totalAccountValue: BigNum; @@ -1090,12 +1075,6 @@ export class UISerializableUserSnapshotRecord extends SerializableUserSnapshotRe cumulativeReferralVolume: BigNum; @autoserializeAs(Number) cumulativeReferralCount: number; - - @autoserializeAsArray(SerializableUserPerpPositionSnapshot) - perpPositionSnapshots: UserPerpPositionSnapshot[]; - - @autoserializeAsArray(SerializableUserSpotPositionSnapshot) - spotPositionSnapshots: UserSpotPositionSnapshot[]; } export class SerializableCandle {