1 | import type { Compact, Enum, Null, Option, Struct, Text, Type, Vec, u32, u64, u8 } from '@polkadot/types-codec';
|
2 |
|
3 | export interface Si0Field extends Struct {
|
4 | readonly name: Option<Text>;
|
5 | readonly type: Si0LookupTypeId;
|
6 | readonly typeName: Option<Text>;
|
7 | readonly docs: Vec<Text>;
|
8 | }
|
9 |
|
10 | export interface Si0LookupTypeId extends u32 {
|
11 | }
|
12 |
|
13 | export interface Si0Path extends Vec<Text> {
|
14 | }
|
15 |
|
16 | export interface Si0Type extends Struct {
|
17 | readonly path: Si0Path;
|
18 | readonly params: Vec<Si0LookupTypeId>;
|
19 | readonly def: Si0TypeDef;
|
20 | }
|
21 |
|
22 | export interface Si0TypeDef extends Enum {
|
23 | readonly isComposite: boolean;
|
24 | readonly asComposite: Si0TypeDefComposite;
|
25 | readonly isVariant: boolean;
|
26 | readonly asVariant: Si0TypeDefVariant;
|
27 | readonly isSequence: boolean;
|
28 | readonly asSequence: Si0TypeDefSequence;
|
29 | readonly isArray: boolean;
|
30 | readonly asArray: Si0TypeDefArray;
|
31 | readonly isTuple: boolean;
|
32 | readonly asTuple: Si0TypeDefTuple;
|
33 | readonly isPrimitive: boolean;
|
34 | readonly asPrimitive: Si0TypeDefPrimitive;
|
35 | readonly isCompact: boolean;
|
36 | readonly asCompact: Si0TypeDefCompact;
|
37 | readonly isPhantom: boolean;
|
38 | readonly asPhantom: Si0TypeDefPhantom;
|
39 | readonly isBitSequence: boolean;
|
40 | readonly asBitSequence: Si0TypeDefBitSequence;
|
41 | readonly type: 'Composite' | 'Variant' | 'Sequence' | 'Array' | 'Tuple' | 'Primitive' | 'Compact' | 'Phantom' | 'BitSequence';
|
42 | }
|
43 |
|
44 | export interface Si0TypeDefArray extends Struct {
|
45 | readonly len: u32;
|
46 | readonly type: Si0LookupTypeId;
|
47 | }
|
48 |
|
49 | export interface Si0TypeDefBitSequence extends Struct {
|
50 | readonly bitStoreType: Si0LookupTypeId;
|
51 | readonly bitOrderType: Si0LookupTypeId;
|
52 | }
|
53 |
|
54 | export interface Si0TypeDefCompact extends Struct {
|
55 | readonly type: Si0LookupTypeId;
|
56 | }
|
57 |
|
58 | export interface Si0TypeDefComposite extends Struct {
|
59 | readonly fields: Vec<Si0Field>;
|
60 | }
|
61 |
|
62 | export interface Si0TypeDefPhantom extends Null {
|
63 | }
|
64 |
|
65 | export interface Si0TypeDefPrimitive extends Enum {
|
66 | readonly isBool: boolean;
|
67 | readonly isChar: boolean;
|
68 | readonly isStr: boolean;
|
69 | readonly isU8: boolean;
|
70 | readonly isU16: boolean;
|
71 | readonly isU32: boolean;
|
72 | readonly isU64: boolean;
|
73 | readonly isU128: boolean;
|
74 | readonly isU256: boolean;
|
75 | readonly isI8: boolean;
|
76 | readonly isI16: boolean;
|
77 | readonly isI32: boolean;
|
78 | readonly isI64: boolean;
|
79 | readonly isI128: boolean;
|
80 | readonly isI256: boolean;
|
81 | readonly type: 'Bool' | 'Char' | 'Str' | 'U8' | 'U16' | 'U32' | 'U64' | 'U128' | 'U256' | 'I8' | 'I16' | 'I32' | 'I64' | 'I128' | 'I256';
|
82 | }
|
83 |
|
84 | export interface Si0TypeDefSequence extends Struct {
|
85 | readonly type: Si0LookupTypeId;
|
86 | }
|
87 |
|
88 | export interface Si0TypeDefTuple extends Vec<Si0LookupTypeId> {
|
89 | }
|
90 |
|
91 | export interface Si0TypeDefVariant extends Struct {
|
92 | readonly variants: Vec<Si0Variant>;
|
93 | }
|
94 |
|
95 | export interface Si0TypeParameter extends Struct {
|
96 | readonly name: Text;
|
97 | readonly type: Option<Si0LookupTypeId>;
|
98 | }
|
99 |
|
100 | export interface Si0Variant extends Struct {
|
101 | readonly name: Text;
|
102 | readonly fields: Vec<Si0Field>;
|
103 | readonly index: Option<u8>;
|
104 | readonly discriminant: Option<u64>;
|
105 | readonly docs: Vec<Text>;
|
106 | }
|
107 |
|
108 | export interface Si1Field extends Struct {
|
109 | readonly name: Option<Text>;
|
110 | readonly type: Si1LookupTypeId;
|
111 | readonly typeName: Option<Text>;
|
112 | readonly docs: Vec<Text>;
|
113 | }
|
114 |
|
115 | export interface Si1LookupTypeId extends Compact<u32> {
|
116 | }
|
117 |
|
118 | export interface Si1Path extends Si0Path {
|
119 | }
|
120 |
|
121 | export interface Si1Type extends Struct {
|
122 | readonly path: Si1Path;
|
123 | readonly params: Vec<Si1TypeParameter>;
|
124 | readonly def: Si1TypeDef;
|
125 | readonly docs: Vec<Text>;
|
126 | }
|
127 |
|
128 | export interface Si1TypeDef extends Enum {
|
129 | readonly isComposite: boolean;
|
130 | readonly asComposite: Si1TypeDefComposite;
|
131 | readonly isVariant: boolean;
|
132 | readonly asVariant: Si1TypeDefVariant;
|
133 | readonly isSequence: boolean;
|
134 | readonly asSequence: Si1TypeDefSequence;
|
135 | readonly isArray: boolean;
|
136 | readonly asArray: Si1TypeDefArray;
|
137 | readonly isTuple: boolean;
|
138 | readonly asTuple: Si1TypeDefTuple;
|
139 | readonly isPrimitive: boolean;
|
140 | readonly asPrimitive: Si1TypeDefPrimitive;
|
141 | readonly isCompact: boolean;
|
142 | readonly asCompact: Si1TypeDefCompact;
|
143 | readonly isBitSequence: boolean;
|
144 | readonly asBitSequence: Si1TypeDefBitSequence;
|
145 | readonly isHistoricMetaCompat: boolean;
|
146 | readonly asHistoricMetaCompat: Type;
|
147 | readonly type: 'Composite' | 'Variant' | 'Sequence' | 'Array' | 'Tuple' | 'Primitive' | 'Compact' | 'BitSequence' | 'HistoricMetaCompat';
|
148 | }
|
149 |
|
150 | export interface Si1TypeDefArray extends Struct {
|
151 | readonly len: u32;
|
152 | readonly type: Si1LookupTypeId;
|
153 | }
|
154 |
|
155 | export interface Si1TypeDefBitSequence extends Struct {
|
156 | readonly bitStoreType: Si1LookupTypeId;
|
157 | readonly bitOrderType: Si1LookupTypeId;
|
158 | }
|
159 |
|
160 | export interface Si1TypeDefCompact extends Struct {
|
161 | readonly type: Si1LookupTypeId;
|
162 | }
|
163 |
|
164 | export interface Si1TypeDefComposite extends Struct {
|
165 | readonly fields: Vec<Si1Field>;
|
166 | }
|
167 |
|
168 | export interface Si1TypeDefPrimitive extends Si0TypeDefPrimitive {
|
169 | }
|
170 |
|
171 | export interface Si1TypeDefSequence extends Struct {
|
172 | readonly type: Si1LookupTypeId;
|
173 | }
|
174 |
|
175 | export interface Si1TypeDefTuple extends Vec<Si1LookupTypeId> {
|
176 | }
|
177 |
|
178 | export interface Si1TypeDefVariant extends Struct {
|
179 | readonly variants: Vec<Si1Variant>;
|
180 | }
|
181 |
|
182 | export interface Si1TypeParameter extends Struct {
|
183 | readonly name: Text;
|
184 | readonly type: Option<Si1LookupTypeId>;
|
185 | }
|
186 |
|
187 | export interface Si1Variant extends Struct {
|
188 | readonly name: Text;
|
189 | readonly fields: Vec<Si1Field>;
|
190 | readonly index: u8;
|
191 | readonly docs: Vec<Text>;
|
192 | }
|
193 |
|
194 | export interface SiField extends Si1Field {
|
195 | }
|
196 |
|
197 | export interface SiLookupTypeId extends Si1LookupTypeId {
|
198 | }
|
199 |
|
200 | export interface SiPath extends Si1Path {
|
201 | }
|
202 |
|
203 | export interface SiType extends Si1Type {
|
204 | }
|
205 |
|
206 | export interface SiTypeDef extends Si1TypeDef {
|
207 | }
|
208 |
|
209 | export interface SiTypeDefArray extends Si1TypeDefArray {
|
210 | }
|
211 |
|
212 | export interface SiTypeDefBitSequence extends Si1TypeDefBitSequence {
|
213 | }
|
214 |
|
215 | export interface SiTypeDefCompact extends Si1TypeDefCompact {
|
216 | }
|
217 |
|
218 | export interface SiTypeDefComposite extends Si1TypeDefComposite {
|
219 | }
|
220 |
|
221 | export interface SiTypeDefPrimitive extends Si1TypeDefPrimitive {
|
222 | }
|
223 |
|
224 | export interface SiTypeDefSequence extends Si1TypeDefSequence {
|
225 | }
|
226 |
|
227 | export interface SiTypeDefTuple extends Si1TypeDefTuple {
|
228 | }
|
229 |
|
230 | export interface SiTypeDefVariant extends Si1TypeDefVariant {
|
231 | }
|
232 |
|
233 | export interface SiTypeParameter extends Si1TypeParameter {
|
234 | }
|
235 |
|
236 | export interface SiVariant extends Si1Variant {
|
237 | }
|
238 | export declare type PHANTOM_SCALEINFO = 'scaleInfo';
|