@latticexyz/schema-type 1.40.0
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/README.md +1 -0
- package/dist/typescript/SchemaType.d.ts +404 -0
- package/dist/typescript/SchemaType.js +528 -0
- package/dist/typescript/SchemaType.js.map +1 -0
- package/package.json +32 -0
- package/src/solidity/SchemaType.sol +237 -0
- package/src/typescript/SchemaType.ts +643 -0
|
@@ -0,0 +1,528 @@
|
|
|
1
|
+
// WARNING: SchemaType enum MUST mirror the solidity version!
|
|
2
|
+
// WARNING: SchemaType methods use hardcoded enum indexes, review them after any changes to the enum
|
|
3
|
+
export var SchemaType;
|
|
4
|
+
(function (SchemaType) {
|
|
5
|
+
SchemaType[SchemaType["UINT8"] = 0] = "UINT8";
|
|
6
|
+
SchemaType[SchemaType["UINT16"] = 1] = "UINT16";
|
|
7
|
+
SchemaType[SchemaType["UINT24"] = 2] = "UINT24";
|
|
8
|
+
SchemaType[SchemaType["UINT32"] = 3] = "UINT32";
|
|
9
|
+
SchemaType[SchemaType["UINT40"] = 4] = "UINT40";
|
|
10
|
+
SchemaType[SchemaType["UINT48"] = 5] = "UINT48";
|
|
11
|
+
SchemaType[SchemaType["UINT56"] = 6] = "UINT56";
|
|
12
|
+
SchemaType[SchemaType["UINT64"] = 7] = "UINT64";
|
|
13
|
+
SchemaType[SchemaType["UINT72"] = 8] = "UINT72";
|
|
14
|
+
SchemaType[SchemaType["UINT80"] = 9] = "UINT80";
|
|
15
|
+
SchemaType[SchemaType["UINT88"] = 10] = "UINT88";
|
|
16
|
+
SchemaType[SchemaType["UINT96"] = 11] = "UINT96";
|
|
17
|
+
SchemaType[SchemaType["UINT104"] = 12] = "UINT104";
|
|
18
|
+
SchemaType[SchemaType["UINT112"] = 13] = "UINT112";
|
|
19
|
+
SchemaType[SchemaType["UINT120"] = 14] = "UINT120";
|
|
20
|
+
SchemaType[SchemaType["UINT128"] = 15] = "UINT128";
|
|
21
|
+
SchemaType[SchemaType["UINT136"] = 16] = "UINT136";
|
|
22
|
+
SchemaType[SchemaType["UINT144"] = 17] = "UINT144";
|
|
23
|
+
SchemaType[SchemaType["UINT152"] = 18] = "UINT152";
|
|
24
|
+
SchemaType[SchemaType["UINT160"] = 19] = "UINT160";
|
|
25
|
+
SchemaType[SchemaType["UINT168"] = 20] = "UINT168";
|
|
26
|
+
SchemaType[SchemaType["UINT176"] = 21] = "UINT176";
|
|
27
|
+
SchemaType[SchemaType["UINT184"] = 22] = "UINT184";
|
|
28
|
+
SchemaType[SchemaType["UINT192"] = 23] = "UINT192";
|
|
29
|
+
SchemaType[SchemaType["UINT200"] = 24] = "UINT200";
|
|
30
|
+
SchemaType[SchemaType["UINT208"] = 25] = "UINT208";
|
|
31
|
+
SchemaType[SchemaType["UINT216"] = 26] = "UINT216";
|
|
32
|
+
SchemaType[SchemaType["UINT224"] = 27] = "UINT224";
|
|
33
|
+
SchemaType[SchemaType["UINT232"] = 28] = "UINT232";
|
|
34
|
+
SchemaType[SchemaType["UINT240"] = 29] = "UINT240";
|
|
35
|
+
SchemaType[SchemaType["UINT248"] = 30] = "UINT248";
|
|
36
|
+
SchemaType[SchemaType["UINT256"] = 31] = "UINT256";
|
|
37
|
+
SchemaType[SchemaType["INT8"] = 32] = "INT8";
|
|
38
|
+
SchemaType[SchemaType["INT16"] = 33] = "INT16";
|
|
39
|
+
SchemaType[SchemaType["INT24"] = 34] = "INT24";
|
|
40
|
+
SchemaType[SchemaType["INT32"] = 35] = "INT32";
|
|
41
|
+
SchemaType[SchemaType["INT40"] = 36] = "INT40";
|
|
42
|
+
SchemaType[SchemaType["INT48"] = 37] = "INT48";
|
|
43
|
+
SchemaType[SchemaType["INT56"] = 38] = "INT56";
|
|
44
|
+
SchemaType[SchemaType["INT64"] = 39] = "INT64";
|
|
45
|
+
SchemaType[SchemaType["INT72"] = 40] = "INT72";
|
|
46
|
+
SchemaType[SchemaType["INT80"] = 41] = "INT80";
|
|
47
|
+
SchemaType[SchemaType["INT88"] = 42] = "INT88";
|
|
48
|
+
SchemaType[SchemaType["INT96"] = 43] = "INT96";
|
|
49
|
+
SchemaType[SchemaType["INT104"] = 44] = "INT104";
|
|
50
|
+
SchemaType[SchemaType["INT112"] = 45] = "INT112";
|
|
51
|
+
SchemaType[SchemaType["INT120"] = 46] = "INT120";
|
|
52
|
+
SchemaType[SchemaType["INT128"] = 47] = "INT128";
|
|
53
|
+
SchemaType[SchemaType["INT136"] = 48] = "INT136";
|
|
54
|
+
SchemaType[SchemaType["INT144"] = 49] = "INT144";
|
|
55
|
+
SchemaType[SchemaType["INT152"] = 50] = "INT152";
|
|
56
|
+
SchemaType[SchemaType["INT160"] = 51] = "INT160";
|
|
57
|
+
SchemaType[SchemaType["INT168"] = 52] = "INT168";
|
|
58
|
+
SchemaType[SchemaType["INT176"] = 53] = "INT176";
|
|
59
|
+
SchemaType[SchemaType["INT184"] = 54] = "INT184";
|
|
60
|
+
SchemaType[SchemaType["INT192"] = 55] = "INT192";
|
|
61
|
+
SchemaType[SchemaType["INT200"] = 56] = "INT200";
|
|
62
|
+
SchemaType[SchemaType["INT208"] = 57] = "INT208";
|
|
63
|
+
SchemaType[SchemaType["INT216"] = 58] = "INT216";
|
|
64
|
+
SchemaType[SchemaType["INT224"] = 59] = "INT224";
|
|
65
|
+
SchemaType[SchemaType["INT232"] = 60] = "INT232";
|
|
66
|
+
SchemaType[SchemaType["INT240"] = 61] = "INT240";
|
|
67
|
+
SchemaType[SchemaType["INT248"] = 62] = "INT248";
|
|
68
|
+
SchemaType[SchemaType["INT256"] = 63] = "INT256";
|
|
69
|
+
SchemaType[SchemaType["BYTES1"] = 64] = "BYTES1";
|
|
70
|
+
SchemaType[SchemaType["BYTES2"] = 65] = "BYTES2";
|
|
71
|
+
SchemaType[SchemaType["BYTES3"] = 66] = "BYTES3";
|
|
72
|
+
SchemaType[SchemaType["BYTES4"] = 67] = "BYTES4";
|
|
73
|
+
SchemaType[SchemaType["BYTES5"] = 68] = "BYTES5";
|
|
74
|
+
SchemaType[SchemaType["BYTES6"] = 69] = "BYTES6";
|
|
75
|
+
SchemaType[SchemaType["BYTES7"] = 70] = "BYTES7";
|
|
76
|
+
SchemaType[SchemaType["BYTES8"] = 71] = "BYTES8";
|
|
77
|
+
SchemaType[SchemaType["BYTES9"] = 72] = "BYTES9";
|
|
78
|
+
SchemaType[SchemaType["BYTES10"] = 73] = "BYTES10";
|
|
79
|
+
SchemaType[SchemaType["BYTES11"] = 74] = "BYTES11";
|
|
80
|
+
SchemaType[SchemaType["BYTES12"] = 75] = "BYTES12";
|
|
81
|
+
SchemaType[SchemaType["BYTES13"] = 76] = "BYTES13";
|
|
82
|
+
SchemaType[SchemaType["BYTES14"] = 77] = "BYTES14";
|
|
83
|
+
SchemaType[SchemaType["BYTES15"] = 78] = "BYTES15";
|
|
84
|
+
SchemaType[SchemaType["BYTES16"] = 79] = "BYTES16";
|
|
85
|
+
SchemaType[SchemaType["BYTES17"] = 80] = "BYTES17";
|
|
86
|
+
SchemaType[SchemaType["BYTES18"] = 81] = "BYTES18";
|
|
87
|
+
SchemaType[SchemaType["BYTES19"] = 82] = "BYTES19";
|
|
88
|
+
SchemaType[SchemaType["BYTES20"] = 83] = "BYTES20";
|
|
89
|
+
SchemaType[SchemaType["BYTES21"] = 84] = "BYTES21";
|
|
90
|
+
SchemaType[SchemaType["BYTES22"] = 85] = "BYTES22";
|
|
91
|
+
SchemaType[SchemaType["BYTES23"] = 86] = "BYTES23";
|
|
92
|
+
SchemaType[SchemaType["BYTES24"] = 87] = "BYTES24";
|
|
93
|
+
SchemaType[SchemaType["BYTES25"] = 88] = "BYTES25";
|
|
94
|
+
SchemaType[SchemaType["BYTES26"] = 89] = "BYTES26";
|
|
95
|
+
SchemaType[SchemaType["BYTES27"] = 90] = "BYTES27";
|
|
96
|
+
SchemaType[SchemaType["BYTES28"] = 91] = "BYTES28";
|
|
97
|
+
SchemaType[SchemaType["BYTES29"] = 92] = "BYTES29";
|
|
98
|
+
SchemaType[SchemaType["BYTES30"] = 93] = "BYTES30";
|
|
99
|
+
SchemaType[SchemaType["BYTES31"] = 94] = "BYTES31";
|
|
100
|
+
SchemaType[SchemaType["BYTES32"] = 95] = "BYTES32";
|
|
101
|
+
SchemaType[SchemaType["BOOL"] = 96] = "BOOL";
|
|
102
|
+
SchemaType[SchemaType["ADDRESS"] = 97] = "ADDRESS";
|
|
103
|
+
SchemaType[SchemaType["UINT8_ARRAY"] = 98] = "UINT8_ARRAY";
|
|
104
|
+
SchemaType[SchemaType["UINT16_ARRAY"] = 99] = "UINT16_ARRAY";
|
|
105
|
+
SchemaType[SchemaType["UINT24_ARRAY"] = 100] = "UINT24_ARRAY";
|
|
106
|
+
SchemaType[SchemaType["UINT32_ARRAY"] = 101] = "UINT32_ARRAY";
|
|
107
|
+
SchemaType[SchemaType["UINT40_ARRAY"] = 102] = "UINT40_ARRAY";
|
|
108
|
+
SchemaType[SchemaType["UINT48_ARRAY"] = 103] = "UINT48_ARRAY";
|
|
109
|
+
SchemaType[SchemaType["UINT56_ARRAY"] = 104] = "UINT56_ARRAY";
|
|
110
|
+
SchemaType[SchemaType["UINT64_ARRAY"] = 105] = "UINT64_ARRAY";
|
|
111
|
+
SchemaType[SchemaType["UINT72_ARRAY"] = 106] = "UINT72_ARRAY";
|
|
112
|
+
SchemaType[SchemaType["UINT80_ARRAY"] = 107] = "UINT80_ARRAY";
|
|
113
|
+
SchemaType[SchemaType["UINT88_ARRAY"] = 108] = "UINT88_ARRAY";
|
|
114
|
+
SchemaType[SchemaType["UINT96_ARRAY"] = 109] = "UINT96_ARRAY";
|
|
115
|
+
SchemaType[SchemaType["UINT104_ARRAY"] = 110] = "UINT104_ARRAY";
|
|
116
|
+
SchemaType[SchemaType["UINT112_ARRAY"] = 111] = "UINT112_ARRAY";
|
|
117
|
+
SchemaType[SchemaType["UINT120_ARRAY"] = 112] = "UINT120_ARRAY";
|
|
118
|
+
SchemaType[SchemaType["UINT128_ARRAY"] = 113] = "UINT128_ARRAY";
|
|
119
|
+
SchemaType[SchemaType["UINT136_ARRAY"] = 114] = "UINT136_ARRAY";
|
|
120
|
+
SchemaType[SchemaType["UINT144_ARRAY"] = 115] = "UINT144_ARRAY";
|
|
121
|
+
SchemaType[SchemaType["UINT152_ARRAY"] = 116] = "UINT152_ARRAY";
|
|
122
|
+
SchemaType[SchemaType["UINT160_ARRAY"] = 117] = "UINT160_ARRAY";
|
|
123
|
+
SchemaType[SchemaType["UINT168_ARRAY"] = 118] = "UINT168_ARRAY";
|
|
124
|
+
SchemaType[SchemaType["UINT176_ARRAY"] = 119] = "UINT176_ARRAY";
|
|
125
|
+
SchemaType[SchemaType["UINT184_ARRAY"] = 120] = "UINT184_ARRAY";
|
|
126
|
+
SchemaType[SchemaType["UINT192_ARRAY"] = 121] = "UINT192_ARRAY";
|
|
127
|
+
SchemaType[SchemaType["UINT200_ARRAY"] = 122] = "UINT200_ARRAY";
|
|
128
|
+
SchemaType[SchemaType["UINT208_ARRAY"] = 123] = "UINT208_ARRAY";
|
|
129
|
+
SchemaType[SchemaType["UINT216_ARRAY"] = 124] = "UINT216_ARRAY";
|
|
130
|
+
SchemaType[SchemaType["UINT224_ARRAY"] = 125] = "UINT224_ARRAY";
|
|
131
|
+
SchemaType[SchemaType["UINT232_ARRAY"] = 126] = "UINT232_ARRAY";
|
|
132
|
+
SchemaType[SchemaType["UINT240_ARRAY"] = 127] = "UINT240_ARRAY";
|
|
133
|
+
SchemaType[SchemaType["UINT248_ARRAY"] = 128] = "UINT248_ARRAY";
|
|
134
|
+
SchemaType[SchemaType["UINT256_ARRAY"] = 129] = "UINT256_ARRAY";
|
|
135
|
+
SchemaType[SchemaType["INT8_ARRAY"] = 130] = "INT8_ARRAY";
|
|
136
|
+
SchemaType[SchemaType["INT16_ARRAY"] = 131] = "INT16_ARRAY";
|
|
137
|
+
SchemaType[SchemaType["INT24_ARRAY"] = 132] = "INT24_ARRAY";
|
|
138
|
+
SchemaType[SchemaType["INT32_ARRAY"] = 133] = "INT32_ARRAY";
|
|
139
|
+
SchemaType[SchemaType["INT40_ARRAY"] = 134] = "INT40_ARRAY";
|
|
140
|
+
SchemaType[SchemaType["INT48_ARRAY"] = 135] = "INT48_ARRAY";
|
|
141
|
+
SchemaType[SchemaType["INT56_ARRAY"] = 136] = "INT56_ARRAY";
|
|
142
|
+
SchemaType[SchemaType["INT64_ARRAY"] = 137] = "INT64_ARRAY";
|
|
143
|
+
SchemaType[SchemaType["INT72_ARRAY"] = 138] = "INT72_ARRAY";
|
|
144
|
+
SchemaType[SchemaType["INT80_ARRAY"] = 139] = "INT80_ARRAY";
|
|
145
|
+
SchemaType[SchemaType["INT88_ARRAY"] = 140] = "INT88_ARRAY";
|
|
146
|
+
SchemaType[SchemaType["INT96_ARRAY"] = 141] = "INT96_ARRAY";
|
|
147
|
+
SchemaType[SchemaType["INT104_ARRAY"] = 142] = "INT104_ARRAY";
|
|
148
|
+
SchemaType[SchemaType["INT112_ARRAY"] = 143] = "INT112_ARRAY";
|
|
149
|
+
SchemaType[SchemaType["INT120_ARRAY"] = 144] = "INT120_ARRAY";
|
|
150
|
+
SchemaType[SchemaType["INT128_ARRAY"] = 145] = "INT128_ARRAY";
|
|
151
|
+
SchemaType[SchemaType["INT136_ARRAY"] = 146] = "INT136_ARRAY";
|
|
152
|
+
SchemaType[SchemaType["INT144_ARRAY"] = 147] = "INT144_ARRAY";
|
|
153
|
+
SchemaType[SchemaType["INT152_ARRAY"] = 148] = "INT152_ARRAY";
|
|
154
|
+
SchemaType[SchemaType["INT160_ARRAY"] = 149] = "INT160_ARRAY";
|
|
155
|
+
SchemaType[SchemaType["INT168_ARRAY"] = 150] = "INT168_ARRAY";
|
|
156
|
+
SchemaType[SchemaType["INT176_ARRAY"] = 151] = "INT176_ARRAY";
|
|
157
|
+
SchemaType[SchemaType["INT184_ARRAY"] = 152] = "INT184_ARRAY";
|
|
158
|
+
SchemaType[SchemaType["INT192_ARRAY"] = 153] = "INT192_ARRAY";
|
|
159
|
+
SchemaType[SchemaType["INT200_ARRAY"] = 154] = "INT200_ARRAY";
|
|
160
|
+
SchemaType[SchemaType["INT208_ARRAY"] = 155] = "INT208_ARRAY";
|
|
161
|
+
SchemaType[SchemaType["INT216_ARRAY"] = 156] = "INT216_ARRAY";
|
|
162
|
+
SchemaType[SchemaType["INT224_ARRAY"] = 157] = "INT224_ARRAY";
|
|
163
|
+
SchemaType[SchemaType["INT232_ARRAY"] = 158] = "INT232_ARRAY";
|
|
164
|
+
SchemaType[SchemaType["INT240_ARRAY"] = 159] = "INT240_ARRAY";
|
|
165
|
+
SchemaType[SchemaType["INT248_ARRAY"] = 160] = "INT248_ARRAY";
|
|
166
|
+
SchemaType[SchemaType["INT256_ARRAY"] = 161] = "INT256_ARRAY";
|
|
167
|
+
SchemaType[SchemaType["BYTES1_ARRAY"] = 162] = "BYTES1_ARRAY";
|
|
168
|
+
SchemaType[SchemaType["BYTES2_ARRAY"] = 163] = "BYTES2_ARRAY";
|
|
169
|
+
SchemaType[SchemaType["BYTES3_ARRAY"] = 164] = "BYTES3_ARRAY";
|
|
170
|
+
SchemaType[SchemaType["BYTES4_ARRAY"] = 165] = "BYTES4_ARRAY";
|
|
171
|
+
SchemaType[SchemaType["BYTES5_ARRAY"] = 166] = "BYTES5_ARRAY";
|
|
172
|
+
SchemaType[SchemaType["BYTES6_ARRAY"] = 167] = "BYTES6_ARRAY";
|
|
173
|
+
SchemaType[SchemaType["BYTES7_ARRAY"] = 168] = "BYTES7_ARRAY";
|
|
174
|
+
SchemaType[SchemaType["BYTES8_ARRAY"] = 169] = "BYTES8_ARRAY";
|
|
175
|
+
SchemaType[SchemaType["BYTES9_ARRAY"] = 170] = "BYTES9_ARRAY";
|
|
176
|
+
SchemaType[SchemaType["BYTES10_ARRAY"] = 171] = "BYTES10_ARRAY";
|
|
177
|
+
SchemaType[SchemaType["BYTES11_ARRAY"] = 172] = "BYTES11_ARRAY";
|
|
178
|
+
SchemaType[SchemaType["BYTES12_ARRAY"] = 173] = "BYTES12_ARRAY";
|
|
179
|
+
SchemaType[SchemaType["BYTES13_ARRAY"] = 174] = "BYTES13_ARRAY";
|
|
180
|
+
SchemaType[SchemaType["BYTES14_ARRAY"] = 175] = "BYTES14_ARRAY";
|
|
181
|
+
SchemaType[SchemaType["BYTES15_ARRAY"] = 176] = "BYTES15_ARRAY";
|
|
182
|
+
SchemaType[SchemaType["BYTES16_ARRAY"] = 177] = "BYTES16_ARRAY";
|
|
183
|
+
SchemaType[SchemaType["BYTES17_ARRAY"] = 178] = "BYTES17_ARRAY";
|
|
184
|
+
SchemaType[SchemaType["BYTES18_ARRAY"] = 179] = "BYTES18_ARRAY";
|
|
185
|
+
SchemaType[SchemaType["BYTES19_ARRAY"] = 180] = "BYTES19_ARRAY";
|
|
186
|
+
SchemaType[SchemaType["BYTES20_ARRAY"] = 181] = "BYTES20_ARRAY";
|
|
187
|
+
SchemaType[SchemaType["BYTES21_ARRAY"] = 182] = "BYTES21_ARRAY";
|
|
188
|
+
SchemaType[SchemaType["BYTES22_ARRAY"] = 183] = "BYTES22_ARRAY";
|
|
189
|
+
SchemaType[SchemaType["BYTES23_ARRAY"] = 184] = "BYTES23_ARRAY";
|
|
190
|
+
SchemaType[SchemaType["BYTES24_ARRAY"] = 185] = "BYTES24_ARRAY";
|
|
191
|
+
SchemaType[SchemaType["BYTES25_ARRAY"] = 186] = "BYTES25_ARRAY";
|
|
192
|
+
SchemaType[SchemaType["BYTES26_ARRAY"] = 187] = "BYTES26_ARRAY";
|
|
193
|
+
SchemaType[SchemaType["BYTES27_ARRAY"] = 188] = "BYTES27_ARRAY";
|
|
194
|
+
SchemaType[SchemaType["BYTES28_ARRAY"] = 189] = "BYTES28_ARRAY";
|
|
195
|
+
SchemaType[SchemaType["BYTES29_ARRAY"] = 190] = "BYTES29_ARRAY";
|
|
196
|
+
SchemaType[SchemaType["BYTES30_ARRAY"] = 191] = "BYTES30_ARRAY";
|
|
197
|
+
SchemaType[SchemaType["BYTES31_ARRAY"] = 192] = "BYTES31_ARRAY";
|
|
198
|
+
SchemaType[SchemaType["BYTES32_ARRAY"] = 193] = "BYTES32_ARRAY";
|
|
199
|
+
SchemaType[SchemaType["BOOL_ARRAY"] = 194] = "BOOL_ARRAY";
|
|
200
|
+
SchemaType[SchemaType["ADDRESS_ARRAY"] = 195] = "ADDRESS_ARRAY";
|
|
201
|
+
SchemaType[SchemaType["BYTES"] = 196] = "BYTES";
|
|
202
|
+
SchemaType[SchemaType["STRING"] = 197] = "STRING";
|
|
203
|
+
})(SchemaType || (SchemaType = {}));
|
|
204
|
+
export function getStaticByteLength(schemaType) {
|
|
205
|
+
const val = schemaType.valueOf();
|
|
206
|
+
if (val < 32) {
|
|
207
|
+
// uint8-256
|
|
208
|
+
return val + 1;
|
|
209
|
+
}
|
|
210
|
+
else if (val < 64) {
|
|
211
|
+
// int8-256, offset by 32
|
|
212
|
+
return val + 1 - 32;
|
|
213
|
+
}
|
|
214
|
+
else if (val < 96) {
|
|
215
|
+
// bytes1-32, offset by 64
|
|
216
|
+
return val + 1 - 64;
|
|
217
|
+
}
|
|
218
|
+
// Other static types
|
|
219
|
+
if (schemaType == SchemaType.BOOL) {
|
|
220
|
+
return 1;
|
|
221
|
+
}
|
|
222
|
+
else if (schemaType == SchemaType.ADDRESS) {
|
|
223
|
+
return 20;
|
|
224
|
+
}
|
|
225
|
+
// Return 0 for all dynamic types
|
|
226
|
+
return 0;
|
|
227
|
+
}
|
|
228
|
+
export const SchemaTypeId = {
|
|
229
|
+
[SchemaType.UINT8]: "uint8",
|
|
230
|
+
[SchemaType.UINT16]: "uint16",
|
|
231
|
+
[SchemaType.UINT24]: "uint24",
|
|
232
|
+
[SchemaType.UINT32]: "uint32",
|
|
233
|
+
[SchemaType.UINT40]: "uint40",
|
|
234
|
+
[SchemaType.UINT48]: "uint48",
|
|
235
|
+
[SchemaType.UINT56]: "uint56",
|
|
236
|
+
[SchemaType.UINT64]: "uint64",
|
|
237
|
+
[SchemaType.UINT72]: "uint72",
|
|
238
|
+
[SchemaType.UINT80]: "uint80",
|
|
239
|
+
[SchemaType.UINT88]: "uint88",
|
|
240
|
+
[SchemaType.UINT96]: "uint96",
|
|
241
|
+
[SchemaType.UINT104]: "uint104",
|
|
242
|
+
[SchemaType.UINT112]: "uint112",
|
|
243
|
+
[SchemaType.UINT120]: "uint120",
|
|
244
|
+
[SchemaType.UINT128]: "uint128",
|
|
245
|
+
[SchemaType.UINT136]: "uint136",
|
|
246
|
+
[SchemaType.UINT144]: "uint144",
|
|
247
|
+
[SchemaType.UINT152]: "uint152",
|
|
248
|
+
[SchemaType.UINT160]: "uint160",
|
|
249
|
+
[SchemaType.UINT168]: "uint168",
|
|
250
|
+
[SchemaType.UINT176]: "uint176",
|
|
251
|
+
[SchemaType.UINT184]: "uint184",
|
|
252
|
+
[SchemaType.UINT192]: "uint192",
|
|
253
|
+
[SchemaType.UINT200]: "uint200",
|
|
254
|
+
[SchemaType.UINT208]: "uint208",
|
|
255
|
+
[SchemaType.UINT216]: "uint216",
|
|
256
|
+
[SchemaType.UINT224]: "uint224",
|
|
257
|
+
[SchemaType.UINT232]: "uint232",
|
|
258
|
+
[SchemaType.UINT240]: "uint240",
|
|
259
|
+
[SchemaType.UINT248]: "uint248",
|
|
260
|
+
[SchemaType.UINT256]: "uint256",
|
|
261
|
+
[SchemaType.INT8]: "int8",
|
|
262
|
+
[SchemaType.INT16]: "int16",
|
|
263
|
+
[SchemaType.INT24]: "int24",
|
|
264
|
+
[SchemaType.INT32]: "int32",
|
|
265
|
+
[SchemaType.INT40]: "int40",
|
|
266
|
+
[SchemaType.INT48]: "int48",
|
|
267
|
+
[SchemaType.INT56]: "int56",
|
|
268
|
+
[SchemaType.INT64]: "int64",
|
|
269
|
+
[SchemaType.INT72]: "int72",
|
|
270
|
+
[SchemaType.INT80]: "int80",
|
|
271
|
+
[SchemaType.INT88]: "int88",
|
|
272
|
+
[SchemaType.INT96]: "int96",
|
|
273
|
+
[SchemaType.INT104]: "int104",
|
|
274
|
+
[SchemaType.INT112]: "int112",
|
|
275
|
+
[SchemaType.INT120]: "int120",
|
|
276
|
+
[SchemaType.INT128]: "int128",
|
|
277
|
+
[SchemaType.INT136]: "int136",
|
|
278
|
+
[SchemaType.INT144]: "int144",
|
|
279
|
+
[SchemaType.INT152]: "int152",
|
|
280
|
+
[SchemaType.INT160]: "int160",
|
|
281
|
+
[SchemaType.INT168]: "int168",
|
|
282
|
+
[SchemaType.INT176]: "int176",
|
|
283
|
+
[SchemaType.INT184]: "int184",
|
|
284
|
+
[SchemaType.INT192]: "int192",
|
|
285
|
+
[SchemaType.INT200]: "int200",
|
|
286
|
+
[SchemaType.INT208]: "int208",
|
|
287
|
+
[SchemaType.INT216]: "int216",
|
|
288
|
+
[SchemaType.INT224]: "int224",
|
|
289
|
+
[SchemaType.INT232]: "int232",
|
|
290
|
+
[SchemaType.INT240]: "int240",
|
|
291
|
+
[SchemaType.INT248]: "int248",
|
|
292
|
+
[SchemaType.INT256]: "int256",
|
|
293
|
+
[SchemaType.BYTES1]: "bytes1",
|
|
294
|
+
[SchemaType.BYTES2]: "bytes2",
|
|
295
|
+
[SchemaType.BYTES3]: "bytes3",
|
|
296
|
+
[SchemaType.BYTES4]: "bytes4",
|
|
297
|
+
[SchemaType.BYTES5]: "bytes5",
|
|
298
|
+
[SchemaType.BYTES6]: "bytes6",
|
|
299
|
+
[SchemaType.BYTES7]: "bytes7",
|
|
300
|
+
[SchemaType.BYTES8]: "bytes8",
|
|
301
|
+
[SchemaType.BYTES9]: "bytes9",
|
|
302
|
+
[SchemaType.BYTES10]: "bytes10",
|
|
303
|
+
[SchemaType.BYTES11]: "bytes11",
|
|
304
|
+
[SchemaType.BYTES12]: "bytes12",
|
|
305
|
+
[SchemaType.BYTES13]: "bytes13",
|
|
306
|
+
[SchemaType.BYTES14]: "bytes14",
|
|
307
|
+
[SchemaType.BYTES15]: "bytes15",
|
|
308
|
+
[SchemaType.BYTES16]: "bytes16",
|
|
309
|
+
[SchemaType.BYTES17]: "bytes17",
|
|
310
|
+
[SchemaType.BYTES18]: "bytes18",
|
|
311
|
+
[SchemaType.BYTES19]: "bytes19",
|
|
312
|
+
[SchemaType.BYTES20]: "bytes20",
|
|
313
|
+
[SchemaType.BYTES21]: "bytes21",
|
|
314
|
+
[SchemaType.BYTES22]: "bytes22",
|
|
315
|
+
[SchemaType.BYTES23]: "bytes23",
|
|
316
|
+
[SchemaType.BYTES24]: "bytes24",
|
|
317
|
+
[SchemaType.BYTES25]: "bytes25",
|
|
318
|
+
[SchemaType.BYTES26]: "bytes26",
|
|
319
|
+
[SchemaType.BYTES27]: "bytes27",
|
|
320
|
+
[SchemaType.BYTES28]: "bytes28",
|
|
321
|
+
[SchemaType.BYTES29]: "bytes29",
|
|
322
|
+
[SchemaType.BYTES30]: "bytes30",
|
|
323
|
+
[SchemaType.BYTES31]: "bytes31",
|
|
324
|
+
[SchemaType.BYTES32]: "bytes32",
|
|
325
|
+
[SchemaType.BOOL]: "bool",
|
|
326
|
+
[SchemaType.ADDRESS]: "address",
|
|
327
|
+
[SchemaType.UINT8_ARRAY]: "uint8[]",
|
|
328
|
+
[SchemaType.UINT16_ARRAY]: "uint16[]",
|
|
329
|
+
[SchemaType.UINT24_ARRAY]: "uint24[]",
|
|
330
|
+
[SchemaType.UINT32_ARRAY]: "uint32[]",
|
|
331
|
+
[SchemaType.UINT40_ARRAY]: "uint40[]",
|
|
332
|
+
[SchemaType.UINT48_ARRAY]: "uint48[]",
|
|
333
|
+
[SchemaType.UINT56_ARRAY]: "uint56[]",
|
|
334
|
+
[SchemaType.UINT64_ARRAY]: "uint64[]",
|
|
335
|
+
[SchemaType.UINT72_ARRAY]: "uint72[]",
|
|
336
|
+
[SchemaType.UINT80_ARRAY]: "uint80[]",
|
|
337
|
+
[SchemaType.UINT88_ARRAY]: "uint88[]",
|
|
338
|
+
[SchemaType.UINT96_ARRAY]: "uint96[]",
|
|
339
|
+
[SchemaType.UINT104_ARRAY]: "uint104[]",
|
|
340
|
+
[SchemaType.UINT112_ARRAY]: "uint112[]",
|
|
341
|
+
[SchemaType.UINT120_ARRAY]: "uint120[]",
|
|
342
|
+
[SchemaType.UINT128_ARRAY]: "uint128[]",
|
|
343
|
+
[SchemaType.UINT136_ARRAY]: "uint136[]",
|
|
344
|
+
[SchemaType.UINT144_ARRAY]: "uint144[]",
|
|
345
|
+
[SchemaType.UINT152_ARRAY]: "uint152[]",
|
|
346
|
+
[SchemaType.UINT160_ARRAY]: "uint160[]",
|
|
347
|
+
[SchemaType.UINT168_ARRAY]: "uint168[]",
|
|
348
|
+
[SchemaType.UINT176_ARRAY]: "uint176[]",
|
|
349
|
+
[SchemaType.UINT184_ARRAY]: "uint184[]",
|
|
350
|
+
[SchemaType.UINT192_ARRAY]: "uint192[]",
|
|
351
|
+
[SchemaType.UINT200_ARRAY]: "uint200[]",
|
|
352
|
+
[SchemaType.UINT208_ARRAY]: "uint208[]",
|
|
353
|
+
[SchemaType.UINT216_ARRAY]: "uint216[]",
|
|
354
|
+
[SchemaType.UINT224_ARRAY]: "uint224[]",
|
|
355
|
+
[SchemaType.UINT232_ARRAY]: "uint232[]",
|
|
356
|
+
[SchemaType.UINT240_ARRAY]: "uint240[]",
|
|
357
|
+
[SchemaType.UINT248_ARRAY]: "uint248[]",
|
|
358
|
+
[SchemaType.UINT256_ARRAY]: "uint256[]",
|
|
359
|
+
[SchemaType.INT8_ARRAY]: "int8[]",
|
|
360
|
+
[SchemaType.INT16_ARRAY]: "int16[]",
|
|
361
|
+
[SchemaType.INT24_ARRAY]: "int24[]",
|
|
362
|
+
[SchemaType.INT32_ARRAY]: "int32[]",
|
|
363
|
+
[SchemaType.INT40_ARRAY]: "int40[]",
|
|
364
|
+
[SchemaType.INT48_ARRAY]: "int48[]",
|
|
365
|
+
[SchemaType.INT56_ARRAY]: "int56[]",
|
|
366
|
+
[SchemaType.INT64_ARRAY]: "int64[]",
|
|
367
|
+
[SchemaType.INT72_ARRAY]: "int72[]",
|
|
368
|
+
[SchemaType.INT80_ARRAY]: "int80[]",
|
|
369
|
+
[SchemaType.INT88_ARRAY]: "int88[]",
|
|
370
|
+
[SchemaType.INT96_ARRAY]: "int96[]",
|
|
371
|
+
[SchemaType.INT104_ARRAY]: "int104[]",
|
|
372
|
+
[SchemaType.INT112_ARRAY]: "int112[]",
|
|
373
|
+
[SchemaType.INT120_ARRAY]: "int120[]",
|
|
374
|
+
[SchemaType.INT128_ARRAY]: "int128[]",
|
|
375
|
+
[SchemaType.INT136_ARRAY]: "int136[]",
|
|
376
|
+
[SchemaType.INT144_ARRAY]: "int144[]",
|
|
377
|
+
[SchemaType.INT152_ARRAY]: "int152[]",
|
|
378
|
+
[SchemaType.INT160_ARRAY]: "int160[]",
|
|
379
|
+
[SchemaType.INT168_ARRAY]: "int168[]",
|
|
380
|
+
[SchemaType.INT176_ARRAY]: "int176[]",
|
|
381
|
+
[SchemaType.INT184_ARRAY]: "int184[]",
|
|
382
|
+
[SchemaType.INT192_ARRAY]: "int192[]",
|
|
383
|
+
[SchemaType.INT200_ARRAY]: "int200[]",
|
|
384
|
+
[SchemaType.INT208_ARRAY]: "int208[]",
|
|
385
|
+
[SchemaType.INT216_ARRAY]: "int216[]",
|
|
386
|
+
[SchemaType.INT224_ARRAY]: "int224[]",
|
|
387
|
+
[SchemaType.INT232_ARRAY]: "int232[]",
|
|
388
|
+
[SchemaType.INT240_ARRAY]: "int240[]",
|
|
389
|
+
[SchemaType.INT248_ARRAY]: "int248[]",
|
|
390
|
+
[SchemaType.INT256_ARRAY]: "int256[]",
|
|
391
|
+
[SchemaType.BYTES1_ARRAY]: "bytes1[]",
|
|
392
|
+
[SchemaType.BYTES2_ARRAY]: "bytes2[]",
|
|
393
|
+
[SchemaType.BYTES3_ARRAY]: "bytes3[]",
|
|
394
|
+
[SchemaType.BYTES4_ARRAY]: "bytes4[]",
|
|
395
|
+
[SchemaType.BYTES5_ARRAY]: "bytes5[]",
|
|
396
|
+
[SchemaType.BYTES6_ARRAY]: "bytes6[]",
|
|
397
|
+
[SchemaType.BYTES7_ARRAY]: "bytes7[]",
|
|
398
|
+
[SchemaType.BYTES8_ARRAY]: "bytes8[]",
|
|
399
|
+
[SchemaType.BYTES9_ARRAY]: "bytes9[]",
|
|
400
|
+
[SchemaType.BYTES10_ARRAY]: "bytes10[]",
|
|
401
|
+
[SchemaType.BYTES11_ARRAY]: "bytes11[]",
|
|
402
|
+
[SchemaType.BYTES12_ARRAY]: "bytes12[]",
|
|
403
|
+
[SchemaType.BYTES13_ARRAY]: "bytes13[]",
|
|
404
|
+
[SchemaType.BYTES14_ARRAY]: "bytes14[]",
|
|
405
|
+
[SchemaType.BYTES15_ARRAY]: "bytes15[]",
|
|
406
|
+
[SchemaType.BYTES16_ARRAY]: "bytes16[]",
|
|
407
|
+
[SchemaType.BYTES17_ARRAY]: "bytes17[]",
|
|
408
|
+
[SchemaType.BYTES18_ARRAY]: "bytes18[]",
|
|
409
|
+
[SchemaType.BYTES19_ARRAY]: "bytes19[]",
|
|
410
|
+
[SchemaType.BYTES20_ARRAY]: "bytes20[]",
|
|
411
|
+
[SchemaType.BYTES21_ARRAY]: "bytes21[]",
|
|
412
|
+
[SchemaType.BYTES22_ARRAY]: "bytes22[]",
|
|
413
|
+
[SchemaType.BYTES23_ARRAY]: "bytes23[]",
|
|
414
|
+
[SchemaType.BYTES24_ARRAY]: "bytes24[]",
|
|
415
|
+
[SchemaType.BYTES25_ARRAY]: "bytes25[]",
|
|
416
|
+
[SchemaType.BYTES26_ARRAY]: "bytes26[]",
|
|
417
|
+
[SchemaType.BYTES27_ARRAY]: "bytes27[]",
|
|
418
|
+
[SchemaType.BYTES28_ARRAY]: "bytes28[]",
|
|
419
|
+
[SchemaType.BYTES29_ARRAY]: "bytes29[]",
|
|
420
|
+
[SchemaType.BYTES30_ARRAY]: "bytes30[]",
|
|
421
|
+
[SchemaType.BYTES31_ARRAY]: "bytes31[]",
|
|
422
|
+
[SchemaType.BYTES32_ARRAY]: "bytes32[]",
|
|
423
|
+
[SchemaType.BOOL_ARRAY]: "bool[]",
|
|
424
|
+
[SchemaType.ADDRESS_ARRAY]: "address[]",
|
|
425
|
+
[SchemaType.BYTES]: "bytes",
|
|
426
|
+
[SchemaType.STRING]: "string",
|
|
427
|
+
};
|
|
428
|
+
export const SchemaTypeArrayToElement = {
|
|
429
|
+
[SchemaType.UINT8_ARRAY]: SchemaType.UINT8,
|
|
430
|
+
[SchemaType.UINT16_ARRAY]: SchemaType.UINT16,
|
|
431
|
+
[SchemaType.UINT24_ARRAY]: SchemaType.UINT24,
|
|
432
|
+
[SchemaType.UINT32_ARRAY]: SchemaType.UINT32,
|
|
433
|
+
[SchemaType.UINT40_ARRAY]: SchemaType.UINT40,
|
|
434
|
+
[SchemaType.UINT48_ARRAY]: SchemaType.UINT48,
|
|
435
|
+
[SchemaType.UINT56_ARRAY]: SchemaType.UINT56,
|
|
436
|
+
[SchemaType.UINT64_ARRAY]: SchemaType.UINT64,
|
|
437
|
+
[SchemaType.UINT72_ARRAY]: SchemaType.UINT72,
|
|
438
|
+
[SchemaType.UINT80_ARRAY]: SchemaType.UINT80,
|
|
439
|
+
[SchemaType.UINT88_ARRAY]: SchemaType.UINT88,
|
|
440
|
+
[SchemaType.UINT96_ARRAY]: SchemaType.UINT96,
|
|
441
|
+
[SchemaType.UINT104_ARRAY]: SchemaType.UINT104,
|
|
442
|
+
[SchemaType.UINT112_ARRAY]: SchemaType.UINT112,
|
|
443
|
+
[SchemaType.UINT120_ARRAY]: SchemaType.UINT120,
|
|
444
|
+
[SchemaType.UINT128_ARRAY]: SchemaType.UINT128,
|
|
445
|
+
[SchemaType.UINT136_ARRAY]: SchemaType.UINT136,
|
|
446
|
+
[SchemaType.UINT144_ARRAY]: SchemaType.UINT144,
|
|
447
|
+
[SchemaType.UINT152_ARRAY]: SchemaType.UINT152,
|
|
448
|
+
[SchemaType.UINT160_ARRAY]: SchemaType.UINT160,
|
|
449
|
+
[SchemaType.UINT168_ARRAY]: SchemaType.UINT168,
|
|
450
|
+
[SchemaType.UINT176_ARRAY]: SchemaType.UINT176,
|
|
451
|
+
[SchemaType.UINT184_ARRAY]: SchemaType.UINT184,
|
|
452
|
+
[SchemaType.UINT192_ARRAY]: SchemaType.UINT192,
|
|
453
|
+
[SchemaType.UINT200_ARRAY]: SchemaType.UINT200,
|
|
454
|
+
[SchemaType.UINT208_ARRAY]: SchemaType.UINT208,
|
|
455
|
+
[SchemaType.UINT216_ARRAY]: SchemaType.UINT216,
|
|
456
|
+
[SchemaType.UINT224_ARRAY]: SchemaType.UINT224,
|
|
457
|
+
[SchemaType.UINT232_ARRAY]: SchemaType.UINT232,
|
|
458
|
+
[SchemaType.UINT240_ARRAY]: SchemaType.UINT240,
|
|
459
|
+
[SchemaType.UINT248_ARRAY]: SchemaType.UINT248,
|
|
460
|
+
[SchemaType.UINT256_ARRAY]: SchemaType.UINT256,
|
|
461
|
+
[SchemaType.INT8_ARRAY]: SchemaType.INT8,
|
|
462
|
+
[SchemaType.INT16_ARRAY]: SchemaType.INT16,
|
|
463
|
+
[SchemaType.INT24_ARRAY]: SchemaType.INT24,
|
|
464
|
+
[SchemaType.INT32_ARRAY]: SchemaType.INT32,
|
|
465
|
+
[SchemaType.INT40_ARRAY]: SchemaType.INT40,
|
|
466
|
+
[SchemaType.INT48_ARRAY]: SchemaType.INT48,
|
|
467
|
+
[SchemaType.INT56_ARRAY]: SchemaType.INT56,
|
|
468
|
+
[SchemaType.INT64_ARRAY]: SchemaType.INT64,
|
|
469
|
+
[SchemaType.INT72_ARRAY]: SchemaType.INT72,
|
|
470
|
+
[SchemaType.INT80_ARRAY]: SchemaType.INT80,
|
|
471
|
+
[SchemaType.INT88_ARRAY]: SchemaType.INT88,
|
|
472
|
+
[SchemaType.INT96_ARRAY]: SchemaType.INT96,
|
|
473
|
+
[SchemaType.INT104_ARRAY]: SchemaType.INT104,
|
|
474
|
+
[SchemaType.INT112_ARRAY]: SchemaType.INT112,
|
|
475
|
+
[SchemaType.INT120_ARRAY]: SchemaType.INT120,
|
|
476
|
+
[SchemaType.INT128_ARRAY]: SchemaType.INT128,
|
|
477
|
+
[SchemaType.INT136_ARRAY]: SchemaType.INT136,
|
|
478
|
+
[SchemaType.INT144_ARRAY]: SchemaType.INT144,
|
|
479
|
+
[SchemaType.INT152_ARRAY]: SchemaType.INT152,
|
|
480
|
+
[SchemaType.INT160_ARRAY]: SchemaType.INT160,
|
|
481
|
+
[SchemaType.INT168_ARRAY]: SchemaType.INT168,
|
|
482
|
+
[SchemaType.INT176_ARRAY]: SchemaType.INT176,
|
|
483
|
+
[SchemaType.INT184_ARRAY]: SchemaType.INT184,
|
|
484
|
+
[SchemaType.INT192_ARRAY]: SchemaType.INT192,
|
|
485
|
+
[SchemaType.INT200_ARRAY]: SchemaType.INT200,
|
|
486
|
+
[SchemaType.INT208_ARRAY]: SchemaType.INT208,
|
|
487
|
+
[SchemaType.INT216_ARRAY]: SchemaType.INT216,
|
|
488
|
+
[SchemaType.INT224_ARRAY]: SchemaType.INT224,
|
|
489
|
+
[SchemaType.INT232_ARRAY]: SchemaType.INT232,
|
|
490
|
+
[SchemaType.INT240_ARRAY]: SchemaType.INT240,
|
|
491
|
+
[SchemaType.INT248_ARRAY]: SchemaType.INT248,
|
|
492
|
+
[SchemaType.INT256_ARRAY]: SchemaType.INT256,
|
|
493
|
+
[SchemaType.BYTES1_ARRAY]: SchemaType.BYTES1,
|
|
494
|
+
[SchemaType.BYTES2_ARRAY]: SchemaType.BYTES2,
|
|
495
|
+
[SchemaType.BYTES3_ARRAY]: SchemaType.BYTES3,
|
|
496
|
+
[SchemaType.BYTES4_ARRAY]: SchemaType.BYTES4,
|
|
497
|
+
[SchemaType.BYTES5_ARRAY]: SchemaType.BYTES5,
|
|
498
|
+
[SchemaType.BYTES6_ARRAY]: SchemaType.BYTES6,
|
|
499
|
+
[SchemaType.BYTES7_ARRAY]: SchemaType.BYTES7,
|
|
500
|
+
[SchemaType.BYTES8_ARRAY]: SchemaType.BYTES8,
|
|
501
|
+
[SchemaType.BYTES9_ARRAY]: SchemaType.BYTES9,
|
|
502
|
+
[SchemaType.BYTES10_ARRAY]: SchemaType.BYTES10,
|
|
503
|
+
[SchemaType.BYTES11_ARRAY]: SchemaType.BYTES11,
|
|
504
|
+
[SchemaType.BYTES12_ARRAY]: SchemaType.BYTES12,
|
|
505
|
+
[SchemaType.BYTES13_ARRAY]: SchemaType.BYTES13,
|
|
506
|
+
[SchemaType.BYTES14_ARRAY]: SchemaType.BYTES14,
|
|
507
|
+
[SchemaType.BYTES15_ARRAY]: SchemaType.BYTES15,
|
|
508
|
+
[SchemaType.BYTES16_ARRAY]: SchemaType.BYTES16,
|
|
509
|
+
[SchemaType.BYTES17_ARRAY]: SchemaType.BYTES17,
|
|
510
|
+
[SchemaType.BYTES18_ARRAY]: SchemaType.BYTES18,
|
|
511
|
+
[SchemaType.BYTES19_ARRAY]: SchemaType.BYTES19,
|
|
512
|
+
[SchemaType.BYTES20_ARRAY]: SchemaType.BYTES20,
|
|
513
|
+
[SchemaType.BYTES21_ARRAY]: SchemaType.BYTES21,
|
|
514
|
+
[SchemaType.BYTES22_ARRAY]: SchemaType.BYTES22,
|
|
515
|
+
[SchemaType.BYTES23_ARRAY]: SchemaType.BYTES23,
|
|
516
|
+
[SchemaType.BYTES24_ARRAY]: SchemaType.BYTES24,
|
|
517
|
+
[SchemaType.BYTES25_ARRAY]: SchemaType.BYTES25,
|
|
518
|
+
[SchemaType.BYTES26_ARRAY]: SchemaType.BYTES26,
|
|
519
|
+
[SchemaType.BYTES27_ARRAY]: SchemaType.BYTES27,
|
|
520
|
+
[SchemaType.BYTES28_ARRAY]: SchemaType.BYTES28,
|
|
521
|
+
[SchemaType.BYTES29_ARRAY]: SchemaType.BYTES29,
|
|
522
|
+
[SchemaType.BYTES30_ARRAY]: SchemaType.BYTES30,
|
|
523
|
+
[SchemaType.BYTES31_ARRAY]: SchemaType.BYTES31,
|
|
524
|
+
[SchemaType.BYTES32_ARRAY]: SchemaType.BYTES32,
|
|
525
|
+
[SchemaType.BOOL_ARRAY]: SchemaType.BOOL,
|
|
526
|
+
[SchemaType.ADDRESS_ARRAY]: SchemaType.ADDRESS,
|
|
527
|
+
};
|
|
528
|
+
//# sourceMappingURL=SchemaType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SchemaType.js","sourceRoot":"","sources":["../../src/typescript/SchemaType.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAC7D,oGAAoG;AACpG,MAAM,CAAN,IAAY,UAuMX;AAvMD,WAAY,UAAU;IACpB,6CAAK,CAAA;IACL,+CAAM,CAAA;IACN,+CAAM,CAAA;IACN,+CAAM,CAAA;IACN,+CAAM,CAAA;IACN,+CAAM,CAAA;IACN,+CAAM,CAAA;IACN,+CAAM,CAAA;IACN,+CAAM,CAAA;IACN,+CAAM,CAAA;IACN,gDAAM,CAAA;IACN,gDAAM,CAAA;IACN,kDAAO,CAAA;IACP,kDAAO,CAAA;IACP,kDAAO,CAAA;IACP,kDAAO,CAAA;IACP,kDAAO,CAAA;IACP,kDAAO,CAAA;IACP,kDAAO,CAAA;IACP,kDAAO,CAAA;IACP,kDAAO,CAAA;IACP,kDAAO,CAAA;IACP,kDAAO,CAAA;IACP,kDAAO,CAAA;IACP,kDAAO,CAAA;IACP,kDAAO,CAAA;IACP,kDAAO,CAAA;IACP,kDAAO,CAAA;IACP,kDAAO,CAAA;IACP,kDAAO,CAAA;IACP,kDAAO,CAAA;IACP,kDAAO,CAAA;IACP,4CAAI,CAAA;IACJ,8CAAK,CAAA;IACL,8CAAK,CAAA;IACL,8CAAK,CAAA;IACL,8CAAK,CAAA;IACL,8CAAK,CAAA;IACL,8CAAK,CAAA;IACL,8CAAK,CAAA;IACL,8CAAK,CAAA;IACL,8CAAK,CAAA;IACL,8CAAK,CAAA;IACL,8CAAK,CAAA;IACL,gDAAM,CAAA;IACN,gDAAM,CAAA;IACN,gDAAM,CAAA;IACN,gDAAM,CAAA;IACN,gDAAM,CAAA;IACN,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Aa,CAAC,EAAE,UAAU,CAAC,OAAO;IAC9C,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC,OAAO;IAC9C,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC,OAAO;IAC9C,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC,OAAO;IAC9C,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC,OAAO;IAC9C,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC,OAAO;IAC9C,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC,OAAO;IAC9C,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC,OAAO;IAC9C,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC,OAAO;IAC9C,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC,OAAO;IAE9C,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,UAAU,CAAC,IAAI;IACxC,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC,OAAO;CAG/C,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@latticexyz/schema-type",
|
|
3
|
+
"license": "MIT",
|
|
4
|
+
"version": "1.40.0",
|
|
5
|
+
"description": "SchemaType enum for various languages",
|
|
6
|
+
"main": "src/typescript/SchemaType.ts",
|
|
7
|
+
"source": "src/typescript/SchemaType.ts",
|
|
8
|
+
"type": "module",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/latticexyz/mud.git",
|
|
12
|
+
"directory": "packages/schema-type"
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"prepare": "yarn build && chmod u+x git-install.sh",
|
|
16
|
+
"git:install": "bash git-install.sh",
|
|
17
|
+
"test": "yarn test:solidity && yarn test:typescript",
|
|
18
|
+
"test:solidity": "forge test",
|
|
19
|
+
"test:typescript": "tsc --noEmit",
|
|
20
|
+
"build": "yarn build:solidity && yarn build:typescript",
|
|
21
|
+
"build:solidity": "rimraf out && forge build",
|
|
22
|
+
"build:typescript": "tsc",
|
|
23
|
+
"link": "yarn link",
|
|
24
|
+
"release": "npm publish --access=public"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"ds-test": "https://github.com/dapphub/ds-test.git#c9ce3f25bde29fc5eb9901842bf02850dfd2d084",
|
|
28
|
+
"forge-std": "https://github.com/foundry-rs/forge-std.git#b4f121555729b3afb3c5ffccb62ff4b6e2818fd3",
|
|
29
|
+
"rimraf": "^3.0.2"
|
|
30
|
+
},
|
|
31
|
+
"gitHead": "914a1e0ae4a573d685841ca2ea921435057deb8f"
|
|
32
|
+
}
|