@latticexyz/world-modules 2.0.0-main-251170e1 → 2.0.0-main-5741d53d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mud.config.js +1 -1
- package/dist/mud.config.js.map +1 -1
- package/out/ArrayLib.sol/ArrayLib.json +477 -477
- package/out/Callbacks.sol/Callbacks.json +45 -45
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +350 -350
- package/out/CallboundDelegations.sol/CallboundDelegations.json +4497 -4497
- package/out/DelegationControl.sol/DelegationControl.json +83 -83
- package/out/Hooks.sol/Hooks.json +45 -45
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +111 -111
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +96 -96
- package/out/IBaseWorld.sol/IBaseWorld.abi.json +0 -13
- package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +0 -13
- package/out/IBaseWorld.sol/IBaseWorld.json +81 -161
- package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
- package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +70 -0
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +534 -0
- package/out/ICoreSystem.sol/ICoreSystem.json +15 -15
- package/out/IDelegationControl.sol/IDelegationControl.json +100 -100
- package/out/IModule.sol/IModule.json +139 -139
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +58 -58
- package/out/ISystemHook.sol/ISystemHook.json +141 -141
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +2 -2
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +2 -2
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +37 -37
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +118 -118
- package/out/IWorldErrors.sol/IWorldErrors.json +257 -257
- package/out/IWorldKernel.sol/IWorldCall.json +251 -251
- package/out/IWorldKernel.sol/IWorldKernel.json +251 -251
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +251 -251
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +321 -321
- package/out/KeyEncoding.sol/KeyEncoding.json +80 -80
- package/out/KeysInTable.sol/KeysInTable.json +18190 -18190
- package/out/KeysInTableHook.sol/KeysInTableHook.json +1407 -1407
- package/out/KeysInTableModule.sol/KeysInTableModule.json +885 -885
- package/out/KeysWithValue.sol/KeysWithValue.json +6631 -6631
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1604 -1604
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +700 -700
- package/out/Mixed.sol/Mixed.json +66 -66
- package/out/Module.sol/Module.json +73 -73
- package/out/ResourceIds.sol/ResourceIds.json +45 -45
- package/out/Schema.sol/SchemaInstance.json +30 -30
- package/out/Schema.sol/SchemaLib.json +30 -30
- package/out/SchemaType.sol/SchemaType.json +276 -276
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +495 -495
- package/out/StoreHook.sol/StoreHook.json +358 -358
- package/out/StoreHooks.sol/StoreHooks.json +45 -45
- package/out/System.sol/System.json +19 -19
- package/out/Tables.sol/Tables.json +73 -73
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +183 -183
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3474 -3474
- package/out/UniqueEntity.sol/UniqueEntity.json +2345 -2345
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +529 -529
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +128 -128
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4588 -4588
- package/out/Vector2.sol/Vector2.json +52 -52
- package/out/WorldContext.sol/WorldContextConsumer.json +28 -28
- package/out/WorldContext.sol/WorldContextProvider.json +28 -28
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +103 -103
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +103 -103
- package/out/constants.sol/constants.json +142 -142
- package/out/getKeysInTable.sol/getKeysInTable.json +918 -918
- package/out/getKeysWithValue.sol/getKeysWithValue.json +431 -431
- package/out/getTargetTableId.sol/getTargetTableId.json +272 -272
- package/out/getUniqueEntity.sol/getUniqueEntity.json +149 -149
- package/out/hasKey.sol/hasKey.json +215 -215
- package/out/index.sol/index.json +73 -73
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json +51 -15
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +51 -15
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +326 -253
- package/out/interfaces/IERC165.sol/IERC165.json +50 -50
- package/out/interfaces/IWorldKernel.sol/IWorldCall.json +149 -149
- package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +149 -149
- package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +149 -149
- package/out/query.sol/query.json +1892 -1892
- package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
- package/out/src/Bytes.sol/Bytes.json +1332 -1332
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
- package/out/src/IStore.sol/IStore.json +885 -885
- package/out/src/IStore.sol/IStoreData.json +885 -885
- package/out/src/IStore.sol/IStoreRead.json +885 -885
- package/out/src/IStore.sol/IStoreRegistration.json +885 -885
- package/out/src/IStore.sol/IStoreWrite.json +885 -885
- package/out/src/Memory.sol/Memory.json +89 -89
- package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
- package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
- package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
- package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
- package/out/src/Schema.sol/SchemaInstance.json +787 -787
- package/out/src/Schema.sol/SchemaLib.json +787 -787
- package/out/src/Slice.sol/SliceInstance.json +429 -429
- package/out/src/Slice.sol/SliceLib.json +429 -429
- package/out/src/StoreCore.sol/StoreCore.json +4461 -4461
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4461 -4461
- package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
- package/out/src/WorldContext.sol/WorldContextConsumer.json +353 -353
- package/out/src/WorldContext.sol/WorldContextProvider.json +353 -353
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
- package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
- package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
- package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
- package/out/tables/Tables.sol/Tables.json +7288 -7288
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
- package/out/types.sol/types.json +131 -23
- package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
- package/package.json +8 -8
- package/src/interfaces/IBaseWorld.sol +1 -3
- package/src/interfaces/IUniqueEntitySystem.sol +2 -3
- package/src/modules/keysintable/KeysInTableModule.sol +1 -1
- package/src/modules/keyswithvalue/KeysWithValueHook.sol +1 -1
- package/src/modules/keyswithvalue/KeysWithValueModule.sol +1 -1
- package/src/modules/std-delegations/StandardDelegationsModule.sol +1 -1
- package/src/modules/uniqueentity/UniqueEntityModule.sol +1 -1
- package/src/modules/uniqueentity/getUniqueEntity.sol +2 -2
- package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json +0 -33
- package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json.d.ts +0 -34
- package/out/ICallBatchSystem.sol/ICallBatchSystem.json +0 -334
- package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +0 -15
- package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +0 -16
- package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +0 -197
@@ -11,7 +11,7 @@
|
|
11
11
|
"linkReferences": {}
|
12
12
|
},
|
13
13
|
"methodIdentifiers": {},
|
14
|
-
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/world/src/interfaces/ICoreSystem.sol\":\"ICoreSystem\"},\"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/interfaces/ICoreSystem.sol\":{\"keccak256\":\"0x2d81bbd0c31f30f59e02a999abac7424b7001f3214221872493d58799ea41bfe\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4310a29d7520173f8ec4f5ee6a0b5177f065103306c2714fbdf6b1e9ab18a75f\",\"dweb:/ipfs/QmNfvbPhmuwfjkNxuXeu9KZGbVs6XAsjbirxt3AQgPm4bA\"]}},\"version\":1}",
|
14
|
+
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/ICoreSystem.sol\":\"ICoreSystem\"},\"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/ICoreSystem.sol\":{\"keccak256\":\"0x2d81bbd0c31f30f59e02a999abac7424b7001f3214221872493d58799ea41bfe\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4310a29d7520173f8ec4f5ee6a0b5177f065103306c2714fbdf6b1e9ab18a75f\",\"dweb:/ipfs/QmNfvbPhmuwfjkNxuXeu9KZGbVs6XAsjbirxt3AQgPm4bA\"]}},\"version\":1}",
|
15
15
|
"metadata": {
|
16
16
|
"compiler": {
|
17
17
|
"version": "0.8.21+commit.d9974bed"
|
@@ -44,12 +44,12 @@
|
|
44
44
|
"bytecodeHash": "none"
|
45
45
|
},
|
46
46
|
"compilationTarget": {
|
47
|
-
"/home/runner/work/mud/mud/packages/world/src/interfaces/ICoreSystem.sol": "ICoreSystem"
|
47
|
+
"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/ICoreSystem.sol": "ICoreSystem"
|
48
48
|
},
|
49
49
|
"libraries": {}
|
50
50
|
},
|
51
51
|
"sources": {
|
52
|
-
"/home/runner/work/mud/mud/packages/world/src/interfaces/ICoreSystem.sol": {
|
52
|
+
"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/ICoreSystem.sol": {
|
53
53
|
"keccak256": "0x2d81bbd0c31f30f59e02a999abac7424b7001f3214221872493d58799ea41bfe",
|
54
54
|
"urls": [
|
55
55
|
"bzz-raw://4310a29d7520173f8ec4f5ee6a0b5177f065103306c2714fbdf6b1e9ab18a75f",
|
@@ -61,20 +61,20 @@
|
|
61
61
|
"version": 1
|
62
62
|
},
|
63
63
|
"ast": {
|
64
|
-
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/interfaces/ICoreSystem.sol",
|
65
|
-
"id":
|
64
|
+
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/ICoreSystem.sol",
|
65
|
+
"id": 33240,
|
66
66
|
"exportedSymbols": {
|
67
67
|
"ICoreSystem": [
|
68
|
-
|
68
|
+
33239
|
69
69
|
]
|
70
70
|
},
|
71
71
|
"nodeType": "SourceUnit",
|
72
|
-
"src": "32:103:
|
72
|
+
"src": "32:103:38",
|
73
73
|
"nodes": [
|
74
74
|
{
|
75
|
-
"id":
|
75
|
+
"id": 33238,
|
76
76
|
"nodeType": "PragmaDirective",
|
77
|
-
"src": "32:25:
|
77
|
+
"src": "32:25:38",
|
78
78
|
"nodes": [],
|
79
79
|
"literals": [
|
80
80
|
"solidity",
|
@@ -84,9 +84,9 @@
|
|
84
84
|
]
|
85
85
|
},
|
86
86
|
{
|
87
|
-
"id":
|
87
|
+
"id": 33239,
|
88
88
|
"nodeType": "ContractDefinition",
|
89
|
-
"src": "108:26:
|
89
|
+
"src": "108:26:38",
|
90
90
|
"nodes": [],
|
91
91
|
"abstract": false,
|
92
92
|
"baseContracts": [],
|
@@ -95,16 +95,16 @@
|
|
95
95
|
"contractKind": "interface",
|
96
96
|
"fullyImplemented": true,
|
97
97
|
"linearizedBaseContracts": [
|
98
|
-
|
98
|
+
33239
|
99
99
|
],
|
100
100
|
"name": "ICoreSystem",
|
101
|
-
"nameLocation": "118:11:
|
102
|
-
"scope":
|
101
|
+
"nameLocation": "118:11:38",
|
102
|
+
"scope": 33240,
|
103
103
|
"usedErrors": [],
|
104
104
|
"usedEvents": []
|
105
105
|
}
|
106
106
|
],
|
107
107
|
"license": "MIT"
|
108
108
|
},
|
109
|
-
"id":
|
109
|
+
"id": 38
|
110
110
|
}
|
@@ -322,31 +322,31 @@
|
|
322
322
|
},
|
323
323
|
"ast": {
|
324
324
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/interfaces/IDelegationControl.sol",
|
325
|
-
"id":
|
325
|
+
"id": 33417,
|
326
326
|
"exportedSymbols": {
|
327
327
|
"DELEGATION_CONTROL_INTERFACE_ID": [
|
328
|
-
|
328
|
+
33401
|
329
329
|
],
|
330
330
|
"IDelegationControl": [
|
331
|
-
|
331
|
+
33416
|
332
332
|
],
|
333
333
|
"IWorldContextConsumer": [
|
334
|
-
|
334
|
+
33556
|
335
335
|
],
|
336
336
|
"ResourceId": [
|
337
|
-
|
337
|
+
36384
|
338
338
|
],
|
339
339
|
"WORLD_CONTEXT_CONSUMER_INTERFACE_ID": [
|
340
|
-
|
340
|
+
33538
|
341
341
|
]
|
342
342
|
},
|
343
343
|
"nodeType": "SourceUnit",
|
344
|
-
"src": "32:547:
|
344
|
+
"src": "32:547:42",
|
345
345
|
"nodes": [
|
346
346
|
{
|
347
|
-
"id":
|
347
|
+
"id": 33389,
|
348
348
|
"nodeType": "PragmaDirective",
|
349
|
-
"src": "32:25:
|
349
|
+
"src": "32:25:42",
|
350
350
|
"nodes": [],
|
351
351
|
"literals": [
|
352
352
|
"solidity",
|
@@ -356,36 +356,36 @@
|
|
356
356
|
]
|
357
357
|
},
|
358
358
|
{
|
359
|
-
"id":
|
359
|
+
"id": 33392,
|
360
360
|
"nodeType": "ImportDirective",
|
361
|
-
"src": "59:105:
|
361
|
+
"src": "59:105:42",
|
362
362
|
"nodes": [],
|
363
363
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/interfaces/IWorldContextConsumer.sol",
|
364
364
|
"file": "./IWorldContextConsumer.sol",
|
365
365
|
"nameLocation": "-1:-1:-1",
|
366
|
-
"scope":
|
367
|
-
"sourceUnit":
|
366
|
+
"scope": 33417,
|
367
|
+
"sourceUnit": 33557,
|
368
368
|
"symbolAliases": [
|
369
369
|
{
|
370
370
|
"foreign": {
|
371
|
-
"id":
|
371
|
+
"id": 33390,
|
372
372
|
"name": "IWorldContextConsumer",
|
373
373
|
"nodeType": "Identifier",
|
374
374
|
"overloadedDeclarations": [],
|
375
|
-
"referencedDeclaration":
|
376
|
-
"src": "68:21:
|
375
|
+
"referencedDeclaration": 33556,
|
376
|
+
"src": "68:21:42",
|
377
377
|
"typeDescriptions": {}
|
378
378
|
},
|
379
379
|
"nameLocation": "-1:-1:-1"
|
380
380
|
},
|
381
381
|
{
|
382
382
|
"foreign": {
|
383
|
-
"id":
|
383
|
+
"id": 33391,
|
384
384
|
"name": "WORLD_CONTEXT_CONSUMER_INTERFACE_ID",
|
385
385
|
"nodeType": "Identifier",
|
386
386
|
"overloadedDeclarations": [],
|
387
|
-
"referencedDeclaration":
|
388
|
-
"src": "91:35:
|
387
|
+
"referencedDeclaration": 33538,
|
388
|
+
"src": "91:35:42",
|
389
389
|
"typeDescriptions": {}
|
390
390
|
},
|
391
391
|
"nameLocation": "-1:-1:-1"
|
@@ -394,24 +394,24 @@
|
|
394
394
|
"unitAlias": ""
|
395
395
|
},
|
396
396
|
{
|
397
|
-
"id":
|
397
|
+
"id": 33394,
|
398
398
|
"nodeType": "ImportDirective",
|
399
|
-
"src": "165:52:
|
399
|
+
"src": "165:52:42",
|
400
400
|
"nodes": [],
|
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":
|
404
|
+
"scope": 33417,
|
405
405
|
"sourceUnit": 33156,
|
406
406
|
"symbolAliases": [
|
407
407
|
{
|
408
408
|
"foreign": {
|
409
|
-
"id":
|
409
|
+
"id": 33393,
|
410
410
|
"name": "ResourceId",
|
411
411
|
"nodeType": "Identifier",
|
412
412
|
"overloadedDeclarations": [],
|
413
|
-
"referencedDeclaration":
|
414
|
-
"src": "174:10:
|
413
|
+
"referencedDeclaration": 36384,
|
414
|
+
"src": "174:10:42",
|
415
415
|
"typeDescriptions": {}
|
416
416
|
},
|
417
417
|
"nameLocation": "-1:-1:-1"
|
@@ -420,15 +420,15 @@
|
|
420
420
|
"unitAlias": ""
|
421
421
|
},
|
422
422
|
{
|
423
|
-
"id":
|
423
|
+
"id": 33401,
|
424
424
|
"nodeType": "VariableDeclaration",
|
425
|
-
"src": "288:124:
|
425
|
+
"src": "288:124:42",
|
426
426
|
"nodes": [],
|
427
427
|
"constant": true,
|
428
428
|
"mutability": "constant",
|
429
429
|
"name": "DELEGATION_CONTROL_INTERFACE_ID",
|
430
|
-
"nameLocation": "304:31:
|
431
|
-
"scope":
|
430
|
+
"nameLocation": "304:31:42",
|
431
|
+
"scope": 33417,
|
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": 33395,
|
440
440
|
"name": "bytes4",
|
441
441
|
"nodeType": "ElementaryTypeName",
|
442
|
-
"src": "288:6:
|
442
|
+
"src": "288:6:42",
|
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": 33400,
|
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": 33396,
|
462
462
|
"name": "IDelegationControl",
|
463
463
|
"nodeType": "Identifier",
|
464
464
|
"overloadedDeclarations": [],
|
465
|
-
"referencedDeclaration":
|
466
|
-
"src": "338:18:
|
465
|
+
"referencedDeclaration": 33416,
|
466
|
+
"src": "338:18:42",
|
467
467
|
"typeDescriptions": {
|
468
|
-
"typeIdentifier": "t_type$_t_contract$_IDelegationControl_$
|
468
|
+
"typeIdentifier": "t_type$_t_contract$_IDelegationControl_$33416_$",
|
469
469
|
"typeString": "type(contract IDelegationControl)"
|
470
470
|
}
|
471
471
|
},
|
472
|
-
"id":
|
472
|
+
"id": 33397,
|
473
473
|
"isConstant": false,
|
474
474
|
"isLValue": false,
|
475
475
|
"isPure": true,
|
476
476
|
"lValueRequested": false,
|
477
|
-
"memberLocation": "357:6:
|
477
|
+
"memberLocation": "357:6:42",
|
478
478
|
"memberName": "verify",
|
479
479
|
"nodeType": "MemberAccess",
|
480
|
-
"referencedDeclaration":
|
481
|
-
"src": "338:25:
|
480
|
+
"referencedDeclaration": 33415,
|
481
|
+
"src": "338:25:42",
|
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_$36384_$_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": 33398,
|
488
488
|
"isConstant": false,
|
489
489
|
"isLValue": false,
|
490
490
|
"isPure": true,
|
491
491
|
"lValueRequested": false,
|
492
|
-
"memberLocation": "364:8:
|
492
|
+
"memberLocation": "364:8:42",
|
493
493
|
"memberName": "selector",
|
494
494
|
"nodeType": "MemberAccess",
|
495
|
-
"src": "338:34:
|
495
|
+
"src": "338:34:42",
|
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": 33399,
|
505
505
|
"name": "WORLD_CONTEXT_CONSUMER_INTERFACE_ID",
|
506
506
|
"nodeType": "Identifier",
|
507
507
|
"overloadedDeclarations": [],
|
508
|
-
"referencedDeclaration":
|
509
|
-
"src": "377:35:
|
508
|
+
"referencedDeclaration": 33538,
|
509
|
+
"src": "377:35:42",
|
510
510
|
"typeDescriptions": {
|
511
511
|
"typeIdentifier": "t_bytes4",
|
512
512
|
"typeString": "bytes4"
|
513
513
|
}
|
514
514
|
},
|
515
|
-
"src": "338:74:
|
515
|
+
"src": "338:74:42",
|
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": 33416,
|
525
525
|
"nodeType": "ContractDefinition",
|
526
|
-
"src": "415:163:
|
526
|
+
"src": "415:163:42",
|
527
527
|
"nodes": [
|
528
528
|
{
|
529
|
-
"id":
|
529
|
+
"id": 33415,
|
530
530
|
"nodeType": "FunctionDefinition",
|
531
|
-
"src": "473:103:
|
531
|
+
"src": "473:103:42",
|
532
532
|
"nodes": [],
|
533
533
|
"functionSelector": "1a86b550",
|
534
534
|
"implemented": false,
|
535
535
|
"kind": "function",
|
536
536
|
"modifiers": [],
|
537
537
|
"name": "verify",
|
538
|
-
"nameLocation": "482:6:
|
538
|
+
"nameLocation": "482:6:42",
|
539
539
|
"parameters": {
|
540
|
-
"id":
|
540
|
+
"id": 33411,
|
541
541
|
"nodeType": "ParameterList",
|
542
542
|
"parameters": [
|
543
543
|
{
|
544
544
|
"constant": false,
|
545
|
-
"id":
|
545
|
+
"id": 33405,
|
546
546
|
"mutability": "mutable",
|
547
547
|
"name": "delegator",
|
548
|
-
"nameLocation": "497:9:
|
548
|
+
"nameLocation": "497:9:42",
|
549
549
|
"nodeType": "VariableDeclaration",
|
550
|
-
"scope":
|
551
|
-
"src": "489:17:
|
550
|
+
"scope": 33415,
|
551
|
+
"src": "489:17:42",
|
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": 33404,
|
560
560
|
"name": "address",
|
561
561
|
"nodeType": "ElementaryTypeName",
|
562
|
-
"src": "489:7:
|
562
|
+
"src": "489:7:42",
|
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": 33408,
|
574
574
|
"mutability": "mutable",
|
575
575
|
"name": "systemId",
|
576
|
-
"nameLocation": "519:8:
|
576
|
+
"nameLocation": "519:8:42",
|
577
577
|
"nodeType": "VariableDeclaration",
|
578
|
-
"scope":
|
579
|
-
"src": "508:19:
|
578
|
+
"scope": 33415,
|
579
|
+
"src": "508:19:42",
|
580
580
|
"stateVariable": false,
|
581
581
|
"storageLocation": "default",
|
582
582
|
"typeDescriptions": {
|
583
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
583
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
|
584
584
|
"typeString": "ResourceId"
|
585
585
|
},
|
586
586
|
"typeName": {
|
587
|
-
"id":
|
587
|
+
"id": 33407,
|
588
588
|
"nodeType": "UserDefinedTypeName",
|
589
589
|
"pathNode": {
|
590
|
-
"id":
|
590
|
+
"id": 33406,
|
591
591
|
"name": "ResourceId",
|
592
592
|
"nameLocations": [
|
593
|
-
"508:10:
|
593
|
+
"508:10:42"
|
594
594
|
],
|
595
595
|
"nodeType": "IdentifierPath",
|
596
|
-
"referencedDeclaration":
|
597
|
-
"src": "508:10:
|
596
|
+
"referencedDeclaration": 36384,
|
597
|
+
"src": "508:10:42"
|
598
598
|
},
|
599
|
-
"referencedDeclaration":
|
600
|
-
"src": "508:10:
|
599
|
+
"referencedDeclaration": 36384,
|
600
|
+
"src": "508:10:42",
|
601
601
|
"typeDescriptions": {
|
602
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
602
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
|
603
603
|
"typeString": "ResourceId"
|
604
604
|
}
|
605
605
|
},
|
@@ -607,13 +607,13 @@
|
|
607
607
|
},
|
608
608
|
{
|
609
609
|
"constant": false,
|
610
|
-
"id":
|
610
|
+
"id": 33410,
|
611
611
|
"mutability": "mutable",
|
612
612
|
"name": "callData",
|
613
|
-
"nameLocation": "542:8:
|
613
|
+
"nameLocation": "542:8:42",
|
614
614
|
"nodeType": "VariableDeclaration",
|
615
|
-
"scope":
|
616
|
-
"src": "529:21:
|
615
|
+
"scope": 33415,
|
616
|
+
"src": "529:21:42",
|
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": 33409,
|
625
625
|
"name": "bytes",
|
626
626
|
"nodeType": "ElementaryTypeName",
|
627
|
-
"src": "529:5:
|
627
|
+
"src": "529:5:42",
|
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": "488:63:
|
636
|
+
"src": "488:63:42"
|
637
637
|
},
|
638
638
|
"returnParameters": {
|
639
|
-
"id":
|
639
|
+
"id": 33414,
|
640
640
|
"nodeType": "ParameterList",
|
641
641
|
"parameters": [
|
642
642
|
{
|
643
643
|
"constant": false,
|
644
|
-
"id":
|
644
|
+
"id": 33413,
|
645
645
|
"mutability": "mutable",
|
646
646
|
"name": "",
|
647
647
|
"nameLocation": "-1:-1:-1",
|
648
648
|
"nodeType": "VariableDeclaration",
|
649
|
-
"scope":
|
650
|
-
"src": "570:4:
|
649
|
+
"scope": 33415,
|
650
|
+
"src": "570:4:42",
|
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": 33412,
|
659
659
|
"name": "bool",
|
660
660
|
"nodeType": "ElementaryTypeName",
|
661
|
-
"src": "570:4:
|
661
|
+
"src": "570:4:42",
|
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": "569:6:
|
670
|
+
"src": "569:6:42"
|
671
671
|
},
|
672
|
-
"scope":
|
672
|
+
"scope": 33416,
|
673
673
|
"stateMutability": "nonpayable",
|
674
674
|
"virtual": false,
|
675
675
|
"visibility": "external"
|
@@ -679,18 +679,18 @@
|
|
679
679
|
"baseContracts": [
|
680
680
|
{
|
681
681
|
"baseName": {
|
682
|
-
"id":
|
682
|
+
"id": 33402,
|
683
683
|
"name": "IWorldContextConsumer",
|
684
684
|
"nameLocations": [
|
685
|
-
"447:21:
|
685
|
+
"447:21:42"
|
686
686
|
],
|
687
687
|
"nodeType": "IdentifierPath",
|
688
|
-
"referencedDeclaration":
|
689
|
-
"src": "447:21:
|
688
|
+
"referencedDeclaration": 33556,
|
689
|
+
"src": "447:21:42"
|
690
690
|
},
|
691
|
-
"id":
|
691
|
+
"id": 33403,
|
692
692
|
"nodeType": "InheritanceSpecifier",
|
693
|
-
"src": "447:21:
|
693
|
+
"src": "447:21:42"
|
694
694
|
}
|
695
695
|
],
|
696
696
|
"canonicalName": "IDelegationControl",
|
@@ -698,18 +698,18 @@
|
|
698
698
|
"contractKind": "interface",
|
699
699
|
"fullyImplemented": false,
|
700
700
|
"linearizedBaseContracts": [
|
701
|
-
|
702
|
-
|
703
|
-
|
701
|
+
33416,
|
702
|
+
33556,
|
703
|
+
33432
|
704
704
|
],
|
705
705
|
"name": "IDelegationControl",
|
706
|
-
"nameLocation": "425:18:
|
707
|
-
"scope":
|
706
|
+
"nameLocation": "425:18:42",
|
707
|
+
"scope": 33417,
|
708
708
|
"usedErrors": [],
|
709
709
|
"usedEvents": []
|
710
710
|
}
|
711
711
|
],
|
712
712
|
"license": "MIT"
|
713
713
|
},
|
714
|
-
"id":
|
714
|
+
"id": 42
|
715
715
|
}
|