@latticexyz/world-modules 2.0.0-main-f99e8898 → 2.0.0-main-e4e7d774

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 +350 -350
  7. package/out/CallboundDelegations.sol/CallboundDelegations.json +4497 -4497
  8. package/out/DelegationControl.sol/DelegationControl.json +135 -135
  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 +14 -14
  13. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
  14. package/out/IBaseWorld.sol/IBaseWorld.json +81 -81
  15. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +15 -15
  16. package/out/IDelegationControl.sol/IDelegationControl.json +7 -7
  17. package/out/ISystemHook.sol/ISystemHook.json +12 -12
  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 +10 -10
  21. package/out/IWorldKernel.sol/IWorldKernel.json +10 -10
  22. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +10 -10
  23. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +39 -39
  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 +838 -838
  27. package/out/KeysWithValue.sol/KeysWithValue.json +6631 -6631
  28. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1557 -1557
  29. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +650 -650
  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 +448 -448
  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 +183 -183
  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 +482 -482
  54. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +128 -128
  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 +103 -103
  60. package/out/WorldResourceId.sol/WorldResourceIdLib.json +103 -103
  61. package/out/constants.sol/constants.json +194 -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 +171 -171
  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 +258 -258
  86. package/out/src/IWorldKernel.sol/IWorldKernel.json +258 -258
  87. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +258 -258
  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 +809 -809
  104. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +809 -809
  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
@@ -3139,25 +3139,25 @@
3139
3139
  },
