@typeberry/lib 0.0.1-f0ab5f1 → 0.0.2-9f100b1
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/index.d.ts +66 -52
- package/index.js +315 -978
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -60,7 +60,7 @@ declare namespace index$s {
|
|
|
60
60
|
|
|
61
61
|
declare enum GpVersion {
|
|
62
62
|
V0_6_7 = "0.6.7",
|
|
63
|
-
V0_7_0 = "0.7.0
|
|
63
|
+
V0_7_0 = "0.7.0",
|
|
64
64
|
V0_7_1 = "0.7.1-preview",
|
|
65
65
|
}
|
|
66
66
|
|
|
@@ -74,7 +74,7 @@ declare const DEFAULT_SUITE = TestSuite.W3F_DAVXY;
|
|
|
74
74
|
declare const ALL_VERSIONS_IN_ORDER = [GpVersion.V0_6_7, GpVersion.V0_7_0, GpVersion.V0_7_1];
|
|
75
75
|
|
|
76
76
|
declare const env = typeof process === "undefined" ? {} : process.env;
|
|
77
|
-
declare const DEFAULT_VERSION = GpVersion.
|
|
77
|
+
declare const DEFAULT_VERSION = GpVersion.V0_7_0;
|
|
78
78
|
declare let CURRENT_VERSION = parseCurrentVersion(env.GP_VERSION) ?? DEFAULT_VERSION;
|
|
79
79
|
declare let CURRENT_SUITE = parseCurrentSuite(env.TEST_SUITE) ?? DEFAULT_SUITE;
|
|
80
80
|
|
|
@@ -4470,74 +4470,63 @@ declare namespace bandersnatch_d_exports {
|
|
|
4470
4470
|
}
|
|
4471
4471
|
/* tslint:disable */
|
|
4472
4472
|
/* eslint-disable */
|
|
4473
|
-
/**
|
|
4474
|
-
* @param {Uint8Array} keys
|
|
4475
|
-
* @returns {Uint8Array}
|
|
4476
|
-
*/
|
|
4477
4473
|
declare function ring_commitment(keys: Uint8Array): Uint8Array;
|
|
4478
4474
|
/**
|
|
4479
|
-
* Derive Private and Public Key from Seed
|
|
4480
|
-
*
|
|
4481
|
-
* returns: `Vec<u8>` containing the exit (1 byte) status followed by the (32 bytes) public key
|
|
4482
|
-
|
|
4483
|
-
* @returns {Uint8Array}
|
|
4484
|
-
*/
|
|
4475
|
+
* Derive Private and Public Key from Seed
|
|
4476
|
+
*
|
|
4477
|
+
* returns: `Vec<u8>` containing the exit (1 byte) status followed by the (32 bytes) public key
|
|
4478
|
+
*/
|
|
4485
4479
|
declare function derive_public_key(seed: Uint8Array): Uint8Array;
|
|
4486
4480
|
/**
|
|
4487
|
-
* Seal verification as defined in:
|
|
4488
|
-
* https://graypaper.fluffylabs.dev/#/68eaa1f/0eff000eff00?v=0.6.4
|
|
4489
|
-
* or
|
|
4490
|
-
* https://graypaper.fluffylabs.dev/#/68eaa1f/0e54010e5401?v=0.6.4
|
|
4491
|
-
|
|
4492
|
-
* @param {number} signer_key_index
|
|
4493
|
-
* @param {Uint8Array} seal_data
|
|
4494
|
-
* @param {Uint8Array} payload
|
|
4495
|
-
* @param {Uint8Array} aux_data
|
|
4496
|
-
* @returns {Uint8Array}
|
|
4497
|
-
*/
|
|
4481
|
+
* Seal verification as defined in:
|
|
4482
|
+
* https://graypaper.fluffylabs.dev/#/68eaa1f/0eff000eff00?v=0.6.4
|
|
4483
|
+
* or
|
|
4484
|
+
* https://graypaper.fluffylabs.dev/#/68eaa1f/0e54010e5401?v=0.6.4
|
|
4485
|
+
*/
|
|
4498
4486
|
declare function verify_seal(keys: Uint8Array, signer_key_index: number, seal_data: Uint8Array, payload: Uint8Array, aux_data: Uint8Array): Uint8Array;
|
|
4499
4487
|
/**
|
|
4500
|
-
* Verify multiple tickets at once as defined in:
|
|
4501
|
-
* https://graypaper.fluffylabs.dev/#/68eaa1f/0f3e000f3e00?v=0.6.4
|
|
4502
|
-
*
|
|
4503
|
-
* NOTE: the aux_data of VRF function is empty!
|
|
4504
|
-
|
|
4505
|
-
* @param {Uint8Array} tickets_data
|
|
4506
|
-
* @param {number} vrf_input_data_len
|
|
4507
|
-
* @returns {Uint8Array}
|
|
4508
|
-
*/
|
|
4488
|
+
* Verify multiple tickets at once as defined in:
|
|
4489
|
+
* https://graypaper.fluffylabs.dev/#/68eaa1f/0f3e000f3e00?v=0.6.4
|
|
4490
|
+
*
|
|
4491
|
+
* NOTE: the aux_data of VRF function is empty!
|
|
4492
|
+
*/
|
|
4509
4493
|
declare function batch_verify_tickets(keys: Uint8Array, tickets_data: Uint8Array, vrf_input_data_len: number): Uint8Array;
|
|
4510
4494
|
type InitInput$2 = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
4511
4495
|
interface InitOutput$2 {
|
|
4512
4496
|
readonly memory: WebAssembly.Memory;
|
|
4513
|
-
readonly ring_commitment: (a: number, b: number
|
|
4514
|
-
readonly derive_public_key: (a: number, b: number
|
|
4515
|
-
readonly verify_seal: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number
|
|
4516
|
-
readonly batch_verify_tickets: (a: number, b: number, c: number, d: number, e: number
|
|
4517
|
-
readonly
|
|
4497
|
+
readonly ring_commitment: (a: number, b: number) => [number, number];
|
|
4498
|
+
readonly derive_public_key: (a: number, b: number) => [number, number];
|
|
4499
|
+
readonly verify_seal: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => [number, number];
|
|
4500
|
+
readonly batch_verify_tickets: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
4501
|
+
readonly __wbindgen_export_0: WebAssembly.Table;
|
|
4518
4502
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
4519
4503
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
4504
|
+
readonly __wbindgen_start: () => void;
|
|
4520
4505
|
}
|
|
4521
4506
|
type SyncInitInput$2 = BufferSource | WebAssembly.Module;
|
|
4522
4507
|
/**
|
|
4523
4508
|
* Instantiates the given `module`, which can either be bytes or
|
|
4524
4509
|
* a precompiled `WebAssembly.Module`.
|
|
4525
4510
|
*
|
|
4526
|
-
* @param {SyncInitInput} module
|
|
4511
|
+
* @param {{ module: SyncInitInput }} module - Passing `SyncInitInput` directly is deprecated.
|
|
4527
4512
|
*
|
|
4528
4513
|
* @returns {InitOutput}
|
|
4529
4514
|
*/
|
|
4530
|
-
declare function initSync$2(module:
|
|
4515
|
+
declare function initSync$2(module: {
|
|
4516
|
+
module: SyncInitInput$2;
|
|
4517
|
+
} | SyncInitInput$2): InitOutput$2;
|
|
4531
4518
|
|
|
4532
4519
|
/**
|
|
4533
4520
|
* If `module_or_path` is {RequestInfo} or {URL}, makes a request and
|
|
4534
4521
|
* for everything else, calls `WebAssembly.instantiate` directly.
|
|
4535
4522
|
*
|
|
4536
|
-
* @param {InitInput | Promise<InitInput>} module_or_path
|
|
4523
|
+
* @param {{ module_or_path: InitInput | Promise<InitInput> }} module_or_path - Passing `InitInput` directly is deprecated.
|
|
4537
4524
|
*
|
|
4538
4525
|
* @returns {Promise<InitOutput>}
|
|
4539
4526
|
*/
|
|
4540
|
-
declare function __wbg_init$2(module_or_path?:
|
|
4527
|
+
declare function __wbg_init$2(module_or_path?: {
|
|
4528
|
+
module_or_path: InitInput$2 | Promise<InitInput$2>;
|
|
4529
|
+
} | InitInput$2 | Promise<InitInput$2>): Promise<InitOutput$2>;
|
|
4541
4530
|
//#endregion
|
|
4542
4531
|
//#region native/index.d.ts
|
|
4543
4532
|
declare function initAll(): Promise<void>;
|
|
@@ -6548,6 +6537,22 @@ declare class ValidatorKeys extends WithDebug {
|
|
|
6548
6537
|
}
|
|
6549
6538
|
}
|
|
6550
6539
|
|
|
6540
|
+
declare class TicketsMarker extends WithDebug {
|
|
6541
|
+
static Codec = codec.Class(TicketsMarker, {
|
|
6542
|
+
tickets: codecPerEpochBlock(Ticket.Codec),
|
|
6543
|
+
});
|
|
6544
|
+
|
|
6545
|
+
static create({ tickets }: CodecRecord<TicketsMarker>) {
|
|
6546
|
+
return new TicketsMarker(tickets);
|
|
6547
|
+
}
|
|
6548
|
+
|
|
6549
|
+
private constructor(public readonly tickets: PerEpochBlock<Ticket>) {
|
|
6550
|
+
super();
|
|
6551
|
+
}
|
|
6552
|
+
}
|
|
6553
|
+
|
|
6554
|
+
type TicketsMarkerView = DescribedBy<typeof TicketsMarker.Codec.View>;
|
|
6555
|
+
|
|
6551
6556
|
/**
|
|
6552
6557
|
* For the first block in a new epoch, the epoch marker is set
|
|
6553
6558
|
* and contains the epoch randomness and validator keys
|
|
@@ -6578,6 +6583,8 @@ declare class EpochMarker extends WithDebug {
|
|
|
6578
6583
|
}
|
|
6579
6584
|
}
|
|
6580
6585
|
|
|
6586
|
+
type EpochMarkerView = DescribedBy<typeof EpochMarker.Codec.View>;
|
|
6587
|
+
|
|
6581
6588
|
/**
|
|
6582
6589
|
* Return an encoded header without the seal components.
|
|
6583
6590
|
*
|
|
@@ -6600,7 +6607,7 @@ declare const legacyDescriptor = {
|
|
|
6600
6607
|
extrinsicHash: codec.bytes(HASH_SIZE).asOpaque<ExtrinsicHash>(),
|
|
6601
6608
|
timeSlotIndex: codec.u32.asOpaque<TimeSlot>(),
|
|
6602
6609
|
epochMarker: codec.optional(EpochMarker.Codec),
|
|
6603
|
-
ticketsMarker: codec.optional(
|
|
6610
|
+
ticketsMarker: codec.optional(TicketsMarker.Codec),
|
|
6604
6611
|
offendersMarker: codec.sequenceVarLen(codec.bytes(ED25519_KEY_BYTES).asOpaque<Ed25519Key>()),
|
|
6605
6612
|
bandersnatchBlockAuthorIndex: codec.u16.asOpaque<ValidatorIndex>(),
|
|
6606
6613
|
entropySource: codec.bytes(BANDERSNATCH_VRF_SIGNATURE_BYTES).asOpaque<BandersnatchVrfSignature>(),
|
|
@@ -6623,7 +6630,7 @@ declare class Header extends WithDebug {
|
|
|
6623
6630
|
extrinsicHash: codec.bytes(HASH_SIZE).asOpaque<ExtrinsicHash>(),
|
|
6624
6631
|
timeSlotIndex: codec.u32.asOpaque<TimeSlot>(),
|
|
6625
6632
|
epochMarker: codec.optional(EpochMarker.Codec),
|
|
6626
|
-
ticketsMarker: codec.optional(
|
|
6633
|
+
ticketsMarker: codec.optional(TicketsMarker.Codec),
|
|
6627
6634
|
bandersnatchBlockAuthorIndex: codec.u16.asOpaque<ValidatorIndex>(),
|
|
6628
6635
|
entropySource: codec.bytes(BANDERSNATCH_VRF_SIGNATURE_BYTES).asOpaque<BandersnatchVrfSignature>(),
|
|
6629
6636
|
offendersMarker: codec.sequenceVarLen(codec.bytes(ED25519_KEY_BYTES).asOpaque<Ed25519Key>()),
|
|
@@ -6656,7 +6663,7 @@ declare class Header extends WithDebug {
|
|
|
6656
6663
|
* `H_w`: Winning tickets provides the series of 600 slot sealing "tickets"
|
|
6657
6664
|
* for the next epoch.
|
|
6658
6665
|
*/
|
|
6659
|
-
public ticketsMarker:
|
|
6666
|
+
public ticketsMarker: TicketsMarker | null = null;
|
|
6660
6667
|
/** `H_i`: Block author's index in the current validator set. */
|
|
6661
6668
|
public bandersnatchBlockAuthorIndex: ValidatorIndex = tryAsValidatorIndex(0);
|
|
6662
6669
|
/** `H_v`: Entropy-yielding VRF signature. */
|
|
@@ -6841,6 +6848,7 @@ type index$j_EntropyHash = EntropyHash;
|
|
|
6841
6848
|
type index$j_Epoch = Epoch;
|
|
6842
6849
|
type index$j_EpochMarker = EpochMarker;
|
|
6843
6850
|
declare const index$j_EpochMarker: typeof EpochMarker;
|
|
6851
|
+
type index$j_EpochMarkerView = EpochMarkerView;
|
|
6844
6852
|
type index$j_Extrinsic = Extrinsic;
|
|
6845
6853
|
declare const index$j_Extrinsic: typeof Extrinsic;
|
|
6846
6854
|
type index$j_ExtrinsicHash = ExtrinsicHash;
|
|
@@ -6860,6 +6868,9 @@ type index$j_SegmentIndex = SegmentIndex;
|
|
|
6860
6868
|
type index$j_ServiceGas = ServiceGas;
|
|
6861
6869
|
type index$j_ServiceId = ServiceId;
|
|
6862
6870
|
type index$j_StateRootHash = StateRootHash;
|
|
6871
|
+
type index$j_TicketsMarker = TicketsMarker;
|
|
6872
|
+
declare const index$j_TicketsMarker: typeof TicketsMarker;
|
|
6873
|
+
type index$j_TicketsMarkerView = TicketsMarkerView;
|
|
6863
6874
|
type index$j_TimeSlot = TimeSlot;
|
|
6864
6875
|
type index$j_ValidatorIndex = ValidatorIndex;
|
|
6865
6876
|
type index$j_ValidatorKeys = ValidatorKeys;
|
|
@@ -6892,8 +6903,8 @@ declare const index$j_workPackage: typeof workPackage;
|
|
|
6892
6903
|
declare const index$j_workReport: typeof workReport;
|
|
6893
6904
|
declare const index$j_workResult: typeof workResult;
|
|
6894
6905
|
declare namespace index$j {
|
|
6895
|
-
export { index$j_Block as Block, index$j_EpochMarker as EpochMarker, index$j_Extrinsic as Extrinsic, index$j_Header as Header, index$j_HeaderViewWithHash as HeaderViewWithHash, index$j_MAX_NUMBER_OF_SEGMENTS as MAX_NUMBER_OF_SEGMENTS, index$j_ValidatorKeys as ValidatorKeys, index$j_W_E as W_E, index$j_W_S as W_S, index$j_assurances as assurances, index$j_codecPerEpochBlock as codecPerEpochBlock, index$j_codecPerValidator as codecPerValidator, codec as codecUtils, index$j_disputes as disputes, index$j_encodeUnsealedHeader as encodeUnsealedHeader, index$j_guarantees as guarantees, index$j_headerViewWithHashCodec as headerViewWithHashCodec, index$j_legacyDescriptor as legacyDescriptor, index$j_preimage as preimage, index$j_refineContext as refineContext, index$j_tickets as tickets, index$j_tryAsCoreIndex as tryAsCoreIndex, index$j_tryAsEpoch as tryAsEpoch, index$j_tryAsPerEpochBlock as tryAsPerEpochBlock, index$j_tryAsPerValidator as tryAsPerValidator, index$j_tryAsSegmentIndex as tryAsSegmentIndex, index$j_tryAsServiceGas as tryAsServiceGas, index$j_tryAsServiceId as tryAsServiceId, index$j_tryAsTimeSlot as tryAsTimeSlot, index$j_tryAsValidatorIndex as tryAsValidatorIndex, index$j_workItem as workItem, index$j_workPackage as workPackage, index$j_workReport as workReport, index$j_workResult as workResult };
|
|
6896
|
-
export type { index$j_BlockView as BlockView, index$j_CodeHash as CodeHash, index$j_CoreIndex as CoreIndex, index$j_EntropyHash as EntropyHash, index$j_Epoch as Epoch, index$j_ExtrinsicHash as ExtrinsicHash, index$j_ExtrinsicView as ExtrinsicView, index$j_HeaderHash as HeaderHash, index$j_HeaderView as HeaderView, index$j_PerEpochBlock as PerEpochBlock, index$j_PerValidator as PerValidator, index$j_SEGMENT_BYTES as SEGMENT_BYTES, index$j_Segment as Segment, index$j_SegmentIndex as SegmentIndex, index$j_ServiceGas as ServiceGas, index$j_ServiceId as ServiceId, index$j_StateRootHash as StateRootHash, index$j_TimeSlot as TimeSlot, index$j_ValidatorIndex as ValidatorIndex, index$j_WorkReportHash as WorkReportHash };
|
|
6906
|
+
export { index$j_Block as Block, index$j_EpochMarker as EpochMarker, index$j_Extrinsic as Extrinsic, index$j_Header as Header, index$j_HeaderViewWithHash as HeaderViewWithHash, index$j_MAX_NUMBER_OF_SEGMENTS as MAX_NUMBER_OF_SEGMENTS, index$j_TicketsMarker as TicketsMarker, index$j_ValidatorKeys as ValidatorKeys, index$j_W_E as W_E, index$j_W_S as W_S, index$j_assurances as assurances, index$j_codecPerEpochBlock as codecPerEpochBlock, index$j_codecPerValidator as codecPerValidator, codec as codecUtils, index$j_disputes as disputes, index$j_encodeUnsealedHeader as encodeUnsealedHeader, index$j_guarantees as guarantees, index$j_headerViewWithHashCodec as headerViewWithHashCodec, index$j_legacyDescriptor as legacyDescriptor, index$j_preimage as preimage, index$j_refineContext as refineContext, index$j_tickets as tickets, index$j_tryAsCoreIndex as tryAsCoreIndex, index$j_tryAsEpoch as tryAsEpoch, index$j_tryAsPerEpochBlock as tryAsPerEpochBlock, index$j_tryAsPerValidator as tryAsPerValidator, index$j_tryAsSegmentIndex as tryAsSegmentIndex, index$j_tryAsServiceGas as tryAsServiceGas, index$j_tryAsServiceId as tryAsServiceId, index$j_tryAsTimeSlot as tryAsTimeSlot, index$j_tryAsValidatorIndex as tryAsValidatorIndex, index$j_workItem as workItem, index$j_workPackage as workPackage, index$j_workReport as workReport, index$j_workResult as workResult };
|
|
6907
|
+
export type { index$j_BlockView as BlockView, index$j_CodeHash as CodeHash, index$j_CoreIndex as CoreIndex, index$j_EntropyHash as EntropyHash, index$j_Epoch as Epoch, index$j_EpochMarkerView as EpochMarkerView, index$j_ExtrinsicHash as ExtrinsicHash, index$j_ExtrinsicView as ExtrinsicView, index$j_HeaderHash as HeaderHash, index$j_HeaderView as HeaderView, index$j_PerEpochBlock as PerEpochBlock, index$j_PerValidator as PerValidator, index$j_SEGMENT_BYTES as SEGMENT_BYTES, index$j_Segment as Segment, index$j_SegmentIndex as SegmentIndex, index$j_ServiceGas as ServiceGas, index$j_ServiceId as ServiceId, index$j_StateRootHash as StateRootHash, index$j_TicketsMarkerView as TicketsMarkerView, index$j_TimeSlot as TimeSlot, index$j_ValidatorIndex as ValidatorIndex, index$j_WorkReportHash as WorkReportHash };
|
|
6897
6908
|
}
|
|
6898
6909
|
|
|
6899
6910
|
/** A type that can be read from a JSON-parsed object. */
|
|
@@ -7635,7 +7646,7 @@ declare const epochMark = json.object<JsonEpochMarker, EpochMarker>(
|
|
|
7635
7646
|
(x) => EpochMarker.create({ entropy: x.entropy, ticketsEntropy: x.tickets_entropy, validators: x.validators }),
|
|
7636
7647
|
);
|
|
7637
7648
|
|
|
7638
|
-
declare const
|
|
7649
|
+
declare const ticket = json.object<Ticket>(
|
|
7639
7650
|
{
|
|
7640
7651
|
id: fromJson.bytes32(),
|
|
7641
7652
|
attempt: fromJson.ticketAttempt,
|
|
@@ -7649,7 +7660,7 @@ type JsonHeader = {
|
|
|
7649
7660
|
extrinsic_hash: ExtrinsicHash;
|
|
7650
7661
|
slot: TimeSlot;
|
|
7651
7662
|
epoch_mark?: EpochMarker;
|
|
7652
|
-
tickets_mark?:
|
|
7663
|
+
tickets_mark?: Ticket[];
|
|
7653
7664
|
offenders_mark: Ed25519Key[];
|
|
7654
7665
|
author_index: ValidatorIndex;
|
|
7655
7666
|
entropy_source: BandersnatchVrfSignature;
|
|
@@ -7663,7 +7674,7 @@ declare const headerFromJson = json.object<JsonHeader, Header>(
|
|
|
7663
7674
|
extrinsic_hash: fromJson.bytes32(),
|
|
7664
7675
|
slot: "number",
|
|
7665
7676
|
epoch_mark: json.optional(epochMark),
|
|
7666
|
-
tickets_mark: json.optional
|
|
7677
|
+
tickets_mark: json.optional(json.array(ticket)),
|
|
7667
7678
|
offenders_mark: json.array(fromJson.bytes32<Ed25519Key>()),
|
|
7668
7679
|
author_index: "number",
|
|
7669
7680
|
entropy_source: bandersnatchVrfSignature,
|
|
@@ -7687,7 +7698,10 @@ declare const headerFromJson = json.object<JsonHeader, Header>(
|
|
|
7687
7698
|
header.extrinsicHash = extrinsic_hash;
|
|
7688
7699
|
header.timeSlotIndex = slot;
|
|
7689
7700
|
header.epochMarker = epoch_mark ?? null;
|
|
7690
|
-
header.ticketsMarker =
|
|
7701
|
+
header.ticketsMarker =
|
|
7702
|
+
tickets_mark === undefined || tickets_mark === null
|
|
7703
|
+
? null
|
|
7704
|
+
: TicketsMarker.create({ tickets: asOpaqueType(tickets_mark) });
|
|
7691
7705
|
header.offendersMarker = offenders_mark;
|
|
7692
7706
|
header.bandersnatchBlockAuthorIndex = author_index;
|
|
7693
7707
|
header.entropySource = entropy_source;
|
|
@@ -7737,9 +7751,9 @@ declare const index$h_preimagesExtrinsicFromJson: typeof preimagesExtrinsicFromJ
|
|
|
7737
7751
|
declare const index$h_refineContextFromJson: typeof refineContextFromJson;
|
|
7738
7752
|
declare const index$h_reportGuaranteeFromJson: typeof reportGuaranteeFromJson;
|
|
7739
7753
|
declare const index$h_segmentRootLookupItemFromJson: typeof segmentRootLookupItemFromJson;
|
|
7754
|
+
declare const index$h_ticket: typeof ticket;
|
|
7740
7755
|
declare const index$h_ticketEnvelopeFromJson: typeof ticketEnvelopeFromJson;
|
|
7741
7756
|
declare const index$h_ticketsExtrinsicFromJson: typeof ticketsExtrinsicFromJson;
|
|
7742
|
-
declare const index$h_ticketsMark: typeof ticketsMark;
|
|
7743
7757
|
declare const index$h_validatorKeysFromJson: typeof validatorKeysFromJson;
|
|
7744
7758
|
declare const index$h_validatorSignatureFromJson: typeof validatorSignatureFromJson;
|
|
7745
7759
|
declare const index$h_verdictFromJson: typeof verdictFromJson;
|
|
@@ -7749,7 +7763,7 @@ declare const index$h_workRefineLoadFromJson: typeof workRefineLoadFromJson;
|
|
|
7749
7763
|
declare const index$h_workReportFromJson: typeof workReportFromJson;
|
|
7750
7764
|
declare const index$h_workResultFromJson: typeof workResultFromJson;
|
|
7751
7765
|
declare namespace index$h {
|
|
7752
|
-
export { index$h_bandersnatchVrfSignature as bandersnatchVrfSignature, index$h_blockFromJson as blockFromJson, index$h_culpritFromJson as culpritFromJson, index$h_disputesExtrinsicFromJson as disputesExtrinsicFromJson, index$h_epochMark as epochMark, index$h_faultFromJson as faultFromJson, index$h_fromJson as fromJson, index$h_getAssurancesExtrinsicFromJson as getAssurancesExtrinsicFromJson, index$h_getAvailabilityAssuranceFromJson as getAvailabilityAssuranceFromJson, index$h_getExtrinsicFromJson as getExtrinsicFromJson, index$h_guaranteesExtrinsicFromJson as guaranteesExtrinsicFromJson, index$h_headerFromJson as headerFromJson, index$h_judgementFromJson as judgementFromJson, index$h_preimageFromJson as preimageFromJson, index$h_preimagesExtrinsicFromJson as preimagesExtrinsicFromJson, index$h_refineContextFromJson as refineContextFromJson, index$h_reportGuaranteeFromJson as reportGuaranteeFromJson, index$h_segmentRootLookupItemFromJson as segmentRootLookupItemFromJson, index$
|
|
7766
|
+
export { index$h_bandersnatchVrfSignature as bandersnatchVrfSignature, index$h_blockFromJson as blockFromJson, index$h_culpritFromJson as culpritFromJson, index$h_disputesExtrinsicFromJson as disputesExtrinsicFromJson, index$h_epochMark as epochMark, index$h_faultFromJson as faultFromJson, index$h_fromJson as fromJson, index$h_getAssurancesExtrinsicFromJson as getAssurancesExtrinsicFromJson, index$h_getAvailabilityAssuranceFromJson as getAvailabilityAssuranceFromJson, index$h_getExtrinsicFromJson as getExtrinsicFromJson, index$h_guaranteesExtrinsicFromJson as guaranteesExtrinsicFromJson, index$h_headerFromJson as headerFromJson, index$h_judgementFromJson as judgementFromJson, index$h_preimageFromJson as preimageFromJson, index$h_preimagesExtrinsicFromJson as preimagesExtrinsicFromJson, index$h_refineContextFromJson as refineContextFromJson, index$h_reportGuaranteeFromJson as reportGuaranteeFromJson, index$h_segmentRootLookupItemFromJson as segmentRootLookupItemFromJson, index$h_ticket as ticket, index$h_ticketEnvelopeFromJson as ticketEnvelopeFromJson, index$h_ticketsExtrinsicFromJson as ticketsExtrinsicFromJson, index$h_validatorKeysFromJson as validatorKeysFromJson, index$h_validatorSignatureFromJson as validatorSignatureFromJson, index$h_verdictFromJson as verdictFromJson, index$h_workExecResultFromJson as workExecResultFromJson, index$h_workPackageSpecFromJson as workPackageSpecFromJson, index$h_workRefineLoadFromJson as workRefineLoadFromJson, index$h_workReportFromJson as workReportFromJson, index$h_workResultFromJson as workResultFromJson };
|
|
7753
7767
|
export type { index$h_CamelToSnake as CamelToSnake, index$h_JsonCulprit as JsonCulprit, index$h_JsonEpochMarker as JsonEpochMarker, index$h_JsonFault as JsonFault, index$h_JsonHeader as JsonHeader, index$h_JsonJudgement as JsonJudgement, index$h_JsonObject as JsonObject, index$h_JsonRefineContext as JsonRefineContext, index$h_JsonReportGuarantee as JsonReportGuarantee, index$h_JsonVerdict as JsonVerdict, index$h_JsonWorkExecResult as JsonWorkExecResult, index$h_JsonWorkRefineLoad as JsonWorkRefineLoad, index$h_JsonWorkReport as JsonWorkReport, index$h_JsonWorkResult as JsonWorkResult };
|
|
7754
7768
|
}
|
|
7755
7769
|
|