@latticexyz/world-modules 2.0.0-main-251170e1 → 2.0.0-main-5741d53d

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 (121) hide show
  1. package/dist/mud.config.js +1 -1
  2. package/dist/mud.config.js.map +1 -1
  3. package/out/ArrayLib.sol/ArrayLib.json +477 -477
  4. package/out/Callbacks.sol/Callbacks.json +45 -45
  5. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +350 -350
  6. package/out/CallboundDelegations.sol/CallboundDelegations.json +4497 -4497
  7. package/out/DelegationControl.sol/DelegationControl.json +83 -83
  8. package/out/Hooks.sol/Hooks.json +45 -45
  9. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +111 -111
  10. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +96 -96
  11. package/out/IBaseWorld.sol/IBaseWorld.abi.json +0 -13
  12. package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +0 -13
  13. package/out/IBaseWorld.sol/IBaseWorld.json +81 -161
  14. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
  15. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +70 -0
  16. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +534 -0
  17. package/out/ICoreSystem.sol/ICoreSystem.json +15 -15
  18. package/out/IDelegationControl.sol/IDelegationControl.json +100 -100
  19. package/out/IModule.sol/IModule.json +139 -139
  20. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +58 -58
  21. package/out/ISystemHook.sol/ISystemHook.json +141 -141
  22. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +2 -2
  23. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +2 -2
  24. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +37 -37
  25. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +118 -118
  26. package/out/IWorldErrors.sol/IWorldErrors.json +257 -257
  27. package/out/IWorldKernel.sol/IWorldCall.json +251 -251
  28. package/out/IWorldKernel.sol/IWorldKernel.json +251 -251
  29. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +251 -251
  30. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +321 -321
  31. package/out/KeyEncoding.sol/KeyEncoding.json +80 -80
  32. package/out/KeysInTable.sol/KeysInTable.json +18190 -18190
  33. package/out/KeysInTableHook.sol/KeysInTableHook.json +1407 -1407
  34. package/out/KeysInTableModule.sol/KeysInTableModule.json +885 -885
  35. package/out/KeysWithValue.sol/KeysWithValue.json +6631 -6631
  36. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1604 -1604
  37. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +700 -700
  38. package/out/Mixed.sol/Mixed.json +66 -66
  39. package/out/Module.sol/Module.json +73 -73
  40. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  41. package/out/Schema.sol/SchemaInstance.json +30 -30
  42. package/out/Schema.sol/SchemaLib.json +30 -30
  43. package/out/SchemaType.sol/SchemaType.json +276 -276
  44. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +495 -495
  45. package/out/StoreHook.sol/StoreHook.json +358 -358
  46. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  47. package/out/System.sol/System.json +19 -19
  48. package/out/Tables.sol/Tables.json +73 -73
  49. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +183 -183
  50. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3474 -3474
  51. package/out/UniqueEntity.sol/UniqueEntity.json +2345 -2345
  52. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +529 -529
  53. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +128 -128
  54. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4588 -4588
  55. package/out/Vector2.sol/Vector2.json +52 -52
  56. package/out/WorldContext.sol/WorldContextConsumer.json +28 -28
  57. package/out/WorldContext.sol/WorldContextProvider.json +28 -28
  58. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +103 -103
  59. package/out/WorldResourceId.sol/WorldResourceIdLib.json +103 -103
  60. package/out/constants.sol/constants.json +142 -142
  61. package/out/getKeysInTable.sol/getKeysInTable.json +918 -918
  62. package/out/getKeysWithValue.sol/getKeysWithValue.json +431 -431
  63. package/out/getTargetTableId.sol/getTargetTableId.json +272 -272
  64. package/out/getUniqueEntity.sol/getUniqueEntity.json +149 -149
  65. package/out/hasKey.sol/hasKey.json +215 -215
  66. package/out/index.sol/index.json +73 -73
  67. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json +51 -15
  68. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +51 -15
  69. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +326 -253
  70. package/out/interfaces/IERC165.sol/IERC165.json +50 -50
  71. package/out/interfaces/IWorldKernel.sol/IWorldCall.json +149 -149
  72. package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +149 -149
  73. package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +149 -149
  74. package/out/query.sol/query.json +1892 -1892
  75. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  76. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  77. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
  78. package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
  79. package/out/src/IStore.sol/IStore.json +885 -885
  80. package/out/src/IStore.sol/IStoreData.json +885 -885
  81. package/out/src/IStore.sol/IStoreRead.json +885 -885
  82. package/out/src/IStore.sol/IStoreRegistration.json +885 -885
  83. package/out/src/IStore.sol/IStoreWrite.json +885 -885
  84. package/out/src/Memory.sol/Memory.json +89 -89
  85. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  86. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  87. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  88. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  89. package/out/src/Schema.sol/SchemaInstance.json +787 -787
  90. package/out/src/Schema.sol/SchemaLib.json +787 -787
  91. package/out/src/Slice.sol/SliceInstance.json +429 -429
  92. package/out/src/Slice.sol/SliceLib.json +429 -429
  93. package/out/src/StoreCore.sol/StoreCore.json +4461 -4461
  94. package/out/src/StoreCore.sol/StoreCoreInternal.json +4461 -4461
  95. package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
  96. package/out/src/WorldContext.sol/WorldContextConsumer.json +353 -353
  97. package/out/src/WorldContext.sol/WorldContextProvider.json +353 -353
  98. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
  99. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
  100. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  101. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  102. package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
  103. package/out/tables/Tables.sol/Tables.json +7288 -7288
  104. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
  105. package/out/types.sol/types.json +131 -23
  106. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  107. package/package.json +8 -8
  108. package/src/interfaces/IBaseWorld.sol +1 -3
  109. package/src/interfaces/IUniqueEntitySystem.sol +2 -3
  110. package/src/modules/keysintable/KeysInTableModule.sol +1 -1
  111. package/src/modules/keyswithvalue/KeysWithValueHook.sol +1 -1
  112. package/src/modules/keyswithvalue/KeysWithValueModule.sol +1 -1
  113. package/src/modules/std-delegations/StandardDelegationsModule.sol +1 -1
  114. package/src/modules/uniqueentity/UniqueEntityModule.sol +1 -1
  115. package/src/modules/uniqueentity/getUniqueEntity.sol +2 -2
  116. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json +0 -33
  117. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json.d.ts +0 -34
  118. package/out/ICallBatchSystem.sol/ICallBatchSystem.json +0 -334
  119. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +0 -15
  120. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +0 -16
  121. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +0 -197
