@latticexyz/world-modules 2.0.0-next.10 → 2.0.0-next.11

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 (115) hide show
  1. package/out/AccessControl.sol/AccessControl.abi.json +1 -0
  2. package/out/AccessControl.sol/AccessControl.json +1651 -0
  3. package/out/ArrayLib.sol/ArrayLib.json +477 -477
  4. package/out/Balances.sol/Balances.abi.json +1 -0
  5. package/out/Balances.sol/Balances.json +13002 -0
  6. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +354 -354
  7. package/out/CallboundDelegations.sol/CallboundDelegations.json +4497 -4497
  8. package/out/DelegationControl.sol/DelegationControl.json +139 -139
  9. package/out/FunctionSelectors.sol/FunctionSelectors.abi.json +1 -0
  10. package/out/FunctionSelectors.sol/FunctionSelectors.json +17874 -0
  11. package/out/Hooks.sol/Hooks.json +45 -45
  12. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +18 -18
  13. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
  14. package/out/IBaseWorld.sol/IBaseWorld.json +85 -85
  15. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +15 -15
  16. package/out/IDelegationControl.sol/IDelegationControl.json +11 -11
  17. package/out/ISystemHook.sol/ISystemHook.json +16 -16
  18. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +25 -25
  19. package/out/IWorldErrors.sol/IWorldErrors.json +19 -19
  20. package/out/IWorldKernel.sol/IWorldCall.json +14 -14
  21. package/out/IWorldKernel.sol/IWorldKernel.json +14 -14
  22. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +14 -14
  23. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +43 -43
  24. package/out/KeysInTable.sol/KeysInTable.json +18190 -18190
  25. package/out/KeysInTableHook.sol/KeysInTableHook.json +1407 -1407
  26. package/out/KeysInTableModule.sol/KeysInTableModule.json +842 -842
  27. package/out/KeysWithValue.sol/KeysWithValue.json +6631 -6631
  28. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1561 -1561
  29. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +654 -654
  30. package/out/Module.sol/Module.json +119 -119
  31. package/out/NamespaceOwner.sol/NamespaceOwner.abi.json +1 -0
  32. package/out/NamespaceOwner.sol/NamespaceOwner.json +13016 -0
  33. package/out/ResourceAccess.sol/ResourceAccess.abi.json +1 -0
  34. package/out/ResourceAccess.sol/ResourceAccess.json +17296 -0
  35. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  36. package/out/Schema.sol/SchemaInstance.json +30 -30
  37. package/out/Schema.sol/SchemaLib.json +30 -30
  38. package/out/SchemaType.sol/SchemaType.json +729 -729
  39. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +452 -452
  40. package/out/StoreHook.sol/StoreHook.json +639 -639
  41. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  42. package/out/System.sol/System.json +32 -32
  43. package/out/SystemHooks.sol/SystemHooks.abi.json +1 -0
  44. package/out/SystemHooks.sol/SystemHooks.json +32460 -0
  45. package/out/SystemSwitch.sol/SystemSwitch.abi.json +1 -0
  46. package/out/SystemSwitch.sol/SystemSwitch.json +2879 -0
  47. package/out/Systems.sol/Systems.abi.json +1 -0
  48. package/out/Systems.sol/Systems.json +18508 -0
  49. package/out/Tables.sol/Tables.json +73 -73
  50. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +187 -187
  51. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3474 -3474
  52. package/out/UniqueEntity.sol/UniqueEntity.json +2345 -2345
  53. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +486 -486
  54. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +132 -132
  55. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4590 -4590
  56. package/out/WorldContext.sol/WorldContextConsumer.json +14 -14
  57. package/out/WorldContext.sol/WorldContextConsumerLib.json +14 -14
  58. package/out/WorldContext.sol/WorldContextProviderLib.json +14 -14
  59. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +107 -107
  60. package/out/WorldResourceId.sol/WorldResourceIdLib.json +107 -107
  61. package/out/constants.sol/constants.json +477 -194
  62. package/out/getKeysInTable.sol/getKeysInTable.json +918 -918
  63. package/out/getKeysWithValue.sol/getKeysWithValue.json +431 -431
  64. package/out/getTargetTableId.sol/getTargetTableId.json +272 -272
  65. package/out/getUniqueEntity.sol/getUniqueEntity.json +389 -240
  66. package/out/hasKey.sol/hasKey.json +215 -215
  67. package/out/index.sol/index.json +73 -73
  68. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +175 -175
  69. package/out/query.sol/query.json +1892 -1892
  70. package/out/revertWithBytes.sol/revertWithBytes.json +52 -52
  71. package/out/src/Bytes.sol/Bytes.json +3766 -3766
  72. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +1204 -1204
  73. package/out/src/FieldLayout.sol/FieldLayoutLib.json +1204 -1204
  74. package/out/src/Hook.sol/HookInstance.abi.json +1 -0
  75. package/out/src/Hook.sol/HookInstance.json +2823 -0
  76. package/out/src/Hook.sol/HookLib.abi.json +1 -0
  77. package/out/src/Hook.sol/HookLib.json +2823 -0
  78. package/out/src/IStore.sol/IStore.json +73 -73
  79. package/out/src/ISystemHook.sol/ISystemHook.abi.json +67 -0
  80. package/out/src/ISystemHook.sol/ISystemHook.abi.json.d.ts +68 -0
  81. package/out/src/ISystemHook.sol/ISystemHook.json +852 -0
  82. package/out/src/IWorldErrors.sol/IWorldErrors.abi.json +189 -0
  83. package/out/src/IWorldErrors.sol/IWorldErrors.abi.json.d.ts +190 -0
  84. package/out/src/IWorldErrors.sol/IWorldErrors.json +1463 -0
  85. package/out/src/IWorldKernel.sol/IWorldCall.json +262 -262
  86. package/out/src/IWorldKernel.sol/IWorldKernel.json +262 -262
  87. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +262 -262
  88. package/out/src/Memory.sol/Memory.json +242 -242
  89. package/out/src/PackedCounter.sol/PackedCounterInstance.json +1633 -1633
  90. package/out/src/PackedCounter.sol/PackedCounterLib.json +1633 -1633
  91. package/out/src/ResourceId.sol/ResourceIdInstance.json +206 -206
  92. package/out/src/ResourceId.sol/ResourceIdLib.json +206 -206
  93. package/out/src/Schema.sol/SchemaInstance.json +1351 -1351
  94. package/out/src/Schema.sol/SchemaLib.json +1351 -1351
  95. package/out/src/Slice.sol/SliceInstance.json +802 -802
  96. package/out/src/Slice.sol/SliceLib.json +802 -802
  97. package/out/src/StoreCore.sol/StoreCore.json +7412 -7412
  98. package/out/src/StoreCore.sol/StoreCoreInternal.json +7412 -7412
  99. package/out/src/StoreSwitch.sol/StoreSwitch.json +4064 -4064
  100. package/out/src/WorldContext.sol/WorldContextConsumer.json +805 -805
  101. package/out/src/WorldContext.sol/WorldContextConsumerLib.json +807 -807
  102. package/out/src/WorldContext.sol/WorldContextProviderLib.json +807 -807
  103. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +813 -813
  104. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +813 -813
  105. package/out/storeHookTypes.sol/storeHookTypes.json +204 -204
  106. package/out/storeResourceTypes.sol/storeResourceTypes.json +23 -23
  107. package/out/systemHookTypes.sol/systemHookTypes.json +270 -0
  108. package/out/tables/ResourceIds.sol/ResourceIds.json +2922 -2922
  109. package/out/tables/Tables.sol/Tables.json +12189 -12189
  110. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +6883 -6883
  111. package/out/types.sol/types.json +71 -71
  112. package/out/worldResourceTypes.sol/worldResourceTypes.json +92 -92
  113. package/package.json +8 -8
  114. package/src/modules/uniqueentity/getUniqueEntity.sol +5 -3
  115. package/src/utils/SystemSwitch.sol +82 -0
