@latticexyz/world-modules 2.0.0-main-87235a21 → 2.0.0-main-fd10cff6
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/CallboundDelegationControl.sol/CallboundDelegationControl.json +228 -215
- package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
- package/out/DelegationControl.sol/DelegationControl.json +157 -131
- package/out/Hooks.sol/Hooks.json +45 -45
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +57 -57
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +53 -53
- package/out/IBaseWorld.sol/IBaseWorld.json +70 -70
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +51 -51
- package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
- package/out/IDelegationControl.sol/IDelegationControl.json +105 -99
- package/out/IModule.sol/IModule.json +181 -151
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +34 -34
- package/out/ISystemHook.sol/ISystemHook.json +91 -91
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +75 -75
- package/out/IWorldErrors.sol/IWorldErrors.json +134 -134
- package/out/IWorldKernel.sol/IWorldCall.json +155 -155
- package/out/IWorldKernel.sol/IWorldKernel.json +155 -155
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +155 -155
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +186 -186
- package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
- package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
- package/out/KeysInTableModule.sol/KeysInTableModule.json +562 -537
- package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +992 -992
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +451 -426
- package/out/Module.sol/Module.json +162 -119
- 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 +327 -308
- package/out/StoreHook.sol/StoreHook.json +358 -358
- package/out/StoreHooks.sol/StoreHooks.json +45 -45
- package/out/System.sol/System.json +23 -23
- package/out/Tables.sol/Tables.json +73 -73
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +132 -119
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
- package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +345 -326
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +86 -86
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
- package/out/WorldContext.sol/WorldContextConsumer.json +357 -357
- package/out/WorldContext.sol/WorldContextProvider.json +357 -357
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
- package/out/constants.sol/constants.json +115 -115
- 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.json +130 -130
- 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 +53 -53
- package/out/src/IWorldKernel.sol/IWorldCall.json +156 -156
- package/out/src/IWorldKernel.sol/IWorldKernel.json +156 -156
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +156 -156
- 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 +4455 -4455
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4455 -4455
- package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
- package/out/src/WorldContext.sol/WorldContextConsumer.json +357 -357
- package/out/src/WorldContext.sol/WorldContextProvider.json +357 -357
- 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 +39 -39
- package/out/world/src/IERC165.sol/IERC165.json +63 -57
- package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
- package/package.json +8 -8
@@ -81,7 +81,7 @@
|
|
81
81
|
"onBeforeCallSystem(address,bytes32,bytes)": "c3323031",
|
82
82
|
"supportsInterface(bytes4)": "01ffc9a7"
|
83
83
|
},
|
84
|
-
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"msgSender\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"onAfterCallSystem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"msgSender\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"onBeforeCallSystem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceID\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"Interface identification is specified in ERC-165. This function
|
84
|
+
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"msgSender\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"onAfterCallSystem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"msgSender\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"onBeforeCallSystem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceID\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"Interface identification is specified in ERC-165. This function uses less than 30,000 gas.\",\"params\":{\"interfaceID\":\"The interface identifier, as specified in ERC-165.\"},\"returns\":{\"_0\":\"True if the contract implements `interfaceID` and `interfaceID` is not 0xffffffff, false otherwise.\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"supportsInterface(bytes4)\":{\"notice\":\"Query if a contract implements an interface.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/world/src/ISystemHook.sol\":\"ISystemHook\"},\"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/IERC165.sol\":{\"keccak256\":\"0x7997ebbdee6a2493f28e7032c7a8b906ade40f807d95734e2653c8f1b023ff47\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c8ca41bb2619bf27e5bf886d1322f0e2dffd096c49f7ae6e716541dd1e1ddce5\",\"dweb:/ipfs/Qmb8zATUWWTtiWaSLjbAe6PGnJPes9ANvEyk7pYoWR3P3Y\"]},\"/home/runner/work/mud/mud/packages/world/src/ISystemHook.sol\":{\"keccak256\":\"0x6bfa168ec3b03cd09b5e0c658c0faab40379b4093935744c0a7297ac7a2fcec8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ac7990b2cf63e95cde3396e248fee9e280235cfd11dc7a350865e0f3ffca59ba\",\"dweb:/ipfs/QmZKkGqGKgr32HX4fVu7vNH34JbyzHczJ9H5SLjsbrRDtp\"]},\"/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol\":{\"keccak256\":\"0x979e418af3d0d3a1866240bed58d2792f0718cc1803a1476ec8c93af5577cae3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c68cfe48ce67fe83f4b000c954891821d1fae31bfdd36de37a12637c8a1864f7\",\"dweb:/ipfs/QmUX9tHSMTeScbiacKX2T16gLV6aPKDU1Q3eDiNxqmVNa1\"]},\"/home/runner/work/mud/mud/packages/world/src/constants.sol\":{\"keccak256\":\"0x36c772d51a5da46fcddf88831194d6d331083b8c8246fa79107c4b697c258d77\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d2656374c398a2b075d5f26d2ab2c3ea315c99912e52d8030d50f5f8fdda8ac\",\"dweb:/ipfs/QmSG8uJr2ZbFVnht5cTG6xb6XbB6f3kvnznks4BdeAMYET\"]},\"/home/runner/work/mud/mud/packages/world/src/worldResourceTypes.sol\":{\"keccak256\":\"0x88f844f2c43757c819c8f140b30254f07c3484e12cce573879d43b2ee6a23f8b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://55a9095094c2b7b1043020681696380cfc3cffd1f264a70bacb44fccd0fc0a8a\",\"dweb:/ipfs/QmfPdLPr9hfV8X8yfHhEf2HmEWAnA4d1c6EHEjHMdeM7ML\"]},\"node_modules/@latticexyz/store/src/Bytes.sol\":{\"keccak256\":\"0xb36724e0369ad053579ec04b9b51707dd8dcc4a72b38404cebdf018ce40bf202\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d8745e1632b7ee94f128600837a36ae53fabaf73c506b0c6d1cae70ea2e9b086\",\"dweb:/ipfs/QmXuMqmybWjEPqWEx91DTM7KAUyxAmDcsj7riBfCfA427N\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x4a61aefe72d6035b1e9aca7841aab44ebd26f8706bdbb447f382046fa94753b6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f715743739e4f8f8a98d78397025a92299ecb3b5dde88cc53bc1ab72bf531fa6\",\"dweb:/ipfs/QmVsYAupGWZUemE4t6xjLqztGHadQ8cyo9E4mT5ZDKUmTs\"]},\"node_modules/@latticexyz/store/src/storeResourceTypes.sol\":{\"keccak256\":\"0xb2c27c7b8f974f1e3c70dd82c92f35f5bbd2887e16afe454e6dbc38300a51feb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6cbdbcc95835f67030eebdebeaf0bfd6faa612381179e7f7be8b9d3c00b20878\",\"dweb:/ipfs/QmNeZU5MmRQqhcLxN6BA2BQvgEst8yg67F4VQoPJEEK6kg\"]}},\"version\":1}",
|
85
85
|
"metadata": {
|
86
86
|
"compiler": {
|
87
87
|
"version": "0.8.21+commit.d9974bed"
|
@@ -157,12 +157,12 @@
|
|
157
157
|
"kind": "dev",
|
158
158
|
"methods": {
|
159
159
|
"supportsInterface(bytes4)": {
|
160
|
-
"details": "Interface identification is specified in ERC-165. This function
|
160
|
+
"details": "Interface identification is specified in ERC-165. This function uses less than 30,000 gas.",
|
161
161
|
"params": {
|
162
|
-
"interfaceID": "The interface identifier, as specified in ERC-165"
|
162
|
+
"interfaceID": "The interface identifier, as specified in ERC-165."
|
163
163
|
},
|
164
164
|
"returns": {
|
165
|
-
"_0": "
|
165
|
+
"_0": "True if the contract implements `interfaceID` and `interfaceID` is not 0xffffffff, false otherwise."
|
166
166
|
}
|
167
167
|
}
|
168
168
|
},
|
@@ -172,7 +172,7 @@
|
|
172
172
|
"kind": "user",
|
173
173
|
"methods": {
|
174
174
|
"supportsInterface(bytes4)": {
|
175
|
-
"notice": "Query if a contract implements an interface"
|
175
|
+
"notice": "Query if a contract implements an interface."
|
176
176
|
}
|
177
177
|
},
|
178
178
|
"version": 1
|
@@ -198,10 +198,10 @@
|
|
198
198
|
},
|
199
199
|
"sources": {
|
200
200
|
"/home/runner/work/mud/mud/packages/world/src/IERC165.sol": {
|
201
|
-
"keccak256": "
|
201
|
+
"keccak256": "0x7997ebbdee6a2493f28e7032c7a8b906ade40f807d95734e2653c8f1b023ff47",
|
202
202
|
"urls": [
|
203
|
-
"bzz-raw://
|
204
|
-
"dweb:/ipfs/
|
203
|
+
"bzz-raw://c8ca41bb2619bf27e5bf886d1322f0e2dffd096c49f7ae6e716541dd1e1ddce5",
|
204
|
+
"dweb:/ipfs/Qmb8zATUWWTtiWaSLjbAe6PGnJPes9ANvEyk7pYoWR3P3Y"
|
205
205
|
],
|
206
206
|
"license": "MIT"
|
207
207
|
},
|
@@ -266,29 +266,29 @@
|
|
266
266
|
},
|
267
267
|
"ast": {
|
268
268
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/ISystemHook.sol",
|
269
|
-
"id":
|
269
|
+
"id": 23027,
|
270
270
|
"exportedSymbols": {
|
271
271
|
"ERC165_INTERFACE_ID": [
|
272
|
-
|
272
|
+
22927
|
273
273
|
],
|
274
274
|
"IERC165": [
|
275
|
-
|
275
|
+
22937
|
276
276
|
],
|
277
277
|
"ISystemHook": [
|
278
|
-
|
278
|
+
23026
|
279
279
|
],
|
280
280
|
"ResourceId": [
|
281
|
-
|
281
|
+
26198
|
282
282
|
],
|
283
283
|
"SYSTEM_HOOK_INTERFACE_ID": [
|
284
|
-
|
284
|
+
23003
|
285
285
|
]
|
286
286
|
},
|
287
287
|
"nodeType": "SourceUnit",
|
288
288
|
"src": "32:606:36",
|
289
289
|
"nodes": [
|
290
290
|
{
|
291
|
-
"id":
|
291
|
+
"id": 22987,
|
292
292
|
"nodeType": "PragmaDirective",
|
293
293
|
"src": "32:25:36",
|
294
294
|
"nodes": [],
|
@@ -300,23 +300,23 @@
|
|
300
300
|
]
|
301
301
|
},
|
302
302
|
{
|
303
|
-
"id":
|
303
|
+
"id": 22990,
|
304
304
|
"nodeType": "ImportDirective",
|
305
305
|
"src": "59:61:36",
|
306
306
|
"nodes": [],
|
307
307
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/IERC165.sol",
|
308
308
|
"file": "./IERC165.sol",
|
309
309
|
"nameLocation": "-1:-1:-1",
|
310
|
-
"scope":
|
311
|
-
"sourceUnit":
|
310
|
+
"scope": 23027,
|
311
|
+
"sourceUnit": 22938,
|
312
312
|
"symbolAliases": [
|
313
313
|
{
|
314
314
|
"foreign": {
|
315
|
-
"id":
|
315
|
+
"id": 22988,
|
316
316
|
"name": "IERC165",
|
317
317
|
"nodeType": "Identifier",
|
318
318
|
"overloadedDeclarations": [],
|
319
|
-
"referencedDeclaration":
|
319
|
+
"referencedDeclaration": 22937,
|
320
320
|
"src": "68:7:36",
|
321
321
|
"typeDescriptions": {}
|
322
322
|
},
|
@@ -324,11 +324,11 @@
|
|
324
324
|
},
|
325
325
|
{
|
326
326
|
"foreign": {
|
327
|
-
"id":
|
327
|
+
"id": 22989,
|
328
328
|
"name": "ERC165_INTERFACE_ID",
|
329
329
|
"nodeType": "Identifier",
|
330
330
|
"overloadedDeclarations": [],
|
331
|
-
"referencedDeclaration":
|
331
|
+
"referencedDeclaration": 22927,
|
332
332
|
"src": "77:19:36",
|
333
333
|
"typeDescriptions": {}
|
334
334
|
},
|
@@ -338,23 +338,23 @@
|
|
338
338
|
"unitAlias": ""
|
339
339
|
},
|
340
340
|
{
|
341
|
-
"id":
|
341
|
+
"id": 22992,
|
342
342
|
"nodeType": "ImportDirective",
|
343
343
|
"src": "121:51:36",
|
344
344
|
"nodes": [],
|
345
345
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol",
|
346
346
|
"file": "./WorldResourceId.sol",
|
347
347
|
"nameLocation": "-1:-1:-1",
|
348
|
-
"scope":
|
349
|
-
"sourceUnit":
|
348
|
+
"scope": 23027,
|
349
|
+
"sourceUnit": 23720,
|
350
350
|
"symbolAliases": [
|
351
351
|
{
|
352
352
|
"foreign": {
|
353
|
-
"id":
|
353
|
+
"id": 22991,
|
354
354
|
"name": "ResourceId",
|
355
355
|
"nodeType": "Identifier",
|
356
356
|
"overloadedDeclarations": [],
|
357
|
-
"referencedDeclaration":
|
357
|
+
"referencedDeclaration": 26198,
|
358
358
|
"src": "130:10:36",
|
359
359
|
"typeDescriptions": {}
|
360
360
|
},
|
@@ -364,7 +364,7 @@
|
|
364
364
|
"unitAlias": ""
|
365
365
|
},
|
366
366
|
{
|
367
|
-
"id":
|
367
|
+
"id": 23003,
|
368
368
|
"nodeType": "VariableDeclaration",
|
369
369
|
"src": "243:149:36",
|
370
370
|
"nodes": [],
|
@@ -372,7 +372,7 @@
|
|
372
372
|
"mutability": "constant",
|
373
373
|
"name": "SYSTEM_HOOK_INTERFACE_ID",
|
374
374
|
"nameLocation": "259:24:36",
|
375
|
-
"scope":
|
375
|
+
"scope": 23027,
|
376
376
|
"stateVariable": false,
|
377
377
|
"storageLocation": "default",
|
378
378
|
"typeDescriptions": {
|
@@ -380,7 +380,7 @@
|
|
380
380
|
"typeString": "bytes4"
|
381
381
|
},
|
382
382
|
"typeName": {
|
383
|
-
"id":
|
383
|
+
"id": 22993,
|
384
384
|
"name": "bytes4",
|
385
385
|
"nodeType": "ElementaryTypeName",
|
386
386
|
"src": "243:6:36",
|
@@ -394,7 +394,7 @@
|
|
394
394
|
"typeIdentifier": "t_bytes4",
|
395
395
|
"typeString": "bytes4"
|
396
396
|
},
|
397
|
-
"id":
|
397
|
+
"id": 23002,
|
398
398
|
"isConstant": false,
|
399
399
|
"isLValue": false,
|
400
400
|
"isPure": true,
|
@@ -404,7 +404,7 @@
|
|
404
404
|
"typeIdentifier": "t_bytes4",
|
405
405
|
"typeString": "bytes4"
|
406
406
|
},
|
407
|
-
"id":
|
407
|
+
"id": 23000,
|
408
408
|
"isConstant": false,
|
409
409
|
"isLValue": false,
|
410
410
|
"isPure": true,
|
@@ -412,18 +412,18 @@
|
|
412
412
|
"leftExpression": {
|
413
413
|
"expression": {
|
414
414
|
"expression": {
|
415
|
-
"id":
|
415
|
+
"id": 22994,
|
416
416
|
"name": "ISystemHook",
|
417
417
|
"nodeType": "Identifier",
|
418
418
|
"overloadedDeclarations": [],
|
419
|
-
"referencedDeclaration":
|
419
|
+
"referencedDeclaration": 23026,
|
420
420
|
"src": "286:11:36",
|
421
421
|
"typeDescriptions": {
|
422
|
-
"typeIdentifier": "t_type$_t_contract$_ISystemHook_$
|
422
|
+
"typeIdentifier": "t_type$_t_contract$_ISystemHook_$23026_$",
|
423
423
|
"typeString": "type(contract ISystemHook)"
|
424
424
|
}
|
425
425
|
},
|
426
|
-
"id":
|
426
|
+
"id": 22995,
|
427
427
|
"isConstant": false,
|
428
428
|
"isLValue": false,
|
429
429
|
"isPure": true,
|
@@ -431,14 +431,14 @@
|
|
431
431
|
"memberLocation": "298:18:36",
|
432
432
|
"memberName": "onBeforeCallSystem",
|
433
433
|
"nodeType": "MemberAccess",
|
434
|
-
"referencedDeclaration":
|
434
|
+
"referencedDeclaration": 23015,
|
435
435
|
"src": "286:30:36",
|
436
436
|
"typeDescriptions": {
|
437
|
-
"typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_userDefinedValueType$_ResourceId_$
|
437
|
+
"typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_userDefinedValueType$_ResourceId_$26198_$_t_bytes_memory_ptr_$returns$__$",
|
438
438
|
"typeString": "function ISystemHook.onBeforeCallSystem(address,ResourceId,bytes memory)"
|
439
439
|
}
|
440
440
|
},
|
441
|
-
"id":
|
441
|
+
"id": 22996,
|
442
442
|
"isConstant": false,
|
443
443
|
"isLValue": false,
|
444
444
|
"isPure": true,
|
@@ -457,18 +457,18 @@
|
|
457
457
|
"rightExpression": {
|
458
458
|
"expression": {
|
459
459
|
"expression": {
|
460
|
-
"id":
|
460
|
+
"id": 22997,
|
461
461
|
"name": "ISystemHook",
|
462
462
|
"nodeType": "Identifier",
|
463
463
|
"overloadedDeclarations": [],
|
464
|
-
"referencedDeclaration":
|
464
|
+
"referencedDeclaration": 23026,
|
465
465
|
"src": "330:11:36",
|
466
466
|
"typeDescriptions": {
|
467
|
-
"typeIdentifier": "t_type$_t_contract$_ISystemHook_$
|
467
|
+
"typeIdentifier": "t_type$_t_contract$_ISystemHook_$23026_$",
|
468
468
|
"typeString": "type(contract ISystemHook)"
|
469
469
|
}
|
470
470
|
},
|
471
|
-
"id":
|
471
|
+
"id": 22998,
|
472
472
|
"isConstant": false,
|
473
473
|
"isLValue": false,
|
474
474
|
"isPure": true,
|
@@ -476,14 +476,14 @@
|
|
476
476
|
"memberLocation": "342:17:36",
|
477
477
|
"memberName": "onAfterCallSystem",
|
478
478
|
"nodeType": "MemberAccess",
|
479
|
-
"referencedDeclaration":
|
479
|
+
"referencedDeclaration": 23025,
|
480
480
|
"src": "330:29:36",
|
481
481
|
"typeDescriptions": {
|
482
|
-
"typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_userDefinedValueType$_ResourceId_$
|
482
|
+
"typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_userDefinedValueType$_ResourceId_$26198_$_t_bytes_memory_ptr_$returns$__$",
|
483
483
|
"typeString": "function ISystemHook.onAfterCallSystem(address,ResourceId,bytes memory)"
|
484
484
|
}
|
485
485
|
},
|
486
|
-
"id":
|
486
|
+
"id": 22999,
|
487
487
|
"isConstant": false,
|
488
488
|
"isLValue": false,
|
489
489
|
"isPure": true,
|
@@ -506,11 +506,11 @@
|
|
506
506
|
"nodeType": "BinaryOperation",
|
507
507
|
"operator": "^",
|
508
508
|
"rightExpression": {
|
509
|
-
"id":
|
509
|
+
"id": 23001,
|
510
510
|
"name": "ERC165_INTERFACE_ID",
|
511
511
|
"nodeType": "Identifier",
|
512
512
|
"overloadedDeclarations": [],
|
513
|
-
"referencedDeclaration":
|
513
|
+
"referencedDeclaration": 22927,
|
514
514
|
"src": "373:19:36",
|
515
515
|
"typeDescriptions": {
|
516
516
|
"typeIdentifier": "t_bytes4",
|
@@ -526,12 +526,12 @@
|
|
526
526
|
"visibility": "internal"
|
527
527
|
},
|
528
528
|
{
|
529
|
-
"id":
|
529
|
+
"id": 23026,
|
530
530
|
"nodeType": "ContractDefinition",
|
531
531
|
"src": "395:242:36",
|
532
532
|
"nodes": [
|
533
533
|
{
|
534
|
-
"id":
|
534
|
+
"id": 23015,
|
535
535
|
"nodeType": "FunctionDefinition",
|
536
536
|
"src": "432:100:36",
|
537
537
|
"nodes": [],
|
@@ -542,17 +542,17 @@
|
|
542
542
|
"name": "onBeforeCallSystem",
|
543
543
|
"nameLocation": "441:18:36",
|
544
544
|
"parameters": {
|
545
|
-
"id":
|
545
|
+
"id": 23013,
|
546
546
|
"nodeType": "ParameterList",
|
547
547
|
"parameters": [
|
548
548
|
{
|
549
549
|
"constant": false,
|
550
|
-
"id":
|
550
|
+
"id": 23007,
|
551
551
|
"mutability": "mutable",
|
552
552
|
"name": "msgSender",
|
553
553
|
"nameLocation": "468:9:36",
|
554
554
|
"nodeType": "VariableDeclaration",
|
555
|
-
"scope":
|
555
|
+
"scope": 23015,
|
556
556
|
"src": "460:17:36",
|
557
557
|
"stateVariable": false,
|
558
558
|
"storageLocation": "default",
|
@@ -561,7 +561,7 @@
|
|
561
561
|
"typeString": "address"
|
562
562
|
},
|
563
563
|
"typeName": {
|
564
|
-
"id":
|
564
|
+
"id": 23006,
|
565
565
|
"name": "address",
|
566
566
|
"nodeType": "ElementaryTypeName",
|
567
567
|
"src": "460:7:36",
|
@@ -575,36 +575,36 @@
|
|
575
575
|
},
|
576
576
|
{
|
577
577
|
"constant": false,
|
578
|
-
"id":
|
578
|
+
"id": 23010,
|
579
579
|
"mutability": "mutable",
|
580
580
|
"name": "systemId",
|
581
581
|
"nameLocation": "490:8:36",
|
582
582
|
"nodeType": "VariableDeclaration",
|
583
|
-
"scope":
|
583
|
+
"scope": 23015,
|
584
584
|
"src": "479:19:36",
|
585
585
|
"stateVariable": false,
|
586
586
|
"storageLocation": "default",
|
587
587
|
"typeDescriptions": {
|
588
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
588
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
|
589
589
|
"typeString": "ResourceId"
|
590
590
|
},
|
591
591
|
"typeName": {
|
592
|
-
"id":
|
592
|
+
"id": 23009,
|
593
593
|
"nodeType": "UserDefinedTypeName",
|
594
594
|
"pathNode": {
|
595
|
-
"id":
|
595
|
+
"id": 23008,
|
596
596
|
"name": "ResourceId",
|
597
597
|
"nameLocations": [
|
598
598
|
"479:10:36"
|
599
599
|
],
|
600
600
|
"nodeType": "IdentifierPath",
|
601
|
-
"referencedDeclaration":
|
601
|
+
"referencedDeclaration": 26198,
|
602
602
|
"src": "479:10:36"
|
603
603
|
},
|
604
|
-
"referencedDeclaration":
|
604
|
+
"referencedDeclaration": 26198,
|
605
605
|
"src": "479:10:36",
|
606
606
|
"typeDescriptions": {
|
607
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
607
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
|
608
608
|
"typeString": "ResourceId"
|
609
609
|
}
|
610
610
|
},
|
@@ -612,12 +612,12 @@
|
|
612
612
|
},
|
613
613
|
{
|
614
614
|
"constant": false,
|
615
|
-
"id":
|
615
|
+
"id": 23012,
|
616
616
|
"mutability": "mutable",
|
617
617
|
"name": "callData",
|
618
618
|
"nameLocation": "513:8:36",
|
619
619
|
"nodeType": "VariableDeclaration",
|
620
|
-
"scope":
|
620
|
+
"scope": 23015,
|
621
621
|
"src": "500:21:36",
|
622
622
|
"stateVariable": false,
|
623
623
|
"storageLocation": "memory",
|
@@ -626,7 +626,7 @@
|
|
626
626
|
"typeString": "bytes"
|
627
627
|
},
|
628
628
|
"typeName": {
|
629
|
-
"id":
|
629
|
+
"id": 23011,
|
630
630
|
"name": "bytes",
|
631
631
|
"nodeType": "ElementaryTypeName",
|
632
632
|
"src": "500:5:36",
|
@@ -641,18 +641,18 @@
|
|
641
641
|
"src": "459:63:36"
|
642
642
|
},
|
643
643
|
"returnParameters": {
|
644
|
-
"id":
|
644
|
+
"id": 23014,
|
645
645
|
"nodeType": "ParameterList",
|
646
646
|
"parameters": [],
|
647
647
|
"src": "531:0:36"
|
648
648
|
},
|
649
|
-
"scope":
|
649
|
+
"scope": 23026,
|
650
650
|
"stateMutability": "nonpayable",
|
651
651
|
"virtual": false,
|
652
652
|
"visibility": "external"
|
653
653
|
},
|
654
654
|
{
|
655
|
-
"id":
|
655
|
+
"id": 23025,
|
656
656
|
"nodeType": "FunctionDefinition",
|
657
657
|
"src": "536:99:36",
|
658
658
|
"nodes": [],
|
@@ -663,17 +663,17 @@
|
|
663
663
|
"name": "onAfterCallSystem",
|
664
664
|
"nameLocation": "545:17:36",
|
665
665
|
"parameters": {
|
666
|
-
"id":
|
666
|
+
"id": 23023,
|
667
667
|
"nodeType": "ParameterList",
|
668
668
|
"parameters": [
|
669
669
|
{
|
670
670
|
"constant": false,
|
671
|
-
"id":
|
671
|
+
"id": 23017,
|
672
672
|
"mutability": "mutable",
|
673
673
|
"name": "msgSender",
|
674
674
|
"nameLocation": "571:9:36",
|
675
675
|
"nodeType": "VariableDeclaration",
|
676
|
-
"scope":
|
676
|
+
"scope": 23025,
|
677
677
|
"src": "563:17:36",
|
678
678
|
"stateVariable": false,
|
679
679
|
"storageLocation": "default",
|
@@ -682,7 +682,7 @@
|
|
682
682
|
"typeString": "address"
|
683
683
|
},
|
684
684
|
"typeName": {
|
685
|
-
"id":
|
685
|
+
"id": 23016,
|
686
686
|
"name": "address",
|
687
687
|
"nodeType": "ElementaryTypeName",
|
688
688
|
"src": "563:7:36",
|
@@ -696,36 +696,36 @@
|
|
696
696
|
},
|
697
697
|
{
|
698
698
|
"constant": false,
|
699
|
-
"id":
|
699
|
+
"id": 23020,
|
700
700
|
"mutability": "mutable",
|
701
701
|
"name": "systemId",
|
702
702
|
"nameLocation": "593:8:36",
|
703
703
|
"nodeType": "VariableDeclaration",
|
704
|
-
"scope":
|
704
|
+
"scope": 23025,
|
705
705
|
"src": "582:19:36",
|
706
706
|
"stateVariable": false,
|
707
707
|
"storageLocation": "default",
|
708
708
|
"typeDescriptions": {
|
709
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
709
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
|
710
710
|
"typeString": "ResourceId"
|
711
711
|
},
|
712
712
|
"typeName": {
|
713
|
-
"id":
|
713
|
+
"id": 23019,
|
714
714
|
"nodeType": "UserDefinedTypeName",
|
715
715
|
"pathNode": {
|
716
|
-
"id":
|
716
|
+
"id": 23018,
|
717
717
|
"name": "ResourceId",
|
718
718
|
"nameLocations": [
|
719
719
|
"582:10:36"
|
720
720
|
],
|
721
721
|
"nodeType": "IdentifierPath",
|
722
|
-
"referencedDeclaration":
|
722
|
+
"referencedDeclaration": 26198,
|
723
723
|
"src": "582:10:36"
|
724
724
|
},
|
725
|
-
"referencedDeclaration":
|
725
|
+
"referencedDeclaration": 26198,
|
726
726
|
"src": "582:10:36",
|
727
727
|
"typeDescriptions": {
|
728
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
728
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
|
729
729
|
"typeString": "ResourceId"
|
730
730
|
}
|
731
731
|
},
|
@@ -733,12 +733,12 @@
|
|
733
733
|
},
|
734
734
|
{
|
735
735
|
"constant": false,
|
736
|
-
"id":
|
736
|
+
"id": 23022,
|
737
737
|
"mutability": "mutable",
|
738
738
|
"name": "callData",
|
739
739
|
"nameLocation": "616:8:36",
|
740
740
|
"nodeType": "VariableDeclaration",
|
741
|
-
"scope":
|
741
|
+
"scope": 23025,
|
742
742
|
"src": "603:21:36",
|
743
743
|
"stateVariable": false,
|
744
744
|
"storageLocation": "memory",
|
@@ -747,7 +747,7 @@
|
|
747
747
|
"typeString": "bytes"
|
748
748
|
},
|
749
749
|
"typeName": {
|
750
|
-
"id":
|
750
|
+
"id": 23021,
|
751
751
|
"name": "bytes",
|
752
752
|
"nodeType": "ElementaryTypeName",
|
753
753
|
"src": "603:5:36",
|
@@ -762,12 +762,12 @@
|
|
762
762
|
"src": "562:63:36"
|
763
763
|
},
|
764
764
|
"returnParameters": {
|
765
|
-
"id":
|
765
|
+
"id": 23024,
|
766
766
|
"nodeType": "ParameterList",
|
767
767
|
"parameters": [],
|
768
768
|
"src": "634:0:36"
|
769
769
|
},
|
770
|
-
"scope":
|
770
|
+
"scope": 23026,
|
771
771
|
"stateMutability": "nonpayable",
|
772
772
|
"virtual": false,
|
773
773
|
"visibility": "external"
|
@@ -777,16 +777,16 @@
|
|
777
777
|
"baseContracts": [
|
778
778
|
{
|
779
779
|
"baseName": {
|
780
|
-
"id":
|
780
|
+
"id": 23004,
|
781
781
|
"name": "IERC165",
|
782
782
|
"nameLocations": [
|
783
783
|
"420:7:36"
|
784
784
|
],
|
785
785
|
"nodeType": "IdentifierPath",
|
786
|
-
"referencedDeclaration":
|
786
|
+
"referencedDeclaration": 22937,
|
787
787
|
"src": "420:7:36"
|
788
788
|
},
|
789
|
-
"id":
|
789
|
+
"id": 23005,
|
790
790
|
"nodeType": "InheritanceSpecifier",
|
791
791
|
"src": "420:7:36"
|
792
792
|
}
|
@@ -796,12 +796,12 @@
|
|
796
796
|
"contractKind": "interface",
|
797
797
|
"fullyImplemented": false,
|
798
798
|
"linearizedBaseContracts": [
|
799
|
-
|
800
|
-
|
799
|
+
23026,
|
800
|
+
22937
|
801
801
|
],
|
802
802
|
"name": "ISystemHook",
|
803
803
|
"nameLocation": "405:11:36",
|
804
|
-
"scope":
|
804
|
+
"scope": 23027,
|
805
805
|
"usedErrors": [],
|
806
806
|
"usedEvents": []
|
807
807
|
}
|