@@ -368,7 +368,7 @@
368
368
  3053
369
369
  ],
370
370
  "SchemaType": [
371
- 33955
371
+ 33974
372
372
  ],
373
373
  "SliceLib": [
374
374
  3518
@@ -416,7 +416,7 @@
416
416
  "file": "@latticexyz/schema-type/src/solidity/SchemaType.sol",
417
417
  "nameLocation": "-1:-1:-1",
418
418
  "scope": 22166,
419
- "sourceUnit": 33997,
419
+ "sourceUnit": 34016,
420
420
  "symbolAliases": [
421
421
  {
422
422
  "foreign": {
@@ -424,7 +424,7 @@
424
424
  "name": "SchemaType",
425
425
  "nodeType": "Identifier",
426
426
  "overloadedDeclarations": [],
427
- "referencedDeclaration": 33955,
427
+ "referencedDeclaration": 33974,
428
428
  "src": "139:10:23",
429
429
  "typeDescriptions": {}
430
430
  },
@@ -1434,7 +1434,7 @@
1434
1434
  "stateVariable": false,
1435
1435
  "storageLocation": "memory",
1436
1436
  "typeDescriptions": {
1437
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$33955_$dyn_memory_ptr",
1437
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$33974_$dyn_memory_ptr",
1438
1438
  "typeString": "enum SchemaType[]"
1439
1439
  },
1440
1440
  "typeName": {
@@ -1448,13 +1448,13 @@
1448
1448
  "1566:10:23"
1449
1449
  ],
1450
1450
  "nodeType": "IdentifierPath",
1451
- "referencedDeclaration": 33955,
1451
+ "referencedDeclaration": 33974,
1452
1452
  "src": "1566:10:23"
1453
1453
  },
1454
- "referencedDeclaration": 33955,
1454
+ "referencedDeclaration": 33974,
1455
1455
  "src": "1566:10:23",
1456
1456
  "typeDescriptions": {
1457
- "typeIdentifier": "t_enum$_SchemaType_$33955",
1457
+ "typeIdentifier": "t_enum$_SchemaType_$33974",
1458
1458
  "typeString": "enum SchemaType"
1459
1459
  }
1460
1460
  },
@@ -1462,7 +1462,7 @@
1462
1462
  "nodeType": "ArrayTypeName",
1463
1463
  "src": "1566:12:23",
1464
1464
  "typeDescriptions": {
1465
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$33955_$dyn_storage_ptr",
1465
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$33974_$dyn_storage_ptr",
1466
1466
  "typeString": "enum SchemaType[]"
1467
1467
  }
1468
1468
  },