@@ -371,7 +371,7 @@
371
371
  3133
372
372
  ],
373
373
  "SchemaType": [
374
- 24626
374
+ 26963
375
375
  ],
376
376
  "SliceLib": [
377
377
  3599
@@ -410,7 +410,7 @@
410
410
  "file": "@latticexyz/schema-type/src/solidity/SchemaType.sol",
411
411
  "nameLocation": "-1:-1:-1",
412
412
  "scope": 10403,
413
- "sourceUnit": 24668,
413
+ "sourceUnit": 27005,
414
414
  "symbolAliases": [
415
415
  {
416
416
  "foreign": {
@@ -418,7 +418,7 @@
418
418
  "name": "SchemaType",
419
419
  "nodeType": "Identifier",
420
420
  "overloadedDeclarations": [],
421
- "referencedDeclaration": 24626,
421
+ "referencedDeclaration": 26963,
422
422
  "src": "139:10:21",
423
423
  "typeDescriptions": {}
424
424
  },
@@ -1049,7 +1049,7 @@
1049
1049
  "stateVariable": false,
1050
1050
  "storageLocation": "memory",
1051
1051
  "typeDescriptions": {
1052
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$24626_$dyn_memory_ptr",
1052
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr",
1053
1053
  "typeString": "enum SchemaType[]"
1054
1054
  },
1055
1055
  "typeName": {
@@ -1063,13 +1063,13 @@
1063
1063
  "1517:10:21"
1064
1064
  ],
1065
1065
  "nodeType": "IdentifierPath",
1066
- "referencedDeclaration": 24626,
1066
+ "referencedDeclaration": 26963,
1067
1067
  "src": "1517:10:21"
1068
1068
  },
1069
- "referencedDeclaration": 24626,
1069
+ "referencedDeclaration": 26963,
1070
1070
  "src": "1517:10:21",
1071
1071
  "typeDescriptions": {
1072
- "typeIdentifier": "t_enum$_SchemaType_$24626",
1072
+ "typeIdentifier": "t_enum$_SchemaType_$26963",
1073
1073
  "typeString": "enum SchemaType"
1074
1074
  }
1075
1075
  },
@@ -1077,7 +1077,7 @@
1077
1077
  "nodeType": "ArrayTypeName",
1078
1078
  "src": "1517:12:21",
1079
1079
  "typeDescriptions": {
1080
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$24626_$dyn_storage_ptr",
1080
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_storage_ptr",
1081
1081
  "typeString": "enum SchemaType[]"
1082
1082
  }
1083
1083
  },
