@0xmonaco/types 1.1.5-develop.129b2c6 → 1.1.5-prerelease.de852e2
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/README.md +2 -0
- package/dist/analytics/builders.d.ts +1 -12
- package/dist/analytics/index.d.ts +3 -23
- package/dist/analytics/index.js +0 -5
- package/dist/market/index.d.ts +20 -0
- package/dist/profile/index.d.ts +17 -0
- package/dist/rfq/responses.d.ts +0 -6
- package/dist/rfq/responses.js +0 -14
- package/dist/websocket/events/rfq-events.d.ts +1 -30
- package/dist/wire/schema.d.ts +30 -85
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -34,8 +34,6 @@ export interface BuilderApplication {
|
|
|
34
34
|
additionalTakerFeeBps: number;
|
|
35
35
|
/** Maker add-on the application charges, in basis points. */
|
|
36
36
|
additionalMakerFeeBps: number;
|
|
37
|
-
/** Whether this is the exchange's default application: the one a sign-in that names no client id is placed under. */
|
|
38
|
-
isDefault: boolean;
|
|
39
37
|
}
|
|
40
38
|
/** A builder's identity. */
|
|
41
39
|
export interface Builder {
|
|
@@ -72,8 +70,6 @@ export interface BuilderFigures {
|
|
|
72
70
|
takerFeesUsd: string;
|
|
73
71
|
/** Maker add-ons on the trades it made, whoever took them. */
|
|
74
72
|
makerFeesUsd: string;
|
|
75
|
-
/** USDC deposited through the builder's applications, in USD (1:1); other tokens are unvalued. */
|
|
76
|
-
depositsUsd: string;
|
|
77
73
|
}
|
|
78
74
|
/** Every displayed builder, by name. */
|
|
79
75
|
export interface ListBuildersResponse {
|
|
@@ -111,17 +107,10 @@ export interface ListBuilderLeaderboardParams extends AnalyticsWindowParams {
|
|
|
111
107
|
/** Builders to return, largest volume first (1-100, default 25). */
|
|
112
108
|
limit?: number;
|
|
113
109
|
}
|
|
114
|
-
/** One builder's row on the leaderboard; a display group ranks as one.
|
|
110
|
+
/** One builder's row on the leaderboard; a display group ranks as one. */
|
|
115
111
|
export interface BuilderLeaderboardRow extends BuilderFigures {
|
|
116
112
|
builder: Builder;
|
|
117
113
|
newTraders: number;
|
|
118
|
-
/**
|
|
119
|
-
* Distinct taker wallets that traded through the builder, each once. With
|
|
120
|
-
* `window: "all"`, every wallet that ever traded through it. `null` for a
|
|
121
|
-
* window counted in hours that starts before the 90 days its hourly sets
|
|
122
|
-
* are kept.
|
|
123
|
-
*/
|
|
124
|
-
activeTakers?: number | null;
|
|
125
114
|
}
|
|
126
115
|
/** Displayed builders ranked by volume over a window. */
|
|
127
116
|
export interface ListBuilderLeaderboardResponse {
|
|
@@ -15,11 +15,6 @@
|
|
|
15
15
|
* explorer displays only. Fees, active takers, new traders and per-market
|
|
16
16
|
* volume count every trade. USD amounts are decimal strings (USDC 1:1).
|
|
17
17
|
*
|
|
18
|
-
* Custody: deposits, withdrawals, net flow and total value locked count USDC
|
|
19
|
-
* only (1:1); other tokens are unvalued. A withdrawal counts when initiated.
|
|
20
|
-
* TVL is the USDC custody (deposits less initiated withdrawals, never below
|
|
21
|
-
* zero) at a point, `null` before any custody was folded.
|
|
22
|
-
*
|
|
23
18
|
* NOTE: These endpoints are **public (unauthenticated)** and rate limited per
|
|
24
19
|
* client IP.
|
|
25
20
|
*/
|
|
@@ -67,29 +62,14 @@ export interface ProtocolFigures {
|
|
|
67
62
|
/** Wallets whose first trade through a builder fell inside, once per (builder, wallet), all builders included. */
|
|
68
63
|
newTraders: number;
|
|
69
64
|
}
|
|
70
|
-
/** USDC custody flow over a window or one bucket, in USD (1:1). */
|
|
71
|
-
export interface CustodyFlows {
|
|
72
|
-
/** USDC deposited. */
|
|
73
|
-
depositsUsd: string;
|
|
74
|
-
/** USDC withdrawals initiated. */
|
|
75
|
-
withdrawalsUsd: string;
|
|
76
|
-
/** `depositsUsd` less `withdrawalsUsd`; negative when more left than arrived. */
|
|
77
|
-
netFlowUsd: string;
|
|
78
|
-
}
|
|
79
65
|
/** Protocol totals over a window. */
|
|
80
|
-
export interface GetProtocolTotalsResponse extends ProtocolFigures
|
|
66
|
+
export interface GetProtocolTotalsResponse extends ProtocolFigures {
|
|
81
67
|
window: AnalyticsWindow;
|
|
82
|
-
/** Total value locked in USD at the end of the window (the end of the bucket holding `endTime`); `null` before any custody was folded. */
|
|
83
|
-
tvlUsd?: string | null;
|
|
84
|
-
/** Total value locked in USD at the start of the window; `tvlUsd` less this is the window's change. `null` before any custody was folded. */
|
|
85
|
-
openingTvlUsd?: string | null;
|
|
86
68
|
}
|
|
87
69
|
/** Protocol figures for one bucket. */
|
|
88
|
-
export interface ProtocolSeriesPoint extends ProtocolFigures
|
|
70
|
+
export interface ProtocolSeriesPoint extends ProtocolFigures {
|
|
89
71
|
/** Bucket start as Unix milliseconds (UTC; weeks start Monday). */
|
|
90
72
|
bucketStart: number;
|
|
91
|
-
/** Total value locked in USD at the end of the bucket, carried across buckets without movement; `null` before any custody was folded. */
|
|
92
|
-
tvlUsd?: string | null;
|
|
93
73
|
}
|
|
94
74
|
/** Protocol figures per bucket over a window. */
|
|
95
75
|
export interface GetProtocolSeriesResponse {
|
|
@@ -120,7 +100,7 @@ export interface ListMarketVolumesResponse {
|
|
|
120
100
|
}
|
|
121
101
|
/** The treasury's all-time net fees (not windowed). */
|
|
122
102
|
export interface GetTreasuryNetFeesResponse {
|
|
123
|
-
/** Net protocol fees in USD: the treasury's net
|
|
103
|
+
/** Net protocol fees in USD: the treasury's net fee less BuilderCodes payouts and TraderCodes rewards; negative when payouts exceed fees. */
|
|
124
104
|
netFeesUsd: string;
|
|
125
105
|
/** When the first counted fee landed, as Unix milliseconds; null before any. */
|
|
126
106
|
countingSince?: number | null;
|
package/dist/analytics/index.js
CHANGED
|
@@ -15,11 +15,6 @@
|
|
|
15
15
|
* explorer displays only. Fees, active takers, new traders and per-market
|
|
16
16
|
* volume count every trade. USD amounts are decimal strings (USDC 1:1).
|
|
17
17
|
*
|
|
18
|
-
* Custody: deposits, withdrawals, net flow and total value locked count USDC
|
|
19
|
-
* only (1:1); other tokens are unvalued. A withdrawal counts when initiated.
|
|
20
|
-
* TVL is the USDC custody (deposits less initiated withdrawals, never below
|
|
21
|
-
* zero) at a point, `null` before any custody was folded.
|
|
22
|
-
*
|
|
23
18
|
* NOTE: These endpoints are **public (unauthenticated)** and rate limited per
|
|
24
19
|
* client IP.
|
|
25
20
|
*/
|
package/dist/market/index.d.ts
CHANGED
|
@@ -54,6 +54,26 @@ export interface TradingPair {
|
|
|
54
54
|
* `CROSS_MARGIN_NOT_ALLOWED`; open the position with `marginMode: "ISOLATED"`.
|
|
55
55
|
*/
|
|
56
56
|
isolatedOnly: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Flat pair-level maker fee in basis points (negative = rebate).
|
|
59
|
+
*
|
|
60
|
+
* @deprecated Not the rate an order is charged: fees are tiered per account.
|
|
61
|
+
* Use `fees.getFeeSchedule(tradingPairId)` for the pair's tier schedule,
|
|
62
|
+
* `fees.getMyFeeTier({ tradingPairId })` for your own rate, and
|
|
63
|
+
* `placementMakerFeeBps` on an order for the rate it was placed at. This
|
|
64
|
+
* field will be removed in a later release.
|
|
65
|
+
*/
|
|
66
|
+
makerFeeBps: number;
|
|
67
|
+
/**
|
|
68
|
+
* Flat pair-level taker fee in basis points.
|
|
69
|
+
*
|
|
70
|
+
* @deprecated Not the rate an order is charged: fees are tiered per account.
|
|
71
|
+
* Use `fees.getFeeSchedule(tradingPairId)` for the pair's tier schedule,
|
|
72
|
+
* `fees.getMyFeeTier({ tradingPairId })` for your own rate, and
|
|
73
|
+
* `placementTakerFeeBps` on an order for the rate it was placed at. This
|
|
74
|
+
* field will be removed in a later release.
|
|
75
|
+
*/
|
|
76
|
+
takerFeeBps: number;
|
|
57
77
|
/** Minimum order size */
|
|
58
78
|
minOrderSize: string;
|
|
59
79
|
/** Maximum order size */
|
package/dist/profile/index.d.ts
CHANGED
|
@@ -612,6 +612,23 @@ export interface UserProfile {
|
|
|
612
612
|
accountType: string;
|
|
613
613
|
/** Whether the user can withdraw funds */
|
|
614
614
|
canWithdraw: boolean;
|
|
615
|
+
/**
|
|
616
|
+
* Flat taker fee in basis points, echoed from a trading pair.
|
|
617
|
+
*
|
|
618
|
+
* @deprecated Not the rate you are charged: fees are tiered per account. Use
|
|
619
|
+
* `fees.getMyFeeTier({ tradingPairId })` for your own rate. This field will
|
|
620
|
+
* be removed in a later release.
|
|
621
|
+
*/
|
|
622
|
+
takerFeeBps: number;
|
|
623
|
+
/**
|
|
624
|
+
* Flat maker fee in basis points (negative = rebate), echoed from a trading
|
|
625
|
+
* pair.
|
|
626
|
+
*
|
|
627
|
+
* @deprecated Not the rate you are charged: fees are tiered per account. Use
|
|
628
|
+
* `fees.getMyFeeTier({ tradingPairId })` for your own rate. This field will
|
|
629
|
+
* be removed in a later release.
|
|
630
|
+
*/
|
|
631
|
+
makerFeeBps: number;
|
|
615
632
|
/** Account creation timestamp (ISO string) */
|
|
616
633
|
createdAt: string;
|
|
617
634
|
/** Additional taker fee in basis points contributed by the application (if any) */
|
package/dist/rfq/responses.d.ts
CHANGED
|
@@ -129,9 +129,6 @@ export declare const RfqMakerSelectionSchema: z.ZodObject<{
|
|
|
129
129
|
capacity: z.ZodString;
|
|
130
130
|
}, z.core.$strip>>>;
|
|
131
131
|
lastLookDeadlineAtMs: z.ZodNumber;
|
|
132
|
-
monacoFeeCbps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
133
|
-
maxBuilderFeeCbps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
134
|
-
estimatedNet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
135
132
|
}, z.core.$strip>;
|
|
136
133
|
/**
|
|
137
134
|
* Authoritative RFQ status. A taker sees `view` and `outcome`; a maker sees
|
|
@@ -209,9 +206,6 @@ export declare const RfqStatusSchema: z.ZodObject<{
|
|
|
209
206
|
capacity: z.ZodString;
|
|
210
207
|
}, z.core.$strip>>>;
|
|
211
208
|
lastLookDeadlineAtMs: z.ZodNumber;
|
|
212
|
-
monacoFeeCbps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
213
|
-
maxBuilderFeeCbps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
214
|
-
estimatedNet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
215
209
|
}, z.core.$strip>>>;
|
|
216
210
|
ownLatestVersion: z.ZodNumber;
|
|
217
211
|
ownQuoteWithdrawn: z.ZodBoolean;
|
package/dist/rfq/responses.js
CHANGED
|
@@ -126,20 +126,6 @@ export const RfqMakerSelectionSchema = z.object({
|
|
|
126
126
|
quantity: z.string(),
|
|
127
127
|
frozenTerms: RfqQuoteTermsResponseSchema.nullish(),
|
|
128
128
|
lastLookDeadlineAtMs: z.number(),
|
|
129
|
-
/** Your Monaco maker fee rate in centi-bps, frozen at acceptance; negative for a rebate. */
|
|
130
|
-
monacoFeeCbps: z.number().nullish(),
|
|
131
|
-
/**
|
|
132
|
-
* The MOST your frontend's builder add-on charges on this fill, in centi-bps:
|
|
133
|
-
* the rate stored on your quote order. A fill charges it or nothing, never
|
|
134
|
-
* more; an IMPROVE re-places the quote at the rate configured then.
|
|
135
|
-
*/
|
|
136
|
-
maxBuilderFeeCbps: z.number().nullish(),
|
|
137
|
-
/**
|
|
138
|
-
* Estimated net at the selected quantity and frozen price, in the quote
|
|
139
|
-
* asset, at monacoFeeCbps plus the maximum add-on: the least you receive
|
|
140
|
-
* when selling, the most you pay when buying.
|
|
141
|
-
*/
|
|
142
|
-
estimatedNet: z.string().nullish(),
|
|
143
129
|
});
|
|
144
130
|
/**
|
|
145
131
|
* Authoritative RFQ status. A taker sees `view` and `outcome`; a maker sees
|
|
@@ -42,17 +42,9 @@ export interface RfqRequestedEvent {
|
|
|
42
42
|
}
|
|
43
43
|
/** One side of the taker's view: the allocation that would fill the quantity. */
|
|
44
44
|
export interface RfqSideViewEventData {
|
|
45
|
-
/** All-in volume-weighted price, the taker's
|
|
45
|
+
/** All-in volume-weighted price, the taker's fee included. */
|
|
46
46
|
vwap: string;
|
|
47
47
|
availableQuantity: string;
|
|
48
|
-
/** The volume-weighted price before fees. */
|
|
49
|
-
grossVwap?: string;
|
|
50
|
-
/** Estimated Monaco taker fee on `availableQuantity`, in the quote asset. */
|
|
51
|
-
estimatedMonacoFee?: string;
|
|
52
|
-
/** Estimated builder fee on `availableQuantity`, in the quote asset. */
|
|
53
|
-
estimatedBuilderFee?: string;
|
|
54
|
-
/** Estimated total taker fee on `availableQuantity`, in the quote asset. */
|
|
55
|
-
estimatedTotalFee?: string;
|
|
56
48
|
}
|
|
57
49
|
/** The taker's view of the quotes. No maker identity or individual quote. */
|
|
58
50
|
export interface RfqViewEventData {
|
|
@@ -65,10 +57,6 @@ export interface RfqViewEventData {
|
|
|
65
57
|
asOfMs: number;
|
|
66
58
|
/** Pushes can arrive out of order: keep the view with the highest `sequence`. */
|
|
67
59
|
sequence: number;
|
|
68
|
-
/** Your Monaco taker fee rate in this view, in centi-bps. */
|
|
69
|
-
monacoFeeCbps?: number;
|
|
70
|
-
/** Your frontend's builder fee rate in this view, in centi-bps; frozen when you accept. */
|
|
71
|
-
builderFeeCbps?: number;
|
|
72
60
|
}
|
|
73
61
|
/** To the taker: its view moved. */
|
|
74
62
|
export interface RfqViewEvent {
|
|
@@ -94,18 +82,6 @@ export interface RfqSelectionEventData {
|
|
|
94
82
|
makerFeeCbps: number;
|
|
95
83
|
/** Reject or improve before this time; silence executes. */
|
|
96
84
|
lastLookDeadlineAtMs: number;
|
|
97
|
-
/**
|
|
98
|
-
* The MOST your frontend's builder add-on charges on this fill, in centi-bps:
|
|
99
|
-
* the rate stored on your quote order. A fill charges it or nothing, never
|
|
100
|
-
* more; the receipt shows what was charged. Absent when it could not be read.
|
|
101
|
-
*/
|
|
102
|
-
maxBuilderFeeCbps?: number;
|
|
103
|
-
/**
|
|
104
|
-
* Estimated net at `quantity` and `price`, in the quote asset, at
|
|
105
|
-
* `makerFeeCbps` plus `maxBuilderFeeCbps`: the least you receive when
|
|
106
|
-
* selling, the most you pay when buying. Absent with `maxBuilderFeeCbps`.
|
|
107
|
-
*/
|
|
108
|
-
estimatedNet?: string;
|
|
109
85
|
}
|
|
110
86
|
/** To one selected maker: its last-look prompt. */
|
|
111
87
|
export interface RfqSelectedEvent {
|
|
@@ -118,12 +94,7 @@ export interface RfqFillEventData {
|
|
|
118
94
|
executionId: string;
|
|
119
95
|
price: string;
|
|
120
96
|
quantity: string;
|
|
121
|
-
/** Your whole taker fee on this fill: `monacoFee` plus `builderFee`. */
|
|
122
97
|
fee: string;
|
|
123
|
-
/** The Monaco part of `fee`. */
|
|
124
|
-
monacoFee?: string;
|
|
125
|
-
/** The builder part of `fee`. */
|
|
126
|
-
builderFee?: string;
|
|
127
98
|
}
|
|
128
99
|
/** How an RFQ ended, for its taker. */
|
|
129
100
|
export interface RfqOutcomeEventData {
|
package/dist/wire/schema.d.ts
CHANGED
|
@@ -5126,11 +5126,6 @@ export interface components {
|
|
|
5126
5126
|
* @example 0
|
|
5127
5127
|
*/
|
|
5128
5128
|
additionalMakerFeeBps?: number | null;
|
|
5129
|
-
/**
|
|
5130
|
-
* @description Whether this is the exchange's default application: the one a sign-in that names no client id is placed under
|
|
5131
|
-
* @example false
|
|
5132
|
-
*/
|
|
5133
|
-
isDefault?: boolean | null;
|
|
5134
5129
|
};
|
|
5135
5130
|
BuilderFeeChange: {
|
|
5136
5131
|
/**
|
|
@@ -5237,17 +5232,6 @@ export interface components {
|
|
|
5237
5232
|
* @example 4
|
|
5238
5233
|
*/
|
|
5239
5234
|
newTraders?: number | null;
|
|
5240
|
-
/**
|
|
5241
|
-
* Format: int64
|
|
5242
|
-
* @description Distinct taker wallets that traded through the builder in the window, each once however many buckets or applications it traded in. With window=all, every wallet that ever traded through it. Null for a window counted in hours that starts before the 90 days its hourly sets are kept.
|
|
5243
|
-
* @example 18
|
|
5244
|
-
*/
|
|
5245
|
-
activeTakers?: number | null;
|
|
5246
|
-
/**
|
|
5247
|
-
* @description USDC deposited through the builder's applications in the window, in USD (1:1). Other tokens are unvalued and not counted.
|
|
5248
|
-
* @example 15000
|
|
5249
|
-
*/
|
|
5250
|
-
depositsUsd?: string | null;
|
|
5251
5235
|
};
|
|
5252
5236
|
BuilderSeriesPoint: {
|
|
5253
5237
|
/**
|
|
@@ -5304,11 +5288,6 @@ export interface components {
|
|
|
5304
5288
|
* @example 1
|
|
5305
5289
|
*/
|
|
5306
5290
|
newTraders?: number | null;
|
|
5307
|
-
/**
|
|
5308
|
-
* @description USDC deposited through the builder's applications in the bucket, in USD (1:1)
|
|
5309
|
-
* @example 500
|
|
5310
|
-
*/
|
|
5311
|
-
depositsUsd?: string | null;
|
|
5312
5291
|
};
|
|
5313
5292
|
BuildercodePayout: {
|
|
5314
5293
|
/**
|
|
@@ -6832,11 +6811,6 @@ export interface components {
|
|
|
6832
6811
|
* @example 4
|
|
6833
6812
|
*/
|
|
6834
6813
|
newTraders?: number | null;
|
|
6835
|
-
/**
|
|
6836
|
-
* @description USDC deposited through the builder's applications in the window, in USD (1:1). Other tokens are unvalued and not counted.
|
|
6837
|
-
* @example 15000
|
|
6838
|
-
*/
|
|
6839
|
-
depositsUsd?: string | null;
|
|
6840
6814
|
};
|
|
6841
6815
|
GetBuildercodePayoutSummaryResponse: {
|
|
6842
6816
|
/**
|
|
@@ -8262,6 +8236,20 @@ export interface components {
|
|
|
8262
8236
|
* @example 2023-11-13T10:30:00Z
|
|
8263
8237
|
*/
|
|
8264
8238
|
createdAt?: string | null;
|
|
8239
|
+
/**
|
|
8240
|
+
* Format: int32
|
|
8241
|
+
* @deprecated
|
|
8242
|
+
* @description DEPRECATED: legacy flat maker fee in bps echoed from the trading pair. Does NOT reflect the tiered fee actually charged, which is per-user and fractional. Call GET /api/v1/fees/tier for the caller's real rate. Will be removed in a later release.
|
|
8243
|
+
* @example -1
|
|
8244
|
+
*/
|
|
8245
|
+
makerFeeBps?: number | null;
|
|
8246
|
+
/**
|
|
8247
|
+
* Format: int32
|
|
8248
|
+
* @deprecated
|
|
8249
|
+
* @description DEPRECATED: legacy flat taker fee in bps echoed from the trading pair. Does NOT reflect the tiered fee actually charged, which is per-user and fractional. Call GET /api/v1/fees/tier for the caller's real rate. Will be removed in a later release.
|
|
8250
|
+
* @example 5
|
|
8251
|
+
*/
|
|
8252
|
+
takerFeeBps?: number | null;
|
|
8265
8253
|
/**
|
|
8266
8254
|
* Format: int32
|
|
8267
8255
|
* @description Additional taker fee in basis points from application
|
|
@@ -8325,31 +8313,6 @@ export interface components {
|
|
|
8325
8313
|
* @example 27
|
|
8326
8314
|
*/
|
|
8327
8315
|
newTraders?: number | null;
|
|
8328
|
-
/**
|
|
8329
|
-
* @description Total value locked in USD at the end of the window (the end of the bucket holding endTime): USDC custody, deposits less initiated withdrawals, valued 1:1. Null when no custody had been folded by then.
|
|
8330
|
-
* @example 536172600
|
|
8331
|
-
*/
|
|
8332
|
-
tvlUsd?: string | null;
|
|
8333
|
-
/**
|
|
8334
|
-
* @description Total value locked in USD at the start of the window (the start of its first bucket). tvlUsd less openingTvlUsd is the window's change. Null when no custody had been folded by then.
|
|
8335
|
-
* @example 535000000
|
|
8336
|
-
*/
|
|
8337
|
-
openingTvlUsd?: string | null;
|
|
8338
|
-
/**
|
|
8339
|
-
* @description USDC deposited in the window, in USD (1:1). Other tokens are unvalued and not counted.
|
|
8340
|
-
* @example 1250000
|
|
8341
|
-
*/
|
|
8342
|
-
depositsUsd?: string | null;
|
|
8343
|
-
/**
|
|
8344
|
-
* @description USDC withdrawals initiated in the window, in USD (1:1). Other tokens are unvalued and not counted.
|
|
8345
|
-
* @example 78000
|
|
8346
|
-
*/
|
|
8347
|
-
withdrawalsUsd?: string | null;
|
|
8348
|
-
/**
|
|
8349
|
-
* @description depositsUsd less withdrawalsUsd; negative when more left than arrived
|
|
8350
|
-
* @example 1172000
|
|
8351
|
-
*/
|
|
8352
|
-
netFlowUsd?: string | null;
|
|
8353
8316
|
};
|
|
8354
8317
|
GetPulseResponse: {
|
|
8355
8318
|
/**
|
|
@@ -8569,7 +8532,7 @@ export interface components {
|
|
|
8569
8532
|
/** @description The treasury's all-time net fees. Not windowed: the treasury keeps only running totals. */
|
|
8570
8533
|
GetTreasuryNetFeesResponse: {
|
|
8571
8534
|
/**
|
|
8572
|
-
* @description All-time net protocol fees in USD (USDC 1:1): the treasury's net
|
|
8535
|
+
* @description All-time net protocol fees in USD (USDC 1:1): the treasury's net fee less BuilderCodes payouts and TraderCodes rewards. Negative when payouts exceed fees; "0" before any fee. The definition may widen to more fee sources without a contract change.
|
|
8573
8536
|
* @example 260.37
|
|
8574
8537
|
*/
|
|
8575
8538
|
netFeesUsd?: string | null;
|
|
@@ -9300,7 +9263,7 @@ export interface components {
|
|
|
9300
9263
|
/**
|
|
9301
9264
|
* @description Displayed builders with figures in the window, largest volume first
|
|
9302
9265
|
* (ties by builder id), up to limit. A builder that only earned maker
|
|
9303
|
-
* add-ons
|
|
9266
|
+
* add-ons ranks with zero volume.
|
|
9304
9267
|
*/
|
|
9305
9268
|
rows?: components["schemas"]["BuilderLeaderboardRow"][] | null;
|
|
9306
9269
|
};
|
|
@@ -10977,26 +10940,6 @@ export interface components {
|
|
|
10977
10940
|
* @example 3
|
|
10978
10941
|
*/
|
|
10979
10942
|
newTraders?: number | null;
|
|
10980
|
-
/**
|
|
10981
|
-
* @description Total value locked in USD at the end of the bucket: USDC custody, deposits less initiated withdrawals, valued 1:1. Carried across buckets without custody movement; null before the first folded custody hour.
|
|
10982
|
-
* @example 536172600
|
|
10983
|
-
*/
|
|
10984
|
-
tvlUsd?: string | null;
|
|
10985
|
-
/**
|
|
10986
|
-
* @description USDC deposited in the bucket, in USD (1:1)
|
|
10987
|
-
* @example 52000
|
|
10988
|
-
*/
|
|
10989
|
-
depositsUsd?: string | null;
|
|
10990
|
-
/**
|
|
10991
|
-
* @description USDC withdrawals initiated in the bucket, in USD (1:1)
|
|
10992
|
-
* @example 3000
|
|
10993
|
-
*/
|
|
10994
|
-
withdrawalsUsd?: string | null;
|
|
10995
|
-
/**
|
|
10996
|
-
* @description depositsUsd less withdrawalsUsd; negative when more left than arrived
|
|
10997
|
-
* @example 49000
|
|
10998
|
-
*/
|
|
10999
|
-
netFlowUsd?: string | null;
|
|
11000
10943
|
};
|
|
11001
10944
|
PublicHealthCheckResponse: {
|
|
11002
10945
|
/**
|
|
@@ -11504,18 +11447,6 @@ export interface components {
|
|
|
11504
11447
|
frozenTerms?: components["schemas"]["RfqQuoteTerms"];
|
|
11505
11448
|
/** Format: int64 */
|
|
11506
11449
|
lastLookDeadlineAtMs?: number | null;
|
|
11507
|
-
/**
|
|
11508
|
-
* Format: int32
|
|
11509
|
-
* @description Your Monaco maker fee rate in centi-bps, frozen at acceptance; negative for a rebate
|
|
11510
|
-
*/
|
|
11511
|
-
monacoFeeCbps?: number | null;
|
|
11512
|
-
/**
|
|
11513
|
-
* Format: int32
|
|
11514
|
-
* @description The MOST your frontend's builder add-on charges on this fill, in centi-bps: the rate stored on your quote order. A fill charges this rate or nothing, never more; the receipt shows what was charged. An IMPROVE re-places the quote at the rate configured then. Absent when it could not be read
|
|
11515
|
-
*/
|
|
11516
|
-
maxBuilderFeeCbps?: number | null;
|
|
11517
|
-
/** @description Estimated net at the selected quantity and frozen price, in the quote asset, at monacoFeeCbps plus the maximum builder add-on: the least you receive when selling, the most you pay when buying. Absent with maxBuilderFeeCbps */
|
|
11518
|
-
estimatedNet?: string | null;
|
|
11519
11450
|
};
|
|
11520
11451
|
/** @description A market RFQ is offered on. */
|
|
11521
11452
|
RfqMarketCapability: {
|
|
@@ -12725,6 +12656,13 @@ export interface components {
|
|
|
12725
12656
|
* @example true
|
|
12726
12657
|
*/
|
|
12727
12658
|
isActive?: boolean | null;
|
|
12659
|
+
/**
|
|
12660
|
+
* Format: int32
|
|
12661
|
+
* @deprecated
|
|
12662
|
+
* @description DEPRECATED: legacy flat maker fee in bps (negative = rebate). This is the pre-tiered pair-level rate and does NOT reflect the tiered fee actually charged, which is per-user and fractional. Do not display this as the user's fee — call GET /api/v1/fees/tier for the caller's real rate. Will be removed in a later release.
|
|
12663
|
+
* @example -2
|
|
12664
|
+
*/
|
|
12665
|
+
makerFeeBps?: number | null;
|
|
12728
12666
|
/**
|
|
12729
12667
|
* @description Market type: SPOT or MARGIN
|
|
12730
12668
|
* @example SPOT
|
|
@@ -12772,6 +12710,13 @@ export interface components {
|
|
|
12772
12710
|
* @example BTC/USDC
|
|
12773
12711
|
*/
|
|
12774
12712
|
symbol?: string | null;
|
|
12713
|
+
/**
|
|
12714
|
+
* Format: int32
|
|
12715
|
+
* @deprecated
|
|
12716
|
+
* @description DEPRECATED: legacy flat taker fee in bps. This is the pre-tiered pair-level rate and does NOT reflect the tiered fee actually charged, which is per-user and fractional. Do not display this as the user's fee — call GET /api/v1/fees/tier for the caller's real rate. Will be removed in a later release.
|
|
12717
|
+
* @example 10
|
|
12718
|
+
*/
|
|
12719
|
+
takerFeeBps?: number | null;
|
|
12775
12720
|
/**
|
|
12776
12721
|
* @description Minimum price increment
|
|
12777
12722
|
* @example 0.01
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xmonaco/types",
|
|
3
|
-
"version": "1.1.5-
|
|
3
|
+
"version": "1.1.5-prerelease.de852e2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"homepage": "https://docs.0xmonaco.com/sdk/typescript",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"lint": "biome lint ."
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@0xmonaco/contracts": "1.1.5-
|
|
19
|
+
"@0xmonaco/contracts": "1.1.5-prerelease.de852e2",
|
|
20
20
|
"zod": "^4.6.7"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|