mirror of
https://github.com/pezkuwichain/pezkuwi-api.git
synced 2026-04-22 03:17:56 +00:00
31467f90d4
- @pezkuwi/papi-utils (rebrand of @polkadot-api/utils) - @pezkuwi/bizinikiwi-bindings (rebrand of @polkadot-api/substrate-bindings) - @pezkuwi/metadata-builders (rebrand of @polkadot-api/metadata-builders) - @pezkuwi/merkleize-metadata (rebrand of @polkadot-api/merkleize-metadata) All @polkadot-api references replaced with @pezkuwi equivalents.
42 lines
1.0 KiB
JavaScript
42 lines
1.0 KiB
JavaScript
import { Struct, Vector, u8, str, createCodec } from 'scale-ts';
|
|
import { lookup } from './lookup.mjs';
|
|
import '../../utils/ss58-util.mjs';
|
|
import '../scale/Binary.mjs';
|
|
import '../scale/bitSequence.mjs';
|
|
import '../scale/char.mjs';
|
|
import { compactNumber } from '../scale/compact.mjs';
|
|
import '../scale/Hex.mjs';
|
|
import '../scale/fixed-str.mjs';
|
|
import '../scale/Variant.mjs';
|
|
import '../scale/ethAccount.mjs';
|
|
import '../scale/shaped.mjs';
|
|
import '../scale/BitSeq.mjs';
|
|
import { v14Pallet } from './pallets.mjs';
|
|
|
|
const empty = new Uint8Array();
|
|
const Always = (value) => createCodec(
|
|
() => empty,
|
|
() => value
|
|
);
|
|
const extrinsic$2 = Struct({
|
|
type: compactNumber,
|
|
version: u8,
|
|
signedExtensions: Vector(
|
|
Struct({
|
|
identifier: str,
|
|
type: compactNumber,
|
|
additionalSigned: compactNumber
|
|
})
|
|
)
|
|
});
|
|
const v14 = Struct({
|
|
lookup,
|
|
pallets: Vector(Struct({ ...v14Pallet, docs: Always([]) })),
|
|
extrinsic: extrinsic$2,
|
|
type: compactNumber,
|
|
apis: Always([])
|
|
});
|
|
|
|
export { v14 };
|
|
//# sourceMappingURL=v14.mjs.map
|