@0xmonaco/types 1.0.25-develop.1fab96c → 1.0.26
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/dist/faucet/index.d.ts +8 -4
- package/dist/wire/schema.d.ts +69 -11
- package/package.json +2 -2
package/dist/faucet/index.d.ts
CHANGED
|
@@ -61,14 +61,18 @@ export interface FaucetMintRecord {
|
|
|
61
61
|
*/
|
|
62
62
|
txHash?: string;
|
|
63
63
|
}
|
|
64
|
-
/**
|
|
64
|
+
/**
|
|
65
|
+
* Past faucet mints grouped by clock minute for display. A group can span
|
|
66
|
+
* several endpoint calls made in the same minute; the daily quota counts
|
|
67
|
+
* each call individually.
|
|
68
|
+
*/
|
|
65
69
|
export interface FaucetRequestRecord {
|
|
66
70
|
/**
|
|
67
|
-
* Timestamp (ISO 8601) of the request, truncated to the minute (
|
|
68
|
-
* quota
|
|
71
|
+
* Timestamp (ISO 8601) of the request, truncated to the minute (display
|
|
72
|
+
* grouping; the daily quota counts every call)
|
|
69
73
|
*/
|
|
70
74
|
requestedAt: string;
|
|
71
|
-
/** Tokens minted
|
|
75
|
+
/** Tokens minted in the group, oldest first */
|
|
72
76
|
minted: FaucetMintRecord[];
|
|
73
77
|
}
|
|
74
78
|
/** Result of a faucet info request. */
|
package/dist/wire/schema.d.ts
CHANGED
|
@@ -3176,9 +3176,13 @@ export interface components {
|
|
|
3176
3176
|
/** @description On-chain transaction hash; absent when the transaction was submitted but never confirmed */
|
|
3177
3177
|
txHash?: string | null;
|
|
3178
3178
|
};
|
|
3179
|
-
/**
|
|
3179
|
+
/**
|
|
3180
|
+
* @description Past faucet mints grouped by clock minute for display. A group can span
|
|
3181
|
+
* several endpoint calls made in the same minute; the daily quota counts
|
|
3182
|
+
* each call individually.
|
|
3183
|
+
*/
|
|
3180
3184
|
FaucetRequestRecord: {
|
|
3181
|
-
/** @description Timestamp (ISO 8601) of the request, truncated to the minute (the quota
|
|
3185
|
+
/** @description Timestamp (ISO 8601) of the request, truncated to the minute (display grouping; the daily quota counts every call) */
|
|
3182
3186
|
requestedAt?: string | null;
|
|
3183
3187
|
minted?: components["schemas"]["FaucetMintRecord"][] | null;
|
|
3184
3188
|
};
|
|
@@ -3447,8 +3451,8 @@ export interface components {
|
|
|
3447
3451
|
/** @description Timestamp (ISO 8601) safe to retry at or after: when the wallet's next faucet slot frees under the current daily limit, with a small safety margin. When remaining_requests_24h is 0 this is when the next mint becomes possible. Absent when no requests are in the rolling 24h window or when the daily limit is 0. Not a calendar-day reset. */
|
|
3448
3452
|
nextAvailableAt?: string | null;
|
|
3449
3453
|
/**
|
|
3450
|
-
* @description Up to 5 most recent faucet
|
|
3451
|
-
* 24h window.
|
|
3454
|
+
* @description Up to 5 most recent faucet request groups, newest first, regardless of
|
|
3455
|
+
* the 24h window.
|
|
3452
3456
|
*/
|
|
3453
3457
|
recentRequests?: components["schemas"]["FaucetRequestRecord"][] | null;
|
|
3454
3458
|
};
|
|
@@ -6456,6 +6460,7 @@ export interface operations {
|
|
|
6456
6460
|
query?: never;
|
|
6457
6461
|
header?: never;
|
|
6458
6462
|
path: {
|
|
6463
|
+
/** @example 1905d968-cc65-4cc7-b77c-1905d968cc65 */
|
|
6459
6464
|
assetId: string;
|
|
6460
6465
|
};
|
|
6461
6466
|
cookie?: never;
|
|
@@ -7109,6 +7114,7 @@ export interface operations {
|
|
|
7109
7114
|
query?: never;
|
|
7110
7115
|
header?: never;
|
|
7111
7116
|
path: {
|
|
7117
|
+
/** @example 2b1a5f9c-0000-4000-8000-000000000005 */
|
|
7112
7118
|
subAccountId: string;
|
|
7113
7119
|
};
|
|
7114
7120
|
cookie?: never;
|
|
@@ -7159,7 +7165,9 @@ export interface operations {
|
|
|
7159
7165
|
query?: never;
|
|
7160
7166
|
header?: never;
|
|
7161
7167
|
path: {
|
|
7168
|
+
/** @example 2b1a5f9c-0000-4000-8000-000000000005 */
|
|
7162
7169
|
subAccountId: string;
|
|
7170
|
+
/** @example 1905d968-cc65-4cc7-b77c-1905d968cc65 */
|
|
7163
7171
|
assetId: string;
|
|
7164
7172
|
};
|
|
7165
7173
|
cookie?: never;
|
|
@@ -7224,7 +7232,9 @@ export interface operations {
|
|
|
7224
7232
|
};
|
|
7225
7233
|
header?: never;
|
|
7226
7234
|
path: {
|
|
7235
|
+
/** @example 2b1a5f9c-0000-4000-8000-000000000005 */
|
|
7227
7236
|
subAccountId: string;
|
|
7237
|
+
/** @example 1905d968-cc65-4cc7-b77c-1905d968cc65 */
|
|
7228
7238
|
assetId: string;
|
|
7229
7239
|
};
|
|
7230
7240
|
cookie?: never;
|
|
@@ -8019,6 +8029,7 @@ export interface operations {
|
|
|
8019
8029
|
query?: never;
|
|
8020
8030
|
header?: never;
|
|
8021
8031
|
path: {
|
|
8032
|
+
/** @example 2b1a5f9c-0000-4000-8000-000000000007 */
|
|
8022
8033
|
delegatedAgentId: string;
|
|
8023
8034
|
};
|
|
8024
8035
|
cookie?: never;
|
|
@@ -8325,7 +8336,10 @@ export interface operations {
|
|
|
8325
8336
|
};
|
|
8326
8337
|
header?: never;
|
|
8327
8338
|
path: {
|
|
8328
|
-
/**
|
|
8339
|
+
/**
|
|
8340
|
+
* @description Margin account UUID for the current isolated bucket.
|
|
8341
|
+
* @example 2b1a5f9c-0000-4000-8000-000000000001
|
|
8342
|
+
*/
|
|
8329
8343
|
marginAccountId: string;
|
|
8330
8344
|
};
|
|
8331
8345
|
cookie?: never;
|
|
@@ -8348,7 +8362,10 @@ export interface operations {
|
|
|
8348
8362
|
query?: never;
|
|
8349
8363
|
header?: never;
|
|
8350
8364
|
path: {
|
|
8351
|
-
/**
|
|
8365
|
+
/**
|
|
8366
|
+
* @description Parent margin account UUID that receives collateral.
|
|
8367
|
+
* @example 2b1a5f9c-0000-4000-8000-000000000001
|
|
8368
|
+
*/
|
|
8352
8369
|
marginAccountId: string;
|
|
8353
8370
|
};
|
|
8354
8371
|
cookie?: never;
|
|
@@ -8375,7 +8392,10 @@ export interface operations {
|
|
|
8375
8392
|
query?: never;
|
|
8376
8393
|
header?: never;
|
|
8377
8394
|
path: {
|
|
8378
|
-
/**
|
|
8395
|
+
/**
|
|
8396
|
+
* @description Parent margin account UUID that releases collateral.
|
|
8397
|
+
* @example 2b1a5f9c-0000-4000-8000-000000000001
|
|
8398
|
+
*/
|
|
8379
8399
|
marginAccountId: string;
|
|
8380
8400
|
};
|
|
8381
8401
|
cookie?: never;
|
|
@@ -8408,7 +8428,10 @@ export interface operations {
|
|
|
8408
8428
|
};
|
|
8409
8429
|
header?: never;
|
|
8410
8430
|
path: {
|
|
8411
|
-
/**
|
|
8431
|
+
/**
|
|
8432
|
+
* @description Margin account UUID for the current isolated bucket.
|
|
8433
|
+
* @example 2b1a5f9c-0000-4000-8000-000000000001
|
|
8434
|
+
*/
|
|
8412
8435
|
marginAccountId: string;
|
|
8413
8436
|
};
|
|
8414
8437
|
cookie?: never;
|
|
@@ -8431,7 +8454,10 @@ export interface operations {
|
|
|
8431
8454
|
query?: never;
|
|
8432
8455
|
header?: never;
|
|
8433
8456
|
path: {
|
|
8434
|
-
/**
|
|
8457
|
+
/**
|
|
8458
|
+
* @description Margin account UUID for the isolated bucket being simulated.
|
|
8459
|
+
* @example 2b1a5f9c-0000-4000-8000-000000000001
|
|
8460
|
+
*/
|
|
8435
8461
|
marginAccountId: string;
|
|
8436
8462
|
};
|
|
8437
8463
|
cookie?: never;
|
|
@@ -8701,7 +8727,9 @@ export interface operations {
|
|
|
8701
8727
|
};
|
|
8702
8728
|
header?: never;
|
|
8703
8729
|
path: {
|
|
8730
|
+
/** @example 893d2add-2f36-4ee7-b660-893d2add2f36 */
|
|
8704
8731
|
tradingPairId: string;
|
|
8732
|
+
/** @example 1m */
|
|
8705
8733
|
interval: string;
|
|
8706
8734
|
};
|
|
8707
8735
|
cookie?: never;
|
|
@@ -8745,6 +8773,7 @@ export interface operations {
|
|
|
8745
8773
|
query?: never;
|
|
8746
8774
|
header?: never;
|
|
8747
8775
|
path: {
|
|
8776
|
+
/** @example 893d2add-2f36-4ee7-b660-893d2add2f36 */
|
|
8748
8777
|
tradingPairId: string;
|
|
8749
8778
|
};
|
|
8750
8779
|
cookie?: never;
|
|
@@ -8781,6 +8810,7 @@ export interface operations {
|
|
|
8781
8810
|
query?: never;
|
|
8782
8811
|
header?: never;
|
|
8783
8812
|
path: {
|
|
8813
|
+
/** @example 893d2add-2f36-4ee7-b660-893d2add2f36 */
|
|
8784
8814
|
tradingPairId: string;
|
|
8785
8815
|
};
|
|
8786
8816
|
cookie?: never;
|
|
@@ -8812,6 +8842,7 @@ export interface operations {
|
|
|
8812
8842
|
};
|
|
8813
8843
|
header?: never;
|
|
8814
8844
|
path: {
|
|
8845
|
+
/** @example 893d2add-2f36-4ee7-b660-893d2add2f36 */
|
|
8815
8846
|
tradingPairId: string;
|
|
8816
8847
|
};
|
|
8817
8848
|
cookie?: never;
|
|
@@ -8834,6 +8865,7 @@ export interface operations {
|
|
|
8834
8865
|
query?: never;
|
|
8835
8866
|
header?: never;
|
|
8836
8867
|
path: {
|
|
8868
|
+
/** @example 893d2add-2f36-4ee7-b660-893d2add2f36 */
|
|
8837
8869
|
tradingPairId: string;
|
|
8838
8870
|
};
|
|
8839
8871
|
cookie?: never;
|
|
@@ -8856,6 +8888,7 @@ export interface operations {
|
|
|
8856
8888
|
query?: never;
|
|
8857
8889
|
header?: never;
|
|
8858
8890
|
path: {
|
|
8891
|
+
/** @example 893d2add-2f36-4ee7-b660-893d2add2f36 */
|
|
8859
8892
|
tradingPairId: string;
|
|
8860
8893
|
};
|
|
8861
8894
|
cookie?: never;
|
|
@@ -8878,6 +8911,7 @@ export interface operations {
|
|
|
8878
8911
|
query?: never;
|
|
8879
8912
|
header?: never;
|
|
8880
8913
|
path: {
|
|
8914
|
+
/** @example 893d2add-2f36-4ee7-b660-893d2add2f36 */
|
|
8881
8915
|
tradingPairId: string;
|
|
8882
8916
|
};
|
|
8883
8917
|
cookie?: never;
|
|
@@ -8914,6 +8948,7 @@ export interface operations {
|
|
|
8914
8948
|
query?: never;
|
|
8915
8949
|
header?: never;
|
|
8916
8950
|
path: {
|
|
8951
|
+
/** @example 893d2add-2f36-4ee7-b660-893d2add2f36 */
|
|
8917
8952
|
tradingPairId: string;
|
|
8918
8953
|
};
|
|
8919
8954
|
cookie?: never;
|
|
@@ -8950,6 +8985,7 @@ export interface operations {
|
|
|
8950
8985
|
query?: never;
|
|
8951
8986
|
header?: never;
|
|
8952
8987
|
path: {
|
|
8988
|
+
/** @example 893d2add-2f36-4ee7-b660-893d2add2f36 */
|
|
8953
8989
|
tradingPairId: string;
|
|
8954
8990
|
};
|
|
8955
8991
|
cookie?: never;
|
|
@@ -8972,6 +9008,7 @@ export interface operations {
|
|
|
8972
9008
|
query?: never;
|
|
8973
9009
|
header?: never;
|
|
8974
9010
|
path: {
|
|
9011
|
+
/** @example 893d2add-2f36-4ee7-b660-893d2add2f36 */
|
|
8975
9012
|
tradingPairId: string;
|
|
8976
9013
|
};
|
|
8977
9014
|
cookie?: never;
|
|
@@ -9073,6 +9110,7 @@ export interface operations {
|
|
|
9073
9110
|
};
|
|
9074
9111
|
header?: never;
|
|
9075
9112
|
path: {
|
|
9113
|
+
/** @example 893d2add-2f36-4ee7-b660-893d2add2f36 */
|
|
9076
9114
|
tradingPairId: string;
|
|
9077
9115
|
};
|
|
9078
9116
|
cookie?: never;
|
|
@@ -9309,6 +9347,7 @@ export interface operations {
|
|
|
9309
9347
|
query?: never;
|
|
9310
9348
|
header?: never;
|
|
9311
9349
|
path: {
|
|
9350
|
+
/** @example 893d2add-2f36-4ee7-b660-893d2add2f36 */
|
|
9312
9351
|
tradingPairId: string;
|
|
9313
9352
|
};
|
|
9314
9353
|
cookie?: never;
|
|
@@ -9523,6 +9562,7 @@ export interface operations {
|
|
|
9523
9562
|
query?: never;
|
|
9524
9563
|
header?: never;
|
|
9525
9564
|
path: {
|
|
9565
|
+
/** @example 2b1a5f9c-0000-4000-8000-000000000004 */
|
|
9526
9566
|
conditionalOrderId: string;
|
|
9527
9567
|
};
|
|
9528
9568
|
cookie?: never;
|
|
@@ -9545,6 +9585,7 @@ export interface operations {
|
|
|
9545
9585
|
query?: never;
|
|
9546
9586
|
header?: never;
|
|
9547
9587
|
path: {
|
|
9588
|
+
/** @example 2b1a5f9c-0000-4000-8000-000000000004 */
|
|
9548
9589
|
conditionalOrderId: string;
|
|
9549
9590
|
};
|
|
9550
9591
|
cookie?: never;
|
|
@@ -9567,6 +9608,7 @@ export interface operations {
|
|
|
9567
9608
|
query?: never;
|
|
9568
9609
|
header?: never;
|
|
9569
9610
|
path: {
|
|
9611
|
+
/** @example 2b1a5f9c-0000-4000-8000-000000000003 */
|
|
9570
9612
|
orderId: string;
|
|
9571
9613
|
};
|
|
9572
9614
|
cookie?: never;
|
|
@@ -9624,6 +9666,7 @@ export interface operations {
|
|
|
9624
9666
|
query?: never;
|
|
9625
9667
|
header?: never;
|
|
9626
9668
|
path: {
|
|
9669
|
+
/** @example 2b1a5f9c-0000-4000-8000-000000000003 */
|
|
9627
9670
|
orderId: string;
|
|
9628
9671
|
};
|
|
9629
9672
|
cookie?: never;
|
|
@@ -9712,6 +9755,7 @@ export interface operations {
|
|
|
9712
9755
|
query?: never;
|
|
9713
9756
|
header?: never;
|
|
9714
9757
|
path: {
|
|
9758
|
+
/** @example 0x742d35cc6634c0532925a3b8d4060f31e2c3d8b5 */
|
|
9715
9759
|
code: string;
|
|
9716
9760
|
};
|
|
9717
9761
|
cookie?: never;
|
|
@@ -9920,6 +9964,7 @@ export interface operations {
|
|
|
9920
9964
|
query?: never;
|
|
9921
9965
|
header?: never;
|
|
9922
9966
|
path: {
|
|
9967
|
+
/** @example 2b1a5f9c-0000-4000-8000-000000000002 */
|
|
9923
9968
|
positionId: string;
|
|
9924
9969
|
};
|
|
9925
9970
|
cookie?: never;
|
|
@@ -9942,6 +9987,7 @@ export interface operations {
|
|
|
9942
9987
|
query?: never;
|
|
9943
9988
|
header?: never;
|
|
9944
9989
|
path: {
|
|
9990
|
+
/** @example 2b1a5f9c-0000-4000-8000-000000000002 */
|
|
9945
9991
|
positionId: string;
|
|
9946
9992
|
};
|
|
9947
9993
|
cookie?: never;
|
|
@@ -9968,7 +10014,10 @@ export interface operations {
|
|
|
9968
10014
|
query?: never;
|
|
9969
10015
|
header?: never;
|
|
9970
10016
|
path: {
|
|
9971
|
-
/**
|
|
10017
|
+
/**
|
|
10018
|
+
* @description Position UUID for the isolated bucket being adjusted.
|
|
10019
|
+
* @example 2b1a5f9c-0000-4000-8000-000000000002
|
|
10020
|
+
*/
|
|
9972
10021
|
positionId: string;
|
|
9973
10022
|
};
|
|
9974
10023
|
cookie?: never;
|
|
@@ -9995,7 +10044,10 @@ export interface operations {
|
|
|
9995
10044
|
query?: never;
|
|
9996
10045
|
header?: never;
|
|
9997
10046
|
path: {
|
|
9998
|
-
/**
|
|
10047
|
+
/**
|
|
10048
|
+
* @description Position UUID for the isolated bucket being adjusted.
|
|
10049
|
+
* @example 2b1a5f9c-0000-4000-8000-000000000002
|
|
10050
|
+
*/
|
|
9999
10051
|
positionId: string;
|
|
10000
10052
|
};
|
|
10001
10053
|
cookie?: never;
|
|
@@ -10029,6 +10081,7 @@ export interface operations {
|
|
|
10029
10081
|
};
|
|
10030
10082
|
header?: never;
|
|
10031
10083
|
path: {
|
|
10084
|
+
/** @example 2b1a5f9c-0000-4000-8000-000000000002 */
|
|
10032
10085
|
positionId: string;
|
|
10033
10086
|
};
|
|
10034
10087
|
cookie?: never;
|
|
@@ -10079,6 +10132,7 @@ export interface operations {
|
|
|
10079
10132
|
query?: never;
|
|
10080
10133
|
header?: never;
|
|
10081
10134
|
path: {
|
|
10135
|
+
/** @example 2b1a5f9c-0000-4000-8000-000000000002 */
|
|
10082
10136
|
positionId: string;
|
|
10083
10137
|
};
|
|
10084
10138
|
cookie?: never;
|
|
@@ -10101,6 +10155,7 @@ export interface operations {
|
|
|
10101
10155
|
query?: never;
|
|
10102
10156
|
header?: never;
|
|
10103
10157
|
path: {
|
|
10158
|
+
/** @example 2b1a5f9c-0000-4000-8000-000000000002 */
|
|
10104
10159
|
positionId: string;
|
|
10105
10160
|
};
|
|
10106
10161
|
cookie?: never;
|
|
@@ -10127,6 +10182,7 @@ export interface operations {
|
|
|
10127
10182
|
query?: never;
|
|
10128
10183
|
header?: never;
|
|
10129
10184
|
path: {
|
|
10185
|
+
/** @example 2b1a5f9c-0000-4000-8000-000000000006 */
|
|
10130
10186
|
tradeId: string;
|
|
10131
10187
|
};
|
|
10132
10188
|
cookie?: never;
|
|
@@ -10175,6 +10231,7 @@ export interface operations {
|
|
|
10175
10231
|
};
|
|
10176
10232
|
header?: never;
|
|
10177
10233
|
path: {
|
|
10234
|
+
/** @example 893d2add-2f36-4ee7-b660-893d2add2f36 */
|
|
10178
10235
|
tradingPairId: string;
|
|
10179
10236
|
};
|
|
10180
10237
|
cookie?: never;
|
|
@@ -10375,6 +10432,7 @@ export interface operations {
|
|
|
10375
10432
|
query?: never;
|
|
10376
10433
|
header?: never;
|
|
10377
10434
|
path: {
|
|
10435
|
+
/** @example 0 */
|
|
10378
10436
|
withdrawalIndex: string;
|
|
10379
10437
|
};
|
|
10380
10438
|
cookie?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xmonaco/types",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.26",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"lint": "biome lint ."
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@0xmonaco/contracts": "1.0.
|
|
23
|
+
"@0xmonaco/contracts": "1.0.26",
|
|
24
24
|
"zod": "^4.1.12"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|