@latticexyz/world-modules 2.0.0-main-5fdbb127 → 2.0.0-main-fe005ee0

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 (84) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +203 -203
  3. package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
  4. package/out/DelegationControl.sol/DelegationControl.json +85 -85
  5. package/out/Hooks.sol/Hooks.json +45 -45
  6. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +14 -14
  7. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
  8. package/out/IBaseWorld.sol/IBaseWorld.json +60 -60
  9. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +19 -19
  10. package/out/IDelegationControl.sol/IDelegationControl.json +7 -7
  11. package/out/ISystemHook.sol/ISystemHook.json +12 -12
  12. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  13. package/out/IWorldErrors.sol/IWorldErrors.json +19 -19
  14. package/out/IWorldKernel.sol/IWorldCall.json +10 -10
  15. package/out/IWorldKernel.sol/IWorldKernel.json +10 -10
  16. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +10 -10
  17. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +39 -39
  18. package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
  19. package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
  20. package/out/KeysInTableModule.sol/KeysInTableModule.json +527 -527
  21. package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
  22. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +989 -989
  23. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +416 -416
  24. package/out/Module.sol/Module.json +75 -75
  25. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  26. package/out/Schema.sol/SchemaInstance.json +30 -30
  27. package/out/Schema.sol/SchemaLib.json +30 -30
  28. package/out/SchemaType.sol/SchemaType.json +276 -276
  29. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +293 -293
  30. package/out/StoreHook.sol/StoreHook.json +368 -368
  31. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  32. package/out/System.sol/System.json +19 -19
  33. package/out/Tables.sol/Tables.json +73 -73
  34. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +107 -107
  35. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
  36. package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
  37. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +317 -317
  38. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +81 -81
  39. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
  40. package/out/WorldContext.sol/WorldContextConsumer.json +11 -11
  41. package/out/WorldContext.sol/WorldContextProvider.json +11 -11
  42. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +96 -96
  43. package/out/WorldResourceId.sol/WorldResourceIdLib.json +96 -96
  44. package/out/constants.sol/constants.json +35 -35
  45. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  46. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  47. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  48. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  49. package/out/hasKey.sol/hasKey.json +130 -130
  50. package/out/index.sol/index.json +53 -53
  51. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +124 -124
  52. package/out/query.sol/query.json +1154 -1154
  53. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  54. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  55. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
  56. package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
  57. package/out/src/IStore.sol/IStore.json +52 -52
  58. package/out/src/IWorldKernel.sol/IWorldCall.json +150 -150
  59. package/out/src/IWorldKernel.sol/IWorldKernel.json +150 -150
  60. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +150 -150
  61. package/out/src/Memory.sol/Memory.json +91 -91
  62. package/out/src/PackedCounter.sol/PackedCounterInstance.json +929 -929
  63. package/out/src/PackedCounter.sol/PackedCounterLib.json +929 -929
  64. package/out/src/ResourceId.sol/ResourceIdInstance.json +116 -116
  65. package/out/src/ResourceId.sol/ResourceIdLib.json +116 -116
  66. package/out/src/Schema.sol/SchemaInstance.json +790 -790
  67. package/out/src/Schema.sol/SchemaLib.json +790 -790
  68. package/out/src/Slice.sol/SliceInstance.json +430 -430
  69. package/out/src/Slice.sol/SliceLib.json +430 -430
  70. package/out/src/StoreCore.sol/StoreCore.json +4455 -4455
  71. package/out/src/StoreCore.sol/StoreCoreInternal.json +4455 -4455
  72. package/out/src/StoreSwitch.sol/StoreSwitch.json +2483 -2483
  73. package/out/src/WorldContext.sol/WorldContextConsumer.json +363 -363
  74. package/out/src/WorldContext.sol/WorldContextProvider.json +363 -363
  75. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
  76. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
  77. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  78. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  79. package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
  80. package/out/tables/Tables.sol/Tables.json +7288 -7288
  81. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3345 -3345
  82. package/out/types.sol/types.json +60 -72
  83. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  84. package/package.json +8 -8
@@ -13,10 +13,10 @@
13
13
  "id": 24284,
