@xyo-network/xl1-protocol 1.14.1 → 1.14.3
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/index.mjs +231 -74
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/neutral/zod/BlockBoundWitness.d.ts +948 -0
- package/dist/neutral/zod/BlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/zod/TransactionBoundWitness.d.ts +880 -4
- package/dist/neutral/zod/TransactionBoundWitness.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/zod/BlockBoundWitness.ts +78 -0
- package/src/zod/TransactionBoundWitness.ts +78 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionBoundWitness.d.ts","sourceRoot":"","sources":["../../../src/zod/TransactionBoundWitness.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TransactionBoundWitness.d.ts","sourceRoot":"","sources":["../../../src/zod/TransactionBoundWitness.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AASxB,eAAO,MAAM,aAAa;;iBAAoC,CAAA;AAC9D,eAAO,MAAM,WAAW;;iBAAoC,CAAA;AAC5D,eAAO,MAAM,gBAAgB;;;iBAAyD,CAAA;AACtF,eAAO,MAAM,eAAe;;iBAAuD,CAAA;AAEnF,eAAO,MAAM,kBAAkB;;;;;;;iBAA4C,CAAA;AAI3E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;iBAIP,CAAA;AAEhC,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAEhF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;CAA2C,CAAA;AACjF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwE,CAAA;AAC9G,eAAO,MAAM,yBAAyB;;;;;;;;;;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CAAoF,CAAA;AAEhI,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;;;;;;;iBAC7B,CAAA;AAE5B,MAAM,MAAM,yCAAyC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4CAA4C,CAAC,CAAA;AAEpH,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;CAA6D,CAAA;AACrH,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGvD,CAAA;AACD,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGvD,CAAA;AAED,eAAO,MAAM,+CAA+C;;;;;;;;;;;;;;;;;;;;;;;iBAC7B,CAAA;AAE/B,MAAM,MAAM,4CAA4C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+CAA+C,CAAC,CAAA;AAE1H,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;;;;;;;;CAAgE,CAAA;AAC3H,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAG1D,CAAA;AACD,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAG1D,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { HashZod } from '@xylabs/sdk-js'
|
|
2
|
+
import {
|
|
3
|
+
zodAsFactory, zodIsFactory, zodToFactory,
|
|
4
|
+
} from '@xylabs/zod'
|
|
5
|
+
import { HashMetaZod, StorageMetaZod } from '@xyo-network/payload-model'
|
|
2
6
|
import * as z from 'zod'
|
|
3
7
|
|
|
4
8
|
import { XL1BlockNumberZod } from '../model/index.ts'
|
|
@@ -25,14 +29,88 @@ export const BlockBoundWitnessZod = BoundWitnessZod
|
|
|
25
29
|
|
|
26
30
|
export type BlockBoundWitness = z.infer<typeof BlockBoundWitnessZod>
|
|
27
31
|
|
|
32
|
+
export const isBlockBoundWitness = zodIsFactory(BlockBoundWitnessZod)
|
|
33
|
+
export const asBlockBoundWitness = zodAsFactory(BlockBoundWitnessZod, 'asBlockBoundWitness')
|
|
34
|
+
export const toBlockBoundWitness = zodToFactory(BlockBoundWitnessZod, 'toBlockBoundWitness')
|
|
35
|
+
|
|
36
|
+
export const BlockBoundWitnessWithHashMetaZod = BlockBoundWitnessZod
|
|
37
|
+
.extend(HashMetaZod.shape)
|
|
38
|
+
|
|
39
|
+
export type BlockBoundWitnessWithHashMeta = z.infer<typeof BlockBoundWitnessWithHashMetaZod>
|
|
40
|
+
|
|
41
|
+
export const isBlockBoundWitnessWithHashMeta = zodIsFactory(BlockBoundWitnessWithHashMetaZod)
|
|
42
|
+
export const asBlockBoundWitnessWithHashMeta = zodAsFactory(BlockBoundWitnessWithHashMetaZod, 'asBlockBoundWitnessWithHashMeta')
|
|
43
|
+
export const toBlockBoundWitnessWithHashMeta = zodToFactory(BlockBoundWitnessWithHashMetaZod, 'toBlockBoundWitnessWithHashMeta')
|
|
44
|
+
|
|
45
|
+
export const BlockBoundWitnessWithStorageMetaZod = BlockBoundWitnessZod
|
|
46
|
+
.extend(StorageMetaZod.shape)
|
|
47
|
+
|
|
48
|
+
export type BlockBoundWitnessWithStorageMeta = z.infer<typeof BlockBoundWitnessWithStorageMetaZod>
|
|
49
|
+
|
|
50
|
+
export const isBlockBoundWitnessWithStorageMeta = zodIsFactory(BlockBoundWitnessWithStorageMetaZod)
|
|
51
|
+
export const asBlockBoundWitnessWithStorageMeta = zodAsFactory(BlockBoundWitnessWithStorageMetaZod, 'asBlockBoundWitnessWithStorageMeta')
|
|
52
|
+
export const toBlockBoundWitnessWithStorageMeta = zodToFactory(BlockBoundWitnessWithStorageMetaZod, 'toBlockBoundWitnessWithStorageMeta')
|
|
53
|
+
|
|
28
54
|
export const UnsignedBlockBoundWitnessZod = UnsignedBoundWitnessZod
|
|
29
55
|
.extend(BlockBoundWitnessFieldsZod.shape)
|
|
30
56
|
.extend(BlockBoundWitnessMetaZod.shape)
|
|
31
57
|
|
|
32
58
|
export type UnsignedBlockBoundWitness = z.infer<typeof UnsignedBlockBoundWitnessZod>
|
|
33
59
|
|
|
60
|
+
export const isUnsignedBlockBoundWitness = zodIsFactory(UnsignedBlockBoundWitnessZod)
|
|
61
|
+
export const asUnsignedBlockBoundWitness = zodAsFactory(UnsignedBlockBoundWitnessZod, 'asUnsignedBlockBoundWitness')
|
|
62
|
+
export const toUnsignedBlockBoundWitness = zodToFactory(UnsignedBlockBoundWitnessZod, 'toUnsignedBlockBoundWitness')
|
|
63
|
+
|
|
64
|
+
export const UnsignedBlockBoundWitnessWithHashMetaZod = UnsignedBlockBoundWitnessZod.extend(HashMetaZod.shape)
|
|
65
|
+
|
|
66
|
+
export type UnsignedBlockBoundWitnessWithHashMeta = z.infer<typeof UnsignedBlockBoundWitnessWithHashMetaZod>
|
|
67
|
+
|
|
68
|
+
export const isUnsignedBlockBoundWitnessWithHashMeta = zodIsFactory(UnsignedBlockBoundWitnessWithHashMetaZod)
|
|
69
|
+
export const asUnsignedBlockBoundWitnessWithHashMeta = zodAsFactory(UnsignedBlockBoundWitnessWithHashMetaZod, 'asUnsignedBlockBoundWitnessWithHashMeta')
|
|
70
|
+
export const toUnsignedBlockBoundWitnessWithHashMeta = zodToFactory(UnsignedBlockBoundWitnessWithHashMetaZod, 'toUnsignedBlockBoundWitnessWithHashMeta')
|
|
71
|
+
|
|
72
|
+
export const UnsignedBlockBoundWitnessWithStorageMetaZod = UnsignedBlockBoundWitnessZod.extend(StorageMetaZod.shape)
|
|
73
|
+
|
|
74
|
+
export type UnsignedBlockBoundWitnessWithStorageMeta = z.infer<typeof UnsignedBlockBoundWitnessWithStorageMetaZod>
|
|
75
|
+
|
|
76
|
+
export const isUnsignedBlockBoundWitnessWithStorageMeta = zodIsFactory(UnsignedBlockBoundWitnessWithStorageMetaZod)
|
|
77
|
+
export const asUnsignedBlockBoundWitnessWithStorageMeta = zodAsFactory(
|
|
78
|
+
UnsignedBlockBoundWitnessWithStorageMetaZod,
|
|
79
|
+
'asUnsignedBlockBoundWitnessWithStorageMeta',
|
|
80
|
+
)
|
|
81
|
+
export const toUnsignedBlockBoundWitnessWithStorageMeta = zodToFactory(
|
|
82
|
+
UnsignedBlockBoundWitnessWithStorageMetaZod,
|
|
83
|
+
'toUnsignedBlockBoundWitnessWithStorageMeta',
|
|
84
|
+
)
|
|
85
|
+
|
|
34
86
|
export const SignedBlockBoundWitnessZod = SignedBoundWitnessZod
|
|
35
87
|
.extend(BlockBoundWitnessFieldsZod.shape)
|
|
36
88
|
.extend(BlockBoundWitnessMetaZod.shape)
|
|
37
89
|
|
|
38
90
|
export type SignedBlockBoundWitness = z.infer<typeof SignedBlockBoundWitnessZod>
|
|
91
|
+
|
|
92
|
+
export const isSignedBlockBoundWitness = zodIsFactory(SignedBlockBoundWitnessZod)
|
|
93
|
+
export const asSignedBlockBoundWitness = zodAsFactory(SignedBlockBoundWitnessZod, 'asSignedBlockBoundWitness')
|
|
94
|
+
export const toSignedBlockBoundWitness = zodToFactory(SignedBlockBoundWitnessZod, 'toSignedBlockBoundWitness')
|
|
95
|
+
|
|
96
|
+
export const SignedBlockBoundWitnessWithHashMetaZod = SignedBlockBoundWitnessZod.extend(HashMetaZod.shape)
|
|
97
|
+
|
|
98
|
+
export type SignedBlockBoundWitnessWithHashMeta = z.infer<typeof SignedBlockBoundWitnessWithHashMetaZod>
|
|
99
|
+
|
|
100
|
+
export const isSignedBlockBoundWitnessWithHashMeta = zodIsFactory(SignedBlockBoundWitnessWithHashMetaZod)
|
|
101
|
+
export const asSignedBlockBoundWitnessWithHashMeta = zodAsFactory(SignedBlockBoundWitnessWithHashMetaZod, 'asSignedBlockBoundWitnessWithHashMeta')
|
|
102
|
+
export const toSignedBlockBoundWitnessWithHashMeta = zodToFactory(SignedBlockBoundWitnessWithHashMetaZod, 'toSignedBlockBoundWitnessWithHashMeta')
|
|
103
|
+
|
|
104
|
+
export const SignedBlockBoundWitnessWithStorageMetaZod = SignedBlockBoundWitnessZod.extend(StorageMetaZod.shape)
|
|
105
|
+
|
|
106
|
+
export type SignedBlockBoundWitnessWithStorageMeta = z.infer<typeof SignedBlockBoundWitnessWithStorageMetaZod>
|
|
107
|
+
|
|
108
|
+
export const isSignedBlockBoundWitnessWithStorageMeta = zodIsFactory(SignedBlockBoundWitnessWithStorageMetaZod)
|
|
109
|
+
export const asSignedBlockBoundWitnessWithStorageMeta = zodAsFactory(
|
|
110
|
+
SignedBlockBoundWitnessWithStorageMetaZod,
|
|
111
|
+
'asSignedBlockBoundWitnessWithStorageMeta',
|
|
112
|
+
)
|
|
113
|
+
export const toSignedBlockBoundWitnessWithStorageMeta = zodToFactory(
|
|
114
|
+
SignedBlockBoundWitnessWithStorageMetaZod,
|
|
115
|
+
'toSignedBlockBoundWitnessWithStorageMeta',
|
|
116
|
+
)
|
|
@@ -2,6 +2,7 @@ import { AddressZod } from '@xylabs/sdk-js'
|
|
|
2
2
|
import {
|
|
3
3
|
zodAsFactory, zodIsFactory, zodToFactory,
|
|
4
4
|
} from '@xylabs/zod'
|
|
5
|
+
import { HashMetaZod, StorageMetaZod } from '@xyo-network/payload-model'
|
|
5
6
|
import * as z from 'zod'
|
|
6
7
|
|
|
7
8
|
import { BlockNumberZod } from '../model/index.ts'
|
|
@@ -32,6 +33,24 @@ export const isTransactionBoundWitness = zodIsFactory(TransactionBoundWitnessZod
|
|
|
32
33
|
export const asTransactionBoundWitness = zodAsFactory(TransactionBoundWitnessZod, 'asTransactionBoundWitness')
|
|
33
34
|
export const toTransactionBoundWitness = zodToFactory(TransactionBoundWitnessZod, 'toTransactionBoundWitness')
|
|
34
35
|
|
|
36
|
+
export const TransactionBoundWitnessWithHashMetaZod = TransactionBoundWitnessZod
|
|
37
|
+
.extend(HashMetaZod.shape)
|
|
38
|
+
|
|
39
|
+
export type TransactionBoundWitnessWithHashMeta = z.infer<typeof TransactionBoundWitnessWithHashMetaZod>
|
|
40
|
+
|
|
41
|
+
export const isTransactionBoundWitnessWithHashMeta = zodIsFactory(TransactionBoundWitnessWithHashMetaZod)
|
|
42
|
+
export const asTransactionBoundWitnessWithHashMeta = zodAsFactory(TransactionBoundWitnessWithHashMetaZod, 'asTransactionBoundWitnessWithHashMeta')
|
|
43
|
+
export const toTransactionBoundWitnessWithHashMeta = zodToFactory(TransactionBoundWitnessWithHashMetaZod, 'toTransactionBoundWitnessWithHashMeta')
|
|
44
|
+
|
|
45
|
+
export const TransactionBoundWitnessWithStorageMetaZod = TransactionBoundWitnessZod
|
|
46
|
+
.extend(StorageMetaZod.shape)
|
|
47
|
+
|
|
48
|
+
export type TransactionBoundWitnessWithStorageMeta = z.infer<typeof TransactionBoundWitnessWithStorageMetaZod>
|
|
49
|
+
|
|
50
|
+
export const isTransactionBoundWitnessWithStorageMeta = zodIsFactory(TransactionBoundWitnessWithStorageMetaZod)
|
|
51
|
+
export const asTransactionBoundWitnessWithStorageMeta = zodAsFactory(TransactionBoundWitnessWithStorageMetaZod, 'asTransactionBoundWitnessWithStorageMeta')
|
|
52
|
+
export const toTransactionBoundWitnessWithStorageMeta = zodToFactory(TransactionBoundWitnessWithStorageMetaZod, 'toTransactionBoundWitnessWithStorageMeta')
|
|
53
|
+
|
|
35
54
|
export const UnsignedTransactionBoundWitnessZod = UnsignedBoundWitnessZod
|
|
36
55
|
.extend(BlockDurationZod.shape)
|
|
37
56
|
.extend(TransactionFeesZod.shape)
|
|
@@ -44,6 +63,35 @@ export const isUnsignedTransactionBoundWitness = zodIsFactory(UnsignedTransactio
|
|
|
44
63
|
export const asUnsignedTransactionBoundWitness = zodAsFactory(UnsignedTransactionBoundWitnessZod, 'asUnsignedTransactionBoundWitness')
|
|
45
64
|
export const toUnsignedTransactionBoundWitness = zodToFactory(UnsignedTransactionBoundWitnessZod, 'toUnsignedTransactionBoundWitness')
|
|
46
65
|
|
|
66
|
+
export const UnsignedTransactionBoundWitnessWithHashMetaZod = UnsignedTransactionBoundWitnessZod.extend(HashMetaZod.shape)
|
|
67
|
+
|
|
68
|
+
export type UnsignedTransactionBoundWitnessWithHashMeta = z.infer<typeof UnsignedTransactionBoundWitnessWithHashMetaZod>
|
|
69
|
+
|
|
70
|
+
export const isUnsignedTransactionBoundWitnessWithHashMeta = zodIsFactory(UnsignedTransactionBoundWitnessWithHashMetaZod)
|
|
71
|
+
export const asUnsignedTransactionBoundWitnessWithHashMeta = zodAsFactory(
|
|
72
|
+
UnsignedTransactionBoundWitnessWithHashMetaZod,
|
|
73
|
+
'asUnsignedTransactionBoundWitnessWithHashMeta',
|
|
74
|
+
)
|
|
75
|
+
export const toUnsignedTransactionBoundWitnessWithHashMeta = zodToFactory(
|
|
76
|
+
UnsignedTransactionBoundWitnessWithHashMetaZod,
|
|
77
|
+
'toUnsignedTransactionBoundWitnessWithHashMeta',
|
|
78
|
+
)
|
|
79
|
+
|
|
80
|
+
export const UnsignedTransactionBoundWitnessWithStorageMetaZod = UnsignedTransactionBoundWitnessZod
|
|
81
|
+
.extend(StorageMetaZod.shape)
|
|
82
|
+
|
|
83
|
+
export type UnsignedTransactionBoundWitnessWithStorageMeta = z.infer<typeof UnsignedTransactionBoundWitnessWithStorageMetaZod>
|
|
84
|
+
|
|
85
|
+
export const isUnsignedTransactionBoundWitnessWithStorageMeta = zodIsFactory(UnsignedTransactionBoundWitnessWithStorageMetaZod)
|
|
86
|
+
export const asUnsignedTransactionBoundWitnessWithStorageMeta = zodAsFactory(
|
|
87
|
+
UnsignedTransactionBoundWitnessWithStorageMetaZod,
|
|
88
|
+
'asUnsignedTransactionBoundWitnessWithStorageMeta',
|
|
89
|
+
)
|
|
90
|
+
export const toUnsignedTransactionBoundWitnessWithStorageMeta = zodToFactory(
|
|
91
|
+
UnsignedTransactionBoundWitnessWithStorageMetaZod,
|
|
92
|
+
'toUnsignedTransactionBoundWitnessWithStorageMeta',
|
|
93
|
+
)
|
|
94
|
+
|
|
47
95
|
export const SignedTransactionBoundWitnessZod = SignedBoundWitnessZod
|
|
48
96
|
.extend(BlockDurationZod.shape)
|
|
49
97
|
.extend(TransactionFeesZod.shape)
|
|
@@ -55,3 +103,33 @@ export type SignedTransactionBoundWitness = z.infer<typeof SignedTransactionBoun
|
|
|
55
103
|
export const isSignedTransactionBoundWitness = zodIsFactory(SignedTransactionBoundWitnessZod)
|
|
56
104
|
export const asSignedTransactionBoundWitness = zodAsFactory(SignedTransactionBoundWitnessZod, 'asSignedTransactionBoundWitness')
|
|
57
105
|
export const toSignedTransactionBoundWitness = zodToFactory(SignedTransactionBoundWitnessZod, 'toSignedTransactionBoundWitness')
|
|
106
|
+
|
|
107
|
+
export const SignedTransactionBoundWitnessWithHashMetaZod = SignedTransactionBoundWitnessZod
|
|
108
|
+
.extend(HashMetaZod.shape)
|
|
109
|
+
|
|
110
|
+
export type SignedTransactionBoundWitnessWithHashMeta = z.infer<typeof SignedTransactionBoundWitnessWithHashMetaZod>
|
|
111
|
+
|
|
112
|
+
export const isSignedTransactionBoundWitnessWithHashMeta = zodIsFactory(SignedTransactionBoundWitnessWithHashMetaZod)
|
|
113
|
+
export const asSignedTransactionBoundWitnessWithHashMeta = zodAsFactory(
|
|
114
|
+
SignedTransactionBoundWitnessWithHashMetaZod,
|
|
115
|
+
'asSignedTransactionBoundWitnessWithHashMeta',
|
|
116
|
+
)
|
|
117
|
+
export const toSignedTransactionBoundWitnessWithHashMeta = zodToFactory(
|
|
118
|
+
SignedTransactionBoundWitnessWithHashMetaZod,
|
|
119
|
+
'toSignedTransactionBoundWitnessWithHashMeta',
|
|
120
|
+
)
|
|
121
|
+
|
|
122
|
+
export const SignedTransactionBoundWitnessWithStorageMetaZod = SignedTransactionBoundWitnessZod
|
|
123
|
+
.extend(StorageMetaZod.shape)
|
|
124
|
+
|
|
125
|
+
export type SignedTransactionBoundWitnessWithStorageMeta = z.infer<typeof SignedTransactionBoundWitnessWithStorageMetaZod>
|
|
126
|
+
|
|
127
|
+
export const isSignedTransactionBoundWitnessWithStorageMeta = zodIsFactory(SignedTransactionBoundWitnessWithStorageMetaZod)
|
|
128
|
+
export const asSignedTransactionBoundWitnessWithStorageMeta = zodAsFactory(
|
|
129
|
+
SignedTransactionBoundWitnessWithStorageMetaZod,
|
|
130
|
+
'asSignedTransactionBoundWitnessWithStorageMeta',
|
|
131
|
+
)
|
|
132
|
+
export const toSignedTransactionBoundWitnessWithStorageMeta = zodToFactory(
|
|
133
|
+
SignedTransactionBoundWitnessWithStorageMetaZod,
|
|
134
|
+
'toSignedTransactionBoundWitnessWithStorageMeta',
|
|
135
|
+
)
|