@latticexyz/world-modules 2.0.0-next.10 → 2.0.0-next.11
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 +354 -354
- package/out/CallboundDelegations.sol/CallboundDelegations.json +4497 -4497
- package/out/DelegationControl.sol/DelegationControl.json +139 -139
- 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 +18 -18
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
- package/out/IBaseWorld.sol/IBaseWorld.json +85 -85
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +15 -15
- package/out/IDelegationControl.sol/IDelegationControl.json +11 -11
- package/out/ISystemHook.sol/ISystemHook.json +16 -16
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +25 -25
- package/out/IWorldErrors.sol/IWorldErrors.json +19 -19
- package/out/IWorldKernel.sol/IWorldCall.json +14 -14
- package/out/IWorldKernel.sol/IWorldKernel.json +14 -14
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +14 -14
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +43 -43
- package/out/KeysInTable.sol/KeysInTable.json +18190 -18190
- package/out/KeysInTableHook.sol/KeysInTableHook.json +1407 -1407
- package/out/KeysInTableModule.sol/KeysInTableModule.json +842 -842
- package/out/KeysWithValue.sol/KeysWithValue.json +6631 -6631
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1561 -1561
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +654 -654
- 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 +452 -452
- 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 +187 -187
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3474 -3474
- package/out/UniqueEntity.sol/UniqueEntity.json +2345 -2345
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +486 -486
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +132 -132
- 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 +107 -107
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +107 -107
- package/out/constants.sol/constants.json +477 -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 +175 -175
- 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 +262 -262
- package/out/src/IWorldKernel.sol/IWorldKernel.json +262 -262
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +262 -262
- 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 +813 -813
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +813 -813
- 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
@@ -368,7 +368,7 @@
|
|
368
368
|
3133
|
369
369
|
],
|
370
370
|
"SchemaType": [
|
371
|
-
|
371
|
+
26963
|
372
372
|
],
|
373
373
|
"SliceLib": [
|
374
374
|
3599
|
@@ -416,7 +416,7 @@
|
|
416
416
|
"file": "@latticexyz/schema-type/src/solidity/SchemaType.sol",
|
417
417
|
"nameLocation": "-1:-1:-1",
|
418
418
|
"scope": 13962,
|
419
|
-
"sourceUnit":
|
419
|
+
"sourceUnit": 27005,
|
420
420
|
"symbolAliases": [
|
421
421
|
{
|
422
422
|
"foreign": {
|
@@ -424,7 +424,7 @@
|
|
424
424
|
"name": "SchemaType",
|
425
425
|
"nodeType": "Identifier",
|
426
426
|
"overloadedDeclarations": [],
|
427
|
-
"referencedDeclaration":
|
427
|
+
"referencedDeclaration": 26963,
|
428
428
|
"src": "139:10:23",
|
429
429
|
"typeDescriptions": {}
|
430
430
|
},
|
@@ -1434,7 +1434,7 @@
|
|
1434
1434
|
"stateVariable": false,
|
1435
1435
|
"storageLocation": "memory",
|
1436
1436
|
"typeDescriptions": {
|
1437
|
-
"typeIdentifier": "t_array$_t_enum$_SchemaType_$
|
1437
|
+
"typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr",
|
1438
1438
|
"typeString": "enum SchemaType[]"
|
1439
1439
|
},
|
1440
1440
|
"typeName": {
|
@@ -1448,13 +1448,13 @@
|
|
1448
1448
|
"1709:10:23"
|
1449
1449
|
],
|
1450
1450
|
"nodeType": "IdentifierPath",
|
1451
|
-
"referencedDeclaration":
|
1451
|
+
"referencedDeclaration": 26963,
|
1452
1452
|
"src": "1709:10:23"
|
1453
1453
|
},
|
1454
|
-
"referencedDeclaration":
|
1454
|
+
"referencedDeclaration": 26963,
|
1455
1455
|
"src": "1709:10:23",
|
1456
1456
|
"typeDescriptions": {
|
1457
|
-
"typeIdentifier": "t_enum$_SchemaType_$
|
1457
|
+
"typeIdentifier": "t_enum$_SchemaType_$26963",
|
1458
1458
|
"typeString": "enum SchemaType"
|
1459
1459
|
}
|
1460
1460
|
},
|
@@ -1462,7 +1462,7 @@
|
|
1462
1462
|
"nodeType": "ArrayTypeName",
|
1463
1463
|
"src": "1709:12:23",
|
1464
1464
|
"typeDescriptions": {
|
1465
|
-
"typeIdentifier": "t_array$_t_enum$_SchemaType_$
|
1465
|
+
"typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_storage_ptr",
|
1466
1466
|
"typeString": "enum SchemaType[]"
|
1467
1467
|
}
|
1468
1468
|
},
|
@@ -1504,7 +1504,7 @@
|
|
1504
1504
|
"nodeType": "NewExpression",
|
1505
1505
|
"src": "1742:16:23",
|
1506
1506
|
"typeDescriptions": {
|
1507
|
-
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_enum$_SchemaType_$
|
1507
|
+
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr_$",
|
1508
1508
|
"typeString": "function (uint256) pure returns (enum SchemaType[] memory)"
|
1509
1509
|
},
|
1510
1510
|
"typeName": {
|
@@ -1518,13 +1518,13 @@
|
|
1518
1518
|
"1746:10:23"
|
1519
1519
|
],
|
1520
1520
|
"nodeType": "IdentifierPath",
|
1521
|
-
"referencedDeclaration":
|
1521
|
+
"referencedDeclaration": 26963,
|
1522
1522
|
"src": "1746:10:23"
|
1523
1523
|
},
|
1524
|
-
"referencedDeclaration":
|
1524
|
+
"referencedDeclaration": 26963,
|
1525
1525
|
"src": "1746:10:23",
|
1526
1526
|
"typeDescriptions": {
|
1527
|
-
"typeIdentifier": "t_enum$_SchemaType_$
|
1527
|
+
"typeIdentifier": "t_enum$_SchemaType_$26963",
|
1528
1528
|
"typeString": "enum SchemaType"
|
1529
1529
|
}
|
1530
1530
|
},
|
@@ -1532,7 +1532,7 @@
|
|
1532
1532
|
"nodeType": "ArrayTypeName",
|
1533
1533
|
"src": "1746:12:23",
|
1534
1534
|
"typeDescriptions": {
|
1535
|
-
"typeIdentifier": "t_array$_t_enum$_SchemaType_$
|
1535
|
+
"typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_storage_ptr",
|
1536
1536
|
"typeString": "enum SchemaType[]"
|
1537
1537
|
}
|
1538
1538
|
}
|
@@ -1549,7 +1549,7 @@
|
|
1549
1549
|
"src": "1742:19:23",
|
1550
1550
|
"tryCall": false,
|
1551
1551
|
"typeDescriptions": {
|
1552
|
-
"typeIdentifier": "t_array$_t_enum$_SchemaType_$
|
1552
|
+
"typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr",
|
1553
1553
|
"typeString": "enum SchemaType[] memory"
|
1554
1554
|
}
|
1555
1555
|
},
|
@@ -1572,7 +1572,7 @@
|
|
1572
1572
|
"referencedDeclaration": 11517,
|
1573
1573
|
"src": "1767:10:23",
|
1574
1574
|
"typeDescriptions": {
|
1575
|
-
"typeIdentifier": "t_array$_t_enum$_SchemaType_$
|
1575
|
+
"typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr",
|
1576
1576
|
"typeString": "enum SchemaType[] memory"
|
1577
1577
|
}
|
1578
1578
|
},
|
@@ -1600,7 +1600,7 @@
|
|
1600
1600
|
"nodeType": "IndexAccess",
|
1601
1601
|
"src": "1767:13:23",
|
1602
1602
|
"typeDescriptions": {
|
1603
|
-
"typeIdentifier": "t_enum$_SchemaType_$
|
1603
|
+
"typeIdentifier": "t_enum$_SchemaType_$26963",
|
1604
1604
|
"typeString": "enum SchemaType"
|
1605
1605
|
}
|
1606
1606
|
},
|
@@ -1612,10 +1612,10 @@
|
|
1612
1612
|
"name": "SchemaType",
|
1613
1613
|
"nodeType": "Identifier",
|
1614
1614
|
"overloadedDeclarations": [],
|
1615
|
-
"referencedDeclaration":
|
1615
|
+
"referencedDeclaration": 26963,
|
1616
1616
|
"src": "1783:10:23",
|
1617
1617
|
"typeDescriptions": {
|
1618
|
-
"typeIdentifier": "t_type$_t_enum$_SchemaType_$
|
1618
|
+
"typeIdentifier": "t_type$_t_enum$_SchemaType_$26963_$",
|
1619
1619
|
"typeString": "type(enum SchemaType)"
|
1620
1620
|
}
|
1621
1621
|
},
|
@@ -1627,16 +1627,16 @@
|
|
1627
1627
|
"memberLocation": "1794:7:23",
|
1628
1628
|
"memberName": "BYTES32",
|
1629
1629
|
"nodeType": "MemberAccess",
|
1630
|
-
"referencedDeclaration":
|
1630
|
+
"referencedDeclaration": 26860,
|
1631
1631
|
"src": "1783:18:23",
|
1632
1632
|
"typeDescriptions": {
|
1633
|
-
"typeIdentifier": "t_enum$_SchemaType_$
|
1633
|
+
"typeIdentifier": "t_enum$_SchemaType_$26963",
|
1634
1634
|
"typeString": "enum SchemaType"
|
1635
1635
|
}
|
1636
1636
|
},
|
1637
1637
|
"src": "1767:34:23",
|
1638
1638
|
"typeDescriptions": {
|
1639
|
-
"typeIdentifier": "t_enum$_SchemaType_$
|
1639
|
+
"typeIdentifier": "t_enum$_SchemaType_$26963",
|
1640
1640
|
"typeString": "enum SchemaType"
|
1641
1641
|
}
|
1642
1642
|
},
|
@@ -1655,7 +1655,7 @@
|
|
1655
1655
|
"referencedDeclaration": 11517,
|
1656
1656
|
"src": "1832:10:23",
|
1657
1657
|
"typeDescriptions": {
|
1658
|
-
"typeIdentifier": "t_array$_t_enum$_SchemaType_$
|
1658
|
+
"typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr",
|
1659
1659
|
"typeString": "enum SchemaType[] memory"
|
1660
1660
|
}
|
1661
1661
|
}
|
@@ -1663,7 +1663,7 @@
|
|
1663
1663
|
"expression": {
|
1664
1664
|
"argumentTypes": [
|
1665
1665
|
{
|
1666
|
-
"typeIdentifier": "t_array$_t_enum$_SchemaType_$
|
1666
|
+
"typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr",
|
1667
1667
|
"typeString": "enum SchemaType[] memory"
|
1668
1668
|
}
|
1669
1669
|
],
|
@@ -1690,7 +1690,7 @@
|
|
1690
1690
|
"referencedDeclaration": 3132,
|
1691
1691
|
"src": "1815:16:23",
|
1692
1692
|
"typeDescriptions": {
|
1693
|
-
"typeIdentifier": "t_function_internal_pure$_t_array$_t_enum$_SchemaType_$
|
1693
|
+
"typeIdentifier": "t_function_internal_pure$_t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_Schema_$2978_$",
|
1694
1694
|
"typeString": "function (enum SchemaType[] memory) pure returns (Schema)"
|
1695
1695
|
}
|
1696
1696
|
},
|
@@ -1811,7 +1811,7 @@
|
|
1811
1811
|
"stateVariable": false,
|
1812
1812
|
"storageLocation": "memory",
|
1813
1813
|
"typeDescriptions": {
|
1814
|
-
"typeIdentifier": "t_array$_t_enum$_SchemaType_$
|
1814
|
+
"typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr",
|
1815
1815
|
"typeString": "enum SchemaType[]"
|
1816
1816
|
},
|
1817
1817
|
"typeName": {
|
@@ -1825,13 +1825,13 @@
|
|
1825
1825
|
"2028:10:23"
|
1826
1826
|
],
|
1827
1827
|
"nodeType": "IdentifierPath",
|
1828
|
-
"referencedDeclaration":
|
1828
|
+
"referencedDeclaration": 26963,
|
1829
1829
|
"src": "2028:10:23"
|
1830
1830
|
},
|
1831
|
-
"referencedDeclaration":
|
1831
|
+
"referencedDeclaration": 26963,
|
1832
1832
|
"src": "2028:10:23",
|
1833
1833
|
"typeDescriptions": {
|
1834
|
-
"typeIdentifier": "t_enum$_SchemaType_$
|
1834
|
+
"typeIdentifier": "t_enum$_SchemaType_$26963",
|
1835
1835
|
"typeString": "enum SchemaType"
|
1836
1836
|
}
|
1837
1837
|
},
|
@@ -1839,7 +1839,7 @@
|
|
1839
1839
|
"nodeType": "ArrayTypeName",
|
1840
1840
|
"src": "2028:12:23",
|
1841
1841
|
"typeDescriptions": {
|
1842
|
-
"typeIdentifier": "t_array$_t_enum$_SchemaType_$
|
1842
|
+
"typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_storage_ptr",
|
1843
1843
|
"typeString": "enum SchemaType[]"
|
1844
1844
|
}
|
1845
1845
|
},
|
@@ -1881,7 +1881,7 @@
|
|
1881
1881
|
"nodeType": "NewExpression",
|
1882
1882
|
"src": "2063:16:23",
|
1883
1883
|
"typeDescriptions": {
|
1884
|
-
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_enum$_SchemaType_$
|
1884
|
+
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr_$",
|
1885
1885
|
"typeString": "function (uint256) pure returns (enum SchemaType[] memory)"
|
1886
1886
|
},
|
1887
1887
|
"typeName": {
|
@@ -1895,13 +1895,13 @@
|
|
1895
1895
|
"2067:10:23"
|
1896
1896
|
],
|
1897
1897
|
"nodeType": "IdentifierPath",
|
1898
|
-
"referencedDeclaration":
|
1898
|
+
"referencedDeclaration": 26963,
|
1899
1899
|
"src": "2067:10:23"
|
1900
1900
|
},
|
1901
|
-
"referencedDeclaration":
|
1901
|
+
"referencedDeclaration": 26963,
|
1902
1902
|
"src": "2067:10:23",
|
1903
1903
|
"typeDescriptions": {
|
1904
|
-
"typeIdentifier": "t_enum$_SchemaType_$
|
1904
|
+
"typeIdentifier": "t_enum$_SchemaType_$26963",
|
1905
1905
|
"typeString": "enum SchemaType"
|
1906
1906
|
}
|
1907
1907
|
},
|
@@ -1909,7 +1909,7 @@
|
|
1909
1909
|
"nodeType": "ArrayTypeName",
|
1910
1910
|
"src": "2067:12:23",
|
1911
1911
|
"typeDescriptions": {
|
1912
|
-
"typeIdentifier": "t_array$_t_enum$_SchemaType_$
|
1912
|
+
"typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_storage_ptr",
|
1913
1913
|
"typeString": "enum SchemaType[]"
|
1914
1914
|
}
|
1915
1915
|
}
|
@@ -1926,7 +1926,7 @@
|
|
1926
1926
|
"src": "2063:19:23",
|
1927
1927
|
"tryCall": false,
|
1928
1928
|
"typeDescriptions": {
|
1929
|
-
"typeIdentifier": "t_array$_t_enum$_SchemaType_$
|
1929
|
+
"typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr",
|
1930
1930
|
"typeString": "enum SchemaType[] memory"
|
1931
1931
|
}
|
1932
1932
|
},
|
@@ -1949,7 +1949,7 @@
|
|
1949
1949
|
"referencedDeclaration": 11549,
|
1950
1950
|
"src": "2088:12:23",
|
1951
1951
|
"typeDescriptions": {
|
1952
|
-
"typeIdentifier": "t_array$_t_enum$_SchemaType_$
|
1952
|
+
"typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr",
|
1953
1953
|
"typeString": "enum SchemaType[] memory"
|
1954
1954
|
}
|
1955
1955
|
},
|
@@ -1977,7 +1977,7 @@
|
|
1977
1977
|
"nodeType": "IndexAccess",
|
1978
1978
|
"src": "2088:15:23",
|
1979
1979
|
"typeDescriptions": {
|
1980
|
-
"typeIdentifier": "t_enum$_SchemaType_$
|
1980
|
+
"typeIdentifier": "t_enum$_SchemaType_$26963",
|
1981
1981
|
"typeString": "enum SchemaType"
|
1982
1982
|
}
|
1983
1983
|
},
|
@@ -1989,10 +1989,10 @@
|
|
1989
1989
|
"name": "SchemaType",
|
1990
1990
|
"nodeType": "Identifier",
|
1991
1991
|
"overloadedDeclarations": [],
|
1992
|
-
"referencedDeclaration":
|
1992
|
+
"referencedDeclaration": 26963,
|
1993
1993
|
"src": "2106:10:23",
|
1994
1994
|
"typeDescriptions": {
|
1995
|
-
"typeIdentifier": "t_type$_t_enum$_SchemaType_$
|
1995
|
+
"typeIdentifier": "t_type$_t_enum$_SchemaType_$26963_$",
|
1996
1996
|
"typeString": "type(enum SchemaType)"
|
1997
1997
|
}
|
1998
1998
|
},
|
@@ -2004,16 +2004,16 @@
|
|
2004
2004
|
"memberLocation": "2117:13:23",
|
2005
2005
|
"memberName": "BYTES21_ARRAY",
|
2006
2006
|
"nodeType": "MemberAccess",
|
2007
|
-
"referencedDeclaration":
|
2007
|
+
"referencedDeclaration": 26947,
|
2008
2008
|
"src": "2106:24:23",
|
2009
2009
|
"typeDescriptions": {
|
2010
|
-
"typeIdentifier": "t_enum$_SchemaType_$
|
2010
|
+
"typeIdentifier": "t_enum$_SchemaType_$26963",
|
2011
2011
|
"typeString": "enum SchemaType"
|
2012
2012
|
}
|
2013
2013
|
},
|
2014
2014
|
"src": "2088:42:23",
|
2015
2015
|
"typeDescriptions": {
|
2016
|
-
"typeIdentifier": "t_enum$_SchemaType_$
|
2016
|
+
"typeIdentifier": "t_enum$_SchemaType_$26963",
|
2017
2017
|
"typeString": "enum SchemaType"
|
2018
2018
|
}
|
2019
2019
|
},
|
@@ -2032,7 +2032,7 @@
|
|
2032
2032
|
"referencedDeclaration": 11549,
|
2033
2033
|
"src": "2161:12:23",
|
2034
2034
|
"typeDescriptions": {
|
2035
|
-
"typeIdentifier": "t_array$_t_enum$_SchemaType_$
|
2035
|
+
"typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr",
|
2036
2036
|
"typeString": "enum SchemaType[] memory"
|
2037
2037
|
}
|
2038
2038
|
}
|
@@ -2040,7 +2040,7 @@
|
|
2040
2040
|
"expression": {
|
2041
2041
|
"argumentTypes": [
|
2042
2042
|
{
|
2043
|
-
"typeIdentifier": "t_array$_t_enum$_SchemaType_$
|
2043
|
+
"typeIdentifier": "t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr",
|
2044
2044
|
"typeString": "enum SchemaType[] memory"
|
2045
2045
|
}
|
2046
2046
|
],
|
@@ -2067,7 +2067,7 @@
|
|
2067
2067
|
"referencedDeclaration": 3132,
|
2068
2068
|
"src": "2144:16:23",
|
2069
2069
|
"typeDescriptions": {
|
2070
|
-
"typeIdentifier": "t_function_internal_pure$_t_array$_t_enum$_SchemaType_$
|
2070
|
+
"typeIdentifier": "t_function_internal_pure$_t_array$_t_enum$_SchemaType_$26963_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_Schema_$2978_$",
|
2071
2071
|
"typeString": "function (enum SchemaType[] memory) pure returns (Schema)"
|
2072
2072
|
}
|
2073
2073
|
},
|
@@ -61,12 +61,12 @@
|
|
61
61
|
],
|
62
62
|
"bytecode": {
|
63
63
|
"object": "0x608060405234801561001057600080fd5b50610265806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806301ffc9a714610051578063119df25f1461007957806345ec9354146100a6578063e1af802c146100d7575b600080fd5b61006461005f36600461020f565b6100df565b60405190151581526020015b60405180910390f35b610081610178565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610070565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601358152602001610070565b610081610187565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fb421288000000000000000000000000000000000000000000000000000000000148061017257507fffffffff0000000000000000000000000000000000000000000000000000000082167f01ffc9a700000000000000000000000000000000000000000000000000000000145b92915050565b6000610182610191565b905090565b60006101826101c3565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcc36013560601c806101c05750335b90565b7f629a4c26e296b22a8e0856e9f6ecb2d1008d7e00081111962cd175fa7488e1755460009073ffffffffffffffffffffffffffffffffffffffff168061020a573391505090565b919050565b60006020828403121561022157600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461025157600080fd5b939250505056fea164736f6c6343000815000a",
|
64
|
-
"sourceMap": "354:141:
|
64
|
+
"sourceMap": "354:141:99:-:0;;;;;;;;;;;;;;;;;;;",
|
65
65
|
"linkReferences": {}
|
66
66
|
},
|
67
67
|
"deployedBytecode": {
|
68
68
|
"object": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806301ffc9a714610051578063119df25f1461007957806345ec9354146100a6578063e1af802c146100d7575b600080fd5b61006461005f36600461020f565b6100df565b60405190151581526020015b60405180910390f35b610081610178565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610070565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601358152602001610070565b610081610187565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fb421288000000000000000000000000000000000000000000000000000000000148061017257507fffffffff0000000000000000000000000000000000000000000000000000000082167f01ffc9a700000000000000000000000000000000000000000000000000000000145b92915050565b6000610182610191565b905090565b60006101826101c3565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcc36013560601c806101c05750335b90565b7f629a4c26e296b22a8e0856e9f6ecb2d1008d7e00081111962cd175fa7488e1755460009073ffffffffffffffffffffffffffffffffffffffff168061020a573391505090565b919050565b60006020828403121561022157600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461025157600080fd5b939250505056fea164736f6c6343000815000a",
|
69
|
-
"sourceMap": "354:141:
|
69
|
+
"sourceMap": "354:141:99:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2311:188:100;;;;;;:::i;:::-;;:::i;:::-;;;516:14:150;;509:22;491:41;;479:2;464:18;2311:188:100;;;;;;;;1245:113;;;:::i;:::-;;;719:42:150;707:55;;;689:74;;677:2;662:18;1245:113:100;543:226:150;1599:110:100;;;3581:23;3585:14;3581:23;3568:37;920:25:150;;908:2;893:18;1599:110:100;774:177:150;1925:95:100;;;:::i;2311:188::-;2387:4;2406:50;;;485:152:95;2406:50:100;;:88;;-1:-1:-1;2460:34:100;;;188::92;2460::100;2406:88;2399:95;2311:188;-1:-1:-1;;2311:188:100:o;1245:113::-;1288:14;1317:36;:34;:36::i;:::-;1310:43;;1245:113;:::o;1925:95::-;1964:7;1986:29;:27;:29::i;2779:381::-;3063:34;3067:14;3063:34;3050:48;3046:2;3042:57;;3110:45;;-1:-1:-1;3145:10:100;3110:45;2779:381;:::o;1766:227:75:-;996:42;1855:22;1816:7;;1855:22;;;1883:106;;1931:10;1924:17;;;1766:227;:::o;1883:106::-;1969:13;1766:227;-1:-1:-1;1766:227:75:o;14:332:150:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;180:9;167:23;230:66;223:5;219:78;212:5;209:89;199:117;;312:1;309;302:12;199:117;335:5;14:332;-1:-1:-1;;;14:332:150:o",
|
70
70
|
"linkReferences": {}
|
71
71
|
},
|
72
72
|
"methodIdentifiers": {
|
@@ -526,22 +526,22 @@
|
|
526
526
|
},
|
527
527
|
"ast": {
|
528
528
|
"absolutePath": "node_modules/@latticexyz/world/src/System.sol",
|
529
|
-
"id":
|
529
|
+
"id": 41963,
|
530
530
|
"exportedSymbols": {
|
531
531
|
"System": [
|
532
|
-
|
532
|
+
41962
|
533
533
|
],
|
534
534
|
"WorldContextConsumer": [
|
535
|
-
|
535
|
+
42032
|
536
536
|
]
|
537
537
|
},
|
538
538
|
"nodeType": "SourceUnit",
|
539
|
-
"src": "32:464:
|
539
|
+
"src": "32:464:99",
|
540
540
|
"nodes": [
|
541
541
|
{
|
542
|
-
"id":
|
542
|
+
"id": 41956,
|
543
543
|
"nodeType": "PragmaDirective",
|
544
|
-
"src": "32:25:
|
544
|
+
"src": "32:25:99",
|
545
545
|
"nodes": [],
|
546
546
|
"literals": [
|
547
547
|
"solidity",
|
@@ -551,24 +551,24 @@
|
|
551
551
|
]
|
552
552
|
},
|
553
553
|
{
|
554
|
-
"id":
|
554
|
+
"id": 41958,
|
555
555
|
"nodeType": "ImportDirective",
|
556
|
-
"src": "59:58:
|
556
|
+
"src": "59:58:99",
|
557
557
|
"nodes": [],
|
558
558
|
"absolutePath": "node_modules/@latticexyz/world/src/WorldContext.sol",
|
559
559
|
"file": "./WorldContext.sol",
|
560
560
|
"nameLocation": "-1:-1:-1",
|
561
|
-
"scope":
|
562
|
-
"sourceUnit":
|
561
|
+
"scope": 41963,
|
562
|
+
"sourceUnit": 42227,
|
563
563
|
"symbolAliases": [
|
564
564
|
{
|
565
565
|
"foreign": {
|
566
|
-
"id":
|
566
|
+
"id": 41957,
|
567
567
|
"name": "WorldContextConsumer",
|
568
568
|
"nodeType": "Identifier",
|
569
569
|
"overloadedDeclarations": [],
|
570
|
-
"referencedDeclaration":
|
571
|
-
"src": "68:20:
|
570
|
+
"referencedDeclaration": 42032,
|
571
|
+
"src": "68:20:99",
|
572
572
|
"typeDescriptions": {}
|
573
573
|
},
|
574
574
|
"nameLocation": "-1:-1:-1"
|
@@ -577,52 +577,52 @@
|
|
577
577
|
"unitAlias": ""
|
578
578
|
},
|
579
579
|
{
|
580
|
-
"id":
|
580
|
+
"id": 41962,
|
581
581
|
"nodeType": "ContractDefinition",
|
582
|
-
"src": "354:141:
|
582
|
+
"src": "354:141:99",
|
583
583
|
"nodes": [],
|
584
584
|
"abstract": false,
|
585
585
|
"baseContracts": [
|
586
586
|
{
|
587
587
|
"baseName": {
|
588
|
-
"id":
|
588
|
+
"id": 41960,
|
589
589
|
"name": "WorldContextConsumer",
|
590
590
|
"nameLocations": [
|
591
|
-
"373:20:
|
591
|
+
"373:20:99"
|
592
592
|
],
|
593
593
|
"nodeType": "IdentifierPath",
|
594
|
-
"referencedDeclaration":
|
595
|
-
"src": "373:20:
|
594
|
+
"referencedDeclaration": 42032,
|
595
|
+
"src": "373:20:99"
|
596
596
|
},
|
597
|
-
"id":
|
597
|
+
"id": 41961,
|
598
598
|
"nodeType": "InheritanceSpecifier",
|
599
|
-
"src": "373:20:
|
599
|
+
"src": "373:20:99"
|
600
600
|
}
|
601
601
|
],
|
602
602
|
"canonicalName": "System",
|
603
603
|
"contractDependencies": [],
|
604
604
|
"contractKind": "contract",
|
605
605
|
"documentation": {
|
606
|
-
"id":
|
606
|
+
"id": 41959,
|
607
607
|
"nodeType": "StructuredDocumentation",
|
608
|
-
"src": "119:233:
|
608
|
+
"src": "119:233:99",
|
609
609
|
"text": " @title System\n @dev The System contract currently acts as an alias for `WorldContextConsumer`.\n This structure is chosen for potential extensions in the future, where default functionality might be added to the System."
|
610
610
|
},
|
611
611
|
"fullyImplemented": true,
|
612
612
|
"linearizedBaseContracts": [
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
613
|
+
41962,
|
614
|
+
42032,
|
615
|
+
75676,
|
616
|
+
75633
|
617
617
|
],
|
618
618
|
"name": "System",
|
619
|
-
"nameLocation": "363:6:
|
620
|
-
"scope":
|
619
|
+
"nameLocation": "363:6:99",
|
620
|
+
"scope": 41963,
|
621
621
|
"usedErrors": [],
|
622
622
|
"usedEvents": []
|
623
623
|
}
|
624
624
|
],
|
625
625
|
"license": "MIT"
|
626
626
|
},
|
627
|
-
"id":
|
627
|
+
"id": 99
|
628
628
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
[]
|