@latticexyz/world 2.0.0-alpha.63 → 2.0.0-alpha.65
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/abi/AccessControl.json +15 -15
- package/abi/AccessControlTest.json +273 -273
- package/abi/AddressArray.json +782 -782
- package/abi/ArrayLib.json +139 -139
- package/abi/Bool.json +539 -539
- package/abi/Call.json +6 -6
- package/abi/CommonBase.json +125 -125
- package/abi/CoreModule.json +259 -111
- package/abi/DecodeSlice.json +3187 -3187
- package/abi/FunctionSelectors.json +1412 -1412
- package/abi/Hooks.json +773 -773
- package/abi/IBaseWorld.json +7 -7
- package/abi/IErrors.json +48 -48
- package/abi/IMulticall3.json +283 -283
- package/abi/IRegistrationSystem.json +1 -1
- package/abi/IWorldTestSystem.json +5366 -5366
- package/abi/InstalledModules.json +1139 -1139
- package/abi/KeysWithValue.json +782 -782
- package/abi/KeysWithValueHook.json +369 -369
- package/abi/KeysWithValueModule.json +216 -216
- package/abi/KeysWithValueModuleTest.json +1274 -1274
- package/abi/NamespaceOwner.json +613 -613
- package/abi/PayableFallbackSystem.json +5368 -5368
- package/abi/RegistrationModule.json +307 -307
- package/abi/RegistrationSystem.json +885 -885
- package/abi/ResourceAccess.json +750 -750
- package/abi/ResourceType.json +627 -627
- package/abi/ScriptBase.json +125 -125
- package/abi/StdAssertions.json +1894 -1894
- package/abi/StdChains.json +1051 -1051
- package/abi/StdCheats.json +3257 -3257
- package/abi/StdCheatsSafe.json +3257 -3257
- package/abi/StdInvariant.json +336 -336
- package/abi/StdUtils.json +1122 -1122
- package/abi/Storage.json +488 -488
- package/abi/StoreView.json +7 -7
- package/abi/SystemRegistry.json +625 -625
- package/abi/SystemTest.json +146 -146
- package/abi/Systems.json +1180 -1180
- package/abi/TableId.json +27 -27
- package/abi/Test.json +52 -52
- package/abi/TestBase.json +125 -125
- package/abi/TestSystem.json +146 -146
- package/abi/TightCoder.json +240 -240
- package/abi/Utils.json +67 -67
- package/abi/Vm.json +1850 -1850
- package/abi/VmSafe.json +1850 -1850
- package/abi/World.json +55 -55
- package/abi/WorldTest.json +5368 -5368
- package/abi/WorldTestSystem.json +5368 -5368
- package/abi/WorldTestTableHook.json +5368 -5368
- package/abi/console2.json +11459 -11459
- package/abi/constants.json +7 -7
- package/abi/getKeysWithValue.json +125 -125
- package/abi/getTargetTableSelector.json +72 -72
- package/abi/stdError.json +78 -78
- package/abi/stdJson.json +1016 -1016
- package/abi/stdMath.json +218 -218
- package/abi/stdStorage.json +2400 -2400
- package/abi/stdStorageSafe.json +2400 -2400
- package/package.json +5 -5
- package/src/modules/core/CoreModule.sol +1 -0
- package/types/ethers-contracts/factories/CoreModule__factory.ts +1 -1
- package/types/ethers-contracts/factories/KeysWithValueModuleTest__factory.ts +1 -1
- package/types/ethers-contracts/factories/PayableFallbackSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldTestSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldTestTableHook__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldTest__factory.ts +1 -1
package/abi/SystemTest.json
CHANGED
|
@@ -1605,46 +1605,46 @@
|
|
|
1605
1605
|
},
|
|
1606
1606
|
"ast": {
|
|
1607
1607
|
"absolutePath": "test/System.t.sol",
|
|
1608
|
-
"id":
|
|
1608
|
+
"id": 66871,
|
|
1609
1609
|
"exportedSymbols": {
|
|
1610
1610
|
"DSTest": [
|
|
1611
1611
|
10841
|
|
1612
1612
|
],
|
|
1613
1613
|
"StdAssertions": [
|
|
1614
|
-
|
|
1614
|
+
75265
|
|
1615
1615
|
],
|
|
1616
1616
|
"StdChains": [
|
|
1617
|
-
|
|
1617
|
+
75929
|
|
1618
1618
|
],
|
|
1619
1619
|
"StdCheats": [
|
|
1620
|
-
|
|
1620
|
+
77890
|
|
1621
1621
|
],
|
|
1622
1622
|
"StdInvariant": [
|
|
1623
|
-
|
|
1623
|
+
78180
|
|
1624
1624
|
],
|
|
1625
1625
|
"StdStorage": [
|
|
1626
|
-
|
|
1626
|
+
79021
|
|
1627
1627
|
],
|
|
1628
1628
|
"StdUtils": [
|
|
1629
|
-
|
|
1629
|
+
81261
|
|
1630
1630
|
],
|
|
1631
1631
|
"System": [
|
|
1632
1632
|
56381
|
|
1633
1633
|
],
|
|
1634
1634
|
"SystemTest": [
|
|
1635
|
-
|
|
1635
|
+
66870
|
|
1636
1636
|
],
|
|
1637
1637
|
"Test": [
|
|
1638
1638
|
10888
|
|
1639
1639
|
],
|
|
1640
1640
|
"TestBase": [
|
|
1641
|
-
|
|
1641
|
+
74019
|
|
1642
1642
|
],
|
|
1643
1643
|
"TestSystem": [
|
|
1644
|
-
|
|
1644
|
+
66812
|
|
1645
1645
|
],
|
|
1646
1646
|
"Vm": [
|
|
1647
|
-
|
|
1647
|
+
82551
|
|
1648
1648
|
],
|
|
1649
1649
|
"World": [
|
|
1650
1650
|
57209
|
|
@@ -1653,26 +1653,26 @@
|
|
|
1653
1653
|
18952
|
|
1654
1654
|
],
|
|
1655
1655
|
"console2": [
|
|
1656
|
-
|
|
1656
|
+
90647
|
|
1657
1657
|
],
|
|
1658
1658
|
"stdError": [
|
|
1659
|
-
|
|
1659
|
+
77956
|
|
1660
1660
|
],
|
|
1661
1661
|
"stdJson": [
|
|
1662
|
-
|
|
1662
|
+
78847
|
|
1663
1663
|
],
|
|
1664
1664
|
"stdMath": [
|
|
1665
|
-
|
|
1665
|
+
78989
|
|
1666
1666
|
],
|
|
1667
1667
|
"stdStorage": [
|
|
1668
|
-
|
|
1668
|
+
80454
|
|
1669
1669
|
]
|
|
1670
1670
|
},
|
|
1671
1671
|
"nodeType": "SourceUnit",
|
|
1672
1672
|
"src": "32:605:123",
|
|
1673
1673
|
"nodes": [
|
|
1674
1674
|
{
|
|
1675
|
-
"id":
|
|
1675
|
+
"id": 66795,
|
|
1676
1676
|
"nodeType": "PragmaDirective",
|
|
1677
1677
|
"src": "32:24:123",
|
|
1678
1678
|
"nodes": [],
|
|
@@ -1684,32 +1684,32 @@
|
|
|
1684
1684
|
]
|
|
1685
1685
|
},
|
|
1686
1686
|
{
|
|
1687
|
-
"id":
|
|
1687
|
+
"id": 66796,
|
|
1688
1688
|
"nodeType": "ImportDirective",
|
|
1689
1689
|
"src": "58:28:123",
|
|
1690
1690
|
"nodes": [],
|
|
1691
1691
|
"absolutePath": "../../node_modules/forge-std/src/Test.sol",
|
|
1692
1692
|
"file": "forge-std/Test.sol",
|
|
1693
1693
|
"nameLocation": "-1:-1:-1",
|
|
1694
|
-
"scope":
|
|
1694
|
+
"scope": 66871,
|
|
1695
1695
|
"sourceUnit": 10889,
|
|
1696
1696
|
"symbolAliases": [],
|
|
1697
1697
|
"unitAlias": ""
|
|
1698
1698
|
},
|
|
1699
1699
|
{
|
|
1700
|
-
"id":
|
|
1700
|
+
"id": 66798,
|
|
1701
1701
|
"nodeType": "ImportDirective",
|
|
1702
1702
|
"src": "87:41:123",
|
|
1703
1703
|
"nodes": [],
|
|
1704
1704
|
"absolutePath": "src/World.sol",
|
|
1705
1705
|
"file": "../src/World.sol",
|
|
1706
1706
|
"nameLocation": "-1:-1:-1",
|
|
1707
|
-
"scope":
|
|
1707
|
+
"scope": 66871,
|
|
1708
1708
|
"sourceUnit": 57210,
|
|
1709
1709
|
"symbolAliases": [
|
|
1710
1710
|
{
|
|
1711
1711
|
"foreign": {
|
|
1712
|
-
"id":
|
|
1712
|
+
"id": 66797,
|
|
1713
1713
|
"name": "World",
|
|
1714
1714
|
"nodeType": "Identifier",
|
|
1715
1715
|
"overloadedDeclarations": [],
|
|
@@ -1723,19 +1723,19 @@
|
|
|
1723
1723
|
"unitAlias": ""
|
|
1724
1724
|
},
|
|
1725
1725
|
{
|
|
1726
|
-
"id":
|
|
1726
|
+
"id": 66800,
|
|
1727
1727
|
"nodeType": "ImportDirective",
|
|
1728
1728
|
"src": "129:43:123",
|
|
1729
1729
|
"nodes": [],
|
|
1730
1730
|
"absolutePath": "src/System.sol",
|
|
1731
1731
|
"file": "../src/System.sol",
|
|
1732
1732
|
"nameLocation": "-1:-1:-1",
|
|
1733
|
-
"scope":
|
|
1733
|
+
"scope": 66871,
|
|
1734
1734
|
"sourceUnit": 56382,
|
|
1735
1735
|
"symbolAliases": [
|
|
1736
1736
|
{
|
|
1737
1737
|
"foreign": {
|
|
1738
|
-
"id":
|
|
1738
|
+
"id": 66799,
|
|
1739
1739
|
"name": "System",
|
|
1740
1740
|
"nodeType": "Identifier",
|
|
1741
1741
|
"overloadedDeclarations": [],
|
|
@@ -1749,17 +1749,17 @@
|
|
|
1749
1749
|
"unitAlias": ""
|
|
1750
1750
|
},
|
|
1751
1751
|
{
|
|
1752
|
-
"id":
|
|
1752
|
+
"id": 66812,
|
|
1753
1753
|
"nodeType": "ContractDefinition",
|
|
1754
1754
|
"src": "174:117:123",
|
|
1755
1755
|
"nodes": [
|
|
1756
1756
|
{
|
|
1757
|
-
"id":
|
|
1757
|
+
"id": 66811,
|
|
1758
1758
|
"nodeType": "FunctionDefinition",
|
|
1759
1759
|
"src": "208:81:123",
|
|
1760
1760
|
"nodes": [],
|
|
1761
1761
|
"body": {
|
|
1762
|
-
"id":
|
|
1762
|
+
"id": 66810,
|
|
1763
1763
|
"nodeType": "Block",
|
|
1764
1764
|
"src": "259:30:123",
|
|
1765
1765
|
"nodes": [],
|
|
@@ -1769,7 +1769,7 @@
|
|
|
1769
1769
|
"arguments": [],
|
|
1770
1770
|
"expression": {
|
|
1771
1771
|
"argumentTypes": [],
|
|
1772
|
-
"id":
|
|
1772
|
+
"id": 66807,
|
|
1773
1773
|
"name": "_msgSender",
|
|
1774
1774
|
"nodeType": "Identifier",
|
|
1775
1775
|
"overloadedDeclarations": [],
|
|
@@ -1780,7 +1780,7 @@
|
|
|
1780
1780
|
"typeString": "function () view returns (address)"
|
|
1781
1781
|
}
|
|
1782
1782
|
},
|
|
1783
|
-
"id":
|
|
1783
|
+
"id": 66808,
|
|
1784
1784
|
"isConstant": false,
|
|
1785
1785
|
"isLValue": false,
|
|
1786
1786
|
"isPure": false,
|
|
@@ -1795,8 +1795,8 @@
|
|
|
1795
1795
|
"typeString": "address"
|
|
1796
1796
|
}
|
|
1797
1797
|
},
|
|
1798
|
-
"functionReturnParameters":
|
|
1799
|
-
"id":
|
|
1798
|
+
"functionReturnParameters": 66806,
|
|
1799
|
+
"id": 66809,
|
|
1800
1800
|
"nodeType": "Return",
|
|
1801
1801
|
"src": "265:19:123"
|
|
1802
1802
|
}
|
|
@@ -1809,23 +1809,23 @@
|
|
|
1809
1809
|
"name": "msgSender",
|
|
1810
1810
|
"nameLocation": "217:9:123",
|
|
1811
1811
|
"parameters": {
|
|
1812
|
-
"id":
|
|
1812
|
+
"id": 66803,
|
|
1813
1813
|
"nodeType": "ParameterList",
|
|
1814
1814
|
"parameters": [],
|
|
1815
1815
|
"src": "226:2:123"
|
|
1816
1816
|
},
|
|
1817
1817
|
"returnParameters": {
|
|
1818
|
-
"id":
|
|
1818
|
+
"id": 66806,
|
|
1819
1819
|
"nodeType": "ParameterList",
|
|
1820
1820
|
"parameters": [
|
|
1821
1821
|
{
|
|
1822
1822
|
"constant": false,
|
|
1823
|
-
"id":
|
|
1823
|
+
"id": 66805,
|
|
1824
1824
|
"mutability": "mutable",
|
|
1825
1825
|
"name": "",
|
|
1826
1826
|
"nameLocation": "-1:-1:-1",
|
|
1827
1827
|
"nodeType": "VariableDeclaration",
|
|
1828
|
-
"scope":
|
|
1828
|
+
"scope": 66811,
|
|
1829
1829
|
"src": "250:7:123",
|
|
1830
1830
|
"stateVariable": false,
|
|
1831
1831
|
"storageLocation": "default",
|
|
@@ -1834,7 +1834,7 @@
|
|
|
1834
1834
|
"typeString": "address"
|
|
1835
1835
|
},
|
|
1836
1836
|
"typeName": {
|
|
1837
|
-
"id":
|
|
1837
|
+
"id": 66804,
|
|
1838
1838
|
"name": "address",
|
|
1839
1839
|
"nodeType": "ElementaryTypeName",
|
|
1840
1840
|
"src": "250:7:123",
|
|
@@ -1849,7 +1849,7 @@
|
|
|
1849
1849
|
],
|
|
1850
1850
|
"src": "249:9:123"
|
|
1851
1851
|
},
|
|
1852
|
-
"scope":
|
|
1852
|
+
"scope": 66812,
|
|
1853
1853
|
"stateMutability": "view",
|
|
1854
1854
|
"virtual": false,
|
|
1855
1855
|
"visibility": "public"
|
|
@@ -1859,13 +1859,13 @@
|
|
|
1859
1859
|
"baseContracts": [
|
|
1860
1860
|
{
|
|
1861
1861
|
"baseName": {
|
|
1862
|
-
"id":
|
|
1862
|
+
"id": 66801,
|
|
1863
1863
|
"name": "System",
|
|
1864
1864
|
"nodeType": "IdentifierPath",
|
|
1865
1865
|
"referencedDeclaration": 56381,
|
|
1866
1866
|
"src": "197:6:123"
|
|
1867
1867
|
},
|
|
1868
|
-
"id":
|
|
1868
|
+
"id": 66802,
|
|
1869
1869
|
"nodeType": "InheritanceSpecifier",
|
|
1870
1870
|
"src": "197:6:123"
|
|
1871
1871
|
}
|
|
@@ -1875,22 +1875,22 @@
|
|
|
1875
1875
|
"contractKind": "contract",
|
|
1876
1876
|
"fullyImplemented": true,
|
|
1877
1877
|
"linearizedBaseContracts": [
|
|
1878
|
-
|
|
1878
|
+
66812,
|
|
1879
1879
|
56381,
|
|
1880
1880
|
57250
|
|
1881
1881
|
],
|
|
1882
1882
|
"name": "TestSystem",
|
|
1883
1883
|
"nameLocation": "183:10:123",
|
|
1884
|
-
"scope":
|
|
1884
|
+
"scope": 66871,
|
|
1885
1885
|
"usedErrors": []
|
|
1886
1886
|
},
|
|
1887
1887
|
{
|
|
1888
|
-
"id":
|
|
1888
|
+
"id": 66870,
|
|
1889
1889
|
"nodeType": "ContractDefinition",
|
|
1890
1890
|
"src": "293:343:123",
|
|
1891
1891
|
"nodes": [
|
|
1892
1892
|
{
|
|
1893
|
-
"id":
|
|
1893
|
+
"id": 66817,
|
|
1894
1894
|
"nodeType": "VariableDeclaration",
|
|
1895
1895
|
"src": "325:26:123",
|
|
1896
1896
|
"nodes": [],
|
|
@@ -1898,59 +1898,59 @@
|
|
|
1898
1898
|
"mutability": "mutable",
|
|
1899
1899
|
"name": "system",
|
|
1900
1900
|
"nameLocation": "345:6:123",
|
|
1901
|
-
"scope":
|
|
1901
|
+
"scope": 66870,
|
|
1902
1902
|
"stateVariable": true,
|
|
1903
1903
|
"storageLocation": "default",
|
|
1904
1904
|
"typeDescriptions": {
|
|
1905
|
-
"typeIdentifier": "t_contract$_TestSystem_$
|
|
1905
|
+
"typeIdentifier": "t_contract$_TestSystem_$66812",
|
|
1906
1906
|
"typeString": "contract TestSystem"
|
|
1907
1907
|
},
|
|
1908
1908
|
"typeName": {
|
|
1909
|
-
"id":
|
|
1909
|
+
"id": 66816,
|
|
1910
1910
|
"nodeType": "UserDefinedTypeName",
|
|
1911
1911
|
"pathNode": {
|
|
1912
|
-
"id":
|
|
1912
|
+
"id": 66815,
|
|
1913
1913
|
"name": "TestSystem",
|
|
1914
1914
|
"nodeType": "IdentifierPath",
|
|
1915
|
-
"referencedDeclaration":
|
|
1915
|
+
"referencedDeclaration": 66812,
|
|
1916
1916
|
"src": "325:10:123"
|
|
1917
1917
|
},
|
|
1918
|
-
"referencedDeclaration":
|
|
1918
|
+
"referencedDeclaration": 66812,
|
|
1919
1919
|
"src": "325:10:123",
|
|
1920
1920
|
"typeDescriptions": {
|
|
1921
|
-
"typeIdentifier": "t_contract$_TestSystem_$
|
|
1921
|
+
"typeIdentifier": "t_contract$_TestSystem_$66812",
|
|
1922
1922
|
"typeString": "contract TestSystem"
|
|
1923
1923
|
}
|
|
1924
1924
|
},
|
|
1925
1925
|
"visibility": "internal"
|
|
1926
1926
|
},
|
|
1927
1927
|
{
|
|
1928
|
-
"id":
|
|
1928
|
+
"id": 66828,
|
|
1929
1929
|
"nodeType": "FunctionDefinition",
|
|
1930
1930
|
"src": "356:60:123",
|
|
1931
1931
|
"nodes": [],
|
|
1932
1932
|
"body": {
|
|
1933
|
-
"id":
|
|
1933
|
+
"id": 66827,
|
|
1934
1934
|
"nodeType": "Block",
|
|
1935
1935
|
"src": "380:36:123",
|
|
1936
1936
|
"nodes": [],
|
|
1937
1937
|
"statements": [
|
|
1938
1938
|
{
|
|
1939
1939
|
"expression": {
|
|
1940
|
-
"id":
|
|
1940
|
+
"id": 66825,
|
|
1941
1941
|
"isConstant": false,
|
|
1942
1942
|
"isLValue": false,
|
|
1943
1943
|
"isPure": false,
|
|
1944
1944
|
"lValueRequested": false,
|
|
1945
1945
|
"leftHandSide": {
|
|
1946
|
-
"id":
|
|
1946
|
+
"id": 66820,
|
|
1947
1947
|
"name": "system",
|
|
1948
1948
|
"nodeType": "Identifier",
|
|
1949
1949
|
"overloadedDeclarations": [],
|
|
1950
|
-
"referencedDeclaration":
|
|
1950
|
+
"referencedDeclaration": 66817,
|
|
1951
1951
|
"src": "386:6:123",
|
|
1952
1952
|
"typeDescriptions": {
|
|
1953
|
-
"typeIdentifier": "t_contract$_TestSystem_$
|
|
1953
|
+
"typeIdentifier": "t_contract$_TestSystem_$66812",
|
|
1954
1954
|
"typeString": "contract TestSystem"
|
|
1955
1955
|
}
|
|
1956
1956
|
},
|
|
@@ -1960,7 +1960,7 @@
|
|
|
1960
1960
|
"arguments": [],
|
|
1961
1961
|
"expression": {
|
|
1962
1962
|
"argumentTypes": [],
|
|
1963
|
-
"id":
|
|
1963
|
+
"id": 66823,
|
|
1964
1964
|
"isConstant": false,
|
|
1965
1965
|
"isLValue": false,
|
|
1966
1966
|
"isPure": false,
|
|
@@ -1968,28 +1968,28 @@
|
|
|
1968
1968
|
"nodeType": "NewExpression",
|
|
1969
1969
|
"src": "395:14:123",
|
|
1970
1970
|
"typeDescriptions": {
|
|
1971
|
-
"typeIdentifier": "t_function_creation_nonpayable$__$returns$_t_contract$_TestSystem_$
|
|
1971
|
+
"typeIdentifier": "t_function_creation_nonpayable$__$returns$_t_contract$_TestSystem_$66812_$",
|
|
1972
1972
|
"typeString": "function () returns (contract TestSystem)"
|
|
1973
1973
|
},
|
|
1974
1974
|
"typeName": {
|
|
1975
|
-
"id":
|
|
1975
|
+
"id": 66822,
|
|
1976
1976
|
"nodeType": "UserDefinedTypeName",
|
|
1977
1977
|
"pathNode": {
|
|
1978
|
-
"id":
|
|
1978
|
+
"id": 66821,
|
|
1979
1979
|
"name": "TestSystem",
|
|
1980
1980
|
"nodeType": "IdentifierPath",
|
|
1981
|
-
"referencedDeclaration":
|
|
1981
|
+
"referencedDeclaration": 66812,
|
|
1982
1982
|
"src": "399:10:123"
|
|
1983
1983
|
},
|
|
1984
|
-
"referencedDeclaration":
|
|
1984
|
+
"referencedDeclaration": 66812,
|
|
1985
1985
|
"src": "399:10:123",
|
|
1986
1986
|
"typeDescriptions": {
|
|
1987
|
-
"typeIdentifier": "t_contract$_TestSystem_$
|
|
1987
|
+
"typeIdentifier": "t_contract$_TestSystem_$66812",
|
|
1988
1988
|
"typeString": "contract TestSystem"
|
|
1989
1989
|
}
|
|
1990
1990
|
}
|
|
1991
1991
|
},
|
|
1992
|
-
"id":
|
|
1992
|
+
"id": 66824,
|
|
1993
1993
|
"isConstant": false,
|
|
1994
1994
|
"isLValue": false,
|
|
1995
1995
|
"isPure": false,
|
|
@@ -2000,17 +2000,17 @@
|
|
|
2000
2000
|
"src": "395:16:123",
|
|
2001
2001
|
"tryCall": false,
|
|
2002
2002
|
"typeDescriptions": {
|
|
2003
|
-
"typeIdentifier": "t_contract$_TestSystem_$
|
|
2003
|
+
"typeIdentifier": "t_contract$_TestSystem_$66812",
|
|
2004
2004
|
"typeString": "contract TestSystem"
|
|
2005
2005
|
}
|
|
2006
2006
|
},
|
|
2007
2007
|
"src": "386:25:123",
|
|
2008
2008
|
"typeDescriptions": {
|
|
2009
|
-
"typeIdentifier": "t_contract$_TestSystem_$
|
|
2009
|
+
"typeIdentifier": "t_contract$_TestSystem_$66812",
|
|
2010
2010
|
"typeString": "contract TestSystem"
|
|
2011
2011
|
}
|
|
2012
2012
|
},
|
|
2013
|
-
"id":
|
|
2013
|
+
"id": 66826,
|
|
2014
2014
|
"nodeType": "ExpressionStatement",
|
|
2015
2015
|
"src": "386:25:123"
|
|
2016
2016
|
}
|
|
@@ -2023,29 +2023,29 @@
|
|
|
2023
2023
|
"name": "setUp",
|
|
2024
2024
|
"nameLocation": "365:5:123",
|
|
2025
2025
|
"parameters": {
|
|
2026
|
-
"id":
|
|
2026
|
+
"id": 66818,
|
|
2027
2027
|
"nodeType": "ParameterList",
|
|
2028
2028
|
"parameters": [],
|
|
2029
2029
|
"src": "370:2:123"
|
|
2030
2030
|
},
|
|
2031
2031
|
"returnParameters": {
|
|
2032
|
-
"id":
|
|
2032
|
+
"id": 66819,
|
|
2033
2033
|
"nodeType": "ParameterList",
|
|
2034
2034
|
"parameters": [],
|
|
2035
2035
|
"src": "380:0:123"
|
|
2036
2036
|
},
|
|
2037
|
-
"scope":
|
|
2037
|
+
"scope": 66870,
|
|
2038
2038
|
"stateMutability": "nonpayable",
|
|
2039
2039
|
"virtual": false,
|
|
2040
2040
|
"visibility": "public"
|
|
2041
2041
|
},
|
|
2042
2042
|
{
|
|
2043
|
-
"id":
|
|
2043
|
+
"id": 66869,
|
|
2044
2044
|
"nodeType": "FunctionDefinition",
|
|
2045
2045
|
"src": "420:214:123",
|
|
2046
2046
|
"nodes": [],
|
|
2047
2047
|
"body": {
|
|
2048
|
-
"id":
|
|
2048
|
+
"id": 66868,
|
|
2049
2049
|
"nodeType": "Block",
|
|
2050
2050
|
"src": "453:181:123",
|
|
2051
2051
|
"nodes": [],
|
|
@@ -2053,18 +2053,18 @@
|
|
|
2053
2053
|
{
|
|
2054
2054
|
"assignments": [
|
|
2055
2055
|
null,
|
|
2056
|
-
|
|
2056
|
+
66832
|
|
2057
2057
|
],
|
|
2058
2058
|
"declarations": [
|
|
2059
2059
|
null,
|
|
2060
2060
|
{
|
|
2061
2061
|
"constant": false,
|
|
2062
|
-
"id":
|
|
2062
|
+
"id": 66832,
|
|
2063
2063
|
"mutability": "mutable",
|
|
2064
2064
|
"name": "data",
|
|
2065
2065
|
"nameLocation": "475:4:123",
|
|
2066
2066
|
"nodeType": "VariableDeclaration",
|
|
2067
|
-
"scope":
|
|
2067
|
+
"scope": 66868,
|
|
2068
2068
|
"src": "462:17:123",
|
|
2069
2069
|
"stateVariable": false,
|
|
2070
2070
|
"storageLocation": "memory",
|
|
@@ -2073,7 +2073,7 @@
|
|
|
2073
2073
|
"typeString": "bytes"
|
|
2074
2074
|
},
|
|
2075
2075
|
"typeName": {
|
|
2076
|
-
"id":
|
|
2076
|
+
"id": 66831,
|
|
2077
2077
|
"name": "bytes",
|
|
2078
2078
|
"nodeType": "ElementaryTypeName",
|
|
2079
2079
|
"src": "462:5:123",
|
|
@@ -2085,14 +2085,14 @@
|
|
|
2085
2085
|
"visibility": "internal"
|
|
2086
2086
|
}
|
|
2087
2087
|
],
|
|
2088
|
-
"id":
|
|
2088
|
+
"id": 66847,
|
|
2089
2089
|
"initialValue": {
|
|
2090
2090
|
"arguments": [
|
|
2091
2091
|
{
|
|
2092
2092
|
"arguments": [
|
|
2093
2093
|
{
|
|
2094
2094
|
"hexValue": "6d736753656e6465722829",
|
|
2095
|
-
"id":
|
|
2095
|
+
"id": 66840,
|
|
2096
2096
|
"isConstant": false,
|
|
2097
2097
|
"isLValue": false,
|
|
2098
2098
|
"isPure": true,
|
|
@@ -2109,14 +2109,14 @@
|
|
|
2109
2109
|
{
|
|
2110
2110
|
"arguments": [
|
|
2111
2111
|
{
|
|
2112
|
-
"id":
|
|
2112
|
+
"id": 66843,
|
|
2113
2113
|
"name": "this",
|
|
2114
2114
|
"nodeType": "Identifier",
|
|
2115
2115
|
"overloadedDeclarations": [],
|
|
2116
2116
|
"referencedDeclaration": -28,
|
|
2117
2117
|
"src": "551:4:123",
|
|
2118
2118
|
"typeDescriptions": {
|
|
2119
|
-
"typeIdentifier": "t_contract$_SystemTest_$
|
|
2119
|
+
"typeIdentifier": "t_contract$_SystemTest_$66870",
|
|
2120
2120
|
"typeString": "contract SystemTest"
|
|
2121
2121
|
}
|
|
2122
2122
|
}
|
|
@@ -2124,11 +2124,11 @@
|
|
|
2124
2124
|
"expression": {
|
|
2125
2125
|
"argumentTypes": [
|
|
2126
2126
|
{
|
|
2127
|
-
"typeIdentifier": "t_contract$_SystemTest_$
|
|
2127
|
+
"typeIdentifier": "t_contract$_SystemTest_$66870",
|
|
2128
2128
|
"typeString": "contract SystemTest"
|
|
2129
2129
|
}
|
|
2130
2130
|
],
|
|
2131
|
-
"id":
|
|
2131
|
+
"id": 66842,
|
|
2132
2132
|
"isConstant": false,
|
|
2133
2133
|
"isLValue": false,
|
|
2134
2134
|
"isPure": true,
|
|
@@ -2140,14 +2140,14 @@
|
|
|
2140
2140
|
"typeString": "type(address)"
|
|
2141
2141
|
},
|
|
2142
2142
|
"typeName": {
|
|
2143
|
-
"id":
|
|
2143
|
+
"id": 66841,
|
|
2144
2144
|
"name": "address",
|
|
2145
2145
|
"nodeType": "ElementaryTypeName",
|
|
2146
2146
|
"src": "543:7:123",
|
|
2147
2147
|
"typeDescriptions": {}
|
|
2148
2148
|
}
|
|
2149
2149
|
},
|
|
2150
|
-
"id":
|
|
2150
|
+
"id": 66844,
|
|
2151
2151
|
"isConstant": false,
|
|
2152
2152
|
"isLValue": false,
|
|
2153
2153
|
"isPure": false,
|
|
@@ -2175,7 +2175,7 @@
|
|
|
2175
2175
|
}
|
|
2176
2176
|
],
|
|
2177
2177
|
"expression": {
|
|
2178
|
-
"id":
|
|
2178
|
+
"id": 66838,
|
|
2179
2179
|
"name": "abi",
|
|
2180
2180
|
"nodeType": "Identifier",
|
|
2181
2181
|
"overloadedDeclarations": [],
|
|
@@ -2186,7 +2186,7 @@
|
|
|
2186
2186
|
"typeString": "abi"
|
|
2187
2187
|
}
|
|
2188
2188
|
},
|
|
2189
|
-
"id":
|
|
2189
|
+
"id": 66839,
|
|
2190
2190
|
"isConstant": false,
|
|
2191
2191
|
"isLValue": false,
|
|
2192
2192
|
"isPure": true,
|
|
@@ -2199,7 +2199,7 @@
|
|
|
2199
2199
|
"typeString": "function (string memory) pure returns (bytes memory)"
|
|
2200
2200
|
}
|
|
2201
2201
|
},
|
|
2202
|
-
"id":
|
|
2202
|
+
"id": 66845,
|
|
2203
2203
|
"isConstant": false,
|
|
2204
2204
|
"isLValue": false,
|
|
2205
2205
|
"isPure": false,
|
|
@@ -2225,14 +2225,14 @@
|
|
|
2225
2225
|
"expression": {
|
|
2226
2226
|
"arguments": [
|
|
2227
2227
|
{
|
|
2228
|
-
"id":
|
|
2228
|
+
"id": 66835,
|
|
2229
2229
|
"name": "system",
|
|
2230
2230
|
"nodeType": "Identifier",
|
|
2231
2231
|
"overloadedDeclarations": [],
|
|
2232
|
-
"referencedDeclaration":
|
|
2232
|
+
"referencedDeclaration": 66817,
|
|
2233
2233
|
"src": "491:6:123",
|
|
2234
2234
|
"typeDescriptions": {
|
|
2235
|
-
"typeIdentifier": "t_contract$_TestSystem_$
|
|
2235
|
+
"typeIdentifier": "t_contract$_TestSystem_$66812",
|
|
2236
2236
|
"typeString": "contract TestSystem"
|
|
2237
2237
|
}
|
|
2238
2238
|
}
|
|
@@ -2240,11 +2240,11 @@
|
|
|
2240
2240
|
"expression": {
|
|
2241
2241
|
"argumentTypes": [
|
|
2242
2242
|
{
|
|
2243
|
-
"typeIdentifier": "t_contract$_TestSystem_$
|
|
2243
|
+
"typeIdentifier": "t_contract$_TestSystem_$66812",
|
|
2244
2244
|
"typeString": "contract TestSystem"
|
|
2245
2245
|
}
|
|
2246
2246
|
],
|
|
2247
|
-
"id":
|
|
2247
|
+
"id": 66834,
|
|
2248
2248
|
"isConstant": false,
|
|
2249
2249
|
"isLValue": false,
|
|
2250
2250
|
"isPure": true,
|
|
@@ -2256,14 +2256,14 @@
|
|
|
2256
2256
|
"typeString": "type(address)"
|
|
2257
2257
|
},
|
|
2258
2258
|
"typeName": {
|
|
2259
|
-
"id":
|
|
2259
|
+
"id": 66833,
|
|
2260
2260
|
"name": "address",
|
|
2261
2261
|
"nodeType": "ElementaryTypeName",
|
|
2262
2262
|
"src": "483:7:123",
|
|
2263
2263
|
"typeDescriptions": {}
|
|
2264
2264
|
}
|
|
2265
2265
|
},
|
|
2266
|
-
"id":
|
|
2266
|
+
"id": 66836,
|
|
2267
2267
|
"isConstant": false,
|
|
2268
2268
|
"isLValue": false,
|
|
2269
2269
|
"isPure": false,
|
|
@@ -2278,7 +2278,7 @@
|
|
|
2278
2278
|
"typeString": "address"
|
|
2279
2279
|
}
|
|
2280
2280
|
},
|
|
2281
|
-
"id":
|
|
2281
|
+
"id": 66837,
|
|
2282
2282
|
"isConstant": false,
|
|
2283
2283
|
"isLValue": false,
|
|
2284
2284
|
"isPure": false,
|
|
@@ -2291,7 +2291,7 @@
|
|
|
2291
2291
|
"typeString": "function (bytes memory) payable returns (bool,bytes memory)"
|
|
2292
2292
|
}
|
|
2293
2293
|
},
|
|
2294
|
-
"id":
|
|
2294
|
+
"id": 66846,
|
|
2295
2295
|
"isConstant": false,
|
|
2296
2296
|
"isLValue": false,
|
|
2297
2297
|
"isPure": false,
|
|
@@ -2321,11 +2321,11 @@
|
|
|
2321
2321
|
{
|
|
2322
2322
|
"arguments": [
|
|
2323
2323
|
{
|
|
2324
|
-
"id":
|
|
2324
|
+
"id": 66857,
|
|
2325
2325
|
"name": "data",
|
|
2326
2326
|
"nodeType": "Identifier",
|
|
2327
2327
|
"overloadedDeclarations": [],
|
|
2328
|
-
"referencedDeclaration":
|
|
2328
|
+
"referencedDeclaration": 66832,
|
|
2329
2329
|
"src": "605:4:123",
|
|
2330
2330
|
"typeDescriptions": {
|
|
2331
2331
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
@@ -2340,7 +2340,7 @@
|
|
|
2340
2340
|
"typeString": "bytes memory"
|
|
2341
2341
|
}
|
|
2342
2342
|
],
|
|
2343
|
-
"id":
|
|
2343
|
+
"id": 66856,
|
|
2344
2344
|
"isConstant": false,
|
|
2345
2345
|
"isLValue": false,
|
|
2346
2346
|
"isPure": true,
|
|
@@ -2352,14 +2352,14 @@
|
|
|
2352
2352
|
"typeString": "type(bytes32)"
|
|
2353
2353
|
},
|
|
2354
2354
|
"typeName": {
|
|
2355
|
-
"id":
|
|
2355
|
+
"id": 66855,
|
|
2356
2356
|
"name": "bytes32",
|
|
2357
2357
|
"nodeType": "ElementaryTypeName",
|
|
2358
2358
|
"src": "597:7:123",
|
|
2359
2359
|
"typeDescriptions": {}
|
|
2360
2360
|
}
|
|
2361
2361
|
},
|
|
2362
|
-
"id":
|
|
2362
|
+
"id": 66858,
|
|
2363
2363
|
"isConstant": false,
|
|
2364
2364
|
"isLValue": false,
|
|
2365
2365
|
"isPure": false,
|
|
@@ -2382,7 +2382,7 @@
|
|
|
2382
2382
|
"typeString": "bytes32"
|
|
2383
2383
|
}
|
|
2384
2384
|
],
|
|
2385
|
-
"id":
|
|
2385
|
+
"id": 66854,
|
|
2386
2386
|
"isConstant": false,
|
|
2387
2387
|
"isLValue": false,
|
|
2388
2388
|
"isPure": true,
|
|
@@ -2394,14 +2394,14 @@
|
|
|
2394
2394
|
"typeString": "type(uint256)"
|
|
2395
2395
|
},
|
|
2396
2396
|
"typeName": {
|
|
2397
|
-
"id":
|
|
2397
|
+
"id": 66853,
|
|
2398
2398
|
"name": "uint256",
|
|
2399
2399
|
"nodeType": "ElementaryTypeName",
|
|
2400
2400
|
"src": "589:7:123",
|
|
2401
2401
|
"typeDescriptions": {}
|
|
2402
2402
|
}
|
|
2403
2403
|
},
|
|
2404
|
-
"id":
|
|
2404
|
+
"id": 66859,
|
|
2405
2405
|
"isConstant": false,
|
|
2406
2406
|
"isLValue": false,
|
|
2407
2407
|
"isPure": false,
|
|
@@ -2424,7 +2424,7 @@
|
|
|
2424
2424
|
"typeString": "uint256"
|
|
2425
2425
|
}
|
|
2426
2426
|
],
|
|
2427
|
-
"id":
|
|
2427
|
+
"id": 66852,
|
|
2428
2428
|
"isConstant": false,
|
|
2429
2429
|
"isLValue": false,
|
|
2430
2430
|
"isPure": true,
|
|
@@ -2436,14 +2436,14 @@
|
|
|
2436
2436
|
"typeString": "type(uint160)"
|
|
2437
2437
|
},
|
|
2438
2438
|
"typeName": {
|
|
2439
|
-
"id":
|
|
2439
|
+
"id": 66851,
|
|
2440
2440
|
"name": "uint160",
|
|
2441
2441
|
"nodeType": "ElementaryTypeName",
|
|
2442
2442
|
"src": "581:7:123",
|
|
2443
2443
|
"typeDescriptions": {}
|
|
2444
2444
|
}
|
|
2445
2445
|
},
|
|
2446
|
-
"id":
|
|
2446
|
+
"id": 66860,
|
|
2447
2447
|
"isConstant": false,
|
|
2448
2448
|
"isLValue": false,
|
|
2449
2449
|
"isPure": false,
|
|
@@ -2466,7 +2466,7 @@
|
|
|
2466
2466
|
"typeString": "uint160"
|
|
2467
2467
|
}
|
|
2468
2468
|
],
|
|
2469
|
-
"id":
|
|
2469
|
+
"id": 66850,
|
|
2470
2470
|
"isConstant": false,
|
|
2471
2471
|
"isLValue": false,
|
|
2472
2472
|
"isPure": true,
|
|
@@ -2478,14 +2478,14 @@
|
|
|
2478
2478
|
"typeString": "type(address)"
|
|
2479
2479
|
},
|
|
2480
2480
|
"typeName": {
|
|
2481
|
-
"id":
|
|
2481
|
+
"id": 66849,
|
|
2482
2482
|
"name": "address",
|
|
2483
2483
|
"nodeType": "ElementaryTypeName",
|
|
2484
2484
|
"src": "573:7:123",
|
|
2485
2485
|
"typeDescriptions": {}
|
|
2486
2486
|
}
|
|
2487
2487
|
},
|
|
2488
|
-
"id":
|
|
2488
|
+
"id": 66861,
|
|
2489
2489
|
"isConstant": false,
|
|
2490
2490
|
"isLValue": false,
|
|
2491
2491
|
"isPure": false,
|
|
@@ -2503,14 +2503,14 @@
|
|
|
2503
2503
|
{
|
|
2504
2504
|
"arguments": [
|
|
2505
2505
|
{
|
|
2506
|
-
"id":
|
|
2506
|
+
"id": 66864,
|
|
2507
2507
|
"name": "this",
|
|
2508
2508
|
"nodeType": "Identifier",
|
|
2509
2509
|
"overloadedDeclarations": [],
|
|
2510
2510
|
"referencedDeclaration": -28,
|
|
2511
2511
|
"src": "623:4:123",
|
|
2512
2512
|
"typeDescriptions": {
|
|
2513
|
-
"typeIdentifier": "t_contract$_SystemTest_$
|
|
2513
|
+
"typeIdentifier": "t_contract$_SystemTest_$66870",
|
|
2514
2514
|
"typeString": "contract SystemTest"
|
|
2515
2515
|
}
|
|
2516
2516
|
}
|
|
@@ -2518,11 +2518,11 @@
|
|
|
2518
2518
|
"expression": {
|
|
2519
2519
|
"argumentTypes": [
|
|
2520
2520
|
{
|
|
2521
|
-
"typeIdentifier": "t_contract$_SystemTest_$
|
|
2521
|
+
"typeIdentifier": "t_contract$_SystemTest_$66870",
|
|
2522
2522
|
"typeString": "contract SystemTest"
|
|
2523
2523
|
}
|
|
2524
2524
|
],
|
|
2525
|
-
"id":
|
|
2525
|
+
"id": 66863,
|
|
2526
2526
|
"isConstant": false,
|
|
2527
2527
|
"isLValue": false,
|
|
2528
2528
|
"isPure": true,
|
|
@@ -2534,14 +2534,14 @@
|
|
|
2534
2534
|
"typeString": "type(address)"
|
|
2535
2535
|
},
|
|
2536
2536
|
"typeName": {
|
|
2537
|
-
"id":
|
|
2537
|
+
"id": 66862,
|
|
2538
2538
|
"name": "address",
|
|
2539
2539
|
"nodeType": "ElementaryTypeName",
|
|
2540
2540
|
"src": "615:7:123",
|
|
2541
2541
|
"typeDescriptions": {}
|
|
2542
2542
|
}
|
|
2543
2543
|
},
|
|
2544
|
-
"id":
|
|
2544
|
+
"id": 66865,
|
|
2545
2545
|
"isConstant": false,
|
|
2546
2546
|
"isLValue": false,
|
|
2547
2547
|
"isPure": false,
|
|
@@ -2568,20 +2568,20 @@
|
|
|
2568
2568
|
"typeString": "address"
|
|
2569
2569
|
}
|
|
2570
2570
|
],
|
|
2571
|
-
"id":
|
|
2571
|
+
"id": 66848,
|
|
2572
2572
|
"name": "assertEq",
|
|
2573
2573
|
"nodeType": "Identifier",
|
|
2574
2574
|
"overloadedDeclarations": [
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2575
|
+
74150,
|
|
2576
|
+
74175,
|
|
2577
|
+
74188,
|
|
2578
|
+
74204,
|
|
2579
|
+
74246,
|
|
2580
|
+
74288,
|
|
2581
|
+
74330,
|
|
2582
|
+
74367,
|
|
2583
|
+
74404,
|
|
2584
|
+
74441,
|
|
2585
2585
|
9375,
|
|
2586
2586
|
9400,
|
|
2587
2587
|
9430,
|
|
@@ -2600,7 +2600,7 @@
|
|
|
2600
2600
|
"typeString": "function (address,address)"
|
|
2601
2601
|
}
|
|
2602
2602
|
},
|
|
2603
|
-
"id":
|
|
2603
|
+
"id": 66866,
|
|
2604
2604
|
"isConstant": false,
|
|
2605
2605
|
"isLValue": false,
|
|
2606
2606
|
"isPure": false,
|
|
@@ -2615,7 +2615,7 @@
|
|
|
2615
2615
|
"typeString": "tuple()"
|
|
2616
2616
|
}
|
|
2617
2617
|
},
|
|
2618
|
-
"id":
|
|
2618
|
+
"id": 66867,
|
|
2619
2619
|
"nodeType": "ExpressionStatement",
|
|
2620
2620
|
"src": "564:65:123"
|
|
2621
2621
|
}
|
|
@@ -2628,18 +2628,18 @@
|
|
|
2628
2628
|
"name": "testCallSystem",
|
|
2629
2629
|
"nameLocation": "429:14:123",
|
|
2630
2630
|
"parameters": {
|
|
2631
|
-
"id":
|
|
2631
|
+
"id": 66829,
|
|
2632
2632
|
"nodeType": "ParameterList",
|
|
2633
2633
|
"parameters": [],
|
|
2634
2634
|
"src": "443:2:123"
|
|
2635
2635
|
},
|
|
2636
2636
|
"returnParameters": {
|
|
2637
|
-
"id":
|
|
2637
|
+
"id": 66830,
|
|
2638
2638
|
"nodeType": "ParameterList",
|
|
2639
2639
|
"parameters": [],
|
|
2640
2640
|
"src": "453:0:123"
|
|
2641
2641
|
},
|
|
2642
|
-
"scope":
|
|
2642
|
+
"scope": 66870,
|
|
2643
2643
|
"stateMutability": "nonpayable",
|
|
2644
2644
|
"virtual": false,
|
|
2645
2645
|
"visibility": "public"
|
|
@@ -2649,39 +2649,39 @@
|
|
|
2649
2649
|
"baseContracts": [
|
|
2650
2650
|
{
|
|
2651
2651
|
"baseName": {
|
|
2652
|
-
"id":
|
|
2652
|
+
"id": 66813,
|
|
2653
2653
|
"name": "Test",
|
|
2654
2654
|
"nodeType": "IdentifierPath",
|
|
2655
2655
|
"referencedDeclaration": 10888,
|
|
2656
2656
|
"src": "316:4:123"
|
|
2657
2657
|
},
|
|
2658
|
-
"id":
|
|
2658
|
+
"id": 66814,
|
|
2659
2659
|
"nodeType": "InheritanceSpecifier",
|
|
2660
2660
|
"src": "316:4:123"
|
|
2661
2661
|
}
|
|
2662
2662
|
],
|
|
2663
2663
|
"canonicalName": "SystemTest",
|
|
2664
2664
|
"contractDependencies": [
|
|
2665
|
-
|
|
2665
|
+
66812
|
|
2666
2666
|
],
|
|
2667
2667
|
"contractKind": "contract",
|
|
2668
2668
|
"fullyImplemented": true,
|
|
2669
2669
|
"linearizedBaseContracts": [
|
|
2670
|
-
|
|
2670
|
+
66870,
|
|
2671
2671
|
10888,
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2672
|
+
74019,
|
|
2673
|
+
74016,
|
|
2674
|
+
81261,
|
|
2675
|
+
78180,
|
|
2676
|
+
77890,
|
|
2677
|
+
77501,
|
|
2678
|
+
75929,
|
|
2679
|
+
75265,
|
|
2680
2680
|
10841
|
|
2681
2681
|
],
|
|
2682
2682
|
"name": "SystemTest",
|
|
2683
2683
|
"nameLocation": "302:10:123",
|
|
2684
|
-
"scope":
|
|
2684
|
+
"scope": 66871,
|
|
2685
2685
|
"usedErrors": []
|
|
2686
2686
|
}
|
|
2687
2687
|
],
|