zklighter-perps 1.0.159 → 1.0.161
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/.circleci/openapi_postprocess.py +8 -1
- package/.openapi-generator/FILES +0 -2
- package/apis/BridgeApi.ts +87 -0
- package/apis/CandlestickApi.ts +4 -1
- package/apis/ReferralApi.ts +0 -46
- package/models/OrderBook.ts +1 -1
- package/models/OrderBookDetail.ts +1 -1
- package/models/ReqGetCandlesticks.ts +4 -1
- package/models/index.ts +0 -2
- package/openapi.json +68 -94
- package/package.json +1 -1
|
@@ -13,6 +13,13 @@ with open(FILE, "r") as f:
|
|
|
13
13
|
data["paths"][path][method]["operationId"] = path.split("api/v1/")[
|
|
14
14
|
1
|
|
15
15
|
].replace("/", "_")
|
|
16
|
+
elif "api/v2/" in path:
|
|
17
|
+
data["paths"][path][method]["summary"] = (
|
|
18
|
+
path.split("api/v2/")[1].replace("/", "_") + "_v2"
|
|
19
|
+
)
|
|
20
|
+
data["paths"][path][method]["operationId"] = (
|
|
21
|
+
path.split("api/v2/")[1].replace("/", "_") + "_v2"
|
|
22
|
+
)
|
|
16
23
|
else:
|
|
17
24
|
data["paths"][path][method]["summary"] = path.split("/")[-1]
|
|
18
25
|
data["paths"][path][method]["operationId"] = path.split("/")[-1]
|
|
@@ -47,7 +54,7 @@ with open(FILE, "r") as f:
|
|
|
47
54
|
if path == "Trade":
|
|
48
55
|
if "taker_fee" in required_fields:
|
|
49
56
|
required_fields.remove("taker_fee")
|
|
50
|
-
|
|
57
|
+
|
|
51
58
|
if "maker_fee" in required_fields:
|
|
52
59
|
required_fields.remove("maker_fee")
|
|
53
60
|
|
package/.openapi-generator/FILES
CHANGED
|
@@ -50,7 +50,6 @@ models/Funding.ts
|
|
|
50
50
|
models/FundingRate.ts
|
|
51
51
|
models/FundingRates.ts
|
|
52
52
|
models/Fundings.ts
|
|
53
|
-
models/HasRefereeCode.ts
|
|
54
53
|
models/IsWhitelisted.ts
|
|
55
54
|
models/L1Metadata.ts
|
|
56
55
|
models/L1ProviderInfo.ts
|
|
@@ -123,7 +122,6 @@ models/ReqGetTransferFeeInfo.ts
|
|
|
123
122
|
models/ReqGetTransferHistory.ts
|
|
124
123
|
models/ReqGetTx.ts
|
|
125
124
|
models/ReqGetWithdrawHistory.ts
|
|
126
|
-
models/ReqHasRefereeByL1Address.ts
|
|
127
125
|
models/ReqIsWhitelisted.ts
|
|
128
126
|
models/RespChangeAccountTier.ts
|
|
129
127
|
models/RespGetFastBridgeInfo.ts
|
package/apis/BridgeApi.ts
CHANGED
|
@@ -44,6 +44,13 @@ export interface CreateIntentAddressRequest {
|
|
|
44
44
|
is_external_deposit?: boolean;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
+
export interface CreateIntentAddressV2Request {
|
|
48
|
+
chain_id: string;
|
|
49
|
+
from_addr: string;
|
|
50
|
+
amount: string;
|
|
51
|
+
is_external_deposit?: boolean;
|
|
52
|
+
}
|
|
53
|
+
|
|
47
54
|
export interface DepositCancelRequest {
|
|
48
55
|
from_addr: string;
|
|
49
56
|
chain_id: string;
|
|
@@ -151,6 +158,86 @@ export class BridgeApi extends runtime.BaseAPI {
|
|
|
151
158
|
return await response.value();
|
|
152
159
|
}
|
|
153
160
|
|
|
161
|
+
/**
|
|
162
|
+
* Create a bridge intent address for CCTP bridge v2
|
|
163
|
+
* createIntentAddress_v2
|
|
164
|
+
*/
|
|
165
|
+
async createIntentAddressV2Raw(requestParameters: CreateIntentAddressV2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateIntentAddressResp>> {
|
|
166
|
+
if (requestParameters['chain_id'] == null) {
|
|
167
|
+
throw new runtime.RequiredError(
|
|
168
|
+
'chain_id',
|
|
169
|
+
'Required parameter "chain_id" was null or undefined when calling createIntentAddressV2().'
|
|
170
|
+
);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
if (requestParameters['from_addr'] == null) {
|
|
174
|
+
throw new runtime.RequiredError(
|
|
175
|
+
'from_addr',
|
|
176
|
+
'Required parameter "from_addr" was null or undefined when calling createIntentAddressV2().'
|
|
177
|
+
);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
if (requestParameters['amount'] == null) {
|
|
181
|
+
throw new runtime.RequiredError(
|
|
182
|
+
'amount',
|
|
183
|
+
'Required parameter "amount" was null or undefined when calling createIntentAddressV2().'
|
|
184
|
+
);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
const queryParameters: any = {};
|
|
188
|
+
|
|
189
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
190
|
+
|
|
191
|
+
const consumes: runtime.Consume[] = [
|
|
192
|
+
{ contentType: 'multipart/form-data' },
|
|
193
|
+
];
|
|
194
|
+
// @ts-ignore: canConsumeForm may be unused
|
|
195
|
+
const canConsumeForm = runtime.canConsumeForm(consumes);
|
|
196
|
+
|
|
197
|
+
let formParams: { append(param: string, value: any): any };
|
|
198
|
+
let useForm = false;
|
|
199
|
+
if (useForm) {
|
|
200
|
+
formParams = new FormData();
|
|
201
|
+
} else {
|
|
202
|
+
formParams = new URLSearchParams();
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
if (requestParameters['chain_id'] != null) {
|
|
206
|
+
formParams.append('chain_id', requestParameters['chain_id'] as any);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
if (requestParameters['from_addr'] != null) {
|
|
210
|
+
formParams.append('from_addr', requestParameters['from_addr'] as any);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
if (requestParameters['amount'] != null) {
|
|
214
|
+
formParams.append('amount', requestParameters['amount'] as any);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
if (requestParameters['is_external_deposit'] != null) {
|
|
218
|
+
formParams.append('is_external_deposit', requestParameters['is_external_deposit'] as any);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
const response = await this.request({
|
|
222
|
+
path: `/api/v2/createIntentAddress`,
|
|
223
|
+
method: 'POST',
|
|
224
|
+
headers: headerParameters,
|
|
225
|
+
query: queryParameters,
|
|
226
|
+
body: formParams,
|
|
227
|
+
}, initOverrides);
|
|
228
|
+
|
|
229
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => CreateIntentAddressRespFromJSON(jsonValue));
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Create a bridge intent address for CCTP bridge v2
|
|
234
|
+
* createIntentAddress_v2
|
|
235
|
+
*/
|
|
236
|
+
async createIntentAddressV2(requestParameters: CreateIntentAddressV2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateIntentAddressResp> {
|
|
237
|
+
const response = await this.createIntentAddressV2Raw(requestParameters, initOverrides);
|
|
238
|
+
return await response.value();
|
|
239
|
+
}
|
|
240
|
+
|
|
154
241
|
/**
|
|
155
242
|
* Cancel bridge deposit
|
|
156
243
|
* deposit_cancel
|
package/apis/CandlestickApi.ts
CHANGED
|
@@ -229,9 +229,12 @@ export const CandlesticksResolutionEnum = {
|
|
|
229
229
|
_1m: '1m',
|
|
230
230
|
_5m: '5m',
|
|
231
231
|
_15m: '15m',
|
|
232
|
+
_30m: '30m',
|
|
232
233
|
_1h: '1h',
|
|
233
234
|
_4h: '4h',
|
|
234
|
-
|
|
235
|
+
_12h: '12h',
|
|
236
|
+
_1d: '1d',
|
|
237
|
+
_1w: '1w'
|
|
235
238
|
} as const;
|
|
236
239
|
export type CandlesticksResolutionEnum = typeof CandlesticksResolutionEnum[keyof typeof CandlesticksResolutionEnum];
|
|
237
240
|
/**
|
package/apis/ReferralApi.ts
CHANGED
|
@@ -15,14 +15,11 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
-
HasRefereeCode,
|
|
19
18
|
ReferralCode,
|
|
20
19
|
ReferralPoints,
|
|
21
20
|
ResultCode,
|
|
22
21
|
} from '../models/index';
|
|
23
22
|
import {
|
|
24
|
-
HasRefereeCodeFromJSON,
|
|
25
|
-
HasRefereeCodeToJSON,
|
|
26
23
|
ReferralCodeFromJSON,
|
|
27
24
|
ReferralCodeToJSON,
|
|
28
25
|
ReferralPointsFromJSON,
|
|
@@ -43,10 +40,6 @@ export interface ReferralGetRequest {
|
|
|
43
40
|
auth?: string;
|
|
44
41
|
}
|
|
45
42
|
|
|
46
|
-
export interface ReferralHasRefereeByAddressRequest {
|
|
47
|
-
l1_address: string;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
43
|
export interface ReferralPointsRequest {
|
|
51
44
|
account_index: number;
|
|
52
45
|
authorization?: string;
|
|
@@ -176,45 +169,6 @@ export class ReferralApi extends runtime.BaseAPI {
|
|
|
176
169
|
return await response.value();
|
|
177
170
|
}
|
|
178
171
|
|
|
179
|
-
/**
|
|
180
|
-
* Does L1 address have referee code?
|
|
181
|
-
* referral_hasRefereeByAddress
|
|
182
|
-
*/
|
|
183
|
-
async referralHasRefereeByAddressRaw(requestParameters: ReferralHasRefereeByAddressRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<HasRefereeCode>> {
|
|
184
|
-
if (requestParameters['l1_address'] == null) {
|
|
185
|
-
throw new runtime.RequiredError(
|
|
186
|
-
'l1_address',
|
|
187
|
-
'Required parameter "l1_address" was null or undefined when calling referralHasRefereeByAddress().'
|
|
188
|
-
);
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
const queryParameters: any = {};
|
|
192
|
-
|
|
193
|
-
if (requestParameters['l1_address'] != null) {
|
|
194
|
-
queryParameters['l1_address'] = requestParameters['l1_address'];
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
198
|
-
|
|
199
|
-
const response = await this.request({
|
|
200
|
-
path: `/api/v1/referral/hasRefereeByAddress`,
|
|
201
|
-
method: 'GET',
|
|
202
|
-
headers: headerParameters,
|
|
203
|
-
query: queryParameters,
|
|
204
|
-
}, initOverrides);
|
|
205
|
-
|
|
206
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => HasRefereeCodeFromJSON(jsonValue));
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* Does L1 address have referee code?
|
|
211
|
-
* referral_hasRefereeByAddress
|
|
212
|
-
*/
|
|
213
|
-
async referralHasRefereeByAddress(requestParameters: ReferralHasRefereeByAddressRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<HasRefereeCode> {
|
|
214
|
-
const response = await this.referralHasRefereeByAddressRaw(requestParameters, initOverrides);
|
|
215
|
-
return await response.value();
|
|
216
|
-
}
|
|
217
|
-
|
|
218
172
|
/**
|
|
219
173
|
* Get referral points
|
|
220
174
|
* referral_points
|
package/models/OrderBook.ts
CHANGED
|
@@ -92,7 +92,7 @@ export interface OrderBook {
|
|
|
92
92
|
* @export
|
|
93
93
|
*/
|
|
94
94
|
export const OrderBookStatusEnum = {
|
|
95
|
-
|
|
95
|
+
Inactive: 'inactive',
|
|
96
96
|
Active: 'active'
|
|
97
97
|
} as const;
|
|
98
98
|
export type OrderBookStatusEnum = typeof OrderBookStatusEnum[keyof typeof OrderBookStatusEnum];
|
|
@@ -188,7 +188,7 @@ export interface OrderBookDetail {
|
|
|
188
188
|
* @export
|
|
189
189
|
*/
|
|
190
190
|
export const OrderBookDetailStatusEnum = {
|
|
191
|
-
|
|
191
|
+
Inactive: 'inactive',
|
|
192
192
|
Active: 'active'
|
|
193
193
|
} as const;
|
|
194
194
|
export type OrderBookDetailStatusEnum = typeof OrderBookDetailStatusEnum[keyof typeof OrderBookDetailStatusEnum];
|
|
@@ -65,9 +65,12 @@ export const ReqGetCandlesticksResolutionEnum = {
|
|
|
65
65
|
_1m: '1m',
|
|
66
66
|
_5m: '5m',
|
|
67
67
|
_15m: '15m',
|
|
68
|
+
_30m: '30m',
|
|
68
69
|
_1h: '1h',
|
|
69
70
|
_4h: '4h',
|
|
70
|
-
|
|
71
|
+
_12h: '12h',
|
|
72
|
+
_1d: '1d',
|
|
73
|
+
_1w: '1w'
|
|
71
74
|
} as const;
|
|
72
75
|
export type ReqGetCandlesticksResolutionEnum = typeof ReqGetCandlesticksResolutionEnum[keyof typeof ReqGetCandlesticksResolutionEnum];
|
|
73
76
|
|
package/models/index.ts
CHANGED
|
@@ -38,7 +38,6 @@ export * from './Funding';
|
|
|
38
38
|
export * from './FundingRate';
|
|
39
39
|
export * from './FundingRates';
|
|
40
40
|
export * from './Fundings';
|
|
41
|
-
export * from './HasRefereeCode';
|
|
42
41
|
export * from './IsWhitelisted';
|
|
43
42
|
export * from './L1Metadata';
|
|
44
43
|
export * from './L1ProviderInfo';
|
|
@@ -111,7 +110,6 @@ export * from './ReqGetTransferFeeInfo';
|
|
|
111
110
|
export * from './ReqGetTransferHistory';
|
|
112
111
|
export * from './ReqGetTx';
|
|
113
112
|
export * from './ReqGetWithdrawHistory';
|
|
114
|
-
export * from './ReqHasRefereeByL1Address';
|
|
115
113
|
export * from './ReqIsWhitelisted';
|
|
116
114
|
export * from './RespChangeAccountTier';
|
|
117
115
|
export * from './RespGetFastBridgeInfo';
|
package/openapi.json
CHANGED
|
@@ -755,9 +755,12 @@
|
|
|
755
755
|
"1m",
|
|
756
756
|
"5m",
|
|
757
757
|
"15m",
|
|
758
|
+
"30m",
|
|
758
759
|
"1h",
|
|
759
760
|
"4h",
|
|
760
|
-
"
|
|
761
|
+
"12h",
|
|
762
|
+
"1d",
|
|
763
|
+
"1w"
|
|
761
764
|
]
|
|
762
765
|
},
|
|
763
766
|
{
|
|
@@ -2313,41 +2316,6 @@
|
|
|
2313
2316
|
"description": "Get referral code"
|
|
2314
2317
|
}
|
|
2315
2318
|
},
|
|
2316
|
-
"/api/v1/referral/hasRefereeByAddress": {
|
|
2317
|
-
"get": {
|
|
2318
|
-
"summary": "referral_hasRefereeByAddress",
|
|
2319
|
-
"operationId": "referral_hasRefereeByAddress",
|
|
2320
|
-
"responses": {
|
|
2321
|
-
"200": {
|
|
2322
|
-
"description": "A successful response.",
|
|
2323
|
-
"schema": {
|
|
2324
|
-
"$ref": "#/definitions/HasRefereeCode"
|
|
2325
|
-
}
|
|
2326
|
-
},
|
|
2327
|
-
"400": {
|
|
2328
|
-
"description": "Bad request",
|
|
2329
|
-
"schema": {
|
|
2330
|
-
"$ref": "#/definitions/ResultCode"
|
|
2331
|
-
}
|
|
2332
|
-
}
|
|
2333
|
-
},
|
|
2334
|
-
"parameters": [
|
|
2335
|
-
{
|
|
2336
|
-
"name": "l1_address",
|
|
2337
|
-
"in": "query",
|
|
2338
|
-
"required": true,
|
|
2339
|
-
"type": "string"
|
|
2340
|
-
}
|
|
2341
|
-
],
|
|
2342
|
-
"tags": [
|
|
2343
|
-
"referral"
|
|
2344
|
-
],
|
|
2345
|
-
"consumes": [
|
|
2346
|
-
"multipart/form-data"
|
|
2347
|
-
],
|
|
2348
|
-
"description": "Does L1 address have referee code?"
|
|
2349
|
-
}
|
|
2350
|
-
},
|
|
2351
2319
|
"/api/v1/referral/points": {
|
|
2352
2320
|
"get": {
|
|
2353
2321
|
"summary": "referral_points",
|
|
@@ -2997,6 +2965,43 @@
|
|
|
2997
2965
|
"description": "Withdrawal delay in seconds"
|
|
2998
2966
|
}
|
|
2999
2967
|
},
|
|
2968
|
+
"/api/v2/createIntentAddress": {
|
|
2969
|
+
"post": {
|
|
2970
|
+
"summary": "createIntentAddress_v2",
|
|
2971
|
+
"operationId": "createIntentAddress_v2",
|
|
2972
|
+
"responses": {
|
|
2973
|
+
"200": {
|
|
2974
|
+
"description": "A successful response.",
|
|
2975
|
+
"schema": {
|
|
2976
|
+
"$ref": "#/definitions/CreateIntentAddressResp"
|
|
2977
|
+
}
|
|
2978
|
+
},
|
|
2979
|
+
"400": {
|
|
2980
|
+
"description": "Bad request",
|
|
2981
|
+
"schema": {
|
|
2982
|
+
"$ref": "#/definitions/ResultCode"
|
|
2983
|
+
}
|
|
2984
|
+
}
|
|
2985
|
+
},
|
|
2986
|
+
"parameters": [
|
|
2987
|
+
{
|
|
2988
|
+
"name": "body",
|
|
2989
|
+
"in": "body",
|
|
2990
|
+
"required": true,
|
|
2991
|
+
"schema": {
|
|
2992
|
+
"$ref": "#/definitions/ReqCreateIntentAddress"
|
|
2993
|
+
}
|
|
2994
|
+
}
|
|
2995
|
+
],
|
|
2996
|
+
"tags": [
|
|
2997
|
+
"bridge"
|
|
2998
|
+
],
|
|
2999
|
+
"consumes": [
|
|
3000
|
+
"multipart/form-data"
|
|
3001
|
+
],
|
|
3002
|
+
"description": "Create a bridge intent address for CCTP bridge v2"
|
|
3003
|
+
}
|
|
3004
|
+
},
|
|
3000
3005
|
"/info": {
|
|
3001
3006
|
"get": {
|
|
3002
3007
|
"summary": "info",
|
|
@@ -4615,28 +4620,6 @@
|
|
|
4615
4620
|
"fundings"
|
|
4616
4621
|
]
|
|
4617
4622
|
},
|
|
4618
|
-
"HasRefereeCode": {
|
|
4619
|
-
"type": "object",
|
|
4620
|
-
"properties": {
|
|
4621
|
-
"code": {
|
|
4622
|
-
"type": "integer",
|
|
4623
|
-
"format": "int32",
|
|
4624
|
-
"example": "200"
|
|
4625
|
-
},
|
|
4626
|
-
"message": {
|
|
4627
|
-
"type": "string"
|
|
4628
|
-
},
|
|
4629
|
-
"has_referee": {
|
|
4630
|
-
"type": "boolean",
|
|
4631
|
-
"format": "boolean"
|
|
4632
|
-
}
|
|
4633
|
-
},
|
|
4634
|
-
"title": "HasRefereeCode",
|
|
4635
|
-
"required": [
|
|
4636
|
-
"code",
|
|
4637
|
-
"has_referee"
|
|
4638
|
-
]
|
|
4639
|
-
},
|
|
4640
4623
|
"IsWhitelisted": {
|
|
4641
4624
|
"type": "object",
|
|
4642
4625
|
"properties": {
|
|
@@ -4795,9 +4778,9 @@
|
|
|
4795
4778
|
"example": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
|
|
4796
4779
|
},
|
|
4797
4780
|
"points": {
|
|
4798
|
-
"type": "
|
|
4799
|
-
"format": "
|
|
4800
|
-
"example": "1000"
|
|
4781
|
+
"type": "number",
|
|
4782
|
+
"format": "float",
|
|
4783
|
+
"example": "1000.01"
|
|
4801
4784
|
},
|
|
4802
4785
|
"entry": {
|
|
4803
4786
|
"type": "integer",
|
|
@@ -5282,7 +5265,7 @@
|
|
|
5282
5265
|
"type": "string",
|
|
5283
5266
|
"example": "active",
|
|
5284
5267
|
"enum": [
|
|
5285
|
-
"
|
|
5268
|
+
"inactive",
|
|
5286
5269
|
"active"
|
|
5287
5270
|
]
|
|
5288
5271
|
},
|
|
@@ -5390,7 +5373,7 @@
|
|
|
5390
5373
|
"type": "string",
|
|
5391
5374
|
"example": "active",
|
|
5392
5375
|
"enum": [
|
|
5393
|
-
"
|
|
5376
|
+
"inactive",
|
|
5394
5377
|
"active"
|
|
5395
5378
|
]
|
|
5396
5379
|
},
|
|
@@ -6041,23 +6024,23 @@
|
|
|
6041
6024
|
"type": "string"
|
|
6042
6025
|
},
|
|
6043
6026
|
"total_points": {
|
|
6044
|
-
"type": "
|
|
6045
|
-
"format": "
|
|
6046
|
-
"example": "1000"
|
|
6027
|
+
"type": "number",
|
|
6028
|
+
"format": "float",
|
|
6029
|
+
"example": "1000.01"
|
|
6047
6030
|
},
|
|
6048
6031
|
"week_points": {
|
|
6049
|
-
"type": "
|
|
6050
|
-
"format": "
|
|
6051
|
-
"example": "1000"
|
|
6032
|
+
"type": "number",
|
|
6033
|
+
"format": "float",
|
|
6034
|
+
"example": "1000.01"
|
|
6052
6035
|
},
|
|
6053
6036
|
"total_reward_points": {
|
|
6054
|
-
"type": "
|
|
6055
|
-
"format": "
|
|
6037
|
+
"type": "number",
|
|
6038
|
+
"format": "float",
|
|
6056
6039
|
"example": "200"
|
|
6057
6040
|
},
|
|
6058
6041
|
"week_reward_points": {
|
|
6059
|
-
"type": "
|
|
6060
|
-
"format": "
|
|
6042
|
+
"type": "number",
|
|
6043
|
+
"format": "float",
|
|
6061
6044
|
"example": "200"
|
|
6062
6045
|
},
|
|
6063
6046
|
"reward_point_multiplier": {
|
|
@@ -6085,23 +6068,23 @@
|
|
|
6085
6068
|
}
|
|
6086
6069
|
},
|
|
6087
6070
|
"user_total_points": {
|
|
6088
|
-
"type": "
|
|
6089
|
-
"format": "
|
|
6071
|
+
"type": "number",
|
|
6072
|
+
"format": "float",
|
|
6090
6073
|
"example": "1000"
|
|
6091
6074
|
},
|
|
6092
6075
|
"user_last_week_points": {
|
|
6093
|
-
"type": "
|
|
6094
|
-
"format": "
|
|
6076
|
+
"type": "number",
|
|
6077
|
+
"format": "float",
|
|
6095
6078
|
"example": "1000"
|
|
6096
6079
|
},
|
|
6097
6080
|
"user_total_referral_reward_points": {
|
|
6098
|
-
"type": "
|
|
6099
|
-
"format": "
|
|
6081
|
+
"type": "number",
|
|
6082
|
+
"format": "float",
|
|
6100
6083
|
"example": "1000"
|
|
6101
6084
|
},
|
|
6102
6085
|
"user_last_week_referral_reward_points": {
|
|
6103
|
-
"type": "
|
|
6104
|
-
"format": "
|
|
6086
|
+
"type": "number",
|
|
6087
|
+
"format": "float",
|
|
6105
6088
|
"example": "1000"
|
|
6106
6089
|
},
|
|
6107
6090
|
"reward_point_multiplier": {
|
|
@@ -6617,9 +6600,12 @@
|
|
|
6617
6600
|
"1m",
|
|
6618
6601
|
"5m",
|
|
6619
6602
|
"15m",
|
|
6603
|
+
"30m",
|
|
6620
6604
|
"1h",
|
|
6621
6605
|
"4h",
|
|
6622
|
-
"
|
|
6606
|
+
"12h",
|
|
6607
|
+
"1d",
|
|
6608
|
+
"1w"
|
|
6623
6609
|
]
|
|
6624
6610
|
},
|
|
6625
6611
|
"start_timestamp": {
|
|
@@ -7241,18 +7227,6 @@
|
|
|
7241
7227
|
"account_index"
|
|
7242
7228
|
]
|
|
7243
7229
|
},
|
|
7244
|
-
"ReqHasRefereeByL1Address": {
|
|
7245
|
-
"type": "object",
|
|
7246
|
-
"properties": {
|
|
7247
|
-
"l1_address": {
|
|
7248
|
-
"type": "string"
|
|
7249
|
-
}
|
|
7250
|
-
},
|
|
7251
|
-
"title": "ReqHasRefereeByL1Address",
|
|
7252
|
-
"required": [
|
|
7253
|
-
"l1_address"
|
|
7254
|
-
]
|
|
7255
|
-
},
|
|
7256
7230
|
"ReqIsWhitelisted": {
|
|
7257
7231
|
"type": "object",
|
|
7258
7232
|
"properties": {
|