@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.
- package/out/ArrayLib.sol/ArrayLib.json +255 -255
- package/out/Callbacks.sol/Callbacks.json +45 -45
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +203 -203
- package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
- package/out/DelegationControl.sol/DelegationControl.json +83 -83
- package/out/Hooks.sol/Hooks.json +45 -45
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +14 -14
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
- package/out/IBaseWorld.sol/IBaseWorld.json +64 -64
- 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 +6 -6
- package/out/IDelegationControl.sol/IDelegationControl.json +60 -60
- package/out/IModule.sol/IModule.json +76 -76
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +27 -27
- package/out/ISystemHook.sol/ISystemHook.json +82 -82
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +67 -67
- package/out/IWorldErrors.sol/IWorldErrors.json +136 -136
- package/out/IWorldKernel.sol/IWorldCall.json +149 -149
- package/out/IWorldKernel.sol/IWorldKernel.json +149 -149
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +149 -149
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +175 -175
- package/out/KeyEncoding.sol/KeyEncoding.json +80 -80
- package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
- package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
- package/out/KeysInTableModule.sol/KeysInTableModule.json +534 -534
- package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +996 -996
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +423 -423
- 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 +300 -300
- package/out/StoreHook.sol/StoreHook.json +358 -358
- package/out/StoreHooks.sol/StoreHooks.json +45 -45
- package/out/System.sol/System.json +18 -18
- package/out/Tables.sol/Tables.json +73 -73
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +107 -107
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
- package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +324 -324
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +81 -81
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
- 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 +85 -85
- package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
- package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
- package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
- package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
- package/out/hasKey.sol/hasKey.json +130 -130
- package/out/index.sol/index.json +53 -53
- 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 +244 -171
- package/out/interfaces/IERC165.sol/IERC165.json +27 -27
- package/out/interfaces/IWorldKernel.sol/IWorldCall.json +151 -151
- package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +151 -151
- package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +151 -151
- package/out/query.sol/query.json +1154 -1154
- 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 +886 -886
- package/out/src/IStore.sol/IStoreData.json +886 -886
- package/out/src/IStore.sol/IStoreRead.json +886 -886
- package/out/src/IStore.sol/IStoreRegistration.json +886 -886
- package/out/src/IStore.sol/IStoreWrite.json +886 -886
- 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/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
@@ -0,0 +1,534 @@
|
|
1
|
+
{
|
2
|
+
"abi": [
|
3
|
+
{
|
4
|
+
"inputs": [
|
5
|
+
{
|
6
|
+
"components": [
|
7
|
+
{
|
8
|
+
"internalType": "ResourceId",
|
9
|
+
"name": "systemId",
|
10
|
+
"type": "bytes32"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"internalType": "bytes",
|
14
|
+
"name": "callData",
|
15
|
+
"type": "bytes"
|
16
|
+
}
|
17
|
+
],
|
18
|
+
"internalType": "struct SystemCallData[]",
|
19
|
+
"name": "systemCalls",
|
20
|
+
"type": "tuple[]"
|
21
|
+
}
|
22
|
+
],
|
23
|
+
"name": "batchCall",
|
24
|
+
"outputs": [
|
25
|
+
{
|
26
|
+
"internalType": "bytes[]",
|
27
|
+
"name": "returnDatas",
|
28
|
+
"type": "bytes[]"
|
29
|
+
}
|
30
|
+
],
|
31
|
+
"stateMutability": "nonpayable",
|
32
|
+
"type": "function"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"inputs": [
|
36
|
+
{
|
37
|
+
"components": [
|
38
|
+
{
|
39
|
+
"internalType": "address",
|
40
|
+
"name": "from",
|
41
|
+
"type": "address"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"internalType": "ResourceId",
|
45
|
+
"name": "systemId",
|
46
|
+
"type": "bytes32"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"internalType": "bytes",
|
50
|
+
"name": "callData",
|
51
|
+
"type": "bytes"
|
52
|
+
}
|
53
|
+
],
|
54
|
+
"internalType": "struct SystemCallFromData[]",
|
55
|
+
"name": "systemCalls",
|
56
|
+
"type": "tuple[]"
|
57
|
+
}
|
58
|
+
],
|
59
|
+
"name": "batchCallFrom",
|
60
|
+
"outputs": [
|
61
|
+
{
|
62
|
+
"internalType": "bytes[]",
|
63
|
+
"name": "returnDatas",
|
64
|
+
"type": "bytes[]"
|
65
|
+
}
|
66
|
+
],
|
67
|
+
"stateMutability": "nonpayable",
|
68
|
+
"type": "function"
|
69
|
+
}
|
70
|
+
],
|
71
|
+
"bytecode": {
|
72
|
+
"object": "0x",
|
73
|
+
"sourceMap": "",
|
74
|
+
"linkReferences": {}
|
75
|
+
},
|
76
|
+
"deployedBytecode": {
|
77
|
+
"object": "0x",
|
78
|
+
"sourceMap": "",
|
79
|
+
"linkReferences": {}
|
80
|
+
},
|
81
|
+
"methodIdentifiers": {
|
82
|
+
"batchCall((bytes32,bytes)[])": "ce5e8dd9",
|
83
|
+
"batchCallFrom((address,bytes32,bytes)[])": "8fc8cf7e"
|
84
|
+
},
|
85
|
+
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"components\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"struct SystemCallData[]\",\"name\":\"systemCalls\",\"type\":\"tuple[]\"}],\"name\":\"batchCall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"returnDatas\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"struct SystemCallFromData[]\",\"name\":\"systemCalls\",\"type\":\"tuple[]\"}],\"name\":\"batchCallFrom\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"returnDatas\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IBatchCallSystem.sol\":\"IBatchCallSystem\"},\"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\":{\"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IBatchCallSystem.sol\":{\"keccak256\":\"0x7a787646278283d1a8dd7d264aea3a33824fc2064d57a6dc10621b9bb5399570\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87d83c3e1c9aecc0b61b359c6a6df3b0ce1e75a16127b054b14a8d044fa5d922\",\"dweb:/ipfs/QmcoRu2V1VRTYKyMnuqqeRvDRrqXQsTmK2ehKsqKUK99ui\"]},\"/home/runner/work/mud/mud/packages/world/src/modules/core/types.sol\":{\"keccak256\":\"0x8a1cdd3e028281fb61da725f2f6502df776f473fea963bd46e8101725d55d54c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://86e064413bb3f3be43fdba31be40e819283a07af3d914b27e1ec3e39b6a6440e\",\"dweb:/ipfs/QmPcUKj747S5dkV6EBNp66ojMBAW64XoGxpgsdVwPUiapm\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x4a61aefe72d6035b1e9aca7841aab44ebd26f8706bdbb447f382046fa94753b6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f715743739e4f8f8a98d78397025a92299ecb3b5dde88cc53bc1ab72bf531fa6\",\"dweb:/ipfs/QmVsYAupGWZUemE4t6xjLqztGHadQ8cyo9E4mT5ZDKUmTs\"]}},\"version\":1}",
|
86
|
+
"metadata": {
|
87
|
+
"compiler": {
|
88
|
+
"version": "0.8.21+commit.d9974bed"
|
89
|
+
},
|
90
|
+
"language": "Solidity",
|
91
|
+
"output": {
|
92
|
+
"abi": [
|
93
|
+
{
|
94
|
+
"inputs": [
|
95
|
+
{
|
96
|
+
"internalType": "struct SystemCallData[]",
|
97
|
+
"name": "systemCalls",
|
98
|
+
"type": "tuple[]",
|
99
|
+
"components": [
|
100
|
+
{
|
101
|
+
"internalType": "ResourceId",
|
102
|
+
"name": "systemId",
|
103
|
+
"type": "bytes32"
|
104
|
+
},
|
105
|
+
{
|
106
|
+
"internalType": "bytes",
|
107
|
+
"name": "callData",
|
108
|
+
"type": "bytes"
|
109
|
+
}
|
110
|
+
]
|
111
|
+
}
|
112
|
+
],
|
113
|
+
"stateMutability": "nonpayable",
|
114
|
+
"type": "function",
|
115
|
+
"name": "batchCall",
|
116
|
+
"outputs": [
|
117
|
+
{
|
118
|
+
"internalType": "bytes[]",
|
119
|
+
"name": "returnDatas",
|
120
|
+
"type": "bytes[]"
|
121
|
+
}
|
122
|
+
]
|
123
|
+
},
|
124
|
+
{
|
125
|
+
"inputs": [
|
126
|
+
{
|
127
|
+
"internalType": "struct SystemCallFromData[]",
|
128
|
+
"name": "systemCalls",
|
129
|
+
"type": "tuple[]",
|
130
|
+
"components": [
|
131
|
+
{
|
132
|
+
"internalType": "address",
|
133
|
+
"name": "from",
|
134
|
+
"type": "address"
|
135
|
+
},
|
136
|
+
{
|
137
|
+
"internalType": "ResourceId",
|
138
|
+
"name": "systemId",
|
139
|
+
"type": "bytes32"
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"internalType": "bytes",
|
143
|
+
"name": "callData",
|
144
|
+
"type": "bytes"
|
145
|
+
}
|
146
|
+
]
|
147
|
+
}
|
148
|
+
],
|
149
|
+
"stateMutability": "nonpayable",
|
150
|
+
"type": "function",
|
151
|
+
"name": "batchCallFrom",
|
152
|
+
"outputs": [
|
153
|
+
{
|
154
|
+
"internalType": "bytes[]",
|
155
|
+
"name": "returnDatas",
|
156
|
+
"type": "bytes[]"
|
157
|
+
}
|
158
|
+
]
|
159
|
+
}
|
160
|
+
],
|
161
|
+
"devdoc": {
|
162
|
+
"kind": "dev",
|
163
|
+
"methods": {},
|
164
|
+
"version": 1
|
165
|
+
},
|
166
|
+
"userdoc": {
|
167
|
+
"kind": "user",
|
168
|
+
"methods": {},
|
169
|
+
"version": 1
|
170
|
+
}
|
171
|
+
},
|
172
|
+
"settings": {
|
173
|
+
"remappings": [
|
174
|
+
"@latticexyz/=node_modules/@latticexyz/",
|
175
|
+
"ds-test/=node_modules/ds-test/src/",
|
176
|
+
"forge-std/=node_modules/forge-std/src/"
|
177
|
+
],
|
178
|
+
"optimizer": {
|
179
|
+
"enabled": true,
|
180
|
+
"runs": 3000
|
181
|
+
},
|
182
|
+
"metadata": {
|
183
|
+
"bytecodeHash": "none"
|
184
|
+
},
|
185
|
+
"compilationTarget": {
|
186
|
+
"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IBatchCallSystem.sol": "IBatchCallSystem"
|
187
|
+
},
|
188
|
+
"libraries": {}
|
189
|
+
},
|
190
|
+
"sources": {
|
191
|
+
"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IBatchCallSystem.sol": {
|
192
|
+
"keccak256": "0x7a787646278283d1a8dd7d264aea3a33824fc2064d57a6dc10621b9bb5399570",
|
193
|
+
"urls": [
|
194
|
+
"bzz-raw://87d83c3e1c9aecc0b61b359c6a6df3b0ce1e75a16127b054b14a8d044fa5d922",
|
195
|
+
"dweb:/ipfs/QmcoRu2V1VRTYKyMnuqqeRvDRrqXQsTmK2ehKsqKUK99ui"
|
196
|
+
],
|
197
|
+
"license": "MIT"
|
198
|
+
},
|
199
|
+
"/home/runner/work/mud/mud/packages/world/src/modules/core/types.sol": {
|
200
|
+
"keccak256": "0x8a1cdd3e028281fb61da725f2f6502df776f473fea963bd46e8101725d55d54c",
|
201
|
+
"urls": [
|
202
|
+
"bzz-raw://86e064413bb3f3be43fdba31be40e819283a07af3d914b27e1ec3e39b6a6440e",
|
203
|
+
"dweb:/ipfs/QmPcUKj747S5dkV6EBNp66ojMBAW64XoGxpgsdVwPUiapm"
|
204
|
+
],
|
205
|
+
"license": "MIT"
|
206
|
+
},
|
207
|
+
"node_modules/@latticexyz/store/src/ResourceId.sol": {
|
208
|
+
"keccak256": "0x4a61aefe72d6035b1e9aca7841aab44ebd26f8706bdbb447f382046fa94753b6",
|
209
|
+
"urls": [
|
210
|
+
"bzz-raw://f715743739e4f8f8a98d78397025a92299ecb3b5dde88cc53bc1ab72bf531fa6",
|
211
|
+
"dweb:/ipfs/QmVsYAupGWZUemE4t6xjLqztGHadQ8cyo9E4mT5ZDKUmTs"
|
212
|
+
],
|
213
|
+
"license": "MIT"
|
214
|
+
}
|
215
|
+
},
|
216
|
+
"version": 1
|
217
|
+
},
|
218
|
+
"ast": {
|
219
|
+
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IBatchCallSystem.sol",
|
220
|
+
"id": 33237,
|
221
|
+
"exportedSymbols": {
|
222
|
+
"IBatchCallSystem": [
|
223
|
+
33236
|
224
|
+
],
|
225
|
+
"SystemCallData": [
|
226
|
+
33719
|
227
|
+
],
|
228
|
+
"SystemCallFromData": [
|
229
|
+
33727
|
230
|
+
]
|
231
|
+
},
|
232
|
+
"nodeType": "SourceUnit",
|
233
|
+
"src": "32:416:37",
|
234
|
+
"nodes": [
|
235
|
+
{
|
236
|
+
"id": 33212,
|
237
|
+
"nodeType": "PragmaDirective",
|
238
|
+
"src": "32:25:37",
|
239
|
+
"nodes": [],
|
240
|
+
"literals": [
|
241
|
+
"solidity",
|
242
|
+
">=",
|
243
|
+
"0.8",
|
244
|
+
".21"
|
245
|
+
]
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"id": 33215,
|
249
|
+
"nodeType": "ImportDirective",
|
250
|
+
"src": "108:84:37",
|
251
|
+
"nodes": [],
|
252
|
+
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/modules/core/types.sol",
|
253
|
+
"file": "./../../modules/core/types.sol",
|
254
|
+
"nameLocation": "-1:-1:-1",
|
255
|
+
"scope": 33237,
|
256
|
+
"sourceUnit": 33728,
|
257
|
+
"symbolAliases": [
|
258
|
+
{
|
259
|
+
"foreign": {
|
260
|
+
"id": 33213,
|
261
|
+
"name": "SystemCallData",
|
262
|
+
"nodeType": "Identifier",
|
263
|
+
"overloadedDeclarations": [],
|
264
|
+
"referencedDeclaration": 33719,
|
265
|
+
"src": "117:14:37",
|
266
|
+
"typeDescriptions": {}
|
267
|
+
},
|
268
|
+
"nameLocation": "-1:-1:-1"
|
269
|
+
},
|
270
|
+
{
|
271
|
+
"foreign": {
|
272
|
+
"id": 33214,
|
273
|
+
"name": "SystemCallFromData",
|
274
|
+
"nodeType": "Identifier",
|
275
|
+
"overloadedDeclarations": [],
|
276
|
+
"referencedDeclaration": 33727,
|
277
|
+
"src": "133:18:37",
|
278
|
+
"typeDescriptions": {}
|
279
|
+
},
|
280
|
+
"nameLocation": "-1:-1:-1"
|
281
|
+
}
|
282
|
+
],
|
283
|
+
"unitAlias": ""
|
284
|
+
},
|
285
|
+
{
|
286
|
+
"id": 33236,
|
287
|
+
"nodeType": "ContractDefinition",
|
288
|
+
"src": "194:253:37",
|
289
|
+
"nodes": [
|
290
|
+
{
|
291
|
+
"id": 33225,
|
292
|
+
"nodeType": "FunctionDefinition",
|
293
|
+
"src": "225:104:37",
|
294
|
+
"nodes": [],
|
295
|
+
"functionSelector": "ce5e8dd9",
|
296
|
+
"implemented": false,
|
297
|
+
"kind": "function",
|
298
|
+
"modifiers": [],
|
299
|
+
"name": "batchCall",
|
300
|
+
"nameLocation": "234:9:37",
|
301
|
+
"parameters": {
|
302
|
+
"id": 33220,
|
303
|
+
"nodeType": "ParameterList",
|
304
|
+
"parameters": [
|
305
|
+
{
|
306
|
+
"constant": false,
|
307
|
+
"id": 33219,
|
308
|
+
"mutability": "mutable",
|
309
|
+
"name": "systemCalls",
|
310
|
+
"nameLocation": "270:11:37",
|
311
|
+
"nodeType": "VariableDeclaration",
|
312
|
+
"scope": 33225,
|
313
|
+
"src": "244:37:37",
|
314
|
+
"stateVariable": false,
|
315
|
+
"storageLocation": "calldata",
|
316
|
+
"typeDescriptions": {
|
317
|
+
"typeIdentifier": "t_array$_t_struct$_SystemCallData_$33719_calldata_ptr_$dyn_calldata_ptr",
|
318
|
+
"typeString": "struct SystemCallData[]"
|
319
|
+
},
|
320
|
+
"typeName": {
|
321
|
+
"baseType": {
|
322
|
+
"id": 33217,
|
323
|
+
"nodeType": "UserDefinedTypeName",
|
324
|
+
"pathNode": {
|
325
|
+
"id": 33216,
|
326
|
+
"name": "SystemCallData",
|
327
|
+
"nameLocations": [
|
328
|
+
"244:14:37"
|
329
|
+
],
|
330
|
+
"nodeType": "IdentifierPath",
|
331
|
+
"referencedDeclaration": 33719,
|
332
|
+
"src": "244:14:37"
|
333
|
+
},
|
334
|
+
"referencedDeclaration": 33719,
|
335
|
+
"src": "244:14:37",
|
336
|
+
"typeDescriptions": {
|
337
|
+
"typeIdentifier": "t_struct$_SystemCallData_$33719_storage_ptr",
|
338
|
+
"typeString": "struct SystemCallData"
|
339
|
+
}
|
340
|
+
},
|
341
|
+
"id": 33218,
|
342
|
+
"nodeType": "ArrayTypeName",
|
343
|
+
"src": "244:16:37",
|
344
|
+
"typeDescriptions": {
|
345
|
+
"typeIdentifier": "t_array$_t_struct$_SystemCallData_$33719_storage_$dyn_storage_ptr",
|
346
|
+
"typeString": "struct SystemCallData[]"
|
347
|
+
}
|
348
|
+
},
|
349
|
+
"visibility": "internal"
|
350
|
+
}
|
351
|
+
],
|
352
|
+
"src": "243:39:37"
|
353
|
+
},
|
354
|
+
"returnParameters": {
|
355
|
+
"id": 33224,
|
356
|
+
"nodeType": "ParameterList",
|
357
|
+
"parameters": [
|
358
|
+
{
|
359
|
+
"constant": false,
|
360
|
+
"id": 33223,
|
361
|
+
"mutability": "mutable",
|
362
|
+
"name": "returnDatas",
|
363
|
+
"nameLocation": "316:11:37",
|
364
|
+
"nodeType": "VariableDeclaration",
|
365
|
+
"scope": 33225,
|
366
|
+
"src": "301:26:37",
|
367
|
+
"stateVariable": false,
|
368
|
+
"storageLocation": "memory",
|
369
|
+
"typeDescriptions": {
|
370
|
+
"typeIdentifier": "t_array$_t_bytes_memory_ptr_$dyn_memory_ptr",
|
371
|
+
"typeString": "bytes[]"
|
372
|
+
},
|
373
|
+
"typeName": {
|
374
|
+
"baseType": {
|
375
|
+
"id": 33221,
|
376
|
+
"name": "bytes",
|
377
|
+
"nodeType": "ElementaryTypeName",
|
378
|
+
"src": "301:5:37",
|
379
|
+
"typeDescriptions": {
|
380
|
+
"typeIdentifier": "t_bytes_storage_ptr",
|
381
|
+
"typeString": "bytes"
|
382
|
+
}
|
383
|
+
},
|
384
|
+
"id": 33222,
|
385
|
+
"nodeType": "ArrayTypeName",
|
386
|
+
"src": "301:7:37",
|
387
|
+
"typeDescriptions": {
|
388
|
+
"typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr",
|
389
|
+
"typeString": "bytes[]"
|
390
|
+
}
|
391
|
+
},
|
392
|
+
"visibility": "internal"
|
393
|
+
}
|
394
|
+
],
|
395
|
+
"src": "300:28:37"
|
396
|
+
},
|
397
|
+
"scope": 33236,
|
398
|
+
"stateMutability": "nonpayable",
|
399
|
+
"virtual": false,
|
400
|
+
"visibility": "external"
|
401
|
+
},
|
402
|
+
{
|
403
|
+
"id": 33235,
|
404
|
+
"nodeType": "FunctionDefinition",
|
405
|
+
"src": "333:112:37",
|
406
|
+
"nodes": [],
|
407
|
+
"functionSelector": "8fc8cf7e",
|
408
|
+
"implemented": false,
|
409
|
+
"kind": "function",
|
410
|
+
"modifiers": [],
|
411
|
+
"name": "batchCallFrom",
|
412
|
+
"nameLocation": "342:13:37",
|
413
|
+
"parameters": {
|
414
|
+
"id": 33230,
|
415
|
+
"nodeType": "ParameterList",
|
416
|
+
"parameters": [
|
417
|
+
{
|
418
|
+
"constant": false,
|
419
|
+
"id": 33229,
|
420
|
+
"mutability": "mutable",
|
421
|
+
"name": "systemCalls",
|
422
|
+
"nameLocation": "386:11:37",
|
423
|
+
"nodeType": "VariableDeclaration",
|
424
|
+
"scope": 33235,
|
425
|
+
"src": "356:41:37",
|
426
|
+
"stateVariable": false,
|
427
|
+
"storageLocation": "calldata",
|
428
|
+
"typeDescriptions": {
|
429
|
+
"typeIdentifier": "t_array$_t_struct$_SystemCallFromData_$33727_calldata_ptr_$dyn_calldata_ptr",
|
430
|
+
"typeString": "struct SystemCallFromData[]"
|
431
|
+
},
|
432
|
+
"typeName": {
|
433
|
+
"baseType": {
|
434
|
+
"id": 33227,
|
435
|
+
"nodeType": "UserDefinedTypeName",
|
436
|
+
"pathNode": {
|
437
|
+
"id": 33226,
|
438
|
+
"name": "SystemCallFromData",
|
439
|
+
"nameLocations": [
|
440
|
+
"356:18:37"
|
441
|
+
],
|
442
|
+
"nodeType": "IdentifierPath",
|
443
|
+
"referencedDeclaration": 33727,
|
444
|
+
"src": "356:18:37"
|
445
|
+
},
|
446
|
+
"referencedDeclaration": 33727,
|
447
|
+
"src": "356:18:37",
|
448
|
+
"typeDescriptions": {
|
449
|
+
"typeIdentifier": "t_struct$_SystemCallFromData_$33727_storage_ptr",
|
450
|
+
"typeString": "struct SystemCallFromData"
|
451
|
+
}
|
452
|
+
},
|
453
|
+
"id": 33228,
|
454
|
+
"nodeType": "ArrayTypeName",
|
455
|
+
"src": "356:20:37",
|
456
|
+
"typeDescriptions": {
|
457
|
+
"typeIdentifier": "t_array$_t_struct$_SystemCallFromData_$33727_storage_$dyn_storage_ptr",
|
458
|
+
"typeString": "struct SystemCallFromData[]"
|
459
|
+
}
|
460
|
+
},
|
461
|
+
"visibility": "internal"
|
462
|
+
}
|
463
|
+
],
|
464
|
+
"src": "355:43:37"
|
465
|
+
},
|
466
|
+
"returnParameters": {
|
467
|
+
"id": 33234,
|
468
|
+
"nodeType": "ParameterList",
|
469
|
+
"parameters": [
|
470
|
+
{
|
471
|
+
"constant": false,
|
472
|
+
"id": 33233,
|
473
|
+
"mutability": "mutable",
|
474
|
+
"name": "returnDatas",
|
475
|
+
"nameLocation": "432:11:37",
|
476
|
+
"nodeType": "VariableDeclaration",
|
477
|
+
"scope": 33235,
|
478
|
+
"src": "417:26:37",
|
479
|
+
"stateVariable": false,
|
480
|
+
"storageLocation": "memory",
|
481
|
+
"typeDescriptions": {
|
482
|
+
"typeIdentifier": "t_array$_t_bytes_memory_ptr_$dyn_memory_ptr",
|
483
|
+
"typeString": "bytes[]"
|
484
|
+
},
|
485
|
+
"typeName": {
|
486
|
+
"baseType": {
|
487
|
+
"id": 33231,
|
488
|
+
"name": "bytes",
|
489
|
+
"nodeType": "ElementaryTypeName",
|
490
|
+
"src": "417:5:37",
|
491
|
+
"typeDescriptions": {
|
492
|
+
"typeIdentifier": "t_bytes_storage_ptr",
|
493
|
+
"typeString": "bytes"
|
494
|
+
}
|
495
|
+
},
|
496
|
+
"id": 33232,
|
497
|
+
"nodeType": "ArrayTypeName",
|
498
|
+
"src": "417:7:37",
|
499
|
+
"typeDescriptions": {
|
500
|
+
"typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr",
|
501
|
+
"typeString": "bytes[]"
|
502
|
+
}
|
503
|
+
},
|
504
|
+
"visibility": "internal"
|
505
|
+
}
|
506
|
+
],
|
507
|
+
"src": "416:28:37"
|
508
|
+
},
|
509
|
+
"scope": 33236,
|
510
|
+
"stateMutability": "nonpayable",
|
511
|
+
"virtual": false,
|
512
|
+
"visibility": "external"
|
513
|
+
}
|
514
|
+
],
|
515
|
+
"abstract": false,
|
516
|
+
"baseContracts": [],
|
517
|
+
"canonicalName": "IBatchCallSystem",
|
518
|
+
"contractDependencies": [],
|
519
|
+
"contractKind": "interface",
|
520
|
+
"fullyImplemented": false,
|
521
|
+
"linearizedBaseContracts": [
|
522
|
+
33236
|
523
|
+
],
|
524
|
+
"name": "IBatchCallSystem",
|
525
|
+
"nameLocation": "204:16:37",
|
526
|
+
"scope": 33237,
|
527
|
+
"usedErrors": [],
|
528
|
+
"usedEvents": []
|
529
|
+
}
|
530
|
+
],
|
531
|
+
"license": "MIT"
|
532
|
+
},
|
533
|
+
"id": 37
|
534
|
+
}
|
@@ -62,17 +62,17 @@
|
|
62
62
|
},
|
63
63
|
"ast": {
|
64
64
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/ICoreSystem.sol",
|
65
|
-
"id":
|
65
|
+
"id": 33240,
|
66
66
|
"exportedSymbols": {
|
67
67
|
"ICoreSystem": [
|
68
|
-
|
68
|
+
33239
|
69
69
|
]
|
70
70
|
},
|
71
71
|
"nodeType": "SourceUnit",
|
72
72
|
"src": "32:103:38",
|
73
73
|
"nodes": [
|
74
74
|
{
|
75
|
-
"id":
|
75
|
+
"id": 33238,
|
76
76
|
"nodeType": "PragmaDirective",
|
77
77
|
"src": "32:25:38",
|
78
78
|
"nodes": [],
|
@@ -84,7 +84,7 @@
|
|
84
84
|
]
|
85
85
|
},
|
86
86
|
{
|
87
|
-
"id":
|
87
|
+
"id": 33239,
|
88
88
|
"nodeType": "ContractDefinition",
|
89
89
|
"src": "108:26:38",
|
90
90
|
"nodes": [],
|
@@ -95,11 +95,11 @@
|
|
95
95
|
"contractKind": "interface",
|
96
96
|
"fullyImplemented": true,
|
97
97
|
"linearizedBaseContracts": [
|
98
|
-
|
98
|
+
33239
|
99
99
|
],
|
100
100
|
"name": "ICoreSystem",
|
101
101
|
"nameLocation": "118:11:38",
|
102
|
-
"scope":
|
102
|
+
"scope": 33240,
|
103
103
|
"usedErrors": [],
|
104
104
|
"usedEvents": []
|
105
105
|
}
|