3140
3140
  "ast": {
3141
3141
  "absolutePath": "src/interfaces/IBaseWorld.sol",
3142
- "id": 39914,
3142
+ "id": 49056,
3143
3143
  "exportedSymbols": {
3144
3144
  "IBaseWorld": [
3145
- 39913
3145
+ 49055
3146
3146
  ],
3147
3147
  "IStore": [
3148
- 25916
3148
+ 28432
3149
3149
  ],
3150
3150
  "IWorldKernel": [
3151
- 39147
3151
+ 41900
3152
3152
  ]
3153
3153
  },
3154
3154
  "nodeType": "SourceUnit",
3155
- "src": "32:497:111",
3155
+ "src": "32:497:121",
3156
3156
  "nodes": [
3157
3157
  {
3158
- "id": 39903,
3158
+ "id": 49045,
3159
3159
  "nodeType": "PragmaDirective",
3160
- "src": "32:25:111",
3160
+ "src": "32:25:121",
3161
3161
  "nodes": [],
3162
3162
  "literals": [
3163
3163
  "solidity",
@@ -3167,24 +3167,24 @@
3167
3167
  ]
3168
3168
  },
3169
3169
  {
3170
- "id": 39905,
3170
+ "id": 49047,
3171
3171
  "nodeType": "ImportDirective",
3172
- "src": "108:58:111",
3172
+ "src": "108:58:121",
3173
3173
  "nodes": [],
3174
3174
  "absolutePath": "node_modules/@latticexyz/store/src/IStore.sol",
3175
3175
  "file": "@latticexyz/store/src/IStore.sol",
3176
3176
  "nameLocation": "-1:-1:-1",
3177
- "scope": 39914,
3178
- "sourceUnit": 25917,
3177
+ "scope": 49056,
3178
+ "sourceUnit": 28433,
3179
3179
  "symbolAliases": [
3180
3180
  {
3181
3181
  "foreign": {
3182
- "id": 39904,
3182
+ "id": 49046,
3183
3183
  "name": "IStore",
3184
3184
  "nodeType": "Identifier",
3185
3185
  "overloadedDeclarations": [],
3186
- "referencedDeclaration": 25916,
3187
- "src": "117:6:111",
3186
+ "referencedDeclaration": 28432,
3187
+ "src": "117:6:121",
3188
3188
  "typeDescriptions": {}
3189
3189
  },
3190
3190
  "nameLocation": "-1:-1:-1"
@@ -3193,24 +3193,24 @@
3193
3193
  "unitAlias": ""
3194
3194
  },
3195
3195
  {
3196
- "id": 39907,
3196
+ "id": 49049,
3197
3197
  "nodeType": "ImportDirective",
3198
- "src": "167:70:111",
3198
+ "src": "167:70:121",
3199
3199
  "nodes": [],
3200
3200
  "absolutePath": "node_modules/@latticexyz/world/src/IWorldKernel.sol",
3201
3201
  "file": "@latticexyz/world/src/IWorldKernel.sol",
3202
3202
  "nameLocation": "-1:-1:-1",
3203
- "scope": 39914,
3204
- "sourceUnit": 39148,
3203
+ "scope": 49056,
3204
+ "sourceUnit": 41901,
3205
3205
  "symbolAliases": [
3206
3206
  {
3207
3207
  "foreign": {
3208
- "id": 39906,
3208
+ "id": 49048,
3209
3209
  "name": "IWorldKernel",
3210
3210
  "nodeType": "Identifier",
3211
3211
  "overloadedDeclarations": [],
3212
- "referencedDeclaration": 39147,
3213
- "src": "176:12:111",
3212
+ "referencedDeclaration": 41900,
3213
+ "src": "176:12:121",
3214
3214
  "typeDescriptions": {}
3215
3215
  },
3216
3216
  "nameLocation": "-1:-1:-1"
@@ -3219,106 +3219,106 @@
3219
3219
  "unitAlias": ""
3220
3220
  },
3221
3221
  {
3222
- "id": 39913,
3222
+ "id": 49055,
3223
3223
  "nodeType": "ContractDefinition",
3224
- "src": "479:49:111",
3224
+ "src": "479:49:121",
3225
3225
  "nodes": [],
3226
3226
  "abstract": false,
3227
3227
  "baseContracts": [
3228
3228
  {
3229
3229
  "baseName": {
3230
- "id": 39909,
3230
+ "id": 49051,
3231
3231
  "name": "IStore",
3232
3232
  "nameLocations": [
3233
- "503:6:111"
3233
+ "503:6:121"
3234
3234
  ],
3235
3235
  "nodeType": "IdentifierPath",
3236
- "referencedDeclaration": 25916,
3237
- "src": "503:6:111"
3236
+ "referencedDeclaration": 28432,
3237
+ "src": "503:6:121"
3238
3238
  },
3239
- "id": 39910,
3239
+ "id": 49052,
3240
3240
  "nodeType": "InheritanceSpecifier",
3241
- "src": "503:6:111"
3241
+ "src": "503:6:121"
3242
3242
  },
3243
3243
  {
3244
3244
  "baseName": {
3245
- "id": 39911,
3245
+ "id": 49053,
3246
3246
  "name": "IWorldKernel",
3247
3247
  "nameLocations": [
3248
- "511:12:111"
3248
+ "511:12:121"
3249
3249
  ],
3250
3250
  "nodeType": "IdentifierPath",
3251
- "referencedDeclaration": 39147,
3252
- "src": "511:12:111"
3251
+ "referencedDeclaration": 41900,
3252
+ "src": "511:12:121"
3253
3253
  },
3254
- "id": 39912,
3254
+ "id": 49054,
3255
3255
  "nodeType": "InheritanceSpecifier",
3256
- "src": "511:12:111"
3256
+ "src": "511:12:121"
3257
3257
  }
3258
3258
  ],
3259
3259
  "canonicalName": "IBaseWorld",
3260
3260
  "contractDependencies": [],
3261
3261
  "contractKind": "interface",
3262
3262
  "documentation": {
3263
- "id": 39908,
3263
+ "id": 49050,
3264
3264
  "nodeType": "StructuredDocumentation",
3265
- "src": "239:239:111",
3265
+ "src": "239:239:121",
3266
3266
  "text": " @title IBaseWorld\n @notice This interface integrates all systems and associated function selectors\n that are dynamically registered in the World during deployment.\n @dev This is an autogenerated file; do not edit manually."
3267
3267
  },
3268
3268
  "fullyImplemented": false,
3269
3269
  "linearizedBaseContracts": [
3270
- 39913,
3271
- 39147,
3272
- 61685,
3273
- 39115,
3274
- 39089,
3275
- 25916,
3276
- 58162,
3277
- 58215,
3278
- 58096,
3279
- 62229,
3280
- 67543,
3281
- 62077
3270
+ 49055,
3271
+ 41900,
3272
+ 41823,
3273
+ 41868,
3274
+ 41842,
3275
+ 28432,
3276
+ 70137,
3277
+ 70190,
3278
+ 70071,
3279
+ 76232,
3280
+ 78851,
3281
+ 76080
3282
3282
  ],
3283
3283
  "name": "IBaseWorld",
3284
- "nameLocation": "489:10:111",
3285
- "scope": 39914,
3284
+ "nameLocation": "489:10:121",
3285
+ "scope": 49056,
3286
3286
  "usedErrors": [
3287
- 58107,
3288
- 58114,
3289
- 58123,
3290
- 58129,
3291
- 58135,
3292
- 58141,
3293
- 58147,
3294
- 58153,
3295
- 58161,
3296
- 61599,
3297
- 61607,
3298
- 61615,
3299
- 61622,
3300
- 61630,
3301
- 61635,
3302
- 61640,
3303
- 61645,
3304
- 61652,
3305
- 61655,
3306
- 61662,
3307
- 61669,
3308
- 61679,
3309
- 61684
3287
+ 41737,
3288
+ 41745,
3289
+ 41753,
3290
+ 41760,
3291
+ 41768,
3292
+ 41773,
3293
+ 41778,
3294
+ 41783,
3295
+ 41790,
3296
+ 41793,
3297
+ 41800,
3298
+ 41807,
3299
+ 41817,
3300
+ 41822,
3301
+ 70082,
3302
+ 70089,
3303
+ 70098,
3304
+ 70104,
3305
+ 70110,
3306
+ 70116,
3307
+ 70122,
3308
+ 70128,
3309
+ 70136
3310
3310
  ],
3311
3311
  "usedEvents": [
3312
- 39127,
3313
- 58089,
3314
- 67502,
3315
- 67515,
3316
- 67533,
3317
- 67542
3312
+ 41880,
3313
+ 70064,
3314
+ 78810,
3315
+ 78823,
3316
+ 78841,
3317
+ 78850
3318
3318
  ]
3319
3319
  }
3320
3320
  ],
3321
3321
  "license": "MIT"
3322
3322
  },
3323
- "id": 111
3323
+ "id": 121
3324
3324
  }
@@ -223,10 +223,10 @@
223
223
  24181
224
224
  ],
225
225
  "SystemCallData": [
226
- 24366
226
+ 26685
227
227
  ],
228
228
  "SystemCallFromData": [
229
- 24378
229
+ 26697
230
230
  ]
231
231
  },
232
232
  "nodeType": "SourceUnit",
@@ -253,7 +253,7 @@
253
253
  "file": "./../../modules/core/types.sol",
254
254
  "nameLocation": "-1:-1:-1",
255
255
  "scope": 24182,
256
- "sourceUnit": 24379,
256
+ "sourceUnit": 26698,
257
257
  "symbolAliases": [
258
258
  {
259
259
  "foreign": {
@@ -261,7 +261,7 @@
261
261
  "name": "SystemCallData",
262
262
  "nodeType": "Identifier",
263
263
  "overloadedDeclarations": [],
264
- "referencedDeclaration": 24366,
264
+ "referencedDeclaration": 26685,
265
265
  "src": "117:14:44",
266
266
  "typeDescriptions": {}
267
267
  },
@@ -273,7 +273,7 @@
273
273
  "name": "SystemCallFromData",
274
274
  "nodeType": "Identifier",
275
275
  "overloadedDeclarations": [],
276
- "referencedDeclaration": 24378,
276
+ "referencedDeclaration": 26697,
277
277
  "src": "133:18:44",
278
278
  "typeDescriptions": {}
279
279
  },
@@ -314,7 +314,7 @@
314
314
  "stateVariable": false,
315
315
  "storageLocation": "calldata",
316
316
  "typeDescriptions": {
317
- "typeIdentifier": "t_array$_t_struct$_SystemCallData_$24366_calldata_ptr_$dyn_calldata_ptr",
317
+ "typeIdentifier": "t_array$_t_struct$_SystemCallData_$26685_calldata_ptr_$dyn_calldata_ptr",
318
318
  "typeString": "struct SystemCallData[]"
319
319
  },
320
320
  "typeName": {
@@ -328,13 +328,13 @@
328
328
  "391:14:44"
329
329
  ],
330
330
  "nodeType": "IdentifierPath",
331
- "referencedDeclaration": 24366,
331
+ "referencedDeclaration": 26685,
332
332
  "src": "391:14:44"
333
333
  },
334
- "referencedDeclaration": 24366,
334
+ "referencedDeclaration": 26685,
335
335
  "src": "391:14:44",
336
336
  "typeDescriptions": {
337
- "typeIdentifier": "t_struct$_SystemCallData_$24366_storage_ptr",
337
+ "typeIdentifier": "t_struct$_SystemCallData_$26685_storage_ptr",
338
338
  "typeString": "struct SystemCallData"
339
339
  }
340
340
  },