14
14
  "exportedSymbols": {
15
15
  "RESOURCE_NAMESPACE": [
16
- 24327
16
+ 24320
17
17
  ],
18
18
  "RESOURCE_SYSTEM": [
19
- 24333
19
+ 24326
20
20
  ],
21
21
  "ROOT_NAME": [
22
22
  24232
@@ -28,7 +28,7 @@
28
28
  24265
29
29
  ],
30
30
  "ResourceId": [
31
- 26528
31
+ 26521
32
32
  ],
33
33
  "UNLIMITED_DELEGATION": [
34
34
  24283
@@ -61,7 +61,7 @@
61
61
  "file": "@latticexyz/store/src/ResourceId.sol",
62
62
  "nameLocation": "-1:-1:-1",
63
63
  "scope": 24284,
64
- "sourceUnit": 26600,
64
+ "sourceUnit": 26593,
65
65
  "symbolAliases": [
66
66
  {
67
67
  "foreign": {
@@ -69,7 +69,7 @@
69
69
  "name": "ResourceId",
70
70
  "nodeType": "Identifier",
71
71
  "overloadedDeclarations": [],
72
- "referencedDeclaration": 26528,
72
+ "referencedDeclaration": 26521,
73
73
  "src": "68:10:48",
74
74
  "typeDescriptions": {}
75
75
  },
@@ -87,7 +87,7 @@
87
87
  "file": "./worldResourceTypes.sol",
88
88
  "nameLocation": "-1:-1:-1",
89
89
  "scope": 24284,
90
- "sourceUnit": 24352,
90
+ "sourceUnit": 24345,
91
91
  "symbolAliases": [
92
92
  {
93
93
  "foreign": {
@@ -95,7 +95,7 @@
95
95
  "name": "RESOURCE_SYSTEM",
96
96
  "nodeType": "Identifier",
97
97
  "overloadedDeclarations": [],
98
- "referencedDeclaration": 24333,
98
+ "referencedDeclaration": 24326,
99
99
  "src": "136:15:48",
100
100
  "typeDescriptions": {}
101
101
  },
@@ -107,7 +107,7 @@
107
107
  "name": "RESOURCE_NAMESPACE",
108
108
  "nodeType": "Identifier",
109
109
  "overloadedDeclarations": [],
110
- "referencedDeclaration": 24327,
110
+ "referencedDeclaration": 24320,
111
111
  "src": "153:18:48",
112
112
  "typeDescriptions": {}
113
113
  },
@@ -217,7 +217,7 @@
217
217
  "stateVariable": false,
218
218
  "storageLocation": "default",
219
219
  "typeDescriptions": {
220
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
220
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
221
221
  "typeString": "ResourceId"
222
222
  },
223
223
  "typeName": {
@@ -230,13 +230,13 @@
230
230
  "280:10:48"
231
231
  ],
232
232
  "nodeType": "IdentifierPath",
233
- "referencedDeclaration": 26528,
233
+ "referencedDeclaration": 26521,
234
234
  "src": "280:10:48"
235
235
  },
236
- "referencedDeclaration": 26528,
236
+ "referencedDeclaration": 26521,
237
237
  "src": "280:10:48",
238
238
  "typeDescriptions": {
239
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
239
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
240
240
  "typeString": "ResourceId"
241
241
  }
242
242
  },
@@ -251,7 +251,7 @@
251
251
  "name": "RESOURCE_NAMESPACE",
252
252
  "nodeType": "Identifier",
253
253
  "overloadedDeclarations": [],
254
- "referencedDeclaration": 24327,
254
+ "referencedDeclaration": 24320,
255
255
  "src": "365:18:48",
256
256
  "typeDescriptions": {
257
257
  "typeIdentifier": "t_bytes2",
@@ -445,10 +445,10 @@
445
445
  "name": "ResourceId",
446
446
  "nodeType": "Identifier",
447
447
  "overloadedDeclarations": [],
448
- "referencedDeclaration": 26528,
448
+ "referencedDeclaration": 26521,
449
449
  "src": "321:10:48",
450
450
  "typeDescriptions": {
451
- "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26528_$",
451
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26521_$",
452
452
  "typeString": "type(ResourceId)"
453
453
  }
454
454
  },
@@ -462,7 +462,7 @@
462
462
  "nodeType": "MemberAccess",
463
463
  "src": "321:15:48",
464
464
  "typeDescriptions": {
465
- "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$26528_$",
465
+ "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$26521_$",
466
466
  "typeString": "function (bytes32) pure returns (ResourceId)"
467
467
  }
468
468
  },
@@ -478,7 +478,7 @@
478
478
  "src": "321:95:48",
479
479
  "tryCall": false,
480
480
  "typeDescriptions": {
481
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
481
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
482
482
  "typeString": "ResourceId"
483
483
  }
484
484
  },
@@ -497,7 +497,7 @@
497
497
  "stateVariable": false,
498
498
  "storageLocation": "default",
499
499
  "typeDescriptions": {
500
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
500
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
501
501
  "typeString": "ResourceId"
502
502
  },
503
503
  "typeName": {
@@ -510,13 +510,13 @@
510
510
  "419:10:48"
511
511
  ],
512
512
  "nodeType": "IdentifierPath",
513
- "referencedDeclaration": 26528,
513
+ "referencedDeclaration": 26521,
514
514
  "src": "419:10:48"
515
515
  },
