@cmts-dev/carmentis-sdk-core 1.2.29 → 1.2.31
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/carmentis-sdk-core.cjs +4 -4
- package/dist/carmentis-sdk-core.js +2552 -2548
- package/dist/type/valibot/account/Account.d.ts +10 -0
- package/dist/type/valibot/account/Account.d.ts.map +1 -1
- package/dist/type/valibot/blockchain/microblock/MicroblockBody.d.ts +27 -81
- package/dist/type/valibot/blockchain/microblock/MicroblockBody.d.ts.map +1 -1
- package/dist/type/valibot/blockchain/microblock/MicroblockHeader.d.ts +5 -5
- package/dist/type/valibot/blockchain/microblock/MicroblockStruct.d.ts +32 -86
- package/dist/type/valibot/blockchain/microblock/MicroblockStruct.d.ts.map +1 -1
- package/dist/type/valibot/blockchain/section/sections.d.ts +54 -162
- package/dist/type/valibot/blockchain/section/sections.d.ts.map +1 -1
- package/dist/type/valibot/blockchain/virtualBlockchain/internalStates.d.ts +11 -11
- package/dist/type/valibot/blockchain/virtualBlockchain/virtualBlockchains.d.ts +14 -14
- package/dist/type/valibot/primitives.d.ts +8 -1
- package/dist/type/valibot/primitives.d.ts.map +1 -1
- package/dist/type/valibot/provider/MicroblockInformationSchema.d.ts +5 -5
- package/dist/type/valibot/provider/VirtualBlockchainStatus.d.ts +7 -7
- package/dist/type/valibot/provider/abci/AbciRequest.d.ts +20 -0
- package/dist/type/valibot/provider/abci/AbciRequest.d.ts.map +1 -1
- package/dist/type/valibot/provider/abci/AbciResponse.d.ts +115 -277
- package/dist/type/valibot/provider/abci/AbciResponse.d.ts.map +1 -1
- package/dist/type/valibot/stateProofs/MicroblockProof.d.ts +7 -7
- package/package.json +2 -1
|
@@ -128,9 +128,7 @@ export declare const AccountPublicKeySectionSchema: val.ObjectSchema<{
|
|
|
128
128
|
export type AccountPublicKeySection = val.InferOutput<typeof AccountPublicKeySectionSchema>;
|
|
129
129
|
export declare const AccountTokenIssuanceSectionSchema: val.ObjectSchema<{
|
|
130
130
|
readonly type: val.LiteralSchema<SectionType.ACCOUNT_TOKEN_ISSUANCE, undefined>;
|
|
131
|
-
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
132
|
-
readonly typeId: 3;
|
|
133
|
-
}>]>;
|
|
131
|
+
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
134
132
|
}, undefined>;
|
|
135
133
|
export type AccountTokenIssuanceSection = val.InferOutput<typeof AccountTokenIssuanceSectionSchema>;
|
|
136
134
|
export declare const AccountCreationSectionSchema: val.ObjectSchema<{
|
|
@@ -145,9 +143,7 @@ export declare const AccountCreationSectionSchema: val.ObjectSchema<{
|
|
|
145
143
|
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
146
144
|
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
147
145
|
}, undefined>;
|
|
148
|
-
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
149
|
-
readonly typeId: 3;
|
|
150
|
-
}>]>;
|
|
146
|
+
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
151
147
|
}, undefined>;
|
|
152
148
|
export type AccountCreationSection = val.InferOutput<typeof AccountCreationSectionSchema>;
|
|
153
149
|
export declare const AccountTransferSectionSchema: val.ObjectSchema<{
|
|
@@ -162,9 +158,7 @@ export declare const AccountTransferSectionSchema: val.ObjectSchema<{
|
|
|
162
158
|
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
163
159
|
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
164
160
|
}, undefined>;
|
|
165
|
-
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
166
|
-
readonly typeId: 3;
|
|
167
|
-
}>]>;
|
|
161
|
+
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
168
162
|
readonly publicReference: val.SchemaWithPipe<readonly [val.StringSchema<undefined>, val.CustomSchema<string, `Expected size is ${number} bytes`>, val.MetadataAction<string, {
|
|
169
163
|
size: number;
|
|
170
164
|
readonly typeId: 2;
|
|
@@ -187,9 +181,7 @@ export declare const AccountVestingTransferSectionSchema: val.ObjectSchema<{
|
|
|
187
181
|
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
188
182
|
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
189
183
|
}, undefined>;
|
|
190
|
-
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
191
|
-
readonly typeId: 3;
|
|
192
|
-
}>]>;
|
|
184
|
+
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
193
185
|
readonly publicReference: val.SchemaWithPipe<readonly [val.StringSchema<undefined>, val.CustomSchema<string, `Expected size is ${number} bytes`>, val.MetadataAction<string, {
|
|
194
186
|
size: number;
|
|
195
187
|
readonly typeId: 2;
|
|
@@ -198,12 +190,8 @@ export declare const AccountVestingTransferSectionSchema: val.ObjectSchema<{
|
|
|
198
190
|
size: number;
|
|
199
191
|
readonly typeId: 2;
|
|
200
192
|
}>]>;
|
|
201
|
-
readonly cliffDurationDays: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
202
|
-
|
|
203
|
-
}>]>;
|
|
204
|
-
readonly vestingDurationDays: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MetadataAction<number, {
|
|
205
|
-
readonly typeId: 3;
|
|
206
|
-
}>]>;
|
|
193
|
+
readonly cliffDurationDays: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
194
|
+
readonly vestingDurationDays: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
207
195
|
}, undefined>;
|
|
208
196
|
export type AccountVestingTransferSection = val.InferOutput<typeof AccountVestingTransferSectionSchema>;
|
|
209
197
|
export declare const AccountEscrowTransferSectionSchema: val.ObjectSchema<{
|
|
@@ -218,9 +206,7 @@ export declare const AccountEscrowTransferSectionSchema: val.ObjectSchema<{
|
|
|
218
206
|
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
219
207
|
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
220
208
|
}, undefined>;
|
|
221
|
-
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
222
|
-
readonly typeId: 3;
|
|
223
|
-
}>]>;
|
|
209
|
+
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
224
210
|
readonly publicReference: val.SchemaWithPipe<readonly [val.StringSchema<undefined>, val.CustomSchema<string, `Expected size is ${number} bytes`>, val.MetadataAction<string, {
|
|
225
211
|
size: number;
|
|
226
212
|
readonly typeId: 2;
|
|
@@ -249,9 +235,7 @@ export declare const AccountEscrowTransferSectionSchema: val.ObjectSchema<{
|
|
|
249
235
|
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
250
236
|
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
251
237
|
}, undefined>;
|
|
252
|
-
readonly durationDays: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
253
|
-
readonly typeId: 3;
|
|
254
|
-
}>]>;
|
|
238
|
+
readonly durationDays: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
255
239
|
}, undefined>;
|
|
256
240
|
export type AccountEscrowTransferSection = val.InferOutput<typeof AccountEscrowTransferSectionSchema>;
|
|
257
241
|
export declare const AccountEscrowSettlementSectionSchema: val.ObjectSchema<{
|
|
@@ -273,12 +257,8 @@ export declare const AccountEscrowSettlementSectionSchema: val.ObjectSchema<{
|
|
|
273
257
|
export type AccountEscrowSettlementSection = val.InferOutput<typeof AccountEscrowSettlementSectionSchema>;
|
|
274
258
|
export declare const AccountStakeSectionSchema: val.ObjectSchema<{
|
|
275
259
|
readonly type: val.LiteralSchema<SectionType.ACCOUNT_STAKE, undefined>;
|
|
276
|
-
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
277
|
-
|
|
278
|
-
}>]>;
|
|
279
|
-
readonly objectType: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MetadataAction<number, {
|
|
280
|
-
readonly typeId: 3;
|
|
281
|
-
}>]>;
|
|
260
|
+
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
261
|
+
readonly objectType: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
282
262
|
readonly objectIdentifier: val.InstanceSchema<{
|
|
283
263
|
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
284
264
|
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
@@ -293,12 +273,8 @@ export declare const AccountStakeSectionSchema: val.ObjectSchema<{
|
|
|
293
273
|
export type AccountStakeSection = val.InferOutput<typeof AccountStakeSectionSchema>;
|
|
294
274
|
export declare const AccountUnstakeSectionSchema: val.ObjectSchema<{
|
|
295
275
|
readonly type: val.LiteralSchema<SectionType.ACCOUNT_UNSTAKE, undefined>;
|
|
296
|
-
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
297
|
-
|
|
298
|
-
}>]>;
|
|
299
|
-
readonly objectType: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MetadataAction<number, {
|
|
300
|
-
readonly typeId: 3;
|
|
301
|
-
}>]>;
|
|
276
|
+
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
277
|
+
readonly objectType: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
302
278
|
readonly objectIdentifier: val.InstanceSchema<{
|
|
303
279
|
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
304
280
|
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
@@ -460,12 +436,8 @@ export declare const ApplicationLedgerCreationSectionSchema: val.ObjectSchema<{
|
|
|
460
436
|
export type ApplicationLedgerCreationSection = val.InferOutput<typeof ApplicationLedgerCreationSectionSchema>;
|
|
461
437
|
export declare const ApplicationLedgerActorCreationSectionSchema: val.ObjectSchema<{
|
|
462
438
|
readonly type: val.LiteralSchema<SectionType.APP_LEDGER_ACTOR_CREATION, undefined>;
|
|
463
|
-
readonly id: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
464
|
-
|
|
465
|
-
}>]>;
|
|
466
|
-
readonly actorType: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MetadataAction<number, {
|
|
467
|
-
readonly typeId: 3;
|
|
468
|
-
}>]>;
|
|
439
|
+
readonly id: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
440
|
+
readonly actorType: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
469
441
|
readonly name: val.SchemaWithPipe<readonly [val.StringSchema<undefined>, val.CustomSchema<string, `Expected size is ${number} bytes`>, val.MetadataAction<string, {
|
|
470
442
|
size: number;
|
|
471
443
|
readonly typeId: 2;
|
|
@@ -474,15 +446,11 @@ export declare const ApplicationLedgerActorCreationSectionSchema: val.ObjectSche
|
|
|
474
446
|
export type ApplicationLedgerActorCreationSection = val.InferOutput<typeof ApplicationLedgerActorCreationSectionSchema>;
|
|
475
447
|
export declare const ApplicationLedgerChannelCreationSectionSchema: val.ObjectSchema<{
|
|
476
448
|
readonly type: val.LiteralSchema<SectionType.APP_LEDGER_CHANNEL_CREATION, undefined>;
|
|
477
|
-
readonly id: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
478
|
-
readonly typeId: 3;
|
|
479
|
-
}>]>;
|
|
449
|
+
readonly id: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
480
450
|
readonly isPrivate: val.SchemaWithPipe<readonly [val.BooleanSchema<undefined>, val.MetadataAction<boolean, {
|
|
481
451
|
readonly typeId: 4;
|
|
482
452
|
}>]>;
|
|
483
|
-
readonly creatorId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
484
|
-
readonly typeId: 3;
|
|
485
|
-
}>]>;
|
|
453
|
+
readonly creatorId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
486
454
|
readonly name: val.SchemaWithPipe<readonly [val.StringSchema<undefined>, val.CustomSchema<string, `Expected size is ${number} bytes`>, val.MetadataAction<string, {
|
|
487
455
|
size: number;
|
|
488
456
|
readonly typeId: 2;
|
|
@@ -491,12 +459,8 @@ export declare const ApplicationLedgerChannelCreationSectionSchema: val.ObjectSc
|
|
|
491
459
|
export type ApplicationLedgerChannelCreationSection = val.InferOutput<typeof ApplicationLedgerChannelCreationSectionSchema>;
|
|
492
460
|
export declare const ApplicationLedgerSharedSecretSectionSchema: val.ObjectSchema<{
|
|
493
461
|
readonly type: val.LiteralSchema<SectionType.APP_LEDGER_SHARED_SECRET, undefined>;
|
|
494
|
-
readonly hostId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
495
|
-
|
|
496
|
-
}>]>;
|
|
497
|
-
readonly guestId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MetadataAction<number, {
|
|
498
|
-
readonly typeId: 3;
|
|
499
|
-
}>]>;
|
|
462
|
+
readonly hostId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
463
|
+
readonly guestId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
500
464
|
readonly encryptedSharedKey: val.InstanceSchema<{
|
|
501
465
|
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
502
466
|
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
@@ -511,15 +475,9 @@ export declare const ApplicationLedgerSharedSecretSectionSchema: val.ObjectSchem
|
|
|
511
475
|
export type ApplicationLedgerSharedSecretSection = val.InferOutput<typeof ApplicationLedgerSharedSecretSectionSchema>;
|
|
512
476
|
export declare const ApplicationLedgerChannelInvitationSectionSchema: val.ObjectSchema<{
|
|
513
477
|
readonly type: val.LiteralSchema<SectionType.APP_LEDGER_CHANNEL_INVITATION, undefined>;
|
|
514
|
-
readonly channelId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
readonly hostId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MetadataAction<number, {
|
|
518
|
-
readonly typeId: 3;
|
|
519
|
-
}>]>;
|
|
520
|
-
readonly guestId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MetadataAction<number, {
|
|
521
|
-
readonly typeId: 3;
|
|
522
|
-
}>]>;
|
|
478
|
+
readonly channelId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
479
|
+
readonly hostId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
480
|
+
readonly guestId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
523
481
|
readonly encryptedChannelKey: val.InstanceSchema<{
|
|
524
482
|
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
525
483
|
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
@@ -534,12 +492,8 @@ export declare const ApplicationLedgerChannelInvitationSectionSchema: val.Object
|
|
|
534
492
|
export type ApplicationLedgerChannelInvitationSection = val.InferOutput<typeof ApplicationLedgerChannelInvitationSectionSchema>;
|
|
535
493
|
export declare const ApplicationLedgerActorSubscriptionSectionSchema: val.ObjectSchema<{
|
|
536
494
|
readonly type: val.LiteralSchema<SectionType.APP_LEDGER_ACTOR_SUBSCRIPTION, undefined>;
|
|
537
|
-
readonly actorId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
538
|
-
|
|
539
|
-
}>]>;
|
|
540
|
-
readonly actorType: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MetadataAction<number, {
|
|
541
|
-
readonly typeId: 3;
|
|
542
|
-
}>]>;
|
|
495
|
+
readonly actorId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
496
|
+
readonly actorType: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
543
497
|
readonly organizationId: val.InstanceSchema<{
|
|
544
498
|
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
545
499
|
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
@@ -580,9 +534,7 @@ export declare const ApplicationLedgerActorSubscriptionSectionSchema: val.Object
|
|
|
580
534
|
export type ApplicationLedgerActorSubscriptionSection = val.InferOutput<typeof ApplicationLedgerActorSubscriptionSectionSchema>;
|
|
581
535
|
export declare const ApplicationLedgerPublicChannelDataSectionSchema: val.ObjectSchema<{
|
|
582
536
|
readonly type: val.LiteralSchema<SectionType.APP_LEDGER_PUBLIC_CHANNEL_DATA, undefined>;
|
|
583
|
-
readonly channelId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
584
|
-
readonly typeId: 3;
|
|
585
|
-
}>]>;
|
|
537
|
+
readonly channelId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
586
538
|
readonly data: val.InstanceSchema<{
|
|
587
539
|
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
588
540
|
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
@@ -597,9 +549,7 @@ export declare const ApplicationLedgerPublicChannelDataSectionSchema: val.Object
|
|
|
597
549
|
export type ApplicationLedgerPublicChannelDataSection = val.InferOutput<typeof ApplicationLedgerPublicChannelDataSectionSchema>;
|
|
598
550
|
export declare const ApplicationLedgerPrivateChannelDataSectionSchema: val.ObjectSchema<{
|
|
599
551
|
readonly type: val.LiteralSchema<SectionType.APP_LEDGER_PRIVATE_CHANNEL_DATA, undefined>;
|
|
600
|
-
readonly channelId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
601
|
-
readonly typeId: 3;
|
|
602
|
-
}>]>;
|
|
552
|
+
readonly channelId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
603
553
|
readonly merkleRootHash: val.InstanceSchema<{
|
|
604
554
|
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
605
555
|
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
@@ -624,16 +574,12 @@ export declare const ApplicationLedgerPrivateChannelDataSectionSchema: val.Objec
|
|
|
624
574
|
export type ApplicationLedgerPrivateChannelDataSection = val.InferOutput<typeof ApplicationLedgerPrivateChannelDataSectionSchema>;
|
|
625
575
|
export declare const ApplicationLedgerAuthorSectionSchema: val.ObjectSchema<{
|
|
626
576
|
readonly type: val.LiteralSchema<SectionType.APP_LEDGER_AUTHOR, undefined>;
|
|
627
|
-
readonly authorId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
628
|
-
readonly typeId: 3;
|
|
629
|
-
}>]>;
|
|
577
|
+
readonly authorId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
630
578
|
}, undefined>;
|
|
631
579
|
export type ApplicationLedgerAuthorSection = val.InferOutput<typeof ApplicationLedgerAuthorSectionSchema>;
|
|
632
580
|
export declare const ApplicationLedgerEndorsementRequestSectionSchema: val.ObjectSchema<{
|
|
633
581
|
readonly type: val.LiteralSchema<SectionType.APP_LEDGER_ENDORSEMENT_REQUEST, undefined>;
|
|
634
|
-
readonly endorserId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
635
|
-
readonly typeId: 3;
|
|
636
|
-
}>]>;
|
|
582
|
+
readonly endorserId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
637
583
|
readonly message: val.SchemaWithPipe<readonly [val.StringSchema<undefined>, val.CustomSchema<string, `Expected size is ${number} bytes`>, val.MetadataAction<string, {
|
|
638
584
|
size: number;
|
|
639
585
|
readonly typeId: 2;
|
|
@@ -752,9 +698,7 @@ export declare const SectionSchema: val.VariantSchema<"type", [val.ObjectSchema<
|
|
|
752
698
|
}>]>;
|
|
753
699
|
}, undefined>, val.ObjectSchema<{
|
|
754
700
|
readonly type: val.LiteralSchema<SectionType.ACCOUNT_TOKEN_ISSUANCE, undefined>;
|
|
755
|
-
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
756
|
-
readonly typeId: 3;
|
|
757
|
-
}>]>;
|
|
701
|
+
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
758
702
|
}, undefined>, val.ObjectSchema<{
|
|
759
703
|
readonly type: val.LiteralSchema<SectionType.ACCOUNT_CREATION, undefined>;
|
|
760
704
|
readonly sellerAccount: val.InstanceSchema<{
|
|
@@ -767,9 +711,7 @@ export declare const SectionSchema: val.VariantSchema<"type", [val.ObjectSchema<
|
|
|
767
711
|
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
768
712
|
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
769
713
|
}, undefined>;
|
|
770
|
-
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
771
|
-
readonly typeId: 3;
|
|
772
|
-
}>]>;
|
|
714
|
+
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
773
715
|
}, undefined>, val.ObjectSchema<{
|
|
774
716
|
readonly type: val.LiteralSchema<SectionType.ACCOUNT_TRANSFER, undefined>;
|
|
775
717
|
readonly account: val.InstanceSchema<{
|
|
@@ -782,9 +724,7 @@ export declare const SectionSchema: val.VariantSchema<"type", [val.ObjectSchema<
|
|
|
782
724
|
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
783
725
|
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
784
726
|
}, undefined>;
|
|
785
|
-
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
786
|
-
readonly typeId: 3;
|
|
787
|
-
}>]>;
|
|
727
|
+
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
788
728
|
readonly publicReference: val.SchemaWithPipe<readonly [val.StringSchema<undefined>, val.CustomSchema<string, `Expected size is ${number} bytes`>, val.MetadataAction<string, {
|
|
789
729
|
size: number;
|
|
790
730
|
readonly typeId: 2;
|
|
@@ -805,9 +745,7 @@ export declare const SectionSchema: val.VariantSchema<"type", [val.ObjectSchema<
|
|
|
805
745
|
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
806
746
|
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
807
747
|
}, undefined>;
|
|
808
|
-
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
809
|
-
readonly typeId: 3;
|
|
810
|
-
}>]>;
|
|
748
|
+
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
811
749
|
readonly publicReference: val.SchemaWithPipe<readonly [val.StringSchema<undefined>, val.CustomSchema<string, `Expected size is ${number} bytes`>, val.MetadataAction<string, {
|
|
812
750
|
size: number;
|
|
813
751
|
readonly typeId: 2;
|
|
@@ -816,12 +754,8 @@ export declare const SectionSchema: val.VariantSchema<"type", [val.ObjectSchema<
|
|
|
816
754
|
size: number;
|
|
817
755
|
readonly typeId: 2;
|
|
818
756
|
}>]>;
|
|
819
|
-
readonly cliffDurationDays: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
820
|
-
|
|
821
|
-
}>]>;
|
|
822
|
-
readonly vestingDurationDays: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MetadataAction<number, {
|
|
823
|
-
readonly typeId: 3;
|
|
824
|
-
}>]>;
|
|
757
|
+
readonly cliffDurationDays: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
758
|
+
readonly vestingDurationDays: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
825
759
|
}, undefined>, val.ObjectSchema<{
|
|
826
760
|
readonly type: val.LiteralSchema<SectionType.ACCOUNT_ESCROW_TRANSFER, undefined>;
|
|
827
761
|
readonly account: val.InstanceSchema<{
|
|
@@ -834,9 +768,7 @@ export declare const SectionSchema: val.VariantSchema<"type", [val.ObjectSchema<
|
|
|
834
768
|
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
835
769
|
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
836
770
|
}, undefined>;
|
|
837
|
-
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
838
|
-
readonly typeId: 3;
|
|
839
|
-
}>]>;
|
|
771
|
+
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
840
772
|
readonly publicReference: val.SchemaWithPipe<readonly [val.StringSchema<undefined>, val.CustomSchema<string, `Expected size is ${number} bytes`>, val.MetadataAction<string, {
|
|
841
773
|
size: number;
|
|
842
774
|
readonly typeId: 2;
|
|
@@ -865,9 +797,7 @@ export declare const SectionSchema: val.VariantSchema<"type", [val.ObjectSchema<
|
|
|
865
797
|
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
866
798
|
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
867
799
|
}, undefined>;
|
|
868
|
-
readonly durationDays: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
869
|
-
readonly typeId: 3;
|
|
870
|
-
}>]>;
|
|
800
|
+
readonly durationDays: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
871
801
|
}, undefined>, val.ObjectSchema<{
|
|
872
802
|
readonly type: val.LiteralSchema<SectionType.ACCOUNT_ESCROW_SETTLEMENT, undefined>;
|
|
873
803
|
readonly escrowIdentifier: val.InstanceSchema<{
|
|
@@ -885,12 +815,8 @@ export declare const SectionSchema: val.VariantSchema<"type", [val.ObjectSchema<
|
|
|
885
815
|
}>]>;
|
|
886
816
|
}, undefined>, val.ObjectSchema<{
|
|
887
817
|
readonly type: val.LiteralSchema<SectionType.ACCOUNT_STAKE, undefined>;
|
|
888
|
-
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
889
|
-
|
|
890
|
-
}>]>;
|
|
891
|
-
readonly objectType: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MetadataAction<number, {
|
|
892
|
-
readonly typeId: 3;
|
|
893
|
-
}>]>;
|
|
818
|
+
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
819
|
+
readonly objectType: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
894
820
|
readonly objectIdentifier: val.InstanceSchema<{
|
|
895
821
|
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
896
822
|
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
@@ -903,12 +829,8 @@ export declare const SectionSchema: val.VariantSchema<"type", [val.ObjectSchema<
|
|
|
903
829
|
}, undefined>;
|
|
904
830
|
}, undefined>, val.ObjectSchema<{
|
|
905
831
|
readonly type: val.LiteralSchema<SectionType.ACCOUNT_UNSTAKE, undefined>;
|
|
906
|
-
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
907
|
-
|
|
908
|
-
}>]>;
|
|
909
|
-
readonly objectType: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MetadataAction<number, {
|
|
910
|
-
readonly typeId: 3;
|
|
911
|
-
}>]>;
|
|
832
|
+
readonly amount: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
833
|
+
readonly objectType: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
912
834
|
readonly objectIdentifier: val.InstanceSchema<{
|
|
913
835
|
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
914
836
|
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
@@ -1044,39 +966,27 @@ export declare const SectionSchema: val.VariantSchema<"type", [val.ObjectSchema<
|
|
|
1044
966
|
}, undefined>;
|
|
1045
967
|
}, undefined>, val.ObjectSchema<{
|
|
1046
968
|
readonly type: val.LiteralSchema<SectionType.APP_LEDGER_ACTOR_CREATION, undefined>;
|
|
1047
|
-
readonly id: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
1048
|
-
|
|
1049
|
-
}>]>;
|
|
1050
|
-
readonly actorType: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MetadataAction<number, {
|
|
1051
|
-
readonly typeId: 3;
|
|
1052
|
-
}>]>;
|
|
969
|
+
readonly id: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
970
|
+
readonly actorType: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
1053
971
|
readonly name: val.SchemaWithPipe<readonly [val.StringSchema<undefined>, val.CustomSchema<string, `Expected size is ${number} bytes`>, val.MetadataAction<string, {
|
|
1054
972
|
size: number;
|
|
1055
973
|
readonly typeId: 2;
|
|
1056
974
|
}>]>;
|
|
1057
975
|
}, undefined>, val.ObjectSchema<{
|
|
1058
976
|
readonly type: val.LiteralSchema<SectionType.APP_LEDGER_CHANNEL_CREATION, undefined>;
|
|
1059
|
-
readonly id: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
1060
|
-
readonly typeId: 3;
|
|
1061
|
-
}>]>;
|
|
977
|
+
readonly id: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
1062
978
|
readonly isPrivate: val.SchemaWithPipe<readonly [val.BooleanSchema<undefined>, val.MetadataAction<boolean, {
|
|
1063
979
|
readonly typeId: 4;
|
|
1064
980
|
}>]>;
|
|
1065
|
-
readonly creatorId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
1066
|
-
readonly typeId: 3;
|
|
1067
|
-
}>]>;
|
|
981
|
+
readonly creatorId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
1068
982
|
readonly name: val.SchemaWithPipe<readonly [val.StringSchema<undefined>, val.CustomSchema<string, `Expected size is ${number} bytes`>, val.MetadataAction<string, {
|
|
1069
983
|
size: number;
|
|
1070
984
|
readonly typeId: 2;
|
|
1071
985
|
}>]>;
|
|
1072
986
|
}, undefined>, val.ObjectSchema<{
|
|
1073
987
|
readonly type: val.LiteralSchema<SectionType.APP_LEDGER_SHARED_SECRET, undefined>;
|
|
1074
|
-
readonly hostId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
1075
|
-
|
|
1076
|
-
}>]>;
|
|
1077
|
-
readonly guestId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MetadataAction<number, {
|
|
1078
|
-
readonly typeId: 3;
|
|
1079
|
-
}>]>;
|
|
988
|
+
readonly hostId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
989
|
+
readonly guestId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
1080
990
|
readonly encryptedSharedKey: val.InstanceSchema<{
|
|
1081
991
|
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
1082
992
|
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
@@ -1089,15 +999,9 @@ export declare const SectionSchema: val.VariantSchema<"type", [val.ObjectSchema<
|
|
|
1089
999
|
}, undefined>;
|
|
1090
1000
|
}, undefined>, val.ObjectSchema<{
|
|
1091
1001
|
readonly type: val.LiteralSchema<SectionType.APP_LEDGER_CHANNEL_INVITATION, undefined>;
|
|
1092
|
-
readonly channelId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
readonly hostId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MetadataAction<number, {
|
|
1096
|
-
readonly typeId: 3;
|
|
1097
|
-
}>]>;
|
|
1098
|
-
readonly guestId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MetadataAction<number, {
|
|
1099
|
-
readonly typeId: 3;
|
|
1100
|
-
}>]>;
|
|
1002
|
+
readonly channelId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
1003
|
+
readonly hostId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
1004
|
+
readonly guestId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
1101
1005
|
readonly encryptedChannelKey: val.InstanceSchema<{
|
|
1102
1006
|
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
1103
1007
|
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
@@ -1110,12 +1014,8 @@ export declare const SectionSchema: val.VariantSchema<"type", [val.ObjectSchema<
|
|
|
1110
1014
|
}, undefined>;
|
|
1111
1015
|
}, undefined>, val.ObjectSchema<{
|
|
1112
1016
|
readonly type: val.LiteralSchema<SectionType.APP_LEDGER_ACTOR_SUBSCRIPTION, undefined>;
|
|
1113
|
-
readonly actorId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
1114
|
-
|
|
1115
|
-
}>]>;
|
|
1116
|
-
readonly actorType: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MetadataAction<number, {
|
|
1117
|
-
readonly typeId: 3;
|
|
1118
|
-
}>]>;
|
|
1017
|
+
readonly actorId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
1018
|
+
readonly actorType: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
1119
1019
|
readonly organizationId: val.InstanceSchema<{
|
|
1120
1020
|
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
1121
1021
|
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
@@ -1154,9 +1054,7 @@ export declare const SectionSchema: val.VariantSchema<"type", [val.ObjectSchema<
|
|
|
1154
1054
|
}, undefined>;
|
|
1155
1055
|
}, undefined>, val.ObjectSchema<{
|
|
1156
1056
|
readonly type: val.LiteralSchema<SectionType.APP_LEDGER_PUBLIC_CHANNEL_DATA, undefined>;
|
|
1157
|
-
readonly channelId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
1158
|
-
readonly typeId: 3;
|
|
1159
|
-
}>]>;
|
|
1057
|
+
readonly channelId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
1160
1058
|
readonly data: val.InstanceSchema<{
|
|
1161
1059
|
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
1162
1060
|
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
@@ -1169,9 +1067,7 @@ export declare const SectionSchema: val.VariantSchema<"type", [val.ObjectSchema<
|
|
|
1169
1067
|
}, undefined>;
|
|
1170
1068
|
}, undefined>, val.ObjectSchema<{
|
|
1171
1069
|
readonly type: val.LiteralSchema<SectionType.APP_LEDGER_PRIVATE_CHANNEL_DATA, undefined>;
|
|
1172
|
-
readonly channelId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
1173
|
-
readonly typeId: 3;
|
|
1174
|
-
}>]>;
|
|
1070
|
+
readonly channelId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
1175
1071
|
readonly merkleRootHash: val.InstanceSchema<{
|
|
1176
1072
|
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
1177
1073
|
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
@@ -1194,14 +1090,10 @@ export declare const SectionSchema: val.VariantSchema<"type", [val.ObjectSchema<
|
|
|
1194
1090
|
}, undefined>;
|
|
1195
1091
|
}, undefined>, val.ObjectSchema<{
|
|
1196
1092
|
readonly type: val.LiteralSchema<SectionType.APP_LEDGER_AUTHOR, undefined>;
|
|
1197
|
-
readonly authorId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
1198
|
-
readonly typeId: 3;
|
|
1199
|
-
}>]>;
|
|
1093
|
+
readonly authorId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
1200
1094
|
}, undefined>, val.ObjectSchema<{
|
|
1201
1095
|
readonly type: val.LiteralSchema<SectionType.APP_LEDGER_ENDORSEMENT_REQUEST, undefined>;
|
|
1202
|
-
readonly endorserId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.
|
|
1203
|
-
readonly typeId: 3;
|
|
1204
|
-
}>]>;
|
|
1096
|
+
readonly endorserId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
1205
1097
|
readonly message: val.SchemaWithPipe<readonly [val.StringSchema<undefined>, val.CustomSchema<string, `Expected size is ${number} bytes`>, val.MetadataAction<string, {
|
|
1206
1098
|
size: number;
|
|
1207
1099
|
readonly typeId: 2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sections.d.ts","sourceRoot":"","sources":["../../../../../src/type/valibot/blockchain/section/sections.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,SAAS,CAAC;AAE/B,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"sections.d.ts","sourceRoot":"","sources":["../../../../../src/type/valibot/blockchain/section/sections.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,SAAS,CAAC;AAE/B,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAK1C,eAAO,MAAM,mBAAmB;;gCAK/B,CAAA;AACD,MAAM,MAAM,aAAa,GAAG,GAAG,CAAC,WAAW,CAAC,OAAO,mBAAmB,CAAC,C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C,GAAG,GAAG,CAAC,WAAW,CAAC,OAAO,gDAAgD,CAAC,CAAC;AAMlI,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BA+CzB,CAAA;AACD,MAAM,MAAM,OAAO,GAAG,GAAG,CAAC,WAAW,CAAC,OAAO,aAAa,CAAC,CAAC"}
|
|
@@ -75,7 +75,7 @@ export declare const AccountVirtualBlockchainInternalStateSchema: val.ObjectSche
|
|
|
75
75
|
readonly signatureSchemeId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MetadataAction<number, {
|
|
76
76
|
readonly typeId: 3;
|
|
77
77
|
}>]>;
|
|
78
|
-
readonly publicKeyHeight: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
78
|
+
readonly publicKeyHeight: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
79
79
|
}, undefined>;
|
|
80
80
|
export type AccountVBInternalStateObject = val.InferOutput<typeof AccountVirtualBlockchainInternalStateSchema>;
|
|
81
81
|
export declare const OrganizationVBInternalStateObjectSchema: val.ObjectSchema<{
|
|
@@ -89,7 +89,7 @@ export declare const OrganizationVBInternalStateObjectSchema: val.ObjectSchema<{
|
|
|
89
89
|
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
90
90
|
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
91
91
|
}, undefined>;
|
|
92
|
-
readonly descriptionHeight: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
92
|
+
readonly descriptionHeight: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
93
93
|
}, undefined>;
|
|
94
94
|
export type OrganizationVBInternalStateObject = val.InferOutput<typeof OrganizationVBInternalStateObjectSchema>;
|
|
95
95
|
export declare const ValidatorNodeVBInternalStateObjectSchema: val.ObjectSchema<{
|
|
@@ -103,8 +103,8 @@ export declare const ValidatorNodeVBInternalStateObjectSchema: val.ObjectSchema<
|
|
|
103
103
|
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
104
104
|
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
105
105
|
}, undefined>;
|
|
106
|
-
readonly cometbftPublicKeyDeclarationHeight: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
107
|
-
readonly rpcEndpointHeight: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
106
|
+
readonly cometbftPublicKeyDeclarationHeight: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
107
|
+
readonly rpcEndpointHeight: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
108
108
|
readonly lastKnownApprovalStatus: val.SchemaWithPipe<readonly [val.BooleanSchema<undefined>, val.MetadataAction<boolean, {
|
|
109
109
|
readonly typeId: 4;
|
|
110
110
|
}>]>;
|
|
@@ -121,7 +121,7 @@ export declare const ApplicationVBInternalStateObjectSchema: val.ObjectSchema<{
|
|
|
121
121
|
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
122
122
|
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
123
123
|
}, undefined>;
|
|
124
|
-
readonly descriptionHeight: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
124
|
+
readonly descriptionHeight: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
125
125
|
}, undefined>;
|
|
126
126
|
export type ApplicationVBInternalStateObject = val.InferOutput<typeof ApplicationVBInternalStateObjectSchema>;
|
|
127
127
|
export declare const ApplicationLedgerChannelSchema: val.ObjectSchema<{
|
|
@@ -141,7 +141,7 @@ export declare const ApplicationLedgerActorInvitationStateSchema: val.ObjectSche
|
|
|
141
141
|
readonly channelId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MetadataAction<number, {
|
|
142
142
|
readonly typeId: 3;
|
|
143
143
|
}>]>;
|
|
144
|
-
readonly height: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
144
|
+
readonly height: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
145
145
|
}, undefined>;
|
|
146
146
|
export type ApplicationLedgerActorInvitationState = val.InferOutput<typeof ApplicationLedgerActorInvitationStateSchema>;
|
|
147
147
|
/**
|
|
@@ -153,7 +153,7 @@ export declare const ApplicationLedgerSharedSecretStateSchema: val.ObjectSchema<
|
|
|
153
153
|
readonly peerActorId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MetadataAction<number, {
|
|
154
154
|
readonly typeId: 3;
|
|
155
155
|
}>]>;
|
|
156
|
-
readonly height: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
156
|
+
readonly height: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
157
157
|
}, undefined>;
|
|
158
158
|
export type ApplicationLedgerSharedSecretState = val.InferOutput<typeof ApplicationLedgerSharedSecretStateSchema>;
|
|
159
159
|
export declare const ApplicationLedgerActorSchema: val.ObjectSchema<{
|
|
@@ -174,13 +174,13 @@ export declare const ApplicationLedgerActorSchema: val.ObjectSchema<{
|
|
|
174
174
|
readonly peerActorId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MetadataAction<number, {
|
|
175
175
|
readonly typeId: 3;
|
|
176
176
|
}>]>;
|
|
177
|
-
readonly height: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
177
|
+
readonly height: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
178
178
|
}, undefined>, undefined>;
|
|
179
179
|
readonly invitations: val.ArraySchema<val.ObjectSchema<{
|
|
180
180
|
readonly channelId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MetadataAction<number, {
|
|
181
181
|
readonly typeId: 3;
|
|
182
182
|
}>]>;
|
|
183
|
-
readonly height: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
183
|
+
readonly height: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
184
184
|
}, undefined>, undefined>;
|
|
185
185
|
}, undefined>;
|
|
186
186
|
export type ApplicationLedgerActor = val.InferOutput<typeof ApplicationLedgerActorSchema>;
|
|
@@ -247,13 +247,13 @@ export declare const ApplicationLedgerInternalStateObjectSchema: val.ObjectSchem
|
|
|
247
247
|
readonly peerActorId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MetadataAction<number, {
|
|
248
248
|
readonly typeId: 3;
|
|
249
249
|
}>]>;
|
|
250
|
-
readonly height: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
250
|
+
readonly height: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
251
251
|
}, undefined>, undefined>;
|
|
252
252
|
readonly invitations: val.ArraySchema<val.ObjectSchema<{
|
|
253
253
|
readonly channelId: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MetadataAction<number, {
|
|
254
254
|
readonly typeId: 3;
|
|
255
255
|
}>]>;
|
|
256
|
-
readonly height: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
256
|
+
readonly height: val.SchemaWithPipe<readonly [val.NumberSchema<undefined>, val.IntegerAction<number, undefined>, val.MinValueAction<number, 0, undefined>]>;
|
|
257
257
|
}, undefined>, undefined>;
|
|
258
258
|
}, undefined>, undefined>;
|
|
259
259
|
}, undefined>;
|