@@ -1504,7 +1504,7 @@
1504
1504
  "nodeType": "NewExpression",
1505
1505
  "src": "1599:16:23",
1506
1506
  "typeDescriptions": {
1507
- "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_enum$_SchemaType_$33955_$dyn_memory_ptr_$",
1507
+ "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_enum$_SchemaType_$33974_$dyn_memory_ptr_$",
1508
1508
  "typeString": "function (uint256) pure returns (enum SchemaType[] memory)"
1509
1509
  },
1510
1510
  "typeName": {
@@ -1518,13 +1518,13 @@
1518
1518
  "1603:10:23"
1519
1519
  ],
1520
1520
  "nodeType": "IdentifierPath",
1521
- "referencedDeclaration": 33955,
1521
+ "referencedDeclaration": 33974,
1522
1522
  "src": "1603:10:23"
1523
1523
  },
1524
- "referencedDeclaration": 33955,
1524
+ "referencedDeclaration": 33974,
1525
1525
  "src": "1603:10:23",
1526
1526
  "typeDescriptions": {
1527
- "typeIdentifier": "t_enum$_SchemaType_$33955",
1527
+ "typeIdentifier": "t_enum$_SchemaType_$33974",
1528
1528
  "typeString": "enum SchemaType"
1529
1529
  }
1530
1530
  },
@@ -1532,7 +1532,7 @@
1532
1532
  "nodeType": "ArrayTypeName",
1533
1533
  "src": "1603:12:23",
1534
1534
  "typeDescriptions": {
1535
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$33955_$dyn_storage_ptr",
1535
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$33974_$dyn_storage_ptr",
1536
1536
  "typeString": "enum SchemaType[]"
1537
1537
  }
1538
1538
  }
@@ -1549,7 +1549,7 @@
1549
1549
  "src": "1599:19:23",
1550
1550
  "tryCall": false,
1551
1551
  "typeDescriptions": {
1552
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$33955_$dyn_memory_ptr",
1552
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$33974_$dyn_memory_ptr",
1553
1553
  "typeString": "enum SchemaType[] memory"
1554
1554
  }
1555
1555
  },
@@ -1572,7 +1572,7 @@
1572
1572
  "referencedDeclaration": 19721,
1573
1573
  "src": "1624:10:23",
1574
1574
  "typeDescriptions": {
1575
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$33955_$dyn_memory_ptr",
1575
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$33974_$dyn_memory_ptr",
1576
1576
  "typeString": "enum SchemaType[] memory"
1577
1577
  }
1578
1578
  },
@@ -1600,7 +1600,7 @@
1600
1600
  "nodeType": "IndexAccess",
1601
1601
  "src": "1624:13:23",
1602
1602
  "typeDescriptions": {
1603
- "typeIdentifier": "t_enum$_SchemaType_$33955",
1603
+ "typeIdentifier": "t_enum$_SchemaType_$33974",
1604
1604
  "typeString": "enum SchemaType"
1605
1605
  }
1606
1606
  },
@@ -1612,10 +1612,10 @@
1612
1612
  "name": "SchemaType",
1613
1613
  "nodeType": "Identifier",
1614
1614
  "overloadedDeclarations": [],
1615
- "referencedDeclaration": 33955,
1615
+ "referencedDeclaration": 33974,
1616
1616
  "src": "1640:10:23",
1617
1617
  "typeDescriptions": {
1618
- "typeIdentifier": "t_type$_t_enum$_SchemaType_$33955_$",
1618
+ "typeIdentifier": "t_type$_t_enum$_SchemaType_$33974_$",
1619
1619
  "typeString": "type(enum SchemaType)"
1620
1620
  }
1621
1621
  },
@@ -1627,16 +1627,16 @@
1627
1627
  "memberLocation": "1651:7:23",
1628
1628
  "memberName": "BYTES32",
1629
1629
  "nodeType": "MemberAccess",
