@xyo-network/xl1-protocol 5.4.0 → 5.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +76 -0
- package/dist/neutral/modules/network-model/staticRest/layout/chainContractManifest.d.ts +21 -7
- package/dist/neutral/modules/network-model/staticRest/layout/chainContractManifest.d.ts.map +1 -1
- package/dist/neutral/modules/network-model/staticRest/layout/chainManifest.d.ts +21 -7
- package/dist/neutral/modules/network-model/staticRest/layout/chainManifest.d.ts.map +1 -1
- package/dist/neutral/modules/network-model/staticRest/layout/indexManifest.d.ts +42 -14
- package/dist/neutral/modules/network-model/staticRest/layout/indexManifest.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/RecordKeyType.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/RecordKeyType.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/TransferPayload.d.ts +6 -18
- package/dist/neutral/modules/protocol-model/TransferPayload.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/block/AllowedBlockPayload.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/block/BlockBoundWitness.d.ts +83 -2
- package/dist/neutral/modules/protocol-model/block/BlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/block/HydratedBlock.d.ts +88 -0
- package/dist/neutral/modules/protocol-model/block/HydratedBlock.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitness.d.ts +6 -0
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts +10 -0
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts +12 -0
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/block/unsigned/UnsignedBlockBoundWitness.d.ts +6 -0
- package/dist/neutral/modules/protocol-model/block/unsigned/UnsignedBlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/AccountBalance.d.ts +3 -0
- package/dist/neutral/modules/protocol-model/model/AccountBalance.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/Context/ChainContext.zod.d.ts +3 -0
- package/dist/neutral/modules/protocol-model/model/Context/ChainContext.zod.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/Context/HeadContext.zod.d.ts +2 -0
- package/dist/neutral/modules/protocol-model/model/Context/HeadContext.zod.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/HydratedTransaction.d.ts +108 -0
- package/dist/neutral/modules/protocol-model/model/HydratedTransaction.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/PayloadVersion.d.ts +20 -0
- package/dist/neutral/modules/protocol-model/model/PayloadVersion.d.ts.map +1 -0
- package/dist/neutral/modules/protocol-model/model/SyncStepSummary.d.ts +12 -0
- package/dist/neutral/modules/protocol-model/model/SyncStepSummary.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/model/index.d.ts +1 -0
- package/dist/neutral/modules/protocol-model/model/index.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/payload/elevatable/Claim.d.ts +7 -18
- package/dist/neutral/modules/protocol-model/payload/elevatable/Claim.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/payload/elevatable/Time.d.ts +3 -0
- package/dist/neutral/modules/protocol-model/payload/elevatable/Time.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/rejection/BlockRejectionPayload.d.ts +11 -0
- package/dist/neutral/modules/protocol-model/rejection/BlockRejectionPayload.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/rejection/TransactionRejectionPayload.d.ts +11 -0
- package/dist/neutral/modules/protocol-model/rejection/TransactionRejectionPayload.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/transaction/TransactionBoundWitness.d.ts +54 -0
- package/dist/neutral/modules/protocol-model/transaction/TransactionBoundWitness.d.ts.map +1 -1
- package/dist/neutral/modules/schema/PayloadVersion.d.ts +11 -0
- package/dist/neutral/modules/schema/PayloadVersion.d.ts.map +1 -0
- package/dist/neutral/modules/schema/boundwitness/BlockBoundWitness.d.ts +1 -0
- package/dist/neutral/modules/schema/boundwitness/BlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/modules/schema/boundwitness/BlockBoundWitnessWithStorageMeta.d.ts +1 -0
- package/dist/neutral/modules/schema/boundwitness/BlockBoundWitnessWithStorageMeta.d.ts.map +1 -1
- package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitness.d.ts +1 -0
- package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitness.d.ts.map +1 -1
- package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitnessWithStorageMeta.d.ts +1 -0
- package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitnessWithStorageMeta.d.ts.map +1 -1
- package/dist/neutral/modules/schema/index.d.ts +1 -0
- package/dist/neutral/modules/schema/index.d.ts.map +1 -1
- package/dist/neutral/modules/schema/payload/ChainStakeIntent.d.ts +1 -0
- package/dist/neutral/modules/schema/payload/ChainStakeIntent.d.ts.map +1 -1
- package/dist/neutral/modules/schema/payload/ClaimPayload.d.ts +1 -0
- package/dist/neutral/modules/schema/payload/ClaimPayload.d.ts.map +1 -1
- package/dist/neutral/modules/schema/payload/HashPayload.d.ts +1 -0
- package/dist/neutral/modules/schema/payload/HashPayload.d.ts.map +1 -1
- package/dist/neutral/modules/schema/payload/TransferPayload.d.ts +1 -0
- package/dist/neutral/modules/schema/payload/TransferPayload.d.ts.map +1 -1
- package/dist/neutral/modules/validation/transaction/validators/TransactionBoundWitnessValidator.d.ts +1 -0
- package/dist/neutral/modules/validation/transaction/validators/TransactionBoundWitnessValidator.d.ts.map +1 -1
- package/dist/neutral/network-model.mjs +15 -12
- package/dist/neutral/network-model.mjs.map +3 -3
- package/dist/neutral/protocol-model.mjs +460 -428
- package/dist/neutral/protocol-model.mjs.map +4 -4
- package/dist/neutral/schema.mjs +16 -1
- package/dist/neutral/schema.mjs.map +3 -3
- package/dist/neutral/validation.mjs +4 -0
- package/dist/neutral/validation.mjs.map +2 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -76,6 +76,82 @@ Available subpaths:
|
|
|
76
76
|
- Use `schema` and `validation` at serialization, storage, and chain-validation boundaries.
|
|
77
77
|
- Use `@xyo-network/xl1-sdk` when you need concrete gateway, RPC, or provider implementations.
|
|
78
78
|
|
|
79
|
+
## Payload schemas, revisions, and identity
|
|
80
|
+
|
|
81
|
+
XYO schema identifiers use nonempty, dot-separated segments containing only ASCII
|
|
82
|
+
lowercase letters and digits: `^(?:[a-z0-9]+\.)*[a-z0-9]+$`. Hyphens, underscores,
|
|
83
|
+
Unicode, whitespace, empty segments, and URL syntax are not allowed. Namespace
|
|
84
|
+
ownership and publication rules are separate from this lexical validation. Do not
|
|
85
|
+
strip punctuation from an actual domain to invent a namespace you do not own.
|
|
86
|
+
|
|
87
|
+
Keep schema identifiers stable. Suffixes such as `.v1`, `.v01`, and `.1` are an
|
|
88
|
+
**anti-pattern for payload revisioning**. Do not silently rename an existing
|
|
89
|
+
published identifier. Keep external API/product versions in clearly named data
|
|
90
|
+
fields instead of conflating them with the payload contract revision.
|
|
91
|
+
|
|
92
|
+
The optional `$version` metadata field identifies the payload contract revision:
|
|
93
|
+
|
|
94
|
+
```json
|
|
95
|
+
{
|
|
96
|
+
"schema": "com.example.observation",
|
|
97
|
+
"$version": 1002003,
|
|
98
|
+
"temperatureCelsius": 23
|
|
99
|
+
}
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
The encoding is `major * 1_000_000 + minor * 1_000 + patch`, with each component
|
|
103
|
+
in `0..999`. Thus `1002003` means `1.2.3`. Values must be integers in
|
|
104
|
+
`0..999999999`; strings, null, fractions, and out-of-range numbers are invalid.
|
|
105
|
+
Absence permanently means `1000000` (1.0.0). Readers interpret this default
|
|
106
|
+
without adding it to the original payload. An omitted version and an explicitly
|
|
107
|
+
written 1.0.0 can have different root hashes.
|
|
108
|
+
|
|
109
|
+
**Use root hashes for almost all application operations.** Use
|
|
110
|
+
`PayloadBuilder.hash(payload)` or a verified `_hash` for identity, references,
|
|
111
|
+
commitments, deduplication, and validation caches. Do not use `dataHash` or
|
|
112
|
+
`_dataHash` for those purposes: data hashes exclude `$version` and all other
|
|
113
|
+
client metadata. Root hashes include client metadata and exclude storage
|
|
114
|
+
metadata (`_` fields). A recomputed hash establishes integrity only when compared
|
|
115
|
+
with an expected hash authenticated by the surrounding protocol.
|
|
116
|
+
|
|
117
|
+
Bound-witness signing is an intentional exception: signatures continue to cover
|
|
118
|
+
the data hash because signatures are themselves metadata. A bound witness's own
|
|
119
|
+
signature does **not** authenticate its own `$version`. A signed parent reference
|
|
120
|
+
to a child's root hash does bind the child's metadata. Existing protocols that
|
|
121
|
+
explicitly require data-hash references retain that contract until a separately
|
|
122
|
+
reviewed migration; this guidance does not authorize replacing those hashes.
|
|
123
|
+
|
|
124
|
+
Validation must check the exact schema, version format, a deliberately supported
|
|
125
|
+
revision, the body, and the relevant signature/reference/authorization rules.
|
|
126
|
+
Validate `$version` before any metadata-stripping projection. Do not select
|
|
127
|
+
weaker consensus, authorization, or signature rules using unauthenticated
|
|
128
|
+
metadata, and never try older validators until one accepts the body. A format
|
|
129
|
+
check or a schema-only predicate is not complete contract validation.
|
|
130
|
+
|
|
131
|
+
This implementation recognizes **XL1 built-in payload revision 1.0.0** at its
|
|
132
|
+
block/transaction contracts, direct Transfer/Claim/Time guards, elevated-payload
|
|
133
|
+
admission gate, and six exported payload/bound-witness JSON schemas. For example,
|
|
134
|
+
`isTransferPayload` checks both the complete Transfer body and supported revision.
|
|
135
|
+
Generic hydrated application payloads retain their independent revisions; an
|
|
136
|
+
application must supply its own supported-revision/body validator. The existing
|
|
137
|
+
signed block `protocol` field is a different version and remains unchanged.
|
|
138
|
+
|
|
139
|
+
Published `(schema, effective version)` definitions are immutable. That is
|
|
140
|
+
separate from object closure: a closed object rejects unknown fields, while an
|
|
141
|
+
open object explicitly permits them. Set the policy for nested objects and
|
|
142
|
+
metadata too. Evaluate old readers receiving new data and new readers replaying
|
|
143
|
+
old data before calling a change compatible. In particular, widening an existing
|
|
144
|
+
field's type is not automatically safe. See the canonical
|
|
145
|
+
[XYO contract and compatibility rules](https://github.com/XYOracleNetwork/sdk-protocol-js/blob/main/packages/sdk-protocol-core/README.md#payload-schema-contracts).
|
|
146
|
+
|
|
147
|
+
This checkout adopts published `@xyo-network/sdk` 7.4.0 and
|
|
148
|
+
`@xyo-network/sdk-protocol` 7.4.2. This dependency upgrade does not activate network
|
|
149
|
+
rules. Upgrading validators can reject arbitrary `$version` metadata that older
|
|
150
|
+
software ignored. Audit historical data and plan any admission/replay activation
|
|
151
|
+
before deployment. The repository's
|
|
152
|
+
[implementation and rollout notes](https://github.com/XYOracleNetwork/xl1-protocol/blob/main/PAYLOAD-SCHEMA-VERSIONING.md)
|
|
153
|
+
describe the current coverage and remaining work.
|
|
154
|
+
|
|
79
155
|
## AI Agent Skills
|
|
80
156
|
|
|
81
157
|
Install the recommended XL1/XYO skills with [Skills.sh](https://skills.sh):
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { type XL1BlockNumber } from '../../../protocol-lib/index.js';
|
|
3
3
|
/** Schema id for the chain-contract manifest document. */
|
|
4
|
-
export declare const ChainContractManifestSchema: "network.xyo.s3.chain.contract"
|
|
4
|
+
export declare const ChainContractManifestSchema: "network.xyo.s3.chain.contract" & {
|
|
5
|
+
readonly __schema: true;
|
|
6
|
+
};
|
|
5
7
|
/** Type literal for the chain-contract manifest schema. */
|
|
6
8
|
export type ChainContractManifestSchema = typeof ChainContractManifestSchema;
|
|
7
9
|
/** Bumped when the manifest shape changes, so readers can detect a mismatch. */
|
|
@@ -18,7 +20,9 @@ export declare const ChainContractManifestZod: z.ZodObject<{
|
|
|
18
20
|
forkedChainId: z.ZodOptional<z.ZodNullable<import("zod/mini").ZodMiniPipe<import("zod/mini").ZodMiniString<string>, import("zod/mini").ZodMiniTransform<import("@ariestools/sdk").BrandedHex, string>>>>;
|
|
19
21
|
minWithdrawalBlocks: z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBigInt]>, z.ZodTransform<number, string | number | bigint>>, z.ZodNumber>, z.ZodInt>;
|
|
20
22
|
rewardsContract: z.ZodString;
|
|
21
|
-
schema: z.ZodLiteral<"network.xyo.s3.chain.contract"
|
|
23
|
+
schema: z.ZodLiteral<"network.xyo.s3.chain.contract" & {
|
|
24
|
+
readonly __schema: true;
|
|
25
|
+
}>;
|
|
22
26
|
stakingTokenAddress: z.ZodString;
|
|
23
27
|
version: z.ZodInt;
|
|
24
28
|
}, z.core.$strip>;
|
|
@@ -30,7 +34,9 @@ export type ChainContractManifestInput = z.input<typeof ChainContractManifestZod
|
|
|
30
34
|
export declare const isChainContractManifest: <T>(value: T) => value is T & {
|
|
31
35
|
minWithdrawalBlocks: number;
|
|
32
36
|
rewardsContract: string;
|
|
33
|
-
schema: "network.xyo.s3.chain.contract"
|
|
37
|
+
schema: "network.xyo.s3.chain.contract" & {
|
|
38
|
+
readonly __schema: true;
|
|
39
|
+
};
|
|
34
40
|
stakingTokenAddress: string;
|
|
35
41
|
version: number;
|
|
36
42
|
chainId?: import("@ariestools/sdk").BrandedHex | undefined;
|
|
@@ -43,7 +49,9 @@ export declare const asChainContractManifest: {
|
|
|
43
49
|
<T>(value: T): (T & {
|
|
44
50
|
minWithdrawalBlocks: number;
|
|
45
51
|
rewardsContract: string;
|
|
46
|
-
schema: "network.xyo.s3.chain.contract"
|
|
52
|
+
schema: "network.xyo.s3.chain.contract" & {
|
|
53
|
+
readonly __schema: true;
|
|
54
|
+
};
|
|
47
55
|
stakingTokenAddress: string;
|
|
48
56
|
version: number;
|
|
49
57
|
chainId?: import("@ariestools/sdk").BrandedHex | undefined;
|
|
@@ -54,7 +62,9 @@ export declare const asChainContractManifest: {
|
|
|
54
62
|
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
|
|
55
63
|
minWithdrawalBlocks: number;
|
|
56
64
|
rewardsContract: string;
|
|
57
|
-
schema: "network.xyo.s3.chain.contract"
|
|
65
|
+
schema: "network.xyo.s3.chain.contract" & {
|
|
66
|
+
readonly __schema: true;
|
|
67
|
+
};
|
|
58
68
|
stakingTokenAddress: string;
|
|
59
69
|
version: number;
|
|
60
70
|
chainId?: import("@ariestools/sdk").BrandedHex | undefined;
|
|
@@ -68,7 +78,9 @@ export declare const toChainContractManifest: {
|
|
|
68
78
|
(value: unknown): {
|
|
69
79
|
minWithdrawalBlocks: number;
|
|
70
80
|
rewardsContract: string;
|
|
71
|
-
schema: "network.xyo.s3.chain.contract"
|
|
81
|
+
schema: "network.xyo.s3.chain.contract" & {
|
|
82
|
+
readonly __schema: true;
|
|
83
|
+
};
|
|
72
84
|
stakingTokenAddress: string;
|
|
73
85
|
version: number;
|
|
74
86
|
chainId?: import("@ariestools/sdk").BrandedHex | undefined;
|
|
@@ -79,7 +91,9 @@ export declare const toChainContractManifest: {
|
|
|
79
91
|
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
80
92
|
minWithdrawalBlocks: number;
|
|
81
93
|
rewardsContract: string;
|
|
82
|
-
schema: "network.xyo.s3.chain.contract"
|
|
94
|
+
schema: "network.xyo.s3.chain.contract" & {
|
|
95
|
+
readonly __schema: true;
|
|
96
|
+
};
|
|
83
97
|
stakingTokenAddress: string;
|
|
84
98
|
version: number;
|
|
85
99
|
chainId?: import("@ariestools/sdk").BrandedHex | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chainContractManifest.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/staticRest/layout/chainContractManifest.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chainContractManifest.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/staticRest/layout/chainContractManifest.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACqB,KAAK,cAAc,EAC9C,MAAM,eAAe,CAAA;AAMtB,0DAA0D;AAC1D,eAAO,MAAM,2BAA2B;;CAAkD,CAAA;AAC1F,2DAA2D;AAC3D,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAA;AAE5E,gFAAgF;AAChF,eAAO,MAAM,+BAA+B,IAAI,CAAA;AAEhD;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;iBAWnC,CAAA;AAEF,gFAAgF;AAChF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE5E,qFAAqF;AACrF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAEjF,0EAA0E;AAC1E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;CAAyC,CAAA;AAC7E,sEAAsE;AACtE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoE,CAAA;AACxG,oDAAoD;AACpD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoE,CAAA;AAExG,kDAAkD;AAClD,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,IAAI,CAAC,0BAA0B,EAAE,QAAQ,GAAG,SAAS,CAAC,GAC7D,qBAAqB,CAMvB"}
|
|
@@ -2,7 +2,9 @@ import { z } from 'zod';
|
|
|
2
2
|
/** Bumped when the finalized layout changes shape, so readers can detect a mismatch. */
|
|
3
3
|
export declare const CHAIN_LAYOUT_VERSION = 1;
|
|
4
4
|
/** Schema id for the finalized layout manifest document. */
|
|
5
|
-
export declare const ChainManifestSchema: "network.xyo.s3.chain.manifest"
|
|
5
|
+
export declare const ChainManifestSchema: "network.xyo.s3.chain.manifest" & {
|
|
6
|
+
readonly __schema: true;
|
|
7
|
+
};
|
|
6
8
|
/** Type literal for the chain manifest schema. */
|
|
7
9
|
export type ChainManifestSchema = typeof ChainManifestSchema;
|
|
8
10
|
/** Path templates for the finalized + chain-state files. */
|
|
@@ -24,7 +26,9 @@ export declare const ChainManifestZod: z.ZodObject<{
|
|
|
24
26
|
head: z.ZodString;
|
|
25
27
|
payload: z.ZodString;
|
|
26
28
|
}, z.core.$strip>;
|
|
27
|
-
schema: z.ZodLiteral<"network.xyo.s3.chain.manifest"
|
|
29
|
+
schema: z.ZodLiteral<"network.xyo.s3.chain.manifest" & {
|
|
30
|
+
readonly __schema: true;
|
|
31
|
+
}>;
|
|
28
32
|
version: z.ZodInt;
|
|
29
33
|
}, z.core.$strip>;
|
|
30
34
|
/** The finalized layout descriptor at `manifestPath()`. */
|
|
@@ -39,7 +43,9 @@ export declare const isChainManifest: <T>(value: T) => value is T & {
|
|
|
39
43
|
head: string;
|
|
40
44
|
payload: string;
|
|
41
45
|
};
|
|
42
|
-
schema: "network.xyo.s3.chain.manifest"
|
|
46
|
+
schema: "network.xyo.s3.chain.manifest" & {
|
|
47
|
+
readonly __schema: true;
|
|
48
|
+
};
|
|
43
49
|
version: number;
|
|
44
50
|
};
|
|
45
51
|
/** Converts a value to ChainManifest, throwing if invalid. */
|
|
@@ -53,7 +59,9 @@ export declare const asChainManifest: {
|
|
|
53
59
|
head: string;
|
|
54
60
|
payload: string;
|
|
55
61
|
};
|
|
56
|
-
schema: "network.xyo.s3.chain.manifest"
|
|
62
|
+
schema: "network.xyo.s3.chain.manifest" & {
|
|
63
|
+
readonly __schema: true;
|
|
64
|
+
};
|
|
57
65
|
version: number;
|
|
58
66
|
}) | undefined;
|
|
59
67
|
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
|
|
@@ -65,7 +73,9 @@ export declare const asChainManifest: {
|
|
|
65
73
|
head: string;
|
|
66
74
|
payload: string;
|
|
67
75
|
};
|
|
68
|
-
schema: "network.xyo.s3.chain.manifest"
|
|
76
|
+
schema: "network.xyo.s3.chain.manifest" & {
|
|
77
|
+
readonly __schema: true;
|
|
78
|
+
};
|
|
69
79
|
version: number;
|
|
70
80
|
};
|
|
71
81
|
};
|
|
@@ -80,7 +90,9 @@ export declare const toChainManifest: {
|
|
|
80
90
|
head: string;
|
|
81
91
|
payload: string;
|
|
82
92
|
};
|
|
83
|
-
schema: "network.xyo.s3.chain.manifest"
|
|
93
|
+
schema: "network.xyo.s3.chain.manifest" & {
|
|
94
|
+
readonly __schema: true;
|
|
95
|
+
};
|
|
84
96
|
version: number;
|
|
85
97
|
} | undefined;
|
|
86
98
|
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
@@ -92,7 +104,9 @@ export declare const toChainManifest: {
|
|
|
92
104
|
head: string;
|
|
93
105
|
payload: string;
|
|
94
106
|
};
|
|
95
|
-
schema: "network.xyo.s3.chain.manifest"
|
|
107
|
+
schema: "network.xyo.s3.chain.manifest" & {
|
|
108
|
+
readonly __schema: true;
|
|
109
|
+
};
|
|
96
110
|
version: number;
|
|
97
111
|
};
|
|
98
112
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chainManifest.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/staticRest/layout/chainManifest.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chainManifest.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/staticRest/layout/chainManifest.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,wFAAwF;AACxF,eAAO,MAAM,oBAAoB,IAAI,CAAA;AAErC,4DAA4D;AAC5D,eAAO,MAAM,mBAAmB;;CAAkD,CAAA;AAClF,kDAAkD;AAClD,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAA;AAE5D,4DAA4D;AAC5D,eAAO,MAAM,qBAAqB;;;;;iBAKhC,CAAA;AAEF,8CAA8C;AAC9C,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEtE,0EAA0E;AAC1E,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;iBAQ3B,CAAA;AAEF,2DAA2D;AAC3D,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAE5D,kEAAkE;AAClE,eAAO,MAAM,eAAe;;;;;;;;;;;;;CAAiC,CAAA;AAC7D,8DAA8D;AAC9D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoD,CAAA;AAChF,4CAA4C;AAC5C,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoD,CAAA;AAEhF,4FAA4F;AAC5F,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,EAAE,aAAa,SAAI,GAAG,aAAa,CAQtF"}
|
|
@@ -3,11 +3,15 @@ import type { IndexSummaryFamily, IndexWatermark } from '../../../protocol-lib/i
|
|
|
3
3
|
/** Bumped when the on-disk index layout changes shape, so readers can detect a mismatch. */
|
|
4
4
|
export declare const INDEX_LAYOUT_VERSION = 1;
|
|
5
5
|
/** Schema id for the index manifest document (the static layout descriptor). */
|
|
6
|
-
export declare const IndexManifestSchema: "network.xyo.s3.index.manifest"
|
|
6
|
+
export declare const IndexManifestSchema: "network.xyo.s3.index.manifest" & {
|
|
7
|
+
readonly __schema: true;
|
|
8
|
+
};
|
|
7
9
|
/** Type literal for the index manifest schema. */
|
|
8
10
|
export type IndexManifestSchema = typeof IndexManifestSchema;
|
|
9
11
|
/** Schema id for the index head document (the progress watermark). */
|
|
10
|
-
export declare const IndexHeadSchema: "network.xyo.s3.index.head"
|
|
12
|
+
export declare const IndexHeadSchema: "network.xyo.s3.index.head" & {
|
|
13
|
+
readonly __schema: true;
|
|
14
|
+
};
|
|
11
15
|
/** Type literal for the index head schema. */
|
|
12
16
|
export type IndexHeadSchema = typeof IndexHeadSchema;
|
|
13
17
|
/** Per-family descriptor carried in the manifest. */
|
|
@@ -37,7 +41,9 @@ export declare const IndexManifestZod: z.ZodObject<{
|
|
|
37
41
|
path: z.ZodString;
|
|
38
42
|
}, z.core.$strip>;
|
|
39
43
|
}, z.core.$strip>;
|
|
40
|
-
schema: z.ZodLiteral<"network.xyo.s3.index.manifest"
|
|
44
|
+
schema: z.ZodLiteral<"network.xyo.s3.index.manifest" & {
|
|
45
|
+
readonly __schema: true;
|
|
46
|
+
}>;
|
|
41
47
|
version: z.ZodInt;
|
|
42
48
|
}, z.core.$strip>;
|
|
43
49
|
/** The static index layout descriptor at `indexManifestPath()`. */
|
|
@@ -62,7 +68,9 @@ export declare const isIndexManifest: <T>(value: T) => value is T & {
|
|
|
62
68
|
path: string;
|
|
63
69
|
};
|
|
64
70
|
};
|
|
65
|
-
schema: "network.xyo.s3.index.manifest"
|
|
71
|
+
schema: "network.xyo.s3.index.manifest" & {
|
|
72
|
+
readonly __schema: true;
|
|
73
|
+
};
|
|
66
74
|
version: number;
|
|
67
75
|
};
|
|
68
76
|
/** Converts a value to IndexManifest, throwing if invalid. */
|
|
@@ -86,7 +94,9 @@ export declare const asIndexManifest: {
|
|
|
86
94
|
path: string;
|
|
87
95
|
};
|
|
88
96
|
};
|
|
89
|
-
schema: "network.xyo.s3.index.manifest"
|
|
97
|
+
schema: "network.xyo.s3.index.manifest" & {
|
|
98
|
+
readonly __schema: true;
|
|
99
|
+
};
|
|
90
100
|
version: number;
|
|
91
101
|
}) | undefined;
|
|
92
102
|
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
|
|
@@ -108,7 +118,9 @@ export declare const asIndexManifest: {
|
|
|
108
118
|
path: string;
|
|
109
119
|
};
|
|
110
120
|
};
|
|
111
|
-
schema: "network.xyo.s3.index.manifest"
|
|
121
|
+
schema: "network.xyo.s3.index.manifest" & {
|
|
122
|
+
readonly __schema: true;
|
|
123
|
+
};
|
|
112
124
|
version: number;
|
|
113
125
|
};
|
|
114
126
|
};
|
|
@@ -133,7 +145,9 @@ export declare const toIndexManifest: {
|
|
|
133
145
|
path: string;
|
|
134
146
|
};
|
|
135
147
|
};
|
|
136
|
-
schema: "network.xyo.s3.index.manifest"
|
|
148
|
+
schema: "network.xyo.s3.index.manifest" & {
|
|
149
|
+
readonly __schema: true;
|
|
150
|
+
};
|
|
137
151
|
version: number;
|
|
138
152
|
} | undefined;
|
|
139
153
|
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
@@ -155,7 +169,9 @@ export declare const toIndexManifest: {
|
|
|
155
169
|
path: string;
|
|
156
170
|
};
|
|
157
171
|
};
|
|
158
|
-
schema: "network.xyo.s3.index.manifest"
|
|
172
|
+
schema: "network.xyo.s3.index.manifest" & {
|
|
173
|
+
readonly __schema: true;
|
|
174
|
+
};
|
|
159
175
|
version: number;
|
|
160
176
|
};
|
|
161
177
|
};
|
|
@@ -176,7 +192,9 @@ export declare const IndexHeadZod: z.ZodObject<{
|
|
|
176
192
|
transfers: z.ZodInt;
|
|
177
193
|
}, z.core.$strip>;
|
|
178
194
|
hash: z.ZodString;
|
|
179
|
-
schema: z.ZodLiteral<"network.xyo.s3.index.head"
|
|
195
|
+
schema: z.ZodLiteral<"network.xyo.s3.index.head" & {
|
|
196
|
+
readonly __schema: true;
|
|
197
|
+
}>;
|
|
180
198
|
updatedAt: z.ZodString;
|
|
181
199
|
version: z.ZodInt;
|
|
182
200
|
}, z.core.$strip>;
|
|
@@ -192,7 +210,9 @@ export declare const isIndexHead: <T>(value: T) => value is T & {
|
|
|
192
210
|
transfers: number;
|
|
193
211
|
};
|
|
194
212
|
hash: string;
|
|
195
|
-
schema: "network.xyo.s3.index.head"
|
|
213
|
+
schema: "network.xyo.s3.index.head" & {
|
|
214
|
+
readonly __schema: true;
|
|
215
|
+
};
|
|
196
216
|
updatedAt: string;
|
|
197
217
|
version: number;
|
|
198
218
|
};
|
|
@@ -207,7 +227,9 @@ export declare const asIndexHead: {
|
|
|
207
227
|
transfers: number;
|
|
208
228
|
};
|
|
209
229
|
hash: string;
|
|
210
|
-
schema: "network.xyo.s3.index.head"
|
|
230
|
+
schema: "network.xyo.s3.index.head" & {
|
|
231
|
+
readonly __schema: true;
|
|
232
|
+
};
|
|
211
233
|
updatedAt: string;
|
|
212
234
|
version: number;
|
|
213
235
|
}) | undefined;
|
|
@@ -220,7 +242,9 @@ export declare const asIndexHead: {
|
|
|
220
242
|
transfers: number;
|
|
221
243
|
};
|
|
222
244
|
hash: string;
|
|
223
|
-
schema: "network.xyo.s3.index.head"
|
|
245
|
+
schema: "network.xyo.s3.index.head" & {
|
|
246
|
+
readonly __schema: true;
|
|
247
|
+
};
|
|
224
248
|
updatedAt: string;
|
|
225
249
|
version: number;
|
|
226
250
|
};
|
|
@@ -236,7 +260,9 @@ export declare const toIndexHead: {
|
|
|
236
260
|
transfers: number;
|
|
237
261
|
};
|
|
238
262
|
hash: string;
|
|
239
|
-
schema: "network.xyo.s3.index.head"
|
|
263
|
+
schema: "network.xyo.s3.index.head" & {
|
|
264
|
+
readonly __schema: true;
|
|
265
|
+
};
|
|
240
266
|
updatedAt: string;
|
|
241
267
|
version: number;
|
|
242
268
|
} | undefined;
|
|
@@ -249,7 +275,9 @@ export declare const toIndexHead: {
|
|
|
249
275
|
transfers: number;
|
|
250
276
|
};
|
|
251
277
|
hash: string;
|
|
252
|
-
schema: "network.xyo.s3.index.head"
|
|
278
|
+
schema: "network.xyo.s3.index.head" & {
|
|
279
|
+
readonly __schema: true;
|
|
280
|
+
};
|
|
253
281
|
updatedAt: string;
|
|
254
282
|
version: number;
|
|
255
283
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indexManifest.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/staticRest/layout/indexManifest.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"indexManifest.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/staticRest/layout/indexManifest.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAIvE,4FAA4F;AAC5F,eAAO,MAAM,oBAAoB,IAAI,CAAA;AAErC,gFAAgF;AAChF,eAAO,MAAM,mBAAmB;;CAAkD,CAAA;AAClF,kDAAkD;AAClD,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAA;AAE5D,sEAAsE;AACtE,eAAO,MAAM,eAAe;;CAA8C,CAAA;AAC1E,8CAA8C;AAC9C,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAA;AAEpD,qDAAqD;AACrD,eAAO,MAAM,sBAAsB;;;iBAKjC,CAAA;AAEF,qDAAqD;AACrD,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AASxE,kFAAkF;AAClF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;iBAI3B,CAAA;AAEF,mEAAmE;AACnE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAE5D,kEAAkE;AAClE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;CAAiC,CAAA;AAC7D,8DAA8D;AAC9D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoD,CAAA;AAChF,4CAA4C;AAC5C,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoD,CAAA;AAEhF,qEAAqE;AACrE,eAAO,MAAM,oBAAoB;;;;;iBAK/B,CAAA;AAEF,wEAAwE;AACxE,eAAO,MAAM,YAAY;;;;;;;;;;;;;;iBAWvB,CAAA;AAEF,yDAAyD;AACzD,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAA;AAEpD,8DAA8D;AAC9D,eAAO,MAAM,WAAW;;;;;;;;;;;;;;CAA6B,CAAA;AACrD,0DAA0D;AAC1D,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA;AACpE,wCAAwC;AACxC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA;AAEpE,iGAAiG;AACjG,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,MAAM,CAAC,kBAAkB,EAAE,MAAM,CAAC,GAC3C,MAAM,CAAC,kBAAkB,EAAE,mBAAmB,CAAC,CAOjD;AAED,4FAA4F;AAC5F,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,CAAC,kBAAkB,EAAE,MAAM,CAAC,GAAG,aAAa,CAM/F;AAED,iFAAiF;AACjF,wBAAgB,eAAe,CAAC,SAAS,EAAE,cAAc,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAWxF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/** Utility type that constrains T to valid record key types (string, number, or symbol) */
|
|
2
2
|
/** Validated data representation for Record Key Type. */
|
|
3
|
-
export type RecordKeyType<T =
|
|
3
|
+
export type RecordKeyType<T = PropertyKey> = T extends PropertyKey ? T : never;
|
|
4
4
|
//# sourceMappingURL=RecordKeyType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordKeyType.d.ts","sourceRoot":"","sources":["../../../../src/modules/protocol-model/RecordKeyType.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RecordKeyType.d.ts","sourceRoot":"","sources":["../../../../src/modules/protocol-model/RecordKeyType.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAE3F,yDAAyD;AACzD,MAAM,MAAM,aAAa,CAAC,CAAC,GAAG,WAAW,IAAI,CAAC,SAAS,WAAW,GAAG,CAAC,GAAG,KAAK,CAAA"}
|
|
@@ -25,6 +25,7 @@ export declare const TransferZod: z.ZodMiniObject<{
|
|
|
25
25
|
schema: z.ZodMiniLiteral<"network.xyo.transfer" & {
|
|
26
26
|
readonly __schema: true;
|
|
27
27
|
}>;
|
|
28
|
+
$version: z.ZodMiniOptional<z.ZodMiniLiteral<1000000>>;
|
|
28
29
|
context: z.ZodMiniOptional<z.ZodMiniType<import("@ariestools/sdk").JsonObject, unknown, z.core.$ZodTypeInternals<import("@ariestools/sdk").JsonObject, unknown>>>;
|
|
29
30
|
epoch: z.ZodMiniNumber<number>;
|
|
30
31
|
from: z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
@@ -43,27 +44,11 @@ export type Transfer = z.infer<typeof TransferZod>;
|
|
|
43
44
|
/**
|
|
44
45
|
* Type guard that checks if a value is a Transfer payload.
|
|
45
46
|
*
|
|
46
|
-
* @deprecated Checks only the schema string — a matching payload may still be missing `from`,
|
|
47
|
+
* @deprecated Checks only the schema string and supported revision — a matching payload may still be missing `from`,
|
|
47
48
|
* `epoch`, or `transfers`. Use `isTransferPayload` to validate the full shape before
|
|
48
49
|
* dereferencing Transfer fields.
|
|
49
50
|
*/
|
|
50
|
-
export declare const isTransfer: (
|
|
51
|
-
schema: "network.xyo.transfer" & {
|
|
52
|
-
readonly __schema: true;
|
|
53
|
-
};
|
|
54
|
-
epoch: number;
|
|
55
|
-
from: (Lowercase<string> & {
|
|
56
|
-
readonly __hex: true;
|
|
57
|
-
} & {
|
|
58
|
-
readonly __address: true;
|
|
59
|
-
}) | import("@xyo-network/sdk").XyoQuantAddress;
|
|
60
|
-
transfers: Record<(Lowercase<string> & {
|
|
61
|
-
readonly __hex: true;
|
|
62
|
-
} & {
|
|
63
|
-
readonly __address: true;
|
|
64
|
-
}) | import("@xyo-network/sdk").XyoQuantAddress, import("@ariestools/sdk").BrandedHex>;
|
|
65
|
-
context?: import("@ariestools/sdk").JsonObject | undefined;
|
|
66
|
-
};
|
|
51
|
+
export declare const isTransfer: (value: unknown) => value is Transfer;
|
|
67
52
|
/** Type guard that validates the full Transfer payload shape (schema and all fields). */
|
|
68
53
|
export declare const isTransferPayload: <T>(value: T) => value is T & {
|
|
69
54
|
schema: "network.xyo.transfer" & {
|
|
@@ -80,6 +65,7 @@ export declare const isTransferPayload: <T>(value: T) => value is T & {
|
|
|
80
65
|
} & {
|
|
81
66
|
readonly __address: true;
|
|
82
67
|
}) | import("@xyo-network/sdk").XyoQuantAddress, import("@ariestools/sdk").BrandedHex>;
|
|
68
|
+
$version?: 1000000 | undefined;
|
|
83
69
|
context?: import("@ariestools/sdk").JsonObject | undefined;
|
|
84
70
|
};
|
|
85
71
|
/** Casts a value to Transfer or returns undefined if invalid */
|
|
@@ -98,6 +84,7 @@ export declare const asTransfer: import("@ariestools/sdk").AsTypeFunction<{
|
|
|
98
84
|
} & {
|
|
99
85
|
readonly __address: true;
|
|
100
86
|
}) | import("@xyo-network/sdk").XyoQuantAddress, import("@ariestools/sdk").BrandedHex>;
|
|
87
|
+
$version?: 1000000 | undefined;
|
|
101
88
|
context?: import("@ariestools/sdk").JsonObject | undefined;
|
|
102
89
|
}>;
|
|
103
90
|
/** Casts a value to a fully-validated Transfer or returns undefined if invalid */
|
|
@@ -116,6 +103,7 @@ export declare const asTransferPayload: import("@ariestools/sdk").AsTypeFunction
|
|
|
116
103
|
} & {
|
|
117
104
|
readonly __address: true;
|
|
118
105
|
}) | import("@xyo-network/sdk").XyoQuantAddress, import("@ariestools/sdk").BrandedHex>;
|
|
106
|
+
$version?: 1000000 | undefined;
|
|
119
107
|
context?: import("@ariestools/sdk").JsonObject | undefined;
|
|
120
108
|
}>;
|
|
121
109
|
//# sourceMappingURL=TransferPayload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransferPayload.d.ts","sourceRoot":"","sources":["../../../../src/modules/protocol-model/TransferPayload.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"TransferPayload.d.ts","sourceRoot":"","sources":["../../../../src/modules/protocol-model/TransferPayload.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAA;AAI5B,kDAAkD;AAClD,eAAO,MAAM,cAAc;;CAAyC,CAAA;AACpE,qDAAqD;AACrD,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAA;AAElD,+DAA+D;AAC/D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;iBAO5B,CAAA;AAEF,6EAA6E;AAC7E,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;iBAGtB,CAAA;AAEF,mFAAmF;AACnF,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAA;AAIlD;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,QAEpD,CAAA;AAED,yFAAyF;AACzF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;CAA4B,CAAA;AAE1D,gEAAgE;AAEhE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;EAAqC,CAAA;AAE5D,kFAAkF;AAClF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;EAA4C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AllowedBlockPayload.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/block/AllowedBlockPayload.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACF,aAAa,EAAE,eAAe,EACvC,MAAM,kBAAkB,CAAA;AAIzB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"AllowedBlockPayload.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/block/AllowedBlockPayload.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACF,aAAa,EAAE,eAAe,EACvC,MAAM,kBAAkB,CAAA;AAIzB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,OAAO,KAAK,EACV,4BAA4B,EAAE,YAAY,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,KAAK,EAAE,WAAW,EACzG,iBAAiB,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EACpH,MAAM,qBAAqB,CAAA;AAQ5B,OAAO,EAA6B,KAAK,uBAAuB,EAAE,MAAM,yBAAyB,CAAA;AACjG,OAAO,EACO,KAAK,QAAQ,EAC1B,MAAM,uBAAuB,CAAA;AAE9B,+DAA+D;AAC/D,MAAM,MAAM,mBAAmB,GACzB,4BAA4B,GAC5B,YAAY,GACZ,uBAAuB,GACvB,gBAAgB,GAChB,KAAK,GACL,WAAW,GACX,aAAa,GACb,iBAAiB,GACjB,cAAc,GACd,WAAW,GACX,aAAa,GACb,YAAY,GACZ,WAAW,GACX,YAAY,GACZ,WAAW,GACX,uBAAuB,GACvB,QAAQ,CAAA;AAEd,yEAAyE;AACzE,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAkBnB,CAAA;AAEpB,qEAAqE;AACrE,eAAO,MAAM,4BAA4B,eAAqC,CAAA;AAC9E,oDAAoD;AACpD,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAA;AACpF,4DAA4D;AAC5D,eAAO,MAAM,2BAA2B,6BAA6C,CAAA;AAErF,wEAAwE;AACxE,eAAO,MAAM,qBAAqB,GAAI,CAAC,EAAE,OAAO,CAAC,KAAG,KAAK,IAAI,mBAAmB,GAAG,CAwBlF,CAAA;AAED,oFAAoF;AACpF,eAAO,MAAM,iCAAiC,GAAI,CAAC,EAAE,OAAO,CAAC,KAAG,KAAK,IAAI,eAAe,CAAC,mBAAmB,GAAG,CAAC,CAE/G,CAAA"}
|