@latticexyz/world-modules 2.0.0-main-5d19b125 → 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
@@ -105,7 +105,7 @@
|
|
105
105
|
"supportsInterface(bytes4)": "01ffc9a7",
|
106
106
|
"verify(address,bytes32,bytes)": "1a86b550"
|
107
107
|
},
|
108
|
-
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"_msgSender\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_msgValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_world\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceID\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"verify\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"Interface identification is specified in ERC-165. This function
|
108
|
+
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"_msgSender\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_msgValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_world\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceID\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"verify\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface for managing and verifying delegations within the context of a world. Inherits functionalities from IWorldContextConsumer.\",\"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.\"}}},\"title\":\"IDelegationControl\",\"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/IDelegationControl.sol\":\"IDelegationControl\"},\"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/IDelegationControl.sol\":{\"keccak256\":\"0xbf3da1c6ab38b3db62a4f4dd0235280d1fb07d8d465a145d6fd9eaf4bb4c3553\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://30205a69d660ed8de5bf34ee73ec9033737d544bc7572130c439b2467606469d\",\"dweb:/ipfs/QmUWTNdSW1bxXjaQzMUCLqBBoLYYre7CgDko4Qy12DaRNS\"]},\"/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/IWorldContextConsumer.sol\":{\"keccak256\":\"0x0c0f9eba3a700d97a3b87678bbf12d4bbd8a80490e9b3a5841d049ebc1a89f93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a56466e8ddcaf10b9109bfbc581563f5e9eefcaff1963a6954ccd093859ef6d2\",\"dweb:/ipfs/QmNk6FvWzmLT3vnsUuzqr9MYMfaQRa7yLuNM7DVvpkuytf\"]},\"/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}",
|
109
109
|
"metadata": {
|
110
110
|
"compiler": {
|
111
111
|
"version": "0.8.21+commit.d9974bed"
|
@@ -205,12 +205,12 @@
|
|
205
205
|
"kind": "dev",
|
206
206
|
"methods": {
|
207
207
|
"supportsInterface(bytes4)": {
|
208
|
-
"details": "Interface identification is specified in ERC-165. This function
|
208
|
+
"details": "Interface identification is specified in ERC-165. This function uses less than 30,000 gas.",
|
209
209
|
"params": {
|
210
|
-
"interfaceID": "The interface identifier, as specified in ERC-165"
|
210
|
+
"interfaceID": "The interface identifier, as specified in ERC-165."
|
211
211
|
},
|
212
212
|
"returns": {
|
213
|
-
"_0": "
|
213
|
+
"_0": "True if the contract implements `interfaceID` and `interfaceID` is not 0xffffffff, false otherwise."
|
214
214
|
}
|
215
215
|
}
|
216
216
|
},
|
@@ -220,7 +220,7 @@
|
|
220
220
|
"kind": "user",
|
221
221
|
"methods": {
|
222
222
|
"supportsInterface(bytes4)": {
|
223
|
-
"notice": "Query if a contract implements an interface"
|
223
|
+
"notice": "Query if a contract implements an interface."
|
224
224
|
}
|
225
225
|
},
|
226
226
|
"version": 1
|
@@ -246,18 +246,18 @@
|
|
246
246
|
},
|
247
247
|
"sources": {
|
248
248
|
"/home/runner/work/mud/mud/packages/world/src/IDelegationControl.sol": {
|
249
|
-
"keccak256": "
|
249
|
+
"keccak256": "0xbf3da1c6ab38b3db62a4f4dd0235280d1fb07d8d465a145d6fd9eaf4bb4c3553",
|
250
250
|
"urls": [
|
251
|
-
"bzz-raw://
|
252
|
-
"dweb:/ipfs/
|
251
|
+
"bzz-raw://30205a69d660ed8de5bf34ee73ec9033737d544bc7572130c439b2467606469d",
|
252
|
+
"dweb:/ipfs/QmUWTNdSW1bxXjaQzMUCLqBBoLYYre7CgDko4Qy12DaRNS"
|
253
253
|
],
|
254
254
|
"license": "MIT"
|
255
255
|
},
|
256
256
|
"/home/runner/work/mud/mud/packages/world/src/IERC165.sol": {
|
257
|
-
"keccak256": "
|
257
|
+
"keccak256": "0x7997ebbdee6a2493f28e7032c7a8b906ade40f807d95734e2653c8f1b023ff47",
|
258
258
|
"urls": [
|
259
|
-
"bzz-raw://
|
260
|
-
"dweb:/ipfs/
|
259
|
+
"bzz-raw://c8ca41bb2619bf27e5bf886d1322f0e2dffd096c49f7ae6e716541dd1e1ddce5",
|
260
|
+
"dweb:/ipfs/Qmb8zATUWWTtiWaSLjbAe6PGnJPes9ANvEyk7pYoWR3P3Y"
|
261
261
|
],
|
262
262
|
"license": "MIT"
|
263
263
|
},
|
@@ -322,26 +322,26 @@
|
|
322
322
|
},
|
323
323
|
"ast": {
|
324
324
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/IDelegationControl.sol",
|
325
|
-
"id":
|
325
|
+
"id": 22920,
|
326
326
|
"exportedSymbols": {
|
327
327
|
"DELEGATION_CONTROL_INTERFACE_ID": [
|
328
|
-
|
328
|
+
22903
|
329
329
|
],
|
330
330
|
"IDelegationControl": [
|
331
|
-
|
331
|
+
22919
|
332
332
|
],
|
333
333
|
"IWorldContextConsumer": [
|
334
|
-
|
334
|
+
23064
|
335
335
|
],
|
336
336
|
"ResourceId": [
|
337
|
-
|
337
|
+
26198
|
338
338
|
],
|
339
339
|
"WORLD_CONTEXT_CONSUMER_INTERFACE_ID": [
|
340
|
-
|
340
|
+
23046
|
341
341
|
]
|
342
342
|
},
|
343
343
|
"nodeType": "SourceUnit",
|
344
|
-
"src": "32:
|
344
|
+
"src": "32:847:33",
|
345
345
|
"nodes": [
|
346
346
|
{
|
347
347
|
"id": 22890,
|
@@ -363,8 +363,8 @@
|
|
363
363
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/IWorldContextConsumer.sol",
|
364
364
|
"file": "./IWorldContextConsumer.sol",
|
365
365
|
"nameLocation": "-1:-1:-1",
|
366
|
-
"scope":
|
367
|
-
"sourceUnit":
|
366
|
+
"scope": 22920,
|
367
|
+
"sourceUnit": 23065,
|
368
368
|
"symbolAliases": [
|
369
369
|
{
|
370
370
|
"foreign": {
|
@@ -372,7 +372,7 @@
|
|
372
372
|
"name": "IWorldContextConsumer",
|
373
373
|
"nodeType": "Identifier",
|
374
374
|
"overloadedDeclarations": [],
|
375
|
-
"referencedDeclaration":
|
375
|
+
"referencedDeclaration": 23064,
|
376
376
|
"src": "68:21:33",
|
377
377
|
"typeDescriptions": {}
|
378
378
|
},
|
@@ -384,7 +384,7 @@
|
|
384
384
|
"name": "WORLD_CONTEXT_CONSUMER_INTERFACE_ID",
|
385
385
|
"nodeType": "Identifier",
|
386
386
|
"overloadedDeclarations": [],
|
387
|
-
"referencedDeclaration":
|
387
|
+
"referencedDeclaration": 23046,
|
388
388
|
"src": "91:35:33",
|
389
389
|
"typeDescriptions": {}
|
390
390
|
},
|
@@ -401,8 +401,8 @@
|
|
401
401
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol",
|
402
402
|
"file": "./WorldResourceId.sol",
|
403
403
|
"nameLocation": "-1:-1:-1",
|
404
|
-
"scope":
|
405
|
-
"sourceUnit":
|
404
|
+
"scope": 22920,
|
405
|
+
"sourceUnit": 23720,
|
406
406
|
"symbolAliases": [
|
407
407
|
{
|
408
408
|
"foreign": {
|
@@ -410,7 +410,7 @@
|
|
410
410
|
"name": "ResourceId",
|
411
411
|
"nodeType": "Identifier",
|
412
412
|
"overloadedDeclarations": [],
|
413
|
-
"referencedDeclaration":
|
413
|
+
"referencedDeclaration": 26198,
|
414
414
|
"src": "174:10:33",
|
415
415
|
"typeDescriptions": {}
|
416
416
|
},
|
@@ -420,15 +420,15 @@
|
|
420
420
|
"unitAlias": ""
|
421
421
|
},
|
422
422
|
{
|
423
|
-
"id":
|
423
|
+
"id": 22903,
|
424
424
|
"nodeType": "VariableDeclaration",
|
425
|
-
"src": "
|
425
|
+
"src": "407:124:33",
|
426
426
|
"nodes": [],
|
427
427
|
"constant": true,
|
428
428
|
"mutability": "constant",
|
429
429
|
"name": "DELEGATION_CONTROL_INTERFACE_ID",
|
430
|
-
"nameLocation": "
|
431
|
-
"scope":
|
430
|
+
"nameLocation": "423:31:33",
|
431
|
+
"scope": 22920,
|
432
432
|
"stateVariable": false,
|
433
433
|
"storageLocation": "default",
|
434
434
|
"typeDescriptions": {
|
@@ -436,10 +436,10 @@
|
|
436
436
|
"typeString": "bytes4"
|
437
437
|
},
|
438
438
|
"typeName": {
|
439
|
-
"id":
|
439
|
+
"id": 22897,
|
440
440
|
"name": "bytes4",
|
441
441
|
"nodeType": "ElementaryTypeName",
|
442
|
-
"src": "
|
442
|
+
"src": "407:6:33",
|
443
443
|
"typeDescriptions": {
|
444
444
|
"typeIdentifier": "t_bytes4",
|
445
445
|
"typeString": "bytes4"
|
@@ -450,7 +450,7 @@
|
|
450
450
|
"typeIdentifier": "t_bytes4",
|
451
451
|
"typeString": "bytes4"
|
452
452
|
},
|
453
|
-
"id":
|
453
|
+
"id": 22902,
|
454
454
|
"isConstant": false,
|
455
455
|
"isLValue": false,
|
456
456
|
"isPure": true,
|
@@ -458,41 +458,41 @@
|
|
458
458
|
"leftExpression": {
|
459
459
|
"expression": {
|
460
460
|
"expression": {
|
461
|
-
"id":
|
461
|
+
"id": 22898,
|
462
462
|
"name": "IDelegationControl",
|
463
463
|
"nodeType": "Identifier",
|
464
464
|
"overloadedDeclarations": [],
|
465
|
-
"referencedDeclaration":
|
466
|
-
"src": "
|
465
|
+
"referencedDeclaration": 22919,
|
466
|
+
"src": "457:18:33",
|
467
467
|
"typeDescriptions": {
|
468
|
-
"typeIdentifier": "t_type$_t_contract$_IDelegationControl_$
|
468
|
+
"typeIdentifier": "t_type$_t_contract$_IDelegationControl_$22919_$",
|
469
469
|
"typeString": "type(contract IDelegationControl)"
|
470
470
|
}
|
471
471
|
},
|
472
|
-
"id":
|
472
|
+
"id": 22899,
|
473
473
|
"isConstant": false,
|
474
474
|
"isLValue": false,
|
475
475
|
"isPure": true,
|
476
476
|
"lValueRequested": false,
|
477
|
-
"memberLocation": "
|
477
|
+
"memberLocation": "476:6:33",
|
478
478
|
"memberName": "verify",
|
479
479
|
"nodeType": "MemberAccess",
|
480
|
-
"referencedDeclaration":
|
481
|
-
"src": "
|
480
|
+
"referencedDeclaration": 22918,
|
481
|
+
"src": "457:25:33",
|
482
482
|
"typeDescriptions": {
|
483
|
-
"typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_userDefinedValueType$_ResourceId_$
|
483
|
+
"typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_userDefinedValueType$_ResourceId_$26198_$_t_bytes_memory_ptr_$returns$_t_bool_$",
|
484
484
|
"typeString": "function IDelegationControl.verify(address,ResourceId,bytes memory) returns (bool)"
|
485
485
|
}
|
486
486
|
},
|
487
|
-
"id":
|
487
|
+
"id": 22900,
|
488
488
|
"isConstant": false,
|
489
489
|
"isLValue": false,
|
490
490
|
"isPure": true,
|
491
491
|
"lValueRequested": false,
|
492
|
-
"memberLocation": "
|
492
|
+
"memberLocation": "483:8:33",
|
493
493
|
"memberName": "selector",
|
494
494
|
"nodeType": "MemberAccess",
|
495
|
-
"src": "
|
495
|
+
"src": "457:34:33",
|
496
496
|
"typeDescriptions": {
|
497
497
|
"typeIdentifier": "t_bytes4",
|
498
498
|
"typeString": "bytes4"
|
@@ -501,18 +501,18 @@
|
|
501
501
|
"nodeType": "BinaryOperation",
|
502
502
|
"operator": "^",
|
503
503
|
"rightExpression": {
|
504
|
-
"id":
|
504
|
+
"id": 22901,
|
505
505
|
"name": "WORLD_CONTEXT_CONSUMER_INTERFACE_ID",
|
506
506
|
"nodeType": "Identifier",
|
507
507
|
"overloadedDeclarations": [],
|
508
|
-
"referencedDeclaration":
|
509
|
-
"src": "
|
508
|
+
"referencedDeclaration": 23046,
|
509
|
+
"src": "496:35:33",
|
510
510
|
"typeDescriptions": {
|
511
511
|
"typeIdentifier": "t_bytes4",
|
512
512
|
"typeString": "bytes4"
|
513
513
|
}
|
514
514
|
},
|
515
|
-
"src": "
|
515
|
+
"src": "457:74:33",
|
516
516
|
"typeDescriptions": {
|
517
517
|
"typeIdentifier": "t_bytes4",
|
518
518
|
"typeString": "bytes4"
|
@@ -521,34 +521,34 @@
|
|
521
521
|
"visibility": "internal"
|
522
522
|
},
|
523
523
|
{
|
524
|
-
"id":
|
524
|
+
"id": 22919,
|
525
525
|
"nodeType": "ContractDefinition",
|
526
|
-
"src": "
|
526
|
+
"src": "715:163:33",
|
527
527
|
"nodes": [
|
528
528
|
{
|
529
|
-
"id":
|
529
|
+
"id": 22918,
|
530
530
|
"nodeType": "FunctionDefinition",
|
531
|
-
"src": "
|
531
|
+
"src": "773:103:33",
|
532
532
|
"nodes": [],
|
533
533
|
"functionSelector": "1a86b550",
|
534
534
|
"implemented": false,
|
535
535
|
"kind": "function",
|
536
536
|
"modifiers": [],
|
537
537
|
"name": "verify",
|
538
|
-
"nameLocation": "
|
538
|
+
"nameLocation": "782:6:33",
|
539
539
|
"parameters": {
|
540
|
-
"id":
|
540
|
+
"id": 22914,
|
541
541
|
"nodeType": "ParameterList",
|
542
542
|
"parameters": [
|
543
543
|
{
|
544
544
|
"constant": false,
|
545
|
-
"id":
|
545
|
+
"id": 22908,
|
546
546
|
"mutability": "mutable",
|
547
547
|
"name": "delegator",
|
548
|
-
"nameLocation": "
|
548
|
+
"nameLocation": "797:9:33",
|
549
549
|
"nodeType": "VariableDeclaration",
|
550
|
-
"scope":
|
551
|
-
"src": "
|
550
|
+
"scope": 22918,
|
551
|
+
"src": "789:17:33",
|
552
552
|
"stateVariable": false,
|
553
553
|
"storageLocation": "default",
|
554
554
|
"typeDescriptions": {
|
@@ -556,10 +556,10 @@
|
|
556
556
|
"typeString": "address"
|
557
557
|
},
|
558
558
|
"typeName": {
|
559
|
-
"id":
|
559
|
+
"id": 22907,
|
560
560
|
"name": "address",
|
561
561
|
"nodeType": "ElementaryTypeName",
|
562
|
-
"src": "
|
562
|
+
"src": "789:7:33",
|
563
563
|
"stateMutability": "nonpayable",
|
564
564
|
"typeDescriptions": {
|
565
565
|
"typeIdentifier": "t_address",
|
@@ -570,36 +570,36 @@
|
|
570
570
|
},
|
571
571
|
{
|
572
572
|
"constant": false,
|
573
|
-
"id":
|
573
|
+
"id": 22911,
|
574
574
|
"mutability": "mutable",
|
575
575
|
"name": "systemId",
|
576
|
-
"nameLocation": "
|
576
|
+
"nameLocation": "819:8:33",
|
577
577
|
"nodeType": "VariableDeclaration",
|
578
|
-
"scope":
|
579
|
-
"src": "
|
578
|
+
"scope": 22918,
|
579
|
+
"src": "808:19:33",
|
580
580
|
"stateVariable": false,
|
581
581
|
"storageLocation": "default",
|
582
582
|
"typeDescriptions": {
|
583
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
583
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
|
584
584
|
"typeString": "ResourceId"
|
585
585
|
},
|
586
586
|
"typeName": {
|
587
|
-
"id":
|
587
|
+
"id": 22910,
|
588
588
|
"nodeType": "UserDefinedTypeName",
|
589
589
|
"pathNode": {
|
590
|
-
"id":
|
590
|
+
"id": 22909,
|
591
591
|
"name": "ResourceId",
|
592
592
|
"nameLocations": [
|
593
|
-
"
|
593
|
+
"808:10:33"
|
594
594
|
],
|
595
595
|
"nodeType": "IdentifierPath",
|
596
|
-
"referencedDeclaration":
|
597
|
-
"src": "
|
596
|
+
"referencedDeclaration": 26198,
|
597
|
+
"src": "808:10:33"
|
598
598
|
},
|
599
|
-
"referencedDeclaration":
|
600
|
-
"src": "
|
599
|
+
"referencedDeclaration": 26198,
|
600
|
+
"src": "808:10:33",
|
601
601
|
"typeDescriptions": {
|
602
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
602
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
|
603
603
|
"typeString": "ResourceId"
|
604
604
|
}
|
605
605
|
},
|
@@ -607,13 +607,13 @@
|
|
607
607
|
},
|
608
608
|
{
|
609
609
|
"constant": false,
|
610
|
-
"id":
|
610
|
+
"id": 22913,
|
611
611
|
"mutability": "mutable",
|
612
612
|
"name": "callData",
|
613
|
-
"nameLocation": "
|
613
|
+
"nameLocation": "842:8:33",
|
614
614
|
"nodeType": "VariableDeclaration",
|
615
|
-
"scope":
|
616
|
-
"src": "
|
615
|
+
"scope": 22918,
|
616
|
+
"src": "829:21:33",
|
617
617
|
"stateVariable": false,
|
618
618
|
"storageLocation": "memory",
|
619
619
|
"typeDescriptions": {
|
@@ -621,10 +621,10 @@
|
|
621
621
|
"typeString": "bytes"
|
622
622
|
},
|
623
623
|
"typeName": {
|
624
|
-
"id":
|
624
|
+
"id": 22912,
|
625
625
|
"name": "bytes",
|
626
626
|
"nodeType": "ElementaryTypeName",
|
627
|
-
"src": "
|
627
|
+
"src": "829:5:33",
|
628
628
|
"typeDescriptions": {
|
629
629
|
"typeIdentifier": "t_bytes_storage_ptr",
|
630
630
|
"typeString": "bytes"
|
@@ -633,21 +633,21 @@
|
|
633
633
|
"visibility": "internal"
|
634
634
|
}
|
635
635
|
],
|
636
|
-
"src": "
|
636
|
+
"src": "788:63:33"
|
637
637
|
},
|
638
638
|
"returnParameters": {
|
639
|
-
"id":
|
639
|
+
"id": 22917,
|
640
640
|
"nodeType": "ParameterList",
|
641
641
|
"parameters": [
|
642
642
|
{
|
643
643
|
"constant": false,
|
644
|
-
"id":
|
644
|
+
"id": 22916,
|
645
645
|
"mutability": "mutable",
|
646
646
|
"name": "",
|
647
647
|
"nameLocation": "-1:-1:-1",
|
648
648
|
"nodeType": "VariableDeclaration",
|
649
|
-
"scope":
|
650
|
-
"src": "
|
649
|
+
"scope": 22918,
|
650
|
+
"src": "870:4:33",
|
651
651
|
"stateVariable": false,
|
652
652
|
"storageLocation": "default",
|
653
653
|
"typeDescriptions": {
|
@@ -655,10 +655,10 @@
|
|
655
655
|
"typeString": "bool"
|
656
656
|
},
|
657
657
|
"typeName": {
|
658
|
-
"id":
|
658
|
+
"id": 22915,
|
659
659
|
"name": "bool",
|
660
660
|
"nodeType": "ElementaryTypeName",
|
661
|
-
"src": "
|
661
|
+
"src": "870:4:33",
|
662
662
|
"typeDescriptions": {
|
663
663
|
"typeIdentifier": "t_bool",
|
664
664
|
"typeString": "bool"
|
@@ -667,9 +667,9 @@
|
|
667
667
|
"visibility": "internal"
|
668
668
|
}
|
669
669
|
],
|
670
|
-
"src": "
|
670
|
+
"src": "869:6:33"
|
671
671
|
},
|
672
|
-
"scope":
|
672
|
+
"scope": 22919,
|
673
673
|
"stateMutability": "nonpayable",
|
674
674
|
"virtual": false,
|
675
675
|
"visibility": "external"
|
@@ -679,32 +679,38 @@
|
|
679
679
|
"baseContracts": [
|
680
680
|
{
|
681
681
|
"baseName": {
|
682
|
-
"id":
|
682
|
+
"id": 22905,
|
683
683
|
"name": "IWorldContextConsumer",
|
684
684
|
"nameLocations": [
|
685
|
-
"
|
685
|
+
"747:21:33"
|
686
686
|
],
|
687
687
|
"nodeType": "IdentifierPath",
|
688
|
-
"referencedDeclaration":
|
689
|
-
"src": "
|
688
|
+
"referencedDeclaration": 23064,
|
689
|
+
"src": "747:21:33"
|
690
690
|
},
|
691
|
-
"id":
|
691
|
+
"id": 22906,
|
692
692
|
"nodeType": "InheritanceSpecifier",
|
693
|
-
"src": "
|
693
|
+
"src": "747:21:33"
|
694
694
|
}
|
695
695
|
],
|
696
696
|
"canonicalName": "IDelegationControl",
|
697
697
|
"contractDependencies": [],
|
698
698
|
"contractKind": "interface",
|
699
|
+
"documentation": {
|
700
|
+
"id": 22904,
|
701
|
+
"nodeType": "StructuredDocumentation",
|
702
|
+
"src": "534:180:33",
|
703
|
+
"text": " @title IDelegationControl\n @dev Interface for managing and verifying delegations within the context of a world.\n Inherits functionalities from IWorldContextConsumer."
|
704
|
+
},
|
699
705
|
"fullyImplemented": false,
|
700
706
|
"linearizedBaseContracts": [
|
701
|
-
|
702
|
-
|
703
|
-
|
707
|
+
22919,
|
708
|
+
23064,
|
709
|
+
22937
|
704
710
|
],
|
705
711
|
"name": "IDelegationControl",
|
706
|
-
"nameLocation": "
|
707
|
-
"scope":
|
712
|
+
"nameLocation": "725:18:33",
|
713
|
+
"scope": 22920,
|
708
714
|
"usedErrors": [],
|
709
715
|
"usedEvents": []
|
710
716
|
}
|