@polkadot/types-codec 6.12.2-10

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.
Files changed (214) hide show
  1. package/abstract/AbstractArray.cjs +208 -0
  2. package/abstract/AbstractArray.d.ts +84 -0
  3. package/abstract/AbstractArray.js +197 -0
  4. package/abstract/AbstractInt.cjs +254 -0
  5. package/abstract/AbstractInt.d.ts +75 -0
  6. package/abstract/AbstractInt.js +231 -0
  7. package/abstract/index.cjs +21 -0
  8. package/abstract/index.d.ts +2 -0
  9. package/abstract/index.js +4 -0
  10. package/base/Base.cjs +137 -0
  11. package/base/Base.d.ts +56 -0
  12. package/base/Base.js +125 -0
  13. package/base/Compact.cjs +201 -0
  14. package/base/Compact.d.ts +83 -0
  15. package/base/Compact.js +186 -0
  16. package/base/DoNotConstruct.cjs +101 -0
  17. package/base/DoNotConstruct.d.ts +33 -0
  18. package/base/DoNotConstruct.js +88 -0
  19. package/base/Enum.cjs +445 -0
  20. package/base/Enum.d.ts +105 -0
  21. package/base/Enum.js +421 -0
  22. package/base/Int.cjs +45 -0
  23. package/base/Int.d.ts +16 -0
  24. package/base/Int.js +33 -0
  25. package/base/Null.cjs +111 -0
  26. package/base/Null.d.ts +54 -0
  27. package/base/Null.js +101 -0
  28. package/base/Option.cjs +256 -0
  29. package/base/Option.d.ts +88 -0
  30. package/base/Option.js +240 -0
  31. package/base/Result.cjs +109 -0
  32. package/base/Result.d.ts +46 -0
  33. package/base/Result.js +98 -0
  34. package/base/Tuple.cjs +132 -0
  35. package/base/Tuple.d.ts +39 -0
  36. package/base/Tuple.js +116 -0
  37. package/base/UInt.cjs +39 -0
  38. package/base/UInt.d.ts +15 -0
  39. package/base/UInt.js +29 -0
  40. package/base/Vec.cjs +126 -0
  41. package/base/Vec.d.ts +28 -0
  42. package/base/Vec.js +104 -0
  43. package/base/VecAny.cjs +31 -0
  44. package/base/VecAny.d.ts +15 -0
  45. package/base/VecAny.js +21 -0
  46. package/base/VecFixed.cjs +111 -0
  47. package/base/VecFixed.d.ts +26 -0
  48. package/base/VecFixed.js +93 -0
  49. package/base/index.cjs +109 -0
  50. package/base/index.d.ts +13 -0
  51. package/base/index.js +15 -0
  52. package/bundle.cjs +100 -0
  53. package/bundle.d.ts +7 -0
  54. package/bundle.js +9 -0
  55. package/detectPackage.cjs +9 -0
  56. package/detectPackage.d.ts +1 -0
  57. package/detectPackage.js +5 -0
  58. package/extended/BTreeMap.cjs +24 -0
  59. package/extended/BTreeMap.d.ts +5 -0
  60. package/extended/BTreeMap.js +14 -0
  61. package/extended/BTreeSet.cjs +227 -0
  62. package/extended/BTreeSet.d.ts +55 -0
  63. package/extended/BTreeSet.js +212 -0
  64. package/extended/BitVec.cjs +97 -0
  65. package/extended/BitVec.d.ts +26 -0
  66. package/extended/BitVec.js +82 -0
  67. package/extended/Bytes.cjs +86 -0
  68. package/extended/Bytes.d.ts +25 -0
  69. package/extended/Bytes.js +75 -0
  70. package/extended/HashMap.cjs +24 -0
  71. package/extended/HashMap.d.ts +5 -0
  72. package/extended/HashMap.js +14 -0
  73. package/extended/Linkage.cjs +89 -0
  74. package/extended/Linkage.d.ts +31 -0
  75. package/extended/Linkage.js +71 -0
  76. package/extended/Map.cjs +244 -0
  77. package/extended/Map.d.ts +50 -0
  78. package/extended/Map.js +225 -0
  79. package/extended/Range.cjs +92 -0
  80. package/extended/Range.d.ts +30 -0
  81. package/extended/Range.js +75 -0
  82. package/extended/Type.cjs +39 -0
  83. package/extended/Type.d.ts +16 -0
  84. package/extended/Type.js +27 -0
  85. package/extended/U8aFixed.cjs +66 -0
  86. package/extended/U8aFixed.d.ts +16 -0
  87. package/extended/U8aFixed.js +53 -0
  88. package/extended/WrapperOpaque.cjs +60 -0
  89. package/extended/WrapperOpaque.d.ts +14 -0
  90. package/extended/WrapperOpaque.js +49 -0
  91. package/extended/index.cjs +105 -0
  92. package/extended/index.d.ts +11 -0
  93. package/extended/index.js +13 -0
  94. package/index.cjs +20 -0
  95. package/index.d.ts +2 -0
  96. package/index.js +4 -0
  97. package/native/Bool.cjs +141 -0
  98. package/native/Bool.d.ts +62 -0
  99. package/native/Bool.js +130 -0
  100. package/native/Date.cjs +170 -0
  101. package/native/Date.d.ts +76 -0
  102. package/native/Date.js +158 -0
  103. package/native/Json.cjs +137 -0
  104. package/native/Json.d.ts +56 -0
  105. package/native/Json.js +121 -0
  106. package/native/Raw.cjs +192 -0
  107. package/native/Raw.d.ts +90 -0
  108. package/native/Raw.js +182 -0
  109. package/native/Set.cjs +268 -0
  110. package/native/Set.d.ts +76 -0
  111. package/native/Set.js +251 -0
  112. package/native/Struct.cjs +302 -0
  113. package/native/Struct.d.ts +93 -0
  114. package/native/Struct.js +286 -0
  115. package/native/Text.cjs +193 -0
  116. package/native/Text.d.ts +71 -0
  117. package/native/Text.js +178 -0
  118. package/native/index.cjs +79 -0
  119. package/native/index.d.ts +7 -0
  120. package/native/index.js +9 -0
  121. package/package.json +387 -0
  122. package/packageInfo.cjs +14 -0
  123. package/packageInfo.d.ts +4 -0
  124. package/packageInfo.js +7 -0
  125. package/primitive/I128.cjs +26 -0
  126. package/primitive/I128.d.ts +11 -0
  127. package/primitive/I128.js +16 -0
  128. package/primitive/I16.cjs +26 -0
  129. package/primitive/I16.d.ts +11 -0
  130. package/primitive/I16.js +16 -0
  131. package/primitive/I256.cjs +26 -0
  132. package/primitive/I256.d.ts +11 -0
  133. package/primitive/I256.js +16 -0
  134. package/primitive/I32.cjs +26 -0
  135. package/primitive/I32.d.ts +11 -0
  136. package/primitive/I32.js +16 -0
  137. package/primitive/I64.cjs +26 -0
  138. package/primitive/I64.d.ts +11 -0
  139. package/primitive/I64.js +16 -0
  140. package/primitive/I8.cjs +26 -0
  141. package/primitive/I8.d.ts +11 -0
  142. package/primitive/I8.js +16 -0
  143. package/primitive/U128.cjs +26 -0
  144. package/primitive/U128.d.ts +11 -0
  145. package/primitive/U128.js +16 -0
  146. package/primitive/U16.cjs +26 -0
  147. package/primitive/U16.d.ts +11 -0
  148. package/primitive/U16.js +16 -0
  149. package/primitive/U256.cjs +26 -0
  150. package/primitive/U256.d.ts +11 -0
  151. package/primitive/U256.js +16 -0
  152. package/primitive/U32.cjs +26 -0
  153. package/primitive/U32.d.ts +11 -0
  154. package/primitive/U32.js +16 -0
  155. package/primitive/U64.cjs +26 -0
  156. package/primitive/U64.d.ts +11 -0
  157. package/primitive/U64.js +16 -0
  158. package/primitive/U8.cjs +26 -0
  159. package/primitive/U8.d.ts +11 -0
  160. package/primitive/U8.js +16 -0
  161. package/primitive/USize.cjs +28 -0
  162. package/primitive/USize.d.ts +12 -0
  163. package/primitive/USize.js +18 -0
  164. package/primitive/index.cjs +187 -0
  165. package/primitive/index.d.ts +13 -0
  166. package/primitive/index.js +15 -0
  167. package/types/codec.cjs +1 -0
  168. package/types/codec.d.ts +77 -0
  169. package/types/codec.js +1 -0
  170. package/types/helpers.cjs +1 -0
  171. package/types/helpers.d.ts +14 -0
  172. package/types/helpers.js +1 -0
  173. package/types/index.cjs +57 -0
  174. package/types/index.d.ts +4 -0
  175. package/types/index.js +6 -0
  176. package/types/interfaces.cjs +1 -0
  177. package/types/interfaces.d.ts +69 -0
  178. package/types/interfaces.js +1 -0
  179. package/types/registry.cjs +1 -0
  180. package/types/registry.d.ts +61 -0
  181. package/types/registry.js +1 -0
  182. package/utils/compareArray.cjs +22 -0
  183. package/utils/compareArray.d.ts +1 -0
  184. package/utils/compareArray.js +13 -0
  185. package/utils/compareMap.cjs +39 -0
  186. package/utils/compareMap.d.ts +1 -0
  187. package/utils/compareMap.js +31 -0
  188. package/utils/compareSet.cjs +29 -0
  189. package/utils/compareSet.d.ts +1 -0
  190. package/utils/compareSet.js +22 -0
  191. package/utils/decodeU8a.cjs +69 -0
  192. package/utils/decodeU8a.d.ts +13 -0
  193. package/utils/decodeU8a.js +60 -0
  194. package/utils/index.cjs +95 -0
  195. package/utils/index.d.ts +9 -0
  196. package/utils/index.js +11 -0
  197. package/utils/mapToTypeMap.cjs +25 -0
  198. package/utils/mapToTypeMap.d.ts +5 -0
  199. package/utils/mapToTypeMap.js +17 -0
  200. package/utils/sanitize.cjs +242 -0
  201. package/utils/sanitize.d.ts +16 -0
  202. package/utils/sanitize.js +215 -0
  203. package/utils/sortValues.cjs +89 -0
  204. package/utils/sortValues.d.ts +13 -0
  205. package/utils/sortValues.js +73 -0
  206. package/utils/typeToConstructor.cjs +14 -0
  207. package/utils/typeToConstructor.d.ts +2 -0
  208. package/utils/typeToConstructor.js +6 -0
  209. package/utils/typesToMap.cjs +20 -0
  210. package/utils/typesToMap.d.ts +2 -0
  211. package/utils/typesToMap.js +13 -0
  212. package/utils/util.cjs +15 -0
  213. package/utils/util.d.ts +3 -0
  214. package/utils/util.js +7 -0
