@latticexyz/world 2.0.0-alpha.1.21 → 2.0.0-alpha.1.22

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 (133) hide show
  1. package/abi/AccessControl.sol/AccessControl.json +241 -241
  2. package/abi/AccessManagementSystem.sol/AccessManagementSystem.json +157 -157
  3. package/abi/AddressArray.sol/AddressArray.json +1124 -1124
  4. package/abi/ArrayLib.sol/ArrayLib.json +139 -139
  5. package/abi/Bool.sol/Bool.json +704 -704
  6. package/abi/Bytes.sol/Bytes.json +6 -6
  7. package/abi/Call.sol/Call.json +112 -112
  8. package/abi/Callbacks.sol/Callbacks.json +1100 -1100
  9. package/abi/CoreModule.sol/CoreModule.json +542 -542
  10. package/abi/CoreSystem.sol/CoreSystem.json +92 -92
  11. package/abi/DecodeSlice.sol/DecodeSlice.json +3891 -3891
  12. package/abi/EncodeArray.sol/EncodeArray.json +3344 -3344
  13. package/abi/FunctionSelectors.sol/FunctionSelectors.json +1678 -1678
  14. package/abi/Hooks.sol/Hooks.json +1100 -1100
  15. package/abi/IAccessManagementSystem.sol/IAccessManagementSystem.json +32 -32
  16. package/abi/IBaseWorld.sol/IBaseWorld.json +224 -99
  17. package/abi/ICoreSystem.sol/ICoreSystem.json +6 -6
  18. package/abi/IModule.sol/IModule.json +28 -28
  19. package/abi/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +40 -40
  20. package/abi/IStore.sol/IStore.json +551 -349
  21. package/abi/IStore.sol/IStoreData.json +551 -349
  22. package/abi/IStore.sol/IStoreHook.json +495 -349
  23. package/abi/IStore.sol/IStoreRead.json +495 -349
  24. package/abi/IStore.sol/IStoreRegistration.json +495 -349
  25. package/abi/IStore.sol/IStoreWrite.json +551 -349
  26. package/abi/IStoreRegistrationSystem.sol/IStoreRegistrationSystem.json +80 -80
  27. package/abi/ISystemHook.sol/ISystemHook.json +19 -19
  28. package/abi/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  29. package/abi/IWorldKernel.sol/IWorldCall.json +455 -276
  30. package/abi/IWorldKernel.sol/IWorldData.json +524 -276
  31. package/abi/IWorldKernel.sol/IWorldKernel.json +524 -276
  32. package/abi/IWorldKernel.sol/IWorldModuleInstallation.json +455 -276
  33. package/abi/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +198 -198
  34. package/abi/InstalledModules.sol/InstalledModules.json +1351 -1351
  35. package/abi/KeysWithValue.sol/KeysWithValue.json +1124 -1124
  36. package/abi/KeysWithValueHook.sol/KeysWithValueHook.json +416 -416
  37. package/abi/KeysWithValueModule.sol/KeysWithValueModule.json +293 -293
  38. package/abi/Memory.sol/Memory.json +131 -131
  39. package/abi/Mixed.sol/Mixed.json +2781 -2781
  40. package/abi/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +138 -138
  41. package/abi/NamespaceOwner.sol/NamespaceOwner.json +782 -782
  42. package/abi/PackedCounter.sol/PackedCounterLib.json +665 -665
  43. package/abi/ResourceAccess.sol/ResourceAccess.json +926 -926
  44. package/abi/ResourceSelector.sol/ResourceSelector.json +253 -253
  45. package/abi/ResourceType.sol/ResourceType.json +831 -831
  46. package/abi/Schema.sol/SchemaLib.json +1469 -1469
  47. package/abi/SchemaType.sol/SchemaType.json +315 -315
  48. package/abi/Slice.sol/SliceInstance.json +429 -429
  49. package/abi/Slice.sol/SliceLib.json +429 -429
  50. package/abi/Storage.sol/Storage.json +1024 -1061
  51. package/abi/StoreCore.sol/StoreCore.json +10434 -7652
  52. package/abi/StoreCore.sol/StoreCoreExtended.json +10434 -7652
  53. package/abi/StoreCore.sol/StoreCoreInternal.json +10434 -7652
  54. package/abi/StoreMetadata.sol/StoreMetadata.json +2116 -2116
  55. package/abi/StoreRead.sol/StoreRead.json +247 -247
  56. package/abi/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +339 -339
  57. package/abi/StoreSwitch.sol/StoreSwitch.json +1814 -1359
  58. package/abi/System.sol/System.json +31 -31
  59. package/abi/SystemRegistry.sol/SystemRegistry.json +794 -794
  60. package/abi/Systems.sol/Systems.json +1412 -1412
  61. package/abi/TableId.sol/TableId.json +27 -27
  62. package/abi/Tables.sol/Tables.json +92 -92
  63. package/abi/TightCoder.sol/TightCoder.json +275 -275
  64. package/abi/Types.sol/Types.json +8 -8
  65. package/abi/UniqueEntity.sol/UniqueEntity.json +683 -683
  66. package/abi/UniqueEntityModule.sol/UniqueEntityModule.json +232 -232
  67. package/abi/UniqueEntitySystem.sol/UniqueEntitySystem.json +114 -114
  68. package/abi/Utils.sol/Utils.json +67 -67
  69. package/abi/Vector2.sol/Vector2.json +1473 -1473
  70. package/abi/World.sol/World.json +2426 -1491
  71. package/abi/WorldContext.sol/WorldContext.json +65 -65
  72. package/abi/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1140 -1140
  73. package/abi/console.sol/console.json +11417 -11417
  74. package/abi/constants.sol/constants.json +34 -34
  75. package/abi/getKeysWithValue.sol/getKeysWithValue.json +129 -129
  76. package/abi/getTargetTableSelector.sol/getTargetTableSelector.json +75 -75
  77. package/abi/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  78. package/abi/interfaces/IErrors.sol/IErrors.json +57 -57
  79. package/abi/src/Bytes.sol/Bytes.json +1225 -1225
  80. package/abi/src/IStore.sol/IStore.json +727 -525
  81. package/abi/src/IStore.sol/IStoreData.json +727 -525
  82. package/abi/src/IStore.sol/IStoreHook.json +671 -525
  83. package/abi/src/IStore.sol/IStoreRead.json +671 -525
  84. package/abi/src/IStore.sol/IStoreRegistration.json +671 -525
  85. package/abi/src/IStore.sol/IStoreWrite.json +727 -525
  86. package/abi/src/Memory.sol/Memory.json +131 -131
  87. package/abi/src/PackedCounter.sol/PackedCounterLib.json +683 -683
  88. package/abi/src/Schema.sol/SchemaLib.json +1493 -1493
  89. package/abi/src/Slice.sol/SliceInstance.json +429 -429
  90. package/abi/src/Slice.sol/SliceLib.json +429 -429
  91. package/abi/src/StoreCore.sol/StoreCore.json +12500 -9718
  92. package/abi/src/StoreCore.sol/StoreCoreExtended.json +12500 -9718
  93. package/abi/src/StoreCore.sol/StoreCoreInternal.json +12500 -9718
  94. package/abi/src/StoreSwitch.sol/StoreSwitch.json +1822 -1367
  95. package/abi/tightcoder/EncodeArray.sol/EncodeArray.json +3344 -3344
  96. package/package.json +6 -6
  97. package/src/World.sol +32 -0
  98. package/src/interfaces/IWorldKernel.sol +12 -0
  99. package/types/ethers-contracts/IBaseWorld.ts +116 -0
  100. package/types/ethers-contracts/IStore.sol/IStore.ts +55 -0
  101. package/types/ethers-contracts/IStore.sol/IStoreData.ts +55 -0
  102. package/types/ethers-contracts/IStore.sol/IStoreWrite.ts +55 -0
  103. package/types/ethers-contracts/IWorldKernel.sol/IWorldData.ts +61 -0
  104. package/types/ethers-contracts/IWorldKernel.sol/IWorldKernel.ts +61 -0
  105. package/types/ethers-contracts/World.ts +116 -0
  106. package/types/ethers-contracts/factories/AccessManagementSystem__factory.ts +1 -1
  107. package/types/ethers-contracts/factories/CoreModule__factory.ts +1 -1
  108. package/types/ethers-contracts/factories/CoreSystem__factory.ts +1 -1
  109. package/types/ethers-contracts/factories/IBaseWorld__factory.ts +61 -0
  110. package/types/ethers-contracts/factories/IStore.sol/IStoreData__factory.ts +28 -0
  111. package/types/ethers-contracts/factories/IStore.sol/IStoreWrite__factory.ts +28 -0
  112. package/types/ethers-contracts/factories/IStore.sol/IStore__factory.ts +28 -0
  113. package/types/ethers-contracts/factories/IWorldKernel.sol/IWorldData__factory.ts +33 -0
  114. package/types/ethers-contracts/factories/IWorldKernel.sol/IWorldKernel__factory.ts +33 -0
  115. package/types/ethers-contracts/factories/KeysWithValueHook__factory.ts +1 -1
  116. package/types/ethers-contracts/factories/KeysWithValueModule__factory.ts +1 -1
  117. package/types/ethers-contracts/factories/ModuleInstallationSystem__factory.ts +1 -1
  118. package/types/ethers-contracts/factories/StoreCore__factory.ts +1 -1
  119. package/types/ethers-contracts/factories/StoreRead__factory.ts +1 -1
  120. package/types/ethers-contracts/factories/StoreRegistrationSystem__factory.ts +1 -1
  121. package/types/ethers-contracts/factories/StoreSwitch__factory.ts +1 -1
  122. package/types/ethers-contracts/factories/UniqueEntityModule__factory.ts +1 -1
  123. package/types/ethers-contracts/factories/UniqueEntitySystem__factory.ts +1 -1
  124. package/types/ethers-contracts/factories/WorldRegistrationSystem__factory.ts +1 -1
  125. package/types/ethers-contracts/factories/World__factory.ts +62 -1
  126. package/types/ethers-contracts/factories/src/IStore.sol/IStoreData__factory.ts +28 -0
  127. package/types/ethers-contracts/factories/src/IStore.sol/IStoreWrite__factory.ts +28 -0
  128. package/types/ethers-contracts/factories/src/IStore.sol/IStore__factory.ts +28 -0
  129. package/types/ethers-contracts/factories/src/StoreCore__factory.ts +1 -1
  130. package/types/ethers-contracts/factories/src/StoreSwitch__factory.ts +1 -1
  131. package/types/ethers-contracts/src/IStore.sol/IStore.ts +55 -0
  132. package/types/ethers-contracts/src/IStore.sol/IStoreData.ts +55 -0
  133. package/types/ethers-contracts/src/IStore.sol/IStoreWrite.ts +55 -0
