@latticexyz/world-modules 2.0.0-main-85218618 → 2.0.0-main-3086581a

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 (112) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +223 -223
  3. package/out/CallboundDelegations.sol/CallboundDelegations.json +2611 -2611
  4. package/out/DecodeSlice.sol/DecodeSlice.json +3155 -3155
  5. package/out/DelegationControl.sol/DelegationControl.json +104 -104
  6. package/out/EncodeArray.sol/EncodeArray.json +3250 -3250
  7. package/out/FieldLayout.sol/FieldLayoutInstance.json +51 -51
  8. package/out/FieldLayout.sol/FieldLayoutLib.json +51 -51
  9. package/out/Hook.sol/HookInstance.json +16 -16
  10. package/out/Hook.sol/HookLib.json +16 -16
  11. package/out/Hooks.sol/Hooks.json +96 -96
  12. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +61 -61
  13. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +53 -53
  14. package/out/IBaseWorld.sol/IBaseWorld.json +70 -70
  15. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +51 -51
  16. package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
  17. package/out/IDelegationControl.sol/IDelegationControl.json +66 -66
  18. package/out/IModule.sol/IModule.json +78 -78
  19. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +27 -27
  20. package/out/IStore.sol/IStore.json +4 -4
  21. package/out/IStoreData.sol/IStoreData.json +4 -4
  22. package/out/IStoreHook.sol/IStoreHook.json +4 -4
  23. package/out/IStoreRead.sol/IStoreRead.json +4 -4
  24. package/out/IStoreRegistration.sol/IStoreRegistration.json +4 -4
  25. package/out/IStoreWrite.sol/IStoreWrite.json +4 -4
  26. package/out/ISystemHook.sol/ISystemHook.json +90 -90
  27. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  28. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +71 -71
  29. package/out/IWorldErrors.sol/IWorldErrors.json +150 -150
  30. package/out/IWorldKernel.sol/IWorldCall.json +156 -156
  31. package/out/IWorldKernel.sol/IWorldKernel.json +156 -156
  32. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +156 -156
  33. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +201 -201
  34. package/out/KeysInTable.sol/KeysInTable.json +10684 -10684
  35. package/out/KeysInTableHook.sol/KeysInTableHook.json +879 -879
  36. package/out/KeysInTableModule.sol/KeysInTableModule.json +542 -542
  37. package/out/KeysWithValue.sol/KeysWithValue.json +3844 -3844
  38. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1005 -1005
  39. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +431 -431
  40. package/out/Memory.sol/Memory.json +8 -8
  41. package/out/Module.sol/Module.json +93 -93
  42. package/out/ResourceIds.sol/ResourceIds.json +70 -70
  43. package/out/Schema.sol/SchemaInstance.json +76 -76
  44. package/out/Schema.sol/SchemaLib.json +76 -76
  45. package/out/SchemaType.sol/SchemaType.json +276 -276
  46. package/out/Slice.sol/SliceInstance.json +8 -8
  47. package/out/Slice.sol/SliceLib.json +8 -8
  48. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +308 -308
  49. package/out/Storage.sol/Storage.json +11 -11
  50. package/out/StoreCore.sol/StoreCore.json +59 -59
  51. package/out/StoreCore.sol/StoreCoreInternal.json +59 -59
  52. package/out/StoreHook.sol/StoreHook.json +362 -362
  53. package/out/StoreHooks.sol/StoreHooks.json +97 -97
  54. package/out/StoreSwitch.sol/StoreSwitch.json +16 -16
  55. package/out/System.sol/System.json +38 -38
  56. package/out/Tables.sol/Tables.json +98 -98
  57. package/out/TightCoder.sol/TightCoder.json +128 -128
  58. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +127 -127
  59. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +2002 -2002
  60. package/out/UniqueEntity.sol/UniqueEntity.json +1418 -1418
  61. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +332 -332
  62. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +101 -101
  63. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2738 -2738
  64. package/out/WorldContext.sol/WorldContextConsumer.json +382 -382
  65. package/out/WorldContext.sol/WorldContextProvider.json +382 -382
  66. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
  67. package/out/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
  68. package/out/constants.sol/LayoutOffsets.json +164 -140
  69. package/out/constants.sol/constants.json +115 -115
  70. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  71. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  72. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  73. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  74. package/out/hasKey.sol/hasKey.json +130 -130
  75. package/out/index.sol/index.json +53 -53
  76. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +142 -142
  77. package/out/leftMask.sol/leftMask.json +61 -61
  78. package/out/query.sol/query.json +1154 -1154
  79. package/out/revertWithBytes.sol/revertWithBytes.json +51 -51
  80. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  81. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +701 -701
  82. package/out/src/FieldLayout.sol/FieldLayoutLib.json +701 -701
  83. package/out/src/IStore.sol/IStore.json +57 -57
  84. package/out/src/IWorldKernel.sol/IWorldCall.json +157 -157
  85. package/out/src/IWorldKernel.sol/IWorldKernel.json +157 -157
  86. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +157 -157
  87. package/out/src/Memory.sol/Memory.json +93 -93
  88. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  89. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  90. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  91. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  92. package/out/src/Schema.sol/SchemaInstance.json +791 -791
  93. package/out/src/Schema.sol/SchemaLib.json +791 -791
  94. package/out/src/Slice.sol/SliceInstance.json +433 -433
  95. package/out/src/Slice.sol/SliceLib.json +433 -433
  96. package/out/src/StoreCore.sol/StoreCore.json +4471 -4471
  97. package/out/src/StoreCore.sol/StoreCoreInternal.json +4471 -4471
  98. package/out/src/StoreSwitch.sol/StoreSwitch.json +2470 -2470
  99. package/out/src/WorldContext.sol/WorldContextConsumer.json +382 -382
  100. package/out/src/WorldContext.sol/WorldContextProvider.json +382 -382
  101. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
  102. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
  103. package/out/storeHookTypes.sol/storeHookTypes.json +202 -202
  104. package/out/storeResourceTypes.sol/storeResourceTypes.json +21 -21
  105. package/out/tables/ResourceIds.sol/ResourceIds.json +1762 -1762
  106. package/out/tables/Tables.sol/Tables.json +7304 -7304
  107. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3250 -3250
  108. package/out/types.sol/types.json +39 -39
  109. package/out/version.sol/version.json +12 -12
  110. package/out/world/src/IERC165.sol/IERC165.json +28 -28
  111. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  112. package/package.json +8 -8
