@latticexyz/world-modules 2.0.0-main-87235a21 → 2.0.0-main-85218618

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 (89) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +264 -227
  3. package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
  4. package/out/DelegationControl.sol/DelegationControl.json +193 -143
  5. package/out/Hooks.sol/Hooks.json +45 -45
  6. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +64 -64
  7. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +53 -53
  8. package/out/IBaseWorld.sol/IBaseWorld.json +136 -91
  9. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +51 -51
  10. package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
  11. package/out/IDelegationControl.sol/IDelegationControl.json +138 -108
  12. package/out/IModule.sol/IModule.json +181 -151
  13. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +34 -34
  14. package/out/ISystemHook.sol/ISystemHook.json +192 -152
  15. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  16. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +172 -124
  17. package/out/IWorldErrors.sol/IWorldErrors.json +346 -256
  18. package/out/IWorldKernel.sol/IWorldCall.json +312 -272
  19. package/out/IWorldKernel.sol/IWorldKernel.json +339 -276
  20. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +297 -271
  21. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +201 -201
  22. package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
  23. package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
  24. package/out/KeysInTableModule.sol/KeysInTableModule.json +607 -558
  25. package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
  26. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1014 -1014
  27. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +496 -447
  28. package/out/Module.sol/Module.json +192 -125
  29. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  30. package/out/Schema.sol/SchemaInstance.json +30 -30
  31. package/out/Schema.sol/SchemaLib.json +30 -30
  32. package/out/SchemaType.sol/SchemaType.json +276 -276
  33. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +372 -329
  34. package/out/StoreHook.sol/StoreHook.json +358 -358
  35. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  36. package/out/System.sol/System.json +84 -41
  37. package/out/Tables.sol/Tables.json +73 -73
  38. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +168 -131
  39. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
  40. package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
  41. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +393 -350
  42. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +138 -102
  43. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
  44. package/out/WorldContext.sol/WorldContextConsumer.json +780 -683
  45. package/out/WorldContext.sol/WorldContextProvider.json +743 -683
  46. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +777 -765
  47. package/out/WorldResourceId.sol/WorldResourceIdLib.json +777 -765
  48. package/out/constants.sol/constants.json +115 -115
  49. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  50. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  51. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  52. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  53. package/out/hasKey.sol/hasKey.json +130 -130
  54. package/out/index.sol/index.json +53 -53
  55. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +205 -160
  56. package/out/query.sol/query.json +1154 -1154
  57. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  58. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  59. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
  60. package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
  61. package/out/src/IStore.sol/IStore.json +53 -53
  62. package/out/src/IWorldKernel.sol/IWorldCall.json +313 -273
  63. package/out/src/IWorldKernel.sol/IWorldKernel.json +340 -277
  64. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +298 -272
  65. package/out/src/Memory.sol/Memory.json +89 -89
  66. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  67. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  68. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  69. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  70. package/out/src/Schema.sol/SchemaInstance.json +787 -787
  71. package/out/src/Schema.sol/SchemaLib.json +787 -787
  72. package/out/src/Slice.sol/SliceInstance.json +429 -429
  73. package/out/src/Slice.sol/SliceLib.json +429 -429
  74. package/out/src/StoreCore.sol/StoreCore.json +4455 -4455
  75. package/out/src/StoreCore.sol/StoreCoreInternal.json +4455 -4455
  76. package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
  77. package/out/src/WorldContext.sol/WorldContextConsumer.json +780 -683
  78. package/out/src/WorldContext.sol/WorldContextProvider.json +743 -683
  79. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +777 -765
  80. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +777 -765
  81. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  82. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  83. package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
  84. package/out/tables/Tables.sol/Tables.json +7288 -7288
  85. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
  86. package/out/types.sol/types.json +39 -39
  87. package/out/world/src/IERC165.sol/IERC165.json +63 -57
  88. package/out/worldResourceTypes.sol/worldResourceTypes.json +87 -87
  89. package/package.json +8 -8