@@ -1119,7 +1119,7 @@
1119
1119
  "nodeType": "NewExpression",
1120
1120
  "src": "1550:16:21",
1121
1121
  "typeDescriptions": {
1122
- "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_enum$_SchemaType_$24626_$dyn_memory_ptr_$",
1122
+ "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr_$",
1123
1123
  "typeString": "function (uint256) pure returns (enum SchemaType[] memory)"
1124
1124
  },
1125
1125
  "typeName": {
@@ -1133,13 +1133,13 @@
1133
1133
  "1554:10:21"
1134
1134
  ],
1135
1135
  "nodeType": "IdentifierPath",
1136
- "referencedDeclaration": 24626,
1136
+ "referencedDeclaration": 26963,
1137
1137
  "src": "1554:10:21"
1138
1138
  },
1139
- "referencedDeclaration": 24626,
1139
+ "referencedDeclaration": 26963,
1140
1140
  "src": "1554:10:21",
1141
1141
  "typeDescriptions": {
1142
- "typeIdentifier": "t_enum$_SchemaType_$24626",
1142
+ "typeIdentifier": "t_enum$_SchemaType_$26963",
1143
1143
  "typeString": "enum SchemaType"
1144
1144
  }
1145
1145
  },
@@ -1147,7 +1147,7 @@
1147
1147
  "nodeType": "ArrayTypeName",
1148
1148
  "src": "1554:12:21",
1149
1149
  "typeDescriptions": {
1150
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$24626_$dyn_storage_ptr",
1150
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_storage_ptr",
1151
1151
  "typeString": "enum SchemaType[]"
1152
1152
  }
1153
1153
  }
@@ -1164,7 +1164,7 @@
1164
1164
  "src": "1550:19:21",
1165
1165
  "tryCall": false,
1166
1166
  "typeDescriptions": {
1167
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$24626_$dyn_memory_ptr",
1167
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr",
1168
1168
  "typeString": "enum SchemaType[] memory"
1169
1169
  }
1170
1170
  },
@@ -1187,7 +1187,7 @@
1187
1187
  "referencedDeclaration": 7814,
1188
1188
  "src": "1575:10:21",
1189
1189
  "typeDescriptions": {
1190
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$24626_$dyn_memory_ptr",
1190
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr",
1191
1191
  "typeString": "enum SchemaType[] memory"
1192
1192
  }
1193
1193
  },
@@ -1215,7 +1215,7 @@
1215
1215
  "nodeType": "IndexAccess",
1216
1216
  "src": "1575:13:21",
1217
1217
  "typeDescriptions": {
1218
- "typeIdentifier": "t_enum$_SchemaType_$24626",
1218
+ "typeIdentifier": "t_enum$_SchemaType_$26963",
1219
1219
  "typeString": "enum SchemaType"
1220
1220
  }
1221
1221
  },
@@ -1227,10 +1227,10 @@
1227
1227
  "name": "SchemaType",
1228
1228
  "nodeType": "Identifier",
1229
1229
  "overloadedDeclarations": [],
1230
- "referencedDeclaration": 24626,
1230
+ "referencedDeclaration": 26963,
1231
1231
  "src": "1591:10:21",
1232
1232
  "typeDescriptions": {
1233
- "typeIdentifier": "t_type$_t_enum$_SchemaType_$24626_$",
1233
+ "typeIdentifier": "t_type$_t_enum$_SchemaType_$26963_$",
1234
1234
  "typeString": "type(enum SchemaType)"
1235
1235
  }
1236
1236
  },
@@ -1242,16 +1242,16 @@
1242
1242
  "memberLocation": "1602:7:21",
1243
1243
  "memberName": "BYTES32",
1244
1244
  "nodeType": "MemberAccess",
1245
- "referencedDeclaration": 24523,
1245
+ "referencedDeclaration": 26860,
1246
1246
  "src": "1591:18:21",
1247
1247
  "typeDescriptions": {
1248
- "typeIdentifier": "t_enum$_SchemaType_$24626",
1248
+ "typeIdentifier": "t_enum$_SchemaType_$26963",
1249
1249
  "typeString": "enum SchemaType"
1250
1250
  }