516
- "referencedDeclaration": 26528,
516
+ "referencedDeclaration": 26521,
517
517
  "src": "419:10:48",
518
518
  "typeDescriptions": {
519
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
519
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
520
520
  "typeString": "ResourceId"
521
521
  }
522
522
  },
@@ -531,7 +531,7 @@
531
531
  "name": "RESOURCE_NAMESPACE",
532
532
  "nodeType": "Identifier",
533
533
  "overloadedDeclarations": [],
534
- "referencedDeclaration": 24327,
534
+ "referencedDeclaration": 24320,
535
535
  "src": "503:18:48",
536
536
  "typeDescriptions": {
537
537
  "typeIdentifier": "t_bytes2",
@@ -676,10 +676,10 @@
676
676
  "name": "ResourceId",
677
677
  "nodeType": "Identifier",
678
678
  "overloadedDeclarations": [],
679
- "referencedDeclaration": 26528,
679
+ "referencedDeclaration": 26521,
680
680
  "src": "459:10:48",
681
681
  "typeDescriptions": {
682
- "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26528_$",
682
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26521_$",
683
683
  "typeString": "type(ResourceId)"
684
684
  }
685
685
  },
@@ -693,7 +693,7 @@
693
693
  "nodeType": "MemberAccess",
694
694
  "src": "459:15:48",
695
695
  "typeDescriptions": {
696
- "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$26528_$",
696
+ "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$26521_$",
697
697
  "typeString": "function (bytes32) pure returns (ResourceId)"
698
698
  }
699
699
  },
@@ -709,7 +709,7 @@
709
709
  "src": "459:93:48",
710
710
  "tryCall": false,
711
711
  "typeDescriptions": {
712
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
712
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
713
713
  "typeString": "ResourceId"
714
714
  }
715
715
  },
@@ -728,7 +728,7 @@
728
728
  "stateVariable": false,
729
729
  "storageLocation": "default",
730
730
  "typeDescriptions": {
731
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
731
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
732
732
  "typeString": "ResourceId"
733
733
  },
734
734
  "typeName": {
@@ -741,13 +741,13 @@
741
741
  "555:10:48"
742
742
  ],
743
743
  "nodeType": "IdentifierPath",
744
- "referencedDeclaration": 26528,
744
+ "referencedDeclaration": 26521,
745
745
  "src": "555:10:48"
746
746
  },
747
- "referencedDeclaration": 26528,
747
+ "referencedDeclaration": 26521,
748
748
  "src": "555:10:48",
749
749
  "typeDescriptions": {
750
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
750
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
751
751
  "typeString": "ResourceId"
752
752
  }
753
753
  },
@@ -762,7 +762,7 @@
762
762
  "name": "RESOURCE_SYSTEM",
763
763
  "nodeType": "Identifier",
764
764
  "overloadedDeclarations": [],
765
- "referencedDeclaration": 24333,
765
+ "referencedDeclaration": 24326,
766
766
  "src": "642:15:48",
767
767
  "typeDescriptions": {
768
768
  "typeIdentifier": "t_bytes2",
@@ -956,10 +956,10 @@
956
956
  "name": "ResourceId",
957
957
  "nodeType": "Identifier",
958
958
  "overloadedDeclarations": [],
959
- "referencedDeclaration": 26528,
959
+ "referencedDeclaration": 26521,
960
960
  "src": "598:10:48",
961
961
  "typeDescriptions": {
962
- "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26528_$",
962
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26521_$",
963
963
  "typeString": "type(ResourceId)"
964
964
  }
965
965
  },
@@ -973,7 +973,7 @@
973
973
  "nodeType": "MemberAccess",
974
974
  "src": "598:15:48",
975
975
  "typeDescriptions": {
976
- "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$26528_$",
976
+ "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$26521_$",
977
977
  "typeString": "function (bytes32) pure returns (ResourceId)"
978
978
  }
979
979
  },
@@ -989,7 +989,7 @@
989
989
  "src": "598:101:48",
990
990
  "tryCall": false,
991
991
  "typeDescriptions": {
992
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
992
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
993
993
  "typeString": "ResourceId"
994
994
  }
995
995
  },