@@ -92,17 +92,17 @@
92
92
  },
93
93
  "ast": {
94
94
  "absolutePath": "src/interfaces/IUniqueEntitySystem.sol",
95
- "id": 39353,
95
+ "id": 39390,
96
96
  "exportedSymbols": {
97
97
  "IUniqueEntitySystem": [
98
- 39352
98
+ 39389
99
99
  ]
100
100
  },
101
101
  "nodeType": "SourceUnit",
102
102
  "src": "32:233:112",
103
103
  "nodes": [
104
104
  {
105
- "id": 39346,
105
+ "id": 39383,
106
106
  "nodeType": "PragmaDirective",
107
107
  "src": "32:25:112",
108
108
  "nodes": [],
@@ -114,12 +114,12 @@
114
114
  ]
115
115
  },
116
116
  {
117
- "id": 39352,
117
+ "id": 39389,
118
118
  "nodeType": "ContractDefinition",
119
119
  "src": "141:123:112",
120
120
  "nodes": [
121
121
  {
122
- "id": 39351,
122
+ "id": 39388,
123
123
  "nodeType": "FunctionDefinition",
124
124
  "src": "175:87:112",
125
125
  "nodes": [],
@@ -130,23 +130,23 @@
130
130
  "name": "uniqueEntity_system_getUniqueEntity",
131
131
  "nameLocation": "184:35:112",
132
132
  "parameters": {
133
- "id": 39347,
133
+ "id": 39384,
134
134
  "nodeType": "ParameterList",
135
135
  "parameters": [],
136
136
  "src": "219:2:112"
137
137
  },
138
138
  "returnParameters": {
139
- "id": 39350,
139
+ "id": 39387,
140
140
  "nodeType": "ParameterList",
141
141
  "parameters": [
142
142
  {
143
143
  "constant": false,
144
- "id": 39349,
144
+ "id": 39386,
145
145
  "mutability": "mutable",
146
146
  "name": "uniqueEntity",
147
147
  "nameLocation": "248:12:112",
148
148
  "nodeType": "VariableDeclaration",
149
- "scope": 39351,
149
+ "scope": 39388,
150
150
  "src": "240:20:112",
151
151
  "stateVariable": false,
152
152
  "storageLocation": "default",
@@ -155,7 +155,7 @@
155
155
  "typeString": "bytes32"
156
156
  },
157
157
  "typeName": {
158
- "id": 39348,
158
+ "id": 39385,
159
159
  "name": "bytes32",
160
160
  "nodeType": "ElementaryTypeName",
161
161
  "src": "240:7:112",
@@ -169,7 +169,7 @@
169
169
  ],
170
170
  "src": "239:22:112"
171
171
  },
172
- "scope": 39352,
172
+ "scope": 39389,
173
173
  "stateMutability": "nonpayable",
174
174
  "virtual": false,
175
175
  "visibility": "external"
@@ -182,11 +182,11 @@
182
182
  "contractKind": "interface",
183
183
  "fullyImplemented": false,
184
184
  "linearizedBaseContracts": [
185
- 39352
185
+ 39389
186
186
  ],
187
187
  "name": "IUniqueEntitySystem",
188
188
  "nameLocation": "151:19:112",
189
- "scope": 39353,
189
+ "scope": 39390,
190
190
  "usedErrors": [],
191
191
  "usedEvents": []
192
192
  }
@@ -231,26 +231,26 @@
231
231
  },
232
232
  "ast": {
233
233
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/IWorldContextConsumer.sol",
234
- "id": 23074,
234
+ "id": 23098,
235
235
  "exportedSymbols": {
236
236
  "ERC165_INTERFACE_ID": [
237
- 22927
237
+ 22951
238
238
  ],
239
239
  "IERC165": [
240
- 22937
240
+ 22961
241
241
  ],
242
242
  "IWorldContextConsumer": [
243
- 23073
243
+ 23097
244
244
  ],
245
245
  "WORLD_CONTEXT_CONSUMER_INTERFACE_ID": [
246
- 23051
246
+ 23075
247
247
  ]
248
248
  },
249
249
  "nodeType": "SourceUnit",
250
250
  "src": "32:1985:37",
251
251
  "nodes": [
252
252
  {
253
- "id": 23032,
253
+ "id": 23056,
254
254
  "nodeType": "PragmaDirective",
255
255
  "src": "32:25:37",
256
256
  "nodes": [],
@@ -262,23 +262,23 @@
262
262
  ]
263
263
  },
264
264
  {
265
- "id": 23035,
265
+ "id": 23059,
266
266
  "nodeType": "ImportDirective",
267
267
  "src": "59:61:37",
268
268
  "nodes": [],
269
269
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/IERC165.sol",
270
270
  "file": "./IERC165.sol",
271
271
  "nameLocation": "-1:-1:-1",
272
- "scope": 23074,
273
- "sourceUnit": 22938,
272
+ "scope": 23098,
273
+ "sourceUnit": 22962,
274
274
  "symbolAliases": [
275
275
  {
276
276
  "foreign": {
277
- "id": 23033,
277
+ "id": 23057,
278
278
  "name": "IERC165",
279
279
  "nodeType": "Identifier",
280
280
  "overloadedDeclarations": [],
281
- "referencedDeclaration": 22937,
281
+ "referencedDeclaration": 22961,
282
282
  "src": "68:7:37",
283
283
  "typeDescriptions": {}
284
284
  },
@@ -286,11 +286,11 @@
286
286
  },
287
287
  {
288
288
  "foreign": {
289
- "id": 23034,
289
+ "id": 23058,
290
290
  "name": "ERC165_INTERFACE_ID",
291
291
  "nodeType": "Identifier",
292
292
  "overloadedDeclarations": [],
293
- "referencedDeclaration": 22927,
293
+ "referencedDeclaration": 22951,
294
294
  "src": "77:19:37",
295
295
  "typeDescriptions": {}
296
296
  },
@@ -300,7 +300,7 @@
300
300
  "unitAlias": ""
301
301
  },
302
302
  {
303
- "id": 23051,
303
+ "id": 23075,
304
304
  "nodeType": "VariableDeclaration",
305
305
  "src": "431:206:37",
306
306
  "nodes": [],
@@ -308,7 +308,7 @@
308
308
  "mutability": "constant",
309
309
  "name": "WORLD_CONTEXT_CONSUMER_INTERFACE_ID",
310
310
  "nameLocation": "447:35:37",
311
- "scope": 23074,
311
+ "scope": 23098,
312
312
  "stateVariable": false,
313
313
  "storageLocation": "default",
314
314
  "typeDescriptions": {
@@ -316,7 +316,7 @@
316
316
  "typeString": "bytes4"
317
317
  },
318
318
  "typeName": {
319
- "id": 23037,
319
+ "id": 23061,
320
320
  "name": "bytes4",
321
321
  "nodeType": "ElementaryTypeName",
322
322
  "src": "431:6:37",
@@ -330,7 +330,7 @@
330
330
  "typeIdentifier": "t_bytes4",
331
331
  "typeString": "bytes4"
332
332
  },
333
- "id": 23050,
333
+ "id": 23074,
334
334
  "isConstant": false,
335
335
  "isLValue": false,
336
336
  "isPure": true,
@@ -340,7 +340,7 @@
340
340
  "typeIdentifier": "t_bytes4",
341
341
  "typeString": "bytes4"
342
342
  },
343
- "id": 23048,
343
+ "id": 23072,
344
344
  "isConstant": false,
345
345
  "isLValue": false,
346
346
  "isPure": true,
@@ -350,7 +350,7 @@
350
350
  "typeIdentifier": "t_bytes4",
351
351
  "typeString": "bytes4"
352
352
  },
353
- "id": 23044,
353
+ "id": 23068,
354
354
  "isConstant": false,
355
355
  "isLValue": false,
356
356
  "isPure": true,
@@ -358,18 +358,18 @@
358
358
  "leftExpression": {
359
359
  "expression": {
360
360
  "expression": {
361
- "id": 23038,
361
+ "id": 23062,
362
362
  "name": "IWorldContextConsumer",
363
363
  "nodeType": "Identifier",
364
364
  "overloadedDeclarations": [],
365
- "referencedDeclaration": 23073,
365
+ "referencedDeclaration": 23097,
366
366
  "src": "485:21:37",
367
367
  "typeDescriptions": {
368
- "typeIdentifier": "t_type$_t_contract$_IWorldContextConsumer_$23073_$",
368
+ "typeIdentifier": "t_type$_t_contract$_IWorldContextConsumer_$23097_$",
369
369
  "typeString": "type(contract IWorldContextConsumer)"
370
370
  }
371
371
  },
372
- "id": 23039,
372
+ "id": 23063,
373
373
  "isConstant": false,
374
374
  "isLValue": false,
375
375
  "isPure": true,
@@ -377,14 +377,14 @@
377
377
  "memberLocation": "507:10:37",
378
378
  "memberName": "_msgSender",
379
379
  "nodeType": "MemberAccess",
380
- "referencedDeclaration": 23060,
380
+ "referencedDeclaration": 23084,
381
381
  "src": "485:32:37",
382
382
  "typeDescriptions": {
383
383
  "typeIdentifier": "t_function_declaration_view$__$returns$_t_address_$",
384
384
  "typeString": "function IWorldContextConsumer._msgSender() view returns (address)"
385
385
  }
386
386
  },
387
- "id": 23040,
387
+ "id": 23064,
388
388
  "isConstant": false,
389
389
  "isLValue": false,
390
390
  "isPure": true,
@@ -403,18 +403,18 @@
403
403
  "rightExpression": {
404
404
  "expression": {
405
405
  "expression": {
406
- "id": 23041,
406
+ "id": 23065,
407
407
  "name": "IWorldContextConsumer",
408
408
  "nodeType": "Identifier",
409
409
  "overloadedDeclarations": [],
410
- "referencedDeclaration": 23073,
410
+ "referencedDeclaration": 23097,
411
411
  "src": "531:21:37",
412
412
  "typeDescriptions": {
413
- "typeIdentifier": "t_type$_t_contract$_IWorldContextConsumer_$23073_$",
413
+ "typeIdentifier": "t_type$_t_contract$_IWorldContextConsumer_$23097_$",
414
414
  "typeString": "type(contract IWorldContextConsumer)"
415
415
  }
416
416
  },
417
- "id": 23042,
417
+ "id": 23066,
418
418
  "isConstant": false,
419
419
  "isLValue": false,
420
420
  "isPure": true,
@@ -422,14 +422,14 @@
422
422
  "memberLocation": "553:9:37",
423
423
  "memberName": "_msgValue",
424
424
  "nodeType": "MemberAccess",
425
- "referencedDeclaration": 23066,
425
+ "referencedDeclaration": 23090,
426
426
  "src": "531:31:37",
427
427
  "typeDescriptions": {
428
428
  "typeIdentifier": "t_function_declaration_view$__$returns$_t_uint256_$",
429
429
  "typeString": "function IWorldContextConsumer._msgValue() view returns (uint256)"
430
430
  }
431
431
  },
432
- "id": 23043,
432
+ "id": 23067,
433
433
  "isConstant": false,
434
434
  "isLValue": false,
435
435
  "isPure": true,
@@ -454,18 +454,18 @@
454
454
  "rightExpression": {
455
455
  "expression": {
456
456
  "expression": {
457
- "id": 23045,
457
+ "id": 23069,
458
458
  "name": "IWorldContextConsumer",
459
459
  "nodeType": "Identifier",
460
460
  "overloadedDeclarations": [],
461
- "referencedDeclaration": 23073,
461
+ "referencedDeclaration": 23097,
462
462
  "src": "576:21:37",
463
463
  "typeDescriptions": {
464
- "typeIdentifier": "t_type$_t_contract$_IWorldContextConsumer_$23073_$",
464
+ "typeIdentifier": "t_type$_t_contract$_IWorldContextConsumer_$23097_$",
465
465
  "typeString": "type(contract IWorldContextConsumer)"
466
466
  }
467
467
  },
468
- "id": 23046,
468
+ "id": 23070,
469
469
  "isConstant": false,
470
470
  "isLValue": false,
471
471
  "isPure": true,
@@ -473,14 +473,14 @@
473
473
  "memberLocation": "598:6:37",
474
474
  "memberName": "_world",
475
475
  "nodeType": "MemberAccess",
476
- "referencedDeclaration": 23072,
476
+ "referencedDeclaration": 23096,
477
477
  "src": "576:28:37",
478
478
  "typeDescriptions": {
479
479
  "typeIdentifier": "t_function_declaration_view$__$returns$_t_address_$",
480
480
  "typeString": "function IWorldContextConsumer._world() view returns (address)"
481
481
  }
482
482
  },
483
- "id": 23047,
483
+ "id": 23071,
484
484
  "isConstant": false,
485
485
  "isLValue": false,
486
486
  "isPure": true,
@@ -503,11 +503,11 @@
503
503
  "nodeType": "BinaryOperation",
504
504
  "operator": "^",
505
505
  "rightExpression": {
506
- "id": 23049,
506
+ "id": 23073,
507
507
  "name": "ERC165_INTERFACE_ID",
508
508
  "nodeType": "Identifier",
509
509
  "overloadedDeclarations": [],
510
- "referencedDeclaration": 22927,
510
+ "referencedDeclaration": 22951,
511
511
  "src": "618:19:37",
512
512
  "typeDescriptions": {
513
513
  "typeIdentifier": "t_bytes4",
@@ -523,17 +523,17 @@
523
523
  "visibility": "internal"
524
524
  },
525
525
  {
526
- "id": 23073,
526
+ "id": 23097,
527
527
  "nodeType": "ContractDefinition",
528
528
  "src": "1114:902:37",
529
529
  "nodes": [
530
530
  {
531
- "id": 23060,
531
+ "id": 23084,
532
532
  "nodeType": "FunctionDefinition",
533
533
  "src": "1406:54:37",
534
534
  "nodes": [],
535
535
  "documentation": {
536
- "id": 23055,
536
+ "id": 23079,
537
537
  "nodeType": "StructuredDocumentation",
538
538
  "src": "1161:242:37",
539
539
  "text": " @notice Extract the `msg.sender` from the context appended to the calldata.\n @return The address of the `msg.sender` that called the World contract\n before the World routed the call to the WorldContextConsumer contract."
@@ -545,23 +545,23 @@
545
545
  "name": "_msgSender",
546
546
  "nameLocation": "1415:10:37",
547
547
  "parameters": {
548
- "id": 23056,
548
+ "id": 23080,
549
549
  "nodeType": "ParameterList",
550
550
  "parameters": [],
551
551
  "src": "1425:2:37"
552
552
  },
553
553
  "returnParameters": {
554
- "id": 23059,
554
+ "id": 23083,
555
555
  "nodeType": "ParameterList",
556
556
  "parameters": [
557
557
  {
558
558
  "constant": false,
559
- "id": 23058,
559
+ "id": 23082,
560
560
  "mutability": "mutable",
561
561
  "name": "",
562
562
  "nameLocation": "-1:-1:-1",
563
563
  "nodeType": "VariableDeclaration",
564
- "scope": 23060,
564
+ "scope": 23084,
565
565
  "src": "1451:7:37",
566
566
  "stateVariable": false,
567
567
  "storageLocation": "default",
@@ -570,7 +570,7 @@
570
570
  "typeString": "address"
571
571
  },
572
572
  "typeName": {
573
- "id": 23057,
573
+ "id": 23081,
574
574
  "name": "address",
575
575
  "nodeType": "ElementaryTypeName",
576
576
  "src": "1451:7:37",
@@ -585,18 +585,18 @@
585
585
  ],
586
586
  "src": "1450:9:37"
587
587
  },
588
- "scope": 23073,
588
+ "scope": 23097,
589
589
  "stateMutability": "view",
590
590
  "virtual": false,
591
591
  "visibility": "external"
592
592
  },
593
593
  {
594
- "id": 23066,
594
+ "id": 23090,
595
595
  "nodeType": "FunctionDefinition",
596
596
  "src": "1695:53:37",
597
597
  "nodes": [],
598
598
  "documentation": {
599
- "id": 23061,
599
+ "id": 23085,
600
600
  "nodeType": "StructuredDocumentation",
601
601
  "src": "1464:228:37",
602
602
  "text": " @notice Extract the `msg.value` from the context appended to the calldata.\n @return The `msg.value` in the call to the World contract before the World routed the\n call to the WorldContextConsumer contract."
@@ -608,23 +608,23 @@
608
608
  "name": "_msgValue",
609
609
  "nameLocation": "1704:9:37",
610
610
  "parameters": {
611
- "id": 23062,
611
+ "id": 23086,
612
612
  "nodeType": "ParameterList",
613
613
  "parameters": [],
614
614
  "src": "1713:2:37"
615
615
  },
616
616
  "returnParameters": {
617
- "id": 23065,
617
+ "id": 23089,
618
618
  "nodeType": "ParameterList",
619
619
  "parameters": [
620
620
  {
621
621
  "constant": false,
622
- "id": 23064,
622
+ "id": 23088,
623
623
  "mutability": "mutable",
624
624
  "name": "",
625
625
  "nameLocation": "-1:-1:-1",
626
626
  "nodeType": "VariableDeclaration",
627
- "scope": 23066,
627
+ "scope": 23090,
628
628
  "src": "1739:7:37",
629
629
  "stateVariable": false,
630
630
  "storageLocation": "default",
@@ -633,7 +633,7 @@
633
633
  "typeString": "uint256"
634
634
  },
635
635
  "typeName": {
636
- "id": 23063,
636
+ "id": 23087,
637
637
  "name": "uint256",
638
638
  "nodeType": "ElementaryTypeName",
639
639
  "src": "1739:7:37",
@@ -647,18 +647,18 @@
647
647
  ],
648
648
  "src": "1738:9:37"
649
649
  },
650
- "scope": 23073,
650
+ "scope": 23097,
651
651
  "stateMutability": "view",
652
652
  "virtual": false,
653
653
  "visibility": "external"
654
654
  },
655
655
  {
656
- "id": 23072,
656
+ "id": 23096,
657
657
  "nodeType": "FunctionDefinition",
658
658
  "src": "1964:50:37",
659
659
  "nodes": [],
660
660
  "documentation": {
661
- "id": 23067,
661
+ "id": 23091,
662
662
  "nodeType": "StructuredDocumentation",
663
663
  "src": "1752:209:37",
664
664
  "text": " @notice Get the address of the World contract that routed the call to this WorldContextConsumer.\n @return The address of the World contract that routed the call to this WorldContextConsumer."
@@ -670,23 +670,23 @@
670
670
  "name": "_world",
671
671
  "nameLocation": "1973:6:37",
672
672
  "parameters": {
673
- "id": 23068,
673
+ "id": 23092,
674
674
  "nodeType": "ParameterList",
675
675
  "parameters": [],
676
676
  "src": "1979:2:37"
677
677
  },
678
678
  "returnParameters": {
679
- "id": 23071,
679
+ "id": 23095,
680
680
  "nodeType": "ParameterList",
681
681
  "parameters": [
682
682
  {
683
683
  "constant": false,
684
- "id": 23070,
684
+ "id": 23094,
685
685
  "mutability": "mutable",
686
686
  "name": "",
687
687
  "nameLocation": "-1:-1:-1",
688
688
  "nodeType": "VariableDeclaration",
689
- "scope": 23072,
689
+ "scope": 23096,
690
690
  "src": "2005:7:37",
691
691
  "stateVariable": false,
692
692
  "storageLocation": "default",
@@ -695,7 +695,7 @@
695
695
  "typeString": "address"
696
696
  },
697
697
  "typeName": {
698
- "id": 23069,
698
+ "id": 23093,
699
699
  "name": "address",
700
700
  "nodeType": "ElementaryTypeName",
701
701
  "src": "2005:7:37",
@@ -710,7 +710,7 @@
710
710
  ],
711
711
  "src": "2004:9:37"
712
712
  },
713
- "scope": 23073,
713
+ "scope": 23097,
714
714
  "stateMutability": "view",
715
715
  "virtual": false,
716
716
  "visibility": "external"
@@ -720,16 +720,16 @@
720
720
  "baseContracts": [
721
721
  {
722
722
  "baseName": {
723
- "id": 23053,
723
+ "id": 23077,
724
724
  "name": "IERC165",
725
725
  "nameLocations": [
726
726
  "1149:7:37"
727
727
  ],
728
728
  "nodeType": "IdentifierPath",
729
- "referencedDeclaration": 22937,
729
+ "referencedDeclaration": 22961,
730
730
  "src": "1149:7:37"
731
731
  },
732
- "id": 23054,
732
+ "id": 23078,
733
733
  "nodeType": "InheritanceSpecifier",
734
734
  "src": "1149:7:37"
735
735
  }
@@ -738,19 +738,19 @@
738
738
  "contractDependencies": [],
739
739
  "contractKind": "interface",
740
740
  "documentation": {
741
- "id": 23052,
741
+ "id": 23076,
742
742
  "nodeType": "StructuredDocumentation",
743
743
  "src": "640:473:37",
744
744
  "text": " @title WorldContextConsumer - Extracting trusted context values from appended calldata.\n @notice This contract is designed to extract trusted context values (like msg.sender and msg.value)\n from the appended calldata. It provides mechanisms similar to EIP-2771 (https://eips.ethereum.org/EIPS/eip-2771),\n but allowing any contract to be the trusted forwarder.\n @dev This contract should only be used for contracts without their own storage, like Systems."
745
745
  },
746
746
  "fullyImplemented": false,
747
747
  "linearizedBaseContracts": [
748
- 23073,
749
- 22937
748
+ 23097,
749
+ 22961
750
750
  ],
751
751
  "name": "IWorldContextConsumer",
752
752
  "nameLocation": "1124:21:37",
753
- "scope": 23074,
753
+ "scope": 23098,
754
754
  "usedErrors": [],
755
755
  "usedEvents": []
756
756
  }