@@ -63,17 +63,17 @@
63
63
  },
64
64
  "ast": {
65
65
  "absolutePath": "src/modules/utils/ArrayLib.sol",
66
- "id": 39819,
66
+ "id": 40420,
67
67
  "exportedSymbols": {
68
68
  "ArrayLib": [
69
- 39818
69
+ 40419
70
70
  ]
71
71
  },
72
72
  "nodeType": "SourceUnit",
73
73
  "src": "32:807:86",
74
74
  "nodes": [
75
75
  {
76
- "id": 39722,
76
+ "id": 40323,
77
77
  "nodeType": "PragmaDirective",
78
78
  "src": "32:24:86",
79
79
  "nodes": [],
@@ -85,24 +85,24 @@
85
85
  ]
86
86
  },
87
87
  {
88
- "id": 39818,
88
+ "id": 40419,
89
89
  "nodeType": "ContractDefinition",
90
90
  "src": "58:780:86",
91
91
  "nodes": [
92
92
  {
93
- "id": 39756,
93
+ "id": 40357,
94
94
  "nodeType": "FunctionDefinition",
95
95
  "src": "79:218:86",
96
96
  "nodes": [],
97
97
  "body": {
98
- "id": 39755,
98
+ "id": 40356,
99
99
  "nodeType": "Block",
100
100
  "src": "165:132:86",
101
101
  "nodes": [],
102
102
  "statements": [
103
103
  {
104
104
  "body": {
105
- "id": 39751,
105
+ "id": 40352,
106
106
  "nodeType": "Block",
107
107
  "src": "208:67:86",
108
108
  "statements": [
@@ -112,31 +112,31 @@
112
112
  "typeIdentifier": "t_bytes32",
113
113
  "typeString": "bytes32"
114
114
  },
115
- "id": 39746,
115
+ "id": 40347,
116
116
  "isConstant": false,
117
117
  "isLValue": false,
118
118
  "isPure": false,
119
119
  "lValueRequested": false,
120
120
  "leftExpression": {
121
121
  "baseExpression": {
122
- "id": 39742,
122
+ "id": 40343,
123
123
  "name": "arr",
124
124
  "nodeType": "Identifier",
125
125
  "overloadedDeclarations": [],
126
- "referencedDeclaration": 39725,
126
+ "referencedDeclaration": 40326,
127
127
  "src": "220:3:86",
128
128
  "typeDescriptions": {
129
129
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
130
130
  "typeString": "bytes32[] memory"
131
131
  }
132
132
  },
133
- "id": 39744,
133
+ "id": 40345,
134
134
  "indexExpression": {
135
- "id": 39743,
135
+ "id": 40344,
136
136
  "name": "i",
137
137
  "nodeType": "Identifier",
138
138
  "overloadedDeclarations": [],
139
- "referencedDeclaration": 39733,
139
+ "referencedDeclaration": 40334,
140
140
  "src": "224:1:86",
141
141
  "typeDescriptions": {
142
142
  "typeIdentifier": "t_uint256",
@@ -157,11 +157,11 @@
157
157
  "nodeType": "BinaryOperation",
158
158
  "operator": "==",
159
159
  "rightExpression": {
160
- "id": 39745,
160
+ "id": 40346,
161
161
  "name": "element",
162
162
  "nodeType": "Identifier",
163
163
  "overloadedDeclarations": [],
164
- "referencedDeclaration": 39727,
164
+ "referencedDeclaration": 40328,
165
165
  "src": "230:7:86",
166
166
  "typeDescriptions": {
167
167
  "typeIdentifier": "t_bytes32",
@@ -174,18 +174,18 @@
174
174
  "typeString": "bool"
175
175
  }
176
176
  },
177
- "id": 39750,
177
+ "id": 40351,
178
178
  "nodeType": "IfStatement",
179
179
  "src": "216:53:86",
180
180
  "trueBody": {
181
- "id": 39749,
181
+ "id": 40350,
182
182
  "nodeType": "Block",
183
183
  "src": "239:30:86",
184
184
  "statements": [
185
185
  {
186
186
  "expression": {
187
187
  "hexValue": "74727565",
188
- "id": 39747,
188
+ "id": 40348,
189
189
  "isConstant": false,
190
190
  "isLValue": false,
191
191
  "isPure": true,
@@ -199,8 +199,8 @@
199
199
  },
200
200
  "value": "true"
201
201
  },
202
- "functionReturnParameters": 39731,
203
- "id": 39748,
202
+ "functionReturnParameters": 40332,
203
+ "id": 40349,
204
204
  "nodeType": "Return",
205
205
  "src": "249:11:86"
206
206
  }
@@ -214,17 +214,17 @@
214
214
  "typeIdentifier": "t_uint256",
215
215
  "typeString": "uint256"
216
216
  },
217
- "id": 39738,
217
+ "id": 40339,
218
218
  "isConstant": false,
219
219
  "isLValue": false,
220
220
  "isPure": false,
221
221
  "lValueRequested": false,
222
222
  "leftExpression": {
223
- "id": 39735,
223
+ "id": 40336,
224
224
  "name": "i",
225
225
  "nodeType": "Identifier",
226
226
  "overloadedDeclarations": [],
227
- "referencedDeclaration": 39733,
227
+ "referencedDeclaration": 40334,
228
228
  "src": "187:1:86",
229
229
  "typeDescriptions": {
230
230
  "typeIdentifier": "t_uint256",
@@ -235,18 +235,18 @@
235
235
  "operator": "<",
236
236
  "rightExpression": {
237
237
  "expression": {
238
- "id": 39736,
238
+ "id": 40337,
239
239
  "name": "arr",
240
240
  "nodeType": "Identifier",
241
241
  "overloadedDeclarations": [],
242
- "referencedDeclaration": 39725,
242
+ "referencedDeclaration": 40326,
243
243
  "src": "191:3:86",
244
244
  "typeDescriptions": {
245
245
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
246
246
  "typeString": "bytes32[] memory"
247
247
  }
248
248
  },
249
- "id": 39737,
249
+ "id": 40338,
250
250
  "isConstant": false,
251
251
  "isLValue": false,
252
252
  "isPure": false,
@@ -265,20 +265,20 @@
265
265
  "typeString": "bool"
266
266
  }
267
267
  },
268
- "id": 39752,
268
+ "id": 40353,
269
269
  "initializationExpression": {
270
270
  "assignments": [
271
- 39733
271
+ 40334
272
272
  ],
273
273
  "declarations": [
274
274
  {
275
275
  "constant": false,
276
- "id": 39733,
276
+ "id": 40334,
277
277
  "mutability": "mutable",
278
278
  "name": "i",
279
279
  "nameLocation": "184:1:86",
280
280
  "nodeType": "VariableDeclaration",
281
- "scope": 39752,
281
+ "scope": 40353,
282
282
  "src": "176:9:86",
283
283
  "stateVariable": false,
284
284
  "storageLocation": "default",
@@ -287,7 +287,7 @@
287
287
  "typeString": "uint256"
288
288
  },
289
289
  "typeName": {
290
- "id": 39732,
290
+ "id": 40333,
291
291
  "name": "uint256",
292
292
  "nodeType": "ElementaryTypeName",
293
293
  "src": "176:7:86",
@@ -299,13 +299,13 @@
299
299
  "visibility": "internal"
300
300
  }
301
301
  ],
302
- "id": 39734,
302
+ "id": 40335,
303
303
  "nodeType": "VariableDeclarationStatement",
304
304
  "src": "176:9:86"
305
305
  },
306
306
  "loopExpression": {
307
307
  "expression": {
308
- "id": 39740,
308
+ "id": 40341,
309
309
  "isConstant": false,
310
310
  "isLValue": false,
311
311
  "isPure": false,
@@ -315,11 +315,11 @@
315
315
  "prefix": false,
316
316
  "src": "203:3:86",
317
317
  "subExpression": {
318
- "id": 39739,
318
+ "id": 40340,
319
319
  "name": "i",
320
320
  "nodeType": "Identifier",
321
321
  "overloadedDeclarations": [],
322
- "referencedDeclaration": 39733,
322
+ "referencedDeclaration": 40334,
323
323
  "src": "203:1:86",
324
324
  "typeDescriptions": {
325
325
  "typeIdentifier": "t_uint256",
@@ -331,7 +331,7 @@
331
331
  "typeString": "uint256"
332
332
  }
333
333
  },
334
- "id": 39741,
334
+ "id": 40342,
335
335
  "nodeType": "ExpressionStatement",
336
336
  "src": "203:3:86"
337
337
  },
@@ -341,7 +341,7 @@
341
341
  {
342
342
  "expression": {
343
343
  "hexValue": "66616c7365",
344
- "id": 39753,
344
+ "id": 40354,
345
345
  "isConstant": false,
346
346
  "isLValue": false,
347
347
  "isPure": true,
@@ -355,8 +355,8 @@
355
355
  },
356
356
  "value": "false"
357
357
  },
358
- "functionReturnParameters": 39731,
359
- "id": 39754,
358
+ "functionReturnParameters": 40332,
359
+ "id": 40355,
360
360
  "nodeType": "Return",
361
361
  "src": "280:12:86"
362
362
  }
@@ -368,17 +368,17 @@
368
368
  "name": "includes",
369
369
  "nameLocation": "88:8:86",
370
370
  "parameters": {
371
- "id": 39728,
371
+ "id": 40329,
372
372
  "nodeType": "ParameterList",
373
373
  "parameters": [
374
374
  {
375
375
  "constant": false,
376
- "id": 39725,
376
+ "id": 40326,
377
377
  "mutability": "mutable",
378
378
  "name": "arr",
379
379
  "nameLocation": "114:3:86",
380
380
  "nodeType": "VariableDeclaration",
381
- "scope": 39756,
381
+ "scope": 40357,
382
382
  "src": "97:20:86",
383
383
  "stateVariable": false,
384
384
  "storageLocation": "memory",
@@ -388,7 +388,7 @@
388
388
  },
389
389
  "typeName": {
390
390
  "baseType": {
391
- "id": 39723,
391
+ "id": 40324,
392
392
  "name": "bytes32",
393
393
  "nodeType": "ElementaryTypeName",
394
394
  "src": "97:7:86",
@@ -397,7 +397,7 @@
397
397
  "typeString": "bytes32"
398
398
  }
399
399
  },
400
- "id": 39724,
400
+ "id": 40325,
401
401
  "nodeType": "ArrayTypeName",
402
402
  "src": "97:9:86",
403
403
  "typeDescriptions": {
@@ -409,12 +409,12 @@
409
409
  },
410
410
  {
411
411
  "constant": false,
412
- "id": 39727,
412
+ "id": 40328,
413
413
  "mutability": "mutable",
414
414
  "name": "element",
415
415
  "nameLocation": "127:7:86",
416
416
  "nodeType": "VariableDeclaration",
417
- "scope": 39756,
417
+ "scope": 40357,
418
418
  "src": "119:15:86",
419
419
  "stateVariable": false,
420
420
  "storageLocation": "default",
@@ -423,7 +423,7 @@
423
423
  "typeString": "bytes32"
424
424
  },
425
425
  "typeName": {
426
- "id": 39726,
426
+ "id": 40327,
427
427
  "name": "bytes32",
428
428
  "nodeType": "ElementaryTypeName",
429
429
  "src": "119:7:86",
@@ -438,17 +438,17 @@
438
438
  "src": "96:39:86"
439
439
  },
440
440
  "returnParameters": {
441
- "id": 39731,
441
+ "id": 40332,
442
442
  "nodeType": "ParameterList",
443
443
  "parameters": [
444
444
  {
445
445
  "constant": false,
446
- "id": 39730,
446
+ "id": 40331,
447
447
  "mutability": "mutable",
448
448
  "name": "",
449
449
  "nameLocation": "-1:-1:-1",
450
450
  "nodeType": "VariableDeclaration",
451
- "scope": 39756,
451
+ "scope": 40357,
452
452
  "src": "159:4:86",
453
453
  "stateVariable": false,
454
454
  "storageLocation": "default",
@@ -457,7 +457,7 @@
457
457
  "typeString": "bool"
458
458
  },
459
459
  "typeName": {
460
- "id": 39729,
460
+ "id": 40330,
461
461
  "name": "bool",
462
462
  "nodeType": "ElementaryTypeName",
463
463
  "src": "159:4:86",
@@ -471,35 +471,35 @@
471
471
  ],
472
472
  "src": "158:6:86"
473
473
  },
474
- "scope": 39818,
474
+ "scope": 40419,
475
475
  "stateMutability": "pure",
476
476
  "virtual": false,
477
477
  "visibility": "internal"
478
478
  },
479
479
  {
480
- "id": 39817,
480
+ "id": 40418,
481
481
  "nodeType": "FunctionDefinition",
482
482
  "src": "301:535:86",
483
483
  "nodes": [],
484
484
  "body": {
485
- "id": 39816,
485
+ "id": 40417,
486
486
  "nodeType": "Block",
487
487
  "src": "397:439:86",
488
488
  "nodes": [],
489
489
  "statements": [
490
490
  {
491
491
  "assignments": [
492
- 39771
492
+ 40372
493
493
  ],
494
494
  "declarations": [
495
495
  {
496
496
  "constant": false,
497
- "id": 39771,
497
+ "id": 40372,
498
498
  "mutability": "mutable",
499
499
  "name": "filtered",
500
500
  "nameLocation": "420:8:86",
501
501
  "nodeType": "VariableDeclaration",
502
- "scope": 39816,
502
+ "scope": 40417,
503
503
  "src": "403:25:86",
504
504
  "stateVariable": false,
505
505
  "storageLocation": "memory",
@@ -509,7 +509,7 @@
509
509
  },
510
510
  "typeName": {
511
511
  "baseType": {
512
- "id": 39769,
512
+ "id": 40370,
513
513
  "name": "bytes32",
514
514
  "nodeType": "ElementaryTypeName",
515
515
  "src": "403:7:86",
@@ -518,7 +518,7 @@
518
518
  "typeString": "bytes32"
519
519
  }
520
520
  },
521
- "id": 39770,
521
+ "id": 40371,
522
522
  "nodeType": "ArrayTypeName",
523
523
  "src": "403:9:86",
524
524
  "typeDescriptions": {
@@ -529,23 +529,23 @@
529
529
  "visibility": "internal"
530
530
  }
531
531
  ],
532
- "id": 39778,
532
+ "id": 40379,
533
533
  "initialValue": {
534
534
  "arguments": [
535
535
  {
536
536
  "expression": {
537
- "id": 39775,
537
+ "id": 40376,
538
538
  "name": "arr",
539
539
  "nodeType": "Identifier",
540
540
  "overloadedDeclarations": [],
541
- "referencedDeclaration": 39759,
541
+ "referencedDeclaration": 40360,
542
542
  "src": "445:3:86",
543
543
  "typeDescriptions": {
544
544
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
545
545
  "typeString": "bytes32[] memory"
546
546
  }
547
547
  },
548
- "id": 39776,
548
+ "id": 40377,
549
549
  "isConstant": false,
550
550
  "isLValue": false,
551
551
  "isPure": false,
@@ -566,7 +566,7 @@
566
566
  "typeString": "uint256"
567
567
  }
568
568
  ],
569
- "id": 39774,
569
+ "id": 40375,
570
570
  "isConstant": false,
571
571
  "isLValue": false,
572
572
  "isPure": true,
@@ -579,7 +579,7 @@
579
579
  },
580
580
  "typeName": {
581
581
  "baseType": {
582
- "id": 39772,
582
+ "id": 40373,
583
583
  "name": "bytes32",
584
584
  "nodeType": "ElementaryTypeName",
585
585
  "src": "435:7:86",
@@ -588,7 +588,7 @@
588
588
  "typeString": "bytes32"
589
589
  }
590
590
  },
591
- "id": 39773,
591
+ "id": 40374,
592
592
  "nodeType": "ArrayTypeName",
593
593
  "src": "435:9:86",
594
594
  "typeDescriptions": {
@@ -597,7 +597,7 @@
597
597
  }
598
598
  }
599
599
  },
600
- "id": 39777,
600
+ "id": 40378,
601
601
  "isConstant": false,
602
602
  "isLValue": false,
603
603
  "isPure": false,
@@ -617,17 +617,17 @@
617
617
  },
618
618
  {
619
619
  "assignments": [
620
- 39780
620
+ 40381
621
621
  ],
622
622
  "declarations": [
623
623
  {
624
624
  "constant": false,
625
- "id": 39780,
625
+ "id": 40381,
626
626
  "mutability": "mutable",
627
627
  "name": "filteredIndex",
628
628
  "nameLocation": "470:13:86",
629
629
  "nodeType": "VariableDeclaration",
630
- "scope": 39816,
630
+ "scope": 40417,
631
631
  "src": "462:21:86",
632
632
  "stateVariable": false,
633
633
  "storageLocation": "default",
@@ -636,7 +636,7 @@
636
636
  "typeString": "uint256"
637
637
  },
638
638
  "typeName": {
639
- "id": 39779,
639
+ "id": 40380,
640
640
  "name": "uint256",
641
641
  "nodeType": "ElementaryTypeName",
642
642
  "src": "462:7:86",
@@ -648,10 +648,10 @@
648
648
  "visibility": "internal"
649
649
  }
650
650
  ],
651
- "id": 39782,
651
+ "id": 40383,
652
652
  "initialValue": {
653
653
  "hexValue": "30",
654
- "id": 39781,
654
+ "id": 40382,
655
655
  "isConstant": false,
656
656
  "isLValue": false,
657
657
  "isPure": true,
@@ -670,7 +670,7 @@
670
670
  },
671
671
  {
672
672
  "body": {
673
- "id": 39811,
673
+ "id": 40412,
674
674
  "nodeType": "Block",
675
675
  "src": "530:113:86",
676
676
  "statements": [
@@ -680,31 +680,31 @@
680
680
  "typeIdentifier": "t_bytes32",
681
681
  "typeString": "bytes32"
682
682
  },
683
- "id": 39797,
683
+ "id": 40398,
684
684
  "isConstant": false,
685
685
  "isLValue": false,
686
686
  "isPure": false,
687
687
  "lValueRequested": false,
688
688
  "leftExpression": {
689
689
  "baseExpression": {
690
- "id": 39793,
690
+ "id": 40394,
691
691
  "name": "arr",
692
692
  "nodeType": "Identifier",
693
693
  "overloadedDeclarations": [],
694
- "referencedDeclaration": 39759,
694
+ "referencedDeclaration": 40360,
695
695
  "src": "542:3:86",
696
696
  "typeDescriptions": {
697
697
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
698
698
  "typeString": "bytes32[] memory"
699
699
  }
700
700
  },
701
- "id": 39795,
701
+ "id": 40396,
702
702
  "indexExpression": {
703
- "id": 39794,
703
+ "id": 40395,
704
704
  "name": "i",
705
705
  "nodeType": "Identifier",
706
706
  "overloadedDeclarations": [],
707
- "referencedDeclaration": 39784,
707
+ "referencedDeclaration": 40385,
708
708
  "src": "546:1:86",
709
709
  "typeDescriptions": {
710
710
  "typeIdentifier": "t_uint256",
@@ -725,11 +725,11 @@
725
725
  "nodeType": "BinaryOperation",
726
726
  "operator": "!=",
727
727
  "rightExpression": {
728
- "id": 39796,
728
+ "id": 40397,
729
729
  "name": "element",
730
730
  "nodeType": "Identifier",
731
731
  "overloadedDeclarations": [],
732
- "referencedDeclaration": 39761,
732
+ "referencedDeclaration": 40362,
733
733
  "src": "552:7:86",
734
734
  "typeDescriptions": {
735
735
  "typeIdentifier": "t_bytes32",
@@ -742,41 +742,41 @@
742
742
  "typeString": "bool"
743
743
  }
744
744
  },
745
- "id": 39810,
745
+ "id": 40411,
746
746
  "nodeType": "IfStatement",
747
747
  "src": "538:99:86",
748
748
  "trueBody": {
749
- "id": 39809,
749
+ "id": 40410,
750
750
  "nodeType": "Block",
751
751
  "src": "561:76:86",
752
752
  "statements": [
753
753
  {
754
754
  "expression": {
755
- "id": 39804,
755
+ "id": 40405,
756
756
  "isConstant": false,
757
757
  "isLValue": false,
758
758
  "isPure": false,
759
759
  "lValueRequested": false,
760
760
  "leftHandSide": {
761
761
  "baseExpression": {
762
- "id": 39798,
762
+ "id": 40399,
763
763
  "name": "filtered",
764
764
  "nodeType": "Identifier",
765
765
  "overloadedDeclarations": [],
766
- "referencedDeclaration": 39771,
766
+ "referencedDeclaration": 40372,
767
767
  "src": "571:8:86",
768
768
  "typeDescriptions": {
769
769
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
770
770
  "typeString": "bytes32[] memory"
771
771
  }
772
772
  },
773
- "id": 39800,
773
+ "id": 40401,
774
774
  "indexExpression": {
775
- "id": 39799,
775
+ "id": 40400,
776
776
  "name": "filteredIndex",
777
777
  "nodeType": "Identifier",
778
778
  "overloadedDeclarations": [],
779
- "referencedDeclaration": 39780,
779
+ "referencedDeclaration": 40381,
780
780
  "src": "580:13:86",
781
781
  "typeDescriptions": {
782
782
  "typeIdentifier": "t_uint256",
@@ -798,24 +798,24 @@
798
798
  "operator": "=",
799
799
  "rightHandSide": {
800
800
  "baseExpression": {
801
- "id": 39801,
801
+ "id": 40402,
802
802
  "name": "arr",
803
803
  "nodeType": "Identifier",
804
804
  "overloadedDeclarations": [],
805
- "referencedDeclaration": 39759,
805
+ "referencedDeclaration": 40360,
806
806
  "src": "597:3:86",
807
807
  "typeDescriptions": {
808
808
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
809
809
  "typeString": "bytes32[] memory"
810
810
  }
811
811
  },
812
- "id": 39803,
812
+ "id": 40404,
813
813
  "indexExpression": {
814
- "id": 39802,
814
+ "id": 40403,
815
815
  "name": "i",
816
816
  "nodeType": "Identifier",
817
817
  "overloadedDeclarations": [],
818
- "referencedDeclaration": 39784,
818
+ "referencedDeclaration": 40385,
819
819
  "src": "601:1:86",
820
820
  "typeDescriptions": {
821
821
  "typeIdentifier": "t_uint256",
@@ -839,13 +839,13 @@
839
839
  "typeString": "bytes32"
840
840
  }
841
841
  },
842
- "id": 39805,
842
+ "id": 40406,
843
843
  "nodeType": "ExpressionStatement",
844
844
  "src": "571:32:86"
845
845
  },
846
846
  {
847
847
  "expression": {
848
- "id": 39807,
848
+ "id": 40408,
849
849
  "isConstant": false,
850
850
  "isLValue": false,
851
851
  "isPure": false,
@@ -855,11 +855,11 @@
855
855
  "prefix": false,
856
856
  "src": "613:15:86",
857
857
  "subExpression": {
858
- "id": 39806,
858
+ "id": 40407,
859
859
  "name": "filteredIndex",
860
860
  "nodeType": "Identifier",
861
861
  "overloadedDeclarations": [],
862
- "referencedDeclaration": 39780,
862
+ "referencedDeclaration": 40381,
863
863
  "src": "613:13:86",
864
864
  "typeDescriptions": {
865
865
  "typeIdentifier": "t_uint256",
@@ -871,7 +871,7 @@
871
871
  "typeString": "uint256"
872
872
  }
873
873
  },
874
- "id": 39808,
874
+ "id": 40409,
875
875
  "nodeType": "ExpressionStatement",
876
876
  "src": "613:15:86"
877
877
  }
@@ -885,17 +885,17 @@
885
885
  "typeIdentifier": "t_uint256",
886
886
  "typeString": "uint256"
887
887
  },
888
- "id": 39789,
888
+ "id": 40390,
889
889
  "isConstant": false,
890
890
  "isLValue": false,
891
891
  "isPure": false,
892
892
  "lValueRequested": false,
893
893
  "leftExpression": {
894
- "id": 39786,
894
+ "id": 40387,
895
895
  "name": "i",
896
896
  "nodeType": "Identifier",
897
897
  "overloadedDeclarations": [],
898
- "referencedDeclaration": 39784,
898
+ "referencedDeclaration": 40385,
899
899
  "src": "509:1:86",
900
900
  "typeDescriptions": {
901
901
  "typeIdentifier": "t_uint256",
@@ -906,18 +906,18 @@
906
906
  "operator": "<",
907
907
  "rightExpression": {
908
908
  "expression": {
909
- "id": 39787,
909
+ "id": 40388,
910
910
  "name": "arr",
911
911
  "nodeType": "Identifier",
912
912
  "overloadedDeclarations": [],
913
- "referencedDeclaration": 39759,
913
+ "referencedDeclaration": 40360,
914
914
  "src": "513:3:86",
915
915
  "typeDescriptions": {
916
916
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
917
917
  "typeString": "bytes32[] memory"
918
918
  }
919
919
  },
920
- "id": 39788,
920
+ "id": 40389,
921
921
  "isConstant": false,
922
922
  "isLValue": false,
923
923
  "isPure": false,
@@ -936,20 +936,20 @@
936
936
  "typeString": "bool"
937
937
  }
938
938
  },
939
- "id": 39812,
939
+ "id": 40413,
940
940
  "initializationExpression": {
941
941
  "assignments": [
942
- 39784
942
+ 40385
943
943
  ],
944
944
  "declarations": [
945
945
  {
946
946
  "constant": false,
947
- "id": 39784,
947
+ "id": 40385,
948
948
  "mutability": "mutable",
949
949
  "name": "i",
950
950
  "nameLocation": "506:1:86",
951
951
  "nodeType": "VariableDeclaration",
952
- "scope": 39812,
952
+ "scope": 40413,
953
953
  "src": "498:9:86",
954
954
  "stateVariable": false,
955
955
  "storageLocation": "default",
@@ -958,7 +958,7 @@
958
958
  "typeString": "uint256"
959
959
  },
960
960
  "typeName": {
961
- "id": 39783,
961
+ "id": 40384,
962
962
  "name": "uint256",
963
963
  "nodeType": "ElementaryTypeName",
964
964
  "src": "498:7:86",
@@ -970,13 +970,13 @@
970
970
  "visibility": "internal"
971
971
  }
972
972
  ],
973
- "id": 39785,
973
+ "id": 40386,
974
974
  "nodeType": "VariableDeclarationStatement",
975
975
  "src": "498:9:86"
976
976
  },
977
977
  "loopExpression": {
978
978
  "expression": {
979
- "id": 39791,
979
+ "id": 40392,
980
980
  "isConstant": false,
981
981
  "isLValue": false,
982
982
  "isPure": false,
@@ -986,11 +986,11 @@
986
986
  "prefix": false,
987
987
  "src": "525:3:86",
988
988
  "subExpression": {
989
- "id": 39790,
989
+ "id": 40391,
990
990
  "name": "i",
991
991
  "nodeType": "Identifier",
992
992
  "overloadedDeclarations": [],
993
- "referencedDeclaration": 39784,
993
+ "referencedDeclaration": 40385,
994
994
  "src": "525:1:86",
995
995
  "typeDescriptions": {
996
996
  "typeIdentifier": "t_uint256",
@@ -1002,7 +1002,7 @@
1002
1002
  "typeString": "uint256"
1003
1003
  }
1004
1004
  },
1005
- "id": 39792,
1005
+ "id": 40393,
1006
1006
  "nodeType": "ExpressionStatement",
1007
1007
  "src": "525:3:86"
1008
1008
  },
@@ -1044,39 +1044,39 @@
1044
1044
  "evmVersion": "london",
1045
1045
  "externalReferences": [
1046
1046
  {
1047
- "declaration": 39771,
1047
+ "declaration": 40372,
1048
1048
  "isOffset": false,
1049
1049
  "isSlot": false,
1050
1050
  "src": "780:8:86",
1051
1051
  "valueSize": 1
1052
1052
  },
1053
1053
  {
1054
- "declaration": 39780,
1054
+ "declaration": 40381,
1055
1055
  "isOffset": false,
1056
1056
  "isSlot": false,
1057
1057
  "src": "790:13:86",
1058
1058
  "valueSize": 1
1059
1059
  }
1060
1060
  ],
1061
- "id": 39813,
1061
+ "id": 40414,
1062
1062
  "nodeType": "InlineAssembly",
1063
1063
  "src": "756:54:86"
1064
1064
  },
1065
1065
  {
1066
1066
  "expression": {
1067
- "id": 39814,
1067
+ "id": 40415,
1068
1068
  "name": "filtered",
1069
1069
  "nodeType": "Identifier",
1070
1070
  "overloadedDeclarations": [],
1071
- "referencedDeclaration": 39771,
1071
+ "referencedDeclaration": 40372,
1072
1072
  "src": "823:8:86",
1073
1073
  "typeDescriptions": {
1074
1074
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
1075
1075
  "typeString": "bytes32[] memory"
1076
1076
  }
1077
1077
  },
1078
- "functionReturnParameters": 39766,
1079
- "id": 39815,
1078
+ "functionReturnParameters": 40367,
1079
+ "id": 40416,
1080
1080
  "nodeType": "Return",
1081
1081
  "src": "816:15:86"
1082
1082
  }
@@ -1088,17 +1088,17 @@
1088
1088
  "name": "filter",
1089
1089
  "nameLocation": "310:6:86",
1090
1090
  "parameters": {
1091
- "id": 39762,
1091
+ "id": 40363,
1092
1092
  "nodeType": "ParameterList",
1093
1093
  "parameters": [
1094
1094
  {
1095
1095
  "constant": false,
1096
- "id": 39759,
1096
+ "id": 40360,
1097
1097
  "mutability": "mutable",
1098
1098
  "name": "arr",
1099
1099
  "nameLocation": "334:3:86",
1100
1100
  "nodeType": "VariableDeclaration",
1101
- "scope": 39817,
1101
+ "scope": 40418,
1102
1102
  "src": "317:20:86",
1103
1103
  "stateVariable": false,
1104
1104
  "storageLocation": "memory",
@@ -1108,7 +1108,7 @@
1108
1108
  },
1109
1109
  "typeName": {
1110
1110
  "baseType": {
1111
- "id": 39757,
1111
+ "id": 40358,
1112
1112
  "name": "bytes32",
1113
1113
  "nodeType": "ElementaryTypeName",
1114
1114
  "src": "317:7:86",
@@ -1117,7 +1117,7 @@
1117
1117
  "typeString": "bytes32"
1118
1118
  }
1119
1119
  },
1120
- "id": 39758,
1120
+ "id": 40359,
1121
1121
  "nodeType": "ArrayTypeName",
1122
1122
  "src": "317:9:86",
1123
1123
  "typeDescriptions": {
@@ -1129,12 +1129,12 @@
1129
1129
  },
1130
1130
  {
1131
1131
  "constant": false,
1132
- "id": 39761,
1132
+ "id": 40362,
1133
1133
  "mutability": "mutable",
1134
1134
  "name": "element",
1135
1135
  "nameLocation": "347:7:86",
1136
1136
  "nodeType": "VariableDeclaration",
1137
- "scope": 39817,
1137
+ "scope": 40418,
1138
1138
  "src": "339:15:86",
1139
1139
  "stateVariable": false,
1140
1140
  "storageLocation": "default",
@@ -1143,7 +1143,7 @@
1143
1143
  "typeString": "bytes32"
1144
1144
  },
1145
1145
  "typeName": {
1146
- "id": 39760,
1146
+ "id": 40361,
1147
1147
  "name": "bytes32",
1148
1148
  "nodeType": "ElementaryTypeName",
1149
1149
  "src": "339:7:86",
@@ -1158,17 +1158,17 @@
1158
1158
  "src": "316:39:86"
1159
1159
  },
1160
1160
  "returnParameters": {
1161
- "id": 39766,
1161
+ "id": 40367,
1162
1162
  "nodeType": "ParameterList",
1163
1163
  "parameters": [
1164
1164
  {
1165
1165
  "constant": false,
1166
- "id": 39765,
1166
+ "id": 40366,
1167
1167
  "mutability": "mutable",
1168
1168
  "name": "",
1169
1169
  "nameLocation": "-1:-1:-1",
1170
1170
  "nodeType": "VariableDeclaration",
1171
- "scope": 39817,
1171
+ "scope": 40418,
1172
1172
  "src": "379:16:86",
1173
1173
  "stateVariable": false,
1174
1174
  "storageLocation": "memory",
@@ -1178,7 +1178,7 @@
1178
1178
  },
1179
1179
  "typeName": {
1180
1180
  "baseType": {
1181
- "id": 39763,
1181
+ "id": 40364,
1182
1182
  "name": "bytes32",
1183
1183
  "nodeType": "ElementaryTypeName",
1184
1184
  "src": "379:7:86",
@@ -1187,7 +1187,7 @@
1187
1187
  "typeString": "bytes32"
1188
1188
  }
1189
1189
  },
1190
- "id": 39764,
1190
+ "id": 40365,
1191
1191
  "nodeType": "ArrayTypeName",
1192
1192
  "src": "379:9:86",
1193
1193
  "typeDescriptions": {
@@ -1200,7 +1200,7 @@
1200
1200
  ],
1201
1201
  "src": "378:18:86"
1202
1202
  },
1203
- "scope": 39818,
1203
+ "scope": 40419,
1204
1204
  "stateMutability": "pure",
1205
1205
  "virtual": false,
1206
1206
  "visibility": "internal"
@@ -1213,11 +1213,11 @@
1213
1213
  "contractKind": "library",
1214
1214
  "fullyImplemented": true,
1215
1215
  "linearizedBaseContracts": [
1216
- 39818
1216
+ 40419
1217
1217
  ],
1218
1218
  "name": "ArrayLib",
1219
1219
  "nameLocation": "66:8:86",
1220
- "scope": 39819,
1220
+ "scope": 40420,
1221
1221
  "usedErrors": []
1222
1222
  }
1223
1223
  ],