@latticexyz/world-modules 2.0.0-main-e4e7d774 → 2.0.0-main-430e6b29

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 (99) hide show
  1. package/out/AccessControl.sol/AccessControl.json +200 -200
  2. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  3. package/out/Balances.sol/Balances.json +1713 -1713
  4. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +207 -207
  5. package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
  6. package/out/DelegationControl.sol/DelegationControl.json +89 -89
  7. package/out/FunctionSelectors.sol/FunctionSelectors.json +2335 -2335
  8. package/out/Hooks.sol/Hooks.json +45 -45
  9. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +18 -18
  10. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
  11. package/out/IBaseWorld.sol/IBaseWorld.json +68 -68
  12. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +15 -15
  13. package/out/IDelegationControl.sol/IDelegationControl.json +11 -11
  14. package/out/ISystemHook.sol/ISystemHook.json +16 -16
  15. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  16. package/out/IWorldErrors.sol/IWorldErrors.json +19 -19
  17. package/out/IWorldKernel.sol/IWorldCall.json +14 -14
  18. package/out/IWorldKernel.sol/IWorldKernel.json +14 -14
  19. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +14 -14
  20. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +43 -43
  21. package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
  22. package/out/KeysInTableHook.sol/KeysInTableHook.json +861 -861
  23. package/out/KeysInTableModule.sol/KeysInTableModule.json +527 -527
  24. package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
  25. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +989 -989
  26. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +416 -416
  27. package/out/Module.sol/Module.json +75 -75
  28. package/out/NamespaceOwner.sol/NamespaceOwner.json +464 -464
  29. package/out/ResourceAccess.sol/ResourceAccess.json +471 -471
  30. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  31. package/out/Schema.sol/SchemaInstance.json +30 -30
  32. package/out/Schema.sol/SchemaLib.json +30 -30
  33. package/out/SchemaType.sol/SchemaType.json +276 -276
  34. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +293 -293
  35. package/out/StoreHook.sol/StoreHook.json +368 -368
  36. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  37. package/out/System.sol/System.json +19 -19
  38. package/out/SystemHooks.sol/SystemHooks.json +4091 -4091
  39. package/out/SystemSwitch.sol/SystemSwitch.json +356 -356
  40. package/out/Systems.sol/Systems.json +2459 -2459
  41. package/out/Tables.sol/Tables.json +73 -73
  42. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +111 -111
  43. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
  44. package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
  45. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +317 -317
  46. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +85 -85
  47. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2723 -2723
  48. package/out/WorldContext.sol/WorldContextConsumer.json +14 -14
  49. package/out/WorldContext.sol/WorldContextConsumerLib.json +14 -14
  50. package/out/WorldContext.sol/WorldContextProviderLib.json +14 -14
  51. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +101 -101
  52. package/out/WorldResourceId.sol/WorldResourceIdLib.json +101 -101
  53. package/out/constants.sol/constants.json +403 -120
  54. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  55. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  56. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  57. package/out/getUniqueEntity.sol/getUniqueEntity.json +105 -105
  58. package/out/hasKey.sol/hasKey.json +130 -130
  59. package/out/index.sol/index.json +53 -53
  60. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +128 -128
  61. package/out/query.sol/query.json +1154 -1154
  62. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  63. package/out/src/Bytes.sol/Bytes.json +1338 -1338
  64. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +698 -698
  65. package/out/src/FieldLayout.sol/FieldLayoutLib.json +698 -698
  66. package/out/src/Hook.sol/HookInstance.json +331 -331
  67. package/out/src/Hook.sol/HookLib.json +331 -331
  68. package/out/src/IStore.sol/IStore.json +53 -53
  69. package/out/src/ISystemHook.sol/ISystemHook.json +90 -90
  70. package/out/src/IWorldErrors.sol/IWorldErrors.json +151 -151
  71. package/out/src/IWorldKernel.sol/IWorldCall.json +157 -157
  72. package/out/src/IWorldKernel.sol/IWorldKernel.json +157 -157
  73. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +157 -157
  74. package/out/src/Memory.sol/Memory.json +91 -91
  75. package/out/src/PackedCounter.sol/PackedCounterInstance.json +929 -929
  76. package/out/src/PackedCounter.sol/PackedCounterLib.json +929 -929
  77. package/out/src/ResourceId.sol/ResourceIdInstance.json +116 -116
  78. package/out/src/ResourceId.sol/ResourceIdLib.json +116 -116
  79. package/out/src/Schema.sol/SchemaInstance.json +790 -790
  80. package/out/src/Schema.sol/SchemaLib.json +790 -790
  81. package/out/src/Slice.sol/SliceInstance.json +430 -430
  82. package/out/src/Slice.sol/SliceLib.json +430 -430
  83. package/out/src/StoreCore.sol/StoreCore.json +4455 -4455
  84. package/out/src/StoreCore.sol/StoreCoreInternal.json +4455 -4455
  85. package/out/src/StoreSwitch.sol/StoreSwitch.json +2483 -2483
  86. package/out/src/WorldContext.sol/WorldContextConsumer.json +418 -418
  87. package/out/src/WorldContext.sol/WorldContextConsumerLib.json +418 -418
  88. package/out/src/WorldContext.sol/WorldContextProviderLib.json +418 -418
  89. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
  90. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
  91. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  92. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  93. package/out/systemHookTypes.sol/systemHookTypes.json +25 -25
  94. package/out/tables/ResourceIds.sol/ResourceIds.json +1747 -1747
  95. package/out/tables/Tables.sol/Tables.json +7288 -7288
  96. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3345 -3345
  97. package/out/types.sol/types.json +41 -41
  98. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  99. package/package.json +8 -8
