zklighter-perps 1.0.225 → 1.0.226
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/Referral.ts +2 -2
- package/models/Token.ts +0 -54
- package/openapi.json +2 -33
- package/package.json +1 -1
package/models/Referral.ts
CHANGED
package/models/Token.ts
CHANGED
|
@@ -79,42 +79,6 @@ export interface Token {
|
|
|
79
79
|
* @memberof Token
|
|
80
80
|
*/
|
|
81
81
|
categories: Array<string>;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {boolean}
|
|
85
|
-
* @memberof Token
|
|
86
|
-
*/
|
|
87
|
-
is_allowed_mainnet: boolean;
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {boolean}
|
|
91
|
-
* @memberof Token
|
|
92
|
-
*/
|
|
93
|
-
is_allowed_testnet: boolean;
|
|
94
|
-
/**
|
|
95
|
-
*
|
|
96
|
-
* @type {boolean}
|
|
97
|
-
* @memberof Token
|
|
98
|
-
*/
|
|
99
|
-
is_allowed_staging: boolean;
|
|
100
|
-
/**
|
|
101
|
-
*
|
|
102
|
-
* @type {boolean}
|
|
103
|
-
* @memberof Token
|
|
104
|
-
*/
|
|
105
|
-
is_asset_allowed_staging: boolean;
|
|
106
|
-
/**
|
|
107
|
-
*
|
|
108
|
-
* @type {boolean}
|
|
109
|
-
* @memberof Token
|
|
110
|
-
*/
|
|
111
|
-
is_asset_allowed_mainnet: boolean;
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* @type {boolean}
|
|
115
|
-
* @memberof Token
|
|
116
|
-
*/
|
|
117
|
-
is_asset_allowed_testnet: boolean;
|
|
118
82
|
}
|
|
119
83
|
|
|
120
84
|
|
|
@@ -160,12 +124,6 @@ export function instanceOfToken(value: object): value is Token {
|
|
|
160
124
|
if (!('market' in value) || value['market'] === undefined) return false;
|
|
161
125
|
if (!('asset_type' in value) || value['asset_type'] === undefined) return false;
|
|
162
126
|
if (!('categories' in value) || value['categories'] === undefined) return false;
|
|
163
|
-
if (!('is_allowed_mainnet' in value) || value['is_allowed_mainnet'] === undefined) return false;
|
|
164
|
-
if (!('is_allowed_testnet' in value) || value['is_allowed_testnet'] === undefined) return false;
|
|
165
|
-
if (!('is_allowed_staging' in value) || value['is_allowed_staging'] === undefined) return false;
|
|
166
|
-
if (!('is_asset_allowed_staging' in value) || value['is_asset_allowed_staging'] === undefined) return false;
|
|
167
|
-
if (!('is_asset_allowed_mainnet' in value) || value['is_asset_allowed_mainnet'] === undefined) return false;
|
|
168
|
-
if (!('is_asset_allowed_testnet' in value) || value['is_asset_allowed_testnet'] === undefined) return false;
|
|
169
127
|
return true;
|
|
170
128
|
}
|
|
171
129
|
|
|
@@ -189,12 +147,6 @@ export function TokenFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tok
|
|
|
189
147
|
'market': json['market'],
|
|
190
148
|
'asset_type': json['asset_type'],
|
|
191
149
|
'categories': json['categories'],
|
|
192
|
-
'is_allowed_mainnet': json['is_allowed_mainnet'],
|
|
193
|
-
'is_allowed_testnet': json['is_allowed_testnet'],
|
|
194
|
-
'is_allowed_staging': json['is_allowed_staging'],
|
|
195
|
-
'is_asset_allowed_staging': json['is_asset_allowed_staging'],
|
|
196
|
-
'is_asset_allowed_mainnet': json['is_asset_allowed_mainnet'],
|
|
197
|
-
'is_asset_allowed_testnet': json['is_asset_allowed_testnet'],
|
|
198
150
|
};
|
|
199
151
|
}
|
|
200
152
|
|
|
@@ -214,12 +166,6 @@ export function TokenToJSON(value?: Token | null): any {
|
|
|
214
166
|
'market': value['market'],
|
|
215
167
|
'asset_type': value['asset_type'],
|
|
216
168
|
'categories': value['categories'],
|
|
217
|
-
'is_allowed_mainnet': value['is_allowed_mainnet'],
|
|
218
|
-
'is_allowed_testnet': value['is_allowed_testnet'],
|
|
219
|
-
'is_allowed_staging': value['is_allowed_staging'],
|
|
220
|
-
'is_asset_allowed_staging': value['is_asset_allowed_staging'],
|
|
221
|
-
'is_asset_allowed_mainnet': value['is_asset_allowed_mainnet'],
|
|
222
|
-
'is_asset_allowed_testnet': value['is_asset_allowed_testnet'],
|
|
223
169
|
};
|
|
224
170
|
}
|
|
225
171
|
|
package/openapi.json
CHANGED
|
@@ -8531,8 +8531,7 @@
|
|
|
8531
8531
|
"format": "int64"
|
|
8532
8532
|
},
|
|
8533
8533
|
"tier": {
|
|
8534
|
-
"type": "
|
|
8535
|
-
"format": "uint8"
|
|
8534
|
+
"type": "string"
|
|
8536
8535
|
},
|
|
8537
8536
|
"trade_stats": {
|
|
8538
8537
|
"$ref": "#/definitions/TradeStats"
|
|
@@ -11605,30 +11604,6 @@
|
|
|
11605
11604
|
"items": {
|
|
11606
11605
|
"type": "string"
|
|
11607
11606
|
}
|
|
11608
|
-
},
|
|
11609
|
-
"is_allowed_mainnet": {
|
|
11610
|
-
"type": "boolean",
|
|
11611
|
-
"format": "boolean"
|
|
11612
|
-
},
|
|
11613
|
-
"is_allowed_testnet": {
|
|
11614
|
-
"type": "boolean",
|
|
11615
|
-
"format": "boolean"
|
|
11616
|
-
},
|
|
11617
|
-
"is_allowed_staging": {
|
|
11618
|
-
"type": "boolean",
|
|
11619
|
-
"format": "boolean"
|
|
11620
|
-
},
|
|
11621
|
-
"is_asset_allowed_staging": {
|
|
11622
|
-
"type": "boolean",
|
|
11623
|
-
"format": "boolean"
|
|
11624
|
-
},
|
|
11625
|
-
"is_asset_allowed_mainnet": {
|
|
11626
|
-
"type": "boolean",
|
|
11627
|
-
"format": "boolean"
|
|
11628
|
-
},
|
|
11629
|
-
"is_asset_allowed_testnet": {
|
|
11630
|
-
"type": "boolean",
|
|
11631
|
-
"format": "boolean"
|
|
11632
11607
|
}
|
|
11633
11608
|
},
|
|
11634
11609
|
"title": "Token",
|
|
@@ -11642,13 +11617,7 @@
|
|
|
11642
11617
|
"paprika_id",
|
|
11643
11618
|
"market",
|
|
11644
11619
|
"asset_type",
|
|
11645
|
-
"categories"
|
|
11646
|
-
"is_allowed_mainnet",
|
|
11647
|
-
"is_allowed_testnet",
|
|
11648
|
-
"is_allowed_staging",
|
|
11649
|
-
"is_asset_allowed_staging",
|
|
11650
|
-
"is_asset_allowed_mainnet",
|
|
11651
|
-
"is_asset_allowed_testnet"
|
|
11620
|
+
"categories"
|
|
11652
11621
|
]
|
|
11653
11622
|
},
|
|
11654
11623
|
"TokenList": {
|