1251
1251
  },
1252
1252
  "src": "1575:34:21",
1253
1253
  "typeDescriptions": {
1254
- "typeIdentifier": "t_enum$_SchemaType_$24626",
1254
+ "typeIdentifier": "t_enum$_SchemaType_$26963",
1255
1255
  "typeString": "enum SchemaType"
1256
1256
  }
1257
1257
  },
@@ -1270,7 +1270,7 @@
1270
1270
  "referencedDeclaration": 7814,
1271
1271
  "src": "1640:10:21",
1272
1272
  "typeDescriptions": {
1273
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$24626_$dyn_memory_ptr",
1273
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr",
1274
1274
  "typeString": "enum SchemaType[] memory"
1275
1275
  }
1276
1276
  }
@@ -1278,7 +1278,7 @@
1278
1278
  "expression": {
1279
1279
  "argumentTypes": [
1280
1280
  {
1281
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$24626_$dyn_memory_ptr",
1281
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr",
1282
1282
  "typeString": "enum SchemaType[] memory"
1283
1283
  }
1284
1284
  ],
@@ -1305,7 +1305,7 @@
1305
1305
  "referencedDeclaration": 3132,
1306
1306
  "src": "1623:16:21",
1307
1307
  "typeDescriptions": {
1308
- "typeIdentifier": "t_function_internal_pure$_t_array$_t_enum$_SchemaType_$24626_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_Schema_$2978_$",
1308
+ "typeIdentifier": "t_function_internal_pure$_t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_Schema_$2978_$",
1309
1309
  "typeString": "function (enum SchemaType[] memory) pure returns (Schema)"
1310
1310
  }
1311
1311
  },
@@ -1426,7 +1426,7 @@
1426
1426
  "stateVariable": false,
1427
1427
  "storageLocation": "memory",
1428
1428
  "typeDescriptions": {
1429
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$24626_$dyn_memory_ptr",
1429
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr",
1430
1430
  "typeString": "enum SchemaType[]"
1431
1431
  },
1432
1432
  "typeName": {
@@ -1440,13 +1440,13 @@
1440
1440
  "1836:10:21"
1441
1441
  ],
1442
1442
  "nodeType": "IdentifierPath",
1443
- "referencedDeclaration": 24626,
1443
+ "referencedDeclaration": 26963,
1444
1444
  "src": "1836:10:21"
1445
1445
  },
1446
- "referencedDeclaration": 24626,
1446
+ "referencedDeclaration": 26963,
1447
1447
  "src": "1836:10:21",
1448
1448
  "typeDescriptions": {
1449
- "typeIdentifier": "t_enum$_SchemaType_$24626",
1449
+ "typeIdentifier": "t_enum$_SchemaType_$26963",
1450
1450
  "typeString": "enum SchemaType"
1451
1451
  }
1452
1452
  },
@@ -1454,7 +1454,7 @@
1454
1454
  "nodeType": "ArrayTypeName",
1455
1455
  "src": "1836:12:21",
1456
1456
  "typeDescriptions": {
1457
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$24626_$dyn_storage_ptr",
1457
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_storage_ptr",
1458
1458
  "typeString": "enum SchemaType[]"
1459
1459
  }
1460
1460
  },
@@ -1496,7 +1496,7 @@
1496
1496
  "nodeType": "NewExpression",
1497
1497
  "src": "1871:16:21",
1498
1498
  "typeDescriptions": {
1499
- "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_enum$_SchemaType_$24626_$dyn_memory_ptr_$",
1499
+ "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr_$",
1500
1500
  "typeString": "function (uint256) pure returns (enum SchemaType[] memory)"
1501
1501
  },
1502
1502
  "typeName": {
@@ -1510,13 +1510,13 @@
1510
1510
  "1875:10:21"
1511
1511
  ],
1512
1512
  "nodeType": "IdentifierPath",
1513
- "referencedDeclaration": 24626,
1513
+ "referencedDeclaration": 26963,
1514
1514
  "src": "1875:10:21"
1515
1515
  },
1516
- "referencedDeclaration": 24626,
1516
+ "referencedDeclaration": 26963,
1517
1517
  "src": "1875:10:21",
1518
1518
  "typeDescriptions": {
1519
- "typeIdentifier": "t_enum$_SchemaType_$24626",
1519
+ "typeIdentifier": "t_enum$_SchemaType_$26963",
1520
1520
  "typeString": "enum SchemaType"
1521
1521
  }
1522
1522
  },
@@ -1524,7 +1524,7 @@
1524
1524
  "nodeType": "ArrayTypeName",
1525
1525
  "src": "1875:12:21",
1526
1526
  "typeDescriptions": {
1527
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$24626_$dyn_storage_ptr",
1527
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_storage_ptr",
1528
1528
  "typeString": "enum SchemaType[]"
1529
1529
  }
1530
1530
  }