@@ -530,7 +530,7 @@
530
530
  23378
531
531
  ],
532
532
  "StoreSwitch": [
533
- 33808
533
+ 33826
534
534
  ],
535
535
  "WORLD_CONTEXT_CONSUMER_INTERFACE_ID": [
536
536
  23356
@@ -545,7 +545,7 @@
545
545
  23813
546
546
  ],
547
547
  "revertWithBytes": [
548
- 26707
548
+ 26725
549
549
  ]
550
550
  },
551
551
  "nodeType": "SourceUnit",
@@ -572,7 +572,7 @@
572
572
  "file": "@latticexyz/store/src/StoreSwitch.sol",
573
573
  "nameLocation": "-1:-1:-1",
574
574
  "scope": 23814,
575
- "sourceUnit": 33809,
575
+ "sourceUnit": 33827,
576
576
  "symbolAliases": [
577
577
  {
578
578
  "foreign": {
@@ -580,7 +580,7 @@
580
580
  "name": "StoreSwitch",
581
581
  "nodeType": "Identifier",
582
582
  "overloadedDeclarations": [],
583
- "referencedDeclaration": 33808,
583
+ "referencedDeclaration": 33826,
584
584
  "src": "68:11:40",
585
585
  "typeDescriptions": {}
586
586
  },
@@ -598,7 +598,7 @@
598
598
  "file": "./revertWithBytes.sol",
599
599
  "nameLocation": "-1:-1:-1",
600
600
  "scope": 23814,
601
- "sourceUnit": 26708,
601
+ "sourceUnit": 26726,
602
602
  "symbolAliases": [
603
603
  {
604
604
  "foreign": {
@@ -606,7 +606,7 @@
606
606
  "name": "revertWithBytes",
607
607
  "nodeType": "Identifier",
608
608
  "overloadedDeclarations": [],
609
- "referencedDeclaration": 26707,
609
+ "referencedDeclaration": 26725,
610
610
  "src": "137:15:40",
611
611
  "typeDescriptions": {}
612
612
  },
@@ -1036,10 +1036,10 @@
1036
1036
  "name": "StoreSwitch",
1037
1037
  "nodeType": "Identifier",
1038
1038
  "overloadedDeclarations": [],
1039
- "referencedDeclaration": 33808,
1039
+ "referencedDeclaration": 33826,
1040
1040
  "src": "1986:11:40",
1041
1041
  "typeDescriptions": {
1042
- "typeIdentifier": "t_type$_t_contract$_StoreSwitch_$33808_$",
1042
+ "typeIdentifier": "t_type$_t_contract$_StoreSwitch_$33826_$",
1043
1043
  "typeString": "type(library StoreSwitch)"
1044
1044
  }
1045
1045
  },
@@ -1051,7 +1051,7 @@
1051
1051
  "memberLocation": "1998:15:40",
1052
1052
  "memberName": "getStoreAddress",
1053
1053
  "nodeType": "MemberAccess",
1054
- "referencedDeclaration": 32552,
1054
+ "referencedDeclaration": 32570,
1055
1055
  "src": "1986:27:40",
1056
1056
  "typeDescriptions": {
1057
1057
  "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
@@ -1898,10 +1898,10 @@
1898
1898
  "name": "StoreSwitch",
1899
1899
  "nodeType": "Identifier",
1900
1900
  "overloadedDeclarations": [],
1901
- "referencedDeclaration": 33808,
1901
+ "referencedDeclaration": 33826,
1902
1902
  "src": "3894:11:40",
1903
1903
  "typeDescriptions": {
1904
- "typeIdentifier": "t_type$_t_contract$_StoreSwitch_$33808_$",
1904
+ "typeIdentifier": "t_type$_t_contract$_StoreSwitch_$33826_$",
1905
1905
  "typeString": "type(library StoreSwitch)"
1906
1906
  }
1907
1907
  },
@@ -1913,7 +1913,7 @@
1913
1913
  "memberLocation": "3906:15:40",
1914
1914
  "memberName": "getStoreAddress",
1915
1915
  "nodeType": "MemberAccess",
1916
- "referencedDeclaration": 32552,
1916
+ "referencedDeclaration": 32570,
1917
1917
  "src": "3894:27:40",
1918
1918
  "typeDescriptions": {
1919
1919
  "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
@@ -3370,7 +3370,7 @@
3370
3370
  "name": "revertWithBytes",
3371
3371
  "nodeType": "Identifier",
3372
3372
  "overloadedDeclarations": [],
3373
- "referencedDeclaration": 26707,
3373
+ "referencedDeclaration": 26725,
3374
3374
  "src": "7262:15:40",
3375
3375
  "typeDescriptions": {
3376
3376
  "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$",
@@ -3826,7 +3826,7 @@
3826
3826
  "name": "revertWithBytes",
3827
3827
  "nodeType": "Identifier",
3828
3828
  "overloadedDeclarations": [],
3829
- "referencedDeclaration": 26707,
3829
+ "referencedDeclaration": 26725,
3830
3830
  "src": "8140:15:40",
3831
3831
  "typeDescriptions": {
3832
3832
  "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$",
@@ -370,7 +370,7 @@
370
370
  23378
371
371
  ],
372
372
  "StoreSwitch": [
373
- 33808
373
+ 33826
374
374
  ],
375
375
  "WORLD_CONTEXT_CONSUMER_INTERFACE_ID": [
376
376
  23356
@@ -385,7 +385,7 @@
385
385
  23813
386
386
  ],
387
387
  "revertWithBytes": [
388
- 26707
388
+ 26725
389
389
  ]
390
390
  },
391
391
  "nodeType": "SourceUnit",
@@ -412,7 +412,7 @@
412
412
  "file": "@latticexyz/store/src/StoreSwitch.sol",
413
413
  "nameLocation": "-1:-1:-1",
414
414
  "scope": 23814,
415
- "sourceUnit": 33809,
415
+ "sourceUnit": 33827,
416
416
  "symbolAliases": [
417
417
  {
418
418
  "foreign": {
@@ -420,7 +420,7 @@
420
420
  "name": "StoreSwitch",
421
421
  "nodeType": "Identifier",
422
422
  "overloadedDeclarations": [],
423
- "referencedDeclaration": 33808,
423
+ "referencedDeclaration": 33826,
424
424
  "src": "68:11:40",
425
425
  "typeDescriptions": {}
426
426
  },
@@ -438,7 +438,7 @@
438
438
  "file": "./revertWithBytes.sol",
439
439
  "nameLocation": "-1:-1:-1",
440
440
  "scope": 23814,
441
- "sourceUnit": 26708,
441
+ "sourceUnit": 26726,
442
442
  "symbolAliases": [
443
443
  {
444
444
  "foreign": {
@@ -446,7 +446,7 @@
446
446
  "name": "revertWithBytes",
447
447
  "nodeType": "Identifier",
448
448
  "overloadedDeclarations": [],
449
- "referencedDeclaration": 26707,
449
+ "referencedDeclaration": 26725,
450
450
  "src": "137:15:40",
451
451
  "typeDescriptions": {}
452
452
  },
@@ -876,10 +876,10 @@
876
876
  "name": "StoreSwitch",
877
877
  "nodeType": "Identifier",
878
878
  "overloadedDeclarations": [],
879
- "referencedDeclaration": 33808,
879
+ "referencedDeclaration": 33826,
880
880
  "src": "1986:11:40",
881
881
  "typeDescriptions": {
882
- "typeIdentifier": "t_type$_t_contract$_StoreSwitch_$33808_$",
882
+ "typeIdentifier": "t_type$_t_contract$_StoreSwitch_$33826_$",
883
883
  "typeString": "type(library StoreSwitch)"
884
884
  }
885
885
  },
@@ -891,7 +891,7 @@
891
891
  "memberLocation": "1998:15:40",
892
892
  "memberName": "getStoreAddress",
893
893
  "nodeType": "MemberAccess",
894
- "referencedDeclaration": 32552,
894
+ "referencedDeclaration": 32570,
895
895
  "src": "1986:27:40",
896
896
  "typeDescriptions": {
897
897
  "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
@@ -1738,10 +1738,10 @@
1738
1738
  "name": "StoreSwitch",
1739
1739
  "nodeType": "Identifier",
1740
1740
  "overloadedDeclarations": [],
1741
- "referencedDeclaration": 33808,
1741
+ "referencedDeclaration": 33826,
1742
1742
  "src": "3894:11:40",
1743
1743
  "typeDescriptions": {
1744
- "typeIdentifier": "t_type$_t_contract$_StoreSwitch_$33808_$",
1744
+ "typeIdentifier": "t_type$_t_contract$_StoreSwitch_$33826_$",
1745
1745
  "typeString": "type(library StoreSwitch)"
1746
1746
  }
1747
1747
  },
@@ -1753,7 +1753,7 @@
1753
1753
  "memberLocation": "3906:15:40",
1754
1754
  "memberName": "getStoreAddress",
1755
1755
  "nodeType": "MemberAccess",
1756
- "referencedDeclaration": 32552,
1756
+ "referencedDeclaration": 32570,
1757
1757
  "src": "3894:27:40",
1758
1758
  "typeDescriptions": {
1759
1759
  "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
@@ -3210,7 +3210,7 @@
3210
3210
  "name": "revertWithBytes",
3211
3211
  "nodeType": "Identifier",
3212
3212
  "overloadedDeclarations": [],
3213
- "referencedDeclaration": 26707,
3213
+ "referencedDeclaration": 26725,
3214
3214
  "src": "7262:15:40",
3215
3215
  "typeDescriptions": {
3216
3216
  "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$",
@@ -3666,7 +3666,7 @@
3666
3666
  "name": "revertWithBytes",
3667
3667
  "nodeType": "Identifier",
3668
3668
  "overloadedDeclarations": [],
3669
- "referencedDeclaration": 26707,
3669
+ "referencedDeclaration": 26725,
3670
3670
  "src": "8140:15:40",
3671
3671
  "typeDescriptions": {
3672
3672
  "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$",
@@ -370,7 +370,7 @@
370
370
  23378
371
371
  ],
372
372
  "StoreSwitch": [
373
- 33808
373
+ 33826
374
374
  ],
375
375
  "WORLD_CONTEXT_CONSUMER_INTERFACE_ID": [
376
376
  23356
@@ -385,7 +385,7 @@
385
385
  23813
386
386
  ],
387
387
  "revertWithBytes": [
388
- 26707
388
+ 26725
389
389
  ]
390
390
  },
391
391
  "nodeType": "SourceUnit",
@@ -412,7 +412,7 @@
412
412
  "file": "@latticexyz/store/src/StoreSwitch.sol",
413
413
  "nameLocation": "-1:-1:-1",
414
414
  "scope": 23814,
415
- "sourceUnit": 33809,
415
+ "sourceUnit": 33827,
416
416
  "symbolAliases": [
417
417
  {
418
418
  "foreign": {
@@ -420,7 +420,7 @@
420
420
  "name": "StoreSwitch",
421
421
  "nodeType": "Identifier",
422
422
  "overloadedDeclarations": [],
423
- "referencedDeclaration": 33808,
423
+ "referencedDeclaration": 33826,
424
424
  "src": "68:11:40",
425
425
  "typeDescriptions": {}
426
426
  },
@@ -438,7 +438,7 @@
438
438
  "file": "./revertWithBytes.sol",
439
439
  "nameLocation": "-1:-1:-1",
440
440
  "scope": 23814,
441
- "sourceUnit": 26708,
441
+ "sourceUnit": 26726,
442
442
  "symbolAliases": [
443
443
  {
444
444
  "foreign": {
@@ -446,7 +446,7 @@
446
446
  "name": "revertWithBytes",
447
447
  "nodeType": "Identifier",
448
448
  "overloadedDeclarations": [],
449
- "referencedDeclaration": 26707,
449
+ "referencedDeclaration": 26725,
450
450
  "src": "137:15:40",
451
451
  "typeDescriptions": {}
452
452
  },
@@ -876,10 +876,10 @@
876
876
  "name": "StoreSwitch",
877
877
  "nodeType": "Identifier",
878
878
  "overloadedDeclarations": [],
879
- "referencedDeclaration": 33808,
879
+ "referencedDeclaration": 33826,
880
880
  "src": "1986:11:40",
881
881
  "typeDescriptions": {
882
- "typeIdentifier": "t_type$_t_contract$_StoreSwitch_$33808_$",
882
+ "typeIdentifier": "t_type$_t_contract$_StoreSwitch_$33826_$",
883
883
  "typeString": "type(library StoreSwitch)"
884
884
  }
885
885
  },
@@ -891,7 +891,7 @@
891
891
  "memberLocation": "1998:15:40",
892
892
  "memberName": "getStoreAddress",
893
893
  "nodeType": "MemberAccess",
894
- "referencedDeclaration": 32552,
894
+ "referencedDeclaration": 32570,
895
895
  "src": "1986:27:40",
896
896
  "typeDescriptions": {
897
897
  "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
@@ -1738,10 +1738,10 @@
1738
1738
  "name": "StoreSwitch",
1739
1739
  "nodeType": "Identifier",
1740
1740
  "overloadedDeclarations": [],
1741
- "referencedDeclaration": 33808,
1741
+ "referencedDeclaration": 33826,
1742
1742
  "src": "3894:11:40",
1743
1743
  "typeDescriptions": {
1744
- "typeIdentifier": "t_type$_t_contract$_StoreSwitch_$33808_$",
1744
+ "typeIdentifier": "t_type$_t_contract$_StoreSwitch_$33826_$",
1745
1745
  "typeString": "type(library StoreSwitch)"
1746
1746
  }
1747
1747
  },
@@ -1753,7 +1753,7 @@
1753
1753
  "memberLocation": "3906:15:40",
1754
1754
  "memberName": "getStoreAddress",
1755
1755
  "nodeType": "MemberAccess",
1756
- "referencedDeclaration": 32552,
1756
+ "referencedDeclaration": 32570,
1757
1757
  "src": "3894:27:40",
1758
1758
  "typeDescriptions": {
1759
1759
  "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
@@ -3210,7 +3210,7 @@
3210
3210
  "name": "revertWithBytes",
3211
3211
  "nodeType": "Identifier",
3212
3212
  "overloadedDeclarations": [],
3213
- "referencedDeclaration": 26707,
3213
+ "referencedDeclaration": 26725,
3214
3214
  "src": "7262:15:40",
3215
3215
  "typeDescriptions": {
3216
3216
  "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$",
@@ -3666,7 +3666,7 @@
3666
3666
  "name": "revertWithBytes",
3667
3667
  "nodeType": "Identifier",
3668
3668
  "overloadedDeclarations": [],
3669
- "referencedDeclaration": 26707,
3669
+ "referencedDeclaration": 26725,
3670
3670
  "src": "8140:15:40",
3671
3671
  "typeDescriptions": {
3672
3672
  "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$",