@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": "/home/runner/work/mud/mud/packages/store/src/Utils.sol",
66
- "id": 5612,
66
+ "id": 5873,
67
67
  "exportedSymbols": {
68
68
  "Utils": [
69
- 5611
69
+ 5872
70
70
  ]
71
71
  },
72
72
  "nodeType": "SourceUnit",
73
73
  "src": "32:775:11",
74
74
  "nodes": [
75
75
  {
76
- "id": 5563,
76
+ "id": 5824,
77
77
  "nodeType": "PragmaDirective",
78
78
  "src": "32:24:11",
79
79
  "nodes": [],
@@ -85,17 +85,17 @@
85
85
  ]
86
86
  },
87
87
  {
88
- "id": 5611,
88
+ "id": 5872,
89
89
  "nodeType": "ContractDefinition",
90
90
  "src": "58:748:11",
91
91
  "nodes": [
92
92
  {
93
- "id": 5587,
93
+ "id": 5848,
94
94
  "nodeType": "FunctionDefinition",
95
95
  "src": "76:117:11",
96
96
  "nodes": [],
97
97
  "body": {
98
- "id": 5586,
98
+ "id": 5847,
99
99
  "nodeType": "Block",
100
100
  "src": "147:46:11",
101
101
  "nodes": [],
@@ -106,7 +106,7 @@
106
106
  "typeIdentifier": "t_uint256",
107
107
  "typeString": "uint256"
108
108
  },
109
- "id": 5584,
109
+ "id": 5845,
110
110
  "isConstant": false,
111
111
  "isLValue": false,
112
112
  "isPure": false,
@@ -116,17 +116,17 @@
116
116
  "typeIdentifier": "t_uint256",
117
117
  "typeString": "uint256"
118
118
  },
119
- "id": 5574,
119
+ "id": 5835,
120
120
  "isConstant": false,
121
121
  "isLValue": false,
122
122
  "isPure": false,
123
123
  "lValueRequested": false,
124
124
  "leftExpression": {
125
- "id": 5572,
125
+ "id": 5833,
126
126
  "name": "a",
127
127
  "nodeType": "Identifier",
128
128
  "overloadedDeclarations": [],
129
- "referencedDeclaration": 5565,
129
+ "referencedDeclaration": 5826,
130
130
  "src": "160:1:11",
131
131
  "typeDescriptions": {
132
132
  "typeIdentifier": "t_uint256",
@@ -136,11 +136,11 @@
136
136
  "nodeType": "BinaryOperation",
137
137
  "operator": "/",
138
138
  "rightExpression": {
139
- "id": 5573,
139
+ "id": 5834,
140
140
  "name": "b",
141
141
  "nodeType": "Identifier",
142
142
  "overloadedDeclarations": [],
143
- "referencedDeclaration": 5567,
143
+ "referencedDeclaration": 5828,
144
144
  "src": "164:1:11",
145
145
  "typeDescriptions": {
146
146
  "typeIdentifier": "t_uint256",
@@ -163,7 +163,7 @@
163
163
  "typeIdentifier": "t_uint256",
164
164
  "typeString": "uint256"
165
165
  },
166
- "id": 5579,
166
+ "id": 5840,
167
167
  "isConstant": false,
168
168
  "isLValue": false,
169
169
  "isPure": false,
@@ -173,17 +173,17 @@
173
173
  "typeIdentifier": "t_uint256",
174
174
  "typeString": "uint256"
175
175
  },
176
- "id": 5577,
176
+ "id": 5838,
177
177
  "isConstant": false,
178
178
  "isLValue": false,
179
179
  "isPure": false,
180
180
  "lValueRequested": false,
181
181
  "leftExpression": {
182
- "id": 5575,
182
+ "id": 5836,
183
183
  "name": "a",
184
184
  "nodeType": "Identifier",
185
185
  "overloadedDeclarations": [],
186
- "referencedDeclaration": 5565,
186
+ "referencedDeclaration": 5826,
187
187
  "src": "169:1:11",
188
188
  "typeDescriptions": {
189
189
  "typeIdentifier": "t_uint256",
@@ -193,11 +193,11 @@
193
193
  "nodeType": "BinaryOperation",
194
194
  "operator": "%",
195
195
  "rightExpression": {
196
- "id": 5576,
196
+ "id": 5837,
197
197
  "name": "b",
198
198
  "nodeType": "Identifier",
199
199
  "overloadedDeclarations": [],
200
- "referencedDeclaration": 5567,
200
+ "referencedDeclaration": 5828,
201
201
  "src": "173:1:11",
202
202
  "typeDescriptions": {
203
203
  "typeIdentifier": "t_uint256",
@@ -214,7 +214,7 @@
214
214
  "operator": "==",
215
215
  "rightExpression": {
216
216
  "hexValue": "30",
217
- "id": 5578,
217
+ "id": 5839,
218
218
  "isConstant": false,
219
219
  "isLValue": false,
220
220
  "isPure": true,
@@ -236,7 +236,7 @@
236
236
  },
237
237
  "falseExpression": {
238
238
  "hexValue": "31",
239
- "id": 5581,
239
+ "id": 5842,
240
240
  "isConstant": false,
241
241
  "isLValue": false,
242
242
  "isPure": true,
@@ -250,7 +250,7 @@
250
250
  },
251
251
  "value": "1"
252
252
  },
253
- "id": 5582,
253
+ "id": 5843,
254
254
  "isConstant": false,
255
255
  "isLValue": false,
256
256
  "isPure": false,
@@ -259,7 +259,7 @@
259
259
  "src": "169:18:11",
260
260
  "trueExpression": {
261
261
  "hexValue": "30",
262
- "id": 5580,
262
+ "id": 5841,
263
263
  "isConstant": false,
264
264
  "isLValue": false,
265
265
  "isPure": true,
@@ -279,7 +279,7 @@
279
279
  }
280
280
  }
281
281
  ],
282
- "id": 5583,
282
+ "id": 5844,
283
283
  "isConstant": false,
284
284
  "isInlineArray": false,
285
285
  "isLValue": false,
@@ -298,8 +298,8 @@
298
298
  "typeString": "uint256"
299
299
  }
300
300
  },
301
- "functionReturnParameters": 5571,
302
- "id": 5585,
301
+ "functionReturnParameters": 5832,
302
+ "id": 5846,
303
303
  "nodeType": "Return",
304
304
  "src": "153:35:11"
305
305
  }
@@ -311,17 +311,17 @@
311
311
  "name": "divCeil",
312
312
  "nameLocation": "85:7:11",
313
313
  "parameters": {
314
- "id": 5568,
314
+ "id": 5829,
315
315
  "nodeType": "ParameterList",
316
316
  "parameters": [
317
317
  {
318
318
  "constant": false,
319
- "id": 5565,
319
+ "id": 5826,
320
320
  "mutability": "mutable",
321
321
  "name": "a",
322
322
  "nameLocation": "101:1:11",
323
323
  "nodeType": "VariableDeclaration",
324
- "scope": 5587,
324
+ "scope": 5848,
325
325
  "src": "93:9:11",
326
326
  "stateVariable": false,
327
327
  "storageLocation": "default",
@@ -330,7 +330,7 @@
330
330
  "typeString": "uint256"
331
331
  },
332
332
  "typeName": {
333
- "id": 5564,
333
+ "id": 5825,
334
334
  "name": "uint256",
335
335
  "nodeType": "ElementaryTypeName",
336
336
  "src": "93:7:11",
@@ -343,12 +343,12 @@
343
343
  },
344
344
  {
345
345
  "constant": false,
346
- "id": 5567,
346
+ "id": 5828,
347
347
  "mutability": "mutable",
348
348
  "name": "b",
349
349
  "nameLocation": "112:1:11",
350
350
  "nodeType": "VariableDeclaration",
351
- "scope": 5587,
351
+ "scope": 5848,
352
352
  "src": "104:9:11",
353
353
  "stateVariable": false,
354
354
  "storageLocation": "default",
@@ -357,7 +357,7 @@
357
357
  "typeString": "uint256"
358
358
  },
359
359
  "typeName": {
360
- "id": 5566,
360
+ "id": 5827,
361
361
  "name": "uint256",
362
362
  "nodeType": "ElementaryTypeName",
363
363
  "src": "104:7:11",
@@ -372,17 +372,17 @@
372
372
  "src": "92:22:11"
373
373
  },
374
374
  "returnParameters": {
375
- "id": 5571,
375
+ "id": 5832,
376
376
  "nodeType": "ParameterList",
377
377
  "parameters": [
378
378
  {
379
379
  "constant": false,
380
- "id": 5570,
380
+ "id": 5831,
381
381
  "mutability": "mutable",
382
382
  "name": "",
383
383
  "nameLocation": "-1:-1:-1",
384
384
  "nodeType": "VariableDeclaration",
385
- "scope": 5587,
385
+ "scope": 5848,
386
386
  "src": "138:7:11",
387
387
  "stateVariable": false,
388
388
  "storageLocation": "default",
@@ -391,7 +391,7 @@
391
391
  "typeString": "uint256"
392
392
  },
393
393
  "typeName": {
394
- "id": 5569,
394
+ "id": 5830,
395
395
  "name": "uint256",
396
396
  "nodeType": "ElementaryTypeName",
397
397
  "src": "138:7:11",
@@ -405,30 +405,30 @@
405
405
  ],
406
406
  "src": "137:9:11"
407
407
  },
408
- "scope": 5611,
408
+ "scope": 5872,
409
409
  "stateMutability": "pure",
410
410
  "virtual": false,
411
411
  "visibility": "internal"
412
412
  },
413
413
  {
414
- "id": 5610,
414
+ "id": 5871,
415
415
  "nodeType": "FunctionDefinition",
416
416
  "src": "652:152:11",
417
417
  "nodes": [],
418
418
  "body": {
419
- "id": 5609,
419
+ "id": 5870,
420
420
  "nodeType": "Block",
421
421
  "src": "722:82:11",
422
422
  "nodes": [],
423
423
  "statements": [
424
424
  {
425
- "id": 5608,
425
+ "id": 5869,
426
426
  "nodeType": "UncheckedBlock",
427
427
  "src": "728:72:11",
428
428
  "statements": [
429
429
  {
430
430
  "expression": {
431
- "id": 5606,
431
+ "id": 5867,
432
432
  "isConstant": false,
433
433
  "isLValue": false,
434
434
  "isPure": false,
@@ -444,7 +444,7 @@
444
444
  "typeIdentifier": "t_uint256",
445
445
  "typeString": "uint256"
446
446
  },
447
- "id": 5604,
447
+ "id": 5865,
448
448
  "isConstant": false,
449
449
  "isLValue": false,
450
450
  "isPure": false,
@@ -453,7 +453,7 @@
453
453
  "expression": {
454
454
  "arguments": [
455
455
  {
456
- "id": 5597,
456
+ "id": 5858,
457
457
  "isConstant": false,
458
458
  "isLValue": false,
459
459
  "isPure": true,
@@ -465,7 +465,7 @@
465
465
  "typeString": "type(uint256)"
466
466
  },
467
467
  "typeName": {
468
- "id": 5596,
468
+ "id": 5857,
469
469
  "name": "uint256",
470
470
  "nodeType": "ElementaryTypeName",
471
471
  "src": "760:7:11",
@@ -480,7 +480,7 @@
480
480
  "typeString": "type(uint256)"
481
481
  }
482
482
  ],
483
- "id": 5595,
483
+ "id": 5856,
484
484
  "name": "type",
485
485
  "nodeType": "Identifier",
486
486
  "overloadedDeclarations": [],
@@ -491,7 +491,7 @@
491
491
  "typeString": "function () pure"
492
492
  }
493
493
  },
494
- "id": 5598,
494
+ "id": 5859,
495
495
  "isConstant": false,
496
496
  "isLValue": false,
497
497
  "isPure": true,
@@ -506,7 +506,7 @@
506
506
  "typeString": "type(uint256)"
507
507
  }
508
508
  },
509
- "id": 5599,
509
+ "id": 5860,
510
510
  "isConstant": false,
511
511
  "isLValue": false,
512
512
  "isPure": true,
@@ -528,17 +528,17 @@
528
528
  "typeIdentifier": "t_uint256",
529
529
  "typeString": "uint256"
530
530
  },
531
- "id": 5602,
531
+ "id": 5863,
532
532
  "isConstant": false,
533
533
  "isLValue": false,
534
534
  "isPure": false,
535
535
  "lValueRequested": false,
536
536
  "leftExpression": {
537
- "id": 5600,
537
+ "id": 5861,
538
538
  "name": "byteLength",
539
539
  "nodeType": "Identifier",
540
540
  "overloadedDeclarations": [],
541
- "referencedDeclaration": 5590,
541
+ "referencedDeclaration": 5851,
542
542
  "src": "777:10:11",
543
543
  "typeDescriptions": {
544
544
  "typeIdentifier": "t_uint256",
@@ -549,7 +549,7 @@
549
549
  "operator": "*",
550
550
  "rightExpression": {
551
551
  "hexValue": "38",
552
- "id": 5601,
552
+ "id": 5862,
553
553
  "isConstant": false,
554
554
  "isLValue": false,
555
555
  "isPure": true,
@@ -570,7 +570,7 @@
570
570
  }
571
571
  }
572
572
  ],
573
- "id": 5603,
573
+ "id": 5864,
574
574
  "isConstant": false,
575
575
  "isInlineArray": false,
576
576
  "isLValue": false,
@@ -590,7 +590,7 @@
590
590
  }
591
591
  }
592
592
  ],
593
- "id": 5605,
593
+ "id": 5866,
594
594
  "isConstant": false,
595
595
  "isInlineArray": false,
596
596
  "isLValue": false,
@@ -608,8 +608,8 @@
608
608
  "typeString": "uint256"
609
609
  }
610
610
  },
611
- "functionReturnParameters": 5594,
612
- "id": 5607,
611
+ "functionReturnParameters": 5855,
612
+ "id": 5868,
613
613
  "nodeType": "Return",
614
614
  "src": "746:47:11"
615
615
  }
