@latticexyz/world-modules 2.0.0-main-071aadb9 → 2.0.0-main-7987c94d

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 (112) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +215 -215
  3. package/out/CallboundDelegations.sol/CallboundDelegations.json +2599 -2599
  4. package/out/DecodeSlice.sol/DecodeSlice.json +3250 -3250
  5. package/out/DelegationControl.sol/DelegationControl.json +94 -94
  6. package/out/EncodeArray.sol/EncodeArray.json +3345 -3345
  7. package/out/FieldLayout.sol/FieldLayoutInstance.json +47 -47
  8. package/out/FieldLayout.sol/FieldLayoutLib.json +47 -47
  9. package/out/Hook.sol/HookInstance.json +13 -13
  10. package/out/Hook.sol/HookLib.json +13 -13
  11. package/out/Hooks.sol/Hooks.json +3393 -3393
  12. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +58 -58
  13. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +54 -54
  14. package/out/IBaseWorld.sol/IBaseWorld.json +64 -64
  15. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +52 -52
  16. package/out/ICoreSystem.sol/ICoreSystem.json +7 -7
  17. package/out/IDelegationControl.sol/IDelegationControl.json +62 -62
  18. package/out/IModule.sol/IModule.json +78 -78
  19. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +28 -28
  20. package/out/ISystemHook.sol/ISystemHook.json +86 -86
  21. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  22. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +71 -71
  23. package/out/IWorldErrors.sol/IWorldErrors.json +152 -152
  24. package/out/IWorldKernel.sol/IWorldCall.json +154 -154
  25. package/out/IWorldKernel.sol/IWorldKernel.json +154 -154
  26. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +154 -154
  27. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +190 -190
  28. package/out/KeysInTable.sol/KeysInTable.json +10672 -10672
  29. package/out/KeysInTableHook.sol/KeysInTableHook.json +867 -867
  30. package/out/KeysInTableModule.sol/KeysInTableModule.json +538 -538
  31. package/out/KeysWithValue.sol/KeysWithValue.json +3832 -3832
  32. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +993 -993
  33. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +426 -426
  34. package/out/Memory.sol/Memory.json +4 -4
  35. package/out/Module.sol/Module.json +84 -84
  36. package/out/ResourceIds.sol/ResourceIds.json +1363 -1363
  37. package/out/Schema.sol/SchemaInstance.json +72 -72
  38. package/out/Schema.sol/SchemaLib.json +72 -72
  39. package/out/SchemaType.sol/SchemaType.json +276 -276
  40. package/out/Slice.sol/SliceInstance.json +4 -4
  41. package/out/Slice.sol/SliceLib.json +4 -4
  42. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +303 -303
  43. package/out/Storage.sol/Storage.json +7 -7
  44. package/out/StoreCore.sol/StoreCore.json +708 -737
  45. package/out/StoreCore.sol/StoreCoreInternal.json +710 -739
  46. package/out/StoreHook.sol/StoreHook.json +368 -368
  47. package/out/StoreHooks.sol/StoreHooks.json +3232 -3232
  48. package/out/StoreSwitch.sol/StoreSwitch.json +1885 -1885
  49. package/out/System.sol/System.json +31 -31
  50. package/out/Tables.sol/Tables.json +5585 -5585
  51. package/out/TightCoder.sol/TightCoder.json +124 -124
  52. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +119 -119
  53. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1990 -1990
  54. package/out/UniqueEntity.sol/UniqueEntity.json +1406 -1406
  55. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +327 -327
  56. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +93 -93
  57. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2727 -2727
  58. package/out/WorldContext.sol/WorldContextConsumer.json +1380 -988
  59. package/out/WorldContext.sol/{WorldContextProvider.json → WorldContextConsumerLib.json} +1381 -989
  60. package/out/WorldContext.sol/WorldContextProviderLib.json +3910 -0
  61. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
  62. package/out/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
  63. package/out/constants.sol/LayoutOffsets.json +79 -79
  64. package/out/constants.sol/constants.json +115 -115
  65. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  66. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  67. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  68. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  69. package/out/hasKey.sol/hasKey.json +130 -130
  70. package/out/index.sol/index.json +53 -53
  71. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +131 -131
  72. package/out/leftMask.sol/leftMask.json +31 -31
  73. package/out/query.sol/query.json +1154 -1154
  74. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  75. package/out/src/Bytes.sol/Bytes.json +1338 -1338
  76. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +698 -698
  77. package/out/src/FieldLayout.sol/FieldLayoutLib.json +698 -698
  78. package/out/src/IStore.sol/IStore.json +53 -53
  79. package/out/src/IWorldKernel.sol/IWorldCall.json +153 -153
  80. package/out/src/IWorldKernel.sol/IWorldKernel.json +153 -153
  81. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +153 -153
  82. package/out/src/Memory.sol/Memory.json +91 -91
  83. package/out/src/PackedCounter.sol/PackedCounterInstance.json +929 -929
  84. package/out/src/PackedCounter.sol/PackedCounterLib.json +929 -929
  85. package/out/src/ResourceId.sol/ResourceIdInstance.json +116 -116
  86. package/out/src/ResourceId.sol/ResourceIdLib.json +116 -116
  87. package/out/src/Schema.sol/SchemaInstance.json +790 -790
  88. package/out/src/Schema.sol/SchemaLib.json +790 -790
  89. package/out/src/Slice.sol/SliceInstance.json +430 -430
  90. package/out/src/Slice.sol/SliceLib.json +430 -430
  91. package/out/src/StoreCore.sol/StoreCore.json +4695 -4724
  92. package/out/src/StoreCore.sol/StoreCoreInternal.json +4697 -4726
  93. package/out/src/StoreSwitch.sol/StoreSwitch.json +2487 -2487
  94. package/out/src/WorldContext.sol/WorldContextConsumer.json +1291 -899
  95. package/out/src/WorldContext.sol/WorldContextConsumerLib.abi.json +1 -0
  96. package/out/src/WorldContext.sol/{WorldContextProvider.json → WorldContextConsumerLib.json} +1292 -900
  97. package/out/src/WorldContext.sol/WorldContextProviderLib.abi.json +1 -0
  98. package/out/src/WorldContext.sol/WorldContextProviderLib.json +3910 -0
  99. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
  100. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
  101. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  102. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  103. package/out/tables/ResourceIds.sol/ResourceIds.json +1751 -1751
  104. package/out/tables/Tables.sol/Tables.json +7292 -7292
  105. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3345 -3345
  106. package/out/types.sol/types.json +41 -41
  107. package/out/version.sol/version.json +7 -7
  108. package/out/world/src/IERC165.sol/IERC165.json +28 -28
  109. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  110. package/package.json +8 -8
  111. /package/out/WorldContext.sol/{WorldContextProvider.abi.json → WorldContextConsumerLib.abi.json} +0 -0
  112. /package/out/{src/WorldContext.sol/WorldContextProvider.abi.json → WorldContext.sol/WorldContextProviderLib.abi.json} +0 -0
