@polyester/sdk 0.32.1 → 0.32.2-devnet-20261102164441
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/CHANGELOG.md +6 -0
- package/dist/client.d.ts +2 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +2 -0
- package/dist/client.js.map +1 -1
- package/dist/gen/changelog/v1/changelog_pb.d.ts +643 -0
- package/dist/gen/changelog/v1/changelog_pb.d.ts.map +1 -0
- package/dist/gen/changelog/v1/changelog_pb.js +272 -0
- package/dist/gen/changelog/v1/changelog_pb.js.map +1 -0
- package/dist/gen/index.d.ts +2 -1
- package/dist/gen/index.js +2 -1
- package/dist/index.d.ts +4 -1
- package/dist/services/address-book/address-book.schemas.d.ts +2 -2
- package/dist/services/balances/balances.schemas.d.ts +3 -3
- package/dist/services/candles/candles.schemas.d.ts +10 -10
- package/dist/services/changelog/changelog.codecs.d.ts +13 -0
- package/dist/services/changelog/changelog.codecs.d.ts.map +1 -0
- package/dist/services/changelog/changelog.codecs.js +83 -0
- package/dist/services/changelog/changelog.codecs.js.map +1 -0
- package/dist/services/changelog/changelog.d.ts +36 -0
- package/dist/services/changelog/changelog.d.ts.map +1 -0
- package/dist/services/changelog/changelog.js +53 -0
- package/dist/services/changelog/changelog.js.map +1 -0
- package/dist/services/changelog/changelog.schemas.d.ts +358 -0
- package/dist/services/changelog/changelog.schemas.d.ts.map +1 -0
- package/dist/services/changelog/changelog.schemas.js +101 -0
- package/dist/services/changelog/changelog.schemas.js.map +1 -0
- package/dist/services/changelog/changelog.types.d.ts +3 -0
- package/dist/services/changelog/service.d.ts +8 -0
- package/dist/services/changelog/service.d.ts.map +1 -0
- package/dist/services/changelog/service.js +9 -0
- package/dist/services/changelog/service.js.map +1 -0
- package/dist/services/checkpoints/checkpoints.schemas.d.ts +1 -1
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +54 -54
- package/dist/services/market-overview/market-overview.schemas.d.ts +3 -3
- package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +5 -5
- package/dist/services/orders/orders-output.schemas.d.ts +8 -8
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +13 -13
- package/dist/services/trades/trades.schemas.d.ts +1 -1
- package/dist/services/transfers/transfers.schemas.d.ts +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +3 -3
- package/dist/wired-services.d.ts.map +1 -1
- package/dist/wired-services.js +2 -0
- package/dist/wired-services.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { OptionalTimestampMsSchema, PublicIdSchema, TimestampMsSchema } from "../../shared/schemas.js";
|
|
2
|
+
import { enumLabelSchema } from "../../shared/proto-enum-codec.js";
|
|
3
|
+
import { msToTimestamp } from "../../utils/timestamp.js";
|
|
4
|
+
import { CHANGELOG_AUDIENCE_VALUES, CHANGELOG_CHANGE_CATEGORY_VALUES, CHANGELOG_SORT_VALUES, CHANGELOG_SURFACE_VALUES, ChangelogAudienceCodec, ChangelogChangeCategoryCodec, ChangelogSortCodec, ChangelogSurfaceCodec } from "./changelog.codecs.js";
|
|
5
|
+
import * as v from "valibot";
|
|
6
|
+
//#region src/services/changelog/changelog.schemas.ts
|
|
7
|
+
const PageTokenInputSchema = v.optional(v.pipe(v.string(), v.trim()), "");
|
|
8
|
+
const SlugInputSchema = v.pipe(v.string(), v.trim(), v.minLength(1));
|
|
9
|
+
const TimestampMsInputSchema = v.pipe(v.number(), v.integer(), v.minValue(0), v.maxValue(Number.MAX_SAFE_INTEGER));
|
|
10
|
+
/** `limit` is 0 through 100; 0 or omitted uses the server default of 20. */
|
|
11
|
+
const ListChangelogPostsInputSchema = v.strictObject({
|
|
12
|
+
limit: v.optional(v.pipe(v.number(), v.integer(), v.minValue(0), v.maxValue(100)), 0),
|
|
13
|
+
pageToken: PageTokenInputSchema
|
|
14
|
+
});
|
|
15
|
+
const GetChangelogPostInputSchema = v.strictObject({ slug: SlugInputSchema });
|
|
16
|
+
/**
|
|
17
|
+
* Filters on different fields combine with AND; values within one field combine with OR.
|
|
18
|
+
* Times are epoch milliseconds on post publication time: `startTime` inclusive, `endTime`
|
|
19
|
+
* exclusive and after `startTime`. `limit` is 0 through 500; 0 or omitted uses the server
|
|
20
|
+
* default of 100.
|
|
21
|
+
*/
|
|
22
|
+
const ListChangelogChangesInputSchema = v.pipe(v.strictObject({
|
|
23
|
+
categories: v.optional(v.array(v.picklist(CHANGELOG_CHANGE_CATEGORY_VALUES)), []),
|
|
24
|
+
actionRequired: v.optional(v.boolean()),
|
|
25
|
+
surfaces: v.optional(v.array(v.picklist(CHANGELOG_SURFACE_VALUES)), []),
|
|
26
|
+
audiences: v.optional(v.array(v.picklist(CHANGELOG_AUDIENCE_VALUES)), []),
|
|
27
|
+
startTime: v.optional(TimestampMsInputSchema),
|
|
28
|
+
endTime: v.optional(TimestampMsInputSchema),
|
|
29
|
+
postSlug: v.optional(v.pipe(v.string(), v.trim()), ""),
|
|
30
|
+
sort: v.optional(v.picklist(CHANGELOG_SORT_VALUES)),
|
|
31
|
+
limit: v.optional(v.pipe(v.number(), v.integer(), v.minValue(0), v.maxValue(500)), 0),
|
|
32
|
+
pageToken: PageTokenInputSchema
|
|
33
|
+
}), v.check(({ startTime, endTime }) => startTime === void 0 || endTime === void 0 || endTime > startTime, "endTime: must be after startTime"), v.transform(({ categories, surfaces, audiences, startTime, endTime, sort, ...rest }) => ({
|
|
34
|
+
...rest,
|
|
35
|
+
categories: categories.map((value) => ChangelogChangeCategoryCodec.inputToProto[value]),
|
|
36
|
+
surfaces: surfaces.map((value) => ChangelogSurfaceCodec.inputToProto[value]),
|
|
37
|
+
audiences: audiences.map((value) => ChangelogAudienceCodec.inputToProto[value]),
|
|
38
|
+
startTime: startTime === void 0 ? void 0 : msToTimestamp(startTime),
|
|
39
|
+
endTime: endTime === void 0 ? void 0 : msToTimestamp(endTime),
|
|
40
|
+
sort: sort === void 0 ? void 0 : ChangelogSortCodec.inputToProto[sort]
|
|
41
|
+
})));
|
|
42
|
+
/** `id` is the public base58 identifier, stable across environments. */
|
|
43
|
+
const ChangelogChangeSchema = v.object({
|
|
44
|
+
id: PublicIdSchema,
|
|
45
|
+
title: v.string(),
|
|
46
|
+
summary: v.string(),
|
|
47
|
+
details: v.optional(v.string()),
|
|
48
|
+
category: enumLabelSchema(ChangelogChangeCategoryCodec.protoToOutput),
|
|
49
|
+
actionRequired: v.boolean(),
|
|
50
|
+
migrationGuidance: v.optional(v.string()),
|
|
51
|
+
audiences: v.optional(v.array(enumLabelSchema(ChangelogAudienceCodec.protoToOutput)), []),
|
|
52
|
+
surfaces: v.optional(v.array(enumLabelSchema(ChangelogSurfaceCodec.protoToOutput)), [])
|
|
53
|
+
});
|
|
54
|
+
const ChangelogSectionSchema = v.object({
|
|
55
|
+
heading: v.string(),
|
|
56
|
+
summary: v.optional(v.string()),
|
|
57
|
+
changes: v.optional(v.array(ChangelogChangeSchema), [])
|
|
58
|
+
});
|
|
59
|
+
/** `coverageCutoff` is the exclusive end of the covered period, `undefined` when unknown. */
|
|
60
|
+
const ChangelogPostSummarySchema = v.object({
|
|
61
|
+
slug: v.string(),
|
|
62
|
+
title: v.string(),
|
|
63
|
+
introduction: v.string(),
|
|
64
|
+
publishedAt: TimestampMsSchema,
|
|
65
|
+
coverageCutoff: OptionalTimestampMsSchema,
|
|
66
|
+
changeCount: v.number(),
|
|
67
|
+
breakingChangeCount: v.number(),
|
|
68
|
+
actionRequiredCount: v.number(),
|
|
69
|
+
newFeatureCount: v.number(),
|
|
70
|
+
improvementCount: v.number(),
|
|
71
|
+
bugFixCount: v.number()
|
|
72
|
+
});
|
|
73
|
+
const ListChangelogPostsResultSchema = v.object({
|
|
74
|
+
posts: v.optional(v.array(ChangelogPostSummarySchema), []),
|
|
75
|
+
nextPageToken: v.string()
|
|
76
|
+
});
|
|
77
|
+
const ChangelogPostSchema = v.pipe(v.object({
|
|
78
|
+
summary: ChangelogPostSummarySchema,
|
|
79
|
+
sections: v.optional(v.array(ChangelogSectionSchema), [])
|
|
80
|
+
}), v.transform(({ summary, sections }) => ({
|
|
81
|
+
...summary,
|
|
82
|
+
sections
|
|
83
|
+
})));
|
|
84
|
+
const GetChangelogPostResultSchema = v.object({ post: ChangelogPostSchema });
|
|
85
|
+
const ChangelogChangeEntrySchema = v.pipe(v.object({
|
|
86
|
+
change: ChangelogChangeSchema,
|
|
87
|
+
postSlug: v.string(),
|
|
88
|
+
publishedAt: TimestampMsSchema,
|
|
89
|
+
sectionHeading: v.string()
|
|
90
|
+
}), v.transform(({ change, ...entry }) => ({
|
|
91
|
+
...change,
|
|
92
|
+
...entry
|
|
93
|
+
})));
|
|
94
|
+
const ListChangelogChangesResultSchema = v.object({
|
|
95
|
+
changes: v.optional(v.array(ChangelogChangeEntrySchema), []),
|
|
96
|
+
nextPageToken: v.string()
|
|
97
|
+
});
|
|
98
|
+
//#endregion
|
|
99
|
+
export { ChangelogChangeEntrySchema, ChangelogChangeSchema, ChangelogPostSchema, ChangelogPostSummarySchema, ChangelogSectionSchema, GetChangelogPostInputSchema, GetChangelogPostResultSchema, ListChangelogChangesInputSchema, ListChangelogChangesResultSchema, ListChangelogPostsInputSchema, ListChangelogPostsResultSchema };
|
|
100
|
+
|
|
101
|
+
//# sourceMappingURL=changelog.schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"changelog.schemas.js","names":[],"sources":["../../../src/services/changelog/changelog.schemas.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { enumLabelSchema } from \"../../shared/proto-enum-codec.js\";\nimport {\n OptionalTimestampMsSchema,\n PublicIdSchema,\n TimestampMsSchema,\n} from \"../../shared/schemas.js\";\nimport { msToTimestamp } from \"../../utils/timestamp.js\";\nimport {\n CHANGELOG_AUDIENCE_VALUES,\n CHANGELOG_CHANGE_CATEGORY_VALUES,\n CHANGELOG_SORT_VALUES,\n CHANGELOG_SURFACE_VALUES,\n ChangelogAudienceCodec,\n ChangelogChangeCategoryCodec,\n ChangelogSortCodec,\n ChangelogSurfaceCodec,\n} from \"./changelog.codecs.js\";\n\nconst PageTokenInputSchema = v.optional(v.pipe(v.string(), v.trim()), \"\");\nconst SlugInputSchema = v.pipe(v.string(), v.trim(), v.minLength(1));\nconst TimestampMsInputSchema = v.pipe(\n v.number(),\n v.integer(),\n v.minValue(0),\n v.maxValue(Number.MAX_SAFE_INTEGER),\n);\n\n/** `limit` is 0 through 100; 0 or omitted uses the server default of 20. */\nexport const ListChangelogPostsInputSchema = v.strictObject({\n limit: v.optional(v.pipe(v.number(), v.integer(), v.minValue(0), v.maxValue(100)), 0),\n pageToken: PageTokenInputSchema,\n});\n\nexport type ListChangelogPostsInput = v.InferInput<typeof ListChangelogPostsInputSchema>;\n\nexport const GetChangelogPostInputSchema = v.strictObject({\n slug: SlugInputSchema,\n});\n\nexport type GetChangelogPostInput = v.InferInput<typeof GetChangelogPostInputSchema>;\n\n/**\n * Filters on different fields combine with AND; values within one field combine with OR.\n * Times are epoch milliseconds on post publication time: `startTime` inclusive, `endTime`\n * exclusive and after `startTime`. `limit` is 0 through 500; 0 or omitted uses the server\n * default of 100.\n */\nexport const ListChangelogChangesInputSchema = v.pipe(\n v.strictObject({\n categories: v.optional(v.array(v.picklist(CHANGELOG_CHANGE_CATEGORY_VALUES)), []),\n actionRequired: v.optional(v.boolean()),\n surfaces: v.optional(v.array(v.picklist(CHANGELOG_SURFACE_VALUES)), []),\n audiences: v.optional(v.array(v.picklist(CHANGELOG_AUDIENCE_VALUES)), []),\n startTime: v.optional(TimestampMsInputSchema),\n endTime: v.optional(TimestampMsInputSchema),\n postSlug: v.optional(v.pipe(v.string(), v.trim()), \"\"),\n sort: v.optional(v.picklist(CHANGELOG_SORT_VALUES)),\n limit: v.optional(v.pipe(v.number(), v.integer(), v.minValue(0), v.maxValue(500)), 0),\n pageToken: PageTokenInputSchema,\n }),\n v.check(\n ({ startTime, endTime }) =>\n startTime === undefined || endTime === undefined || endTime > startTime,\n \"endTime: must be after startTime\",\n ),\n v.transform(({ categories, surfaces, audiences, startTime, endTime, sort, ...rest }) => ({\n ...rest,\n categories: categories.map((value) => ChangelogChangeCategoryCodec.inputToProto[value]),\n surfaces: surfaces.map((value) => ChangelogSurfaceCodec.inputToProto[value]),\n audiences: audiences.map((value) => ChangelogAudienceCodec.inputToProto[value]),\n startTime: startTime === undefined ? undefined : msToTimestamp(startTime),\n endTime: endTime === undefined ? undefined : msToTimestamp(endTime),\n sort: sort === undefined ? undefined : ChangelogSortCodec.inputToProto[sort],\n })),\n);\n\nexport type ListChangelogChangesInput = v.InferInput<typeof ListChangelogChangesInputSchema>;\n\n/** `id` is the public base58 identifier, stable across environments. */\nexport const ChangelogChangeSchema = v.object({\n id: PublicIdSchema,\n title: v.string(),\n summary: v.string(),\n details: v.optional(v.string()),\n category: enumLabelSchema(ChangelogChangeCategoryCodec.protoToOutput),\n actionRequired: v.boolean(),\n migrationGuidance: v.optional(v.string()),\n audiences: v.optional(v.array(enumLabelSchema(ChangelogAudienceCodec.protoToOutput)), []),\n surfaces: v.optional(v.array(enumLabelSchema(ChangelogSurfaceCodec.protoToOutput)), []),\n});\n\nexport type ChangelogChange = v.InferOutput<typeof ChangelogChangeSchema>;\n\nexport const ChangelogSectionSchema = v.object({\n heading: v.string(),\n summary: v.optional(v.string()),\n changes: v.optional(v.array(ChangelogChangeSchema), []),\n});\n\nexport type ChangelogSection = v.InferOutput<typeof ChangelogSectionSchema>;\n\n/** `coverageCutoff` is the exclusive end of the covered period, `undefined` when unknown. */\nexport const ChangelogPostSummarySchema = v.object({\n slug: v.string(),\n title: v.string(),\n introduction: v.string(),\n publishedAt: TimestampMsSchema,\n coverageCutoff: OptionalTimestampMsSchema,\n changeCount: v.number(),\n breakingChangeCount: v.number(),\n actionRequiredCount: v.number(),\n newFeatureCount: v.number(),\n improvementCount: v.number(),\n bugFixCount: v.number(),\n});\n\nexport type ChangelogPostSummary = v.InferOutput<typeof ChangelogPostSummarySchema>;\n\nexport const ListChangelogPostsResultSchema = v.object({\n posts: v.optional(v.array(ChangelogPostSummarySchema), []),\n nextPageToken: v.string(),\n});\n\nexport type ListChangelogPostsResult = v.InferOutput<typeof ListChangelogPostsResultSchema>;\n\nexport const ChangelogPostSchema = v.pipe(\n v.object({\n summary: ChangelogPostSummarySchema,\n sections: v.optional(v.array(ChangelogSectionSchema), []),\n }),\n v.transform(({ summary, sections }) => ({ ...summary, sections })),\n);\n\nexport type ChangelogPost = v.InferOutput<typeof ChangelogPostSchema>;\n\nexport const GetChangelogPostResultSchema = v.object({ post: ChangelogPostSchema });\n\nexport const ChangelogChangeEntrySchema = v.pipe(\n v.object({\n change: ChangelogChangeSchema,\n postSlug: v.string(),\n publishedAt: TimestampMsSchema,\n sectionHeading: v.string(),\n }),\n v.transform(({ change, ...entry }) => ({ ...change, ...entry })),\n);\n\n/** A change with the slug, publication time and section heading of the post that announced it. */\nexport type ChangelogChangeEntry = v.InferOutput<typeof ChangelogChangeEntrySchema>;\n\nexport const ListChangelogChangesResultSchema = v.object({\n changes: v.optional(v.array(ChangelogChangeEntrySchema), []),\n nextPageToken: v.string(),\n});\n\nexport type ListChangelogChangesResult = v.InferOutput<typeof ListChangelogChangesResultSchema>;\n"],"mappings":"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"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ChangelogChange, ChangelogChangeEntry, ChangelogPost, ChangelogPostSummary, ChangelogSection, GetChangelogPostInput, ListChangelogChangesInput, ListChangelogChangesResult, ListChangelogPostsInput, ListChangelogPostsResult } from "./changelog.schemas.js";
|
|
2
|
+
import { ChangelogAudience, ChangelogChangeCategory, ChangelogSort, ChangelogSurface } from "./changelog.codecs.js";
|
|
3
|
+
export type { ChangelogAudience, ChangelogChange, ChangelogChangeCategory, ChangelogChangeEntry, ChangelogPost, ChangelogPostSummary, ChangelogSection, ChangelogSort, ChangelogSurface, GetChangelogPostInput, ListChangelogChangesInput, ListChangelogChangesResult, ListChangelogPostsInput, ListChangelogPostsResult };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ChangelogService } from "./changelog.js";
|
|
2
|
+
import { PolyesterCore } from "../../core-client.js";
|
|
3
|
+
//#region src/services/changelog/service.d.ts
|
|
4
|
+
/** Returns the client's ChangelogService, creating it on first use. */
|
|
5
|
+
declare const changelogService: (client: PolyesterCore) => ChangelogService;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { changelogService };
|
|
8
|
+
//# sourceMappingURL=service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.d.ts","names":[],"sources":["../../../src/services/changelog/service.ts"],"mappings":";;;;cAIa,mBAAgB,QAAhB,kBAAgB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { defineService } from "../../core-client.js";
|
|
2
|
+
import { ChangelogService } from "./changelog.js";
|
|
3
|
+
//#region src/services/changelog/service.ts
|
|
4
|
+
/** Returns the client's ChangelogService, creating it on first use. */
|
|
5
|
+
const changelogService = defineService((context) => new ChangelogService(context.transports));
|
|
6
|
+
//#endregion
|
|
7
|
+
export { changelogService };
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","names":[],"sources":["../../../src/services/changelog/service.ts"],"sourcesContent":["import { defineService } from \"../../core-client.js\";\nimport { ChangelogService } from \"./changelog.js\";\n\n/** Returns the client's ChangelogService, creating it on first use. */\nexport const changelogService = defineService(\n (context) => new ChangelogService(context.transports),\n);\n"],"mappings":";;;;AAIA,MAAa,mBAAmB,eAC3B,YAAY,IAAI,iBAAiB,QAAQ,UAAU,CACxD"}
|
|
@@ -421,7 +421,7 @@ declare const CheckpointSchema: v.ObjectSchema<{
|
|
|
421
421
|
readonly seasonResultUsd: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
422
422
|
readonly subaccounts: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.MaxValueAction<bigint, bigint, undefined>, v.TransformAction<any, number>]>;
|
|
423
423
|
/** Values computed from partial evidence; show them with an approximation marker. */
|
|
424
|
-
readonly incomplete: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "tools" | "deposits" | "withdrawals" | "volume" | "top_pairs" | "order_types" | "time_in_force" | "order_status" | "median_limit_rest" | "internal_transfers" | "daily_claim_amounts" | "portfolio_value" | "trading_balances" | "funding_balances" | "
|
|
424
|
+
readonly incomplete: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "transfers" | "tools" | "deposits" | "withdrawals" | "volume" | "top_pairs" | "order_types" | "time_in_force" | "order_status" | "median_limit_rest" | "internal_transfers" | "daily_claim_amounts" | "portfolio_value" | "trading_balances" | "funding_balances" | "season_result">]>, undefined>, readonly []>;
|
|
425
425
|
}, undefined>;
|
|
426
426
|
/**
|
|
427
427
|
* One frozen season recap of a root account and all of its subaccounts. An absent USD value
|
|
@@ -14,7 +14,7 @@ type TimestampInit = {
|
|
|
14
14
|
declare const GetOrderbookHeatmapInputSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
15
15
|
readonly symbolId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 4294967295, undefined>]>;
|
|
16
16
|
readonly interval: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["1s", "1m", "5m", "1h"], undefined>, "1s">, v.TransformAction<"1s" | "1m" | "5m" | "1h", HeatmapInterval>]>;
|
|
17
|
-
readonly depth: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly [1, 5, 10, 20, 50, 100, 200, 500, 1000], undefined>, 50>, v.TransformAction<1 | 5 | 10 | 20 | 100 |
|
|
17
|
+
readonly depth: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly [1, 5, 10, 20, 50, 100, 200, 500, 1000], undefined>, 50>, v.TransformAction<1 | 5 | 10 | 20 | 100 | 500 | 50 | 200 | 1000, HeatmapDepth>]>;
|
|
18
18
|
readonly quantityMode: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["close", "peak"], undefined>, "close">, v.TransformAction<"close" | "peak", HeatmapQuantityMode>]>;
|
|
19
19
|
readonly limit: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 20000, undefined>]>;
|
|
20
20
|
readonly startTsSec: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, number, undefined>, v.TransformAction<number, bigint>]>, undefined>;
|
|
@@ -227,7 +227,7 @@ type OrderbookHeatmapDeltaChain = ReturnType<typeof convertHeatmapDeltaChain>;
|
|
|
227
227
|
declare function createOrderbookHeatmapResponseSchema(scales: SdkScales): v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
228
228
|
readonly symbolId: v.NumberSchema<undefined>;
|
|
229
229
|
readonly interval: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, DecodedEnum<"1s" | "1m" | "5m" | "1h">>]>;
|
|
230
|
-
readonly depth: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, 1 | 5 | 10 | 20 |
|
|
230
|
+
readonly depth: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, 1 | "unspecified" | 5 | 10 | 20 | 100 | 500 | 50 | 200 | 1000>]>;
|
|
231
231
|
readonly chain: v.OptionalSchema<v.ObjectSchema<{
|
|
232
232
|
readonly baseKeyframe: v.OptionalSchema<v.ObjectSchema<{
|
|
233
233
|
readonly tsSec: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
@@ -287,7 +287,7 @@ declare function createOrderbookHeatmapResponseSchema(scales: SdkScales): v.Sche
|
|
|
287
287
|
}, undefined>, v.TransformAction<{
|
|
288
288
|
symbolId: number;
|
|
289
289
|
interval: DecodedEnum<"1s" | "1m" | "5m" | "1h">;
|
|
290
|
-
depth: 1 | 5 | 10 | 20 |
|
|
290
|
+
depth: 1 | "unspecified" | 5 | 10 | 20 | 100 | 500 | 50 | 200 | 1000;
|
|
291
291
|
chain?: {
|
|
292
292
|
baseKeyframe?: {
|
|
293
293
|
tsSec: number;
|
|
@@ -347,7 +347,7 @@ declare function createOrderbookHeatmapResponseSchema(scales: SdkScales): v.Sche
|
|
|
347
347
|
}, {
|
|
348
348
|
symbolId: number;
|
|
349
349
|
interval: DecodedEnum<"1s" | "1m" | "5m" | "1h">;
|
|
350
|
-
depth: 1 | 5 | 10 | 20 |
|
|
350
|
+
depth: 1 | "unspecified" | 5 | 10 | 20 | 100 | 500 | 50 | 200 | 1000;
|
|
351
351
|
chain: {
|
|
352
352
|
baseKeyframe: {
|
|
353
353
|
tsSec: number;
|
|
@@ -153,7 +153,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
153
153
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
154
154
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
155
155
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
156
|
-
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
156
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "minted">]>;
|
|
157
157
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
158
158
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
159
159
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -181,7 +181,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
181
181
|
approveCount: number;
|
|
182
182
|
rejectCount: number;
|
|
183
183
|
validatorCount: number;
|
|
184
|
-
kind: "unspecified" | "
|
|
184
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
185
185
|
requiredApprovals: number;
|
|
186
186
|
requiredRejections: number;
|
|
187
187
|
amountE18?: string | undefined;
|
|
@@ -203,7 +203,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
203
203
|
approveCount: number;
|
|
204
204
|
rejectCount: number;
|
|
205
205
|
validatorCount: number;
|
|
206
|
-
kind: "unspecified" | "
|
|
206
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
207
207
|
requiredApprovals: number;
|
|
208
208
|
requiredRejections: number;
|
|
209
209
|
amountE18?: string | undefined;
|
|
@@ -296,7 +296,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
296
296
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
297
297
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
298
298
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
299
|
-
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
299
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "minted">]>;
|
|
300
300
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
301
301
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
302
302
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -324,7 +324,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
324
324
|
approveCount: number;
|
|
325
325
|
rejectCount: number;
|
|
326
326
|
validatorCount: number;
|
|
327
|
-
kind: "unspecified" | "
|
|
327
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
328
328
|
requiredApprovals: number;
|
|
329
329
|
requiredRejections: number;
|
|
330
330
|
amountE18?: string | undefined;
|
|
@@ -346,7 +346,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
346
346
|
approveCount: number;
|
|
347
347
|
rejectCount: number;
|
|
348
348
|
validatorCount: number;
|
|
349
|
-
kind: "unspecified" | "
|
|
349
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
350
350
|
requiredApprovals: number;
|
|
351
351
|
requiredRejections: number;
|
|
352
352
|
amountE18?: string | undefined;
|
|
@@ -409,7 +409,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
409
409
|
approveCount: number;
|
|
410
410
|
rejectCount: number;
|
|
411
411
|
validatorCount: number;
|
|
412
|
-
kind: "unspecified" | "
|
|
412
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
413
413
|
requiredApprovals: number;
|
|
414
414
|
requiredRejections: number;
|
|
415
415
|
amountE18?: string | undefined;
|
|
@@ -472,7 +472,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
472
472
|
approveCount: number;
|
|
473
473
|
rejectCount: number;
|
|
474
474
|
validatorCount: number;
|
|
475
|
-
kind: "unspecified" | "
|
|
475
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
476
476
|
requiredApprovals: number;
|
|
477
477
|
requiredRejections: number;
|
|
478
478
|
amountE18?: string | undefined;
|
|
@@ -555,8 +555,8 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
555
555
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
556
556
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
557
557
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
558
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
559
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
558
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
559
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
560
560
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
561
561
|
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
562
562
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
@@ -619,8 +619,8 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
619
619
|
txOccurrenceIndex?: number | undefined;
|
|
620
620
|
sourceAddress: string;
|
|
621
621
|
destinationAddress: string;
|
|
622
|
-
sourceDomain: "unspecified" | "
|
|
623
|
-
destinationDomain: "unspecified" | "
|
|
622
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
623
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
624
624
|
latestTxRef: string;
|
|
625
625
|
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
626
626
|
lifecycleReason: LifecycleReasonValue;
|
|
@@ -682,8 +682,8 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
682
682
|
txOccurrenceIndex?: number | undefined;
|
|
683
683
|
sourceAddress: string;
|
|
684
684
|
destinationAddress: string;
|
|
685
|
-
sourceDomain: "unspecified" | "
|
|
686
|
-
destinationDomain: "unspecified" | "
|
|
685
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
686
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
687
687
|
latestTxRef: string;
|
|
688
688
|
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
689
689
|
lifecycleReason: LifecycleReasonValue;
|
|
@@ -777,8 +777,8 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
777
777
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
778
778
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
779
779
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
780
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
781
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
780
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
781
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
782
782
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
783
783
|
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
784
784
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
@@ -841,8 +841,8 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
841
841
|
txOccurrenceIndex?: number | undefined;
|
|
842
842
|
sourceAddress: string;
|
|
843
843
|
destinationAddress: string;
|
|
844
|
-
sourceDomain: "unspecified" | "
|
|
845
|
-
destinationDomain: "unspecified" | "
|
|
844
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
845
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
846
846
|
latestTxRef: string;
|
|
847
847
|
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
848
848
|
lifecycleReason: LifecycleReasonValue;
|
|
@@ -904,8 +904,8 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
904
904
|
txOccurrenceIndex?: number | undefined;
|
|
905
905
|
sourceAddress: string;
|
|
906
906
|
destinationAddress: string;
|
|
907
|
-
sourceDomain: "unspecified" | "
|
|
908
|
-
destinationDomain: "unspecified" | "
|
|
907
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
908
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
909
909
|
latestTxRef: string;
|
|
910
910
|
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
911
911
|
lifecycleReason: LifecycleReasonValue;
|
|
@@ -1028,7 +1028,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1028
1028
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1029
1029
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1030
1030
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1031
|
-
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1031
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "minted">]>;
|
|
1032
1032
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1033
1033
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1034
1034
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -1056,7 +1056,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1056
1056
|
approveCount: number;
|
|
1057
1057
|
rejectCount: number;
|
|
1058
1058
|
validatorCount: number;
|
|
1059
|
-
kind: "unspecified" | "
|
|
1059
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1060
1060
|
requiredApprovals: number;
|
|
1061
1061
|
requiredRejections: number;
|
|
1062
1062
|
amountE18?: string | undefined;
|
|
@@ -1078,7 +1078,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1078
1078
|
approveCount: number;
|
|
1079
1079
|
rejectCount: number;
|
|
1080
1080
|
validatorCount: number;
|
|
1081
|
-
kind: "unspecified" | "
|
|
1081
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1082
1082
|
requiredApprovals: number;
|
|
1083
1083
|
requiredRejections: number;
|
|
1084
1084
|
amountE18?: string | undefined;
|
|
@@ -1141,7 +1141,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1141
1141
|
approveCount: number;
|
|
1142
1142
|
rejectCount: number;
|
|
1143
1143
|
validatorCount: number;
|
|
1144
|
-
kind: "unspecified" | "
|
|
1144
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1145
1145
|
requiredApprovals: number;
|
|
1146
1146
|
requiredRejections: number;
|
|
1147
1147
|
amountE18?: string | undefined;
|
|
@@ -1204,7 +1204,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1204
1204
|
approveCount: number;
|
|
1205
1205
|
rejectCount: number;
|
|
1206
1206
|
validatorCount: number;
|
|
1207
|
-
kind: "unspecified" | "
|
|
1207
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1208
1208
|
requiredApprovals: number;
|
|
1209
1209
|
requiredRejections: number;
|
|
1210
1210
|
amountE18?: string | undefined;
|
|
@@ -1273,8 +1273,8 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1273
1273
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
1274
1274
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
1275
1275
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
1276
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1277
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1276
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1277
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1278
1278
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1279
1279
|
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1280
1280
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
@@ -1337,8 +1337,8 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1337
1337
|
txOccurrenceIndex?: number | undefined;
|
|
1338
1338
|
sourceAddress: string;
|
|
1339
1339
|
destinationAddress: string;
|
|
1340
|
-
sourceDomain: "unspecified" | "
|
|
1341
|
-
destinationDomain: "unspecified" | "
|
|
1340
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1341
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1342
1342
|
latestTxRef: string;
|
|
1343
1343
|
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1344
1344
|
lifecycleReason: LifecycleReasonValue;
|
|
@@ -1400,8 +1400,8 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1400
1400
|
txOccurrenceIndex?: number | undefined;
|
|
1401
1401
|
sourceAddress: string;
|
|
1402
1402
|
destinationAddress: string;
|
|
1403
|
-
sourceDomain: "unspecified" | "
|
|
1404
|
-
destinationDomain: "unspecified" | "
|
|
1403
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1404
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1405
1405
|
latestTxRef: string;
|
|
1406
1406
|
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1407
1407
|
lifecycleReason: LifecycleReasonValue;
|
|
@@ -1498,8 +1498,8 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1498
1498
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
1499
1499
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
1500
1500
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
1501
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1502
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1501
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1502
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1503
1503
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1504
1504
|
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1505
1505
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
@@ -1562,8 +1562,8 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1562
1562
|
txOccurrenceIndex?: number | undefined;
|
|
1563
1563
|
sourceAddress: string;
|
|
1564
1564
|
destinationAddress: string;
|
|
1565
|
-
sourceDomain: "unspecified" | "
|
|
1566
|
-
destinationDomain: "unspecified" | "
|
|
1565
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1566
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1567
1567
|
latestTxRef: string;
|
|
1568
1568
|
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1569
1569
|
lifecycleReason: LifecycleReasonValue;
|
|
@@ -1625,8 +1625,8 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1625
1625
|
txOccurrenceIndex?: number | undefined;
|
|
1626
1626
|
sourceAddress: string;
|
|
1627
1627
|
destinationAddress: string;
|
|
1628
|
-
sourceDomain: "unspecified" | "
|
|
1629
|
-
destinationDomain: "unspecified" | "
|
|
1628
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1629
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1630
1630
|
latestTxRef: string;
|
|
1631
1631
|
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1632
1632
|
lifecycleReason: LifecycleReasonValue;
|
|
@@ -1749,7 +1749,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1749
1749
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1750
1750
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1751
1751
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1752
|
-
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1752
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "minted">]>;
|
|
1753
1753
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1754
1754
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1755
1755
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -1777,7 +1777,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1777
1777
|
approveCount: number;
|
|
1778
1778
|
rejectCount: number;
|
|
1779
1779
|
validatorCount: number;
|
|
1780
|
-
kind: "unspecified" | "
|
|
1780
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1781
1781
|
requiredApprovals: number;
|
|
1782
1782
|
requiredRejections: number;
|
|
1783
1783
|
amountE18?: string | undefined;
|
|
@@ -1799,7 +1799,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1799
1799
|
approveCount: number;
|
|
1800
1800
|
rejectCount: number;
|
|
1801
1801
|
validatorCount: number;
|
|
1802
|
-
kind: "unspecified" | "
|
|
1802
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1803
1803
|
requiredApprovals: number;
|
|
1804
1804
|
requiredRejections: number;
|
|
1805
1805
|
amountE18?: string | undefined;
|
|
@@ -1862,7 +1862,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1862
1862
|
approveCount: number;
|
|
1863
1863
|
rejectCount: number;
|
|
1864
1864
|
validatorCount: number;
|
|
1865
|
-
kind: "unspecified" | "
|
|
1865
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1866
1866
|
requiredApprovals: number;
|
|
1867
1867
|
requiredRejections: number;
|
|
1868
1868
|
amountE18?: string | undefined;
|
|
@@ -1925,7 +1925,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1925
1925
|
approveCount: number;
|
|
1926
1926
|
rejectCount: number;
|
|
1927
1927
|
validatorCount: number;
|
|
1928
|
-
kind: "unspecified" | "
|
|
1928
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1929
1929
|
requiredApprovals: number;
|
|
1930
1930
|
requiredRejections: number;
|
|
1931
1931
|
amountE18?: string | undefined;
|
|
@@ -1947,8 +1947,8 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
1947
1947
|
readonly sourceTxHash: v.StringSchema<undefined>;
|
|
1948
1948
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1949
1949
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
1950
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1951
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1950
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1951
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1952
1952
|
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1953
1953
|
readonly isOpen: v.BooleanSchema<undefined>;
|
|
1954
1954
|
readonly isTerminal: v.BooleanSchema<undefined>;
|
|
@@ -1981,8 +1981,8 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
1981
1981
|
sourceTxHash: string;
|
|
1982
1982
|
latestTxRef: string;
|
|
1983
1983
|
txOccurrenceIndex?: number | undefined;
|
|
1984
|
-
sourceDomain: "unspecified" | "
|
|
1985
|
-
destinationDomain: "unspecified" | "
|
|
1984
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1985
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1986
1986
|
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1987
1987
|
isOpen: boolean;
|
|
1988
1988
|
isTerminal: boolean;
|
|
@@ -2009,8 +2009,8 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
2009
2009
|
sourceTxHash: string;
|
|
2010
2010
|
latestTxRef: string;
|
|
2011
2011
|
txOccurrenceIndex?: number | undefined;
|
|
2012
|
-
sourceDomain: "unspecified" | "
|
|
2013
|
-
destinationDomain: "unspecified" | "
|
|
2012
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2013
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2014
2014
|
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2015
2015
|
isOpen: boolean;
|
|
2016
2016
|
isTerminal: boolean;
|
|
@@ -2042,8 +2042,8 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2042
2042
|
readonly sourceTxHash: v.StringSchema<undefined>;
|
|
2043
2043
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
2044
2044
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
2045
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
2046
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
2045
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2046
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2047
2047
|
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
2048
2048
|
readonly isOpen: v.BooleanSchema<undefined>;
|
|
2049
2049
|
readonly isTerminal: v.BooleanSchema<undefined>;
|
|
@@ -2076,8 +2076,8 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2076
2076
|
sourceTxHash: string;
|
|
2077
2077
|
latestTxRef: string;
|
|
2078
2078
|
txOccurrenceIndex?: number | undefined;
|
|
2079
|
-
sourceDomain: "unspecified" | "
|
|
2080
|
-
destinationDomain: "unspecified" | "
|
|
2079
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2080
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2081
2081
|
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2082
2082
|
isOpen: boolean;
|
|
2083
2083
|
isTerminal: boolean;
|
|
@@ -2104,8 +2104,8 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2104
2104
|
sourceTxHash: string;
|
|
2105
2105
|
latestTxRef: string;
|
|
2106
2106
|
txOccurrenceIndex?: number | undefined;
|
|
2107
|
-
sourceDomain: "unspecified" | "
|
|
2108
|
-
destinationDomain: "unspecified" | "
|
|
2107
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2108
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2109
2109
|
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2110
2110
|
isOpen: boolean;
|
|
2111
2111
|
isTerminal: boolean;
|
|
@@ -30,7 +30,7 @@ declare function createMarketOverviewSchema(scales: SdkScales): v.SchemaWithPipe
|
|
|
30
30
|
readonly bestAskTicks: v.BigintSchema<undefined>;
|
|
31
31
|
readonly bestAskQtyScaled: v.BigintSchema<undefined>;
|
|
32
32
|
readonly sparklines: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
33
|
-
readonly interval: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "1m" | "1h" | "
|
|
33
|
+
readonly interval: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "1m" | "1h" | "1w" | "24h">]>;
|
|
34
34
|
readonly closeTicks: v.ArraySchema<v.BigintSchema<undefined>, undefined>;
|
|
35
35
|
}, undefined>, undefined>, readonly []>;
|
|
36
36
|
readonly indexPriceTicks: v.BigintSchema<undefined>;
|
|
@@ -50,7 +50,7 @@ declare function createMarketOverviewSchema(scales: SdkScales): v.SchemaWithPipe
|
|
|
50
50
|
bestAskTicks: bigint;
|
|
51
51
|
bestAskQtyScaled: bigint;
|
|
52
52
|
sparklines: {
|
|
53
|
-
interval: "unspecified" | "1m" | "1h" | "
|
|
53
|
+
interval: "unspecified" | "1m" | "1h" | "1w" | "24h";
|
|
54
54
|
closeTicks: bigint[];
|
|
55
55
|
}[];
|
|
56
56
|
indexPriceTicks: bigint;
|
|
@@ -80,7 +80,7 @@ declare const ListMarketOverviewInputSchema: v.SchemaWithPipe<readonly [v.Strict
|
|
|
80
80
|
readonly orderBy: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["change_24h_bps", "volume_24h_usd", "last_price", "date_added"], undefined>, "volume_24h_usd">, v.TransformAction<"change_24h_bps" | "volume_24h_usd" | "last_price" | "date_added", MarketOrderBy.ORDER_BY_CHANGE_24H_BPS | MarketOrderBy.ORDER_BY_VOLUME_24H_USD | MarketOrderBy.ORDER_BY_LAST_PRICE | MarketOrderBy.ORDER_BY_DATE_ADDED>]>;
|
|
81
81
|
readonly sort: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["asc", "desc"], undefined>, "desc">, v.TransformAction<"asc" | "desc", SortDirection.SORT_ASC | SortDirection.SORT_DESC>]>;
|
|
82
82
|
readonly includeSparklines: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
|
|
83
|
-
readonly sparklineIntervals: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ArraySchema<v.PicklistSchema<readonly ["1h", "24h", "1w", "1m"], undefined>, undefined>, readonly ["24h"]>, v.TransformAction<("1m" | "1h" | "
|
|
83
|
+
readonly sparklineIntervals: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ArraySchema<v.PicklistSchema<readonly ["1h", "24h", "1w", "1m"], undefined>, undefined>, readonly ["24h"]>, v.TransformAction<("1m" | "1h" | "1w" | "24h")[], (SparklineInterval.SPARKLINE_1H | SparklineInterval.SPARKLINE_24H | SparklineInterval.SPARKLINE_1W | SparklineInterval.SPARKLINE_1M)[]>]>;
|
|
84
84
|
}, undefined>, v.TransformAction<{
|
|
85
85
|
symbolIds: number[];
|
|
86
86
|
limit: number;
|