@@ -1541,7 +1541,7 @@
1541
1541
  "src": "1871:19:21",
1542
1542
  "tryCall": false,
1543
1543
  "typeDescriptions": {
1544
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$24626_$dyn_memory_ptr",
1544
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr",
1545
1545
  "typeString": "enum SchemaType[] memory"
1546
1546
  }
1547
1547
  },
@@ -1564,7 +1564,7 @@
1564
1564
  "referencedDeclaration": 7846,
1565
1565
  "src": "1896:12:21",
1566
1566
  "typeDescriptions": {
1567
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$24626_$dyn_memory_ptr",
1567
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr",
1568
1568
  "typeString": "enum SchemaType[] memory"
1569
1569
  }
1570
1570
  },
@@ -1592,7 +1592,7 @@
1592
1592
  "nodeType": "IndexAccess",
1593
1593
  "src": "1896:15:21",
1594
1594
  "typeDescriptions": {
1595
- "typeIdentifier": "t_enum$_SchemaType_$24626",
1595
+ "typeIdentifier": "t_enum$_SchemaType_$26963",
1596
1596
  "typeString": "enum SchemaType"
1597
1597
  }
1598
1598
  },
@@ -1604,10 +1604,10 @@
1604
1604
  "name": "SchemaType",
1605
1605
  "nodeType": "Identifier",
1606
1606
  "overloadedDeclarations": [],
1607
- "referencedDeclaration": 24626,
1607
+ "referencedDeclaration": 26963,
1608
1608
  "src": "1914:10:21",
1609
1609
  "typeDescriptions": {
1610
- "typeIdentifier": "t_type$_t_enum$_SchemaType_$24626_$",
1610
+ "typeIdentifier": "t_type$_t_enum$_SchemaType_$26963_$",
1611
1611
  "typeString": "type(enum SchemaType)"
1612
1612
  }
1613
1613
  },
@@ -1619,16 +1619,16 @@
1619
1619
  "memberLocation": "1925:13:21",
1620
1620
  "memberName": "BYTES21_ARRAY",
1621
1621
  "nodeType": "MemberAccess",
1622
- "referencedDeclaration": 24610,
1622
+ "referencedDeclaration": 26947,
1623
1623
  "src": "1914:24:21",
1624
1624
  "typeDescriptions": {
1625
- "typeIdentifier": "t_enum$_SchemaType_$24626",
1625
+ "typeIdentifier": "t_enum$_SchemaType_$26963",
1626
1626
  "typeString": "enum SchemaType"
1627
1627
  }
1628
1628
  },
1629
1629
  "src": "1896:42:21",
1630
1630
  "typeDescriptions": {
1631
- "typeIdentifier": "t_enum$_SchemaType_$24626",
1631
+ "typeIdentifier": "t_enum$_SchemaType_$26963",
1632
1632
  "typeString": "enum SchemaType"
1633
1633
  }
1634
1634
  },
@@ -1647,7 +1647,7 @@
1647
1647
  "referencedDeclaration": 7846,
1648
1648
  "src": "1969:12:21",
1649
1649
  "typeDescriptions": {
1650
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$24626_$dyn_memory_ptr",
1650
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr",
1651
1651
  "typeString": "enum SchemaType[] memory"
1652
1652
  }
1653
1653
  }
@@ -1655,7 +1655,7 @@
1655
1655
  "expression": {
1656
1656
  "argumentTypes": [
1657
1657
  {
1658
- "typeIdentifier": "t_array$_t_enum$_SchemaType_$24626_$dyn_memory_ptr",
1658
+ "typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr",
1659
1659
  "typeString": "enum SchemaType[] memory"
1660
1660
  }
1661
1661
  ],
@@ -1682,7 +1682,7 @@
1682
1682
  "referencedDeclaration": 3132,
1683
1683
  "src": "1952:16:21",
1684
1684
  "typeDescriptions": {
1685
- "typeIdentifier": "t_function_internal_pure$_t_array$_t_enum$_SchemaType_$24626_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_Schema_$2978_$",
1685
+ "typeIdentifier": "t_function_internal_pure$_t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_Schema_$2978_$",
1686
1686
  "typeString": "function (enum SchemaType[] memory) pure returns (Schema)"
1687
1687
  }
1688
1688
  },
@@ -70,7 +70,7 @@
70
70
  "revokeAccess(bytes32,address)": "8d53b208",
71
71
  "transferOwnership(bytes32,address)": "ef5d6bbb"
72
72
  },
