@latticexyz/world-modules 2.0.0-main-fd10cff6 → 2.0.0-main-85218618

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.
Files changed (87) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +241 -217
  3. package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
  4. package/out/DelegationControl.sol/DelegationControl.json +122 -98
  5. package/out/Hooks.sol/Hooks.json +45 -45
  6. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +64 -64
  7. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +53 -53
  8. package/out/IBaseWorld.sol/IBaseWorld.json +130 -85
  9. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +51 -51
  10. package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
  11. package/out/IDelegationControl.sol/IDelegationControl.json +50 -26
  12. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +20 -20
  13. package/out/ISystemHook.sol/ISystemHook.json +171 -131
  14. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  15. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +157 -109
  16. package/out/IWorldErrors.sol/IWorldErrors.json +345 -255
  17. package/out/IWorldKernel.sol/IWorldCall.json +294 -254
  18. package/out/IWorldKernel.sol/IWorldKernel.json +321 -258
  19. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +279 -253
  20. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +198 -198
  21. package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
  22. package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
  23. package/out/KeysInTableModule.sol/KeysInTableModule.json +570 -546
  24. package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
  25. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1008 -1008
  26. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +459 -435
  27. package/out/Module.sol/Module.json +106 -82
  28. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  29. package/out/Schema.sol/SchemaInstance.json +30 -30
  30. package/out/Schema.sol/SchemaLib.json +30 -30
  31. package/out/SchemaType.sol/SchemaType.json +276 -276
  32. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +336 -312
  33. package/out/StoreHook.sol/StoreHook.json +358 -358
  34. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  35. package/out/System.sol/System.json +81 -38
  36. package/out/Tables.sol/Tables.json +73 -73
  37. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +145 -121
  38. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
  39. package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
  40. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +363 -339
  41. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +135 -99
  42. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
  43. package/out/WorldContext.sol/WorldContextConsumer.json +771 -674
  44. package/out/WorldContext.sol/WorldContextProvider.json +734 -674
  45. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +777 -765
  46. package/out/WorldResourceId.sol/WorldResourceIdLib.json +777 -765
  47. package/out/constants.sol/constants.json +115 -115
  48. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  49. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  50. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  51. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  52. package/out/hasKey.sol/hasKey.json +130 -130
  53. package/out/index.sol/index.json +53 -53
  54. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +199 -154
  55. package/out/query.sol/query.json +1154 -1154
  56. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  57. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  58. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
  59. package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
  60. package/out/src/IStore.sol/IStore.json +53 -53
  61. package/out/src/IWorldKernel.sol/IWorldCall.json +307 -267
  62. package/out/src/IWorldKernel.sol/IWorldKernel.json +334 -271
  63. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +292 -266
  64. package/out/src/Memory.sol/Memory.json +89 -89
  65. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  66. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  67. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  68. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  69. package/out/src/Schema.sol/SchemaInstance.json +787 -787
  70. package/out/src/Schema.sol/SchemaLib.json +787 -787
  71. package/out/src/Slice.sol/SliceInstance.json +429 -429
  72. package/out/src/Slice.sol/SliceLib.json +429 -429
  73. package/out/src/StoreCore.sol/StoreCore.json +4455 -4455
  74. package/out/src/StoreCore.sol/StoreCoreInternal.json +4455 -4455
  75. package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
  76. package/out/src/WorldContext.sol/WorldContextConsumer.json +777 -680
  77. package/out/src/WorldContext.sol/WorldContextProvider.json +740 -680
  78. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +777 -765
  79. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +777 -765
  80. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  81. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  82. package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
  83. package/out/tables/Tables.sol/Tables.json +7288 -7288
  84. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
  85. package/out/types.sol/types.json +39 -39
  86. package/out/worldResourceTypes.sol/worldResourceTypes.json +87 -87
  87. package/package.json +8 -8
@@ -217,23 +217,23 @@
217
217
  },