package/packageInfo.js ADDED
@@ -0,0 +1,7 @@
1
+ // Copyright 2017-2021 @polkadot/types-codec authors & contributors
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ // Auto-generated by @polkadot/dev, do not edit
4
+ export const packageInfo = {
5
+ name: '@polkadot/types-codec',
6
+ version: '6.12.2-10'
7
+ };
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.i128 = void 0;
7
+
8
+ var _Int = require("../base/Int.cjs");
9
+
10
+ // Copyright 2017-2021 @polkadot/types authors & contributors
11
+ // SPDX-License-Identifier: Apache-2.0
12
+
13
+ /**
14
+ * @name i128
15
+ * @description
16
+ * A 128-bit signed integer
17
+ */
18
+ class i128 extends _Int.Int.with(128) {
19
+ constructor() {
20
+ super(...arguments);
21
+ this.__IntType = 'i128';
22
+ }
23
+
24
+ }
25
+
26
+ exports.i128 = i128;
@@ -0,0 +1,11 @@
1
+ import { Int } from '../base/Int';
2
+ declare const i128_base: import("../types").CodecClass<Int>;
3
+ /**
4
+ * @name i128
5
+ * @description
6
+ * A 128-bit signed integer
7
+ */
8
+ export declare class i128 extends i128_base {
9
+ readonly __IntType = "i128";
10
+ }
11
+ export {};
@@ -0,0 +1,16 @@
1
+ // Copyright 2017-2021 @polkadot/types authors & contributors
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import { Int } from "../base/Int.js";
4
+ /**
5
+ * @name i128
6
+ * @description
7
+ * A 128-bit signed integer
8
+ */
9
+
10
+ export class i128 extends Int.with(128) {
11
+ constructor(...args) {
12
+ super(...args);
13
+ this.__IntType = 'i128';
14
+ }
15
+
16
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.i16 = void 0;
7
+
8
+ var _Int = require("../base/Int.cjs");
9
+
10
+ // Copyright 2017-2021 @polkadot/types authors & contributors
11
+ // SPDX-License-Identifier: Apache-2.0
12
+
13
+ /**
14
+ * @name i16
15
+ * @description
16
+ * A 16-bit signed integer
17
+ */
18
+ class i16 extends _Int.Int.with(16) {
19
+ constructor() {
20
+ super(...arguments);
21
+ this.__IntType = 'i16';
22
+ }
23
+
24
+ }
25
+
26
+ exports.i16 = i16;
@@ -0,0 +1,11 @@
1
+ import { Int } from '../base/Int';
2
+ declare const i16_base: import("../types").CodecClass<Int>;
3
+ /**
4
+ * @name i16
5
+ * @description
6
+ * A 16-bit signed integer
7
+ */
8
+ export declare class i16 extends i16_base {
9
+ readonly __IntType = "i16";
10
+ }
11
+ export {};
@@ -0,0 +1,16 @@
1
+ // Copyright 2017-2021 @polkadot/types authors & contributors
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import { Int } from "../base/Int.js";
4
+ /**
5
+ * @name i16
6
+ * @description
7
+ * A 16-bit signed integer
8
+ */
9
+
10
+ export class i16 extends Int.with(16) {
11
+ constructor(...args) {
12
+ super(...args);
13
+ this.__IntType = 'i16';
14
+ }
15
+
16
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.i256 = void 0;
7
+
8
+ var _Int = require("../base/Int.cjs");
9
+
10
+ // Copyright 2017-2021 @polkadot/types authors & contributors
11
+ // SPDX-License-Identifier: Apache-2.0
12
+
13
+ /**
14
+ * @name i256
15
+ * @description
16
+ * A 256-bit signed integer
17
+ */
18
+ class i256 extends _Int.Int.with(256) {
19
+ constructor() {
20
+ super(...arguments);
21
+ this.__IntType = 'i256';
22
+ }
23
+
24
+ }
25
+
26
+ exports.i256 = i256;
@@ -0,0 +1,11 @@
1
+ import { Int } from '../base/Int';
2
+ declare const i256_base: import("../types").CodecClass<Int>;
3
+ /**
4
+ * @name i256
5
+ * @description
6
+ * A 256-bit signed integer
7
+ */
8
+ export declare class i256 extends i256_base {
9
+ readonly __IntType = "i256";
10
+ }
11
+ export {};
@@ -0,0 +1,16 @@
1
+ // Copyright 2017-2021 @polkadot/types authors & contributors
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import { Int } from "../base/Int.js";
4
+ /**
5
+ * @name i256
6
+ * @description
7
+ * A 256-bit signed integer
8
+ */
9
+
10
+ export class i256 extends Int.with(256) {
11
+ constructor(...args) {
12
+ super(...args);
13
+ this.__IntType = 'i256';
14
+ }
15
+
16
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.i32 = void 0;
7
+
8
+ var _Int = require("../base/Int.cjs");
9
+
10
+ // Copyright 2017-2021 @polkadot/types authors & contributors
11
+ // SPDX-License-Identifier: Apache-2.0
12
+
13
+ /**
14
+ * @name i32
15
+ * @description
16
+ * A 32-bit signed integer
17
+ */
18
+ class i32 extends _Int.Int.with(32) {
19
+ constructor() {
20
+ super(...arguments);
21
+ this.__IntType = 'i32';
22
+ }
23
+
24
+ }
25
+
26
+ exports.i32 = i32;
@@ -0,0 +1,11 @@
1
+ import { Int } from '../base/Int';
2
+ declare const i32_base: import("../types").CodecClass<Int>;
3
+ /**
4
+ * @name i32
5
+ * @description
6
+ * A 32-bit signed integer
7
+ */
8
+ export declare class i32 extends i32_base {
9
+ readonly __IntType = "i32";
10
+ }
11
+ export {};
@@ -0,0 +1,16 @@
1
+ // Copyright 2017-2021 @polkadot/types authors & contributors
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import { Int } from "../base/Int.js";
4
+ /**
5
+ * @name i32
6
+ * @description
7
+ * A 32-bit signed integer
8
+ */
9
+
10
+ export class i32 extends Int.with(32) {
11
+ constructor(...args) {
12
+ super(...args);
13
+ this.__IntType = 'i32';
14
+ }
15
+
16
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.i64 = void 0;
7
+
8
+ var _Int = require("../base/Int.cjs");
9
+
10
+ // Copyright 2017-2021 @polkadot/types authors & contributors
11
+ // SPDX-License-Identifier: Apache-2.0
12
+
13
+ /**
14
+ * @name i64
15
+ * @description
16
+ * A 64-bit signed integer
17
+ */
18
+ class i64 extends _Int.Int.with(64) {
19
+ constructor() {
20
+ super(...arguments);
21
+ this.__IntType = 'i64';
22
+ }
23
+
24
+ }
25
+
26
+ exports.i64 = i64;
@@ -0,0 +1,11 @@
1
+ import { Int } from '../base/Int';
2
+ declare const i64_base: import("../types").CodecClass<Int>;
3
+ /**
4
+ * @name i64
5
+ * @description
6
+ * A 64-bit signed integer
7
+ */
8
+ export declare class i64 extends i64_base {
9
+ readonly __IntType = "i64";
10
+ }
11
+ export {};
@@ -0,0 +1,16 @@
1
+ // Copyright 2017-2021 @polkadot/types authors & contributors
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import { Int } from "../base/Int.js";
4
+ /**
5
+ * @name i64
6
+ * @description
7
+ * A 64-bit signed integer
8
+ */
9
+
10
+ export class i64 extends Int.with(64) {
11
+ constructor(...args) {
12
+ super(...args);
13
+ this.__IntType = 'i64';
14
+ }
15
+
16
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.i8 = void 0;
7
+
8
+ var _Int = require("../base/Int.cjs");
9
+
10
+ // Copyright 2017-2021 @polkadot/types authors & contributors
11
+ // SPDX-License-Identifier: Apache-2.0
12
+
13
+ /**
14
+ * @name i8
15
+ * @description
16
+ * An 8-bit signed integer
17
+ */
18
+ class i8 extends _Int.Int.with(8) {
19
+ constructor() {
20
+ super(...arguments);
21
+ this.__IntType = 'i8';
22
+ }
23
+
24
+ }
25
+
26
+ exports.i8 = i8;
@@ -0,0 +1,11 @@
1
+ import { Int } from '../base/Int';
2
+ declare const i8_base: import("../types").CodecClass<Int>;
3
+ /**
4
+ * @name i8
5
+ * @description
6
+ * An 8-bit signed integer
7
+ */
8
+ export declare class i8 extends i8_base {
9
+ readonly __IntType = "i8";
10
+ }
11
+ export {};
@@ -0,0 +1,16 @@
1
+ // Copyright 2017-2021 @polkadot/types authors & contributors
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import { Int } from "../base/Int.js";
4
+ /**
5
+ * @name i8
6
+ * @description
7
+ * An 8-bit signed integer
8
+ */
9
+
10
+ export class i8 extends Int.with(8) {
11
+ constructor(...args) {
12
+ super(...args);
13
+ this.__IntType = 'i8';
14
+ }
15
+
16
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.u128 = void 0;
7
+
8
+ var _UInt = require("../base/UInt.cjs");
9
+
10
+ // Copyright 2017-2021 @polkadot/types authors & contributors
11
+ // SPDX-License-Identifier: Apache-2.0
12
+
13
+ /**
14
+ * @name u128
15
+ * @description
16
+ * A 128-bit unsigned integer
17
+ */
18
+ class u128 extends _UInt.UInt.with(128) {
19
+ constructor() {
20
+ super(...arguments);
21
+ this.__UIntType = 'u128';
22
+ }
23
+
24
+ }
25
+
26
+ exports.u128 = u128;
@@ -0,0 +1,11 @@
1
+ import { UInt } from '../base/UInt';
2
+ declare const u128_base: import("../types").CodecClass<UInt>;
3
+ /**
4
+ * @name u128
5
+ * @description
6
+ * A 128-bit unsigned integer
7
+ */
8
+ export declare class u128 extends u128_base {
9
+ readonly __UIntType = "u128";
10
+ }
11
+ export {};
@@ -0,0 +1,16 @@
1
+ // Copyright 2017-2021 @polkadot/types authors & contributors
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import { UInt } from "../base/UInt.js";
4
+ /**
5
+ * @name u128
6
+ * @description
7
+ * A 128-bit unsigned integer
8
+ */
9
+
10
+ export class u128 extends UInt.with(128) {
11
+ constructor(...args) {
12
+ super(...args);
13
+ this.__UIntType = 'u128';
14
+ }
15
+
16
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.u16 = void 0;
7
+
8
+ var _UInt = require("../base/UInt.cjs");
9
+
10
+ // Copyright 2017-2021 @polkadot/types authors & contributors
11
+ // SPDX-License-Identifier: Apache-2.0
12
+
13
+ /**
14
+ * @name u16
15
+ * @description
16
+ * A 16-bit unsigned integer
17
+ */
18
+ class u16 extends _UInt.UInt.with(16) {
19
+ constructor() {
20
+ super(...arguments);
21
+ this.__UIntType = 'u16';
22
+ }
23
+
24
+ }
25
+
26
+ exports.u16 = u16;
@@ -0,0 +1,11 @@
1
+ import { UInt } from '../base/UInt';
2
+ declare const u16_base: import("../types").CodecClass<UInt>;
3
+ /**
4
+ * @name u16
5
+ * @description
6
+ * A 16-bit unsigned integer
7
+ */
8
+ export declare class u16 extends u16_base {
9
+ readonly __UIntType = "u16";
10
+ }
11
+ export {};
@@ -0,0 +1,16 @@
1
+ // Copyright 2017-2021 @polkadot/types authors & contributors
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import { UInt } from "../base/UInt.js";
4
+ /**
5
+ * @name u16
6
+ * @description
7
+ * A 16-bit unsigned integer
8
+ */
9
+
10
+ export class u16 extends UInt.with(16) {
11
+ constructor(...args) {
12
+ super(...args);
13
+ this.__UIntType = 'u16';
14
+ }
15
+
16
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.u256 = void 0;
7
+
8
+ var _UInt = require("../base/UInt.cjs");
9
+
10
+ // Copyright 2017-2021 @polkadot/types authors & contributors
11
+ // SPDX-License-Identifier: Apache-2.0
12
+
13
+ /**
14
+ * @name u256
15
+ * @description
16
+ * A 256-bit unsigned integer
17
+ */
18
+ class u256 extends _UInt.UInt.with(256) {
19
+ constructor() {
20
+ super(...arguments);
21
+ this.__UIntType = 'u256';
22
+ }
23
+
24
+ }
25
+
26
+ exports.u256 = u256;
@@ -0,0 +1,11 @@
1
+ import { UInt } from '../base/UInt';
2
+ declare const u256_base: import("../types").CodecClass<UInt>;
3
+ /**
4
+ * @name u256
5
+ * @description
6
+ * A 256-bit unsigned integer
7
+ */
8
+ export declare class u256 extends u256_base {
9
+ readonly __UIntType = "u256";
10
+ }
11
+ export {};
@@ -0,0 +1,16 @@
1
+ // Copyright 2017-2021 @polkadot/types authors & contributors
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import { UInt } from "../base/UInt.js";
4
+ /**
5
+ * @name u256
6
+ * @description
7
+ * A 256-bit unsigned integer
8
+ */
9
+
10
+ export class u256 extends UInt.with(256) {
11
+ constructor(...args) {
12
+ super(...args);
13
+ this.__UIntType = 'u256';
14
+ }
15
+
16
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.u32 = void 0;
7
+
8
+ var _UInt = require("../base/UInt.cjs");
9
+
10
+ // Copyright 2017-2021 @polkadot/types authors & contributors
11
+ // SPDX-License-Identifier: Apache-2.0
12
+
13
+ /**
14
+ * @name u32
15
+ * @description
16
+ * A 32-bit unsigned integer
17
+ */
18
+ class u32 extends _UInt.UInt.with(32) {
19
+ constructor() {
20
+ super(...arguments);
21
+ this.__UIntType = 'u32';
22
+ }
23
+
24
+ }
25
+
26
+ exports.u32 = u32;
@@ -0,0 +1,11 @@
1
+ import { UInt } from '../base/UInt';
2
+ declare const u32_base: import("../types").CodecClass<UInt>;
3
+ /**
4
+ * @name u32
5
+ * @description
6
+ * A 32-bit unsigned integer
7
+ */
8
+ export declare class u32 extends u32_base {
9
+ readonly __UIntType = "u32";
10
+ }
11
+ export {};
@@ -0,0 +1,16 @@
1
+ // Copyright 2017-2021 @polkadot/types authors & contributors
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import { UInt } from "../base/UInt.js";
4
+ /**
5
+ * @name u32
6
+ * @description
7
+ * A 32-bit unsigned integer
8
+ */
9
+
10
+ export class u32 extends UInt.with(32) {
11
+ constructor(...args) {
12
+ super(...args);
13
+ this.__UIntType = 'u32';
14
+ }
15
+
16
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.u64 = void 0;
7
+
8
+ var _UInt = require("../base/UInt.cjs");
9
+
10
+ // Copyright 2017-2021 @polkadot/types authors & contributors
11
+ // SPDX-License-Identifier: Apache-2.0
12
+
13
+ /**
14
+ * @name u64
15
+ * @description
16
+ * A 64-bit unsigned integer
17
+ */
18
+ class u64 extends _UInt.UInt.with(64) {
19
+ constructor() {
20
+ super(...arguments);
21
+ this.__UIntType = 'u64';
22
+ }
23
+
24
+ }
25
+
26
+ exports.u64 = u64;
@@ -0,0 +1,11 @@
1
+ import { UInt } from '../base/UInt';
2
+ declare const u64_base: import("../types").CodecClass<UInt>;
3
+ /**
4
+ * @name u64
5
+ * @description
6
+ * A 64-bit unsigned integer
7
+ */
8
+ export declare class u64 extends u64_base {
9
+ readonly __UIntType = "u64";
10
+ }
11
+ export {};
@@ -0,0 +1,16 @@
1
+ // Copyright 2017-2021 @polkadot/types authors & contributors
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ import { UInt } from "../base/UInt.js";
4
+ /**
5
+ * @name u64
6
+ * @description
7
+ * A 64-bit unsigned integer
8
+ */
9
+
10
+ export class u64 extends UInt.with(64) {
11
+ constructor(...args) {
12
+ super(...args);
13
+ this.__UIntType = 'u64';
14
+ }
15
+
16
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.u8 = void 0;
7
+
8
+ var _UInt = require("../base/UInt.cjs");
9
+
10
+ // Copyright 2017-2021 @polkadot/types authors & contributors
11
+ // SPDX-License-Identifier: Apache-2.0
12
+
13
+ /**
14
+ * @name u8
15
+ * @description
16
+ * An 8-bit unsigned integer
17
+ */
18
+ class u8 extends _UInt.UInt.with(8) {
19
+ constructor() {
20
+ super(...arguments);
21
+ this.__UIntType = 'u8';
22
+ }
23
+
24
+ }
25
+
26
+ exports.u8 = u8;
@@ -0,0 +1,11 @@
1
+ import { UInt } from '../base/UInt';
2
+ declare const u8_base: import("../types").CodecClass<UInt>;
3
+ /**
4
+ * @name u8
5
+ * @description
6
+ * An 8-bit unsigned integer
7
+ */
8
+ export declare class u8 extends u8_base {
9
+ readonly __UIntType = "u8";
10
+ }
11
+ export {};