73
- "rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"grantee\",\"type\":\"address\"}],\"name\":\"grantAccess\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"grantee\",\"type\":\"address\"}],\"name\":\"revokeAccess\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"namespaceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"This interface is automatically generated from the corresponding system contract. Do not edit manually.\",\"kind\":\"dev\",\"methods\":{},\"title\":\"IAccessManagementSystem\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IAccessManagementSystem.sol\":\"IAccessManagementSystem\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol\":{\"keccak256\":\"0xb7bfae2890004001221b3902d185c14cfea0e606d16914f6b7f81cf112aa9417\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://acfd0d09166fc1bf16a8a5c80fbae1bd42426b2fcbab3c492bc836ea5c0375fb\",\"dweb:/ipfs/QmTzZWHVBkx8hipFVpgEwAbZpr4c6hfr7yf7R71JojT3NK\"]},\"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IAccessManagementSystem.sol\":{\"keccak256\":\"0xc912f14d0f2e2e9e728a9d18e250ebe3eb2f51d0b4d79993c9d997991bbd5593\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://29621425847a1c11205307896b04e2a6c97934dd619f23ce6774ce52520f1255\",\"dweb:/ipfs/QmeuTe3q8U11Dqkp5tahxVWnp9Cd5ezQmRZ5vhEHtv14Eu\"]},\"/home/runner/work/mud/mud/packages/world/src/constants.sol\":{\"keccak256\":\"0x36c772d51a5da46fcddf88831194d6d331083b8c8246fa79107c4b697c258d77\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d2656374c398a2b075d5f26d2ab2c3ea315c99912e52d8030d50f5f8fdda8ac\",\"dweb:/ipfs/QmSG8uJr2ZbFVnht5cTG6xb6XbB6f3kvnznks4BdeAMYET\"]},\"/home/runner/work/mud/mud/packages/world/src/worldResourceTypes.sol\":{\"keccak256\":\"0xe31ee781596541f60ed71ef327c9d26ffc899e7fb3f4991c67406518bfc00746\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7b864fea8c77833a322b16c4673f110d5065d0cafcedecd07895699cf4258c2\",\"dweb:/ipfs/QmRkzXVjMLwQFWxjEjgfdXVPAp6SU4zfxPo4NJcmz8HwH9\"]},\"node_modules/@latticexyz/store/src/Bytes.sol\":{\"keccak256\":\"0xab31edce915377852bb5f29f7f2ccfc50cac087d64d2a8aae669715ad862d558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3187e86e43be1fbdd59df45c695294f1114aa1ac48e6445c0cb26089434be5c4\",\"dweb:/ipfs/Qmck7shMVrcKMVkgN2pC1byPY7hb3V9fTxnUcGgxAUeXYk\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x40983c580b8958e55db4520095934a535e98544ffe8228327e598973eb6647ed\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://839d658fa2bb2b1f09a08149d2bf0c26a26c301ad2dda8154fc99458085a695d\",\"dweb:/ipfs/Qmd5jHHYrgqraPqF8bjzT4xyjsoPk8K7pkxXLLfz6MRT6d\"]},\"node_modules/@latticexyz/store/src/storeResourceTypes.sol\":{\"keccak256\":\"0xada1867ba72930fc5cf5562dd4e36de849dbac9c833b7969cb1b046a808fabf2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e4b5fdcaa54f567a3f8561c2c3fbc0d68c8dad892a4a8e5418bbce8efc53d84\",\"dweb:/ipfs/QmTWbYJX1yrCqrEwUKB9rGpHdRvLNU8GCkBbxnLjGD4d2t\"]}},\"version\":1}",
73
+ "rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"grantee\",\"type\":\"address\"}],\"name\":\"grantAccess\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"grantee\",\"type\":\"address\"}],\"name\":\"revokeAccess\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"namespaceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"This interface is automatically generated from the corresponding system contract. Do not edit manually.\",\"kind\":\"dev\",\"methods\":{},\"title\":\"IAccessManagementSystem\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IAccessManagementSystem.sol\":\"IAccessManagementSystem\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol\":{\"keccak256\":\"0xb7bfae2890004001221b3902d185c14cfea0e606d16914f6b7f81cf112aa9417\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://acfd0d09166fc1bf16a8a5c80fbae1bd42426b2fcbab3c492bc836ea5c0375fb\",\"dweb:/ipfs/QmTzZWHVBkx8hipFVpgEwAbZpr4c6hfr7yf7R71JojT3NK\"]},\"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IAccessManagementSystem.sol\":{\"keccak256\":\"0xc912f14d0f2e2e9e728a9d18e250ebe3eb2f51d0b4d79993c9d997991bbd5593\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://29621425847a1c11205307896b04e2a6c97934dd619f23ce6774ce52520f1255\",\"dweb:/ipfs/QmeuTe3q8U11Dqkp5tahxVWnp9Cd5ezQmRZ5vhEHtv14Eu\"]},\"/home/runner/work/mud/mud/packages/world/src/constants.sol\":{\"keccak256\":\"0x07faffa7dc4a2adc4f9bfe93d5a59a7dd89241d360996537608e38f61c2d0588\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b96d4ce331b257a24de2f18503a11b986ed32d218810db9d5e3e7eddc17c2218\",\"dweb:/ipfs/Qme7Cw4RN1eaFWt2j3hk6ZMB7GWUfMY5oyZKYfMvAVxdBc\"]},\"/home/runner/work/mud/mud/packages/world/src/worldResourceTypes.sol\":{\"keccak256\":\"0xe31ee781596541f60ed71ef327c9d26ffc899e7fb3f4991c67406518bfc00746\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7b864fea8c77833a322b16c4673f110d5065d0cafcedecd07895699cf4258c2\",\"dweb:/ipfs/QmRkzXVjMLwQFWxjEjgfdXVPAp6SU4zfxPo4NJcmz8HwH9\"]},\"node_modules/@latticexyz/store/src/Bytes.sol\":{\"keccak256\":\"0xab31edce915377852bb5f29f7f2ccfc50cac087d64d2a8aae669715ad862d558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3187e86e43be1fbdd59df45c695294f1114aa1ac48e6445c0cb26089434be5c4\",\"dweb:/ipfs/Qmck7shMVrcKMVkgN2pC1byPY7hb3V9fTxnUcGgxAUeXYk\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x40983c580b8958e55db4520095934a535e98544ffe8228327e598973eb6647ed\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://839d658fa2bb2b1f09a08149d2bf0c26a26c301ad2dda8154fc99458085a695d\",\"dweb:/ipfs/Qmd5jHHYrgqraPqF8bjzT4xyjsoPk8K7pkxXLLfz6MRT6d\"]},\"node_modules/@latticexyz/store/src/storeResourceTypes.sol\":{\"keccak256\":\"0xada1867ba72930fc5cf5562dd4e36de849dbac9c833b7969cb1b046a808fabf2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e4b5fdcaa54f567a3f8561c2c3fbc0d68c8dad892a4a8e5418bbce8efc53d84\",\"dweb:/ipfs/QmTWbYJX1yrCqrEwUKB9rGpHdRvLNU8GCkBbxnLjGD4d2t\"]}},\"version\":1}",
74
74
  "metadata": {
75
75
  "compiler": {
76
76
  "version": "0.8.21+commit.d9974bed"
@@ -177,10 +177,10 @@
177
177
  "license": "MIT"
178
178
  },
179
179
  "/home/runner/work/mud/mud/packages/world/src/constants.sol": {
180
- "keccak256": "0x36c772d51a5da46fcddf88831194d6d331083b8c8246fa79107c4b697c258d77",
180
+ "keccak256": "0x07faffa7dc4a2adc4f9bfe93d5a59a7dd89241d360996537608e38f61c2d0588",
181
181
  "urls": [
182
- "bzz-raw://2d2656374c398a2b075d5f26d2ab2c3ea315c99912e52d8030d50f5f8fdda8ac",
183
- "dweb:/ipfs/QmSG8uJr2ZbFVnht5cTG6xb6XbB6f3kvnznks4BdeAMYET"
182
+ "bzz-raw://b96d4ce331b257a24de2f18503a11b986ed32d218810db9d5e3e7eddc17c2218",
183
+ "dweb:/ipfs/Qme7Cw4RN1eaFWt2j3hk6ZMB7GWUfMY5oyZKYfMvAVxdBc"
184
184
  ],
185
185
  "license": "MIT"
186
186
  },
@@ -227,7 +227,7 @@
227
227
  24127
228
228
  ],
