@latticexyz/world-modules 2.0.0-main-c07fa021 → 2.0.0-main-c4f49240

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 (104) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/Callbacks.sol/Callbacks.json +45 -45
  3. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +203 -203
  4. package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
  5. package/out/DelegationControl.sol/DelegationControl.json +83 -83
  6. package/out/Hooks.sol/Hooks.json +45 -45
  7. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +14 -14
  8. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
  9. package/out/IBaseWorld.sol/IBaseWorld.json +64 -64
  10. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
  11. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +70 -0
  12. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +534 -0
  13. package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
  14. package/out/IDelegationControl.sol/IDelegationControl.json +60 -60
  15. package/out/IModule.sol/IModule.json +76 -76
  16. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +27 -27
  17. package/out/ISystemHook.sol/ISystemHook.json +82 -82
  18. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  19. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +67 -67
  20. package/out/IWorldErrors.sol/IWorldErrors.json +136 -136
  21. package/out/IWorldKernel.sol/IWorldCall.json +149 -149
  22. package/out/IWorldKernel.sol/IWorldKernel.json +149 -149
  23. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +149 -149
  24. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +175 -175
  25. package/out/KeyEncoding.sol/KeyEncoding.json +80 -80
  26. package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
  27. package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
  28. package/out/KeysInTableModule.sol/KeysInTableModule.json +534 -534
  29. package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
  30. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +996 -996
  31. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +423 -423
  32. package/out/Mixed.sol/Mixed.json +66 -66
  33. package/out/Module.sol/Module.json +73 -73
  34. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  35. package/out/Schema.sol/SchemaInstance.json +30 -30
  36. package/out/Schema.sol/SchemaLib.json +30 -30
  37. package/out/SchemaType.sol/SchemaType.json +276 -276
  38. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +300 -300
  39. package/out/StoreHook.sol/StoreHook.json +358 -358
  40. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  41. package/out/System.sol/System.json +18 -18
  42. package/out/Tables.sol/Tables.json +73 -73
  43. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +107 -107
  44. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
  45. package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
  46. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +324 -324
  47. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +81 -81
  48. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
  49. package/out/Vector2.sol/Vector2.json +52 -52
  50. package/out/WorldContext.sol/WorldContextConsumer.json +28 -28
  51. package/out/WorldContext.sol/WorldContextProvider.json +28 -28
  52. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +103 -103
  53. package/out/WorldResourceId.sol/WorldResourceIdLib.json +103 -103
  54. package/out/constants.sol/constants.json +85 -85
  55. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  56. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  57. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  58. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  59. package/out/hasKey.sol/hasKey.json +130 -130
  60. package/out/index.sol/index.json +53 -53
  61. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json +51 -15
  62. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +51 -15
  63. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +244 -171
  64. package/out/interfaces/IERC165.sol/IERC165.json +27 -27
  65. package/out/interfaces/IWorldKernel.sol/IWorldCall.json +151 -151
  66. package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +151 -151
  67. package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +151 -151
  68. package/out/query.sol/query.json +1154 -1154
  69. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  70. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  71. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
  72. package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
  73. package/out/src/IStore.sol/IStore.json +886 -886
  74. package/out/src/IStore.sol/IStoreData.json +886 -886
  75. package/out/src/IStore.sol/IStoreRead.json +886 -886
  76. package/out/src/IStore.sol/IStoreRegistration.json +886 -886
  77. package/out/src/IStore.sol/IStoreWrite.json +886 -886
  78. package/out/src/Memory.sol/Memory.json +89 -89
  79. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  80. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  81. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  82. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  83. package/out/src/Schema.sol/SchemaInstance.json +787 -787
  84. package/out/src/Schema.sol/SchemaLib.json +787 -787
  85. package/out/src/Slice.sol/SliceInstance.json +429 -429
  86. package/out/src/Slice.sol/SliceLib.json +429 -429
  87. package/out/src/StoreCore.sol/StoreCore.json +4461 -4461
  88. package/out/src/StoreCore.sol/StoreCoreInternal.json +4461 -4461
  89. package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
  90. package/out/src/WorldContext.sol/WorldContextConsumer.json +353 -353
  91. package/out/src/WorldContext.sol/WorldContextProvider.json +353 -353
  92. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
  93. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
  94. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  95. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  96. package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
  97. package/out/tables/Tables.sol/Tables.json +7288 -7288
  98. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
  99. package/out/types.sol/types.json +131 -23
  100. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  101. package/package.json +8 -8
  102. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json +0 -33
  103. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json.d.ts +0 -34
  104. package/out/ICallBatchSystem.sol/ICallBatchSystem.json +0 -334
@@ -10,17 +10,17 @@
10
10
  },
11
11
  "ast": {
12
12
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/revertWithBytes.sol",
13
- "id": 33719,
13
+ "id": 33738,
14
14
  "exportedSymbols": {
15
15
  "revertWithBytes": [
16
- 33718
16
+ 33737
17
17
  ]
18
18
  },
19
19
  "nodeType": "SourceUnit",
20
20
  "src": "32:368:50",
21
21
  "nodes": [
22
22
  {
23
- "id": 33710,
23
+ "id": 33729,
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": 33718,
35
+ "id": 33737,
36
36
  "nodeType": "FunctionDefinition",
37
37
  "src": "182:217:50",
38
38
  "nodes": [],
39
39
  "body": {
40
- "id": 33717,
40
+ "id": 33736,
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": 33713,
120
+ "declaration": 33732,
121
121
  "isOffset": false,
122
122
  "isSlot": false,
123
123
  "src": "364:6:50",
124
124
  "valueSize": 1
125
125
  },
126
126
  {
127
- "declaration": 33713,
127
+ "declaration": 33732,
128
128
  "isOffset": false,
129
129
  "isSlot": false,
130
130
  "src": "385:6:50",
131
131
  "valueSize": 1
132
132
  }
133
133
  ],
134
- "id": 33716,
134
+ "id": 33735,
135
135
  "nodeType": "InlineAssembly",
136
136
  "src": "237:160:50"
137
137
  }
138
138
  ]
139
139
  },
140
140
  "documentation": {
141
- "id": 33711,
141
+ "id": 33730,
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": 33714,
152
+ "id": 33733,
153
153
  "nodeType": "ParameterList",
154
154
  "parameters": [
155
155
  {
156
156
  "constant": false,
157
- "id": 33713,
157
+ "id": 33732,
158
158
  "mutability": "mutable",
159
159
  "name": "reason",
160
160
  "nameLocation": "220:6:50",
161
161
  "nodeType": "VariableDeclaration",
162
- "scope": 33718,
162
+ "scope": 33737,
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": 33712,
171
+ "id": 33731,
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": 33715,
186
+ "id": 33734,
187
187
  "nodeType": "ParameterList",
188
188
  "parameters": [],
189
189
  "src": "233:0:50"
190
190
  },
191
- "scope": 33719,
191
+ "scope": 33738,
192
192
  "stateMutability": "pure",
193
193
  "virtual": false,
194
194
  "visibility": "internal"