@@ -618,7 +618,7 @@
618
618
  ]
619
619
  },
620
620
  "documentation": {
621
- "id": 5588,
621
+ "id": 5849,
622
622
  "nodeType": "StructuredDocumentation",
623
623
  "src": "197:452:11",
624
624
  "text": " Adapted from https://github.com/dk1a/solidity-stringutils/blob/main/src/utils/mem.sol#L149-L167\n @dev Left-aligned byte mask (e.g. for partial mload/mstore).\n For byteLength >= 32 returns type(uint256).max\n length 0: 0x000000...000000\n length 1: 0xff0000...000000\n length 2: 0xffff00...000000\n ...\n length 30: 0xffffff...ff0000\n length 31: 0xffffff...ffff00\n length 32+: 0xffffff...ffffff"
@@ -629,17 +629,17 @@
629
629
  "name": "leftMask",
630
630
  "nameLocation": "661:8:11",
631
631
  "parameters": {
632
- "id": 5591,
632
+ "id": 5852,
633
633
  "nodeType": "ParameterList",
634
634
  "parameters": [
635
635
  {
636
636
  "constant": false,
637
- "id": 5590,
637
+ "id": 5851,
638
638
  "mutability": "mutable",
639
639
  "name": "byteLength",
640
640
  "nameLocation": "678:10:11",
641
641
  "nodeType": "VariableDeclaration",
642
- "scope": 5610,
642
+ "scope": 5871,
643
643
  "src": "670:18:11",
644
644
  "stateVariable": false,
645
645
  "storageLocation": "default",
@@ -648,7 +648,7 @@
648
648
  "typeString": "uint256"
649
649
  },
650
650
  "typeName": {
651
- "id": 5589,
651
+ "id": 5850,
652
652
  "name": "uint256",
653
653
  "nodeType": "ElementaryTypeName",
654
654
  "src": "670:7:11",
@@ -663,17 +663,17 @@
663
663
  "src": "669:20:11"
664
664
  },
665
665
  "returnParameters": {
666
- "id": 5594,
666
+ "id": 5855,
667
667
  "nodeType": "ParameterList",
668
668
  "parameters": [
669
669
  {
670
670
  "constant": false,
671
- "id": 5593,
671
+ "id": 5854,
672
672
  "mutability": "mutable",
673
673
  "name": "",
674
674
  "nameLocation": "-1:-1:-1",
675
675
  "nodeType": "VariableDeclaration",
676
- "scope": 5610,
676
+ "scope": 5871,
677
677
  "src": "713:7:11",
678
678
  "stateVariable": false,
679
679
  "storageLocation": "default",
@@ -682,7 +682,7 @@
682
682
  "typeString": "uint256"
683
683
  },
684
684
  "typeName": {
685
- "id": 5592,
685
+ "id": 5853,
686
686
  "name": "uint256",
687
687
  "nodeType": "ElementaryTypeName",
688
688
  "src": "713:7:11",
@@ -696,7 +696,7 @@
696
696
  ],
697
697
  "src": "712:9:11"
698
698
  },
699
- "scope": 5611,
699
+ "scope": 5872,
700
700
  "stateMutability": "pure",
701
701
  "virtual": false,
702
702
  "visibility": "internal"
@@ -709,11 +709,11 @@
709
709
  "contractKind": "library",
710
710
  "fullyImplemented": true,
711
711
  "linearizedBaseContracts": [
712
- 5611
712
+ 5872
713
713
  ],
714
714
  "name": "Utils",
715
715
  "nameLocation": "66:5:11",
716
- "scope": 5612,
716
+ "scope": 5873,
717
717
  "usedErrors": []
718
718
  }
719
719
  ],