@@ -342,7 +342,7 @@
342
342
  "nodeType": "ArrayTypeName",
343
343
  "src": "391:16:44",
344
344
  "typeDescriptions": {
345
- "typeIdentifier": "t_array$_t_struct$_SystemCallData_$24366_storage_$dyn_storage_ptr",
345
+ "typeIdentifier": "t_array$_t_struct$_SystemCallData_$26685_storage_$dyn_storage_ptr",
346
346
  "typeString": "struct SystemCallData[]"
347
347
  }
348
348
  },
@@ -426,7 +426,7 @@
426
426
  "stateVariable": false,
427
427
  "storageLocation": "calldata",
428
428
  "typeDescriptions": {
429
- "typeIdentifier": "t_array$_t_struct$_SystemCallFromData_$24378_calldata_ptr_$dyn_calldata_ptr",
429
+ "typeIdentifier": "t_array$_t_struct$_SystemCallFromData_$26697_calldata_ptr_$dyn_calldata_ptr",
430
430
  "typeString": "struct SystemCallFromData[]"
431
431
  },
432
432
  "typeName": {
@@ -440,13 +440,13 @@
440
440
  "503:18:44"
441
441
  ],
442
442
  "nodeType": "IdentifierPath",
443
- "referencedDeclaration": 24378,
443
+ "referencedDeclaration": 26697,
444
444
  "src": "503:18:44"
