@latticexyz/world-modules 2.0.0-main-c714e5d1 → 2.0.0-main-94d7f1ee
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/AccessControl.sol/AccessControl.abi.json +1 -0
- package/out/AccessControl.sol/AccessControl.json +1651 -0
- package/out/ArrayLib.sol/ArrayLib.json +477 -477
- package/out/Balances.sol/Balances.abi.json +1 -0
- package/out/Balances.sol/Balances.json +13002 -0
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +350 -350
- package/out/CallboundDelegations.sol/CallboundDelegations.json +4497 -4497
- package/out/DelegationControl.sol/DelegationControl.json +135 -135
- package/out/FunctionSelectors.sol/FunctionSelectors.abi.json +1 -0
- package/out/FunctionSelectors.sol/FunctionSelectors.json +17874 -0
- package/out/Hooks.sol/Hooks.json +45 -45
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +14 -14
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
- package/out/IBaseWorld.sol/IBaseWorld.json +81 -81
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +15 -15
- package/out/IDelegationControl.sol/IDelegationControl.json +7 -7
- package/out/ISystemHook.sol/ISystemHook.json +12 -12
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +25 -25
- package/out/IWorldErrors.sol/IWorldErrors.json +19 -19
- package/out/IWorldKernel.sol/IWorldCall.json +10 -10
- package/out/IWorldKernel.sol/IWorldKernel.json +10 -10
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +10 -10
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +39 -39
- package/out/KeysInTable.sol/KeysInTable.json +18190 -18190
- package/out/KeysInTableHook.sol/KeysInTableHook.json +1407 -1407
- package/out/KeysInTableModule.sol/KeysInTableModule.json +838 -838
- package/out/KeysWithValue.sol/KeysWithValue.json +6631 -6631
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1557 -1557
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +650 -650
- package/out/Module.sol/Module.json +119 -119
- package/out/NamespaceOwner.sol/NamespaceOwner.abi.json +1 -0
- package/out/NamespaceOwner.sol/NamespaceOwner.json +13016 -0
- package/out/ResourceAccess.sol/ResourceAccess.abi.json +1 -0
- package/out/ResourceAccess.sol/ResourceAccess.json +17296 -0
- 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 +729 -729
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +448 -448
- package/out/StoreHook.sol/StoreHook.json +639 -639
- package/out/StoreHooks.sol/StoreHooks.json +45 -45
- package/out/System.sol/System.json +32 -32
- package/out/SystemHooks.sol/SystemHooks.abi.json +1 -0
- package/out/SystemHooks.sol/SystemHooks.json +32460 -0
- package/out/SystemSwitch.sol/SystemSwitch.abi.json +1 -0
- package/out/SystemSwitch.sol/SystemSwitch.json +2879 -0
- package/out/Systems.sol/Systems.abi.json +1 -0
- package/out/Systems.sol/Systems.json +18508 -0
- 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 +482 -482
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +128 -128
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4590 -4590
- package/out/WorldContext.sol/WorldContextConsumer.json +14 -14
- package/out/WorldContext.sol/WorldContextConsumerLib.json +14 -14
- package/out/WorldContext.sol/WorldContextProviderLib.json +14 -14
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +103 -103
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +103 -103
- package/out/constants.sol/constants.json +194 -194
- 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 +389 -240
- package/out/hasKey.sol/hasKey.json +215 -215
- package/out/index.sol/index.json +73 -73
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +171 -171
- package/out/query.sol/query.json +1892 -1892
- package/out/revertWithBytes.sol/revertWithBytes.json +52 -52
- package/out/src/Bytes.sol/Bytes.json +3766 -3766
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +1204 -1204
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +1204 -1204
- package/out/src/Hook.sol/HookInstance.abi.json +1 -0
- package/out/src/Hook.sol/HookInstance.json +2823 -0
- package/out/src/Hook.sol/HookLib.abi.json +1 -0
- package/out/src/Hook.sol/HookLib.json +2823 -0
- package/out/src/IStore.sol/IStore.json +73 -73
- package/out/src/ISystemHook.sol/ISystemHook.abi.json +67 -0
- package/out/src/ISystemHook.sol/ISystemHook.abi.json.d.ts +68 -0
- package/out/src/ISystemHook.sol/ISystemHook.json +852 -0
- package/out/src/IWorldErrors.sol/IWorldErrors.abi.json +189 -0
- package/out/src/IWorldErrors.sol/IWorldErrors.abi.json.d.ts +190 -0
- package/out/src/IWorldErrors.sol/IWorldErrors.json +1463 -0
- package/out/src/IWorldKernel.sol/IWorldCall.json +258 -258
- package/out/src/IWorldKernel.sol/IWorldKernel.json +258 -258
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +258 -258
- package/out/src/Memory.sol/Memory.json +242 -242
- package/out/src/PackedCounter.sol/PackedCounterInstance.json +1633 -1633
- package/out/src/PackedCounter.sol/PackedCounterLib.json +1633 -1633
- package/out/src/ResourceId.sol/ResourceIdInstance.json +206 -206
- package/out/src/ResourceId.sol/ResourceIdLib.json +206 -206
- package/out/src/Schema.sol/SchemaInstance.json +1351 -1351
- package/out/src/Schema.sol/SchemaLib.json +1351 -1351
- package/out/src/Slice.sol/SliceInstance.json +802 -802
- package/out/src/Slice.sol/SliceLib.json +802 -802
- package/out/src/StoreCore.sol/StoreCore.json +7412 -7412
- package/out/src/StoreCore.sol/StoreCoreInternal.json +7412 -7412
- package/out/src/StoreSwitch.sol/StoreSwitch.json +4064 -4064
- package/out/src/WorldContext.sol/WorldContextConsumer.json +805 -805
- package/out/src/WorldContext.sol/WorldContextConsumerLib.json +807 -807
- package/out/src/WorldContext.sol/WorldContextProviderLib.json +807 -807
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +809 -809
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +809 -809
- package/out/storeHookTypes.sol/storeHookTypes.json +204 -204
- package/out/storeResourceTypes.sol/storeResourceTypes.json +23 -23
- package/out/systemHookTypes.sol/systemHookTypes.json +270 -0
- package/out/tables/ResourceIds.sol/ResourceIds.json +2922 -2922
- package/out/tables/Tables.sol/Tables.json +12189 -12189
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +6883 -6883
- package/out/types.sol/types.json +71 -71
- package/out/worldResourceTypes.sol/worldResourceTypes.json +92 -92
- package/package.json +8 -8
- package/src/modules/uniqueentity/getUniqueEntity.sol +5 -3
- package/src/utils/SystemSwitch.sol +82 -0
@@ -136,7 +136,7 @@
|
|
136
136
|
3133
|
137
137
|
],
|
138
138
|
"SchemaType": [
|
139
|
-
|
139
|
+
26945
|
140
140
|
],
|
141
141
|
"WORD_LAST_INDEX": [
|
142
142
|
18223
|
@@ -166,7 +166,7 @@
|
|
166
166
|
"file": "@latticexyz/schema-type/src/solidity/SchemaType.sol",
|
167
167
|
"nameLocation": "-1:-1:-1",
|
168
168
|
"scope": 3447,
|
169
|
-
"sourceUnit":
|
169
|
+
"sourceUnit": 26987,
|
170
170
|
"symbolAliases": [
|
171
171
|
{
|
172
172
|
"foreign": {
|
@@ -174,7 +174,7 @@
|
|
174
174
|
"name": "SchemaType",
|
175
175
|
"nodeType": "Identifier",
|
176
176
|
"overloadedDeclarations": [],
|
177
|
-
"referencedDeclaration":
|
177
|
+
"referencedDeclaration": 26945,
|
178
178
|
"src": "68:10:15",
|
179
179
|
"typeDescriptions": {}
|
180
180
|
},
|
@@ -419,7 +419,7 @@
|
|
419
419
|
"referencedDeclaration": 2996,
|
420
420
|
"src": "1333:7:15",
|
421
421
|
"typeDescriptions": {
|
422
|
-
"typeIdentifier": "t_array$_t_enum$_SchemaType_$
|
422
|
+
"typeIdentifier": "t_array$_t_enum$_SchemaType_$26945_$dyn_memory_ptr",
|
423
423
|
"typeString": "enum SchemaType[] memory"
|
424
424
|
}
|
425
425
|
},
|
@@ -472,7 +472,7 @@
|
|
472
472
|
"referencedDeclaration": 2996,
|
473
473
|
"src": "1399:7:15",
|
474
474
|
"typeDescriptions": {
|
475
|
-
"typeIdentifier": "t_array$_t_enum$_SchemaType_$
|
475
|
+
"typeIdentifier": "t_array$_t_enum$_SchemaType_$26945_$dyn_memory_ptr",
|
476
476
|
"typeString": "enum SchemaType[] memory"
|
477
477
|
}
|
478
478
|
},
|
@@ -694,7 +694,7 @@
|
|
694
694
|
"referencedDeclaration": 2996,
|
695
695
|
"src": "1698:7:15",
|
696
696
|
"typeDescriptions": {
|
697
|
-
"typeIdentifier": "t_array$_t_enum$_SchemaType_$
|
697
|
+
"typeIdentifier": "t_array$_t_enum$_SchemaType_$26945_$dyn_memory_ptr",
|
698
698
|
"typeString": "enum SchemaType[] memory"
|
699
699
|
}
|
700
700
|
},
|
@@ -718,7 +718,7 @@
|
|
718
718
|
"nodeType": "IndexAccess",
|
719
719
|
"src": "1698:10:15",
|
720
720
|
"typeDescriptions": {
|
721
|
-
"typeIdentifier": "t_enum$_SchemaType_$
|
721
|
+
"typeIdentifier": "t_enum$_SchemaType_$26945",
|
722
722
|
"typeString": "enum SchemaType"
|
723
723
|
}
|
724
724
|
},
|
@@ -730,10 +730,10 @@
|
|
730
730
|
"memberLocation": "1709:19:15",
|
731
731
|
"memberName": "getStaticByteLength",
|
732
732
|
"nodeType": "MemberAccess",
|
733
|
-
"referencedDeclaration":
|
733
|
+
"referencedDeclaration": 26986,
|
734
734
|
"src": "1698:30:15",
|
735
735
|
"typeDescriptions": {
|
736
|
-
"typeIdentifier": "t_function_internal_pure$_t_enum$_SchemaType_$
|
736
|
+
"typeIdentifier": "t_function_internal_pure$_t_enum$_SchemaType_$26945_$returns$_t_uint256_$attached_to$_t_enum$_SchemaType_$26945_$",
|
737
737
|
"typeString": "function (enum SchemaType) pure returns (uint256)"
|
738
738
|
}
|
739
739
|
},
|
@@ -1037,7 +1037,7 @@
|
|
1037
1037
|
"referencedDeclaration": 2996,
|
1038
1038
|
"src": "2492:7:15",
|
1039
1039
|
"typeDescriptions": {
|
1040
|
-
"typeIdentifier": "t_array$_t_enum$_SchemaType_$
|
1040
|
+
"typeIdentifier": "t_array$_t_enum$_SchemaType_$26945_$dyn_memory_ptr",
|
1041
1041
|
"typeString": "enum SchemaType[] memory"
|
1042
1042
|
}
|
1043
1043
|
},
|
@@ -1061,7 +1061,7 @@
|
|
1061
1061
|
"nodeType": "IndexAccess",
|
1062
1062
|
"src": "2492:10:15",
|
1063
1063
|
"typeDescriptions": {
|
1064
|
-
"typeIdentifier": "t_enum$_SchemaType_$
|
1064
|
+
"typeIdentifier": "t_enum$_SchemaType_$26945",
|
1065
1065
|
"typeString": "enum SchemaType"
|
1066
1066
|
}
|
1067
1067
|
}
|
@@ -1069,7 +1069,7 @@
|
|
1069
1069
|
"expression": {
|
1070
1070
|
"argumentTypes": [
|
1071
1071
|
{
|
1072
|
-
"typeIdentifier": "t_enum$_SchemaType_$
|
1072
|
+
"typeIdentifier": "t_enum$_SchemaType_$26945",
|
1073
1073
|
"typeString": "enum SchemaType"
|
1074
1074
|
}
|
1075
1075
|
],
|
@@ -1333,7 +1333,7 @@
|
|
1333
1333
|
"referencedDeclaration": 2996,
|
1334
1334
|
"src": "1645:7:15",
|
1335
1335
|
"typeDescriptions": {
|
1336
|
-
"typeIdentifier": "t_array$_t_enum$_SchemaType_$
|
1336
|
+
"typeIdentifier": "t_array$_t_enum$_SchemaType_$26945_$dyn_memory_ptr",
|
1337
1337
|
"typeString": "enum SchemaType[] memory"
|
1338
1338
|
}
|
1339
1339
|
},
|
@@ -1597,7 +1597,7 @@
|
|
1597
1597
|
"referencedDeclaration": 2996,
|
1598
1598
|
"src": "2802:7:15",
|
1599
1599
|
"typeDescriptions": {
|
1600
|
-
"typeIdentifier": "t_array$_t_enum$_SchemaType_$
|
1600
|
+
"typeIdentifier": "t_array$_t_enum$_SchemaType_$26945_$dyn_memory_ptr",
|
1601
1601
|
"typeString": "enum SchemaType[] memory"
|
1602
1602
|
}
|
1603
1603
|
},
|
@@ -2058,7 +2058,7 @@
|
|
2058
2058
|
"stateVariable": false,
|
2059
2059
|
"storageLocation": "memory",
|
2060
2060
|
"typeDescriptions": {
|
2061
|
-
"typeIdentifier": "t_array$_t_enum$_SchemaType_$
|
2061
|
+
"typeIdentifier": "t_array$_t_enum$_SchemaType_$26945_$dyn_memory_ptr",
|
2062
2062
|
"typeString": "enum SchemaType[]"
|
2063
2063
|
},
|
2064
2064
|
"typeName": {
|
@@ -2072,13 +2072,13 @@
|
|
2072
2072
|
"1263:10:15"
|
2073
2073
|
],
|
2074
2074
|
"nodeType": "IdentifierPath",
|
2075
|
-
"referencedDeclaration":
|
2075
|
+
"referencedDeclaration": 26945,
|
2076
2076
|
"src": "1263:10:15"
|
2077
2077
|
},
|
2078
|
-
"referencedDeclaration":
|
2078
|
+
"referencedDeclaration": 26945,
|
2079
2079
|
"src": "1263:10:15",
|
2080
2080
|
"typeDescriptions": {
|
2081
|
-
"typeIdentifier": "t_enum$_SchemaType_$
|
2081
|
+
"typeIdentifier": "t_enum$_SchemaType_$26945",
|
2082
2082
|
"typeString": "enum SchemaType"
|
2083
2083
|
}
|
2084
2084
|
},
|
@@ -2086,7 +2086,7 @@
|
|
2086
2086
|
"nodeType": "ArrayTypeName",
|
2087
2087
|
"src": "1263:12:15",
|
2088
2088
|
"typeDescriptions": {
|
2089
|
-
"typeIdentifier": "t_array$_t_enum$_SchemaType_$
|
2089
|
+
"typeIdentifier": "t_array$_t_enum$_SchemaType_$26945_$dyn_storage_ptr",
|
2090
2090
|
"typeString": "enum SchemaType[]"
|
2091
2091
|
}
|
2092
2092
|
},
|
@@ -2770,10 +2770,10 @@
|
|
2770
2770
|
"name": "SchemaType",
|
2771
2771
|
"nodeType": "Identifier",
|
2772
2772
|
"overloadedDeclarations": [],
|
2773
|
-
"referencedDeclaration":
|
2773
|
+
"referencedDeclaration": 26945,
|
2774
2774
|
"src": "4061:10:15",
|
2775
2775
|
"typeDescriptions": {
|
2776
|
-
"typeIdentifier": "t_type$_t_enum$_SchemaType_$
|
2776
|
+
"typeIdentifier": "t_type$_t_enum$_SchemaType_$26945_$",
|
2777
2777
|
"typeString": "type(enum SchemaType)"
|
2778
2778
|
}
|
2779
2779
|
},
|
@@ -2789,7 +2789,7 @@
|
|
2789
2789
|
"src": "4061:82:15",
|
2790
2790
|
"tryCall": false,
|
2791
2791
|
"typeDescriptions": {
|
2792
|
-
"typeIdentifier": "t_enum$_SchemaType_$
|
2792
|
+
"typeIdentifier": "t_enum$_SchemaType_$26945",
|
2793
2793
|
"typeString": "enum SchemaType"
|
2794
2794
|
}
|
2795
2795
|
},
|
@@ -2900,7 +2900,7 @@
|
|
2900
2900
|
"stateVariable": false,
|
2901
2901
|
"storageLocation": "default",
|
2902
2902
|
"typeDescriptions": {
|
2903
|
-
"typeIdentifier": "t_enum$_SchemaType_$
|
2903
|
+
"typeIdentifier": "t_enum$_SchemaType_$26945",
|
2904
2904
|
"typeString": "enum SchemaType"
|
2905
2905
|
},
|
2906
2906
|
"typeName": {
|
@@ -2913,13 +2913,13 @@
|
|
2913
2913
|
"4018:10:15"
|
2914
2914
|
],
|
2915
2915
|
"nodeType": "IdentifierPath",
|
2916
|
-
"referencedDeclaration":
|
2916
|
+
"referencedDeclaration": 26945,
|
2917
2917
|
"src": "4018:10:15"
|
2918
2918
|
},
|
2919
|
-
"referencedDeclaration":
|
2919
|
+
"referencedDeclaration": 26945,
|
2920
2920
|
"src": "4018:10:15",
|
2921
2921
|
"typeDescriptions": {
|
2922
|
-
"typeIdentifier": "t_enum$_SchemaType_$
|
2922
|
+
"typeIdentifier": "t_enum$_SchemaType_$26945",
|
2923
2923
|
"typeString": "enum SchemaType"
|
2924
2924
|
}
|
2925
2925
|
},
|
@@ -5088,7 +5088,7 @@
|
|
5088
5088
|
"referencedDeclaration": 3191,
|
5089
5089
|
"src": "6562:14:15",
|
5090
5090
|
"typeDescriptions": {
|
5091
|
-
"typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Schema_$2978_$_t_uint256_$returns$_t_enum$_SchemaType_$
|
5091
|
+
"typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Schema_$2978_$_t_uint256_$returns$_t_enum$_SchemaType_$26945_$attached_to$_t_userDefinedValueType$_Schema_$2978_$",
|
5092
5092
|
"typeString": "function (Schema,uint256) pure returns (enum SchemaType)"
|
5093
5093
|
}
|
5094
5094
|
},
|
@@ -5104,7 +5104,7 @@
|
|
5104
5104
|
"src": "6562:17:15",
|
5105
5105
|
"tryCall": false,
|
5106
5106
|
"typeDescriptions": {
|
5107
|
-
"typeIdentifier": "t_enum$_SchemaType_$
|
5107
|
+
"typeIdentifier": "t_enum$_SchemaType_$26945",
|
5108
5108
|
"typeString": "enum SchemaType"
|
5109
5109
|
}
|
5110
5110
|
},
|
@@ -5116,10 +5116,10 @@
|
|
5116
5116
|
"memberLocation": "6580:19:15",
|
5117
5117
|
"memberName": "getStaticByteLength",
|
5118
5118
|
"nodeType": "MemberAccess",
|
5119
|
-
"referencedDeclaration":
|
5119
|
+
"referencedDeclaration": 26986,
|
5120
5120
|
"src": "6562:37:15",
|
5121
5121
|
"typeDescriptions": {
|
5122
|
-
"typeIdentifier": "t_function_internal_pure$_t_enum$_SchemaType_$
|
5122
|
+
"typeIdentifier": "t_function_internal_pure$_t_enum$_SchemaType_$26945_$returns$_t_uint256_$attached_to$_t_enum$_SchemaType_$26945_$",
|
5123
5123
|
"typeString": "function (enum SchemaType) pure returns (uint256)"
|
5124
5124
|
}
|
5125
5125
|
},
|