229
229
  "ResourceId": [
230
- 26605
230
+ 29139
231
231
  ]
232
232
  },
233
233
  "nodeType": "SourceUnit",
@@ -262,7 +262,7 @@
262
262
  "name": "ResourceId",
263
263
  "nodeType": "Identifier",
264
264
  "overloadedDeclarations": [],
265
- "referencedDeclaration": 26605,
265
+ "referencedDeclaration": 29139,
266
266
  "src": "117:10:42",
267
267
  "typeDescriptions": {}
268
268
  },
@@ -303,7 +303,7 @@
303
303
  "stateVariable": false,
304
304
  "storageLocation": "default",
305
305
  "typeDescriptions": {
306
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
306
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
307
307
  "typeString": "ResourceId"
308
308
  },
309
309
  "typeName": {
@@ -316,13 +316,13 @@
316
316
  "380:10:42"
317
317
  ],
318
318
  "nodeType": "IdentifierPath",
319
- "referencedDeclaration": 26605,
319
+ "referencedDeclaration": 29139,
320
320
  "src": "380:10:42"
321
321
  },
322
- "referencedDeclaration": 26605,
322
+ "referencedDeclaration": 29139,
323
323
  "src": "380:10:42",
324
324
  "typeDescriptions": {
325
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
325
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
326
326
  "typeString": "ResourceId"
327
327
  }
328
328
  },
@@ -397,7 +397,7 @@
397
397
  "stateVariable": false,
398
398
  "storageLocation": "default",
399
399
  "typeDescriptions": {
400
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
400
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
401
401
  "typeString": "ResourceId"
402
402
  },