445
445
  },
446
- "referencedDeclaration": 24378,
446
+ "referencedDeclaration": 26697,
447
447
  "src": "503:18:44",
448
448
  "typeDescriptions": {
449
- "typeIdentifier": "t_struct$_SystemCallFromData_$24378_storage_ptr",
449
+ "typeIdentifier": "t_struct$_SystemCallFromData_$26697_storage_ptr",
450
450
  "typeString": "struct SystemCallFromData"
451
451
  }
452
452
  },
@@ -454,7 +454,7 @@
454
454
  "nodeType": "ArrayTypeName",
455
455
  "src": "503:20:44",
456
456
  "typeDescriptions": {
457
- "typeIdentifier": "t_array$_t_struct$_SystemCallFromData_$24378_storage_$dyn_storage_ptr",
457
+ "typeIdentifier": "t_array$_t_struct$_SystemCallFromData_$26697_storage_$dyn_storage_ptr",
458
458
  "typeString": "struct SystemCallFromData[]"
459
459
  }
460
460
  },
@@ -358,7 +358,7 @@
358
358
  23378
359
359
  ],
360
360
  "ResourceId": [
361
- 26605
361
+ 29121
362
362
  ],
363
363
  "WORLD_CONTEXT_CONSUMER_INTERFACE_ID": [
364
364
  23356
@@ -434,7 +434,7 @@
434
434
  "name": "ResourceId",
435
435
  "nodeType": "Identifier",
436
436
  "overloadedDeclarations": [],
437
- "referencedDeclaration": 26605,
437
+ "referencedDeclaration": 29121,
438
438
  "src": "174:10:33",
439
439
  "typeDescriptions": {}
440
440
  },
@@ -504,7 +504,7 @@
504
504
  "referencedDeclaration": 23223,
505
505
  "src": "457:25:33",
506
506
  "typeDescriptions": {
507
- "typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_userDefinedValueType$_ResourceId_$26605_$_t_bytes_memory_ptr_$returns$_t_bool_$",
507
+ "typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_userDefinedValueType$_ResourceId_$29121_$_t_bytes_memory_ptr_$returns$_t_bool_$",
508
508
  "typeString": "function IDelegationControl.verify(address,ResourceId,bytes memory) returns (bool)"
509
509
  }
510
510
  },
@@ -604,7 +604,7 @@
604
604
  "stateVariable": false,
605
605
  "storageLocation": "default",