@@ -10,17 +10,17 @@
10
10
  },
11
11
  "ast": {
12
12
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/revertWithBytes.sol",
13
- "id": 23991,
13
+ "id": 24037,
14
14
  "exportedSymbols": {
15
15
  "revertWithBytes": [
16
- 23990
16
+ 24036
17
17
  ]
18
18
  },
19
19
  "nodeType": "SourceUnit",
20
20
  "src": "32:368:50",
21
21
  "nodes": [
22
22
  {
23
- "id": 23982,
23
+ "id": 24028,
24
24
  "nodeType": "PragmaDirective",
25
25
  "src": "32:25:50",
26
26
  "nodes": [],
@@ -32,12 +32,12 @@
32
32
  ]
33
33
  },
34
34
  {
35
- "id": 23990,
35
+ "id": 24036,
36
36
  "nodeType": "FunctionDefinition",
37
37
  "src": "182:217:50",
38
38
  "nodes": [],
39
39
  "body": {
40
- "id": 23989,
40
+ "id": 24035,
41
41
  "nodeType": "Block",
42
42
  "src": "233:166:50",
43
43
  "nodes": [],
@@ -117,28 +117,28 @@
117
117
  "evmVersion": "paris",
118
118
  "externalReferences": [
119
119
  {
120
- "declaration": 23985,
120
+ "declaration": 24031,
121
121
  "isOffset": false,
122
122
  "isSlot": false,
123
123
  "src": "364:6:50",
124
124
  "valueSize": 1
125
125
  },
126
126
  {
127
- "declaration": 23985,
127
+ "declaration": 24031,
128
128
  "isOffset": false,
129
129
  "isSlot": false,
130
130
  "src": "385:6:50",
131
131
  "valueSize": 1
132
132
  }
133
133
  ],
134
- "id": 23988,
134
+ "id": 24034,
135
135
  "nodeType": "InlineAssembly",
136
136
  "src": "237:160:50"
137
137
  }
138
138
  ]
139
139
  },
140
140
  "documentation": {
141
- "id": 23983,
141
+ "id": 24029,
142
142
  "nodeType": "StructuredDocumentation",
143
143
  "src": "59:122:50",
144
144
  "text": " Utility function to revert with raw bytes (eg. coming from a low level call or from a previously encoded error)"
@@ -149,17 +149,17 @@
149
149
  "name": "revertWithBytes",
150
150
  "nameLocation": "191:15:50",
151
151
  "parameters": {
152
- "id": 23986,
152
+ "id": 24032,
153
153
  "nodeType": "ParameterList",
154
154
  "parameters": [
155
155
  {
156
156
  "constant": false,
157
- "id": 23985,
157
+ "id": 24031,
158
158
  "mutability": "mutable",
159
159
  "name": "reason",
160
160
  "nameLocation": "220:6:50",
161
161
  "nodeType": "VariableDeclaration",
162
- "scope": 23990,
162
+ "scope": 24036,
163
163
  "src": "207:19:50",
164
164
  "stateVariable": false,
165
165
  "storageLocation": "memory",
@@ -168,7 +168,7 @@
168
168
  "typeString": "bytes"
169
169
  },
170
170
  "typeName": {
171
- "id": 23984,
171
+ "id": 24030,
172
172
  "name": "bytes",
173
173
  "nodeType": "ElementaryTypeName",
174
174
  "src": "207:5:50",
@@ -183,12 +183,12 @@
183
183
  "src": "206:21:50"
184
184
  },
185
185
  "returnParameters": {
186
- "id": 23987,
186
+ "id": 24033,
187
187
  "nodeType": "ParameterList",
188
188
  "parameters": [],
189
189
  "src": "233:0:50"
190
190
  },
191
- "scope": 23991,
191
+ "scope": 24037,
192
192
  "stateMutability": "pure",
193
193
  "virtual": false,
194
194
  "visibility": "internal"