403
403
  "typeName": {
@@ -410,13 +410,13 @@
410
410
  "455:10:42"
411
411
  ],
412
412
  "nodeType": "IdentifierPath",
413
- "referencedDeclaration": 26605,
413
+ "referencedDeclaration": 29139,
414
414
  "src": "455:10:42"
415
415
  },
416
- "referencedDeclaration": 26605,
416
+ "referencedDeclaration": 29139,
417
417
  "src": "455:10:42",
418
418
  "typeDescriptions": {
419
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
419
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
420
420
  "typeString": "ResourceId"
421
421
  }
422
422
  },
@@ -491,7 +491,7 @@
491
491
  "stateVariable": false,
492
492
  "storageLocation": "default",
493
493
  "typeDescriptions": {
494
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
494
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
495
495
  "typeString": "ResourceId"
496
496
  },
497
497
  "typeName": {
@@ -504,13 +504,13 @@
504
504
  "535:10:42"
505
505
  ],
506
506
  "nodeType": "IdentifierPath",
507
- "referencedDeclaration": 26605,
507
+ "referencedDeclaration": 29139,
508
508
  "src": "535:10:42"
509
509
  },
510
- "referencedDeclaration": 26605,
510
+ "referencedDeclaration": 29139,
511
511
  "src": "535:10:42",
512
512
  "typeDescriptions": {
513
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
513
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
514
514
  "typeString": "ResourceId"
515
515
  }
516
516
  },
@@ -171,7 +171,7 @@
171
171
  24154
172
172
  ],
173
173
  "ResourceId": [
174
- 26605
174
+ 29139
175
175
  ]
176
176
  },
177
177
  "nodeType": "SourceUnit",
@@ -198,7 +198,7 @@
198
198
  "file": "@latticexyz/store/src/ResourceId.sol",
199
199
  "nameLocation": "-1:-1:-1",
200
200
  "scope": 24155,
201
- "sourceUnit": 26677,
201
+ "sourceUnit": 29211,
202
202
  "symbolAliases": [
203
203
  {
204
204
  "foreign": {
@@ -206,7 +206,7 @@
206
206
  "name": "ResourceId",
207
207
  "nodeType": "Identifier",
208
208
  "overloadedDeclarations": [],
209
- "referencedDeclaration": 26605,
209
+ "referencedDeclaration": 29139,
210
210
  "src": "117:10:43",
211
211
  "typeDescriptions": {}
212
212
  },
@@ -247,7 +247,7 @@
247
247
  "stateVariable": false,
248
248
  "storageLocation": "default",
249
249
  "typeDescriptions": {
250
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
250
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
251
251
  "typeString": "ResourceId"
252
252
  },
253
253
  "typeName": {
@@ -260,13 +260,13 @@
260
260
  "402:10:43"
261
261
  ],
262
262
  "nodeType": "IdentifierPath",
263
- "referencedDeclaration": 26605,
263
+ "referencedDeclaration": 29139,
264
264
  "src": "402:10:43"
265
265
  },
266
- "referencedDeclaration": 26605,
266
+ "referencedDeclaration": 29139,
267
267
  "src": "402:10:43",
268
268
  "typeDescriptions": {
269
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
269
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
270
270
  "typeString": "ResourceId"
271
271
  }
272
272
  },
@@ -284,7 +284,7 @@
284
284
  "stateVariable": false,
285
285
  "storageLocation": "default",
286
286
  "typeDescriptions": {
287
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
287
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
288
288
  "typeString": "ResourceId"
289
289
  },
290
290
  "typeName": {
@@ -297,13 +297,13 @@
297
297
  "430:10:43"
298
298
  ],
299
299
  "nodeType": "IdentifierPath",
300
- "referencedDeclaration": 26605,
300
+ "referencedDeclaration": 29139,
301
301
  "src": "430:10:43"
302
302
  },
303
- "referencedDeclaration": 26605,
303
+ "referencedDeclaration": 29139,
304
304
  "src": "430:10:43",
305
305
  "typeDescriptions": {
306
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
306
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
307
307
  "typeString": "ResourceId"
308
308
  }
309
309
  },
@@ -377,7 +377,7 @@
377
377
  "stateVariable": false,
378
378
  "storageLocation": "default",
379
379
  "typeDescriptions": {
380
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
380
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
381
381
  "typeString": "ResourceId"
382
382
  },
383
383
  "typeName": {
@@ -390,13 +390,13 @@
390
390
  "519:10:43"
391
391
  ],
392
392
  "nodeType": "IdentifierPath",
393
- "referencedDeclaration": 26605,
393
+ "referencedDeclaration": 29139,
394
394
  "src": "519:10:43"
395
395
  },
396
- "referencedDeclaration": 26605,
396
+ "referencedDeclaration": 29139,
397
397
  "src": "519:10:43",
398
398
  "typeDescriptions": {
399
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
399
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
400
400
  "typeString": "ResourceId"
401
401
  }
402
402
  },