1630
- "referencedDeclaration": 33852,
1630
+ "referencedDeclaration": 33871,
1631
1631
  "src": "1640:18:23",
1632
1632
  "typeDescriptions": {
1633
- "typeIdentifier": "t_enum$_SchemaType_$33955",
1633
+ "typeIdentifier": "t_enum$_SchemaType_$33974",
1634
1634
  "typeString": "enum SchemaType"
1635
1635
  }
1636
1636
  },
1637
1637
  "src": "1624:34:23",
1638
1638
  "typeDescriptions": {
1639
- "typeIdentifier": "t_enum$_SchemaType_$33955",
1639
+ "typeIdentifier": "t_enum$_SchemaType_$33974",
1640
1640
  "typeString": "enum SchemaType"
1641
1641
  }
1642
1642
  },
@@ -1655,7 +1655,7 @@
1655
1655
  "referencedDeclaration": 19721,
1656
1656
  "src": "1689:10:23",
1657
1657
  "typeDescriptions": {
1658
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$33955_$dyn_memory_ptr",
1658
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$33974_$dyn_memory_ptr",
1659
1659
  "typeString": "enum SchemaType[] memory"
1660
1660
  }
1661
1661
  }
@@ -1663,7 +1663,7 @@
1663
1663
  "expression": {
1664
1664
  "argumentTypes": [
1665
1665
  {
1666
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$33955_$dyn_memory_ptr",
1666
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$33974_$dyn_memory_ptr",
1667
1667
  "typeString": "enum SchemaType[] memory"
1668
1668
  }
1669
1669
  ],
@@ -1690,7 +1690,7 @@
1690
1690
  "referencedDeclaration": 3052,
1691
1691
  "src": "1672:16:23",
1692
1692
  "typeDescriptions": {
1693
- "typeIdentifier": "t_function_internal_pure$_t_array$_t_enum$_SchemaType_$33955_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_Schema_$2900_$",
1693
+ "typeIdentifier": "t_function_internal_pure$_t_array$_t_enum$_SchemaType_$33974_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_Schema_$2900_$",
1694
1694
  "typeString": "function (enum SchemaType[] memory) pure returns (Schema)"
1695
1695
  }
1696
1696
  },
@@ -1811,7 +1811,7 @@
1811
1811
  "stateVariable": false,
1812
1812
  "storageLocation": "memory",
1813
1813
  "typeDescriptions": {
1814
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$33955_$dyn_memory_ptr",
1814
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$33974_$dyn_memory_ptr",
1815
1815
  "typeString": "enum SchemaType[]"
1816
1816
  },
1817
1817
  "typeName": {
@@ -1825,13 +1825,13 @@
1825
1825
  "1810:10:23"
1826
1826
  ],
1827
1827
  "nodeType": "IdentifierPath",
1828
- "referencedDeclaration": 33955,
1828
+ "referencedDeclaration": 33974,
1829
1829
  "src": "1810:10:23"
1830
1830
  },
1831
- "referencedDeclaration": 33955,
1831
+ "referencedDeclaration": 33974,
1832
1832
  "src": "1810:10:23",
1833
1833
  "typeDescriptions": {
1834
- "typeIdentifier": "t_enum$_SchemaType_$33955",
1834
+ "typeIdentifier": "t_enum$_SchemaType_$33974",
1835
1835
  "typeString": "enum SchemaType"
1836
1836
  }
1837
1837
  },
@@ -1839,7 +1839,7 @@
1839
1839
  "nodeType": "ArrayTypeName",
1840
1840
  "src": "1810:12:23",
1841
1841
  "typeDescriptions": {
1842
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$33955_$dyn_storage_ptr",
1842
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$33974_$dyn_storage_ptr",
1843
1843
  "typeString": "enum SchemaType[]"
1844
1844
  }
1845
1845
  },
@@ -1881,7 +1881,7 @@
1881
1881
  "nodeType": "NewExpression",
1882
1882
  "src": "1845:16:23",
1883
1883
  "typeDescriptions": {
1884
- "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_enum$_SchemaType_$33955_$dyn_memory_ptr_$",
1884
+ "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_enum$_SchemaType_$33974_$dyn_memory_ptr_$",
1885
1885
  "typeString": "function (uint256) pure returns (enum SchemaType[] memory)"
1886
1886
  },
1887
1887
  "typeName": {
@@ -1895,13 +1895,13 @@
1895
1895
  "1849:10:23"
1896
1896
  ],
