@0xmonaco/types 1.0.72 → 1.0.73
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/buildercodes/index.d.ts +7 -3
- package/dist/buildercodes/index.js +1 -1
- package/dist/buildercodes/responses.d.ts +59 -2
- package/dist/buildercodes/responses.js +38 -2
- package/dist/trading/responses.d.ts +18 -6
- package/dist/wire/operations.d.ts +1 -1
- package/dist/wire/operations.js +2 -0
- package/dist/wire/schema.d.ts +295 -4
- package/package.json +2 -2
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* per-trade revenue share.
|
|
6
6
|
*/
|
|
7
7
|
import type { BaseAPI } from "../api";
|
|
8
|
-
import type { ClaimBuildercodeRewardsParams, ClaimBuildercodeRewardsResponse, GetBuildercodePayoutSummaryResponse, GetBuildercodeRewardsBalanceResponse, GetBuildercodesConfigResponse, ListBuildercodePayoutsParams, ListBuildercodePayoutsResponse } from "./responses";
|
|
8
|
+
import type { ClaimBuildercodeRewardsParams, ClaimBuildercodeRewardsResponse, GetBuildercodePayoutSummaryResponse, GetBuildercodeRewardsBalanceResponse, GetBuildercodesConfigResponse, ListBuildercodePayoutsParams, ListBuildercodePayoutsResponse, ListBuilderFeeChangesParams, ListBuilderFeeChangesResponse, SetBuilderFeeParams, SetBuilderFeeResponse } from "./responses";
|
|
9
9
|
/**
|
|
10
10
|
* BuilderCodes payout API interface.
|
|
11
11
|
*
|
|
@@ -18,6 +18,10 @@ import type { ClaimBuildercodeRewardsParams, ClaimBuildercodeRewardsResponse, Ge
|
|
|
18
18
|
export interface BuildercodesAPI extends BaseAPI {
|
|
19
19
|
/** Read this authenticated frontend's enrollment, payout address, and live budget. */
|
|
20
20
|
getConfig(): Promise<GetBuildercodesConfigResponse>;
|
|
21
|
+
/** Set this frontend's stored builder fee in basis points. */
|
|
22
|
+
setBuilderFee(params: SetBuilderFeeParams): Promise<SetBuilderFeeResponse>;
|
|
23
|
+
/** List this frontend's builder-fee audit log, newest first. */
|
|
24
|
+
listBuilderFeeChanges(params?: ListBuilderFeeChangesParams): Promise<ListBuilderFeeChangesResponse>;
|
|
21
25
|
/** List this authenticated frontend's per-trade BuilderCodes credits, optionally of one payout `kind`. */
|
|
22
26
|
listPayouts(params?: ListBuildercodePayoutsParams): Promise<ListBuildercodePayoutsResponse>;
|
|
23
27
|
/** Summarize this authenticated frontend's BuilderCodes credits by token, and by token and payout kind. */
|
|
@@ -67,5 +71,5 @@ export interface BuildercodesAPI extends BaseAPI {
|
|
|
67
71
|
*/
|
|
68
72
|
claimBuildercodeRewards(params: ClaimBuildercodeRewardsParams): Promise<ClaimBuildercodeRewardsResponse>;
|
|
69
73
|
}
|
|
70
|
-
export type { BuildercodePayout, BuildercodePayoutKind, BuildercodePayoutTokenKindTotal, BuildercodePayoutTokenTotal, BuildercodeRewardsBalance, ClaimBuildercodeRewardsParams, ClaimBuildercodeRewardsResponse, GetBuildercodePayoutSummaryResponse, GetBuildercodeRewardsBalanceResponse, GetBuildercodesConfigResponse, ListBuildercodePayoutsParams, ListBuildercodePayoutsResponse, } from "./responses";
|
|
71
|
-
export { BuildercodePayoutKindSchema, BuildercodePayoutSchema, BuildercodePayoutTokenKindTotalSchema, BuildercodePayoutTokenTotalSchema, BuildercodeRewardsBalanceSchema, ClaimBuildercodeRewardsParamsSchema, ClaimBuildercodeRewardsResponseSchema, GetBuildercodePayoutSummaryResponseSchema, GetBuildercodeRewardsBalanceResponseSchema, GetBuildercodesConfigResponseSchema, ListBuildercodePayoutsParamsSchema, ListBuildercodePayoutsResponseSchema, } from "./responses";
|
|
74
|
+
export type { BuildercodePayout, BuildercodePayoutKind, BuildercodePayoutTokenKindTotal, BuildercodePayoutTokenTotal, BuildercodeRewardsBalance, BuilderFeeActorType, BuilderFeeChange, ClaimBuildercodeRewardsParams, ClaimBuildercodeRewardsResponse, GetBuildercodePayoutSummaryResponse, GetBuildercodeRewardsBalanceResponse, GetBuildercodesConfigResponse, ListBuildercodePayoutsParams, ListBuildercodePayoutsResponse, ListBuilderFeeChangesParams, ListBuilderFeeChangesResponse, SetBuilderFeeParams, SetBuilderFeeResponse, } from "./responses";
|
|
75
|
+
export { BuildercodePayoutKindSchema, BuildercodePayoutSchema, BuildercodePayoutTokenKindTotalSchema, BuildercodePayoutTokenTotalSchema, BuildercodeRewardsBalanceSchema, BuilderFeeActorTypeSchema, BuilderFeeChangeSchema, ClaimBuildercodeRewardsParamsSchema, ClaimBuildercodeRewardsResponseSchema, GetBuildercodePayoutSummaryResponseSchema, GetBuildercodeRewardsBalanceResponseSchema, GetBuildercodesConfigResponseSchema, ListBuildercodePayoutsParamsSchema, ListBuildercodePayoutsResponseSchema, ListBuilderFeeChangesParamsSchema, ListBuilderFeeChangesResponseSchema, SetBuilderFeeParamsSchema, SetBuilderFeeResponseSchema, } from "./responses";
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
* Types for the BuilderCodes API: reading and claiming an enrolled frontend's
|
|
5
5
|
* per-trade revenue share.
|
|
6
6
|
*/
|
|
7
|
-
export { BuildercodePayoutKindSchema, BuildercodePayoutSchema, BuildercodePayoutTokenKindTotalSchema, BuildercodePayoutTokenTotalSchema, BuildercodeRewardsBalanceSchema, ClaimBuildercodeRewardsParamsSchema, ClaimBuildercodeRewardsResponseSchema, GetBuildercodePayoutSummaryResponseSchema, GetBuildercodeRewardsBalanceResponseSchema, GetBuildercodesConfigResponseSchema, ListBuildercodePayoutsParamsSchema, ListBuildercodePayoutsResponseSchema, } from "./responses";
|
|
7
|
+
export { BuildercodePayoutKindSchema, BuildercodePayoutSchema, BuildercodePayoutTokenKindTotalSchema, BuildercodePayoutTokenTotalSchema, BuildercodeRewardsBalanceSchema, BuilderFeeActorTypeSchema, BuilderFeeChangeSchema, ClaimBuildercodeRewardsParamsSchema, ClaimBuildercodeRewardsResponseSchema, GetBuildercodePayoutSummaryResponseSchema, GetBuildercodeRewardsBalanceResponseSchema, GetBuildercodesConfigResponseSchema, ListBuildercodePayoutsParamsSchema, ListBuildercodePayoutsResponseSchema, ListBuilderFeeChangesParamsSchema, ListBuilderFeeChangesResponseSchema, SetBuilderFeeParamsSchema, SetBuilderFeeResponseSchema, } from "./responses";
|
|
@@ -12,11 +12,62 @@ export declare const GetBuildercodesConfigResponseSchema: z.ZodObject<{
|
|
|
12
12
|
payoutAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
buildercodesEnabled: z.ZodBoolean;
|
|
14
14
|
buildercodesBudgetBps: z.ZodNumber;
|
|
15
|
+
builderFeeEnabled: z.ZodBoolean;
|
|
16
|
+
builderFeeBps: z.ZodNumber;
|
|
17
|
+
builderFeeCapBps: z.ZodNumber;
|
|
18
|
+
changesRemaining: z.ZodNumber;
|
|
19
|
+
nextChangeAllowedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
/** Schema for changing this frontend's builder fee. */
|
|
22
|
+
export declare const SetBuilderFeeParamsSchema: z.ZodObject<{
|
|
23
|
+
bps: z.ZodNumber;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
/** Schema returned after setting this frontend's builder fee. */
|
|
26
|
+
export declare const SetBuilderFeeResponseSchema: z.ZodObject<{
|
|
27
|
+
builderFeeBps: z.ZodNumber;
|
|
28
|
+
previousBuilderFeeBps: z.ZodNumber;
|
|
29
|
+
changesRemaining: z.ZodNumber;
|
|
30
|
+
nextChangeAllowedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
/** Builder-fee change actor exposed by the audit log. */
|
|
33
|
+
export declare const BuilderFeeActorTypeSchema: z.ZodEnum<{
|
|
34
|
+
BUILDER: "BUILDER";
|
|
35
|
+
ADMIN: "ADMIN";
|
|
36
|
+
}>;
|
|
37
|
+
/** One builder-fee audit-log entry. */
|
|
38
|
+
export declare const BuilderFeeChangeSchema: z.ZodObject<{
|
|
39
|
+
actorType: z.ZodEnum<{
|
|
40
|
+
BUILDER: "BUILDER";
|
|
41
|
+
ADMIN: "ADMIN";
|
|
42
|
+
}>;
|
|
43
|
+
actor: z.ZodString;
|
|
44
|
+
oldBps: z.ZodNumber;
|
|
45
|
+
newBps: z.ZodNumber;
|
|
46
|
+
createdAt: z.ZodString;
|
|
47
|
+
}, z.core.$strip>;
|
|
48
|
+
/** Cursor pagination accepted by the builder-fee change log. */
|
|
49
|
+
export declare const ListBuilderFeeChangesParamsSchema: z.ZodObject<{
|
|
50
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
51
|
+
pageToken: z.ZodOptional<z.ZodString>;
|
|
52
|
+
}, z.core.$strip>;
|
|
53
|
+
/** Schema for one page of builder-fee changes, newest first. */
|
|
54
|
+
export declare const ListBuilderFeeChangesResponseSchema: z.ZodObject<{
|
|
55
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
56
|
+
actorType: z.ZodEnum<{
|
|
57
|
+
BUILDER: "BUILDER";
|
|
58
|
+
ADMIN: "ADMIN";
|
|
59
|
+
}>;
|
|
60
|
+
actor: z.ZodString;
|
|
61
|
+
oldBps: z.ZodNumber;
|
|
62
|
+
newBps: z.ZodNumber;
|
|
63
|
+
createdAt: z.ZodString;
|
|
64
|
+
}, z.core.$strip>>;
|
|
65
|
+
nextPageToken: z.ZodString;
|
|
15
66
|
}, z.core.$strip>;
|
|
16
67
|
/**
|
|
17
68
|
* The payout stream a BuilderCodes credit belongs to. `REVENUE_SHARE` is the
|
|
18
|
-
* frontend
|
|
19
|
-
*
|
|
69
|
+
* active frontend-revenue-share category; `BUILDER_FEE` is reserved and is not
|
|
70
|
+
* currently emitted.
|
|
20
71
|
*/
|
|
21
72
|
export declare const BuildercodePayoutKindSchema: z.ZodEnum<{
|
|
22
73
|
REVENUE_SHARE: "REVENUE_SHARE";
|
|
@@ -127,6 +178,12 @@ export declare const ClaimBuildercodeRewardsResponseSchema: z.ZodObject<{
|
|
|
127
178
|
export type ClaimBuildercodeRewardsParams = z.infer<typeof ClaimBuildercodeRewardsParamsSchema>;
|
|
128
179
|
export type ClaimBuildercodeRewardsResponse = z.infer<typeof ClaimBuildercodeRewardsResponseSchema>;
|
|
129
180
|
export type GetBuildercodesConfigResponse = z.infer<typeof GetBuildercodesConfigResponseSchema>;
|
|
181
|
+
export type SetBuilderFeeParams = z.infer<typeof SetBuilderFeeParamsSchema>;
|
|
182
|
+
export type SetBuilderFeeResponse = z.infer<typeof SetBuilderFeeResponseSchema>;
|
|
183
|
+
export type BuilderFeeActorType = z.infer<typeof BuilderFeeActorTypeSchema>;
|
|
184
|
+
export type BuilderFeeChange = z.infer<typeof BuilderFeeChangeSchema>;
|
|
185
|
+
export type ListBuilderFeeChangesParams = z.infer<typeof ListBuilderFeeChangesParamsSchema>;
|
|
186
|
+
export type ListBuilderFeeChangesResponse = z.infer<typeof ListBuilderFeeChangesResponseSchema>;
|
|
130
187
|
export type ListBuildercodePayoutsParams = z.infer<typeof ListBuildercodePayoutsParamsSchema>;
|
|
131
188
|
export type BuildercodePayoutKind = z.infer<typeof BuildercodePayoutKindSchema>;
|
|
132
189
|
export type BuildercodePayout = z.infer<typeof BuildercodePayoutSchema>;
|
|
@@ -16,11 +16,47 @@ export const GetBuildercodesConfigResponseSchema = z.object({
|
|
|
16
16
|
payoutAddress: z.string().nullable().optional(),
|
|
17
17
|
buildercodesEnabled: z.boolean(),
|
|
18
18
|
buildercodesBudgetBps: z.number().int().min(0).max(10_000),
|
|
19
|
+
builderFeeEnabled: z.boolean(),
|
|
20
|
+
builderFeeBps: z.number().int().min(0).max(100),
|
|
21
|
+
builderFeeCapBps: z.number().int().min(0).max(100),
|
|
22
|
+
changesRemaining: z.number().int().min(0).max(2),
|
|
23
|
+
nextChangeAllowedAt: z.string().nullable().optional(),
|
|
24
|
+
});
|
|
25
|
+
/** Schema for changing this frontend's builder fee. */
|
|
26
|
+
export const SetBuilderFeeParamsSchema = z.object({
|
|
27
|
+
bps: z.number().int().min(0).max(100),
|
|
28
|
+
});
|
|
29
|
+
/** Schema returned after setting this frontend's builder fee. */
|
|
30
|
+
export const SetBuilderFeeResponseSchema = z.object({
|
|
31
|
+
builderFeeBps: z.number().int().min(0).max(100),
|
|
32
|
+
previousBuilderFeeBps: z.number().int().min(0).max(100),
|
|
33
|
+
changesRemaining: z.number().int().min(0).max(2),
|
|
34
|
+
nextChangeAllowedAt: z.string().nullable().optional(),
|
|
35
|
+
});
|
|
36
|
+
/** Builder-fee change actor exposed by the audit log. */
|
|
37
|
+
export const BuilderFeeActorTypeSchema = z.enum(["BUILDER", "ADMIN"]);
|
|
38
|
+
/** One builder-fee audit-log entry. */
|
|
39
|
+
export const BuilderFeeChangeSchema = z.object({
|
|
40
|
+
actorType: BuilderFeeActorTypeSchema,
|
|
41
|
+
actor: z.string(),
|
|
42
|
+
oldBps: z.number().int().min(0).max(100),
|
|
43
|
+
newBps: z.number().int().min(0).max(100),
|
|
44
|
+
createdAt: z.string(),
|
|
45
|
+
});
|
|
46
|
+
/** Cursor pagination accepted by the builder-fee change log. */
|
|
47
|
+
export const ListBuilderFeeChangesParamsSchema = z.object({
|
|
48
|
+
pageSize: z.number().int().min(1).max(100).optional(),
|
|
49
|
+
pageToken: z.string().optional(),
|
|
50
|
+
});
|
|
51
|
+
/** Schema for one page of builder-fee changes, newest first. */
|
|
52
|
+
export const ListBuilderFeeChangesResponseSchema = z.object({
|
|
53
|
+
changes: z.array(BuilderFeeChangeSchema),
|
|
54
|
+
nextPageToken: z.string(),
|
|
19
55
|
});
|
|
20
56
|
/**
|
|
21
57
|
* The payout stream a BuilderCodes credit belongs to. `REVENUE_SHARE` is the
|
|
22
|
-
* frontend
|
|
23
|
-
*
|
|
58
|
+
* active frontend-revenue-share category; `BUILDER_FEE` is reserved and is not
|
|
59
|
+
* currently emitted.
|
|
24
60
|
*/
|
|
25
61
|
export const BuildercodePayoutKindSchema = z.enum(["REVENUE_SHARE", "BUILDER_FEE"]);
|
|
26
62
|
/** Pagination and filter accepted by the per-trade payout history endpoint. */
|
|
@@ -159,7 +159,7 @@ export interface ReplaceOrderResponse {
|
|
|
159
159
|
status: "SUCCESS" | "FAILED";
|
|
160
160
|
/** Operation message */
|
|
161
161
|
message: string;
|
|
162
|
-
/**
|
|
162
|
+
/** The replacement's price and total quantity (see {@link UpdatedFields}) */
|
|
163
163
|
updatedFields: UpdatedFields;
|
|
164
164
|
/** Original order identifier that was replaced */
|
|
165
165
|
originalOrderId?: string;
|
|
@@ -167,12 +167,19 @@ export interface ReplaceOrderResponse {
|
|
|
167
167
|
matchResult?: MatchResult;
|
|
168
168
|
}
|
|
169
169
|
/**
|
|
170
|
-
*
|
|
170
|
+
* The replacement's price and quantity, as the replace operation placed them
|
|
171
171
|
*/
|
|
172
172
|
export interface UpdatedFields {
|
|
173
|
-
/**
|
|
173
|
+
/** The replacement's price: the requested price, or the original order's when omitted */
|
|
174
174
|
price?: string;
|
|
175
|
-
/**
|
|
175
|
+
/**
|
|
176
|
+
* The replacement's TOTAL quantity, not its resting size: the requested
|
|
177
|
+
* quantity, or the original order's total when omitted. A 100-lot with 60
|
|
178
|
+
* filled reports "100" and rests 40; read the order's `remainingQuantity`
|
|
179
|
+
* for the resting size. For a margin reduce-only replacement it is the close
|
|
180
|
+
* size placed (the requested quantity, or the original's remaining quantity
|
|
181
|
+
* when omitted).
|
|
182
|
+
*/
|
|
176
183
|
quantity?: string;
|
|
177
184
|
}
|
|
178
185
|
/**
|
|
@@ -336,7 +343,7 @@ export interface BatchReplaceResult {
|
|
|
336
343
|
originalOrderId: string;
|
|
337
344
|
/** New order identifier (if successful) */
|
|
338
345
|
newOrderId?: string;
|
|
339
|
-
/**
|
|
346
|
+
/** The replacement's price and total quantity, if successful (see {@link UpdatedFields}) */
|
|
340
347
|
updatedFields?: UpdatedFields;
|
|
341
348
|
/** Match result information if the new order was processed */
|
|
342
349
|
matchResult?: MatchResult;
|
|
@@ -435,7 +442,12 @@ export interface BatchReplaceOrderParams {
|
|
|
435
442
|
orderId: string;
|
|
436
443
|
/** New order price (optional) */
|
|
437
444
|
price?: string;
|
|
438
|
-
/**
|
|
445
|
+
/**
|
|
446
|
+
* New TOTAL order quantity (optional): the replacement rests this total
|
|
447
|
+
* minus the already-filled amount, so it must exceed the filled amount.
|
|
448
|
+
* Omitted, the order keeps its total. A margin reduce-only quantity is a
|
|
449
|
+
* close size, placed as given.
|
|
450
|
+
*/
|
|
439
451
|
quantity?: string;
|
|
440
452
|
/** For sub-accounts: use master's balance (optional) */
|
|
441
453
|
useMasterBalance?: boolean;
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
* hand-written SDK surface. CI regenerates it and fails on a diff, identical to
|
|
11
11
|
* the `schema.ts` wire-types tripwire (MON-1476), so it can never go stale.
|
|
12
12
|
*/
|
|
13
|
-
export declare const OPERATION_IDS: readonly ["add_follow_position_margin", "attach_position_tp_sl", "batch_cancel_all", "batch_cancel_all_by_pair", "batch_cancel_orders", "batch_close_all_positions", "batch_create_orders", "batch_replace_orders", "cancel_conditional_order", "cancel_order", "cancel_twap_order", "check_trader_code_availability", "claim_buildercode_rewards", "claim_managed_market_lease", "clear_trader_code", "close_all_copy_positions", "close_follow_positions", "close_position", "create_challenge", "create_delegated_session", "create_order", "create_sub_account_limit", "create_twap_order", "delete_sub_account_limit", "get_application_config", "get_application_stats", "get_available_collateral", "get_buildercode_payout_summary", "get_buildercode_rewards_balance", "get_buildercodes_config", "get_candles", "get_conditional_order", "get_faucet_info", "get_follow", "get_funding_state", "get_index_price", "get_lead_trader", "get_margin_account_movements", "get_margin_account_summary", "get_mark_price", "get_market_metadata", "get_market_stats", "get_my_fee_tier", "get_my_lead_trader", "get_my_referral_downline", "get_my_referral_position", "get_my_trader_code", "get_open_interest", "get_order_by_id", "get_orderbook_snapshot", "get_orders", "get_parent_margin_account_movements", "get_parent_margin_account_summary", "get_perp_market_config", "get_perp_market_summary", "get_portfolio_assets", "get_portfolio_chart", "get_portfolio_margin", "get_portfolio_performance", "get_portfolio_realized_pnl", "get_portfolio_stats", "get_portfolio_summary", "get_position", "get_position_pnl_history", "get_position_risk", "get_pulse", "get_rewards_balance", "get_screener", "get_self_trade_prevention_default", "get_sub_account_limits", "get_sweeper_chains", "get_trade_by_id", "get_trader_code_info", "get_trades", "get_trading_pair_by_id", "get_twap_order", "get_twap_order_tca", "get_user_balance_by_asset", "get_user_balances", "get_user_movements", "get_user_profile", "get_user_trades", "get_withdrawal", "health_check", "initiate_withdrawal", "list_all_funding_history", "list_application_balances", "list_application_movements", "list_application_orders", "list_application_users", "list_buildercode_payouts", "list_conditional_orders", "list_delegated_agent_owners", "list_delegated_agents", "list_follow_leader_positions", "list_funding_history", "list_funding_payments", "list_lead_trader_closed_trades", "list_lead_trader_open_positions", "list_lead_traders", "list_managed_market_assignments", "list_margin_accounts", "list_my_followers", "list_my_follows", "list_pending_withdrawals", "list_position_history", "list_positions", "list_sub_accounts_with_balances", "list_trading_pairs", "list_twap_orders", "mint_tokens", "preview_follow", "refresh_managed_market_quotes", "refresh_session", "register_deposit_address", "replace_order", "revoke_delegated_agent", "revoke_session", "set_self_trade_prevention_default", "set_trader_code", "simulate_fees", "simulate_order_risk", "simulate_parent_margin_order_risk", "simulate_risk_bucket_order_risk", "stop_follow", "submit_whitelist", "transfer_collateral_from_margin_account", "transfer_collateral_from_parent_margin_account", "transfer_collateral_to_margin_account", "transfer_collateral_to_parent_margin_account", "transfer_collateral_to_risk_bucket", "transfer_rewards", "update_sub_account_limit", "upsert_delegated_agent", "upsert_follow", "upsert_lead_trader", "verify_signature"];
|
|
13
|
+
export declare const OPERATION_IDS: readonly ["add_follow_position_margin", "attach_position_tp_sl", "batch_cancel_all", "batch_cancel_all_by_pair", "batch_cancel_orders", "batch_close_all_positions", "batch_create_orders", "batch_replace_orders", "cancel_conditional_order", "cancel_order", "cancel_twap_order", "check_trader_code_availability", "claim_buildercode_rewards", "claim_managed_market_lease", "clear_trader_code", "close_all_copy_positions", "close_follow_positions", "close_position", "create_challenge", "create_delegated_session", "create_order", "create_sub_account_limit", "create_twap_order", "delete_sub_account_limit", "get_application_config", "get_application_stats", "get_available_collateral", "get_buildercode_payout_summary", "get_buildercode_rewards_balance", "get_buildercodes_config", "get_candles", "get_conditional_order", "get_faucet_info", "get_follow", "get_funding_state", "get_index_price", "get_lead_trader", "get_margin_account_movements", "get_margin_account_summary", "get_mark_price", "get_market_metadata", "get_market_stats", "get_my_fee_tier", "get_my_lead_trader", "get_my_referral_downline", "get_my_referral_position", "get_my_trader_code", "get_open_interest", "get_order_by_id", "get_orderbook_snapshot", "get_orders", "get_parent_margin_account_movements", "get_parent_margin_account_summary", "get_perp_market_config", "get_perp_market_summary", "get_portfolio_assets", "get_portfolio_chart", "get_portfolio_margin", "get_portfolio_performance", "get_portfolio_realized_pnl", "get_portfolio_stats", "get_portfolio_summary", "get_position", "get_position_pnl_history", "get_position_risk", "get_pulse", "get_rewards_balance", "get_screener", "get_self_trade_prevention_default", "get_sub_account_limits", "get_sweeper_chains", "get_trade_by_id", "get_trader_code_info", "get_trades", "get_trading_pair_by_id", "get_twap_order", "get_twap_order_tca", "get_user_balance_by_asset", "get_user_balances", "get_user_movements", "get_user_profile", "get_user_trades", "get_withdrawal", "health_check", "initiate_withdrawal", "list_all_funding_history", "list_application_balances", "list_application_movements", "list_application_orders", "list_application_users", "list_builder_fee_changes", "list_buildercode_payouts", "list_conditional_orders", "list_delegated_agent_owners", "list_delegated_agents", "list_follow_leader_positions", "list_funding_history", "list_funding_payments", "list_lead_trader_closed_trades", "list_lead_trader_open_positions", "list_lead_traders", "list_managed_market_assignments", "list_margin_accounts", "list_my_followers", "list_my_follows", "list_pending_withdrawals", "list_position_history", "list_positions", "list_sub_accounts_with_balances", "list_trading_pairs", "list_twap_orders", "mint_tokens", "preview_follow", "refresh_managed_market_quotes", "refresh_session", "register_deposit_address", "replace_order", "revoke_delegated_agent", "revoke_session", "set_builder_fee", "set_self_trade_prevention_default", "set_trader_code", "simulate_fees", "simulate_order_risk", "simulate_parent_margin_order_risk", "simulate_risk_bucket_order_risk", "stop_follow", "submit_whitelist", "transfer_collateral_from_margin_account", "transfer_collateral_from_parent_margin_account", "transfer_collateral_to_margin_account", "transfer_collateral_to_parent_margin_account", "transfer_collateral_to_risk_bucket", "transfer_rewards", "update_sub_account_limit", "upsert_delegated_agent", "upsert_follow", "upsert_lead_trader", "verify_signature"];
|
|
14
14
|
/** Union of every OpenAPI operationId in the spec. */
|
|
15
15
|
export type OperationId = (typeof OPERATION_IDS)[number];
|
package/dist/wire/operations.js
CHANGED
|
@@ -101,6 +101,7 @@ export const OPERATION_IDS = [
|
|
|
101
101
|
"list_application_movements",
|
|
102
102
|
"list_application_orders",
|
|
103
103
|
"list_application_users",
|
|
104
|
+
"list_builder_fee_changes",
|
|
104
105
|
"list_buildercode_payouts",
|
|
105
106
|
"list_conditional_orders",
|
|
106
107
|
"list_delegated_agent_owners",
|
|
@@ -129,6 +130,7 @@ export const OPERATION_IDS = [
|
|
|
129
130
|
"replace_order",
|
|
130
131
|
"revoke_delegated_agent",
|
|
131
132
|
"revoke_session",
|
|
133
|
+
"set_builder_fee",
|
|
132
134
|
"set_self_trade_prevention_default",
|
|
133
135
|
"set_trader_code",
|
|
134
136
|
"simulate_fees",
|
package/dist/wire/schema.d.ts
CHANGED
|
@@ -706,6 +706,74 @@ export interface paths {
|
|
|
706
706
|
patch?: never;
|
|
707
707
|
trace?: never;
|
|
708
708
|
};
|
|
709
|
+
"/api/v1/buildercodes/builder-fee": {
|
|
710
|
+
parameters: {
|
|
711
|
+
query?: never;
|
|
712
|
+
header?: never;
|
|
713
|
+
path?: never;
|
|
714
|
+
cookie?: never;
|
|
715
|
+
};
|
|
716
|
+
get?: never;
|
|
717
|
+
/**
|
|
718
|
+
* Set your builder fee
|
|
719
|
+
* @description Set this application's builder fee.
|
|
720
|
+
*
|
|
721
|
+
* The builder fee is an additional taker fee, in basis points, that this
|
|
722
|
+
* frontend charges its own users on top of Monaco's fee. The application is
|
|
723
|
+
* taken from the authenticated session; the caller must be the application's
|
|
724
|
+
* BuilderCodes payout wallet, and delegated-agent sessions are refused.
|
|
725
|
+
*
|
|
726
|
+
* `bps` must be between 0 and the current builder-fee cap
|
|
727
|
+
* (`builderFeeCapBps` on `GetBuildercodesConfig`) inclusive. The application
|
|
728
|
+
* must be enrolled in BuilderCodes with a payout address. At most two changes
|
|
729
|
+
* are allowed in any rolling 24 hours; changes Monaco makes on the
|
|
730
|
+
* application's behalf do not count. Setting the fee it already has is a
|
|
731
|
+
* no-op that succeeds and does not use up a change.
|
|
732
|
+
*
|
|
733
|
+
* The fee can be set while builder fees are switched off
|
|
734
|
+
* (`builderFeeEnabled` false): it is stored and nothing is charged until they
|
|
735
|
+
* are switched on. Once charged, a new fee applies to orders placed after the
|
|
736
|
+
* change within a few seconds; resting orders keep the fee they were placed
|
|
737
|
+
* with.
|
|
738
|
+
*
|
|
739
|
+
* A refused change is **HTTP 409** / **FAILED_PRECONDITION** when the
|
|
740
|
+
* application is not enrolled with a payout address or has no changes left
|
|
741
|
+
* (REST adds `details.nextChangeAllowedAt`), and **HTTP 400** /
|
|
742
|
+
* **INVALID_ARGUMENT** when `bps` is above the cap.
|
|
743
|
+
*/
|
|
744
|
+
put: operations["set_builder_fee"];
|
|
745
|
+
post?: never;
|
|
746
|
+
delete?: never;
|
|
747
|
+
options?: never;
|
|
748
|
+
head?: never;
|
|
749
|
+
patch?: never;
|
|
750
|
+
trace?: never;
|
|
751
|
+
};
|
|
752
|
+
"/api/v1/buildercodes/builder-fee/changes": {
|
|
753
|
+
parameters: {
|
|
754
|
+
query?: never;
|
|
755
|
+
header?: never;
|
|
756
|
+
path?: never;
|
|
757
|
+
cookie?: never;
|
|
758
|
+
};
|
|
759
|
+
/**
|
|
760
|
+
* List your builder-fee changes
|
|
761
|
+
* @description List this application's builder-fee changes.
|
|
762
|
+
*
|
|
763
|
+
* Newest first, cursor-paginated. Includes every change to this
|
|
764
|
+
* application's builder fee: those its payout wallet made (`BUILDER`) and
|
|
765
|
+
* those Monaco made on its behalf (`ADMIN`). The application is taken from
|
|
766
|
+
* the authenticated session.
|
|
767
|
+
*/
|
|
768
|
+
get: operations["list_builder_fee_changes"];
|
|
769
|
+
put?: never;
|
|
770
|
+
post?: never;
|
|
771
|
+
delete?: never;
|
|
772
|
+
options?: never;
|
|
773
|
+
head?: never;
|
|
774
|
+
patch?: never;
|
|
775
|
+
trace?: never;
|
|
776
|
+
};
|
|
709
777
|
"/api/v1/buildercodes/config": {
|
|
710
778
|
parameters: {
|
|
711
779
|
query?: never;
|
|
@@ -3823,6 +3891,36 @@ export interface components {
|
|
|
3823
3891
|
matchResult?: components["schemas"]["MatchResult"];
|
|
3824
3892
|
error?: components["schemas"]["BatchReplaceError"];
|
|
3825
3893
|
};
|
|
3894
|
+
BuilderFeeChange: {
|
|
3895
|
+
/**
|
|
3896
|
+
* @description Who made the change: `BUILDER` (this application's payout wallet) or `ADMIN` (Monaco, on the application's behalf).
|
|
3897
|
+
* @example BUILDER
|
|
3898
|
+
* @enum {string|null}
|
|
3899
|
+
*/
|
|
3900
|
+
actorType?: "BUILDER" | "ADMIN" | null;
|
|
3901
|
+
/**
|
|
3902
|
+
* @description The lowercase payout wallet address for a `BUILDER` change, or the Monaco operator's email for an `ADMIN` change.
|
|
3903
|
+
* @example 0x0000000000000000000000000000000000000001
|
|
3904
|
+
*/
|
|
3905
|
+
actor?: string | null;
|
|
3906
|
+
/**
|
|
3907
|
+
* Format: uint32
|
|
3908
|
+
* @description Builder fee before the change, in basis points.
|
|
3909
|
+
* @example 0
|
|
3910
|
+
*/
|
|
3911
|
+
oldBps?: number | null;
|
|
3912
|
+
/**
|
|
3913
|
+
* Format: uint32
|
|
3914
|
+
* @description Builder fee after the change, in basis points.
|
|
3915
|
+
* @example 10
|
|
3916
|
+
*/
|
|
3917
|
+
newBps?: number | null;
|
|
3918
|
+
/**
|
|
3919
|
+
* Format: date-time
|
|
3920
|
+
* @description RFC 3339 time of the change.
|
|
3921
|
+
*/
|
|
3922
|
+
createdAt?: string | null;
|
|
3923
|
+
};
|
|
3826
3924
|
BuildercodePayout: {
|
|
3827
3925
|
/**
|
|
3828
3926
|
* Format: uuid
|
|
@@ -3856,7 +3954,7 @@ export interface components {
|
|
|
3856
3954
|
*/
|
|
3857
3955
|
createdAt?: string | null;
|
|
3858
3956
|
/**
|
|
3859
|
-
* @description Payout
|
|
3957
|
+
* @description Payout category for this credit. `REVENUE_SHARE` is active; `BUILDER_FEE` is reserved and is not currently emitted.
|
|
3860
3958
|
* @example REVENUE_SHARE
|
|
3861
3959
|
* @enum {string|null}
|
|
3862
3960
|
*/
|
|
@@ -5193,6 +5291,31 @@ export interface components {
|
|
|
5193
5291
|
* @example 1000
|
|
5194
5292
|
*/
|
|
5195
5293
|
buildercodesBudgetBps?: number | null;
|
|
5294
|
+
/** @description Whether builder fees are currently charged. While false, `builderFeeBps` is stored but no builder fee is charged. */
|
|
5295
|
+
builderFeeEnabled?: boolean | null;
|
|
5296
|
+
/**
|
|
5297
|
+
* Format: uint32
|
|
5298
|
+
* @description This application's stored builder fee in basis points: the additional taker fee it charges its users. The fee charged is this value capped at `builderFeeCapBps`, and 0 while `builderFeeEnabled` is false or the application is not enrolled with a payout address.
|
|
5299
|
+
* @example 10
|
|
5300
|
+
*/
|
|
5301
|
+
builderFeeBps?: number | null;
|
|
5302
|
+
/**
|
|
5303
|
+
* Format: uint32
|
|
5304
|
+
* @description The highest builder fee, in basis points, that can currently be set or charged.
|
|
5305
|
+
* @example 100
|
|
5306
|
+
*/
|
|
5307
|
+
builderFeeCapBps?: number | null;
|
|
5308
|
+
/**
|
|
5309
|
+
* Format: uint32
|
|
5310
|
+
* @description Builder-fee changes this application can still make in the current rolling 24 hours (at most 2).
|
|
5311
|
+
* @example 2
|
|
5312
|
+
*/
|
|
5313
|
+
changesRemaining?: number | null;
|
|
5314
|
+
/**
|
|
5315
|
+
* Format: date-time
|
|
5316
|
+
* @description RFC 3339 time at which the next builder-fee change becomes allowed, or null while `changesRemaining` is above 0.
|
|
5317
|
+
*/
|
|
5318
|
+
nextChangeAllowedAt?: string | null;
|
|
5196
5319
|
};
|
|
5197
5320
|
/** @description OHLCV candlestick data. */
|
|
5198
5321
|
GetCandlesResponse: {
|
|
@@ -6997,6 +7120,12 @@ export interface components {
|
|
|
6997
7120
|
*/
|
|
6998
7121
|
totalPages?: number | null;
|
|
6999
7122
|
};
|
|
7123
|
+
ListBuilderFeeChangesResponse: {
|
|
7124
|
+
/** @description Builder-fee changes, newest first. */
|
|
7125
|
+
changes?: components["schemas"]["BuilderFeeChange"][] | null;
|
|
7126
|
+
/** @description Cursor for the next page; empty when there are no more. */
|
|
7127
|
+
nextPageToken?: string | null;
|
|
7128
|
+
};
|
|
7000
7129
|
ListBuildercodePayoutsResponse: {
|
|
7001
7130
|
/** @description Per-trade credits, newest first. */
|
|
7002
7131
|
payouts?: components["schemas"]["BuildercodePayout"][] | null;
|
|
@@ -8820,6 +8949,39 @@ export interface components {
|
|
|
8820
8949
|
*/
|
|
8821
8950
|
isCustom?: boolean | null;
|
|
8822
8951
|
};
|
|
8952
|
+
SetBuilderFeeRequest: {
|
|
8953
|
+
/**
|
|
8954
|
+
* Format: uint32
|
|
8955
|
+
* @description New builder fee in basis points, from 0 up to the current `builderFeeCapBps` inclusive. 0 stops charging a builder fee.
|
|
8956
|
+
* @example 10
|
|
8957
|
+
*/
|
|
8958
|
+
bps: number;
|
|
8959
|
+
};
|
|
8960
|
+
SetBuilderFeeResponse: {
|
|
8961
|
+
/**
|
|
8962
|
+
* Format: uint32
|
|
8963
|
+
* @description The builder fee now stored, in basis points.
|
|
8964
|
+
* @example 10
|
|
8965
|
+
*/
|
|
8966
|
+
builderFeeBps?: number | null;
|
|
8967
|
+
/**
|
|
8968
|
+
* Format: uint32
|
|
8969
|
+
* @description The builder fee this change replaced, in basis points. Equal to `builderFeeBps` when the request set the fee it already had, which changes nothing.
|
|
8970
|
+
* @example 0
|
|
8971
|
+
*/
|
|
8972
|
+
previousBuilderFeeBps?: number | null;
|
|
8973
|
+
/**
|
|
8974
|
+
* Format: uint32
|
|
8975
|
+
* @description Builder-fee changes this application can still make in the current rolling 24 hours (at most 2).
|
|
8976
|
+
* @example 1
|
|
8977
|
+
*/
|
|
8978
|
+
changesRemaining?: number | null;
|
|
8979
|
+
/**
|
|
8980
|
+
* Format: date-time
|
|
8981
|
+
* @description RFC 3339 time at which the next builder-fee change becomes allowed, or null while `changesRemaining` is above 0.
|
|
8982
|
+
*/
|
|
8983
|
+
nextChangeAllowedAt?: string | null;
|
|
8984
|
+
};
|
|
8823
8985
|
SetSelfTradePreventionDefaultRequest: {
|
|
8824
8986
|
/**
|
|
8825
8987
|
* @description The self-trade-prevention mode applied when an order from this wallet would match the wallet family's own resting order and the order names no override: `CANCEL_MAKER` (cancel the resting order — the platform default), `CANCEL_TAKER` (cancel the incoming order), `CANCEL_BOTH`, or `SKIP` (trade around own orders). Input is case-insensitive.
|
|
@@ -9963,12 +10125,12 @@ export interface components {
|
|
|
9963
10125
|
};
|
|
9964
10126
|
UpdatedFields: {
|
|
9965
10127
|
/**
|
|
9966
|
-
* @description
|
|
10128
|
+
* @description The replacement's limit price: the requested price, or the original order's price when price was omitted.
|
|
9967
10129
|
* @example 35500.00
|
|
9968
10130
|
*/
|
|
9969
10131
|
price?: string | null;
|
|
9970
10132
|
/**
|
|
9971
|
-
* @description
|
|
10133
|
+
* @description The replacement's total quantity: the requested quantity, or the original order's total when quantity was omitted. It is not the resting size: the replacement rests this total minus the already-filled amount, so a 100-lot with 60 filled reports 100 here and rests 40. Read the order's remainingQuantity for the resting size. Margin reduce-only replacements are the exception: this is the close size placed, which is the requested quantity or, when omitted, the original's remaining quantity.
|
|
9972
10134
|
* @example 0.7
|
|
9973
10135
|
*/
|
|
9974
10136
|
quantity?: string | null;
|
|
@@ -11928,6 +12090,135 @@ export interface operations {
|
|
|
11928
12090
|
};
|
|
11929
12091
|
};
|
|
11930
12092
|
};
|
|
12093
|
+
set_builder_fee: {
|
|
12094
|
+
parameters: {
|
|
12095
|
+
query?: never;
|
|
12096
|
+
header?: never;
|
|
12097
|
+
path?: never;
|
|
12098
|
+
cookie?: never;
|
|
12099
|
+
};
|
|
12100
|
+
requestBody: {
|
|
12101
|
+
content: {
|
|
12102
|
+
"application/json": components["schemas"]["SetBuilderFeeRequest"];
|
|
12103
|
+
};
|
|
12104
|
+
};
|
|
12105
|
+
responses: {
|
|
12106
|
+
/** @description OK */
|
|
12107
|
+
200: {
|
|
12108
|
+
headers: {
|
|
12109
|
+
[name: string]: unknown;
|
|
12110
|
+
};
|
|
12111
|
+
content: {
|
|
12112
|
+
"application/json": components["schemas"]["SetBuilderFeeResponse"];
|
|
12113
|
+
};
|
|
12114
|
+
};
|
|
12115
|
+
/** @description bps is above the current builder-fee cap (gRPC: INVALID_ARGUMENT) */
|
|
12116
|
+
400: {
|
|
12117
|
+
headers: {
|
|
12118
|
+
[name: string]: unknown;
|
|
12119
|
+
};
|
|
12120
|
+
content?: never;
|
|
12121
|
+
};
|
|
12122
|
+
/** @description Authentication required */
|
|
12123
|
+
401: {
|
|
12124
|
+
headers: {
|
|
12125
|
+
[name: string]: unknown;
|
|
12126
|
+
};
|
|
12127
|
+
content?: never;
|
|
12128
|
+
};
|
|
12129
|
+
/** @description Refused: BuilderCodes is disabled, the caller is delegated, or the caller is not this application's payout wallet (gRPC: PERMISSION_DENIED) */
|
|
12130
|
+
403: {
|
|
12131
|
+
headers: {
|
|
12132
|
+
[name: string]: unknown;
|
|
12133
|
+
};
|
|
12134
|
+
content?: never;
|
|
12135
|
+
};
|
|
12136
|
+
/** @description Authenticated application not found (gRPC: NOT_FOUND) */
|
|
12137
|
+
404: {
|
|
12138
|
+
headers: {
|
|
12139
|
+
[name: string]: unknown;
|
|
12140
|
+
};
|
|
12141
|
+
content?: never;
|
|
12142
|
+
};
|
|
12143
|
+
/** @description The application is not enrolled in BuilderCodes with a payout address, or it has already made two changes in the last 24 hours; the latter carries `details.nextChangeAllowedAt` (gRPC: FAILED_PRECONDITION) */
|
|
12144
|
+
409: {
|
|
12145
|
+
headers: {
|
|
12146
|
+
[name: string]: unknown;
|
|
12147
|
+
};
|
|
12148
|
+
content?: never;
|
|
12149
|
+
};
|
|
12150
|
+
/** @description Internal server error */
|
|
12151
|
+
500: {
|
|
12152
|
+
headers: {
|
|
12153
|
+
[name: string]: unknown;
|
|
12154
|
+
};
|
|
12155
|
+
content?: never;
|
|
12156
|
+
};
|
|
12157
|
+
};
|
|
12158
|
+
};
|
|
12159
|
+
list_builder_fee_changes: {
|
|
12160
|
+
parameters: {
|
|
12161
|
+
query?: {
|
|
12162
|
+
/** @description Items per page (max 100) */
|
|
12163
|
+
pageSize?: number;
|
|
12164
|
+
/**
|
|
12165
|
+
* @description Opaque cursor from a previous response's `nextPageToken`; omit or send an
|
|
12166
|
+
* empty string for the first page.
|
|
12167
|
+
*/
|
|
12168
|
+
pageToken?: string;
|
|
12169
|
+
};
|
|
12170
|
+
header?: never;
|
|
12171
|
+
path?: never;
|
|
12172
|
+
cookie?: never;
|
|
12173
|
+
};
|
|
12174
|
+
requestBody?: never;
|
|
12175
|
+
responses: {
|
|
12176
|
+
/** @description OK */
|
|
12177
|
+
200: {
|
|
12178
|
+
headers: {
|
|
12179
|
+
[name: string]: unknown;
|
|
12180
|
+
};
|
|
12181
|
+
content: {
|
|
12182
|
+
"application/json": components["schemas"]["ListBuilderFeeChangesResponse"];
|
|
12183
|
+
};
|
|
12184
|
+
};
|
|
12185
|
+
/** @description Invalid page size or page token */
|
|
12186
|
+
400: {
|
|
12187
|
+
headers: {
|
|
12188
|
+
[name: string]: unknown;
|
|
12189
|
+
};
|
|
12190
|
+
content?: never;
|
|
12191
|
+
};
|
|
12192
|
+
/** @description Authentication required */
|
|
12193
|
+
401: {
|
|
12194
|
+
headers: {
|
|
12195
|
+
[name: string]: unknown;
|
|
12196
|
+
};
|
|
12197
|
+
content?: never;
|
|
12198
|
+
};
|
|
12199
|
+
/** @description Refused: BuilderCodes is disabled, the caller is delegated, or the caller is not this application's payout wallet (gRPC: PERMISSION_DENIED) */
|
|
12200
|
+
403: {
|
|
12201
|
+
headers: {
|
|
12202
|
+
[name: string]: unknown;
|
|
12203
|
+
};
|
|
12204
|
+
content?: never;
|
|
12205
|
+
};
|
|
12206
|
+
/** @description Authenticated application not found (gRPC: NOT_FOUND) */
|
|
12207
|
+
404: {
|
|
12208
|
+
headers: {
|
|
12209
|
+
[name: string]: unknown;
|
|
12210
|
+
};
|
|
12211
|
+
content?: never;
|
|
12212
|
+
};
|
|
12213
|
+
/** @description Internal server error */
|
|
12214
|
+
500: {
|
|
12215
|
+
headers: {
|
|
12216
|
+
[name: string]: unknown;
|
|
12217
|
+
};
|
|
12218
|
+
content?: never;
|
|
12219
|
+
};
|
|
12220
|
+
};
|
|
12221
|
+
};
|
|
11931
12222
|
get_buildercodes_config: {
|
|
11932
12223
|
parameters: {
|
|
11933
12224
|
query?: never;
|
|
@@ -11983,7 +12274,7 @@ export interface operations {
|
|
|
11983
12274
|
page?: number;
|
|
11984
12275
|
/** @description Items per page (max 100) */
|
|
11985
12276
|
pageSize?: number;
|
|
11986
|
-
/** @description Only return BuilderCodes payouts of this payout kind: REVENUE_SHARE (the frontend's share of Monaco's fee) or BUILDER_FEE (
|
|
12277
|
+
/** @description Only return BuilderCodes payouts of this payout kind: REVENUE_SHARE (the frontend's share of Monaco's fee) or BUILDER_FEE (reserved and not currently emitted). Omit for every kind. */
|
|
11987
12278
|
kind?: "REVENUE_SHARE" | "BUILDER_FEE";
|
|
11988
12279
|
};
|
|
11989
12280
|
header?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xmonaco/types",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.73",
|
|
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.0.
|
|
19
|
+
"@0xmonaco/contracts": "1.0.73",
|
|
20
20
|
"zod": "^4.1.12"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|