zklighter-perps 1.0.59 → 1.0.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/models/LeaderboardEntry.ts +9 -0
- package/openapi.json +6 -1
- package/package.json +1 -1
|
@@ -37,6 +37,12 @@ export interface LeaderboardEntry {
|
|
|
37
37
|
* @memberof LeaderboardEntry
|
|
38
38
|
*/
|
|
39
39
|
entry: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof LeaderboardEntry
|
|
44
|
+
*/
|
|
45
|
+
entryId: number;
|
|
40
46
|
}
|
|
41
47
|
|
|
42
48
|
/**
|
|
@@ -46,6 +52,7 @@ export function instanceOfLeaderboardEntry(value: object): value is LeaderboardE
|
|
|
46
52
|
if (!('l1_address' in value) || value['l1_address'] === undefined) return false;
|
|
47
53
|
if (!('points' in value) || value['points'] === undefined) return false;
|
|
48
54
|
if (!('entry' in value) || value['entry'] === undefined) return false;
|
|
55
|
+
if (!('entryId' in value) || value['entryId'] === undefined) return false;
|
|
49
56
|
return true;
|
|
50
57
|
}
|
|
51
58
|
|
|
@@ -62,6 +69,7 @@ export function LeaderboardEntryFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
62
69
|
'l1_address': json['l1_address'],
|
|
63
70
|
'points': json['points'],
|
|
64
71
|
'entry': json['entry'],
|
|
72
|
+
'entryId': json['entryId'],
|
|
65
73
|
};
|
|
66
74
|
}
|
|
67
75
|
|
|
@@ -74,6 +82,7 @@ export function LeaderboardEntryToJSON(value?: LeaderboardEntry | null): any {
|
|
|
74
82
|
'l1_address': value['l1_address'],
|
|
75
83
|
'points': value['points'],
|
|
76
84
|
'entry': value['entry'],
|
|
85
|
+
'entryId': value['entryId'],
|
|
77
86
|
};
|
|
78
87
|
}
|
|
79
88
|
|
package/openapi.json
CHANGED
|
@@ -2831,13 +2831,18 @@
|
|
|
2831
2831
|
"entry": {
|
|
2832
2832
|
"type": "integer",
|
|
2833
2833
|
"format": "int32"
|
|
2834
|
+
},
|
|
2835
|
+
"entryId": {
|
|
2836
|
+
"type": "integer",
|
|
2837
|
+
"format": "int32"
|
|
2834
2838
|
}
|
|
2835
2839
|
},
|
|
2836
2840
|
"title": "LeaderboardEntry",
|
|
2837
2841
|
"required": [
|
|
2838
2842
|
"l1_address",
|
|
2839
2843
|
"points",
|
|
2840
|
-
"entry"
|
|
2844
|
+
"entry",
|
|
2845
|
+
"entryId"
|
|
2841
2846
|
]
|
|
2842
2847
|
},
|
|
2843
2848
|
"Liquidation": {
|