1897
1897
  "nodeType": "IdentifierPath",
1898
- "referencedDeclaration": 33955,
1898
+ "referencedDeclaration": 33974,
1899
1899
  "src": "1849:10:23"
1900
1900
  },
1901
- "referencedDeclaration": 33955,
1901
+ "referencedDeclaration": 33974,
1902
1902
  "src": "1849:10:23",
1903
1903
  "typeDescriptions": {
1904
- "typeIdentifier": "t_enum$_SchemaType_$33955",
1904
+ "typeIdentifier": "t_enum$_SchemaType_$33974",
1905
1905
  "typeString": "enum SchemaType"
1906
1906
  }
1907
1907
  },
@@ -1909,7 +1909,7 @@
1909
1909
  "nodeType": "ArrayTypeName",
1910
1910
  "src": "1849:12:23",
1911
1911
  "typeDescriptions": {
1912
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$33955_$dyn_storage_ptr",
1912
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$33974_$dyn_storage_ptr",
1913
1913
  "typeString": "enum SchemaType[]"
1914
1914
  }
1915
1915
  }
@@ -1926,7 +1926,7 @@
1926
1926
  "src": "1845:19:23",
1927
1927
  "tryCall": false,
1928
1928
  "typeDescriptions": {
1929
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$33955_$dyn_memory_ptr",
1929
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$33974_$dyn_memory_ptr",
1930
1930
  "typeString": "enum SchemaType[] memory"
1931
1931
  }
1932
1932
  },
@@ -1949,7 +1949,7 @@
1949
1949
  "referencedDeclaration": 19753,
1950
1950
  "src": "1870:12:23",
1951
1951
  "typeDescriptions": {
1952
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$33955_$dyn_memory_ptr",
1952
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$33974_$dyn_memory_ptr",
1953
1953
  "typeString": "enum SchemaType[] memory"
1954
1954
  }
1955
1955
  },
@@ -1977,7 +1977,7 @@
1977
1977
  "nodeType": "IndexAccess",
1978
1978
  "src": "1870:15:23",
1979
1979
  "typeDescriptions": {
1980
- "typeIdentifier": "t_enum$_SchemaType_$33955",
1980
+ "typeIdentifier": "t_enum$_SchemaType_$33974",
1981
1981
  "typeString": "enum SchemaType"
1982
1982
  }
1983
1983
  },
@@ -1989,10 +1989,10 @@
1989
1989
  "name": "SchemaType",
1990
1990
  "nodeType": "Identifier",
1991
1991
  "overloadedDeclarations": [],
1992
- "referencedDeclaration": 33955,
1992
+ "referencedDeclaration": 33974,
1993
1993
  "src": "1888:10:23",
1994
1994
  "typeDescriptions": {
1995
- "typeIdentifier": "t_type$_t_enum$_SchemaType_$33955_$",
1995
+ "typeIdentifier": "t_type$_t_enum$_SchemaType_$33974_$",
1996
1996
  "typeString": "type(enum SchemaType)"
1997
1997
  }
1998
1998
  },
@@ -2004,16 +2004,16 @@
2004
2004
  "memberLocation": "1899:13:23",
2005
2005
  "memberName": "BYTES21_ARRAY",
2006
2006
  "nodeType": "MemberAccess",
2007
- "referencedDeclaration": 33939,
2007
+ "referencedDeclaration": 33958,
2008
2008
  "src": "1888:24:23",
2009
2009
  "typeDescriptions": {
2010
- "typeIdentifier": "t_enum$_SchemaType_$33955",
2010
+ "typeIdentifier": "t_enum$_SchemaType_$33974",
2011
2011
  "typeString": "enum SchemaType"
2012
2012
  }
2013
2013
  },
2014
2014
  "src": "1870:42:23",
2015
2015
  "typeDescriptions": {
2016
- "typeIdentifier": "t_enum$_SchemaType_$33955",
2016
+ "typeIdentifier": "t_enum$_SchemaType_$33974",
2017
2017
  "typeString": "enum SchemaType"
2018
2018
  }
2019
2019
  },
@@ -2032,7 +2032,7 @@
2032
2032
  "referencedDeclaration": 19753,
2033
2033
  "src": "1943:12:23",
2034
2034
  "typeDescriptions": {
2035
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$33955_$dyn_memory_ptr",
2035
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$33974_$dyn_memory_ptr",
2036
2036
  "typeString": "enum SchemaType[] memory"
2037
2037
  }