606
606
  "typeDescriptions": {
607
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
607
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29121",
608
608
  "typeString": "ResourceId"
609
609
  },
610
610
  "typeName": {
@@ -617,13 +617,13 @@
617
617
  "808:10:33"
618
618
  ],
619
619
  "nodeType": "IdentifierPath",
620
- "referencedDeclaration": 26605,
620
+ "referencedDeclaration": 29121,
621
621
  "src": "808:10:33"
622
622
  },
623
- "referencedDeclaration": 26605,
623
+ "referencedDeclaration": 29121,
624
624
  "src": "808:10:33",
625
625
  "typeDescriptions": {
626
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
626
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29121",
627
627
  "typeString": "ResourceId"
628
628
  }
629
629
  },
@@ -300,7 +300,7 @@
300
300
  23335
301
301
  ],
302
302
  "ResourceId": [
303
- 26605
303
+ 29121
304
304
  ],
305
305
  "SYSTEM_HOOK_INTERFACE_ID": [
306
306
  23309
@@ -376,7 +376,7 @@
376
376
  "name": "ResourceId",
377
377
  "nodeType": "Identifier",
378
378
  "overloadedDeclarations": [],
379
- "referencedDeclaration": 26605,
379
+ "referencedDeclaration": 29121,
380
380
  "src": "130:10:36",
381
381
  "typeDescriptions": {}
382
382
  },
@@ -456,7 +456,7 @@
456
456
  "referencedDeclaration": 23323,
457
457
  "src": "421:30:36",
458
458
  "typeDescriptions": {
459
- "typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_userDefinedValueType$_ResourceId_$26605_$_t_bytes_memory_ptr_$returns$__$",
459
+ "typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_userDefinedValueType$_ResourceId_$29121_$_t_bytes_memory_ptr_$returns$__$",
460
460
  "typeString": "function ISystemHook.onBeforeCallSystem(address,ResourceId,bytes memory)"
461
461
  }
462
462
  },
@@ -501,7 +501,7 @@
501
501
  "referencedDeclaration": 23334,
502
502
  "src": "465:29:36",
503
503
  "typeDescriptions": {
504
- "typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_userDefinedValueType$_ResourceId_$26605_$_t_bytes_memory_ptr_$returns$__$",
504
+ "typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_userDefinedValueType$_ResourceId_$29121_$_t_bytes_memory_ptr_$returns$__$",
505
505
  "typeString": "function ISystemHook.onAfterCallSystem(address,ResourceId,bytes memory)"
506
506
  }
507
507
  },
@@ -613,7 +613,7 @@
613
613
  "stateVariable": false,
614
614
  "storageLocation": "default",
615
615
  "typeDescriptions": {
616
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
616
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29121",
617
617
  "typeString": "ResourceId"
618
618
  },
619
619
  "typeName": {
@@ -626,13 +626,13 @@
626
626
  "1232:10:36"
627
627
  ],
628
628
  "nodeType": "IdentifierPath",
629
- "referencedDeclaration": 26605,
629
+ "referencedDeclaration": 29121,
630
630
  "src": "1232:10:36"
631
631
  },
632
- "referencedDeclaration": 26605,
632
+ "referencedDeclaration": 29121,
633
633
  "src": "1232:10:36",
634
634
  "typeDescriptions": {
635
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
635
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29121",
636
636
  "typeString": "ResourceId"
637
637
  }
638
638
  },
@@ -740,7 +740,7 @@
740
740
  "stateVariable": false,
741
741
  "storageLocation": "default",
742
742
  "typeDescriptions": {
743
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
743
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29121",
744
744
  "typeString": "ResourceId"
745
745
  },
746
746
  "typeName": {
@@ -753,13 +753,13 @@
753
753
  "1680:10:36"
754
754
  ],
755
755
  "nodeType": "IdentifierPath",
756
- "referencedDeclaration": 26605,
756
+ "referencedDeclaration": 29121,
757
757
  "src": "1680:10:36"
758
758
  },
759
- "referencedDeclaration": 26605,
759
+ "referencedDeclaration": 29121,
760
760
  "src": "1680:10:36",
761
761
  "typeDescriptions": {
762
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
762
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29121",
763
763
  "typeString": "ResourceId"
764
764
  }
765
765
  },
