@latticexyz/world-modules 2.0.0-main-251170e1 → 2.0.0-main-5741d53d
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.
- package/dist/mud.config.js +1 -1
- package/dist/mud.config.js.map +1 -1
- package/out/ArrayLib.sol/ArrayLib.json +477 -477
- package/out/Callbacks.sol/Callbacks.json +45 -45
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +350 -350
- package/out/CallboundDelegations.sol/CallboundDelegations.json +4497 -4497
- package/out/DelegationControl.sol/DelegationControl.json +83 -83
- package/out/Hooks.sol/Hooks.json +45 -45
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +111 -111
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +96 -96
- package/out/IBaseWorld.sol/IBaseWorld.abi.json +0 -13
- package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +0 -13
- package/out/IBaseWorld.sol/IBaseWorld.json +81 -161
- package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
- package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +70 -0
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +534 -0
- package/out/ICoreSystem.sol/ICoreSystem.json +15 -15
- package/out/IDelegationControl.sol/IDelegationControl.json +100 -100
- package/out/IModule.sol/IModule.json +139 -139
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +58 -58
- package/out/ISystemHook.sol/ISystemHook.json +141 -141
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +2 -2
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +2 -2
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +37 -37
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +118 -118
- package/out/IWorldErrors.sol/IWorldErrors.json +257 -257
- package/out/IWorldKernel.sol/IWorldCall.json +251 -251
- package/out/IWorldKernel.sol/IWorldKernel.json +251 -251
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +251 -251
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +321 -321
- package/out/KeyEncoding.sol/KeyEncoding.json +80 -80
- package/out/KeysInTable.sol/KeysInTable.json +18190 -18190
- package/out/KeysInTableHook.sol/KeysInTableHook.json +1407 -1407
- package/out/KeysInTableModule.sol/KeysInTableModule.json +885 -885
- package/out/KeysWithValue.sol/KeysWithValue.json +6631 -6631
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1604 -1604
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +700 -700
- package/out/Mixed.sol/Mixed.json +66 -66
- package/out/Module.sol/Module.json +73 -73
- package/out/ResourceIds.sol/ResourceIds.json +45 -45
- package/out/Schema.sol/SchemaInstance.json +30 -30
- package/out/Schema.sol/SchemaLib.json +30 -30
- package/out/SchemaType.sol/SchemaType.json +276 -276
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +495 -495
- package/out/StoreHook.sol/StoreHook.json +358 -358
- package/out/StoreHooks.sol/StoreHooks.json +45 -45
- package/out/System.sol/System.json +19 -19
- package/out/Tables.sol/Tables.json +73 -73
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +183 -183
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3474 -3474
- package/out/UniqueEntity.sol/UniqueEntity.json +2345 -2345
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +529 -529
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +128 -128
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4588 -4588
- package/out/Vector2.sol/Vector2.json +52 -52
- package/out/WorldContext.sol/WorldContextConsumer.json +28 -28
- package/out/WorldContext.sol/WorldContextProvider.json +28 -28
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +103 -103
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +103 -103
- package/out/constants.sol/constants.json +142 -142
- package/out/getKeysInTable.sol/getKeysInTable.json +918 -918
- package/out/getKeysWithValue.sol/getKeysWithValue.json +431 -431
- package/out/getTargetTableId.sol/getTargetTableId.json +272 -272
- package/out/getUniqueEntity.sol/getUniqueEntity.json +149 -149
- package/out/hasKey.sol/hasKey.json +215 -215
- package/out/index.sol/index.json +73 -73
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json +51 -15
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +51 -15
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +326 -253
- package/out/interfaces/IERC165.sol/IERC165.json +50 -50
- package/out/interfaces/IWorldKernel.sol/IWorldCall.json +149 -149
- package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +149 -149
- package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +149 -149
- package/out/query.sol/query.json +1892 -1892
- package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
- package/out/src/Bytes.sol/Bytes.json +1332 -1332
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
- package/out/src/IStore.sol/IStore.json +885 -885
- package/out/src/IStore.sol/IStoreData.json +885 -885
- package/out/src/IStore.sol/IStoreRead.json +885 -885
- package/out/src/IStore.sol/IStoreRegistration.json +885 -885
- package/out/src/IStore.sol/IStoreWrite.json +885 -885
- package/out/src/Memory.sol/Memory.json +89 -89
- package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
- package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
- package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
- package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
- package/out/src/Schema.sol/SchemaInstance.json +787 -787
- package/out/src/Schema.sol/SchemaLib.json +787 -787
- package/out/src/Slice.sol/SliceInstance.json +429 -429
- package/out/src/Slice.sol/SliceLib.json +429 -429
- package/out/src/StoreCore.sol/StoreCore.json +4461 -4461
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4461 -4461
- package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
- package/out/src/WorldContext.sol/WorldContextConsumer.json +353 -353
- package/out/src/WorldContext.sol/WorldContextProvider.json +353 -353
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
- package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
- package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
- package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
- package/out/tables/Tables.sol/Tables.json +7288 -7288
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
- package/out/types.sol/types.json +131 -23
- package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
- package/package.json +8 -8
- package/src/interfaces/IBaseWorld.sol +1 -3
- package/src/interfaces/IUniqueEntitySystem.sol +2 -3
- package/src/modules/keysintable/KeysInTableModule.sol +1 -1
- package/src/modules/keyswithvalue/KeysWithValueHook.sol +1 -1
- package/src/modules/keyswithvalue/KeysWithValueModule.sol +1 -1
- package/src/modules/std-delegations/StandardDelegationsModule.sol +1 -1
- package/src/modules/uniqueentity/UniqueEntityModule.sol +1 -1
- package/src/modules/uniqueentity/getUniqueEntity.sol +2 -2
- package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json +0 -33
- package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json.d.ts +0 -34
- package/out/ICallBatchSystem.sol/ICallBatchSystem.json +0 -334
- package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +0 -15
- package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +0 -16
- package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +0 -197
@@ -2,11 +2,11 @@
|
|
2
2
|
"abi": [
|
3
3
|
{
|
4
4
|
"inputs": [],
|
5
|
-
"name": "
|
5
|
+
"name": "uniqueEntity_system_getUniqueEntity",
|
6
6
|
"outputs": [
|
7
7
|
{
|
8
8
|
"internalType": "bytes32",
|
9
|
-
"name": "",
|
9
|
+
"name": "uniqueEntity",
|
10
10
|
"type": "bytes32"
|
11
11
|
}
|
12
12
|
],
|
@@ -25,9 +25,9 @@
|
|
25
25
|
"linkReferences": {}
|
26
26
|
},
|
27
27
|
"methodIdentifiers": {
|
28
|
-
"
|
28
|
+
"uniqueEntity_system_getUniqueEntity()": "8459353e"
|
29
29
|
},
|
30
|
-
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"
|
30
|
+
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"uniqueEntity_system_getUniqueEntity\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"uniqueEntity\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/interfaces/IUniqueEntitySystem.sol\":\"IUniqueEntitySystem\"},\"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\":{\"src/interfaces/IUniqueEntitySystem.sol\":{\"keccak256\":\"0x522fec5a5d0005c6902235f49e9c59570c158ff470472d91afb81c8934d1f8b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c65e929a0196d5333f3642a62c21334df295fbdac98660e4ace31ad9d2a22cea\",\"dweb:/ipfs/QmeLXDZrnMQKaBF6nALVsV6HyutugrsCQaqch64YnZ69ya\"]}},\"version\":1}",
|
31
31
|
"metadata": {
|
32
32
|
"compiler": {
|
33
33
|
"version": "0.8.21+commit.d9974bed"
|
@@ -39,11 +39,11 @@
|
|
39
39
|
"inputs": [],
|
40
40
|
"stateMutability": "nonpayable",
|
41
41
|
"type": "function",
|
42
|
-
"name": "
|
42
|
+
"name": "uniqueEntity_system_getUniqueEntity",
|
43
43
|
"outputs": [
|
44
44
|
{
|
45
45
|
"internalType": "bytes32",
|
46
|
-
"name": "",
|
46
|
+
"name": "uniqueEntity",
|
47
47
|
"type": "bytes32"
|
48
48
|
}
|
49
49
|
]
|
@@ -80,10 +80,10 @@
|
|
80
80
|
},
|
81
81
|
"sources": {
|
82
82
|
"src/interfaces/IUniqueEntitySystem.sol": {
|
83
|
-
"keccak256": "
|
83
|
+
"keccak256": "0x522fec5a5d0005c6902235f49e9c59570c158ff470472d91afb81c8934d1f8b9",
|
84
84
|
"urls": [
|
85
|
-
"bzz-raw://
|
86
|
-
"dweb:/ipfs/
|
85
|
+
"bzz-raw://c65e929a0196d5333f3642a62c21334df295fbdac98660e4ace31ad9d2a22cea",
|
86
|
+
"dweb:/ipfs/QmeLXDZrnMQKaBF6nALVsV6HyutugrsCQaqch64YnZ69ya"
|
87
87
|
],
|
88
88
|
"license": "MIT"
|
89
89
|
}
|
@@ -92,19 +92,19 @@
|
|
92
92
|
},
|
93
93
|
"ast": {
|
94
94
|
"absolutePath": "src/interfaces/IUniqueEntitySystem.sol",
|
95
|
-
"id":
|
95
|
+
"id": 49464,
|
96
96
|
"exportedSymbols": {
|
97
97
|
"IUniqueEntitySystem": [
|
98
|
-
|
98
|
+
49463
|
99
99
|
]
|
100
100
|
},
|
101
101
|
"nodeType": "SourceUnit",
|
102
|
-
"src": "32:
|
102
|
+
"src": "32:233:112",
|
103
103
|
"nodes": [
|
104
104
|
{
|
105
|
-
"id":
|
105
|
+
"id": 49457,
|
106
106
|
"nodeType": "PragmaDirective",
|
107
|
-
"src": "32:25:
|
107
|
+
"src": "32:25:112",
|
108
108
|
"nodes": [],
|
109
109
|
"literals": [
|
110
110
|
"solidity",
|
@@ -114,40 +114,40 @@
|
|
114
114
|
]
|
115
115
|
},
|
116
116
|
{
|
117
|
-
"id":
|
117
|
+
"id": 49463,
|
118
118
|
"nodeType": "ContractDefinition",
|
119
|
-
"src": "
|
119
|
+
"src": "141:123:112",
|
120
120
|
"nodes": [
|
121
121
|
{
|
122
|
-
"id":
|
122
|
+
"id": 49462,
|
123
123
|
"nodeType": "FunctionDefinition",
|
124
|
-
"src": "
|
124
|
+
"src": "175:87:112",
|
125
125
|
"nodes": [],
|
126
|
-
"functionSelector": "
|
126
|
+
"functionSelector": "8459353e",
|
127
127
|
"implemented": false,
|
128
128
|
"kind": "function",
|
129
129
|
"modifiers": [],
|
130
|
-
"name": "
|
131
|
-
"nameLocation": "
|
130
|
+
"name": "uniqueEntity_system_getUniqueEntity",
|
131
|
+
"nameLocation": "184:35:112",
|
132
132
|
"parameters": {
|
133
|
-
"id":
|
133
|
+
"id": 49458,
|
134
134
|
"nodeType": "ParameterList",
|
135
135
|
"parameters": [],
|
136
|
-
"src": "
|
136
|
+
"src": "219:2:112"
|
137
137
|
},
|
138
138
|
"returnParameters": {
|
139
|
-
"id":
|
139
|
+
"id": 49461,
|
140
140
|
"nodeType": "ParameterList",
|
141
141
|
"parameters": [
|
142
142
|
{
|
143
143
|
"constant": false,
|
144
|
-
"id":
|
144
|
+
"id": 49460,
|
145
145
|
"mutability": "mutable",
|
146
|
-
"name": "",
|
147
|
-
"nameLocation": "
|
146
|
+
"name": "uniqueEntity",
|
147
|
+
"nameLocation": "248:12:112",
|
148
148
|
"nodeType": "VariableDeclaration",
|
149
|
-
"scope":
|
150
|
-
"src": "
|
149
|
+
"scope": 49462,
|
150
|
+
"src": "240:20:112",
|
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":
|
158
|
+
"id": 49459,
|
159
159
|
"name": "bytes32",
|
160
160
|
"nodeType": "ElementaryTypeName",
|
161
|
-
"src": "
|
161
|
+
"src": "240:7:112",
|
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": "
|
170
|
+
"src": "239:22:112"
|
171
171
|
},
|
172
|
-
"scope":
|
172
|
+
"scope": 49463,
|
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
|
-
|
185
|
+
49463
|
186
186
|
],
|
187
187
|
"name": "IUniqueEntitySystem",
|
188
|
-
"nameLocation": "
|
189
|
-
"scope":
|
188
|
+
"nameLocation": "151:19:112",
|
189
|
+
"scope": 49464,
|
190
190
|
"usedErrors": [],
|
191
191
|
"usedEvents": []
|
192
192
|
}
|
193
193
|
],
|
194
194
|
"license": "MIT"
|
195
195
|
},
|
196
|
-
"id":
|
196
|
+
"id": 112
|
197
197
|
}
|