2038
2038
  }
@@ -2040,7 +2040,7 @@
2040
2040
  "expression": {
2041
2041
  "argumentTypes": [
2042
2042
  {
2043
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$33955_$dyn_memory_ptr",
2043
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$33974_$dyn_memory_ptr",
2044
2044
  "typeString": "enum SchemaType[] memory"
2045
2045
  }
2046
2046
  ],
@@ -2067,7 +2067,7 @@
2067
2067
  "referencedDeclaration": 3052,
2068
2068
  "src": "1926:16:23",
2069
2069
  "typeDescriptions": {
2070
- "typeIdentifier": "t_function_internal_pure$_t_array$_t_enum$_SchemaType_$33955_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_Schema_$2900_$",
2070
+ "typeIdentifier": "t_function_internal_pure$_t_array$_t_enum$_SchemaType_$33974_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_Schema_$2900_$",
2071
2071
  "typeString": "function (enum SchemaType[] memory) pure returns (Schema)"
2072
2072
  }
2073
2073
  },
@@ -66,7 +66,7 @@
66
66
  },
67
67
  "deployedBytecode": {
68
68
  "object": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806301ffc9a714610051578063119df25f1461007957806345ec9354146100a6578063e1af802c146100d7575b600080fd5b61006461005f366004610205565b6100df565b60405190151581526020015b60405180910390f35b610081610178565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610070565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601358152602001610070565b6100816101aa565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fb421288000000000000000000000000000000000000000000000000000000000148061017257507fffffffff0000000000000000000000000000000000000000000000000000000082167f01ffc9a700000000000000000000000000000000000000000000000000000000145b92915050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcc36013560601c806101a75750335b90565b60006101b46101b9565b905090565b7f629a4c26e296b22a8e0856e9f6ecb2d1008d7e00081111962cd175fa7488e1755460009073ffffffffffffffffffffffffffffffffffffffff1680610200573391505090565b919050565b60006020828403121561021757600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461024757600080fd5b939250505056fea164736f6c6343000815000a",
69
- "sourceMap": "244:44:89:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1639:188:90;;;;;;:::i;:::-;;:::i;:::-;;;516:14:140;;509:22;491:41;;479:2;464:18;1639:188:90;;;;;;;;799:379;;;:::i;:::-;;;719:42:140;707:55;;;689:74;;677:2;662:18;799:379:90;543:226:140;1248:212:90;;;1426:23;1430:14;1426:23;1413:37;920:25:140;;908:2;893:18;1248:212:90;774:177:140;1464:95:90;;;:::i;1639:188::-;1715:4;1734:50;;;245:152:104;1734:50:90;;:88;;-1:-1:-1;1788:34:90;;;97::99;1788::90;1734:88;1727:95;1639:188;-1:-1:-1;;1639:188:90:o;799:379::-;1081:34;1085:14;1081:34;1068:48;1064:2;1060:57;;1128:45;;-1:-1:-1;1163:10:90;1128:45;799:379;:::o;1464:95::-;1503:7;1525:29;:27;:29::i;:::-;1518:36;;1464:95;:::o;1091:227:68:-;622:42;1180:22;1141:7;;1180:22;;;1208:106;;1256:10;1249:17;;;1091:227;:::o;1208:106::-;1294:13;1091:227;-1:-1:-1;1091:227:68:o;14:332:140:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;180:9;167:23;230:66;223:5;219:78;212:5;209:89;199:117;;312:1;309;302:12;199:117;335:5;14:332;-1:-1:-1;;;14:332:140:o",
69
+ "sourceMap": "244:44:89:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1639:188:90;;;;;;:::i;:::-;;:::i;:::-;;;516:14:139;;509:22;491:41;;479:2;464:18;1639:188:90;;;;;;;;799:379;;;:::i;:::-;;;719:42:139;707:55;;;689:74;;677:2;662:18;799:379:90;543:226:139;1248:212:90;;;1426:23;1430:14;1426:23;1413:37;920:25:139;;908:2;893:18;1248:212:90;774:177:139;1464:95:90;;;:::i;1639:188::-;1715:4;1734:50;;;245:152:104;1734:50:90;;:88;;-1:-1:-1;1788:34:90;;;97::101;1788::90;1734:88;1727:95;1639:188;-1:-1:-1;;1639:188:90:o;799:379::-;1081:34;1085:14;1081:34;1068:48;1064:2;1060:57;;1128:45;;-1:-1:-1;1163:10:90;1128:45;799:379;:::o;1464:95::-;1503:7;1525:29;:27;:29::i;:::-;1518:36;;1464:95;:::o;1091:227:68:-;622:42;1180:22;1141:7;;1180:22;;;1208:106;;1256:10;1249:17;;;1091:227;:::o;1208:106::-;1294:13;1091:227;-1:-1:-1;1091:227:68:o;14:332:139:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;180:9;167:23;230:66;223:5;219:78;212:5;209:89;199:117;;312:1;309;302:12;199:117;335:5;14:332;-1:-1:-1;;;14:332:139:o",
70
70
  "linkReferences": {}
71
71
  },
