@xyo-network/xl1-protocol 1.14.14 → 1.14.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/neutral/model/BlockNumber/BlockNumber.d.ts +15 -5
- package/dist/neutral/model/BlockNumber/BlockNumber.d.ts.map +1 -1
- package/dist/neutral/model/BlockNumber/EthBlockNumber.d.ts +25 -5
- package/dist/neutral/model/BlockNumber/EthBlockNumber.d.ts.map +1 -1
- package/dist/neutral/model/BlockNumber/XL1BlockNumber.d.ts +25 -5
- package/dist/neutral/model/BlockNumber/XL1BlockNumber.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/BlockRange.d.ts +4 -4
- package/dist/neutral/model/BlockRange/EthBlockRange.d.ts +4 -4
- package/dist/neutral/model/BlockRange/Range.d.ts +4 -4
- package/dist/neutral/model/BlockRange/XL1BlockRange.d.ts +4 -4
- package/dist/neutral/zod/HydratedBlock.d.ts +42 -42
- package/dist/neutral/zod/HydratedTransaction.d.ts +54 -54
- package/dist/neutral/zod/TransactionBoundWitness.d.ts +54 -54
- package/dist/neutral/zod/TransactionFees.d.ts +12 -12
- package/dist/neutral/zod/block/BlockBoundWitness.d.ts +18 -18
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitness.d.ts +6 -6
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts +6 -6
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts +5 -5
- package/dist/neutral/zod/block/unsigned/UnsignedBlockBoundWitness.d.ts +6 -6
- package/dist/neutral/zod/payload/WithHashMetaish.d.ts +2 -2
- package/dist/neutral/zod/payload/WithStorageMetaish.d.ts +2 -2
- package/package.json +11 -11
|
@@ -7,12 +7,22 @@ export declare const BlockNumberZod: z.ZodPipe<z.ZodNumber, z.ZodTransform<Block
|
|
|
7
7
|
export declare const BlockNumberishZod: z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBigInt]>, z.ZodTransform<number, string | number | bigint>>, z.ZodNumber>, z.ZodTransform<BlockNumber, number>>;
|
|
8
8
|
export type BlockNumberish = z.input<typeof BlockNumberishZod>;
|
|
9
9
|
export declare const asBlockNumber: {
|
|
10
|
-
(value:
|
|
11
|
-
|
|
10
|
+
<T>(value: T): (T & number & {
|
|
11
|
+
readonly __blockNumber: true;
|
|
12
|
+
}) | undefined;
|
|
13
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & number & {
|
|
14
|
+
readonly __blockNumber: true;
|
|
15
|
+
};
|
|
12
16
|
};
|
|
13
17
|
export declare const toBlockNumber: {
|
|
14
|
-
(value:
|
|
15
|
-
|
|
18
|
+
<T>(value: T): (T & number & {
|
|
19
|
+
readonly __blockNumber: true;
|
|
20
|
+
}) | undefined;
|
|
21
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & number & {
|
|
22
|
+
readonly __blockNumber: true;
|
|
23
|
+
};
|
|
16
24
|
};
|
|
17
|
-
export declare const BLOCK_NUMBER_ZERO:
|
|
25
|
+
export declare const BLOCK_NUMBER_ZERO: (0 & {
|
|
26
|
+
readonly __blockNumber: true;
|
|
27
|
+
}) | undefined;
|
|
18
28
|
//# sourceMappingURL=BlockNumber.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockNumber.d.ts","sourceRoot":"","sources":["../../../../src/model/BlockNumber/BlockNumber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAE3C,OAAO,CAAC,MAAM,KAAK,CAAA;AAInB,MAAM,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,EAAE;IAAE,QAAQ,CAAC,aAAa,EAAE,IAAI,CAAA;CAAE,CAAC,CAAA;AAEzE,eAAO,MAAM,cAAc,6DAA8C,CAAA;AACzE,eAAO,MAAM,iBAAiB,mMAAgD,CAAA;AAE9E,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE9D,eAAO,MAAM,aAAa;;;
|
|
1
|
+
{"version":3,"file":"BlockNumber.d.ts","sourceRoot":"","sources":["../../../../src/model/BlockNumber/BlockNumber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAE3C,OAAO,CAAC,MAAM,KAAK,CAAA;AAInB,MAAM,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,EAAE;IAAE,QAAQ,CAAC,aAAa,EAAE,IAAI,CAAA;CAAE,CAAC,CAAA;AAEzE,eAAO,MAAM,cAAc,6DAA8C,CAAA;AACzE,eAAO,MAAM,iBAAiB,mMAAgD,CAAA;AAE9E,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE9D,eAAO,MAAM,aAAa;;gCAPwC,IAAI;;;gCAAJ,IAAI;;CAOiB,CAAA;AACvF,eAAO,MAAM,aAAa;;gCARwC,IAAI;;;gCAAJ,IAAI;;CAQoB,CAAA;AAE1F,eAAO,MAAM,iBAAiB;4BAVoC,IAAI;cAUrB,CAAA"}
|
|
@@ -8,12 +8,32 @@ export declare const EthBlockNumberZod: z.ZodPipe<z.ZodNumber, z.ZodTransform<Et
|
|
|
8
8
|
export declare const EthBlockNumberishZod: z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBigInt]>, z.ZodTransform<number, string | number | bigint>>, z.ZodNumber>, z.ZodTransform<BlockNumber, number>>, z.ZodTransform<EthBlockNumber, BlockNumber>>;
|
|
9
9
|
export type EthBlockNumberish = z.input<typeof EthBlockNumberishZod>;
|
|
10
10
|
export declare const asEthBlockNumber: {
|
|
11
|
-
(value:
|
|
12
|
-
|
|
11
|
+
<T>(value: T): (T & number & {
|
|
12
|
+
readonly __blockNumber: true;
|
|
13
|
+
} & {
|
|
14
|
+
readonly __ethBlockNumber: true;
|
|
15
|
+
}) | undefined;
|
|
16
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & number & {
|
|
17
|
+
readonly __blockNumber: true;
|
|
18
|
+
} & {
|
|
19
|
+
readonly __ethBlockNumber: true;
|
|
20
|
+
};
|
|
13
21
|
};
|
|
14
22
|
export declare const toEthBlockNumber: {
|
|
15
|
-
(value:
|
|
16
|
-
|
|
23
|
+
<T>(value: T): (T & number & {
|
|
24
|
+
readonly __blockNumber: true;
|
|
25
|
+
} & {
|
|
26
|
+
readonly __ethBlockNumber: true;
|
|
27
|
+
}) | undefined;
|
|
28
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & number & {
|
|
29
|
+
readonly __blockNumber: true;
|
|
30
|
+
} & {
|
|
31
|
+
readonly __ethBlockNumber: true;
|
|
32
|
+
};
|
|
17
33
|
};
|
|
18
|
-
export declare const ETH_BLOCK_NUMBER_ZERO:
|
|
34
|
+
export declare const ETH_BLOCK_NUMBER_ZERO: (0 & {
|
|
35
|
+
readonly __blockNumber: true;
|
|
36
|
+
} & {
|
|
37
|
+
readonly __ethBlockNumber: true;
|
|
38
|
+
}) | undefined;
|
|
19
39
|
//# sourceMappingURL=EthBlockNumber.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EthBlockNumber.d.ts","sourceRoot":"","sources":["../../../../src/model/BlockNumber/EthBlockNumber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAE3C,OAAO,CAAC,MAAM,KAAK,CAAA;AAEnB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAGnD,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,WAAW,EAAE;IAAE,QAAQ,CAAC,gBAAgB,EAAE,IAAI,CAAA;CAAE,CAAC,CAAA;AAEpF,eAAO,MAAM,iBAAiB,gEAAiD,CAAA;AAC/E,eAAO,MAAM,oBAAoB,2PAAwD,CAAA;AAEzF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEpE,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"EthBlockNumber.d.ts","sourceRoot":"","sources":["../../../../src/model/BlockNumber/EthBlockNumber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAE3C,OAAO,CAAC,MAAM,KAAK,CAAA;AAEnB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAGnD,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,WAAW,EAAE;IAAE,QAAQ,CAAC,gBAAgB,EAAE,IAAI,CAAA;CAAE,CAAC,CAAA;AAEpF,eAAO,MAAM,iBAAiB,gEAAiD,CAAA;AAC/E,eAAO,MAAM,oBAAoB,2PAAwD,CAAA;AAEzF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEpE,eAAO,MAAM,gBAAgB;;;;mCAPgD,IAAI;;;;;mCAAJ,IAAI;;CAOkB,CAAA;AACnG,eAAO,MAAM,gBAAgB;;;;mCARgD,IAAI;;;;;mCAAJ,IAAI;;CAQqB,CAAA;AAEtG,eAAO,MAAM,qBAAqB;;;+BAV2C,IAAI;cAUzB,CAAA"}
|
|
@@ -8,12 +8,32 @@ export declare const XL1BlockNumberZod: z.ZodPipe<z.ZodNumber, z.ZodTransform<XL
|
|
|
8
8
|
export declare const XL1BlockNumberishZod: z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBigInt]>, z.ZodTransform<number, string | number | bigint>>, z.ZodNumber>, z.ZodTransform<BlockNumber, number>>, z.ZodTransform<XL1BlockNumber, BlockNumber>>;
|
|
9
9
|
export type XL1BlockNumberish = z.input<typeof XL1BlockNumberishZod>;
|
|
10
10
|
export declare const asXL1BlockNumber: {
|
|
11
|
-
(value:
|
|
12
|
-
|
|
11
|
+
<T>(value: T): (T & number & {
|
|
12
|
+
readonly __blockNumber: true;
|
|
13
|
+
} & {
|
|
14
|
+
readonly __xl1BlockNumber: true;
|
|
15
|
+
}) | undefined;
|
|
16
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & number & {
|
|
17
|
+
readonly __blockNumber: true;
|
|
18
|
+
} & {
|
|
19
|
+
readonly __xl1BlockNumber: true;
|
|
20
|
+
};
|
|
13
21
|
};
|
|
14
22
|
export declare const toXL1BlockNumber: {
|
|
15
|
-
(value:
|
|
16
|
-
|
|
23
|
+
<T>(value: T): (T & number & {
|
|
24
|
+
readonly __blockNumber: true;
|
|
25
|
+
} & {
|
|
26
|
+
readonly __xl1BlockNumber: true;
|
|
27
|
+
}) | undefined;
|
|
28
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & number & {
|
|
29
|
+
readonly __blockNumber: true;
|
|
30
|
+
} & {
|
|
31
|
+
readonly __xl1BlockNumber: true;
|
|
32
|
+
};
|
|
17
33
|
};
|
|
18
|
-
export declare const XL1_BLOCK_NUMBER_ZERO:
|
|
34
|
+
export declare const XL1_BLOCK_NUMBER_ZERO: (0 & {
|
|
35
|
+
readonly __blockNumber: true;
|
|
36
|
+
} & {
|
|
37
|
+
readonly __xl1BlockNumber: true;
|
|
38
|
+
}) | undefined;
|
|
19
39
|
//# sourceMappingURL=XL1BlockNumber.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XL1BlockNumber.d.ts","sourceRoot":"","sources":["../../../../src/model/BlockNumber/XL1BlockNumber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAE3C,OAAO,CAAC,MAAM,KAAK,CAAA;AAEnB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAGnD,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,WAAW,EAAE;IAAE,QAAQ,CAAC,gBAAgB,EAAE,IAAI,CAAA;CAAE,CAAC,CAAA;AAEpF,eAAO,MAAM,iBAAiB,gEAAiD,CAAA;AAC/E,eAAO,MAAM,oBAAoB,2PAAwD,CAAA;AAEzF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEpE,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"XL1BlockNumber.d.ts","sourceRoot":"","sources":["../../../../src/model/BlockNumber/XL1BlockNumber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAE3C,OAAO,CAAC,MAAM,KAAK,CAAA;AAEnB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAGnD,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,WAAW,EAAE;IAAE,QAAQ,CAAC,gBAAgB,EAAE,IAAI,CAAA;CAAE,CAAC,CAAA;AAEpF,eAAO,MAAM,iBAAiB,gEAAiD,CAAA;AAC/E,eAAO,MAAM,oBAAoB,2PAAwD,CAAA;AAEzF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEpE,eAAO,MAAM,gBAAgB;;;;mCAPgD,IAAI;;;;;mCAAJ,IAAI;;CAOkB,CAAA;AACnG,eAAO,MAAM,gBAAgB;;;;mCARgD,IAAI;;;;;mCAAJ,IAAI;;CAQqB,CAAA;AAEtG,eAAO,MAAM,qBAAqB;;;+BAV2C,IAAI;cAUzB,CAAA"}
|
|
@@ -7,12 +7,12 @@ export declare const BlockRangeZod: z.ZodTuple<[z.ZodPipe<z.ZodNumber, z.ZodTran
|
|
|
7
7
|
export declare const BlockRangeishZod: z.ZodTuple<[z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBigInt]>, z.ZodTransform<number, string | number | bigint>>, z.ZodNumber>, z.ZodTransform<BlockNumber, number>>, z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBigInt]>, z.ZodTransform<number, string | number | bigint>>, z.ZodNumber>, z.ZodTransform<BlockNumber, number>>], null>;
|
|
8
8
|
export type BlockRangeish = z.input<typeof BlockRangeishZod>;
|
|
9
9
|
export declare const asBlockRange: {
|
|
10
|
-
(value:
|
|
11
|
-
(value:
|
|
10
|
+
<T>(value: T): (T & BlockRange) | undefined;
|
|
11
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & BlockRange;
|
|
12
12
|
};
|
|
13
13
|
export declare const toBlockRange: {
|
|
14
|
-
(value:
|
|
15
|
-
(value:
|
|
14
|
+
<T>(value: T): (T & BlockRange) | undefined;
|
|
15
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & BlockRange;
|
|
16
16
|
};
|
|
17
17
|
export type BlockRangeKey = Brand<string, {
|
|
18
18
|
readonly __blockRangeKey: true;
|
|
@@ -7,12 +7,12 @@ export declare const EthBlockRangeZod: z.ZodTuple<[z.ZodPipe<z.ZodNumber, z.ZodT
|
|
|
7
7
|
export declare const EthBlockRangeishZod: z.ZodTuple<[z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBigInt]>, z.ZodTransform<number, string | number | bigint>>, z.ZodNumber>, z.ZodTransform<import("../BlockNumber/BlockNumber.ts").BlockNumber, number>>, z.ZodTransform<EthBlockNumber, import("../BlockNumber/BlockNumber.ts").BlockNumber>>, z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBigInt]>, z.ZodTransform<number, string | number | bigint>>, z.ZodNumber>, z.ZodTransform<import("../BlockNumber/BlockNumber.ts").BlockNumber, number>>, z.ZodTransform<EthBlockNumber, import("../BlockNumber/BlockNumber.ts").BlockNumber>>], null>;
|
|
8
8
|
export type EthBlockRangeish = z.input<typeof EthBlockRangeishZod>;
|
|
9
9
|
export declare const asEthBlockRange: {
|
|
10
|
-
(value:
|
|
11
|
-
(value:
|
|
10
|
+
<T>(value: T): (T & EthBlockRange) | undefined;
|
|
11
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & EthBlockRange;
|
|
12
12
|
};
|
|
13
13
|
export declare const toEthBlockRange: {
|
|
14
|
-
(value:
|
|
15
|
-
(value:
|
|
14
|
+
<T>(value: T): (T & EthBlockRange) | undefined;
|
|
15
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & EthBlockRange;
|
|
16
16
|
};
|
|
17
17
|
export type EthBlockRangeKey = Brand<string, {
|
|
18
18
|
readonly __ethBlockRangeKey: true;
|
|
@@ -3,11 +3,11 @@ export declare const RangeZod: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
|
3
3
|
export type Range = z.infer<typeof RangeZod>;
|
|
4
4
|
export declare const isRange: <T>(value: T) => value is T & [number, number];
|
|
5
5
|
export declare const asRange: {
|
|
6
|
-
(value:
|
|
7
|
-
(value:
|
|
6
|
+
<T>(value: T): (T & [number, number]) | undefined;
|
|
7
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [number, number];
|
|
8
8
|
};
|
|
9
9
|
export declare const toRange: {
|
|
10
|
-
(value:
|
|
11
|
-
(value:
|
|
10
|
+
<T>(value: T): (T & [number, number]) | undefined;
|
|
11
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [number, number];
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=Range.d.ts.map
|
|
@@ -7,12 +7,12 @@ export declare const XL1BlockRangeZod: z.ZodTuple<[z.ZodPipe<z.ZodNumber, z.ZodT
|
|
|
7
7
|
export declare const XL1BlockRangeishZod: z.ZodTuple<[z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBigInt]>, z.ZodTransform<number, string | number | bigint>>, z.ZodNumber>, z.ZodTransform<import("../BlockNumber/BlockNumber.ts").BlockNumber, number>>, z.ZodTransform<XL1BlockNumber, import("../BlockNumber/BlockNumber.ts").BlockNumber>>, z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBigInt]>, z.ZodTransform<number, string | number | bigint>>, z.ZodNumber>, z.ZodTransform<import("../BlockNumber/BlockNumber.ts").BlockNumber, number>>, z.ZodTransform<XL1BlockNumber, import("../BlockNumber/BlockNumber.ts").BlockNumber>>], null>;
|
|
8
8
|
export type XL1BlockRangeish = z.input<typeof XL1BlockRangeishZod>;
|
|
9
9
|
export declare const asXL1BlockRange: {
|
|
10
|
-
(value:
|
|
11
|
-
(value:
|
|
10
|
+
<T>(value: T): (T & XL1BlockRange) | undefined;
|
|
11
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & XL1BlockRange;
|
|
12
12
|
};
|
|
13
13
|
export declare const toXL1BlockRange: {
|
|
14
|
-
(value:
|
|
15
|
-
(value:
|
|
14
|
+
<T>(value: T): (T & XL1BlockRange) | undefined;
|
|
15
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & XL1BlockRange;
|
|
16
16
|
};
|
|
17
17
|
export type XL1BlockRangeKey = Brand<string, {
|
|
18
18
|
readonly __xl1BlockRangeKey: true;
|
|
@@ -37,7 +37,7 @@ export declare const isHydratedBlock: <T>(value: T) => value is T & [{
|
|
|
37
37
|
schema: string;
|
|
38
38
|
}[]];
|
|
39
39
|
export declare const asHydratedBlock: {
|
|
40
|
-
(value:
|
|
40
|
+
<T>(value: T): (T & [{
|
|
41
41
|
schema: "network.xyo.boundwitness";
|
|
42
42
|
addresses: import("@xylabs/hex").Address[];
|
|
43
43
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -54,8 +54,8 @@ export declare const asHydratedBlock: {
|
|
|
54
54
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
55
55
|
}, {
|
|
56
56
|
schema: string;
|
|
57
|
-
}[]] | undefined;
|
|
58
|
-
(value:
|
|
57
|
+
}[]]) | undefined;
|
|
58
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
59
59
|
schema: "network.xyo.boundwitness";
|
|
60
60
|
addresses: import("@xylabs/hex").Address[];
|
|
61
61
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -75,7 +75,7 @@ export declare const asHydratedBlock: {
|
|
|
75
75
|
}[]];
|
|
76
76
|
};
|
|
77
77
|
export declare const toHydratedBlock: {
|
|
78
|
-
(value:
|
|
78
|
+
<T>(value: T): (T & [{
|
|
79
79
|
schema: "network.xyo.boundwitness";
|
|
80
80
|
addresses: import("@xylabs/hex").Address[];
|
|
81
81
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -92,8 +92,8 @@ export declare const toHydratedBlock: {
|
|
|
92
92
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
93
93
|
}, {
|
|
94
94
|
schema: string;
|
|
95
|
-
}[]] | undefined;
|
|
96
|
-
(value:
|
|
95
|
+
}[]]) | undefined;
|
|
96
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
97
97
|
schema: "network.xyo.boundwitness";
|
|
98
98
|
addresses: import("@xylabs/hex").Address[];
|
|
99
99
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -158,7 +158,7 @@ export declare const isHydratedBlockWithHashMeta: <T>(value: T) => value is T &
|
|
|
158
158
|
_dataHash: import("@xylabs/hex").Hash;
|
|
159
159
|
}[]];
|
|
160
160
|
export declare const asHydratedBlockWithHashMeta: {
|
|
161
|
-
(value:
|
|
161
|
+
<T>(value: T): (T & [{
|
|
162
162
|
schema: "network.xyo.boundwitness";
|
|
163
163
|
addresses: import("@xylabs/hex").Address[];
|
|
164
164
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -179,8 +179,8 @@ export declare const asHydratedBlockWithHashMeta: {
|
|
|
179
179
|
schema: string;
|
|
180
180
|
_hash: import("@xylabs/hex").Hash;
|
|
181
181
|
_dataHash: import("@xylabs/hex").Hash;
|
|
182
|
-
}[]] | undefined;
|
|
183
|
-
(value:
|
|
182
|
+
}[]]) | undefined;
|
|
183
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
184
184
|
schema: "network.xyo.boundwitness";
|
|
185
185
|
addresses: import("@xylabs/hex").Address[];
|
|
186
186
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -204,7 +204,7 @@ export declare const asHydratedBlockWithHashMeta: {
|
|
|
204
204
|
}[]];
|
|
205
205
|
};
|
|
206
206
|
export declare const toHydratedBlockWithHashMeta: {
|
|
207
|
-
(value:
|
|
207
|
+
<T>(value: T): (T & [{
|
|
208
208
|
schema: "network.xyo.boundwitness";
|
|
209
209
|
addresses: import("@xylabs/hex").Address[];
|
|
210
210
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -225,8 +225,8 @@ export declare const toHydratedBlockWithHashMeta: {
|
|
|
225
225
|
schema: string;
|
|
226
226
|
_hash: import("@xylabs/hex").Hash;
|
|
227
227
|
_dataHash: import("@xylabs/hex").Hash;
|
|
228
|
-
}[]] | undefined;
|
|
229
|
-
(value:
|
|
228
|
+
}[]]) | undefined;
|
|
229
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
230
230
|
schema: "network.xyo.boundwitness";
|
|
231
231
|
addresses: import("@xylabs/hex").Address[];
|
|
232
232
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -299,7 +299,7 @@ export declare const isHydratedBlockWithStorageMeta: <T>(value: T) => value is T
|
|
|
299
299
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
300
300
|
}[]];
|
|
301
301
|
export declare const asHydratedBlockWithStorageMeta: {
|
|
302
|
-
(value:
|
|
302
|
+
<T>(value: T): (T & [{
|
|
303
303
|
schema: "network.xyo.boundwitness";
|
|
304
304
|
addresses: import("@xylabs/hex").Address[];
|
|
305
305
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -322,8 +322,8 @@ export declare const asHydratedBlockWithStorageMeta: {
|
|
|
322
322
|
_hash: import("@xylabs/hex").Hash;
|
|
323
323
|
_dataHash: import("@xylabs/hex").Hash;
|
|
324
324
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
325
|
-
}[]] | undefined;
|
|
326
|
-
(value:
|
|
325
|
+
}[]]) | undefined;
|
|
326
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
327
327
|
schema: "network.xyo.boundwitness";
|
|
328
328
|
addresses: import("@xylabs/hex").Address[];
|
|
329
329
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -349,7 +349,7 @@ export declare const asHydratedBlockWithStorageMeta: {
|
|
|
349
349
|
}[]];
|
|
350
350
|
};
|
|
351
351
|
export declare const toHydratedBlockWithStorageMeta: {
|
|
352
|
-
(value:
|
|
352
|
+
<T>(value: T): (T & [{
|
|
353
353
|
schema: "network.xyo.boundwitness";
|
|
354
354
|
addresses: import("@xylabs/hex").Address[];
|
|
355
355
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -372,8 +372,8 @@ export declare const toHydratedBlockWithStorageMeta: {
|
|
|
372
372
|
_hash: import("@xylabs/hex").Hash;
|
|
373
373
|
_dataHash: import("@xylabs/hex").Hash;
|
|
374
374
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
375
|
-
}[]] | undefined;
|
|
376
|
-
(value:
|
|
375
|
+
}[]]) | undefined;
|
|
376
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
377
377
|
schema: "network.xyo.boundwitness";
|
|
378
378
|
addresses: import("@xylabs/hex").Address[];
|
|
379
379
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -436,7 +436,7 @@ export declare const isSignedHydratedBlock: <T>(value: T) => value is T & [{
|
|
|
436
436
|
schema: string;
|
|
437
437
|
}[]];
|
|
438
438
|
export declare const asSignedHydratedBlock: {
|
|
439
|
-
(value:
|
|
439
|
+
<T>(value: T): (T & [{
|
|
440
440
|
schema: "network.xyo.boundwitness";
|
|
441
441
|
addresses: import("@xylabs/hex").Address[];
|
|
442
442
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -453,8 +453,8 @@ export declare const asSignedHydratedBlock: {
|
|
|
453
453
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
454
454
|
}, {
|
|
455
455
|
schema: string;
|
|
456
|
-
}[]] | undefined;
|
|
457
|
-
(value:
|
|
456
|
+
}[]]) | undefined;
|
|
457
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
458
458
|
schema: "network.xyo.boundwitness";
|
|
459
459
|
addresses: import("@xylabs/hex").Address[];
|
|
460
460
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -474,7 +474,7 @@ export declare const asSignedHydratedBlock: {
|
|
|
474
474
|
}[]];
|
|
475
475
|
};
|
|
476
476
|
export declare const toSignedHydratedBlock: {
|
|
477
|
-
(value:
|
|
477
|
+
<T>(value: T): (T & [{
|
|
478
478
|
schema: "network.xyo.boundwitness";
|
|
479
479
|
addresses: import("@xylabs/hex").Address[];
|
|
480
480
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -491,8 +491,8 @@ export declare const toSignedHydratedBlock: {
|
|
|
491
491
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
492
492
|
}, {
|
|
493
493
|
schema: string;
|
|
494
|
-
}[]] | undefined;
|
|
495
|
-
(value:
|
|
494
|
+
}[]]) | undefined;
|
|
495
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
496
496
|
schema: "network.xyo.boundwitness";
|
|
497
497
|
addresses: import("@xylabs/hex").Address[];
|
|
498
498
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -549,7 +549,7 @@ export declare const isSignedHydratedBlockToJson: <T>(value: T) => value is T &
|
|
|
549
549
|
schema: string;
|
|
550
550
|
}[]];
|
|
551
551
|
export declare const asSignedHydratedBlockToJson: {
|
|
552
|
-
(value:
|
|
552
|
+
<T>(value: T): (T & [{
|
|
553
553
|
schema: "network.xyo.boundwitness";
|
|
554
554
|
addresses: import("@xylabs/hex").Address[];
|
|
555
555
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -566,8 +566,8 @@ export declare const asSignedHydratedBlockToJson: {
|
|
|
566
566
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
567
567
|
}, {
|
|
568
568
|
schema: string;
|
|
569
|
-
}[]] | undefined;
|
|
570
|
-
(value:
|
|
569
|
+
}[]]) | undefined;
|
|
570
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
571
571
|
schema: "network.xyo.boundwitness";
|
|
572
572
|
addresses: import("@xylabs/hex").Address[];
|
|
573
573
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -587,7 +587,7 @@ export declare const asSignedHydratedBlockToJson: {
|
|
|
587
587
|
}[]];
|
|
588
588
|
};
|
|
589
589
|
export declare const toSignedHydratedBlockToJson: {
|
|
590
|
-
(value:
|
|
590
|
+
<T>(value: T): (T & [{
|
|
591
591
|
schema: "network.xyo.boundwitness";
|
|
592
592
|
addresses: import("@xylabs/hex").Address[];
|
|
593
593
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -604,8 +604,8 @@ export declare const toSignedHydratedBlockToJson: {
|
|
|
604
604
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
605
605
|
}, {
|
|
606
606
|
schema: string;
|
|
607
|
-
}[]] | undefined;
|
|
608
|
-
(value:
|
|
607
|
+
}[]]) | undefined;
|
|
608
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
609
609
|
schema: "network.xyo.boundwitness";
|
|
610
610
|
addresses: import("@xylabs/hex").Address[];
|
|
611
611
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -692,7 +692,7 @@ export declare const isSignedHydratedBlockWithHashMeta: <T>(value: T) => value i
|
|
|
692
692
|
_dataHash: import("@xylabs/hex").Hash;
|
|
693
693
|
}[]];
|
|
694
694
|
export declare const asSignedHydratedBlockWithHashMeta: {
|
|
695
|
-
(value:
|
|
695
|
+
<T>(value: T): (T & [{
|
|
696
696
|
schema: "network.xyo.boundwitness";
|
|
697
697
|
addresses: import("@xylabs/hex").Address[];
|
|
698
698
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -713,8 +713,8 @@ export declare const asSignedHydratedBlockWithHashMeta: {
|
|
|
713
713
|
schema: string;
|
|
714
714
|
_hash: import("@xylabs/hex").Hash;
|
|
715
715
|
_dataHash: import("@xylabs/hex").Hash;
|
|
716
|
-
}[]] | undefined;
|
|
717
|
-
(value:
|
|
716
|
+
}[]]) | undefined;
|
|
717
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
718
718
|
schema: "network.xyo.boundwitness";
|
|
719
719
|
addresses: import("@xylabs/hex").Address[];
|
|
720
720
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -738,7 +738,7 @@ export declare const asSignedHydratedBlockWithHashMeta: {
|
|
|
738
738
|
}[]];
|
|
739
739
|
};
|
|
740
740
|
export declare const toSignedHydratedBlockWithHashMeta: {
|
|
741
|
-
(value:
|
|
741
|
+
<T>(value: T): (T & [{
|
|
742
742
|
schema: "network.xyo.boundwitness";
|
|
743
743
|
addresses: import("@xylabs/hex").Address[];
|
|
744
744
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -759,8 +759,8 @@ export declare const toSignedHydratedBlockWithHashMeta: {
|
|
|
759
759
|
schema: string;
|
|
760
760
|
_hash: import("@xylabs/hex").Hash;
|
|
761
761
|
_dataHash: import("@xylabs/hex").Hash;
|
|
762
|
-
}[]] | undefined;
|
|
763
|
-
(value:
|
|
762
|
+
}[]]) | undefined;
|
|
763
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
764
764
|
schema: "network.xyo.boundwitness";
|
|
765
765
|
addresses: import("@xylabs/hex").Address[];
|
|
766
766
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -833,7 +833,7 @@ export declare const isSignedHydratedBlockWithStorageMeta: <T>(value: T) => valu
|
|
|
833
833
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
834
834
|
}[]];
|
|
835
835
|
export declare const asSignedHydratedBlockWithStorageMeta: {
|
|
836
|
-
(value:
|
|
836
|
+
<T>(value: T): (T & [{
|
|
837
837
|
schema: "network.xyo.boundwitness";
|
|
838
838
|
addresses: import("@xylabs/hex").Address[];
|
|
839
839
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -856,8 +856,8 @@ export declare const asSignedHydratedBlockWithStorageMeta: {
|
|
|
856
856
|
_hash: import("@xylabs/hex").Hash;
|
|
857
857
|
_dataHash: import("@xylabs/hex").Hash;
|
|
858
858
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
859
|
-
}[]] | undefined;
|
|
860
|
-
(value:
|
|
859
|
+
}[]]) | undefined;
|
|
860
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
861
861
|
schema: "network.xyo.boundwitness";
|
|
862
862
|
addresses: import("@xylabs/hex").Address[];
|
|
863
863
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -883,7 +883,7 @@ export declare const asSignedHydratedBlockWithStorageMeta: {
|
|
|
883
883
|
}[]];
|
|
884
884
|
};
|
|
885
885
|
export declare const toSignedHydratedBlockWithStorageMeta: {
|
|
886
|
-
(value:
|
|
886
|
+
<T>(value: T): (T & [{
|
|
887
887
|
schema: "network.xyo.boundwitness";
|
|
888
888
|
addresses: import("@xylabs/hex").Address[];
|
|
889
889
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -906,8 +906,8 @@ export declare const toSignedHydratedBlockWithStorageMeta: {
|
|
|
906
906
|
_hash: import("@xylabs/hex").Hash;
|
|
907
907
|
_dataHash: import("@xylabs/hex").Hash;
|
|
908
908
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
909
|
-
}[]] | undefined;
|
|
910
|
-
(value:
|
|
909
|
+
}[]]) | undefined;
|
|
910
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
911
911
|
schema: "network.xyo.boundwitness";
|
|
912
912
|
addresses: import("@xylabs/hex").Address[];
|
|
913
913
|
payload_hashes: import("@xylabs/hex").Hash[];
|