@latticexyz/world-modules 2.0.0-next.10 → 2.0.0-next.11
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/out/AccessControl.sol/AccessControl.abi.json +1 -0
- package/out/AccessControl.sol/AccessControl.json +1651 -0
- package/out/ArrayLib.sol/ArrayLib.json +477 -477
- package/out/Balances.sol/Balances.abi.json +1 -0
- package/out/Balances.sol/Balances.json +13002 -0
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +354 -354
- package/out/CallboundDelegations.sol/CallboundDelegations.json +4497 -4497
- package/out/DelegationControl.sol/DelegationControl.json +139 -139
- package/out/FunctionSelectors.sol/FunctionSelectors.abi.json +1 -0
- package/out/FunctionSelectors.sol/FunctionSelectors.json +17874 -0
- package/out/Hooks.sol/Hooks.json +45 -45
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +18 -18
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
- package/out/IBaseWorld.sol/IBaseWorld.json +85 -85
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +15 -15
- package/out/IDelegationControl.sol/IDelegationControl.json +11 -11
- package/out/ISystemHook.sol/ISystemHook.json +16 -16
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +25 -25
- package/out/IWorldErrors.sol/IWorldErrors.json +19 -19
- package/out/IWorldKernel.sol/IWorldCall.json +14 -14
- package/out/IWorldKernel.sol/IWorldKernel.json +14 -14
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +14 -14
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +43 -43
- package/out/KeysInTable.sol/KeysInTable.json +18190 -18190
- package/out/KeysInTableHook.sol/KeysInTableHook.json +1407 -1407
- package/out/KeysInTableModule.sol/KeysInTableModule.json +842 -842
- package/out/KeysWithValue.sol/KeysWithValue.json +6631 -6631
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1561 -1561
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +654 -654
- package/out/Module.sol/Module.json +119 -119
- package/out/NamespaceOwner.sol/NamespaceOwner.abi.json +1 -0
- package/out/NamespaceOwner.sol/NamespaceOwner.json +13016 -0
- package/out/ResourceAccess.sol/ResourceAccess.abi.json +1 -0
- package/out/ResourceAccess.sol/ResourceAccess.json +17296 -0
- 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 +729 -729
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +452 -452
- package/out/StoreHook.sol/StoreHook.json +639 -639
- package/out/StoreHooks.sol/StoreHooks.json +45 -45
- package/out/System.sol/System.json +32 -32
- package/out/SystemHooks.sol/SystemHooks.abi.json +1 -0
- package/out/SystemHooks.sol/SystemHooks.json +32460 -0
- package/out/SystemSwitch.sol/SystemSwitch.abi.json +1 -0
- package/out/SystemSwitch.sol/SystemSwitch.json +2879 -0
- package/out/Systems.sol/Systems.abi.json +1 -0
- package/out/Systems.sol/Systems.json +18508 -0
- package/out/Tables.sol/Tables.json +73 -73
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +187 -187
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3474 -3474
- package/out/UniqueEntity.sol/UniqueEntity.json +2345 -2345
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +486 -486
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +132 -132
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4590 -4590
- package/out/WorldContext.sol/WorldContextConsumer.json +14 -14
- package/out/WorldContext.sol/WorldContextConsumerLib.json +14 -14
- package/out/WorldContext.sol/WorldContextProviderLib.json +14 -14
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +107 -107
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +107 -107
- package/out/constants.sol/constants.json +477 -194
- 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 +389 -240
- package/out/hasKey.sol/hasKey.json +215 -215
- package/out/index.sol/index.json +73 -73
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +175 -175
- package/out/query.sol/query.json +1892 -1892
- package/out/revertWithBytes.sol/revertWithBytes.json +52 -52
- package/out/src/Bytes.sol/Bytes.json +3766 -3766
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +1204 -1204
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +1204 -1204
- package/out/src/Hook.sol/HookInstance.abi.json +1 -0
- package/out/src/Hook.sol/HookInstance.json +2823 -0
- package/out/src/Hook.sol/HookLib.abi.json +1 -0
- package/out/src/Hook.sol/HookLib.json +2823 -0
- package/out/src/IStore.sol/IStore.json +73 -73
- package/out/src/ISystemHook.sol/ISystemHook.abi.json +67 -0
- package/out/src/ISystemHook.sol/ISystemHook.abi.json.d.ts +68 -0
- package/out/src/ISystemHook.sol/ISystemHook.json +852 -0
- package/out/src/IWorldErrors.sol/IWorldErrors.abi.json +189 -0
- package/out/src/IWorldErrors.sol/IWorldErrors.abi.json.d.ts +190 -0
- package/out/src/IWorldErrors.sol/IWorldErrors.json +1463 -0
- package/out/src/IWorldKernel.sol/IWorldCall.json +262 -262
- package/out/src/IWorldKernel.sol/IWorldKernel.json +262 -262
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +262 -262
- package/out/src/Memory.sol/Memory.json +242 -242
- package/out/src/PackedCounter.sol/PackedCounterInstance.json +1633 -1633
- package/out/src/PackedCounter.sol/PackedCounterLib.json +1633 -1633
- package/out/src/ResourceId.sol/ResourceIdInstance.json +206 -206
- package/out/src/ResourceId.sol/ResourceIdLib.json +206 -206
- package/out/src/Schema.sol/SchemaInstance.json +1351 -1351
- package/out/src/Schema.sol/SchemaLib.json +1351 -1351
- package/out/src/Slice.sol/SliceInstance.json +802 -802
- package/out/src/Slice.sol/SliceLib.json +802 -802
- package/out/src/StoreCore.sol/StoreCore.json +7412 -7412
- package/out/src/StoreCore.sol/StoreCoreInternal.json +7412 -7412
- package/out/src/StoreSwitch.sol/StoreSwitch.json +4064 -4064
- package/out/src/WorldContext.sol/WorldContextConsumer.json +805 -805
- package/out/src/WorldContext.sol/WorldContextConsumerLib.json +807 -807
- package/out/src/WorldContext.sol/WorldContextProviderLib.json +807 -807
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +813 -813
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +813 -813
- package/out/storeHookTypes.sol/storeHookTypes.json +204 -204
- package/out/storeResourceTypes.sol/storeResourceTypes.json +23 -23
- package/out/systemHookTypes.sol/systemHookTypes.json +270 -0
- package/out/tables/ResourceIds.sol/ResourceIds.json +2922 -2922
- package/out/tables/Tables.sol/Tables.json +12189 -12189
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +6883 -6883
- package/out/types.sol/types.json +71 -71
- package/out/worldResourceTypes.sol/worldResourceTypes.json +92 -92
- package/package.json +8 -8
- package/src/modules/uniqueentity/getUniqueEntity.sol +5 -3
- package/src/utils/SystemSwitch.sol +82 -0
@@ -10,19 +10,19 @@
|
|
10
10
|
},
|
11
11
|
"ast": {
|
12
12
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/revertWithBytes.sol",
|
13
|
-
"id":
|
13
|
+
"id": 26726,
|
14
14
|
"exportedSymbols": {
|
15
15
|
"revertWithBytes": [
|
16
|
-
|
16
|
+
26725
|
17
17
|
]
|
18
18
|
},
|
19
19
|
"nodeType": "SourceUnit",
|
20
|
-
"src": "32:687:
|
20
|
+
"src": "32:687:52",
|
21
21
|
"nodes": [
|
22
22
|
{
|
23
|
-
"id":
|
23
|
+
"id": 26717,
|
24
24
|
"nodeType": "PragmaDirective",
|
25
|
-
"src": "32:25:
|
25
|
+
"src": "32:25:52",
|
26
26
|
"nodes": [],
|
27
27
|
"literals": [
|
28
28
|
"solidity",
|
@@ -32,21 +32,21 @@
|
|
32
32
|
]
|
33
33
|
},
|
34
34
|
{
|
35
|
-
"id":
|
35
|
+
"id": 26725,
|
36
36
|
"nodeType": "FunctionDefinition",
|
37
|
-
"src": "501:217:
|
37
|
+
"src": "501:217:52",
|
38
38
|
"nodes": [],
|
39
39
|
"body": {
|
40
|
-
"id":
|
40
|
+
"id": 26724,
|
41
41
|
"nodeType": "Block",
|
42
|
-
"src": "552:166:
|
42
|
+
"src": "552:166:52",
|
43
43
|
"nodes": [],
|
44
44
|
"statements": [
|
45
45
|
{
|
46
46
|
"AST": {
|
47
|
-
"nativeSrc": "565:151:
|
47
|
+
"nativeSrc": "565:151:52",
|
48
48
|
"nodeType": "YulBlock",
|
49
|
-
"src": "565:151:
|
49
|
+
"src": "565:151:52",
|
50
50
|
"statements": [
|
51
51
|
{
|
52
52
|
"expression": {
|
@@ -55,112 +55,112 @@
|
|
55
55
|
"arguments": [
|
56
56
|
{
|
57
57
|
"name": "reason",
|
58
|
-
"nativeSrc": "683:6:
|
58
|
+
"nativeSrc": "683:6:52",
|
59
59
|
"nodeType": "YulIdentifier",
|
60
|
-
"src": "683:6:
|
60
|
+
"src": "683:6:52"
|
61
61
|
},
|
62
62
|
{
|
63
63
|
"kind": "number",
|
64
|
-
"nativeSrc": "691:4:
|
64
|
+
"nativeSrc": "691:4:52",
|
65
65
|
"nodeType": "YulLiteral",
|
66
|
-
"src": "691:4:
|
66
|
+
"src": "691:4:52",
|
67
67
|
"type": "",
|
68
68
|
"value": "0x20"
|
69
69
|
}
|
70
70
|
],
|
71
71
|
"functionName": {
|
72
72
|
"name": "add",
|
73
|
-
"nativeSrc": "679:3:
|
73
|
+
"nativeSrc": "679:3:52",
|
74
74
|
"nodeType": "YulIdentifier",
|
75
|
-
"src": "679:3:
|
75
|
+
"src": "679:3:52"
|
76
76
|
},
|
77
|
-
"nativeSrc": "679:17:
|
77
|
+
"nativeSrc": "679:17:52",
|
78
78
|
"nodeType": "YulFunctionCall",
|
79
|
-
"src": "679:17:
|
79
|
+
"src": "679:17:52"
|
80
80
|
},
|
81
81
|
{
|
82
82
|
"arguments": [
|
83
83
|
{
|
84
84
|
"name": "reason",
|
85
|
-
"nativeSrc": "704:6:
|
85
|
+
"nativeSrc": "704:6:52",
|
86
86
|
"nodeType": "YulIdentifier",
|
87
|
-
"src": "704:6:
|
87
|
+
"src": "704:6:52"
|
88
88
|
}
|
89
89
|
],
|
90
90
|
"functionName": {
|
91
91
|
"name": "mload",
|
92
|
-
"nativeSrc": "698:5:
|
92
|
+
"nativeSrc": "698:5:52",
|
93
93
|
"nodeType": "YulIdentifier",
|
94
|
-
"src": "698:5:
|
94
|
+
"src": "698:5:52"
|
95
95
|
},
|
96
|
-
"nativeSrc": "698:13:
|
96
|
+
"nativeSrc": "698:13:52",
|
97
97
|
"nodeType": "YulFunctionCall",
|
98
|
-
"src": "698:13:
|
98
|
+
"src": "698:13:52"
|
99
99
|
}
|
100
100
|
],
|
101
101
|
"functionName": {
|
102
102
|
"name": "revert",
|
103
|
-
"nativeSrc": "672:6:
|
103
|
+
"nativeSrc": "672:6:52",
|
104
104
|
"nodeType": "YulIdentifier",
|
105
|
-
"src": "672:6:
|
105
|
+
"src": "672:6:52"
|
106
106
|
},
|
107
|
-
"nativeSrc": "672:40:
|
107
|
+
"nativeSrc": "672:40:52",
|
108
108
|
"nodeType": "YulFunctionCall",
|
109
|
-
"src": "672:40:
|
109
|
+
"src": "672:40:52"
|
110
110
|
},
|
111
|
-
"nativeSrc": "672:40:
|
111
|
+
"nativeSrc": "672:40:52",
|
112
112
|
"nodeType": "YulExpressionStatement",
|
113
|
-
"src": "672:40:
|
113
|
+
"src": "672:40:52"
|
114
114
|
}
|
115
115
|
]
|
116
116
|
},
|
117
117
|
"evmVersion": "paris",
|
118
118
|
"externalReferences": [
|
119
119
|
{
|
120
|
-
"declaration":
|
120
|
+
"declaration": 26720,
|
121
121
|
"isOffset": false,
|
122
122
|
"isSlot": false,
|
123
|
-
"src": "683:6:
|
123
|
+
"src": "683:6:52",
|
124
124
|
"valueSize": 1
|
125
125
|
},
|
126
126
|
{
|
127
|
-
"declaration":
|
127
|
+
"declaration": 26720,
|
128
128
|
"isOffset": false,
|
129
129
|
"isSlot": false,
|
130
|
-
"src": "704:6:
|
130
|
+
"src": "704:6:52",
|
131
131
|
"valueSize": 1
|
132
132
|
}
|
133
133
|
],
|
134
|
-
"id":
|
134
|
+
"id": 26723,
|
135
135
|
"nodeType": "InlineAssembly",
|
136
|
-
"src": "556:160:
|
136
|
+
"src": "556:160:52"
|
137
137
|
}
|
138
138
|
]
|
139
139
|
},
|
140
140
|
"documentation": {
|
141
|
-
"id":
|
141
|
+
"id": 26718,
|
142
142
|
"nodeType": "StructuredDocumentation",
|
143
|
-
"src": "287:213:
|
143
|
+
"src": "287:213:52",
|
144
144
|
"text": " @notice Reverts the transaction using the provided raw bytes as the revert reason.\n @dev Uses assembly to perform the revert operation with the raw bytes.\n @param reason The raw bytes revert reason."
|
145
145
|
},
|
146
146
|
"implemented": true,
|
147
147
|
"kind": "freeFunction",
|
148
148
|
"modifiers": [],
|
149
149
|
"name": "revertWithBytes",
|
150
|
-
"nameLocation": "510:15:
|
150
|
+
"nameLocation": "510:15:52",
|
151
151
|
"parameters": {
|
152
|
-
"id":
|
152
|
+
"id": 26721,
|
153
153
|
"nodeType": "ParameterList",
|
154
154
|
"parameters": [
|
155
155
|
{
|
156
156
|
"constant": false,
|
157
|
-
"id":
|
157
|
+
"id": 26720,
|
158
158
|
"mutability": "mutable",
|
159
159
|
"name": "reason",
|
160
|
-
"nameLocation": "539:6:
|
160
|
+
"nameLocation": "539:6:52",
|
161
161
|
"nodeType": "VariableDeclaration",
|
162
|
-
"scope":
|
163
|
-
"src": "526:19:
|
162
|
+
"scope": 26725,
|
163
|
+
"src": "526:19:52",
|
164
164
|
"stateVariable": false,
|
165
165
|
"storageLocation": "memory",
|
166
166
|
"typeDescriptions": {
|
@@ -168,10 +168,10 @@
|
|
168
168
|
"typeString": "bytes"
|
169
169
|
},
|
170
170
|
"typeName": {
|
171
|
-
"id":
|
171
|
+
"id": 26719,
|
172
172
|
"name": "bytes",
|
173
173
|
"nodeType": "ElementaryTypeName",
|
174
|
-
"src": "526:5:
|
174
|
+
"src": "526:5:52",
|
175
175
|
"typeDescriptions": {
|
176
176
|
"typeIdentifier": "t_bytes_storage_ptr",
|
177
177
|
"typeString": "bytes"
|
@@ -180,15 +180,15 @@
|
|
180
180
|
"visibility": "internal"
|
181
181
|
}
|
182
182
|
],
|
183
|
-
"src": "525:21:
|
183
|
+
"src": "525:21:52"
|
184
184
|
},
|
185
185
|
"returnParameters": {
|
186
|
-
"id":
|
186
|
+
"id": 26722,
|
187
187
|
"nodeType": "ParameterList",
|
188
188
|
"parameters": [],
|
189
|
-
"src": "552:0:
|
189
|
+
"src": "552:0:52"
|
190
190
|
},
|
191
|
-
"scope":
|
191
|
+
"scope": 26726,
|
192
192
|
"stateMutability": "pure",
|
193
193
|
"virtual": false,
|
194
194
|
"visibility": "internal"
|
@@ -196,5 +196,5 @@
|
|
196
196
|
],
|
197
197
|
"license": "MIT"
|
198
198
|
},
|
199
|
-
"id":
|
199
|
+
"id": 52
|
200
200
|
}
|