72
72
  "methodIdentifiers": {
@@ -489,20 +489,20 @@
489
489
  },
490
490
  "ast": {
491
491
  "absolutePath": "node_modules/@latticexyz/world/src/System.sol",
492
- "id": 48706,
492
+ "id": 48725,
493
493
  "exportedSymbols": {
494
494
  "System": [
495
- 48705
495
+ 48724
496
496
  ],
497
497
  "WorldContextConsumer": [
498
- 48776
498
+ 48795
499
499
  ]
500
500
  },
501
501
  "nodeType": "SourceUnit",
502
502
  "src": "32:257:89",
503
503
  "nodes": [
504
504
  {
505
- "id": 48700,
505
+ "id": 48719,
506
506
  "nodeType": "PragmaDirective",
507
507
  "src": "32:25:89",
508
508
  "nodes": [],
@@ -514,23 +514,23 @@
514
514
  ]
515
515
  },
516
516
  {
517
- "id": 48702,
517
+ "id": 48721,
518
518
  "nodeType": "ImportDirective",
519
519
  "src": "59:58:89",
520
520
  "nodes": [],
521
521
  "absolutePath": "node_modules/@latticexyz/world/src/WorldContext.sol",
522
522
  "file": "./WorldContext.sol",
523
523
  "nameLocation": "-1:-1:-1",
524
- "scope": 48706,
525
- "sourceUnit": 48926,
524
+ "scope": 48725,
525
+ "sourceUnit": 48945,
526
526
  "symbolAliases": [
527
527
  {
528
528
  "foreign": {
529
- "id": 48701,
529
+ "id": 48720,
530
530
  "name": "WorldContextConsumer",
531
531
  "nodeType": "Identifier",
532
532
  "overloadedDeclarations": [],
533
- "referencedDeclaration": 48776,
533
+ "referencedDeclaration": 48795,
534
534
  "src": "68:20:89",
535
535
  "typeDescriptions": {}
536
536
  },
@@ -540,7 +540,7 @@
540
540
  "unitAlias": ""
541
541
  },
542
542
  {
543
- "id": 48705,
543
+ "id": 48724,
544
544
  "nodeType": "ContractDefinition",
545
545
  "src": "244:44:89",
546
546
  "nodes": [],
@@ -548,16 +548,16 @@
548
548
  "baseContracts": [
549
549
  {
550
550
  "baseName": {
551
- "id": 48703,
551
+ "id": 48722,
552
552
  "name": "WorldContextConsumer",
553
553
  "nameLocations": [
554
554
  "263:20:89"
555
555
  ],
556
556
  "nodeType": "IdentifierPath",
557
- "referencedDeclaration": 48776,
557
+ "referencedDeclaration": 48795,
558
558
  "src": "263:20:89"
559
559
  },
560
- "id": 48704,
560
+ "id": 48723,
561
561
  "nodeType": "InheritanceSpecifier",
562
562
  "src": "263:20:89"
563
563
  }
@@ -567,14 +567,14 @@
567
567
  "contractKind": "contract",
568
568
  "fullyImplemented": true,
569
569
  "linearizedBaseContracts": [
570
- 48705,
571
- 48776,
572
- 70891,
573
- 70853
570
+ 48724,
571
+ 48795,
572
+ 70898,
573
+ 70860
574
574
  ],
575
575
  "name": "System",
576
576
  "nameLocation": "253:6:89",
577
- "scope": 48706,
577
+ "scope": 48725,
578
578
  "usedErrors": [],
579
579
  "usedEvents": []
580
580
  }