@cmts-dev/carmentis-sdk-core 1.2.31 → 1.2.33
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/blockchain/stateChecker/StateChecker.d.ts +6 -34
- package/dist/blockchain/stateChecker/StateChecker.d.ts.map +1 -1
- package/dist/blockchain/virtualBlockchains/ApplicationLedgerVb.d.ts +4 -9
- package/dist/blockchain/virtualBlockchains/ApplicationLedgerVb.d.ts.map +1 -1
- package/dist/carmentis-sdk-core.cjs +4 -4
- package/dist/carmentis-sdk-core.d.ts +15 -20
- package/dist/carmentis-sdk-core.d.ts.map +1 -1
- package/dist/carmentis-sdk-core.js +3666 -4020
- package/dist/crypto/encoder/signature/HandlerBasedSignatureEncoder.d.ts.map +1 -1
- package/dist/crypto/encoder/signature/dckf/DckfSignatureDecoder.d.ts +13 -0
- package/dist/crypto/encoder/signature/dckf/DckfSignatureDecoder.d.ts.map +1 -0
- package/dist/crypto/encoder/signature/dckf/DckfSignatureEncoder.d.ts +15 -0
- package/dist/crypto/encoder/signature/dckf/DckfSignatureEncoder.d.ts.map +1 -0
- package/dist/crypto/signature/pkms/PkmsSecp256k1PrivateSignatureKey.d.ts.map +1 -1
- package/dist/proofs/AccountProofWrapper.d.ts +25 -0
- package/dist/proofs/AccountProofWrapper.d.ts.map +1 -0
- package/dist/{records/ProofDocumentVB.d.ts → proofs/AppLedgerProofVB.d.ts} +4 -4
- package/dist/proofs/AppLedgerProofVB.d.ts.map +1 -0
- package/dist/proofs/AppLedgerProofWrapper.d.ts +63 -0
- package/dist/proofs/AppLedgerProofWrapper.d.ts.map +1 -0
- package/dist/proofs/MicroblockProofWrapper.d.ts +30 -0
- package/dist/proofs/MicroblockProofWrapper.d.ts.map +1 -0
- package/dist/proofs/ProofFactory.d.ts +8 -0
- package/dist/proofs/ProofFactory.d.ts.map +1 -0
- package/dist/proofs/ProofWrapper.d.ts +22 -0
- package/dist/proofs/ProofWrapper.d.ts.map +1 -0
- package/dist/providers/IExternalProvider.d.ts +1 -0
- package/dist/providers/IExternalProvider.d.ts.map +1 -1
- package/dist/providers/IInternalProvider.d.ts.map +1 -1
- package/dist/providers/NetworkProvider.d.ts +2 -0
- package/dist/providers/NetworkProvider.d.ts.map +1 -1
- package/dist/providers/NullNetworkProvider.d.ts +1 -0
- package/dist/providers/NullNetworkProvider.d.ts.map +1 -1
- package/dist/records/MerkleLeaf.d.ts +1 -1
- package/dist/records/MerkleLeaf.d.ts.map +1 -1
- package/dist/records/PositionedLeaf.d.ts +1 -1
- package/dist/records/PositionedLeaf.d.ts.map +1 -1
- package/dist/records/ProofRecord.d.ts +2 -1
- package/dist/records/ProofRecord.d.ts.map +1 -1
- package/dist/records/Record.d.ts +2 -1
- package/dist/records/Record.d.ts.map +1 -1
- package/dist/records/RecordByChannels.d.ts +1 -1
- package/dist/records/RecordByChannels.d.ts.map +1 -1
- package/dist/trees/radixChecker.d.ts +1 -1
- package/dist/trees/radixUtils.d.ts +2 -2
- package/dist/trees/radixUtils.d.ts.map +1 -1
- package/dist/type/Resolver.d.ts +7 -0
- package/dist/type/Resolver.d.ts.map +1 -0
- package/dist/type/types.d.ts +1 -1
- package/dist/type/types.d.ts.map +1 -1
- package/dist/type/valibot/json/Json.d.ts +7 -0
- package/dist/type/valibot/json/Json.d.ts.map +1 -0
- package/dist/type/valibot/{stateProofs → proofs}/AccountProof.d.ts +75 -43
- package/dist/type/valibot/proofs/AccountProof.d.ts.map +1 -0
- package/dist/{records/types.d.ts → type/valibot/proofs/AppLedgerProof.d.ts} +47 -78
- package/dist/type/valibot/proofs/AppLedgerProof.d.ts.map +1 -0
- package/dist/type/valibot/proofs/CarmentisProof.d.ts +543 -0
- package/dist/type/valibot/proofs/CarmentisProof.d.ts.map +1 -0
- package/dist/type/valibot/{stateProofs → proofs}/MicroblockProof.d.ts +184 -142
- package/dist/type/valibot/proofs/MicroblockProof.d.ts.map +1 -0
- package/dist/type/valibot/{stateProofs → proofs}/ProofBlock.d.ts +16 -8
- package/dist/type/valibot/proofs/ProofBlock.d.ts.map +1 -0
- package/dist/type/valibot/provider/abci/AbciResponse.d.ts +500 -1618
- package/dist/type/valibot/provider/abci/AbciResponse.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/blockchainOld/Account.d.ts +0 -2
- package/dist/blockchainOld/Account.d.ts.map +0 -1
- package/dist/blockchainOld/Application.d.ts +0 -2
- package/dist/blockchainOld/Application.d.ts.map +0 -1
- package/dist/blockchainOld/ApplicationLedger.d.ts +0 -2
- package/dist/blockchainOld/ApplicationLedger.d.ts.map +0 -1
- package/dist/blockchainOld/Organization.d.ts +0 -2
- package/dist/blockchainOld/Organization.d.ts.map +0 -1
- package/dist/blockchainOld/Protocol.d.ts +0 -2
- package/dist/blockchainOld/Protocol.d.ts.map +0 -1
- package/dist/blockchainOld/ValidatorNode.d.ts +0 -2
- package/dist/blockchainOld/ValidatorNode.d.ts.map +0 -1
- package/dist/blockchainOld/blockchain.d.ts +0 -2
- package/dist/blockchainOld/blockchain.d.ts.map +0 -1
- package/dist/records/ProofDocument.d.ts +0 -74
- package/dist/records/ProofDocument.d.ts.map +0 -1
- package/dist/records/ProofDocumentVB.d.ts.map +0 -1
- package/dist/records/types.d.ts.map +0 -1
- package/dist/records-old/Merklizer.d.ts +0 -12
- package/dist/records-old/Merklizer.d.ts.map +0 -1
- package/dist/records-old/PepperMerklizer.d.ts +0 -20
- package/dist/records-old/PepperMerklizer.d.ts.map +0 -1
- package/dist/records-old/SaltMerklizer.d.ts +0 -15
- package/dist/records-old/SaltMerklizer.d.ts.map +0 -1
- package/dist/records-old/intermediateRepresentation.d.ts +0 -176
- package/dist/records-old/intermediateRepresentation.d.ts.map +0 -1
- package/dist/records-old/maskManager.d.ts +0 -15
- package/dist/records-old/maskManager.d.ts.map +0 -1
- package/dist/records-old/messageManager.d.ts +0 -8
- package/dist/records-old/messageManager.d.ts.map +0 -1
- package/dist/records-old/pathManager.d.ts +0 -17
- package/dist/records-old/pathManager.d.ts.map +0 -1
- package/dist/type/valibot/stateProofs/AccountProof.d.ts.map +0 -1
- package/dist/type/valibot/stateProofs/MicroblockProof.d.ts.map +0 -1
- package/dist/type/valibot/stateProofs/ProofBlock.d.ts.map +0 -1
|
@@ -0,0 +1,543 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const ProofInfoSchema: v.ObjectSchema<{
|
|
3
|
+
readonly version: v.NumberSchema<undefined>;
|
|
4
|
+
readonly chainId: v.StringSchema<undefined>;
|
|
5
|
+
readonly description: v.StringSchema<undefined>;
|
|
6
|
+
readonly date: v.StringSchema<undefined>;
|
|
7
|
+
readonly author: v.StringSchema<undefined>;
|
|
8
|
+
}, undefined>;
|
|
9
|
+
export type ProofInfo = v.InferOutput<typeof ProofInfoSchema>;
|
|
10
|
+
declare const ProofSignatureCommitmentSchema: v.ObjectSchema<{
|
|
11
|
+
readonly issuedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
12
|
+
readonly digestAlg: v.OptionalSchema<v.PicklistSchema<["sha256"], undefined>, undefined>;
|
|
13
|
+
readonly digestTarget: v.OptionalSchema<v.PicklistSchema<["cborProof"], undefined>, undefined>;
|
|
14
|
+
readonly digest: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
15
|
+
}, undefined>;
|
|
16
|
+
export type ProofSignatureCommitment = v.InferOutput<typeof ProofSignatureCommitmentSchema>;
|
|
17
|
+
declare const ProofSignatureSchema: v.ObjectSchema<{
|
|
18
|
+
readonly commitment: v.ObjectSchema<{
|
|
19
|
+
readonly issuedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
20
|
+
readonly digestAlg: v.OptionalSchema<v.PicklistSchema<["sha256"], undefined>, undefined>;
|
|
21
|
+
readonly digestTarget: v.OptionalSchema<v.PicklistSchema<["cborProof"], undefined>, undefined>;
|
|
22
|
+
readonly digest: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
23
|
+
}, undefined>;
|
|
24
|
+
readonly signer: v.StringSchema<undefined>;
|
|
25
|
+
readonly pubkey: v.StringSchema<undefined>;
|
|
26
|
+
readonly alg: v.PicklistSchema<["ecdsaSecp256k1", "mlDsa65"], undefined>;
|
|
27
|
+
readonly sig: v.StringSchema<undefined>;
|
|
28
|
+
}, undefined>;
|
|
29
|
+
export type ProofSignature = v.InferOutput<typeof ProofSignatureSchema>;
|
|
30
|
+
export declare const SignedProofPayloadSchema: v.IntersectSchema<[v.VariantSchema<"type", [v.ObjectSchema<{
|
|
31
|
+
readonly type: v.LiteralSchema<"appLedgerProof", undefined>;
|
|
32
|
+
readonly proof: v.ObjectSchema<{
|
|
33
|
+
readonly virtualBlockchains: v.ArraySchema<v.ObjectSchema<{
|
|
34
|
+
readonly id: v.StringSchema<undefined>;
|
|
35
|
+
readonly microblocks: v.ArraySchema<v.ObjectSchema<{
|
|
36
|
+
readonly height: v.NumberSchema<undefined>;
|
|
37
|
+
readonly channels: v.ArraySchema<v.ObjectSchema<{
|
|
38
|
+
readonly id: v.NumberSchema<undefined>;
|
|
39
|
+
readonly isPublic: v.BooleanSchema<undefined>;
|
|
40
|
+
readonly nLeaves: v.NumberSchema<undefined>;
|
|
41
|
+
readonly fields: v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
42
|
+
readonly path: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
43
|
+
readonly type: v.LiteralSchema<import("./AppLedgerProof").ProofFieldTypeEnum.Public, undefined>;
|
|
44
|
+
readonly value: v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.BooleanSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
45
|
+
}, undefined>, v.ObjectSchema<{
|
|
46
|
+
readonly type: v.LiteralSchema<import("./AppLedgerProof").ProofFieldTypeEnum.Plain, undefined>;
|
|
47
|
+
readonly salt: v.StringSchema<undefined>;
|
|
48
|
+
readonly value: v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.BooleanSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
49
|
+
readonly path: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
50
|
+
readonly index: v.NumberSchema<undefined>;
|
|
51
|
+
}, undefined>, v.ObjectSchema<{
|
|
52
|
+
readonly type: v.LiteralSchema<import("./AppLedgerProof").ProofFieldTypeEnum.HashableAsPlain, undefined>;
|
|
53
|
+
readonly salt: v.StringSchema<undefined>;
|
|
54
|
+
readonly value: v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.BooleanSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
55
|
+
readonly path: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
56
|
+
readonly index: v.NumberSchema<undefined>;
|
|
57
|
+
}, undefined>, v.ObjectSchema<{
|
|
58
|
+
readonly type: v.LiteralSchema<import("./AppLedgerProof").ProofFieldTypeEnum.HashableAsHash, undefined>;
|
|
59
|
+
readonly salt: v.StringSchema<undefined>;
|
|
60
|
+
readonly hash: v.StringSchema<undefined>;
|
|
61
|
+
readonly path: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
62
|
+
readonly index: v.NumberSchema<undefined>;
|
|
63
|
+
}, undefined>, v.ObjectSchema<{
|
|
64
|
+
readonly type: v.LiteralSchema<import("./AppLedgerProof").ProofFieldTypeEnum.MaskableAsAllParts, undefined>;
|
|
65
|
+
readonly vSalt: v.StringSchema<undefined>;
|
|
66
|
+
readonly vParts: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
67
|
+
readonly hSalt: v.StringSchema<undefined>;
|
|
68
|
+
readonly hParts: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
69
|
+
readonly path: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
70
|
+
readonly index: v.NumberSchema<undefined>;
|
|
71
|
+
}, undefined>, v.ObjectSchema<{
|
|
72
|
+
readonly type: v.LiteralSchema<import("./AppLedgerProof").ProofFieldTypeEnum.MaskableAsVisibleParts, undefined>;
|
|
73
|
+
readonly vSalt: v.StringSchema<undefined>;
|
|
74
|
+
readonly vParts: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
75
|
+
readonly hHash: v.StringSchema<undefined>;
|
|
76
|
+
readonly path: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
77
|
+
readonly index: v.NumberSchema<undefined>;
|
|
78
|
+
}, undefined>], undefined>, undefined>;
|
|
79
|
+
readonly witnesses: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
80
|
+
}, undefined>, undefined>;
|
|
81
|
+
}, undefined>, undefined>;
|
|
82
|
+
}, undefined>, undefined>;
|
|
83
|
+
}, undefined>;
|
|
84
|
+
}, undefined>, v.ObjectSchema<{
|
|
85
|
+
readonly type: v.LiteralSchema<"accountProof", undefined>;
|
|
86
|
+
readonly proof: v.ObjectSchema<{
|
|
87
|
+
readonly accounts: v.ArraySchema<v.ObjectSchema<{
|
|
88
|
+
readonly block: v.ObjectSchema<{
|
|
89
|
+
readonly height: v.NumberSchema<undefined>;
|
|
90
|
+
readonly vbRadixHash: v.StringSchema<undefined>;
|
|
91
|
+
readonly tokenRadixHash: v.StringSchema<undefined>;
|
|
92
|
+
readonly storageHash: v.StringSchema<undefined>;
|
|
93
|
+
readonly appHash: v.StringSchema<undefined>;
|
|
94
|
+
}, undefined>;
|
|
95
|
+
readonly account: v.ObjectSchema<{
|
|
96
|
+
readonly virtualBlockchainId: v.StringSchema<undefined>;
|
|
97
|
+
readonly serializedState: v.StringSchema<undefined>;
|
|
98
|
+
readonly radixProof: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
99
|
+
}, undefined>;
|
|
100
|
+
}, undefined>, undefined>;
|
|
101
|
+
}, undefined>;
|
|
102
|
+
}, undefined>, v.ObjectSchema<{
|
|
103
|
+
readonly type: v.LiteralSchema<"microblockProof", undefined>;
|
|
104
|
+
readonly proof: v.ObjectSchema<{
|
|
105
|
+
readonly microblocks: v.ArraySchema<v.ObjectSchema<{
|
|
106
|
+
readonly block: v.ObjectSchema<{
|
|
107
|
+
readonly height: v.NumberSchema<undefined>;
|
|
108
|
+
readonly vbRadixHash: v.StringSchema<undefined>;
|
|
109
|
+
readonly tokenRadixHash: v.StringSchema<undefined>;
|
|
110
|
+
readonly storageHash: v.StringSchema<undefined>;
|
|
111
|
+
readonly appHash: v.StringSchema<undefined>;
|
|
112
|
+
}, undefined>;
|
|
113
|
+
readonly microblock: v.ObjectSchema<{
|
|
114
|
+
readonly virtualBlockchainId: v.StringSchema<undefined>;
|
|
115
|
+
readonly height: v.NumberSchema<undefined>;
|
|
116
|
+
readonly hash: v.StringSchema<undefined>;
|
|
117
|
+
}, undefined>;
|
|
118
|
+
readonly virtualBlockchain: v.ObjectSchema<{
|
|
119
|
+
readonly serializedState: v.StringSchema<undefined>;
|
|
120
|
+
readonly merkleWitnesses: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
121
|
+
readonly radixProof: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
122
|
+
}, undefined>;
|
|
123
|
+
}, undefined>, undefined>;
|
|
124
|
+
}, undefined>;
|
|
125
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
126
|
+
readonly info: v.ObjectSchema<{
|
|
127
|
+
readonly version: v.NumberSchema<undefined>;
|
|
128
|
+
readonly chainId: v.StringSchema<undefined>;
|
|
129
|
+
readonly description: v.StringSchema<undefined>;
|
|
130
|
+
readonly date: v.StringSchema<undefined>;
|
|
131
|
+
readonly author: v.StringSchema<undefined>;
|
|
132
|
+
}, undefined>;
|
|
133
|
+
}, undefined>], undefined>;
|
|
134
|
+
export type SignedProofPayload = v.InferOutput<typeof SignedProofPayloadSchema>;
|
|
135
|
+
export declare const WrappedProofSchema: v.IntersectSchema<[v.IntersectSchema<[v.VariantSchema<"type", [v.ObjectSchema<{
|
|
136
|
+
readonly type: v.LiteralSchema<"appLedgerProof", undefined>;
|
|
137
|
+
readonly proof: v.ObjectSchema<{
|
|
138
|
+
readonly virtualBlockchains: v.ArraySchema<v.ObjectSchema<{
|
|
139
|
+
readonly id: v.StringSchema<undefined>;
|
|
140
|
+
readonly microblocks: v.ArraySchema<v.ObjectSchema<{
|
|
141
|
+
readonly height: v.NumberSchema<undefined>;
|
|
142
|
+
readonly channels: v.ArraySchema<v.ObjectSchema<{
|
|
143
|
+
readonly id: v.NumberSchema<undefined>;
|
|
144
|
+
readonly isPublic: v.BooleanSchema<undefined>;
|
|
145
|
+
readonly nLeaves: v.NumberSchema<undefined>;
|
|
146
|
+
readonly fields: v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
147
|
+
readonly path: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
148
|
+
readonly type: v.LiteralSchema<import("./AppLedgerProof").ProofFieldTypeEnum.Public, undefined>;
|
|
149
|
+
readonly value: v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.BooleanSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
150
|
+
}, undefined>, v.ObjectSchema<{
|
|
151
|
+
readonly type: v.LiteralSchema<import("./AppLedgerProof").ProofFieldTypeEnum.Plain, undefined>;
|
|
152
|
+
readonly salt: v.StringSchema<undefined>;
|
|
153
|
+
readonly value: v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.BooleanSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
154
|
+
readonly path: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
155
|
+
readonly index: v.NumberSchema<undefined>;
|
|
156
|
+
}, undefined>, v.ObjectSchema<{
|
|
157
|
+
readonly type: v.LiteralSchema<import("./AppLedgerProof").ProofFieldTypeEnum.HashableAsPlain, undefined>;
|
|
158
|
+
readonly salt: v.StringSchema<undefined>;
|
|
159
|
+
readonly value: v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.BooleanSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
160
|
+
readonly path: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
161
|
+
readonly index: v.NumberSchema<undefined>;
|
|
162
|
+
}, undefined>, v.ObjectSchema<{
|
|
163
|
+
readonly type: v.LiteralSchema<import("./AppLedgerProof").ProofFieldTypeEnum.HashableAsHash, undefined>;
|
|
164
|
+
readonly salt: v.StringSchema<undefined>;
|
|
165
|
+
readonly hash: v.StringSchema<undefined>;
|
|
166
|
+
readonly path: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
167
|
+
readonly index: v.NumberSchema<undefined>;
|
|
168
|
+
}, undefined>, v.ObjectSchema<{
|
|
169
|
+
readonly type: v.LiteralSchema<import("./AppLedgerProof").ProofFieldTypeEnum.MaskableAsAllParts, undefined>;
|
|
170
|
+
readonly vSalt: v.StringSchema<undefined>;
|
|
171
|
+
readonly vParts: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
172
|
+
readonly hSalt: v.StringSchema<undefined>;
|
|
173
|
+
readonly hParts: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
174
|
+
readonly path: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
175
|
+
readonly index: v.NumberSchema<undefined>;
|
|
176
|
+
}, undefined>, v.ObjectSchema<{
|
|
177
|
+
readonly type: v.LiteralSchema<import("./AppLedgerProof").ProofFieldTypeEnum.MaskableAsVisibleParts, undefined>;
|
|
178
|
+
readonly vSalt: v.StringSchema<undefined>;
|
|
179
|
+
readonly vParts: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
180
|
+
readonly hHash: v.StringSchema<undefined>;
|
|
181
|
+
readonly path: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
182
|
+
readonly index: v.NumberSchema<undefined>;
|
|
183
|
+
}, undefined>], undefined>, undefined>;
|
|
184
|
+
readonly witnesses: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
185
|
+
}, undefined>, undefined>;
|
|
186
|
+
}, undefined>, undefined>;
|
|
187
|
+
}, undefined>, undefined>;
|
|
188
|
+
}, undefined>;
|
|
189
|
+
}, undefined>, v.ObjectSchema<{
|
|
190
|
+
readonly type: v.LiteralSchema<"accountProof", undefined>;
|
|
191
|
+
readonly proof: v.ObjectSchema<{
|
|
192
|
+
readonly accounts: v.ArraySchema<v.ObjectSchema<{
|
|
193
|
+
readonly block: v.ObjectSchema<{
|
|
194
|
+
readonly height: v.NumberSchema<undefined>;
|
|
195
|
+
readonly vbRadixHash: v.StringSchema<undefined>;
|
|
196
|
+
readonly tokenRadixHash: v.StringSchema<undefined>;
|
|
197
|
+
readonly storageHash: v.StringSchema<undefined>;
|
|
198
|
+
readonly appHash: v.StringSchema<undefined>;
|
|
199
|
+
}, undefined>;
|
|
200
|
+
readonly account: v.ObjectSchema<{
|
|
201
|
+
readonly virtualBlockchainId: v.StringSchema<undefined>;
|
|
202
|
+
readonly serializedState: v.StringSchema<undefined>;
|
|
203
|
+
readonly radixProof: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
204
|
+
}, undefined>;
|
|
205
|
+
}, undefined>, undefined>;
|
|
206
|
+
}, undefined>;
|
|
207
|
+
}, undefined>, v.ObjectSchema<{
|
|
208
|
+
readonly type: v.LiteralSchema<"microblockProof", undefined>;
|
|
209
|
+
readonly proof: v.ObjectSchema<{
|
|
210
|
+
readonly microblocks: v.ArraySchema<v.ObjectSchema<{
|
|
211
|
+
readonly block: v.ObjectSchema<{
|
|
212
|
+
readonly height: v.NumberSchema<undefined>;
|
|
213
|
+
readonly vbRadixHash: v.StringSchema<undefined>;
|
|
214
|
+
readonly tokenRadixHash: v.StringSchema<undefined>;
|
|
215
|
+
readonly storageHash: v.StringSchema<undefined>;
|
|
216
|
+
readonly appHash: v.StringSchema<undefined>;
|
|
217
|
+
}, undefined>;
|
|
218
|
+
readonly microblock: v.ObjectSchema<{
|
|
219
|
+
readonly virtualBlockchainId: v.StringSchema<undefined>;
|
|
220
|
+
readonly height: v.NumberSchema<undefined>;
|
|
221
|
+
readonly hash: v.StringSchema<undefined>;
|
|
222
|
+
}, undefined>;
|
|
223
|
+
readonly virtualBlockchain: v.ObjectSchema<{
|
|
224
|
+
readonly serializedState: v.StringSchema<undefined>;
|
|
225
|
+
readonly merkleWitnesses: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
226
|
+
readonly radixProof: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
227
|
+
}, undefined>;
|
|
228
|
+
}, undefined>, undefined>;
|
|
229
|
+
}, undefined>;
|
|
230
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
231
|
+
readonly info: v.ObjectSchema<{
|
|
232
|
+
readonly version: v.NumberSchema<undefined>;
|
|
233
|
+
readonly chainId: v.StringSchema<undefined>;
|
|
234
|
+
readonly description: v.StringSchema<undefined>;
|
|
235
|
+
readonly date: v.StringSchema<undefined>;
|
|
236
|
+
readonly author: v.StringSchema<undefined>;
|
|
237
|
+
}, undefined>;
|
|
238
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
239
|
+
readonly signature: v.OptionalSchema<v.ObjectSchema<{
|
|
240
|
+
readonly commitment: v.ObjectSchema<{
|
|
241
|
+
readonly issuedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
242
|
+
readonly digestAlg: v.OptionalSchema<v.PicklistSchema<["sha256"], undefined>, undefined>;
|
|
243
|
+
readonly digestTarget: v.OptionalSchema<v.PicklistSchema<["cborProof"], undefined>, undefined>;
|
|
244
|
+
readonly digest: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
245
|
+
}, undefined>;
|
|
246
|
+
readonly signer: v.StringSchema<undefined>;
|
|
247
|
+
readonly pubkey: v.StringSchema<undefined>;
|
|
248
|
+
readonly alg: v.PicklistSchema<["ecdsaSecp256k1", "mlDsa65"], undefined>;
|
|
249
|
+
readonly sig: v.StringSchema<undefined>;
|
|
250
|
+
}, undefined>, undefined>;
|
|
251
|
+
}, undefined>], undefined>;
|
|
252
|
+
export type WrappedProof = v.InferOutput<typeof WrappedProofSchema>;
|
|
253
|
+
export declare const SignedAppLedgerPayloadSchema: v.IntersectSchema<[v.ObjectSchema<{
|
|
254
|
+
readonly type: v.LiteralSchema<"appLedgerProof", undefined>;
|
|
255
|
+
readonly proof: v.ObjectSchema<{
|
|
256
|
+
readonly virtualBlockchains: v.ArraySchema<v.ObjectSchema<{
|
|
257
|
+
readonly id: v.StringSchema<undefined>;
|
|
258
|
+
readonly microblocks: v.ArraySchema<v.ObjectSchema<{
|
|
259
|
+
readonly height: v.NumberSchema<undefined>;
|
|
260
|
+
readonly channels: v.ArraySchema<v.ObjectSchema<{
|
|
261
|
+
readonly id: v.NumberSchema<undefined>;
|
|
262
|
+
readonly isPublic: v.BooleanSchema<undefined>;
|
|
263
|
+
readonly nLeaves: v.NumberSchema<undefined>;
|
|
264
|
+
readonly fields: v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
265
|
+
readonly path: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
266
|
+
readonly type: v.LiteralSchema<import("./AppLedgerProof").ProofFieldTypeEnum.Public, undefined>;
|
|
267
|
+
readonly value: v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.BooleanSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
268
|
+
}, undefined>, v.ObjectSchema<{
|
|
269
|
+
readonly type: v.LiteralSchema<import("./AppLedgerProof").ProofFieldTypeEnum.Plain, undefined>;
|
|
270
|
+
readonly salt: v.StringSchema<undefined>;
|
|
271
|
+
readonly value: v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.BooleanSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
272
|
+
readonly path: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
273
|
+
readonly index: v.NumberSchema<undefined>;
|
|
274
|
+
}, undefined>, v.ObjectSchema<{
|
|
275
|
+
readonly type: v.LiteralSchema<import("./AppLedgerProof").ProofFieldTypeEnum.HashableAsPlain, undefined>;
|
|
276
|
+
readonly salt: v.StringSchema<undefined>;
|
|
277
|
+
readonly value: v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.BooleanSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
278
|
+
readonly path: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
279
|
+
readonly index: v.NumberSchema<undefined>;
|
|
280
|
+
}, undefined>, v.ObjectSchema<{
|
|
281
|
+
readonly type: v.LiteralSchema<import("./AppLedgerProof").ProofFieldTypeEnum.HashableAsHash, undefined>;
|
|
282
|
+
readonly salt: v.StringSchema<undefined>;
|
|
283
|
+
readonly hash: v.StringSchema<undefined>;
|
|
284
|
+
readonly path: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
285
|
+
readonly index: v.NumberSchema<undefined>;
|
|
286
|
+
}, undefined>, v.ObjectSchema<{
|
|
287
|
+
readonly type: v.LiteralSchema<import("./AppLedgerProof").ProofFieldTypeEnum.MaskableAsAllParts, undefined>;
|
|
288
|
+
readonly vSalt: v.StringSchema<undefined>;
|
|
289
|
+
readonly vParts: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
290
|
+
readonly hSalt: v.StringSchema<undefined>;
|
|
291
|
+
readonly hParts: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
292
|
+
readonly path: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
293
|
+
readonly index: v.NumberSchema<undefined>;
|
|
294
|
+
}, undefined>, v.ObjectSchema<{
|
|
295
|
+
readonly type: v.LiteralSchema<import("./AppLedgerProof").ProofFieldTypeEnum.MaskableAsVisibleParts, undefined>;
|
|
296
|
+
readonly vSalt: v.StringSchema<undefined>;
|
|
297
|
+
readonly vParts: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
298
|
+
readonly hHash: v.StringSchema<undefined>;
|
|
299
|
+
readonly path: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
300
|
+
readonly index: v.NumberSchema<undefined>;
|
|
301
|
+
}, undefined>], undefined>, undefined>;
|
|
302
|
+
readonly witnesses: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
303
|
+
}, undefined>, undefined>;
|
|
304
|
+
}, undefined>, undefined>;
|
|
305
|
+
}, undefined>, undefined>;
|
|
306
|
+
}, undefined>;
|
|
307
|
+
}, undefined>, v.ObjectSchema<{
|
|
308
|
+
readonly info: v.ObjectSchema<{
|
|
309
|
+
readonly version: v.NumberSchema<undefined>;
|
|
310
|
+
readonly chainId: v.StringSchema<undefined>;
|
|
311
|
+
readonly description: v.StringSchema<undefined>;
|
|
312
|
+
readonly date: v.StringSchema<undefined>;
|
|
313
|
+
readonly author: v.StringSchema<undefined>;
|
|
314
|
+
}, undefined>;
|
|
315
|
+
}, undefined>], undefined>;
|
|
316
|
+
export type SignedAppLedgerPayload = v.InferOutput<typeof SignedAppLedgerPayloadSchema>;
|
|
317
|
+
export declare const WrappedAppLedgerProofSchema: v.IntersectSchema<[v.IntersectSchema<[v.ObjectSchema<{
|
|
318
|
+
readonly type: v.LiteralSchema<"appLedgerProof", undefined>;
|
|
319
|
+
readonly proof: v.ObjectSchema<{
|
|
320
|
+
readonly virtualBlockchains: v.ArraySchema<v.ObjectSchema<{
|
|
321
|
+
readonly id: v.StringSchema<undefined>;
|
|
322
|
+
readonly microblocks: v.ArraySchema<v.ObjectSchema<{
|
|
323
|
+
readonly height: v.NumberSchema<undefined>;
|
|
324
|
+
readonly channels: v.ArraySchema<v.ObjectSchema<{
|
|
325
|
+
readonly id: v.NumberSchema<undefined>;
|
|
326
|
+
readonly isPublic: v.BooleanSchema<undefined>;
|
|
327
|
+
readonly nLeaves: v.NumberSchema<undefined>;
|
|
328
|
+
readonly fields: v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
329
|
+
readonly path: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
330
|
+
readonly type: v.LiteralSchema<import("./AppLedgerProof").ProofFieldTypeEnum.Public, undefined>;
|
|
331
|
+
readonly value: v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.BooleanSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
332
|
+
}, undefined>, v.ObjectSchema<{
|
|
333
|
+
readonly type: v.LiteralSchema<import("./AppLedgerProof").ProofFieldTypeEnum.Plain, undefined>;
|
|
334
|
+
readonly salt: v.StringSchema<undefined>;
|
|
335
|
+
readonly value: v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.BooleanSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
336
|
+
readonly path: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
337
|
+
readonly index: v.NumberSchema<undefined>;
|
|
338
|
+
}, undefined>, v.ObjectSchema<{
|
|
339
|
+
readonly type: v.LiteralSchema<import("./AppLedgerProof").ProofFieldTypeEnum.HashableAsPlain, undefined>;
|
|
340
|
+
readonly salt: v.StringSchema<undefined>;
|
|
341
|
+
readonly value: v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.BooleanSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
342
|
+
readonly path: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
343
|
+
readonly index: v.NumberSchema<undefined>;
|
|
344
|
+
}, undefined>, v.ObjectSchema<{
|
|
345
|
+
readonly type: v.LiteralSchema<import("./AppLedgerProof").ProofFieldTypeEnum.HashableAsHash, undefined>;
|
|
346
|
+
readonly salt: v.StringSchema<undefined>;
|
|
347
|
+
readonly hash: v.StringSchema<undefined>;
|
|
348
|
+
readonly path: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
349
|
+
readonly index: v.NumberSchema<undefined>;
|
|
350
|
+
}, undefined>, v.ObjectSchema<{
|
|
351
|
+
readonly type: v.LiteralSchema<import("./AppLedgerProof").ProofFieldTypeEnum.MaskableAsAllParts, undefined>;
|
|
352
|
+
readonly vSalt: v.StringSchema<undefined>;
|
|
353
|
+
readonly vParts: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
354
|
+
readonly hSalt: v.StringSchema<undefined>;
|
|
355
|
+
readonly hParts: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
356
|
+
readonly path: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
357
|
+
readonly index: v.NumberSchema<undefined>;
|
|
358
|
+
}, undefined>, v.ObjectSchema<{
|
|
359
|
+
readonly type: v.LiteralSchema<import("./AppLedgerProof").ProofFieldTypeEnum.MaskableAsVisibleParts, undefined>;
|
|
360
|
+
readonly vSalt: v.StringSchema<undefined>;
|
|
361
|
+
readonly vParts: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
362
|
+
readonly hHash: v.StringSchema<undefined>;
|
|
363
|
+
readonly path: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
364
|
+
readonly index: v.NumberSchema<undefined>;
|
|
365
|
+
}, undefined>], undefined>, undefined>;
|
|
366
|
+
readonly witnesses: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
367
|
+
}, undefined>, undefined>;
|
|
368
|
+
}, undefined>, undefined>;
|
|
369
|
+
}, undefined>, undefined>;
|
|
370
|
+
}, undefined>;
|
|
371
|
+
}, undefined>, v.ObjectSchema<{
|
|
372
|
+
readonly info: v.ObjectSchema<{
|
|
373
|
+
readonly version: v.NumberSchema<undefined>;
|
|
374
|
+
readonly chainId: v.StringSchema<undefined>;
|
|
375
|
+
readonly description: v.StringSchema<undefined>;
|
|
376
|
+
readonly date: v.StringSchema<undefined>;
|
|
377
|
+
readonly author: v.StringSchema<undefined>;
|
|
378
|
+
}, undefined>;
|
|
379
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
380
|
+
readonly signature: v.OptionalSchema<v.ObjectSchema<{
|
|
381
|
+
readonly commitment: v.ObjectSchema<{
|
|
382
|
+
readonly issuedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
383
|
+
readonly digestAlg: v.OptionalSchema<v.PicklistSchema<["sha256"], undefined>, undefined>;
|
|
384
|
+
readonly digestTarget: v.OptionalSchema<v.PicklistSchema<["cborProof"], undefined>, undefined>;
|
|
385
|
+
readonly digest: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
386
|
+
}, undefined>;
|
|
387
|
+
readonly signer: v.StringSchema<undefined>;
|
|
388
|
+
readonly pubkey: v.StringSchema<undefined>;
|
|
389
|
+
readonly alg: v.PicklistSchema<["ecdsaSecp256k1", "mlDsa65"], undefined>;
|
|
390
|
+
readonly sig: v.StringSchema<undefined>;
|
|
391
|
+
}, undefined>, undefined>;
|
|
392
|
+
}, undefined>], undefined>;
|
|
393
|
+
export type WrappedAppLedgerProof = v.InferOutput<typeof WrappedAppLedgerProofSchema>;
|
|
394
|
+
export declare const SignedAccountPayloadSchema: v.IntersectSchema<[v.ObjectSchema<{
|
|
395
|
+
readonly type: v.LiteralSchema<"accountProof", undefined>;
|
|
396
|
+
readonly proof: v.ObjectSchema<{
|
|
397
|
+
readonly accounts: v.ArraySchema<v.ObjectSchema<{
|
|
398
|
+
readonly block: v.ObjectSchema<{
|
|
399
|
+
readonly height: v.NumberSchema<undefined>;
|
|
400
|
+
readonly vbRadixHash: v.StringSchema<undefined>;
|
|
401
|
+
readonly tokenRadixHash: v.StringSchema<undefined>;
|
|
402
|
+
readonly storageHash: v.StringSchema<undefined>;
|
|
403
|
+
readonly appHash: v.StringSchema<undefined>;
|
|
404
|
+
}, undefined>;
|
|
405
|
+
readonly account: v.ObjectSchema<{
|
|
406
|
+
readonly virtualBlockchainId: v.StringSchema<undefined>;
|
|
407
|
+
readonly serializedState: v.StringSchema<undefined>;
|
|
408
|
+
readonly radixProof: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
409
|
+
}, undefined>;
|
|
410
|
+
}, undefined>, undefined>;
|
|
411
|
+
}, undefined>;
|
|
412
|
+
}, undefined>, v.ObjectSchema<{
|
|
413
|
+
readonly info: v.ObjectSchema<{
|
|
414
|
+
readonly version: v.NumberSchema<undefined>;
|
|
415
|
+
readonly chainId: v.StringSchema<undefined>;
|
|
416
|
+
readonly description: v.StringSchema<undefined>;
|
|
417
|
+
readonly date: v.StringSchema<undefined>;
|
|
418
|
+
readonly author: v.StringSchema<undefined>;
|
|
419
|
+
}, undefined>;
|
|
420
|
+
}, undefined>], undefined>;
|
|
421
|
+
export type SignedAccountPayload = v.InferOutput<typeof SignedAccountPayloadSchema>;
|
|
422
|
+
export declare const WrappedAccountProofSchema: v.IntersectSchema<[v.IntersectSchema<[v.ObjectSchema<{
|
|
423
|
+
readonly type: v.LiteralSchema<"accountProof", undefined>;
|
|
424
|
+
readonly proof: v.ObjectSchema<{
|
|
425
|
+
readonly accounts: v.ArraySchema<v.ObjectSchema<{
|
|
426
|
+
readonly block: v.ObjectSchema<{
|
|
427
|
+
readonly height: v.NumberSchema<undefined>;
|
|
428
|
+
readonly vbRadixHash: v.StringSchema<undefined>;
|
|
429
|
+
readonly tokenRadixHash: v.StringSchema<undefined>;
|
|
430
|
+
readonly storageHash: v.StringSchema<undefined>;
|
|
431
|
+
readonly appHash: v.StringSchema<undefined>;
|
|
432
|
+
}, undefined>;
|
|
433
|
+
readonly account: v.ObjectSchema<{
|
|
434
|
+
readonly virtualBlockchainId: v.StringSchema<undefined>;
|
|
435
|
+
readonly serializedState: v.StringSchema<undefined>;
|
|
436
|
+
readonly radixProof: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
437
|
+
}, undefined>;
|
|
438
|
+
}, undefined>, undefined>;
|
|
439
|
+
}, undefined>;
|
|
440
|
+
}, undefined>, v.ObjectSchema<{
|
|
441
|
+
readonly info: v.ObjectSchema<{
|
|
442
|
+
readonly version: v.NumberSchema<undefined>;
|
|
443
|
+
readonly chainId: v.StringSchema<undefined>;
|
|
444
|
+
readonly description: v.StringSchema<undefined>;
|
|
445
|
+
readonly date: v.StringSchema<undefined>;
|
|
446
|
+
readonly author: v.StringSchema<undefined>;
|
|
447
|
+
}, undefined>;
|
|
448
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
449
|
+
readonly signature: v.OptionalSchema<v.ObjectSchema<{
|
|
450
|
+
readonly commitment: v.ObjectSchema<{
|
|
451
|
+
readonly issuedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
452
|
+
readonly digestAlg: v.OptionalSchema<v.PicklistSchema<["sha256"], undefined>, undefined>;
|
|
453
|
+
readonly digestTarget: v.OptionalSchema<v.PicklistSchema<["cborProof"], undefined>, undefined>;
|
|
454
|
+
readonly digest: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
455
|
+
}, undefined>;
|
|
456
|
+
readonly signer: v.StringSchema<undefined>;
|
|
457
|
+
readonly pubkey: v.StringSchema<undefined>;
|
|
458
|
+
readonly alg: v.PicklistSchema<["ecdsaSecp256k1", "mlDsa65"], undefined>;
|
|
459
|
+
readonly sig: v.StringSchema<undefined>;
|
|
460
|
+
}, undefined>, undefined>;
|
|
461
|
+
}, undefined>], undefined>;
|
|
462
|
+
export type WrappedAccountProof = v.InferOutput<typeof WrappedAccountProofSchema>;
|
|
463
|
+
export declare const SignedMicroblockPayloadSchema: v.IntersectSchema<[v.ObjectSchema<{
|
|
464
|
+
readonly type: v.LiteralSchema<"microblockProof", undefined>;
|
|
465
|
+
readonly proof: v.ObjectSchema<{
|
|
466
|
+
readonly microblocks: v.ArraySchema<v.ObjectSchema<{
|
|
467
|
+
readonly block: v.ObjectSchema<{
|
|
468
|
+
readonly height: v.NumberSchema<undefined>;
|
|
469
|
+
readonly vbRadixHash: v.StringSchema<undefined>;
|
|
470
|
+
readonly tokenRadixHash: v.StringSchema<undefined>;
|
|
471
|
+
readonly storageHash: v.StringSchema<undefined>;
|
|
472
|
+
readonly appHash: v.StringSchema<undefined>;
|
|
473
|
+
}, undefined>;
|
|
474
|
+
readonly microblock: v.ObjectSchema<{
|
|
475
|
+
readonly virtualBlockchainId: v.StringSchema<undefined>;
|
|
476
|
+
readonly height: v.NumberSchema<undefined>;
|
|
477
|
+
readonly hash: v.StringSchema<undefined>;
|
|
478
|
+
}, undefined>;
|
|
479
|
+
readonly virtualBlockchain: v.ObjectSchema<{
|
|
480
|
+
readonly serializedState: v.StringSchema<undefined>;
|
|
481
|
+
readonly merkleWitnesses: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
482
|
+
readonly radixProof: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
483
|
+
}, undefined>;
|
|
484
|
+
}, undefined>, undefined>;
|
|
485
|
+
}, undefined>;
|
|
486
|
+
}, undefined>, v.ObjectSchema<{
|
|
487
|
+
readonly info: v.ObjectSchema<{
|
|
488
|
+
readonly version: v.NumberSchema<undefined>;
|
|
489
|
+
readonly chainId: v.StringSchema<undefined>;
|
|
490
|
+
readonly description: v.StringSchema<undefined>;
|
|
491
|
+
readonly date: v.StringSchema<undefined>;
|
|
492
|
+
readonly author: v.StringSchema<undefined>;
|
|
493
|
+
}, undefined>;
|
|
494
|
+
}, undefined>], undefined>;
|
|
495
|
+
export type SignedMicroblockPayload = v.InferOutput<typeof SignedMicroblockPayloadSchema>;
|
|
496
|
+
export declare const WrappedMicroblockProofSchema: v.IntersectSchema<[v.IntersectSchema<[v.ObjectSchema<{
|
|
497
|
+
readonly type: v.LiteralSchema<"microblockProof", undefined>;
|
|
498
|
+
readonly proof: v.ObjectSchema<{
|
|
499
|
+
readonly microblocks: v.ArraySchema<v.ObjectSchema<{
|
|
500
|
+
readonly block: v.ObjectSchema<{
|
|
501
|
+
readonly height: v.NumberSchema<undefined>;
|
|
502
|
+
readonly vbRadixHash: v.StringSchema<undefined>;
|
|
503
|
+
readonly tokenRadixHash: v.StringSchema<undefined>;
|
|
504
|
+
readonly storageHash: v.StringSchema<undefined>;
|
|
505
|
+
readonly appHash: v.StringSchema<undefined>;
|
|
506
|
+
}, undefined>;
|
|
507
|
+
readonly microblock: v.ObjectSchema<{
|
|
508
|
+
readonly virtualBlockchainId: v.StringSchema<undefined>;
|
|
509
|
+
readonly height: v.NumberSchema<undefined>;
|
|
510
|
+
readonly hash: v.StringSchema<undefined>;
|
|
511
|
+
}, undefined>;
|
|
512
|
+
readonly virtualBlockchain: v.ObjectSchema<{
|
|
513
|
+
readonly serializedState: v.StringSchema<undefined>;
|
|
514
|
+
readonly merkleWitnesses: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
515
|
+
readonly radixProof: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
516
|
+
}, undefined>;
|
|
517
|
+
}, undefined>, undefined>;
|
|
518
|
+
}, undefined>;
|
|
519
|
+
}, undefined>, v.ObjectSchema<{
|
|
520
|
+
readonly info: v.ObjectSchema<{
|
|
521
|
+
readonly version: v.NumberSchema<undefined>;
|
|
522
|
+
readonly chainId: v.StringSchema<undefined>;
|
|
523
|
+
readonly description: v.StringSchema<undefined>;
|
|
524
|
+
readonly date: v.StringSchema<undefined>;
|
|
525
|
+
readonly author: v.StringSchema<undefined>;
|
|
526
|
+
}, undefined>;
|
|
527
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
|
528
|
+
readonly signature: v.OptionalSchema<v.ObjectSchema<{
|
|
529
|
+
readonly commitment: v.ObjectSchema<{
|
|
530
|
+
readonly issuedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
531
|
+
readonly digestAlg: v.OptionalSchema<v.PicklistSchema<["sha256"], undefined>, undefined>;
|
|
532
|
+
readonly digestTarget: v.OptionalSchema<v.PicklistSchema<["cborProof"], undefined>, undefined>;
|
|
533
|
+
readonly digest: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
534
|
+
}, undefined>;
|
|
535
|
+
readonly signer: v.StringSchema<undefined>;
|
|
536
|
+
readonly pubkey: v.StringSchema<undefined>;
|
|
537
|
+
readonly alg: v.PicklistSchema<["ecdsaSecp256k1", "mlDsa65"], undefined>;
|
|
538
|
+
readonly sig: v.StringSchema<undefined>;
|
|
539
|
+
}, undefined>, undefined>;
|
|
540
|
+
}, undefined>], undefined>;
|
|
541
|
+
export type WrappedMicroblockProof = v.InferOutput<typeof WrappedMicroblockProofSchema>;
|
|
542
|
+
export {};
|
|
543
|
+
//# sourceMappingURL=CarmentisProof.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CarmentisProof.d.ts","sourceRoot":"","sources":["../../../../src/type/valibot/proofs/CarmentisProof.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAC;AAK7B,eAAO,MAAM,eAAe;;;;;;aAM1B,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,QAAA,MAAM,8BAA8B;;;;;aAKlC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAE5F,QAAA,MAAM,oBAAoB;;;;;;;;;;;aAMxB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAgBxE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAAqD,CAAC;AAC3F,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAEhF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAAkE,CAAC;AAClG,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAGpE,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAA2D,CAAC;AACrG,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAExF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAAsE,CAAC;AAC/G,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAGtF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;0BAAyD,CAAC;AACjG,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAEpF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAAoE,CAAC;AAC3G,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAGlF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAA4D,CAAC;AACvG,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAE1F,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAAuE,CAAC;AACjH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
|