@@ -70,20 +70,20 @@
70
70
  },
71
71
  "ast": {
72
72
  "absolutePath": "node_modules/@latticexyz/store/src/Memory.sol",
73
- "id": 25943,
73
+ "id": 25975,
74
74
  "exportedSymbols": {
75
75
  "Memory": [
76
- 25942
76
+ 25974
77
77
  ],
78
78
  "leftMask": [
79
- 58176
79
+ 58240
80
80
  ]
81
81
  },
82
82
  "nodeType": "SourceUnit",
83
83
  "src": "32:1954:65",
84
84
  "nodes": [
85
85
  {
86
- "id": 25886,
86
+ "id": 25918,
87
87
  "nodeType": "PragmaDirective",
88
88
  "src": "32:25:65",
89
89
  "nodes": [],
@@ -95,23 +95,23 @@
95
95
  ]
96
96
  },
97
97
  {
98
- "id": 25888,
98
+ "id": 25920,
99
99
  "nodeType": "ImportDirective",
100
100
  "src": "59:42:65",
101
101
  "nodes": [],
102
102
  "absolutePath": "node_modules/@latticexyz/store/src/leftMask.sol",
103
103
  "file": "./leftMask.sol",
104
104
  "nameLocation": "-1:-1:-1",
105
- "scope": 25943,
106
- "sourceUnit": 58177,
105
+ "scope": 25975,
106
+ "sourceUnit": 58241,
107
107
  "symbolAliases": [
108
108
  {
109
109
  "foreign": {
110
- "id": 25887,
110
+ "id": 25919,
111
111
  "name": "leftMask",
112
112
  "nodeType": "Identifier",
113
113
  "overloadedDeclarations": [],
114
- "referencedDeclaration": 58176,
114
+ "referencedDeclaration": 58240,
115
115
  "src": "68:8:65",
116
116
  "typeDescriptions": {}
117
117
  },
@@ -121,17 +121,17 @@
121
121
  "unitAlias": ""
122
122
  },
123
123
  {
124
- "id": 25942,
124
+ "id": 25974,
125
125
  "nodeType": "ContractDefinition",
126
126
  "src": "282:1703:65",
127
127
  "nodes": [
128
128
  {
129
- "id": 25899,
129
+ "id": 25931,
130
130
  "nodeType": "FunctionDefinition",
131
131
  "src": "690:151:65",
132
132
  "nodes": [],
133
133
  "body": {
134
- "id": 25898,
134
+ "id": 25930,
135
135
  "nodeType": "Block",
136
136
  "src": "776:65:65",
137
137
  "nodes": [],
@@ -187,28 +187,28 @@
187
187
  "evmVersion": "paris",
188
188
  "externalReferences": [
189
189
  {
190
- "declaration": 25892,
190
+ "declaration": 25924,
191
191
  "isOffset": false,
192
192
  "isSlot": false,
193
193
  "src": "820:4:65",
194
194
  "valueSize": 1
195
195
  },
196
196
  {
197
- "declaration": 25895,
197
+ "declaration": 25927,
198
198
  "isOffset": false,
199
199
  "isSlot": false,
200
200
  "src": "799:13:65",
201
201
  "valueSize": 1
202
202
  }
203
203
  ],
204
- "id": 25897,
204
+ "id": 25929,
205
205
  "nodeType": "InlineAssembly",
206
206
  "src": "782:55:65"
207
207
  }
208
208
  ]
209
209
  },
210
210
  "documentation": {
211
- "id": 25890,
211
+ "id": 25922,
212
212
  "nodeType": "StructuredDocumentation",
213
213
  "src": "301:386:65",
214
214
  "text": " @notice Gets the actual data pointer of dynamic arrays.\n @dev In dynamic arrays, the first word stores the length of the data, after which comes the actual data.\n Example: 0x40 0x01 0x02\n ^len ^data\n @param data The dynamic bytes data from which to get the pointer.\n @return memoryPointer The pointer to the actual data (skipping the length)."
@@ -219,17 +219,17 @@
219
219
  "name": "dataPointer",
220
220
  "nameLocation": "699:11:65",
221
221
  "parameters": {
222
- "id": 25893,
222
+ "id": 25925,
223
223
  "nodeType": "ParameterList",
224
224
  "parameters": [
225
225
  {
226
226
  "constant": false,
227
- "id": 25892,
227
+ "id": 25924,
228
228
  "mutability": "mutable",
229
229
  "name": "data",
230
230
  "nameLocation": "724:4:65",
231
231
  "nodeType": "VariableDeclaration",
232
- "scope": 25899,
232
+ "scope": 25931,
233
233
  "src": "711:17:65",
234
234
  "stateVariable": false,
235
235
  "storageLocation": "memory",
@@ -238,7 +238,7 @@
238
238
  "typeString": "bytes"
239
239
  },
240
240
  "typeName": {
241
- "id": 25891,
241
+ "id": 25923,
242
242
  "name": "bytes",
243
243
  "nodeType": "ElementaryTypeName",
244
244
  "src": "711:5:65",
@@ -253,17 +253,17 @@
253
253
  "src": "710:19:65"
254
254
  },
255
255
  "returnParameters": {
256
- "id": 25896,
256
+ "id": 25928,
257
257
  "nodeType": "ParameterList",
258
258
  "parameters": [
259
259
  {
260
260
  "constant": false,
261
- "id": 25895,
261
+ "id": 25927,
262
262
  "mutability": "mutable",
263
263
  "name": "memoryPointer",
264
264
  "nameLocation": "761:13:65",
265
265
  "nodeType": "VariableDeclaration",
266
- "scope": 25899,
266
+ "scope": 25931,
267
267
  "src": "753:21:65",
268
268
  "stateVariable": false,
269
269
  "storageLocation": "default",
@@ -272,7 +272,7 @@
272
272
  "typeString": "uint256"
273
273
  },
274
274
  "typeName": {
275
- "id": 25894,
275
+ "id": 25926,
276
276
  "name": "uint256",
277
277
  "nodeType": "ElementaryTypeName",
278
278
  "src": "753:7:65",
@@ -286,25 +286,25 @@
286
286
  ],
287
287
  "src": "752:23:65"
288
288
  },
289
- "scope": 25942,
289
+ "scope": 25974,
290
290
  "stateMutability": "pure",
291
291
  "virtual": false,
292
292
  "visibility": "internal"
293
293
  },
294
294
  {
295
- "id": 25941,
295
+ "id": 25973,
296
296
  "nodeType": "FunctionDefinition",
297
297
  "src": "1161:822:65",
298
298
  "nodes": [],
299
299
  "body": {
300
- "id": 25940,
300
+ "id": 25972,
301
301
  "nodeType": "Block",
302
302
  "src": "1245:738:65",
303
303
  "nodes": [],
304
304
  "statements": [
305
305
  {
306
306
  "body": {
307
- "id": 25926,
307
+ "id": 25958,
308
308
  "nodeType": "Block",
309
309
  "src": "1299:303:65",
310
310
  "statements": [
@@ -363,42 +363,42 @@
363
363
  "evmVersion": "paris",
364
364
  "externalReferences": [
365
365
  {
366
- "declaration": 25902,
366
+ "declaration": 25934,
367
367
  "isOffset": false,
368
368
  "isSlot": false,
369
369
  "src": "1391:11:65",
370
370
  "valueSize": 1
371
371
  },
372
372
  {
373
- "declaration": 25904,
373
+ "declaration": 25936,
374
374
  "isOffset": false,
375
375
  "isSlot": false,
376
376
  "src": "1374:9:65",
377
377
  "valueSize": 1
378
378
  }
379
379
  ],
380
- "id": 25912,
380
+ "id": 25944,
381
381
  "nodeType": "InlineAssembly",
382
382
  "src": "1348:64:65"
383
383
  },
384
384
  {
385
- "id": 25925,
385
+ "id": 25957,
386
386
  "nodeType": "UncheckedBlock",
387
387
  "src": "1503:93:65",
388
388
  "statements": [
389
389
  {
390
390
  "expression": {
391
- "id": 25915,
391
+ "id": 25947,
392
392
  "isConstant": false,
393
393
  "isLValue": false,
394
394
  "isPure": false,
395
395
  "lValueRequested": false,
396
396
  "leftHandSide": {
397
- "id": 25913,
397
+ "id": 25945,
398
398
  "name": "toPointer",
399
399
  "nodeType": "Identifier",
400
400
  "overloadedDeclarations": [],
401
- "referencedDeclaration": 25904,
401
+ "referencedDeclaration": 25936,
402
402
  "src": "1523:9:65",
403
403
  "typeDescriptions": {
404
404
  "typeIdentifier": "t_uint256",
@@ -409,7 +409,7 @@
409
409
  "operator": "+=",
410
410
  "rightHandSide": {
411
411
  "hexValue": "3332",
412
- "id": 25914,
412
+ "id": 25946,
413
413
  "isConstant": false,
414
414
  "isLValue": false,
415
415
  "isPure": true,
@@ -429,23 +429,23 @@
429
429
  "typeString": "uint256"
430
430
  }
431
431
  },
432
- "id": 25916,
432
+ "id": 25948,
433
433
  "nodeType": "ExpressionStatement",
434
434
  "src": "1523:15:65"
435
435
  },
436
436
  {
437
437
  "expression": {
438
- "id": 25919,
438
+ "id": 25951,
439
439
  "isConstant": false,
440
440
  "isLValue": false,
441
441
  "isPure": false,
442
442
  "lValueRequested": false,
443
443
  "leftHandSide": {
444
- "id": 25917,
444
+ "id": 25949,
445
445
  "name": "fromPointer",
446
446
  "nodeType": "Identifier",
447
447
  "overloadedDeclarations": [],
448
- "referencedDeclaration": 25902,
448
+ "referencedDeclaration": 25934,
449
449
  "src": "1548:11:65",
450
450
  "typeDescriptions": {
451
451
  "typeIdentifier": "t_uint256",
@@ -456,7 +456,7 @@
456
456
  "operator": "+=",
457
457
  "rightHandSide": {
458
458
  "hexValue": "3332",
459
- "id": 25918,
459
+ "id": 25950,
460
460
  "isConstant": false,
461
461
  "isLValue": false,
462
462
  "isPure": true,
@@ -476,23 +476,23 @@
476
476
  "typeString": "uint256"
477
477
  }
478
478
  },
479
- "id": 25920,
479
+ "id": 25952,
480
480
  "nodeType": "ExpressionStatement",
481
481
  "src": "1548:17:65"
482
482
  },
483
483
  {
484
484
  "expression": {
485
- "id": 25923,
485
+ "id": 25955,
486
486
  "isConstant": false,
487
487
  "isLValue": false,
488
488
  "isPure": false,
489
489
  "lValueRequested": false,
490
490
  "leftHandSide": {
491
- "id": 25921,
491
+ "id": 25953,
492
492
  "name": "length",
493
493
  "nodeType": "Identifier",
494
494
  "overloadedDeclarations": [],
495
- "referencedDeclaration": 25906,
495
+ "referencedDeclaration": 25938,
496
496
  "src": "1575:6:65",
497
497
  "typeDescriptions": {
498
498
  "typeIdentifier": "t_uint256",
@@ -503,7 +503,7 @@
503
503
  "operator": "-=",
504
504
  "rightHandSide": {
505
505
  "hexValue": "3332",
506
- "id": 25922,
506
+ "id": 25954,
507
507
  "isConstant": false,
508
508
  "isLValue": false,
509
509
  "isPure": true,
@@ -523,7 +523,7 @@
523
523
  "typeString": "uint256"
524
524
  }
525
525
  },
526
- "id": 25924,
526
+ "id": 25956,
527
527
  "nodeType": "ExpressionStatement",
528
528
  "src": "1575:12:65"
529
529
  }
@@ -536,17 +536,17 @@
536
536
  "typeIdentifier": "t_uint256",
537
537
  "typeString": "uint256"
538
538
  },
539
- "id": 25911,
539
+ "id": 25943,
540
540
  "isConstant": false,
541
541
  "isLValue": false,
542
542
  "isPure": false,
543
543
  "lValueRequested": false,
544
544
  "leftExpression": {
545
- "id": 25909,
545
+ "id": 25941,
546
546
  "name": "length",
547
547
  "nodeType": "Identifier",
548
548
  "overloadedDeclarations": [],
549
- "referencedDeclaration": 25906,
549
+ "referencedDeclaration": 25938,
550
550
  "src": "1285:6:65",
551
551
  "typeDescriptions": {
552
552
  "typeIdentifier": "t_uint256",
@@ -557,7 +557,7 @@
557
557
  "operator": ">=",
558
558
  "rightExpression": {
559
559
  "hexValue": "3332",
560
- "id": 25910,
560
+ "id": 25942,
561
561
  "isConstant": false,
562
562
  "isLValue": false,
563
563
  "isPure": true,
@@ -577,7 +577,7 @@
577
577
  "typeString": "bool"
578
578
  }
579
579
  },
580
- "id": 25927,
580
+ "id": 25959,
581
581
  "nodeType": "WhileStatement",
582
582
  "src": "1278:324:65"
583
583
  },
@@ -587,17 +587,17 @@
587
587
  "typeIdentifier": "t_uint256",
588
588
  "typeString": "uint256"
589
589
  },
590
- "id": 25930,
590
+ "id": 25962,
591
591
  "isConstant": false,
592
592
  "isLValue": false,
593
593
  "isPure": false,
594
594
  "lValueRequested": false,
595
595
  "leftExpression": {
596
- "id": 25928,
596
+ "id": 25960,
597
597
  "name": "length",
598
598
  "nodeType": "Identifier",
599
599
  "overloadedDeclarations": [],
600
- "referencedDeclaration": 25906,
600
+ "referencedDeclaration": 25938,
601
601
  "src": "1611:6:65",
602
602
  "typeDescriptions": {
603
603
  "typeIdentifier": "t_uint256",
@@ -608,7 +608,7 @@
608
608
  "operator": "==",
609
609
  "rightExpression": {
610
610
  "hexValue": "30",
611
- "id": 25929,
611
+ "id": 25961,
612
612
  "isConstant": false,
613
613
  "isLValue": false,
614
614
  "isPure": true,
@@ -628,29 +628,29 @@
628
628
  "typeString": "bool"
629
629
  }
630
630
  },
631
- "id": 25932,
631
+ "id": 25964,
632
632
  "nodeType": "IfStatement",
633
633
  "src": "1607:24:65",
634
634
  "trueBody": {
635
- "functionReturnParameters": 25908,
636
- "id": 25931,
635
+ "functionReturnParameters": 25940,
636
+ "id": 25963,
637
637
  "nodeType": "Return",
638
638
  "src": "1624:7:65"
639
639
  }
640
640
  },
641
641
  {
642
642
  "assignments": [
643
- 25934
643
+ 25966
644
644
  ],
645
645
  "declarations": [
646
646
  {
647
647
  "constant": false,
648
- "id": 25934,
648
+ "id": 25966,
649
649
  "mutability": "mutable",
650
650
  "name": "mask",
651
651
  "nameLocation": "1678:4:65",
652
652
  "nodeType": "VariableDeclaration",
653
- "scope": 25940,
653
+ "scope": 25972,
654
654
  "src": "1670:12:65",
655
655
  "stateVariable": false,
656
656
  "storageLocation": "default",
@@ -659,7 +659,7 @@
659
659
  "typeString": "uint256"
660
660
  },
661
661
  "typeName": {
662
- "id": 25933,
662
+ "id": 25965,
663
663
  "name": "uint256",
664
664
  "nodeType": "ElementaryTypeName",
665
665
  "src": "1670:7:65",
@@ -671,15 +671,15 @@
671
671
  "visibility": "internal"
672
672
  }
673
673
  ],
674
- "id": 25938,
674
+ "id": 25970,
675
675
  "initialValue": {
676
676
  "arguments": [
677
677
  {
678
- "id": 25936,
678
+ "id": 25968,
679
679
  "name": "length",
680
680
  "nodeType": "Identifier",
681
681
  "overloadedDeclarations": [],
682
- "referencedDeclaration": 25906,
682
+ "referencedDeclaration": 25938,
683
683
  "src": "1694:6:65",
684
684
  "typeDescriptions": {
685
685
  "typeIdentifier": "t_uint256",
@@ -694,18 +694,18 @@
694
694
  "typeString": "uint256"
695
695
  }
696
696
  ],
697
- "id": 25935,
697
+ "id": 25967,
698
698
  "name": "leftMask",
699
699
  "nodeType": "Identifier",
700
700
  "overloadedDeclarations": [],
701
- "referencedDeclaration": 58176,
701
+ "referencedDeclaration": 58240,
702
702
  "src": "1685:8:65",
703
703
  "typeDescriptions": {
704
704
  "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_uint256_$",
705
705
  "typeString": "function (uint256) pure returns (uint256)"
706
706
  }
707
707
  },
708
- "id": 25937,
708
+ "id": 25969,
709
709
  "isConstant": false,
710
710
  "isLValue": false,
711
711
  "isPure": false,
@@ -862,49 +862,49 @@
862
862
  "evmVersion": "paris",
863
863
  "externalReferences": [
864
864
  {
865
- "declaration": 25902,
865
+ "declaration": 25934,
866
866
  "isOffset": false,
867
867
  "isSlot": false,
868
868
  "src": "1855:11:65",
869
869
  "valueSize": 1
870
870
  },
871
871
  {
872
- "declaration": 25934,
872
+ "declaration": 25966,
873
873
  "isOffset": false,
874
874
  "isSlot": false,
875
875
  "src": "1869:4:65",
876
876
  "valueSize": 1
877
877
  },
878
878
  {
879
- "declaration": 25934,
879
+ "declaration": 25966,
880
880
  "isOffset": false,
881
881
  "isSlot": false,
882
882
  "src": "1949:4:65",
883
883
  "valueSize": 1
884
884
  },
885
885
  {
886
- "declaration": 25904,
886
+ "declaration": 25936,
887
887
  "isOffset": false,
888
888
  "isSlot": false,
889
889
  "src": "1779:9:65",
890
890
  "valueSize": 1
891
891
  },
892
892
  {
893
- "declaration": 25904,
893
+ "declaration": 25936,
894
894
  "isOffset": false,
895
895
  "isSlot": false,
896
896
  "src": "1933:9:65",
897
897
  "valueSize": 1
898
898
  }
899
899
  ],
900
- "id": 25939,
900
+ "id": 25971,
901
901
  "nodeType": "InlineAssembly",
902
902
  "src": "1746:233:65"
903
903
  }
904
904
  ]
905
905
  },
906
906
  "documentation": {
907
- "id": 25900,
907
+ "id": 25932,
908
908
  "nodeType": "StructuredDocumentation",
909
909
  "src": "845:313:65",
910
910
  "text": " @notice Copies memory from one location to another.\n @dev Safely copies memory in chunks of 32 bytes, then handles any residual bytes.\n @param fromPointer The memory location to copy from.\n @param toPointer The memory location to copy to.\n @param length The number of bytes to copy."
@@ -915,17 +915,17 @@
915
915
  "name": "copy",
916
916
  "nameLocation": "1170:4:65",
917
917
  "parameters": {
918
- "id": 25907,
918
+ "id": 25939,
919
919
  "nodeType": "ParameterList",
920
920
  "parameters": [
921
921
  {
922
922
  "constant": false,
923
- "id": 25902,
923
+ "id": 25934,
924
924
  "mutability": "mutable",
925
925
  "name": "fromPointer",
926
926
  "nameLocation": "1183:11:65",
927
927
  "nodeType": "VariableDeclaration",
928
- "scope": 25941,
928
+ "scope": 25973,
929
929
  "src": "1175:19:65",
930
930
  "stateVariable": false,
931
931
  "storageLocation": "default",
@@ -934,7 +934,7 @@
934
934
  "typeString": "uint256"
935
935
  },
936
936
  "typeName": {
937
- "id": 25901,
937
+ "id": 25933,
938
938
  "name": "uint256",
939
939
  "nodeType": "ElementaryTypeName",
940
940
  "src": "1175:7:65",
@@ -947,12 +947,12 @@
947
947
  },
948
948
  {
949
949
  "constant": false,
950
- "id": 25904,
950
+ "id": 25936,
951
951
  "mutability": "mutable",
952
952
  "name": "toPointer",
953
953
  "nameLocation": "1204:9:65",
954
954
  "nodeType": "VariableDeclaration",
955
- "scope": 25941,
955
+ "scope": 25973,
956
956
  "src": "1196:17:65",
957
957
  "stateVariable": false,
958
958
  "storageLocation": "default",
@@ -961,7 +961,7 @@
961
961
  "typeString": "uint256"
962
962
  },
963
963
  "typeName": {
964
- "id": 25903,
964
+ "id": 25935,
965
965
  "name": "uint256",
966
966
  "nodeType": "ElementaryTypeName",
967
967
  "src": "1196:7:65",
@@ -974,12 +974,12 @@
974
974
  },
975
975
  {
976
976
  "constant": false,
977
- "id": 25906,
977
+ "id": 25938,
978
978
  "mutability": "mutable",
979
979
  "name": "length",
980
980
  "nameLocation": "1223:6:65",
981
981
  "nodeType": "VariableDeclaration",
982
- "scope": 25941,
982
+ "scope": 25973,
983
983
  "src": "1215:14:65",
984
984
  "stateVariable": false,
985
985
  "storageLocation": "default",
@@ -988,7 +988,7 @@
988
988
  "typeString": "uint256"
989
989
  },
990
990
  "typeName": {
991
- "id": 25905,
991
+ "id": 25937,
992
992
  "name": "uint256",
993
993
  "nodeType": "ElementaryTypeName",
994
994
  "src": "1215:7:65",
@@ -1003,12 +1003,12 @@
1003
1003
  "src": "1174:56:65"
1004
1004
  },
1005
1005
  "returnParameters": {
1006
- "id": 25908,
1006
+ "id": 25940,
1007
1007
  "nodeType": "ParameterList",
1008
1008
  "parameters": [],
1009
1009
  "src": "1245:0:65"
1010
1010
  },
1011
- "scope": 25942,
1011
+ "scope": 25974,
1012
1012
  "stateMutability": "pure",
1013
1013
  "virtual": false,
1014
1014
  "visibility": "internal"
@@ -1020,18 +1020,18 @@
1020
1020
  "contractDependencies": [],
1021
1021
  "contractKind": "library",
1022
1022
  "documentation": {
1023
- "id": 25889,
1023
+ "id": 25921,
1024
1024
  "nodeType": "StructuredDocumentation",
1025
1025
  "src": "103:178:65",
1026
1026
  "text": " @title Memory Operations\n @notice A library for performing low-level memory operations.\n @dev This library provides low-level memory operations with safety checks."
1027
1027
  },
1028
1028
  "fullyImplemented": true,
1029
1029
  "linearizedBaseContracts": [
1030
- 25942
1030
+ 25974
1031
1031
  ],
1032
1032
  "name": "Memory",
1033
1033
  "nameLocation": "290:6:65",
1034
- "scope": 25943,
1034
+ "scope": 25975,
1035
1035
  "usedErrors": [],
1036
1036
  "usedEvents": []
1037
1037
  }