218
218
  "ast": {
219
219
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IBatchCallSystem.sol",
220
- "id": 23801,
220
+ "id": 23840,
221
221
  "exportedSymbols": {
222
222
  "IBatchCallSystem": [
223
- 23800
223
+ 23839
224
224
  ],
225
225
  "SystemCallData": [
226
- 23979
226
+ 24018
227
227
  ],
228
228
  "SystemCallFromData": [
229
- 23987
229
+ 24026
230
230
  ]
231
231
  },
232
232
  "nodeType": "SourceUnit",
233
233
  "src": "32:416:44",
234
234
  "nodes": [
235
235
  {
236
- "id": 23776,
236
+ "id": 23815,
237
237
  "nodeType": "PragmaDirective",
238
238
  "src": "32:25:44",
239
239
  "nodes": [],
@@ -245,23 +245,23 @@
245
245
  ]
246
246
  },
247
247
  {
248
- "id": 23779,
248
+ "id": 23818,
249
249
  "nodeType": "ImportDirective",
250
250
  "src": "108:84:44",
251
251
  "nodes": [],
252
252
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/modules/core/types.sol",
253
253
  "file": "./../../modules/core/types.sol",
254
254
  "nameLocation": "-1:-1:-1",
255
- "scope": 23801,
256
- "sourceUnit": 23988,
255
+ "scope": 23840,
256
+ "sourceUnit": 24027,
257
257
  "symbolAliases": [
258
258
  {
259
259
  "foreign": {
260
- "id": 23777,
260
+ "id": 23816,
261
261
  "name": "SystemCallData",
262
262
  "nodeType": "Identifier",
263
263
  "overloadedDeclarations": [],
264
- "referencedDeclaration": 23979,
264
+ "referencedDeclaration": 24018,
265
265
  "src": "117:14:44",
266
266
  "typeDescriptions": {}
267
267
  },
@@ -269,11 +269,11 @@
269
269
  },
270
270
  {
271
271
  "foreign": {
272
- "id": 23778,
272
+ "id": 23817,
273
273
  "name": "SystemCallFromData",
274
274
  "nodeType": "Identifier",
275
275
  "overloadedDeclarations": [],
276
- "referencedDeclaration": 23987,
276
+ "referencedDeclaration": 24026,
277
277
  "src": "133:18:44",
278
278
  "typeDescriptions": {}
279
279
  },
@@ -283,12 +283,12 @@
283
283
  "unitAlias": ""
284
284
  },
285
285
  {
286
- "id": 23800,
286
+ "id": 23839,
287
287
  "nodeType": "ContractDefinition",
288
288
  "src": "194:253:44",
289
289
  "nodes": [
290
290
  {
291
- "id": 23789,
291
+ "id": 23828,
292
292
  "nodeType": "FunctionDefinition",
293
293
  "src": "225:104:44",
294
294
  "nodes": [],
@@ -299,50 +299,50 @@
299
299
  "name": "batchCall",
300
300
  "nameLocation": "234:9:44",
301
301
  "parameters": {
302
- "id": 23784,
302
+ "id": 23823,
303
303
  "nodeType": "ParameterList",
304
304
  "parameters": [
305
305
  {
306
306
  "constant": false,
307
- "id": 23783,
307
+ "id": 23822,
308
308
  "mutability": "mutable",
309
309
  "name": "systemCalls",
310
310
  "nameLocation": "270:11:44",
311
311
  "nodeType": "VariableDeclaration",
312
- "scope": 23789,
312
+ "scope": 23828,
313
313
  "src": "244:37:44",
314
314
  "stateVariable": false,
315
315
  "storageLocation": "calldata",
316
316
  "typeDescriptions": {
317
- "typeIdentifier": "t_array$_t_struct$_SystemCallData_$23979_calldata_ptr_$dyn_calldata_ptr",
317
+ "typeIdentifier": "t_array$_t_struct$_SystemCallData_$24018_calldata_ptr_$dyn_calldata_ptr",
318
318
  "typeString": "struct SystemCallData[]"
319
319
  },
320
320
  "typeName": {
321
321
  "baseType": {
322
- "id": 23781,
322
+ "id": 23820,
323
323
  "nodeType": "UserDefinedTypeName",
324
324
  "pathNode": {
325
- "id": 23780,
325
+ "id": 23819,
326
326
  "name": "SystemCallData",
327
327
  "nameLocations": [
328
328
  "244:14:44"
329
329
  ],
330
330
  "nodeType": "IdentifierPath",
331
- "referencedDeclaration": 23979,
331
+ "referencedDeclaration": 24018,
332
332
  "src": "244:14:44"
333
333
  },
334
- "referencedDeclaration": 23979,
334
+ "referencedDeclaration": 24018,
335
335
  "src": "244:14:44",
336
336
  "typeDescriptions": {
337
- "typeIdentifier": "t_struct$_SystemCallData_$23979_storage_ptr",
337
+ "typeIdentifier": "t_struct$_SystemCallData_$24018_storage_ptr",
338
338
  "typeString": "struct SystemCallData"
339
339
  }
340
340
  },
341
- "id": 23782,
341
+ "id": 23821,
342
342
  "nodeType": "ArrayTypeName",
343
343
  "src": "244:16:44",
344
344
  "typeDescriptions": {
345
- "typeIdentifier": "t_array$_t_struct$_SystemCallData_$23979_storage_$dyn_storage_ptr",
345
+ "typeIdentifier": "t_array$_t_struct$_SystemCallData_$24018_storage_$dyn_storage_ptr",
346
346
  "typeString": "struct SystemCallData[]"
347
347
  }
348
348
  },
@@ -352,17 +352,17 @@
352
352
  "src": "243:39:44"
353
353
  },
354
354
  "returnParameters": {
355
- "id": 23788,
355
+ "id": 23827,
356
356
  "nodeType": "ParameterList",
357
357
  "parameters": [
358
358
  {
359
359
  "constant": false,
360
- "id": 23787,
360
+ "id": 23826,
361
361
  "mutability": "mutable",
362
362
  "name": "returnDatas",
363
363
  "nameLocation": "316:11:44",
364
364
  "nodeType": "VariableDeclaration",
365
- "scope": 23789,
365
+ "scope": 23828,
366
366
  "src": "301:26:44",
367
367
  "stateVariable": false,
368
368
  "storageLocation": "memory",
@@ -372,7 +372,7 @@
372
372
  },
373
373
  "typeName": {
374
374
  "baseType": {
375
- "id": 23785,
375
+ "id": 23824,
376
376
  "name": "bytes",
377
377
  "nodeType": "ElementaryTypeName",
378
378
  "src": "301:5:44",
@@ -381,7 +381,7 @@
381
381
  "typeString": "bytes"
382
382
  }
383
383
  },
384
- "id": 23786,
384
+ "id": 23825,
385
385
  "nodeType": "ArrayTypeName",
386
386
  "src": "301:7:44",
387
387
  "typeDescriptions": {
@@ -394,13 +394,13 @@
394
394
  ],
395
395
  "src": "300:28:44"
396
396
  },
397
- "scope": 23800,
397
+ "scope": 23839,
398
398
  "stateMutability": "nonpayable",
399
399
  "virtual": false,
400
400
  "visibility": "external"
401
401
  },
402
402
  {
403
- "id": 23799,
403
+ "id": 23838,
404
404
  "nodeType": "FunctionDefinition",
405
405
  "src": "333:112:44",
406
406
  "nodes": [],
@@ -411,50 +411,50 @@
411
411
  "name": "batchCallFrom",
412
412
  "nameLocation": "342:13:44",
413
413
  "parameters": {
414
- "id": 23794,
414
+ "id": 23833,
415
415
  "nodeType": "ParameterList",
416
416
  "parameters": [
417
417
  {
418
418
  "constant": false,
419
- "id": 23793,
419
+ "id": 23832,
420
420
  "mutability": "mutable",
421
421
  "name": "systemCalls",
422
422
  "nameLocation": "386:11:44",
423
423
  "nodeType": "VariableDeclaration",
424
- "scope": 23799,
424
+ "scope": 23838,
425
425
  "src": "356:41:44",
426
426
  "stateVariable": false,
427
427
  "storageLocation": "calldata",
428
428
  "typeDescriptions": {
429
- "typeIdentifier": "t_array$_t_struct$_SystemCallFromData_$23987_calldata_ptr_$dyn_calldata_ptr",
429
+ "typeIdentifier": "t_array$_t_struct$_SystemCallFromData_$24026_calldata_ptr_$dyn_calldata_ptr",
430
430
  "typeString": "struct SystemCallFromData[]"
431
431
  },
432
432
  "typeName": {
433
433
  "baseType": {
434
- "id": 23791,
434
+ "id": 23830,
435
435
  "nodeType": "UserDefinedTypeName",
436
436
  "pathNode": {
437
- "id": 23790,
437
+ "id": 23829,
438
438
  "name": "SystemCallFromData",
439
439
  "nameLocations": [
440
440
  "356:18:44"
441
441
  ],
442
442
  "nodeType": "IdentifierPath",
443
- "referencedDeclaration": 23987,
443
+ "referencedDeclaration": 24026,
444
444
  "src": "356:18:44"
445
445
  },
446
- "referencedDeclaration": 23987,
446
+ "referencedDeclaration": 24026,
447
447
  "src": "356:18:44",
448
448
  "typeDescriptions": {
449
- "typeIdentifier": "t_struct$_SystemCallFromData_$23987_storage_ptr",
449
+ "typeIdentifier": "t_struct$_SystemCallFromData_$24026_storage_ptr",
450
450
  "typeString": "struct SystemCallFromData"
451
451
  }
452
452
  },
453
- "id": 23792,
453
+ "id": 23831,
454
454
  "nodeType": "ArrayTypeName",
455
455
  "src": "356:20:44",
456
456
  "typeDescriptions": {
457
- "typeIdentifier": "t_array$_t_struct$_SystemCallFromData_$23987_storage_$dyn_storage_ptr",
457
+ "typeIdentifier": "t_array$_t_struct$_SystemCallFromData_$24026_storage_$dyn_storage_ptr",
458
458
  "typeString": "struct SystemCallFromData[]"
459
459
  }
460
460
  },
@@ -464,17 +464,17 @@
464
464
  "src": "355:43:44"
465
465
  },
466
466
  "returnParameters": {
467
- "id": 23798,
467
+ "id": 23837,
468
468
  "nodeType": "ParameterList",
469
469
  "parameters": [
470
470
  {
471
471
  "constant": false,
472
- "id": 23797,
472
+ "id": 23836,
473
473
  "mutability": "mutable",
474
474
  "name": "returnDatas",
475
475
  "nameLocation": "432:11:44",
476
476
  "nodeType": "VariableDeclaration",
477
- "scope": 23799,
477
+ "scope": 23838,
478
478
  "src": "417:26:44",
479
479
  "stateVariable": false,
480
480
  "storageLocation": "memory",
@@ -484,7 +484,7 @@
484
484
  },
485
485
  "typeName": {
486
486
  "baseType": {
487
- "id": 23795,
487
+ "id": 23834,
488
488
  "name": "bytes",
489
489
  "nodeType": "ElementaryTypeName",
490
490
  "src": "417:5:44",
@@ -493,7 +493,7 @@
493
493
  "typeString": "bytes"
494
494
  }
495
495
  },
496
- "id": 23796,
496
+ "id": 23835,
497
497
  "nodeType": "ArrayTypeName",
498
498
  "src": "417:7:44",
499
499
  "typeDescriptions": {
@@ -506,7 +506,7 @@
506
506
  ],
507
507
  "src": "416:28:44"
508
508
  },
509
- "scope": 23800,
509
+ "scope": 23839,
510
510
  "stateMutability": "nonpayable",
511
511
  "virtual": false,
512
512
  "visibility": "external"
@@ -519,11 +519,11 @@
519
519
  "contractKind": "interface",
520
520
  "fullyImplemented": false,
521
521
  "linearizedBaseContracts": [
522
- 23800
522
+ 23839
523
523
  ],
524
524
  "name": "IBatchCallSystem",
525
525
  "nameLocation": "204:16:44",
526
- "scope": 23801,
526
+ "scope": 23840,
527
527
  "usedErrors": [],
528
528
  "usedEvents": []
529
529
  }
@@ -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": 23804,
65
+ "id": 23843,
66
66
  "exportedSymbols": {
67
67
  "ICoreSystem": [
68
- 23803
68
+ 23842
69
69
  ]
70
70
  },
71
71
  "nodeType": "SourceUnit",
72
72
  "src": "32:103:45",
73
73
  "nodes": [
74
74
  {
75
- "id": 23802,
75
+ "id": 23841,
76
76
  "nodeType": "PragmaDirective",
77
77
  "src": "32:25:45",
78
78
  "nodes": [],
@@ -84,7 +84,7 @@
84
84
  ]
85
85
  },
86
86
  {
87
- "id": 23803,
87
+ "id": 23842,
88
88
  "nodeType": "ContractDefinition",
89
89
  "src": "108:26:45",
90
90
  "nodes": [],
@@ -95,11 +95,11 @@
95
95
  "contractKind": "interface",
96
96
  "fullyImplemented": true,
97
97
  "linearizedBaseContracts": [
98
- 23803
98
+ 23842
99
99
  ],
100
100
  "name": "ICoreSystem",
101
101
  "nameLocation": "118:11:45",
102
- "scope": 23804,
102
+ "scope": 23843,
103
103
  "usedErrors": [],
104
104
  "usedEvents": []
105
105
  }
@@ -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\":{\"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}",
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\":{\"_msgSender()\":{\"returns\":{\"_0\":\"The address of the `msg.sender` that called the World contract before the World routed the call to the WorldContextConsumer contract.\"}},\"_msgValue()\":{\"returns\":{\"_0\":\"The `msg.value` in the call to the World contract before the World routed the call to the WorldContextConsumer contract.\"}},\"_world()\":{\"returns\":{\"_0\":\"The address of the World contract that routed the call to this WorldContextConsumer.\"}},\"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\":{\"_msgSender()\":{\"notice\":\"Extract the `msg.sender` from the context appended to the calldata.\"},\"_msgValue()\":{\"notice\":\"Extract the `msg.value` from the context appended to the calldata.\"},\"_world()\":{\"notice\":\"Get the address of the World contract that routed the call to this WorldContextConsumer.\"},\"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\":\"0x22b8cb3ffcc21cb1657d57fc8ac929d2d6fdd199328e6f43ad2cb54f53dcd500\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://47c001f6b7c6d6e453c340618d23b1532078abb7d0fd7283405071e4e8ff8d2d\",\"dweb:/ipfs/QmRW3femBhqQCPwDEj4Jop2Dnd3EU21ufg7GDVwN4joCQu\"]},\"/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol\":{\"keccak256\":\"0xb7bfae2890004001221b3902d185c14cfea0e606d16914f6b7f81cf112aa9417\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://acfd0d09166fc1bf16a8a5c80fbae1bd42426b2fcbab3c492bc836ea5c0375fb\",\"dweb:/ipfs/QmTzZWHVBkx8hipFVpgEwAbZpr4c6hfr7yf7R71JojT3NK\"]},\"/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\":\"0xe31ee781596541f60ed71ef327c9d26ffc899e7fb3f4991c67406518bfc00746\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7b864fea8c77833a322b16c4673f110d5065d0cafcedecd07895699cf4258c2\",\"dweb:/ipfs/QmRkzXVjMLwQFWxjEjgfdXVPAp6SU4zfxPo4NJcmz8HwH9\"]},\"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"
@@ -204,6 +204,21 @@
204
204
  "devdoc": {
205
205
  "kind": "dev",
206
206
  "methods": {
207
+ "_msgSender()": {
208
+ "returns": {
209
+ "_0": "The address of the `msg.sender` that called the World contract before the World routed the call to the WorldContextConsumer contract."
210
+ }
211
+ },
212
+ "_msgValue()": {
213
+ "returns": {
214
+ "_0": "The `msg.value` in the call to the World contract before the World routed the call to the WorldContextConsumer contract."
215
+ }
216
+ },
217
+ "_world()": {
218
+ "returns": {
219
+ "_0": "The address of the World contract that routed the call to this WorldContextConsumer."
220
+ }
221
+ },
207
222
  "supportsInterface(bytes4)": {
208
223
  "details": "Interface identification is specified in ERC-165. This function uses less than 30,000 gas.",
209
224
  "params": {
@@ -219,6 +234,15 @@
219
234
  "userdoc": {
220
235
  "kind": "user",
221
236
  "methods": {
237
+ "_msgSender()": {
238
+ "notice": "Extract the `msg.sender` from the context appended to the calldata."
239
+ },
240
+ "_msgValue()": {
241
+ "notice": "Extract the `msg.value` from the context appended to the calldata."
242
+ },
243
+ "_world()": {
244
+ "notice": "Get the address of the World contract that routed the call to this WorldContextConsumer."
245
+ },
222
246
  "supportsInterface(bytes4)": {
223
247
  "notice": "Query if a contract implements an interface."
224
248
  }
@@ -262,18 +286,18 @@
262
286
  "license": "MIT"
263
287
  },
264
288
  "/home/runner/work/mud/mud/packages/world/src/IWorldContextConsumer.sol": {
265
- "keccak256": "0x0c0f9eba3a700d97a3b87678bbf12d4bbd8a80490e9b3a5841d049ebc1a89f93",
289
+ "keccak256": "0x22b8cb3ffcc21cb1657d57fc8ac929d2d6fdd199328e6f43ad2cb54f53dcd500",
266
290
  "urls": [
267
- "bzz-raw://a56466e8ddcaf10b9109bfbc581563f5e9eefcaff1963a6954ccd093859ef6d2",
268
- "dweb:/ipfs/QmNk6FvWzmLT3vnsUuzqr9MYMfaQRa7yLuNM7DVvpkuytf"
291
+ "bzz-raw://47c001f6b7c6d6e453c340618d23b1532078abb7d0fd7283405071e4e8ff8d2d",
292
+ "dweb:/ipfs/QmRW3femBhqQCPwDEj4Jop2Dnd3EU21ufg7GDVwN4joCQu"
269
293
  ],
270
294
  "license": "MIT"
271
295
  },
272
296
  "/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol": {
273
- "keccak256": "0x979e418af3d0d3a1866240bed58d2792f0718cc1803a1476ec8c93af5577cae3",
297
+ "keccak256": "0xb7bfae2890004001221b3902d185c14cfea0e606d16914f6b7f81cf112aa9417",
274
298
  "urls": [
275
- "bzz-raw://c68cfe48ce67fe83f4b000c954891821d1fae31bfdd36de37a12637c8a1864f7",
276
- "dweb:/ipfs/QmUX9tHSMTeScbiacKX2T16gLV6aPKDU1Q3eDiNxqmVNa1"
299
+ "bzz-raw://acfd0d09166fc1bf16a8a5c80fbae1bd42426b2fcbab3c492bc836ea5c0375fb",
300
+ "dweb:/ipfs/QmTzZWHVBkx8hipFVpgEwAbZpr4c6hfr7yf7R71JojT3NK"
277
301
  ],
278
302
  "license": "MIT"
279
303
  },
@@ -286,10 +310,10 @@
286
310
  "license": "MIT"
287
311
  },
288
312
  "/home/runner/work/mud/mud/packages/world/src/worldResourceTypes.sol": {
289
- "keccak256": "0x88f844f2c43757c819c8f140b30254f07c3484e12cce573879d43b2ee6a23f8b",
313
+ "keccak256": "0xe31ee781596541f60ed71ef327c9d26ffc899e7fb3f4991c67406518bfc00746",
290
314
  "urls": [
291
- "bzz-raw://55a9095094c2b7b1043020681696380cfc3cffd1f264a70bacb44fccd0fc0a8a",
292
- "dweb:/ipfs/QmfPdLPr9hfV8X8yfHhEf2HmEWAnA4d1c6EHEjHMdeM7ML"
315
+ "bzz-raw://f7b864fea8c77833a322b16c4673f110d5065d0cafcedecd07895699cf4258c2",
316
+ "dweb:/ipfs/QmRkzXVjMLwQFWxjEjgfdXVPAp6SU4zfxPo4NJcmz8HwH9"
293
317
  ],
294
318
  "license": "MIT"
295
319
  },
@@ -331,13 +355,13 @@
331
355
  22919
332
356
  ],
333
357
  "IWorldContextConsumer": [
334
- 23064
358
+ 23073
335
359
  ],
336
360
  "ResourceId": [
337
- 26198
361
+ 26238
338
362
  ],
339
363
  "WORLD_CONTEXT_CONSUMER_INTERFACE_ID": [
340
- 23046
364
+ 23051
341
365
  ]
342
366
  },
343
367
  "nodeType": "SourceUnit",
@@ -364,7 +388,7 @@
364
388
  "file": "./IWorldContextConsumer.sol",
365
389
  "nameLocation": "-1:-1:-1",
366
390
  "scope": 22920,
367
- "sourceUnit": 23065,
391
+ "sourceUnit": 23074,
368
392
  "symbolAliases": [
369
393
  {
370
394
  "foreign": {
@@ -372,7 +396,7 @@
372
396
  "name": "IWorldContextConsumer",
373
397
  "nodeType": "Identifier",
374
398
  "overloadedDeclarations": [],
375
- "referencedDeclaration": 23064,
399
+ "referencedDeclaration": 23073,
376
400
  "src": "68:21:33",
377
401
  "typeDescriptions": {}
378
402
  },
@@ -384,7 +408,7 @@
384
408
  "name": "WORLD_CONTEXT_CONSUMER_INTERFACE_ID",
385
409
  "nodeType": "Identifier",
386
410
  "overloadedDeclarations": [],
387
- "referencedDeclaration": 23046,
411
+ "referencedDeclaration": 23051,
388
412
  "src": "91:35:33",
389
413
  "typeDescriptions": {}
390
414
  },
@@ -402,7 +426,7 @@
402
426
  "file": "./WorldResourceId.sol",
403
427
  "nameLocation": "-1:-1:-1",
404
428
  "scope": 22920,
405
- "sourceUnit": 23720,
429
+ "sourceUnit": 23759,
406
430
  "symbolAliases": [
407
431
  {
408
432
  "foreign": {
@@ -410,7 +434,7 @@
410
434
  "name": "ResourceId",
411
435
  "nodeType": "Identifier",
412
436
  "overloadedDeclarations": [],
413
- "referencedDeclaration": 26198,
437
+ "referencedDeclaration": 26238,
414
438
  "src": "174:10:33",
415
439
  "typeDescriptions": {}
416
440
  },
@@ -480,7 +504,7 @@
480
504
  "referencedDeclaration": 22918,
481
505
  "src": "457:25:33",
482
506
  "typeDescriptions": {
483
- "typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_userDefinedValueType$_ResourceId_$26198_$_t_bytes_memory_ptr_$returns$_t_bool_$",
507
+ "typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_userDefinedValueType$_ResourceId_$26238_$_t_bytes_memory_ptr_$returns$_t_bool_$",
484
508
  "typeString": "function IDelegationControl.verify(address,ResourceId,bytes memory) returns (bool)"
485
509
  }
486
510
  },
@@ -505,7 +529,7 @@
505
529
  "name": "WORLD_CONTEXT_CONSUMER_INTERFACE_ID",
506
530
  "nodeType": "Identifier",
507
531
  "overloadedDeclarations": [],
508
- "referencedDeclaration": 23046,
532
+ "referencedDeclaration": 23051,
509
533
  "src": "496:35:33",
510
534
  "typeDescriptions": {
511
535
  "typeIdentifier": "t_bytes4",
@@ -580,7 +604,7 @@
580
604
  "stateVariable": false,
581
605
  "storageLocation": "default",
582
606
  "typeDescriptions": {
583
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
607
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
584
608
  "typeString": "ResourceId"
585
609
  },
586
610
  "typeName": {
@@ -593,13 +617,13 @@
593
617
  "808:10:33"
594
618
  ],
595
619
  "nodeType": "IdentifierPath",
596
- "referencedDeclaration": 26198,
620
+ "referencedDeclaration": 26238,
597
621
  "src": "808:10:33"
598
622
  },
599
- "referencedDeclaration": 26198,
623
+ "referencedDeclaration": 26238,
600
624
  "src": "808:10:33",
601
625
  "typeDescriptions": {
602
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
626
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
603
627
  "typeString": "ResourceId"
604
628
  }
605
629
  },
@@ -685,7 +709,7 @@
685
709
  "747:21:33"
686
710
  ],
687
711
  "nodeType": "IdentifierPath",
688
- "referencedDeclaration": 23064,
712
+ "referencedDeclaration": 23073,
689
713
  "src": "747:21:33"
690
714
  },
691
715
  "id": 22906,
@@ -705,7 +729,7 @@
705
729
  "fullyImplemented": false,
706
730
  "linearizedBaseContracts": [
707
731
  22919,
708
- 23064,
732
+ 23073,
709
733
  22937
710
734
  ],
711
735
  "name": "IDelegationControl",