@@ -92,19 +92,19 @@
92
92
  },
93
93
  "ast": {
94
94
  "absolutePath": "src/interfaces/IUniqueEntitySystem.sol",
95
- "id": 39922,
95
+ "id": 49064,
96
96
  "exportedSymbols": {
97
97
  "IUniqueEntitySystem": [
98
- 39921
98
+ 49063
99
99
  ]
100
100
  },
101
101
  "nodeType": "SourceUnit",
102
- "src": "32:233:112",
102
+ "src": "32:233:122",
103
103
  "nodes": [
104
104
  {
105
- "id": 39915,
105
+ "id": 49057,
106
106
  "nodeType": "PragmaDirective",
107
- "src": "32:25:112",
107
+ "src": "32:25:122",
108
108
  "nodes": [],
109
109
  "literals": [
110
110
  "solidity",
@@ -114,40 +114,40 @@
114
114
  ]
115
115
  },
116
116
  {
117
- "id": 39921,
117
+ "id": 49063,
118
118
  "nodeType": "ContractDefinition",
119
- "src": "141:123:112",
119
+ "src": "141:123:122",
120
120
  "nodes": [
121
121
  {
122
- "id": 39920,
122
+ "id": 49062,
123
123
  "nodeType": "FunctionDefinition",
124
- "src": "175:87:112",
124
+ "src": "175:87:122",
125
125
  "nodes": [],
126
126
  "functionSelector": "8459353e",
127
127
  "implemented": false,
128
128
  "kind": "function",
129
129
  "modifiers": [],
130
130
  "name": "uniqueEntity_system_getUniqueEntity",
131
- "nameLocation": "184:35:112",
131
+ "nameLocation": "184:35:122",
132
132
  "parameters": {
133
- "id": 39916,
133
+ "id": 49058,
134
134
  "nodeType": "ParameterList",
135
135
  "parameters": [],
136
- "src": "219:2:112"
136
+ "src": "219:2:122"
137
137
  },
138
138
  "returnParameters": {
139
- "id": 39919,
139
+ "id": 49061,
140
140
  "nodeType": "ParameterList",
141
141
  "parameters": [
142
142
  {
143
143
  "constant": false,
144
- "id": 39918,
144
+ "id": 49060,
145
145
  "mutability": "mutable",
146
146
  "name": "uniqueEntity",
147
- "nameLocation": "248:12:112",
147
+ "nameLocation": "248:12:122",
148
148
  "nodeType": "VariableDeclaration",
149
- "scope": 39920,
150
- "src": "240:20:112",
149
+ "scope": 49062,
150
+ "src": "240:20:122",
151
151
  "stateVariable": false,
152
152
  "storageLocation": "default",
153
153
  "typeDescriptions": {
@@ -155,10 +155,10 @@
155
155
  "typeString": "bytes32"
156
156
  },
157
157
  "typeName": {
158
- "id": 39917,
158
+ "id": 49059,
159
159
  "name": "bytes32",
160
160
  "nodeType": "ElementaryTypeName",
161
- "src": "240:7:112",
161
+ "src": "240:7:122",
162
162
  "typeDescriptions": {
163
163
  "typeIdentifier": "t_bytes32",
164
164
  "typeString": "bytes32"
@@ -167,9 +167,9 @@
167
167
  "visibility": "internal"
168
168
  }
169
169
  ],
170
- "src": "239:22:112"
170
+ "src": "239:22:122"
171
171
  },
172
- "scope": 39921,
172
+ "scope": 49063,
173
173
  "stateMutability": "nonpayable",
174
174
  "virtual": false,
175
175
  "visibility": "external"
@@ -182,16 +182,16 @@
182
182
  "contractKind": "interface",
183
183
  "fullyImplemented": false,
184
184
  "linearizedBaseContracts": [
185
- 39921
185
+ 49063
186
186
  ],
187
187
  "name": "IUniqueEntitySystem",
188
- "nameLocation": "151:19:112",
189
- "scope": 39922,
188
+ "nameLocation": "151:19:122",
189
+ "scope": 49064,
190
190
  "usedErrors": [],
191
191
  "usedEvents": []
192
192
  }
193
193
  ],
194
194
  "license": "MIT"
195
195
  },
196
- "id": 112
196
+ "id": 122
197
197
  }