@superfluid-finance/ethereum-contracts 1.4.1-dev.e675dbc.0 → 1.4.2-dev.e06ddfc.0

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 (115) hide show
  1. package/build/contracts/AccessControl.json +1 -1
  2. package/build/contracts/AccessControlEnumerable.json +1 -1
  3. package/build/contracts/Address.json +1 -1
  4. package/build/contracts/AgreementBase.json +28 -28
  5. package/build/contracts/AgreementLibrary.json +165 -165
  6. package/build/contracts/BaseRelayRecipient.json +55 -55
  7. package/build/contracts/BatchLiquidator.json +208 -208
  8. package/build/contracts/BatchOperation.json +784 -784
  9. package/build/contracts/CFAv1Forwarder.json +2299 -2473
  10. package/build/contracts/CFAv1Library.json +2279 -2279
  11. package/build/contracts/CallUtils.json +198 -198
  12. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1544 -1544
  13. package/build/contracts/ConstantFlowAgreementV1.json +8579 -8423
  14. package/build/contracts/Context.json +1 -1
  15. package/build/contracts/ContextDefinitions.json +784 -784
  16. package/build/contracts/Create2.json +1 -1
  17. package/build/contracts/CustomSuperTokenBase.json +19 -19
  18. package/build/contracts/ERC165.json +1 -1
  19. package/build/contracts/ERC1820Implementer.json +1 -1
  20. package/build/contracts/ERC1820RegistryCompiled.json +22 -22
  21. package/build/contracts/ERC20.json +1 -1
  22. package/build/contracts/ERC20Burnable.json +1 -1
  23. package/build/contracts/ERC20Pausable.json +1 -1
  24. package/build/contracts/ERC20PresetMinterPauser.json +1 -1
  25. package/build/contracts/ERC20WithTokenInfo.json +23 -23
  26. package/build/contracts/ERC777Helper.json +380 -380
  27. package/build/contracts/ERC777RecipientDrainingGas.json +855 -855
  28. package/build/contracts/ERC777RecipientReverting.json +855 -855
  29. package/build/contracts/EnumerableSet.json +1 -1
  30. package/build/contracts/EventsEmitter.json +43 -43
  31. package/build/contracts/ExclusiveInflowTestApp.json +1544 -1544
  32. package/build/contracts/FixedSizeData.json +200 -200
  33. package/build/contracts/FlowExchangeTestApp.json +1545 -1545
  34. package/build/contracts/FlowOperatorDefinitions.json +784 -784
  35. package/build/contracts/FullUpgradableSuperTokenProxy.json +116 -116
  36. package/build/contracts/IAccessControl.json +1 -1
  37. package/build/contracts/IAccessControlEnumerable.json +1 -1
  38. package/build/contracts/IConstantFlowAgreementV1.json +608 -608
  39. package/build/contracts/IDAv1Library.json +2611 -2611
  40. package/build/contracts/IERC165.json +1 -1
  41. package/build/contracts/IERC1820Implementer.json +1 -1
  42. package/build/contracts/IERC1820Registry.json +1 -1
  43. package/build/contracts/IERC20.json +1 -1
  44. package/build/contracts/IERC20Metadata.json +1 -1
  45. package/build/contracts/IERC20Permit.json +1 -1
  46. package/build/contracts/IERC777.json +1 -1
  47. package/build/contracts/IERC777Recipient.json +1 -1
  48. package/build/contracts/IERC777Sender.json +1 -1
  49. package/build/contracts/IInstantDistributionAgreementV1.json +652 -652
  50. package/build/contracts/IMultiSigWallet.json +24 -24
  51. package/build/contracts/IPureSuperToken.json +47 -47
  52. package/build/contracts/IPureSuperTokenCustom.json +47 -47
  53. package/build/contracts/IRelayRecipient.json +27 -27
  54. package/build/contracts/IResolver.json +38 -38
  55. package/build/contracts/ISETH.json +52 -52
  56. package/build/contracts/ISETHCustom.json +52 -52
  57. package/build/contracts/ISuperAgreement.json +50 -50
  58. package/build/contracts/ISuperApp.json +191 -191
  59. package/build/contracts/ISuperToken.json +544 -544
  60. package/build/contracts/ISuperTokenFactory.json +166 -166
  61. package/build/contracts/ISuperfluid.json +874 -874
  62. package/build/contracts/ISuperfluidGovernance.json +254 -254
  63. package/build/contracts/ISuperfluidToken.json +395 -395
  64. package/build/contracts/ITOGAv1.json +1441 -1441
  65. package/build/contracts/ITOGAv2.json +1441 -1441
  66. package/build/contracts/Initializable.json +1 -1
  67. package/build/contracts/InstantDistributionAgreementV1.json +5893 -5893
  68. package/build/contracts/NonClosableOutflowTestApp.json +1545 -1545
  69. package/build/contracts/Ownable.json +1 -1
  70. package/build/contracts/Pausable.json +1 -1
  71. package/build/contracts/Proxy.json +1 -1
  72. package/build/contracts/PureSuperToken.json +106 -106
  73. package/build/contracts/Resolver.json +98 -98
  74. package/build/contracts/SETHProxy.json +224 -224
  75. package/build/contracts/SafeCast.json +1 -1
  76. package/build/contracts/SafeERC20.json +1 -1
  77. package/build/contracts/SafeMath.json +1 -1
  78. package/build/contracts/SelfDeletingFlowTestApp.json +1544 -1544
  79. package/build/contracts/SlotsBitmapLibrary.json +457 -457
  80. package/build/contracts/StreamRedirector.json +745 -745
  81. package/build/contracts/Strings.json +1 -1
  82. package/build/contracts/SuperAppBase.json +239 -239
  83. package/build/contracts/SuperAppDefinitions.json +784 -784
  84. package/build/contracts/SuperToken.json +2475 -2475
  85. package/build/contracts/SuperTokenFactory.json +774 -774
  86. package/build/contracts/SuperTokenFactoryBase.json +764 -764
  87. package/build/contracts/SuperTokenFactoryHelper.json +767 -767
  88. package/build/contracts/SuperUpgrader.json +437 -437
  89. package/build/contracts/Superfluid.json +5082 -5082
  90. package/build/contracts/SuperfluidErrors.json +784 -784
  91. package/build/contracts/SuperfluidFrameworkDeployer.json +765 -765
  92. package/build/contracts/SuperfluidGovernanceBase.json +2459 -2459
  93. package/build/contracts/SuperfluidGovernanceConfigs.json +784 -784
  94. package/build/contracts/SuperfluidGovernanceII.json +155 -155
  95. package/build/contracts/SuperfluidGovernanceIIProxy.json +135 -135
  96. package/build/contracts/SuperfluidLoader.json +207 -207
  97. package/build/contracts/SuperfluidToken.json +1471 -1471
  98. package/build/contracts/TOGA.json +1457 -1457
  99. package/build/contracts/TestGovernance.json +250 -250
  100. package/build/contracts/TestToken.json +93 -93
  101. package/build/contracts/TokenCustodian.json +214 -214
  102. package/build/contracts/TokenInfo.json +32 -32
  103. package/build/contracts/UUPSProxiable.json +139 -139
  104. package/build/contracts/UUPSProxy.json +81 -81
  105. package/build/contracts/UUPSUtils.json +37 -37
  106. package/build/contracts-sizes.txt +1 -1
  107. package/contracts/agreements/ConstantFlowAgreementV1.sol +8 -3
  108. package/contracts/utils/CFAv1Forwarder.sol +2 -6
  109. package/package.json +10 -6
  110. package/scripts/deploy-deterministically.js +35 -24
  111. package/scripts/deploy-framework.js +65 -38
  112. package/scripts/gov-upgrade-governance.js +87 -0
  113. package/scripts/info-print-contract-addresses.js +1 -1
  114. package/scripts/libs/common.js +2 -1
  115. package/scripts/libs/getConfig.js +1 -1
@@ -1616,27 +1616,27 @@
1616
1616
  2352
1617
1617
  ],
1618
1618
  "ISuperToken": [
1619
- 19928
1619
+ 19940
1620
1620
  ],
1621
1621
  "ISuperfluid": [
1622
- 20530
1622
+ 20542
1623
1623
  ],
1624
1624
  "ISuperfluidToken": [
1625
- 20935
1625
+ 20947
1626
1626
  ],
1627
1627
  "SuperfluidErrors": [
1628
- 19397
1628
+ 19409
1629
1629
  ],
1630
1630
  "TokenInfo": [
1631
- 21015
1631
+ 21027
1632
1632
  ]
1633
1633
  },
1634
- "id": 19929,
1634
+ "id": 19941,
1635
1635
  "license": "AGPLv3",
1636
1636
  "nodeType": "SourceUnit",
1637
1637
  "nodes": [
1638
1638
  {
1639
- "id": 19542,
1639
+ "id": 19554,
1640
1640
  "literals": [
1641
1641
  "solidity",
1642
1642
  ">=",
@@ -1649,20 +1649,20 @@
1649
1649
  {
1650
1650
  "absolutePath": "project:/contracts/interfaces/superfluid/ISuperfluid.sol",
1651
1651
  "file": "./ISuperfluid.sol",
1652
- "id": 19544,
1652
+ "id": 19556,
1653
1653
  "nameLocation": "-1:-1:-1",
1654
1654
  "nodeType": "ImportDirective",
1655
- "scope": 19929,
1656
- "sourceUnit": 20531,
1655
+ "scope": 19941,
1656
+ "sourceUnit": 20543,
1657
1657
  "src": "62:48:46",
1658
1658
  "symbolAliases": [
1659
1659
  {
1660
1660
  "foreign": {
1661
- "id": 19543,
1661
+ "id": 19555,
1662
1662
  "name": "ISuperfluid",
1663
1663
  "nodeType": "Identifier",
1664
1664
  "overloadedDeclarations": [],
1665
- "referencedDeclaration": 20530,
1665
+ "referencedDeclaration": 20542,
1666
1666
  "src": "71:11:46",
1667
1667
  "typeDescriptions": {}
1668
1668
  },
@@ -1674,20 +1674,20 @@
1674
1674
  {
1675
1675
  "absolutePath": "project:/contracts/interfaces/superfluid/ISuperfluidToken.sol",
1676
1676
  "file": "./ISuperfluidToken.sol",
1677
- "id": 19546,
1677
+ "id": 19558,
1678
1678
  "nameLocation": "-1:-1:-1",
1679
1679
  "nodeType": "ImportDirective",
1680
- "scope": 19929,
1681
- "sourceUnit": 20936,
1680
+ "scope": 19941,
1681
+ "sourceUnit": 20948,
1682
1682
  "src": "111:58:46",
1683
1683
  "symbolAliases": [
1684
1684
  {
1685
1685
  "foreign": {
1686
- "id": 19545,
1686
+ "id": 19557,
1687
1687
  "name": "ISuperfluidToken",
1688
1688
  "nodeType": "Identifier",
1689
1689
  "overloadedDeclarations": [],
1690
- "referencedDeclaration": 20935,
1690
+ "referencedDeclaration": 20947,
1691
1691
  "src": "120:16:46",
1692
1692
  "typeDescriptions": {}
1693
1693
  },
@@ -1699,20 +1699,20 @@
1699
1699
  {
1700
1700
  "absolutePath": "project:/contracts/interfaces/tokens/TokenInfo.sol",
1701
1701
  "file": "../tokens/TokenInfo.sol",
1702
- "id": 19548,
1702
+ "id": 19560,
1703
1703
  "nameLocation": "-1:-1:-1",
1704
1704
  "nodeType": "ImportDirective",
1705
- "scope": 19929,
1706
- "sourceUnit": 21016,
1705
+ "scope": 19941,
1706
+ "sourceUnit": 21028,
1707
1707
  "src": "170:52:46",
1708
1708
  "symbolAliases": [
1709
1709
  {
1710
1710
  "foreign": {
1711
- "id": 19547,
1711
+ "id": 19559,
1712
1712
  "name": "TokenInfo",
1713
1713
  "nodeType": "Identifier",
1714
1714
  "overloadedDeclarations": [],
1715
- "referencedDeclaration": 21015,
1715
+ "referencedDeclaration": 21027,
1716
1716
  "src": "179:9:46",
1717
1717
  "typeDescriptions": {}
1718
1718
  },
@@ -1724,16 +1724,16 @@
1724
1724
  {
1725
1725
  "absolutePath": "@openzeppelin/contracts/token/ERC777/IERC777.sol",
1726
1726
  "file": "@openzeppelin/contracts/token/ERC777/IERC777.sol",
1727
- "id": 19550,
1727
+ "id": 19562,
1728
1728
  "nameLocation": "-1:-1:-1",
1729
1729
  "nodeType": "ImportDirective",
1730
- "scope": 19929,
1730
+ "scope": 19941,
1731
1731
  "sourceUnit": 2353,
1732
1732
  "src": "223:75:46",
1733
1733
  "symbolAliases": [
1734
1734
  {
1735
1735
  "foreign": {
1736
- "id": 19549,
1736
+ "id": 19561,
1737
1737
  "name": "IERC777",
1738
1738
  "nodeType": "Identifier",
1739
1739
  "overloadedDeclarations": [],
@@ -1749,16 +1749,16 @@
1749
1749
  {
1750
1750
  "absolutePath": "@openzeppelin/contracts/token/ERC20/IERC20.sol",
1751
1751
  "file": "@openzeppelin/contracts/token/ERC20/IERC20.sol",
1752
- "id": 19552,
1752
+ "id": 19564,
1753
1753
  "nameLocation": "-1:-1:-1",
1754
1754
  "nodeType": "ImportDirective",
1755
- "scope": 19929,
1755
+ "scope": 19941,
1756
1756
  "sourceUnit": 1631,
1757
1757
  "src": "299:72:46",
1758
1758
  "symbolAliases": [
1759
1759
  {
1760
1760
  "foreign": {
1761
- "id": 19551,
1761
+ "id": 19563,
1762
1762
  "name": "IERC20",
1763
1763
  "nodeType": "Identifier",
1764
1764
  "overloadedDeclarations": [],
@@ -1774,20 +1774,20 @@
1774
1774
  {
1775
1775
  "absolutePath": "project:/contracts/interfaces/superfluid/Definitions.sol",
1776
1776
  "file": "./Definitions.sol",
1777
- "id": 19554,
1777
+ "id": 19566,
1778
1778
  "nameLocation": "-1:-1:-1",
1779
1779
  "nodeType": "ImportDirective",
1780
- "scope": 19929,
1781
- "sourceUnit": 19398,
1780
+ "scope": 19941,
1781
+ "sourceUnit": 19410,
1782
1782
  "src": "372:53:46",
1783
1783
  "symbolAliases": [
1784
1784
  {
1785
1785
  "foreign": {
1786
- "id": 19553,
1786
+ "id": 19565,
1787
1787
  "name": "SuperfluidErrors",
1788
1788
  "nodeType": "Identifier",
1789
1789
  "overloadedDeclarations": [],
1790
- "referencedDeclaration": 19397,
1790
+ "referencedDeclaration": 19409,
1791
1791
  "src": "381:16:46",
1792
1792
  "typeDescriptions": {}
1793
1793
  },
@@ -1801,37 +1801,37 @@
1801
1801
  "baseContracts": [
1802
1802
  {
1803
1803
  "baseName": {
1804
- "id": 19556,
1804
+ "id": 19568,
1805
1805
  "name": "ISuperfluidToken",
1806
1806
  "nameLocations": [
1807
1807
  "550:16:46"
1808
1808
  ],
1809
1809
  "nodeType": "IdentifierPath",
1810
- "referencedDeclaration": 20935,
1810
+ "referencedDeclaration": 20947,
1811
1811
  "src": "550:16:46"
1812
1812
  },
1813
- "id": 19557,
1813
+ "id": 19569,
1814
1814
  "nodeType": "InheritanceSpecifier",
1815
1815
  "src": "550:16:46"
1816
1816
  },
1817
1817
  {
1818
1818
  "baseName": {
1819
- "id": 19558,
1819
+ "id": 19570,
1820
1820
  "name": "TokenInfo",
1821
1821
  "nameLocations": [
1822
1822
  "568:9:46"
1823
1823
  ],
1824
1824
  "nodeType": "IdentifierPath",
1825
- "referencedDeclaration": 21015,
1825
+ "referencedDeclaration": 21027,
1826
1826
  "src": "568:9:46"
1827
1827
  },
1828
- "id": 19559,
1828
+ "id": 19571,
1829
1829
  "nodeType": "InheritanceSpecifier",
1830
1830
  "src": "568:9:46"
1831
1831
  },
1832
1832
  {
1833
1833
  "baseName": {
1834
- "id": 19560,
1834
+ "id": 19572,
1835
1835
  "name": "IERC20",
1836
1836
  "nameLocations": [
1837
1837
  "579:6:46"
@@ -1840,13 +1840,13 @@
1840
1840
  "referencedDeclaration": 1630,
1841
1841
  "src": "579:6:46"
1842
1842
  },
1843
- "id": 19561,
1843
+ "id": 19573,
1844
1844
  "nodeType": "InheritanceSpecifier",
1845
1845
  "src": "579:6:46"
1846
1846
  },
1847
1847
  {
1848
1848
  "baseName": {
1849
- "id": 19562,
1849
+ "id": 19574,
1850
1850
  "name": "IERC777",
1851
1851
  "nameLocations": [
1852
1852
  "587:7:46"
@@ -1855,7 +1855,7 @@
1855
1855
  "referencedDeclaration": 2352,
1856
1856
  "src": "587:7:46"
1857
1857
  },
1858
- "id": 19563,
1858
+ "id": 19575,
1859
1859
  "nodeType": "InheritanceSpecifier",
1860
1860
  "src": "587:7:46"
1861
1861
  }
@@ -1864,19 +1864,19 @@
1864
1864
  "contractDependencies": [],
1865
1865
  "contractKind": "interface",
1866
1866
  "documentation": {
1867
- "id": 19555,
1867
+ "id": 19567,
1868
1868
  "nodeType": "StructuredDocumentation",
1869
1869
  "src": "427:97:46",
1870
1870
  "text": " @title Super token (Superfluid Token + ERC20 + ERC777) interface\n @author Superfluid"
1871
1871
  },
1872
1872
  "fullyImplemented": false,
1873
- "id": 19928,
1873
+ "id": 19940,
1874
1874
  "linearizedBaseContracts": [
1875
- 19928,
1875
+ 19940,
1876
1876
  2352,
1877
1877
  1630,
1878
- 21015,
1879
- 20935
1878
+ 21027,
1879
+ 20947
1880
1880
  ],
1881
1881
  "name": "ISuperToken",
1882
1882
  "nameLocation": "535:11:46",
@@ -1884,12 +1884,12 @@
1884
1884
  "nodes": [
1885
1885
  {
1886
1886
  "errorSelector": "f7f02227",
1887
- "id": 19565,
1887
+ "id": 19577,
1888
1888
  "name": "SUPER_TOKEN_CALLER_IS_NOT_OPERATOR_FOR_HOLDER",
1889
1889
  "nameLocation": "782:45:46",
1890
1890
  "nodeType": "ErrorDefinition",
1891
1891
  "parameters": {
1892
- "id": 19564,
1892
+ "id": 19576,
1893
1893
  "nodeType": "ParameterList",
1894
1894
  "parameters": [],
1895
1895
  "src": "827:2:46"
@@ -1898,12 +1898,12 @@
1898
1898
  },
1899
1899
  {
1900
1900
  "errorSelector": "fe737d05",
1901
- "id": 19567,
1901
+ "id": 19579,
1902
1902
  "name": "SUPER_TOKEN_NOT_ERC777_TOKENS_RECIPIENT",
1903
1903
  "nameLocation": "841:39:46",
1904
1904
  "nodeType": "ErrorDefinition",
1905
1905
  "parameters": {
1906
- "id": 19566,
1906
+ "id": 19578,
1907
1907
  "nodeType": "ParameterList",
1908
1908
  "parameters": [],
1909
1909
  "src": "880:2:46"
@@ -1912,12 +1912,12 @@
1912
1912
  },
1913
1913
  {
1914
1914
  "errorSelector": "e3e13698",
1915
- "id": 19569,
1915
+ "id": 19581,
1916
1916
  "name": "SUPER_TOKEN_INFLATIONARY_DEFLATIONARY_NOT_SUPPORTED",
1917
1917
  "nameLocation": "894:51:46",
1918
1918
  "nodeType": "ErrorDefinition",
1919
1919
  "parameters": {
1920
- "id": 19568,
1920
+ "id": 19580,
1921
1921
  "nodeType": "ParameterList",
1922
1922
  "parameters": [],
1923
1923
  "src": "945:2:46"
@@ -1926,12 +1926,12 @@
1926
1926
  },
1927
1927
  {
1928
1928
  "errorSelector": "f79cf656",
1929
- "id": 19571,
1929
+ "id": 19583,
1930
1930
  "name": "SUPER_TOKEN_NO_UNDERLYING_TOKEN",
1931
1931
  "nameLocation": "959:31:46",
1932
1932
  "nodeType": "ErrorDefinition",
1933
1933
  "parameters": {
1934
- "id": 19570,
1934
+ "id": 19582,
1935
1935
  "nodeType": "ParameterList",
1936
1936
  "parameters": [],
1937
1937
  "src": "990:2:46"
@@ -1940,12 +1940,12 @@
1940
1940
  },
1941
1941
  {
1942
1942
  "errorSelector": "7ffa6648",
1943
- "id": 19573,
1943
+ "id": 19585,
1944
1944
  "name": "SUPER_TOKEN_ONLY_SELF",
1945
1945
  "nameLocation": "1004:21:46",
1946
1946
  "nodeType": "ErrorDefinition",
1947
1947
  "parameters": {
1948
- "id": 19572,
1948
+ "id": 19584,
1949
1949
  "nodeType": "ParameterList",
1950
1950
  "parameters": [],
1951
1951
  "src": "1025:2:46"
@@ -1954,13 +1954,13 @@
1954
1954
  },
1955
1955
  {
1956
1956
  "documentation": {
1957
- "id": 19574,
1957
+ "id": 19586,
1958
1958
  "nodeType": "StructuredDocumentation",
1959
1959
  "src": "1034:47:46",
1960
1960
  "text": " @dev Initialize the contract"
1961
1961
  },
1962
1962
  "functionSelector": "42fe0980",
1963
- "id": 19586,
1963
+ "id": 19598,
1964
1964
  "implemented": false,
1965
1965
  "kind": "function",
1966
1966
  "modifiers": [],
@@ -1968,17 +1968,17 @@
1968
1968
  "nameLocation": "1095:10:46",
1969
1969
  "nodeType": "FunctionDefinition",
1970
1970
  "parameters": {
1971
- "id": 19584,
1971
+ "id": 19596,
1972
1972
  "nodeType": "ParameterList",
1973
1973
  "parameters": [
1974
1974
  {
1975
1975
  "constant": false,
1976
- "id": 19577,
1976
+ "id": 19589,
1977
1977
  "mutability": "mutable",
1978
1978
  "name": "underlyingToken",
1979
1979
  "nameLocation": "1122:15:46",
1980
1980
  "nodeType": "VariableDeclaration",
1981
- "scope": 19586,
1981
+ "scope": 19598,
1982
1982
  "src": "1115:22:46",
1983
1983
  "stateVariable": false,
1984
1984
  "storageLocation": "default",
@@ -1987,10 +1987,10 @@
1987
1987
  "typeString": "contract IERC20"
1988
1988
  },
1989
1989
  "typeName": {
1990
- "id": 19576,
1990
+ "id": 19588,
1991
1991
  "nodeType": "UserDefinedTypeName",
1992
1992
  "pathNode": {
1993
- "id": 19575,
1993
+ "id": 19587,
1994
1994
  "name": "IERC20",
1995
1995
  "nameLocations": [
1996
1996
  "1115:6:46"
@@ -2010,12 +2010,12 @@
2010
2010
  },
2011
2011
  {
2012
2012
  "constant": false,
2013
- "id": 19579,
2013
+ "id": 19591,
2014
2014
  "mutability": "mutable",
2015
2015
  "name": "underlyingDecimals",
2016
2016
  "nameLocation": "1153:18:46",
2017
2017
  "nodeType": "VariableDeclaration",
2018
- "scope": 19586,
2018
+ "scope": 19598,
2019
2019
  "src": "1147:24:46",
2020
2020
  "stateVariable": false,
2021
2021
  "storageLocation": "default",
@@ -2024,7 +2024,7 @@
2024
2024
  "typeString": "uint8"
2025
2025
  },
2026
2026
  "typeName": {
2027
- "id": 19578,
2027
+ "id": 19590,
2028
2028
  "name": "uint8",
2029
2029
  "nodeType": "ElementaryTypeName",
2030
2030
  "src": "1147:5:46",
@@ -2037,12 +2037,12 @@
2037
2037
  },
2038
2038
  {
2039
2039
  "constant": false,
2040
- "id": 19581,
2040
+ "id": 19593,
2041
2041
  "mutability": "mutable",
2042
2042
  "name": "n",
2043
2043
  "nameLocation": "1197:1:46",
2044
2044
  "nodeType": "VariableDeclaration",
2045
- "scope": 19586,
2045
+ "scope": 19598,
2046
2046
  "src": "1181:17:46",
2047
2047
  "stateVariable": false,
2048
2048
  "storageLocation": "calldata",
@@ -2051,7 +2051,7 @@
2051
2051
  "typeString": "string"
2052
2052
  },
2053
2053
  "typeName": {
2054
- "id": 19580,
2054
+ "id": 19592,
2055
2055
  "name": "string",
2056
2056
  "nodeType": "ElementaryTypeName",
2057
2057
  "src": "1181:6:46",
@@ -2064,12 +2064,12 @@
2064
2064
  },
2065
2065
  {
2066
2066
  "constant": false,
2067
- "id": 19583,
2067
+ "id": 19595,
2068
2068
  "mutability": "mutable",
2069
2069
  "name": "s",
2070
2070
  "nameLocation": "1224:1:46",
2071
2071
  "nodeType": "VariableDeclaration",
2072
- "scope": 19586,
2072
+ "scope": 19598,
2073
2073
  "src": "1208:17:46",
2074
2074
  "stateVariable": false,
2075
2075
  "storageLocation": "calldata",
@@ -2078,7 +2078,7 @@
2078
2078
  "typeString": "string"
2079
2079
  },
2080
2080
  "typeName": {
2081
- "id": 19582,
2081
+ "id": 19594,
2082
2082
  "name": "string",
2083
2083
  "nodeType": "ElementaryTypeName",
2084
2084
  "src": "1208:6:46",
@@ -2093,12 +2093,12 @@
2093
2093
  "src": "1105:126:46"
2094
2094
  },
2095
2095
  "returnParameters": {
2096
- "id": 19585,
2096
+ "id": 19597,
2097
2097
  "nodeType": "ParameterList",
2098
2098
  "parameters": [],
2099
2099
  "src": "1240:0:46"
2100
2100
  },
2101
- "scope": 19928,
2101
+ "scope": 19940,
2102
2102
  "src": "1086:155:46",
2103
2103
  "stateMutability": "nonpayable",
2104
2104
  "virtual": false,
@@ -2107,16 +2107,16 @@
2107
2107
  {
2108
2108
  "baseFunctions": [
2109
2109
  2238,
2110
- 21002
2110
+ 21014
2111
2111
  ],
2112
2112
  "documentation": {
2113
- "id": 19587,
2113
+ "id": 19599,
2114
2114
  "nodeType": "StructuredDocumentation",
2115
2115
  "src": "1432:54:46",
2116
2116
  "text": " @dev Returns the name of the token."
2117
2117
  },
2118
2118
  "functionSelector": "06fdde03",
2119
- "id": 19595,
2119
+ "id": 19607,
2120
2120
  "implemented": false,
2121
2121
  "kind": "function",
2122
2122
  "modifiers": [],
@@ -2124,11 +2124,11 @@
2124
2124
  "nameLocation": "1500:4:46",
2125
2125
  "nodeType": "FunctionDefinition",
2126
2126
  "overrides": {
2127
- "id": 19591,
2127
+ "id": 19603,
2128
2128
  "nodeType": "OverrideSpecifier",
2129
2129
  "overrides": [
2130
2130
  {
2131
- "id": 19589,
2131
+ "id": 19601,
2132
2132
  "name": "IERC777",
2133
2133
  "nameLocations": [
2134
2134
  "1530:7:46"
@@ -2138,36 +2138,36 @@
2138
2138
  "src": "1530:7:46"
2139
2139
  },
2140
2140
  {
2141
- "id": 19590,
2141
+ "id": 19602,
2142
2142
  "name": "TokenInfo",
2143
2143
  "nameLocations": [
2144
2144
  "1539:9:46"
2145
2145
  ],
2146
2146
  "nodeType": "IdentifierPath",
2147
- "referencedDeclaration": 21015,
2147
+ "referencedDeclaration": 21027,
2148
2148
  "src": "1539:9:46"
2149
2149
  }
2150
2150
  ],
2151
2151
  "src": "1521:28:46"
2152
2152
  },
2153
2153
  "parameters": {
2154
- "id": 19588,
2154
+ "id": 19600,
2155
2155
  "nodeType": "ParameterList",
2156
2156
  "parameters": [],
2157
2157
  "src": "1504:2:46"
2158
2158
  },
2159
2159
  "returnParameters": {
2160
- "id": 19594,
2160
+ "id": 19606,
2161
2161
  "nodeType": "ParameterList",
2162
2162
  "parameters": [
2163
2163
  {
2164
2164
  "constant": false,
2165
- "id": 19593,
2165
+ "id": 19605,
2166
2166
  "mutability": "mutable",
2167
2167
  "name": "",
2168
2168
  "nameLocation": "-1:-1:-1",
2169
2169
  "nodeType": "VariableDeclaration",
2170
- "scope": 19595,
2170
+ "scope": 19607,
2171
2171
  "src": "1559:13:46",
2172
2172
  "stateVariable": false,
2173
2173
  "storageLocation": "memory",
@@ -2176,7 +2176,7 @@
2176
2176
  "typeString": "string"
2177
2177
  },
2178
2178
  "typeName": {
2179
- "id": 19592,
2179
+ "id": 19604,
2180
2180
  "name": "string",
2181
2181
  "nodeType": "ElementaryTypeName",
2182
2182
  "src": "1559:6:46",
@@ -2190,7 +2190,7 @@
2190
2190
  ],
2191
2191
  "src": "1558:15:46"
2192
2192
  },
2193
- "scope": 19928,
2193
+ "scope": 19940,
2194
2194
  "src": "1491:83:46",
2195
2195
  "stateMutability": "view",
2196
2196
  "virtual": false,
@@ -2199,16 +2199,16 @@
2199
2199
  {
2200
2200
  "baseFunctions": [
2201
2201
  2244,
2202
- 21008
2202
+ 21020
2203
2203
  ],
2204
2204
  "documentation": {
2205
- "id": 19596,
2205
+ "id": 19608,
2206
2206
  "nodeType": "StructuredDocumentation",
2207
2207
  "src": "1580:102:46",
2208
2208
  "text": " @dev Returns the symbol of the token, usually a shorter version of the\n name."
2209
2209
  },
2210
2210
  "functionSelector": "95d89b41",
2211
- "id": 19604,
2211
+ "id": 19616,
2212
2212
  "implemented": false,
2213
2213
  "kind": "function",
2214
2214
  "modifiers": [],
@@ -2216,11 +2216,11 @@
2216
2216
  "nameLocation": "1696:6:46",
2217
2217
  "nodeType": "FunctionDefinition",
2218
2218
  "overrides": {
2219
- "id": 19600,
2219
+ "id": 19612,
2220
2220
  "nodeType": "OverrideSpecifier",
2221
2221
  "overrides": [
2222
2222
  {
2223
- "id": 19598,
2223
+ "id": 19610,
2224
2224
  "name": "IERC777",
2225
2225
  "nameLocations": [
2226
2226
  "1728:7:46"
@@ -2230,36 +2230,36 @@
2230
2230
  "src": "1728:7:46"
2231
2231
  },
2232
2232
  {
2233
- "id": 19599,
2233
+ "id": 19611,
2234
2234
  "name": "TokenInfo",
2235
2235
  "nameLocations": [
2236
2236
  "1737:9:46"
2237
2237
  ],
2238
2238
  "nodeType": "IdentifierPath",
2239
- "referencedDeclaration": 21015,
2239
+ "referencedDeclaration": 21027,
2240
2240
  "src": "1737:9:46"
2241
2241
  }
2242
2242
  ],
2243
2243
  "src": "1719:28:46"
2244
2244
  },
2245
2245
  "parameters": {
2246
- "id": 19597,
2246
+ "id": 19609,
2247
2247
  "nodeType": "ParameterList",
2248
2248
  "parameters": [],
2249
2249
  "src": "1702:2:46"
2250
2250
  },
2251
2251
  "returnParameters": {
2252
- "id": 19603,
2252
+ "id": 19615,
2253
2253
  "nodeType": "ParameterList",
2254
2254
  "parameters": [
2255
2255
  {
2256
2256
  "constant": false,
2257
- "id": 19602,
2257
+ "id": 19614,
2258
2258
  "mutability": "mutable",
2259
2259
  "name": "",
2260
2260
  "nameLocation": "-1:-1:-1",
2261
2261
  "nodeType": "VariableDeclaration",
2262
- "scope": 19604,
2262
+ "scope": 19616,
2263
2263
  "src": "1757:13:46",
2264
2264
  "stateVariable": false,
2265
2265
  "storageLocation": "memory",
@@ -2268,7 +2268,7 @@
2268
2268
  "typeString": "string"
2269
2269
  },
2270
2270
  "typeName": {
2271
- "id": 19601,
2271
+ "id": 19613,
2272
2272
  "name": "string",
2273
2273
  "nodeType": "ElementaryTypeName",
2274
2274
  "src": "1757:6:46",
@@ -2282,7 +2282,7 @@
2282
2282
  ],
2283
2283
  "src": "1756:15:46"
2284
2284
  },
2285
- "scope": 19928,
2285
+ "scope": 19940,
2286
2286
  "src": "1687:85:46",
2287
2287
  "stateMutability": "view",
2288
2288
  "virtual": false,
@@ -2290,16 +2290,16 @@
2290
2290
  },
2291
2291
  {
2292
2292
  "baseFunctions": [
2293
- 21014
2293
+ 21026
2294
2294
  ],
2295
2295
  "documentation": {
2296
- "id": 19605,
2296
+ "id": 19617,
2297
2297
  "nodeType": "StructuredDocumentation",
2298
2298
  "src": "1778:669:46",
2299
2299
  "text": " @dev Returns the number of decimals used to get its user representation.\n For example, if `decimals` equals `2`, a balance of `505` tokens should\n be displayed to a user as `5,05` (`505 / 10 ** 2`).\n Tokens usually opt for a value of 18, imitating the relationship between\n Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is\n called.\n @custom:note SuperToken always uses 18 decimals.\n This information is only used for _display_ purposes: it in\n no way affects any of the arithmetic of the contract, including\n {IERC20-balanceOf} and {IERC20-transfer}."
2300
2300
  },
2301
2301
  "functionSelector": "313ce567",
2302
- "id": 19612,
2302
+ "id": 19624,
2303
2303
  "implemented": false,
2304
2304
  "kind": "function",
2305
2305
  "modifiers": [],
@@ -2307,40 +2307,40 @@
2307
2307
  "nameLocation": "2461:8:46",
2308
2308
  "nodeType": "FunctionDefinition",
2309
2309
  "overrides": {
2310
- "id": 19608,
2310
+ "id": 19620,
2311
2311
  "nodeType": "OverrideSpecifier",
2312
2312
  "overrides": [
2313
2313
  {
2314
- "id": 19607,
2314
+ "id": 19619,
2315
2315
  "name": "TokenInfo",
2316
2316
  "nameLocations": [
2317
2317
  "2495:9:46"
2318
2318
  ],
2319
2319
  "nodeType": "IdentifierPath",
2320
- "referencedDeclaration": 21015,
2320
+ "referencedDeclaration": 21027,
2321
2321
  "src": "2495:9:46"
2322
2322
  }
2323
2323
  ],
2324
2324
  "src": "2486:19:46"
2325
2325
  },
2326
2326
  "parameters": {
2327
- "id": 19606,
2327
+ "id": 19618,
2328
2328
  "nodeType": "ParameterList",
2329
2329
  "parameters": [],
2330
2330
  "src": "2469:2:46"
2331
2331
  },
2332
2332
  "returnParameters": {
2333
- "id": 19611,
2333
+ "id": 19623,
2334
2334
  "nodeType": "ParameterList",
2335
2335
  "parameters": [
2336
2336
  {
2337
2337
  "constant": false,
2338
- "id": 19610,
2338
+ "id": 19622,
2339
2339
  "mutability": "mutable",
2340
2340
  "name": "",
2341
2341
  "nameLocation": "-1:-1:-1",
2342
2342
  "nodeType": "VariableDeclaration",
2343
- "scope": 19612,
2343
+ "scope": 19624,
2344
2344
  "src": "2515:5:46",
2345
2345
  "stateVariable": false,
2346
2346
  "storageLocation": "default",
@@ -2349,7 +2349,7 @@
2349
2349
  "typeString": "uint8"
2350
2350
  },
2351
2351
  "typeName": {
2352
- "id": 19609,
2352
+ "id": 19621,
2353
2353
  "name": "uint8",
2354
2354
  "nodeType": "ElementaryTypeName",
2355
2355
  "src": "2515:5:46",
@@ -2363,7 +2363,7 @@
2363
2363
  ],
2364
2364
  "src": "2514:7:46"
2365
2365
  },
2366
- "scope": 19928,
2366
+ "scope": 19940,
2367
2367
  "src": "2452:70:46",
2368
2368
  "stateMutability": "view",
2369
2369
  "virtual": false,
@@ -2375,13 +2375,13 @@
2375
2375
  2256
2376
2376
  ],
2377
2377
  "documentation": {
2378
- "id": 19613,
2378
+ "id": 19625,
2379
2379
  "nodeType": "StructuredDocumentation",
2380
2380
  "src": "2709:49:46",
2381
2381
  "text": " @dev See {IERC20-totalSupply}."
2382
2382
  },
2383
2383
  "functionSelector": "18160ddd",
2384
- "id": 19621,
2384
+ "id": 19633,
2385
2385
  "implemented": false,
2386
2386
  "kind": "function",
2387
2387
  "modifiers": [],
@@ -2389,11 +2389,11 @@
2389
2389
  "nameLocation": "2772:11:46",
2390
2390
  "nodeType": "FunctionDefinition",
2391
2391
  "overrides": {
2392
- "id": 19617,
2392
+ "id": 19629,
2393
2393
  "nodeType": "OverrideSpecifier",
2394
2394
  "overrides": [
2395
2395
  {
2396
- "id": 19615,
2396
+ "id": 19627,
2397
2397
  "name": "IERC777",
2398
2398
  "nameLocations": [
2399
2399
  "2809:7:46"
@@ -2403,7 +2403,7 @@
2403
2403
  "src": "2809:7:46"
2404
2404
  },
2405
2405
  {
2406
- "id": 19616,
2406
+ "id": 19628,
2407
2407
  "name": "IERC20",
2408
2408
  "nameLocations": [
2409
2409
  "2818:6:46"
@@ -2416,23 +2416,23 @@
2416
2416
  "src": "2800:25:46"
2417
2417
  },
2418
2418
  "parameters": {
2419
- "id": 19614,
2419
+ "id": 19626,
2420
2420
  "nodeType": "ParameterList",
2421
2421
  "parameters": [],
2422
2422
  "src": "2783:2:46"
2423
2423
  },
2424
2424
  "returnParameters": {
2425
- "id": 19620,
2425
+ "id": 19632,
2426
2426
  "nodeType": "ParameterList",
2427
2427
  "parameters": [
2428
2428
  {
2429
2429
  "constant": false,
2430
- "id": 19619,
2430
+ "id": 19631,
2431
2431
  "mutability": "mutable",
2432
2432
  "name": "",
2433
2433
  "nameLocation": "-1:-1:-1",
2434
2434
  "nodeType": "VariableDeclaration",
2435
- "scope": 19621,
2435
+ "scope": 19633,
2436
2436
  "src": "2835:7:46",
2437
2437
  "stateVariable": false,
2438
2438
  "storageLocation": "default",
@@ -2441,7 +2441,7 @@
2441
2441
  "typeString": "uint256"
2442
2442
  },
2443
2443
  "typeName": {
2444
- "id": 19618,
2444
+ "id": 19630,
2445
2445
  "name": "uint256",
2446
2446
  "nodeType": "ElementaryTypeName",
2447
2447
  "src": "2835:7:46",
@@ -2455,7 +2455,7 @@
2455
2455
  ],
2456
2456
  "src": "2834:9:46"
2457
2457
  },
2458
- "scope": 19928,
2458
+ "scope": 19940,
2459
2459
  "src": "2763:81:46",
2460
2460
  "stateMutability": "view",
2461
2461
  "virtual": false,
@@ -2467,13 +2467,13 @@
2467
2467
  2264
2468
2468
  ],
2469
2469
  "documentation": {
2470
- "id": 19622,
2470
+ "id": 19634,
2471
2471
  "nodeType": "StructuredDocumentation",
2472
2472
  "src": "2850:83:46",
2473
2473
  "text": " @dev Returns the amount of tokens owned by an account (`owner`)."
2474
2474
  },
2475
2475
  "functionSelector": "70a08231",
2476
- "id": 19632,
2476
+ "id": 19644,
2477
2477
  "implemented": false,
2478
2478
  "kind": "function",
2479
2479
  "modifiers": [],
@@ -2481,11 +2481,11 @@
2481
2481
  "nameLocation": "2947:9:46",
2482
2482
  "nodeType": "FunctionDefinition",
2483
2483
  "overrides": {
2484
- "id": 19628,
2484
+ "id": 19640,
2485
2485
  "nodeType": "OverrideSpecifier",
2486
2486
  "overrides": [
2487
2487
  {
2488
- "id": 19626,
2488
+ "id": 19638,
2489
2489
  "name": "IERC777",
2490
2490
  "nameLocations": [
2491
2491
  "2997:7:46"
@@ -2495,7 +2495,7 @@
2495
2495
  "src": "2997:7:46"
2496
2496
  },
2497
2497
  {
2498
- "id": 19627,
2498
+ "id": 19639,
2499
2499
  "name": "IERC20",
2500
2500
  "nameLocations": [
2501
2501
  "3006:6:46"
@@ -2508,17 +2508,17 @@
2508
2508
  "src": "2988:25:46"
2509
2509
  },
2510
2510
  "parameters": {
2511
- "id": 19625,
2511
+ "id": 19637,
2512
2512
  "nodeType": "ParameterList",
2513
2513
  "parameters": [
2514
2514
  {
2515
2515
  "constant": false,
2516
- "id": 19624,
2516
+ "id": 19636,
2517
2517
  "mutability": "mutable",
2518
2518
  "name": "account",
2519
2519
  "nameLocation": "2965:7:46",
2520
2520
  "nodeType": "VariableDeclaration",
2521
- "scope": 19632,
2521
+ "scope": 19644,
2522
2522
  "src": "2957:15:46",
2523
2523
  "stateVariable": false,
2524
2524
  "storageLocation": "default",
@@ -2527,7 +2527,7 @@
2527
2527
  "typeString": "address"
2528
2528
  },
2529
2529
  "typeName": {
2530
- "id": 19623,
2530
+ "id": 19635,
2531
2531
  "name": "address",
2532
2532
  "nodeType": "ElementaryTypeName",
2533
2533
  "src": "2957:7:46",
@@ -2543,17 +2543,17 @@
2543
2543
  "src": "2956:17:46"
2544
2544
  },
2545
2545
  "returnParameters": {
2546
- "id": 19631,
2546
+ "id": 19643,
2547
2547
  "nodeType": "ParameterList",
2548
2548
  "parameters": [
2549
2549
  {
2550
2550
  "constant": false,
2551
- "id": 19630,
2551
+ "id": 19642,
2552
2552
  "mutability": "mutable",
2553
2553
  "name": "balance",
2554
2554
  "nameLocation": "3030:7:46",
2555
2555
  "nodeType": "VariableDeclaration",
2556
- "scope": 19632,
2556
+ "scope": 19644,
2557
2557
  "src": "3022:15:46",
2558
2558
  "stateVariable": false,
2559
2559
  "storageLocation": "default",
@@ -2562,7 +2562,7 @@
2562
2562
  "typeString": "uint256"
2563
2563
  },
2564
2564
  "typeName": {
2565
- "id": 19629,
2565
+ "id": 19641,
2566
2566
  "name": "uint256",
2567
2567
  "nodeType": "ElementaryTypeName",
2568
2568
  "src": "3022:7:46",
@@ -2576,7 +2576,7 @@
2576
2576
  ],
2577
2577
  "src": "3021:17:46"
2578
2578
  },
2579
- "scope": 19928,
2579
+ "scope": 19940,
2580
2580
  "src": "2938:101:46",
2581
2581
  "stateMutability": "view",
2582
2582
  "virtual": false,
@@ -2587,13 +2587,13 @@
2587
2587
  1597
2588
2588
  ],
2589
2589
  "documentation": {
2590
- "id": 19633,
2590
+ "id": 19645,
2591
2591
  "nodeType": "StructuredDocumentation",
2592
2592
  "src": "3217:233:46",
2593
2593
  "text": " @dev Moves `amount` tokens from the caller's account to `recipient`.\n @return Returns Success a boolean value indicating whether the operation succeeded.\n @custom:emits a {Transfer} event."
2594
2594
  },
2595
2595
  "functionSelector": "a9059cbb",
2596
- "id": 19644,
2596
+ "id": 19656,
2597
2597
  "implemented": false,
2598
2598
  "kind": "function",
2599
2599
  "modifiers": [],
@@ -2601,11 +2601,11 @@
2601
2601
  "nameLocation": "3464:8:46",
2602
2602
  "nodeType": "FunctionDefinition",
2603
2603
  "overrides": {
2604
- "id": 19640,
2604
+ "id": 19652,
2605
2605
  "nodeType": "OverrideSpecifier",
2606
2606
  "overrides": [
2607
2607
  {
2608
- "id": 19639,
2608
+ "id": 19651,
2609
2609
  "name": "IERC20",
2610
2610
  "nameLocations": [
2611
2611
  "3526:6:46"
@@ -2618,17 +2618,17 @@
2618
2618
  "src": "3517:16:46"
2619
2619
  },
2620
2620
  "parameters": {
2621
- "id": 19638,
2621
+ "id": 19650,
2622
2622
  "nodeType": "ParameterList",
2623
2623
  "parameters": [
2624
2624
  {
2625
2625
  "constant": false,
2626
- "id": 19635,
2626
+ "id": 19647,
2627
2627
  "mutability": "mutable",
2628
2628
  "name": "recipient",
2629
2629
  "nameLocation": "3481:9:46",
2630
2630
  "nodeType": "VariableDeclaration",
2631
- "scope": 19644,
2631
+ "scope": 19656,
2632
2632
  "src": "3473:17:46",
2633
2633
  "stateVariable": false,
2634
2634
  "storageLocation": "default",
@@ -2637,7 +2637,7 @@
2637
2637
  "typeString": "address"
2638
2638
  },
2639
2639
  "typeName": {
2640
- "id": 19634,
2640
+ "id": 19646,
2641
2641
  "name": "address",
2642
2642
  "nodeType": "ElementaryTypeName",
2643
2643
  "src": "3473:7:46",
@@ -2651,12 +2651,12 @@
2651
2651
  },
2652
2652
  {
2653
2653
  "constant": false,
2654
- "id": 19637,
2654
+ "id": 19649,
2655
2655
  "mutability": "mutable",
2656
2656
  "name": "amount",
2657
2657
  "nameLocation": "3500:6:46",
2658
2658
  "nodeType": "VariableDeclaration",
2659
- "scope": 19644,
2659
+ "scope": 19656,
2660
2660
  "src": "3492:14:46",
2661
2661
  "stateVariable": false,
2662
2662
  "storageLocation": "default",
@@ -2665,7 +2665,7 @@
2665
2665
  "typeString": "uint256"
2666
2666
  },
2667
2667
  "typeName": {
2668
- "id": 19636,
2668
+ "id": 19648,
2669
2669
  "name": "uint256",
2670
2670
  "nodeType": "ElementaryTypeName",
2671
2671
  "src": "3492:7:46",
@@ -2680,17 +2680,17 @@
2680
2680
  "src": "3472:35:46"
2681
2681
  },
2682
2682
  "returnParameters": {
2683
- "id": 19643,
2683
+ "id": 19655,
2684
2684
  "nodeType": "ParameterList",
2685
2685
  "parameters": [
2686
2686
  {
2687
2687
  "constant": false,
2688
- "id": 19642,
2688
+ "id": 19654,
2689
2689
  "mutability": "mutable",
2690
2690
  "name": "",
2691
2691
  "nameLocation": "-1:-1:-1",
2692
2692
  "nodeType": "VariableDeclaration",
2693
- "scope": 19644,
2693
+ "scope": 19656,
2694
2694
  "src": "3543:4:46",
2695
2695
  "stateVariable": false,
2696
2696
  "storageLocation": "default",
@@ -2699,7 +2699,7 @@
2699
2699
  "typeString": "bool"
2700
2700
  },
2701
2701
  "typeName": {
2702
- "id": 19641,
2702
+ "id": 19653,
2703
2703
  "name": "bool",
2704
2704
  "nodeType": "ElementaryTypeName",
2705
2705
  "src": "3543:4:46",
@@ -2713,7 +2713,7 @@
2713
2713
  ],
2714
2714
  "src": "3542:6:46"
2715
2715
  },
2716
- "scope": 19928,
2716
+ "scope": 19940,
2717
2717
  "src": "3455:94:46",
2718
2718
  "stateMutability": "nonpayable",
2719
2719
  "virtual": false,
@@ -2724,13 +2724,13 @@
2724
2724
  1607
2725
2725
  ],
2726
2726
  "documentation": {
2727
- "id": 19645,
2727
+ "id": 19657,
2728
2728
  "nodeType": "StructuredDocumentation",
2729
2729
  "src": "3555:288:46",
2730
2730
  "text": " @dev Returns the remaining number of tokens that `spender` will be\n allowed to spend on behalf of `owner` through {transferFrom}. This is\n zero by default.\n @notice This value changes when {approve} or {transferFrom} are called."
2731
2731
  },
2732
2732
  "functionSelector": "dd62ed3e",
2733
- "id": 19656,
2733
+ "id": 19668,
2734
2734
  "implemented": false,
2735
2735
  "kind": "function",
2736
2736
  "modifiers": [],
@@ -2738,11 +2738,11 @@
2738
2738
  "nameLocation": "3857:9:46",
2739
2739
  "nodeType": "FunctionDefinition",
2740
2740
  "overrides": {
2741
- "id": 19652,
2741
+ "id": 19664,
2742
2742
  "nodeType": "OverrideSpecifier",
2743
2743
  "overrides": [
2744
2744
  {
2745
- "id": 19651,
2745
+ "id": 19663,
2746
2746
  "name": "IERC20",
2747
2747
  "nameLocations": [
2748
2748
  "3917:6:46"
@@ -2755,17 +2755,17 @@
2755
2755
  "src": "3908:16:46"
2756
2756
  },
2757
2757
  "parameters": {
2758
- "id": 19650,
2758
+ "id": 19662,
2759
2759
  "nodeType": "ParameterList",
2760
2760
  "parameters": [
2761
2761
  {
2762
2762
  "constant": false,
2763
- "id": 19647,
2763
+ "id": 19659,
2764
2764
  "mutability": "mutable",
2765
2765
  "name": "owner",
2766
2766
  "nameLocation": "3875:5:46",
2767
2767
  "nodeType": "VariableDeclaration",
2768
- "scope": 19656,
2768
+ "scope": 19668,
2769
2769
  "src": "3867:13:46",
2770
2770
  "stateVariable": false,
2771
2771
  "storageLocation": "default",
@@ -2774,7 +2774,7 @@
2774
2774
  "typeString": "address"
2775
2775
  },
2776
2776
  "typeName": {
2777
- "id": 19646,
2777
+ "id": 19658,
2778
2778
  "name": "address",
2779
2779
  "nodeType": "ElementaryTypeName",
2780
2780
  "src": "3867:7:46",
@@ -2788,12 +2788,12 @@
2788
2788
  },
2789
2789
  {
2790
2790
  "constant": false,
2791
- "id": 19649,
2791
+ "id": 19661,
2792
2792
  "mutability": "mutable",
2793
2793
  "name": "spender",
2794
2794
  "nameLocation": "3890:7:46",
2795
2795
  "nodeType": "VariableDeclaration",
2796
- "scope": 19656,
2796
+ "scope": 19668,
2797
2797
  "src": "3882:15:46",
2798
2798
  "stateVariable": false,
2799
2799
  "storageLocation": "default",
@@ -2802,7 +2802,7 @@
2802
2802
  "typeString": "address"
2803
2803
  },
2804
2804
  "typeName": {
2805
- "id": 19648,
2805
+ "id": 19660,
2806
2806
  "name": "address",
2807
2807
  "nodeType": "ElementaryTypeName",
2808
2808
  "src": "3882:7:46",
@@ -2818,17 +2818,17 @@
2818
2818
  "src": "3866:32:46"
2819
2819
  },
2820
2820
  "returnParameters": {
2821
- "id": 19655,
2821
+ "id": 19667,
2822
2822
  "nodeType": "ParameterList",
2823
2823
  "parameters": [
2824
2824
  {
2825
2825
  "constant": false,
2826
- "id": 19654,
2826
+ "id": 19666,
2827
2827
  "mutability": "mutable",
2828
2828
  "name": "",
2829
2829
  "nameLocation": "-1:-1:-1",
2830
2830
  "nodeType": "VariableDeclaration",
2831
- "scope": 19656,
2831
+ "scope": 19668,
2832
2832
  "src": "3939:7:46",
2833
2833
  "stateVariable": false,
2834
2834
  "storageLocation": "default",
@@ -2837,7 +2837,7 @@
2837
2837
  "typeString": "uint256"
2838
2838
  },
2839
2839
  "typeName": {
2840
- "id": 19653,
2840
+ "id": 19665,
2841
2841
  "name": "uint256",
2842
2842
  "nodeType": "ElementaryTypeName",
2843
2843
  "src": "3939:7:46",
@@ -2851,7 +2851,7 @@
2851
2851
  ],
2852
2852
  "src": "3938:9:46"
2853
2853
  },
2854
- "scope": 19928,
2854
+ "scope": 19940,
2855
2855
  "src": "3848:100:46",
2856
2856
  "stateMutability": "view",
2857
2857
  "virtual": false,
@@ -2862,13 +2862,13 @@
2862
2862
  1617
2863
2863
  ],
2864
2864
  "documentation": {
2865
- "id": 19657,
2865
+ "id": 19669,
2866
2866
  "nodeType": "StructuredDocumentation",
2867
2867
  "src": "3954:668:46",
2868
2868
  "text": " @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n @return Returns Success a boolean value indicating whether the operation succeeded.\n @custom:note Beware that changing an allowance with this method brings the risk\n that someone may use both the old and the new allowance by unfortunate\n transaction ordering. One possible solution to mitigate this race\n condition is to first reduce the spender's allowance to 0 and set the\n desired value afterwards:\n https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n @custom:emits an {Approval} event."
2869
2869
  },
2870
2870
  "functionSelector": "095ea7b3",
2871
- "id": 19668,
2871
+ "id": 19680,
2872
2872
  "implemented": false,
2873
2873
  "kind": "function",
2874
2874
  "modifiers": [],
@@ -2876,11 +2876,11 @@
2876
2876
  "nameLocation": "4636:7:46",
2877
2877
  "nodeType": "FunctionDefinition",
2878
2878
  "overrides": {
2879
- "id": 19664,
2879
+ "id": 19676,
2880
2880
  "nodeType": "OverrideSpecifier",
2881
2881
  "overrides": [
2882
2882
  {
2883
- "id": 19663,
2883
+ "id": 19675,
2884
2884
  "name": "IERC20",
2885
2885
  "nameLocations": [
2886
2886
  "4695:6:46"
@@ -2893,17 +2893,17 @@
2893
2893
  "src": "4686:16:46"
2894
2894
  },
2895
2895
  "parameters": {
2896
- "id": 19662,
2896
+ "id": 19674,
2897
2897
  "nodeType": "ParameterList",
2898
2898
  "parameters": [
2899
2899
  {
2900
2900
  "constant": false,
2901
- "id": 19659,
2901
+ "id": 19671,
2902
2902
  "mutability": "mutable",
2903
2903
  "name": "spender",
2904
2904
  "nameLocation": "4652:7:46",
2905
2905
  "nodeType": "VariableDeclaration",
2906
- "scope": 19668,
2906
+ "scope": 19680,
2907
2907
  "src": "4644:15:46",
2908
2908
  "stateVariable": false,
2909
2909
  "storageLocation": "default",
@@ -2912,7 +2912,7 @@
2912
2912
  "typeString": "address"
2913
2913
  },
2914
2914
  "typeName": {
2915
- "id": 19658,
2915
+ "id": 19670,
2916
2916
  "name": "address",
2917
2917
  "nodeType": "ElementaryTypeName",
2918
2918
  "src": "4644:7:46",
@@ -2926,12 +2926,12 @@
2926
2926
  },
2927
2927
  {
2928
2928
  "constant": false,
2929
- "id": 19661,
2929
+ "id": 19673,
2930
2930
  "mutability": "mutable",
2931
2931
  "name": "amount",
2932
2932
  "nameLocation": "4669:6:46",
2933
2933
  "nodeType": "VariableDeclaration",
2934
- "scope": 19668,
2934
+ "scope": 19680,
2935
2935
  "src": "4661:14:46",
2936
2936
  "stateVariable": false,
2937
2937
  "storageLocation": "default",
@@ -2940,7 +2940,7 @@
2940
2940
  "typeString": "uint256"
2941
2941
  },
2942
2942
  "typeName": {
2943
- "id": 19660,
2943
+ "id": 19672,
2944
2944
  "name": "uint256",
2945
2945
  "nodeType": "ElementaryTypeName",
2946
2946
  "src": "4661:7:46",
@@ -2955,17 +2955,17 @@
2955
2955
  "src": "4643:33:46"
2956
2956
  },
2957
2957
  "returnParameters": {
2958
- "id": 19667,
2958
+ "id": 19679,
2959
2959
  "nodeType": "ParameterList",
2960
2960
  "parameters": [
2961
2961
  {
2962
2962
  "constant": false,
2963
- "id": 19666,
2963
+ "id": 19678,
2964
2964
  "mutability": "mutable",
2965
2965
  "name": "",
2966
2966
  "nameLocation": "-1:-1:-1",
2967
2967
  "nodeType": "VariableDeclaration",
2968
- "scope": 19668,
2968
+ "scope": 19680,
2969
2969
  "src": "4712:4:46",
2970
2970
  "stateVariable": false,
2971
2971
  "storageLocation": "default",
@@ -2974,7 +2974,7 @@
2974
2974
  "typeString": "bool"
2975
2975
  },
2976
2976
  "typeName": {
2977
- "id": 19665,
2977
+ "id": 19677,
2978
2978
  "name": "bool",
2979
2979
  "nodeType": "ElementaryTypeName",
2980
2980
  "src": "4712:4:46",
@@ -2988,7 +2988,7 @@
2988
2988
  ],
2989
2989
  "src": "4711:6:46"
2990
2990
  },
2991
- "scope": 19928,
2991
+ "scope": 19940,
2992
2992
  "src": "4627:91:46",
2993
2993
  "stateMutability": "nonpayable",
2994
2994
  "virtual": false,
@@ -2999,13 +2999,13 @@
2999
2999
  1629
3000
3000
  ],
3001
3001
  "documentation": {
3002
- "id": 19669,
3002
+ "id": 19681,
3003
3003
  "nodeType": "StructuredDocumentation",
3004
3004
  "src": "4724:336:46",
3005
3005
  "text": " @dev Moves `amount` tokens from `sender` to `recipient` using the\n allowance mechanism. `amount` is then deducted from the caller's\n allowance.\n @return Returns Success a boolean value indicating whether the operation succeeded.\n @custom:emits a {Transfer} event."
3006
3006
  },
3007
3007
  "functionSelector": "23b872dd",
3008
- "id": 19682,
3008
+ "id": 19694,
3009
3009
  "implemented": false,
3010
3010
  "kind": "function",
3011
3011
  "modifiers": [],
@@ -3013,11 +3013,11 @@
3013
3013
  "nameLocation": "5074:12:46",
3014
3014
  "nodeType": "FunctionDefinition",
3015
3015
  "overrides": {
3016
- "id": 19678,
3016
+ "id": 19690,
3017
3017
  "nodeType": "OverrideSpecifier",
3018
3018
  "overrides": [
3019
3019
  {
3020
- "id": 19677,
3020
+ "id": 19689,
3021
3021
  "name": "IERC20",
3022
3022
  "nameLocations": [
3023
3023
  "5156:6:46"
@@ -3030,17 +3030,17 @@
3030
3030
  "src": "5147:16:46"
3031
3031
  },
3032
3032
  "parameters": {
3033
- "id": 19676,
3033
+ "id": 19688,
3034
3034
  "nodeType": "ParameterList",
3035
3035
  "parameters": [
3036
3036
  {
3037
3037
  "constant": false,
3038
- "id": 19671,
3038
+ "id": 19683,
3039
3039
  "mutability": "mutable",
3040
3040
  "name": "sender",
3041
3041
  "nameLocation": "5095:6:46",
3042
3042
  "nodeType": "VariableDeclaration",
3043
- "scope": 19682,
3043
+ "scope": 19694,
3044
3044
  "src": "5087:14:46",
3045
3045
  "stateVariable": false,
3046
3046
  "storageLocation": "default",
@@ -3049,7 +3049,7 @@
3049
3049
  "typeString": "address"
3050
3050
  },
3051
3051
  "typeName": {
3052
- "id": 19670,
3052
+ "id": 19682,
3053
3053
  "name": "address",
3054
3054
  "nodeType": "ElementaryTypeName",
3055
3055
  "src": "5087:7:46",
@@ -3063,12 +3063,12 @@
3063
3063
  },
3064
3064
  {
3065
3065
  "constant": false,
3066
- "id": 19673,
3066
+ "id": 19685,
3067
3067
  "mutability": "mutable",
3068
3068
  "name": "recipient",
3069
3069
  "nameLocation": "5111:9:46",
3070
3070
  "nodeType": "VariableDeclaration",
3071
- "scope": 19682,
3071
+ "scope": 19694,
3072
3072
  "src": "5103:17:46",
3073
3073
  "stateVariable": false,
3074
3074
  "storageLocation": "default",
@@ -3077,7 +3077,7 @@
3077
3077
  "typeString": "address"
3078
3078
  },
3079
3079
  "typeName": {
3080
- "id": 19672,
3080
+ "id": 19684,
3081
3081
  "name": "address",
3082
3082
  "nodeType": "ElementaryTypeName",
3083
3083
  "src": "5103:7:46",
@@ -3091,12 +3091,12 @@
3091
3091
  },
3092
3092
  {
3093
3093
  "constant": false,
3094
- "id": 19675,
3094
+ "id": 19687,
3095
3095
  "mutability": "mutable",
3096
3096
  "name": "amount",
3097
3097
  "nameLocation": "5130:6:46",
3098
3098
  "nodeType": "VariableDeclaration",
3099
- "scope": 19682,
3099
+ "scope": 19694,
3100
3100
  "src": "5122:14:46",
3101
3101
  "stateVariable": false,
3102
3102
  "storageLocation": "default",
@@ -3105,7 +3105,7 @@
3105
3105
  "typeString": "uint256"
3106
3106
  },
3107
3107
  "typeName": {
3108
- "id": 19674,
3108
+ "id": 19686,
3109
3109
  "name": "uint256",
3110
3110
  "nodeType": "ElementaryTypeName",
3111
3111
  "src": "5122:7:46",
@@ -3120,17 +3120,17 @@
3120
3120
  "src": "5086:51:46"
3121
3121
  },
3122
3122
  "returnParameters": {
3123
- "id": 19681,
3123
+ "id": 19693,
3124
3124
  "nodeType": "ParameterList",
3125
3125
  "parameters": [
3126
3126
  {
3127
3127
  "constant": false,
3128
- "id": 19680,
3128
+ "id": 19692,
3129
3129
  "mutability": "mutable",
3130
3130
  "name": "",
3131
3131
  "nameLocation": "-1:-1:-1",
3132
3132
  "nodeType": "VariableDeclaration",
3133
- "scope": 19682,
3133
+ "scope": 19694,
3134
3134
  "src": "5173:4:46",
3135
3135
  "stateVariable": false,
3136
3136
  "storageLocation": "default",
@@ -3139,7 +3139,7 @@
3139
3139
  "typeString": "bool"
3140
3140
  },
3141
3141
  "typeName": {
3142
- "id": 19679,
3142
+ "id": 19691,
3143
3143
  "name": "bool",
3144
3144
  "nodeType": "ElementaryTypeName",
3145
3145
  "src": "5173:4:46",
@@ -3153,7 +3153,7 @@
3153
3153
  ],
3154
3154
  "src": "5172:6:46"
3155
3155
  },
3156
- "scope": 19928,
3156
+ "scope": 19940,
3157
3157
  "src": "5065:114:46",
3158
3158
  "stateMutability": "nonpayable",
3159
3159
  "virtual": false,
@@ -3161,13 +3161,13 @@
3161
3161
  },
3162
3162
  {
3163
3163
  "documentation": {
3164
- "id": 19683,
3164
+ "id": 19695,
3165
3165
  "nodeType": "StructuredDocumentation",
3166
3166
  "src": "5185:393:46",
3167
3167
  "text": " @dev Atomically increases the allowance granted to `spender` by the caller.\n This is an alternative to {approve} that can be used as a mitigation for\n problems described in {IERC20-approve}.\n @custom:emits an {Approval} event indicating the updated allowance.\n @custom:requirements \n - `spender` cannot be the zero address."
3168
3168
  },
3169
3169
  "functionSelector": "39509351",
3170
- "id": 19692,
3170
+ "id": 19704,
3171
3171
  "implemented": false,
3172
3172
  "kind": "function",
3173
3173
  "modifiers": [],
@@ -3175,17 +3175,17 @@
3175
3175
  "nameLocation": "5592:17:46",
3176
3176
  "nodeType": "FunctionDefinition",
3177
3177
  "parameters": {
3178
- "id": 19688,
3178
+ "id": 19700,
3179
3179
  "nodeType": "ParameterList",
3180
3180
  "parameters": [
3181
3181
  {
3182
3182
  "constant": false,
3183
- "id": 19685,
3183
+ "id": 19697,
3184
3184
  "mutability": "mutable",
3185
3185
  "name": "spender",
3186
3186
  "nameLocation": "5618:7:46",
3187
3187
  "nodeType": "VariableDeclaration",
3188
- "scope": 19692,
3188
+ "scope": 19704,
3189
3189
  "src": "5610:15:46",
3190
3190
  "stateVariable": false,
3191
3191
  "storageLocation": "default",
@@ -3194,7 +3194,7 @@
3194
3194
  "typeString": "address"
3195
3195
  },
3196
3196
  "typeName": {
3197
- "id": 19684,
3197
+ "id": 19696,
3198
3198
  "name": "address",
3199
3199
  "nodeType": "ElementaryTypeName",
3200
3200
  "src": "5610:7:46",
@@ -3208,12 +3208,12 @@
3208
3208
  },
3209
3209
  {
3210
3210
  "constant": false,
3211
- "id": 19687,
3211
+ "id": 19699,
3212
3212
  "mutability": "mutable",
3213
3213
  "name": "addedValue",
3214
3214
  "nameLocation": "5635:10:46",
3215
3215
  "nodeType": "VariableDeclaration",
3216
- "scope": 19692,
3216
+ "scope": 19704,
3217
3217
  "src": "5627:18:46",
3218
3218
  "stateVariable": false,
3219
3219
  "storageLocation": "default",
@@ -3222,7 +3222,7 @@
3222
3222
  "typeString": "uint256"
3223
3223
  },
3224
3224
  "typeName": {
3225
- "id": 19686,
3225
+ "id": 19698,
3226
3226
  "name": "uint256",
3227
3227
  "nodeType": "ElementaryTypeName",
3228
3228
  "src": "5627:7:46",
@@ -3237,17 +3237,17 @@
3237
3237
  "src": "5609:37:46"
3238
3238
  },
3239
3239
  "returnParameters": {
3240
- "id": 19691,
3240
+ "id": 19703,
3241
3241
  "nodeType": "ParameterList",
3242
3242
  "parameters": [
3243
3243
  {
3244
3244
  "constant": false,
3245
- "id": 19690,
3245
+ "id": 19702,
3246
3246
  "mutability": "mutable",
3247
3247
  "name": "",
3248
3248
  "nameLocation": "-1:-1:-1",
3249
3249
  "nodeType": "VariableDeclaration",
3250
- "scope": 19692,
3250
+ "scope": 19704,
3251
3251
  "src": "5665:4:46",
3252
3252
  "stateVariable": false,
3253
3253
  "storageLocation": "default",
@@ -3256,7 +3256,7 @@
3256
3256
  "typeString": "bool"
3257
3257
  },
3258
3258
  "typeName": {
3259
- "id": 19689,
3259
+ "id": 19701,
3260
3260
  "name": "bool",
3261
3261
  "nodeType": "ElementaryTypeName",
3262
3262
  "src": "5665:4:46",
@@ -3270,7 +3270,7 @@
3270
3270
  ],
3271
3271
  "src": "5664:6:46"
3272
3272
  },
3273
- "scope": 19928,
3273
+ "scope": 19940,
3274
3274
  "src": "5583:88:46",
3275
3275
  "stateMutability": "nonpayable",
3276
3276
  "virtual": false,
@@ -3278,13 +3278,13 @@
3278
3278
  },
3279
3279
  {
3280
3280
  "documentation": {
3281
- "id": 19693,
3281
+ "id": 19705,
3282
3282
  "nodeType": "StructuredDocumentation",
3283
3283
  "src": "5677:485:46",
3284
3284
  "text": " @dev Atomically decreases the allowance granted to `spender` by the caller.\n This is an alternative to {approve} that can be used as a mitigation for\n problems described in {IERC20-approve}.\n @custom:emits an {Approval} event indicating the updated allowance.\n @custom:requirements \n - `spender` cannot be the zero address.\n - `spender` must have allowance for the caller of at least\n `subtractedValue`."
3285
3285
  },
3286
3286
  "functionSelector": "a457c2d7",
3287
- "id": 19702,
3287
+ "id": 19714,
3288
3288
  "implemented": false,
3289
3289
  "kind": "function",
3290
3290
  "modifiers": [],
@@ -3292,17 +3292,17 @@
3292
3292
  "nameLocation": "6177:17:46",
3293
3293
  "nodeType": "FunctionDefinition",
3294
3294
  "parameters": {
3295
- "id": 19698,
3295
+ "id": 19710,
3296
3296
  "nodeType": "ParameterList",
3297
3297
  "parameters": [
3298
3298
  {
3299
3299
  "constant": false,
3300
- "id": 19695,
3300
+ "id": 19707,
3301
3301
  "mutability": "mutable",
3302
3302
  "name": "spender",
3303
3303
  "nameLocation": "6203:7:46",
3304
3304
  "nodeType": "VariableDeclaration",
3305
- "scope": 19702,
3305
+ "scope": 19714,
3306
3306
  "src": "6195:15:46",
3307
3307
  "stateVariable": false,
3308
3308
  "storageLocation": "default",
@@ -3311,7 +3311,7 @@
3311
3311
  "typeString": "address"
3312
3312
  },
3313
3313
  "typeName": {
3314
- "id": 19694,
3314
+ "id": 19706,
3315
3315
  "name": "address",
3316
3316
  "nodeType": "ElementaryTypeName",
3317
3317
  "src": "6195:7:46",
@@ -3325,12 +3325,12 @@
3325
3325
  },
3326
3326
  {
3327
3327
  "constant": false,
3328
- "id": 19697,
3328
+ "id": 19709,
3329
3329
  "mutability": "mutable",
3330
3330
  "name": "subtractedValue",
3331
3331
  "nameLocation": "6220:15:46",
3332
3332
  "nodeType": "VariableDeclaration",
3333
- "scope": 19702,
3333
+ "scope": 19714,
3334
3334
  "src": "6212:23:46",
3335
3335
  "stateVariable": false,
3336
3336
  "storageLocation": "default",
@@ -3339,7 +3339,7 @@
3339
3339
  "typeString": "uint256"
3340
3340
  },
3341
3341
  "typeName": {
3342
- "id": 19696,
3342
+ "id": 19708,
3343
3343
  "name": "uint256",
3344
3344
  "nodeType": "ElementaryTypeName",
3345
3345
  "src": "6212:7:46",
@@ -3354,17 +3354,17 @@
3354
3354
  "src": "6194:42:46"
3355
3355
  },
3356
3356
  "returnParameters": {
3357
- "id": 19701,
3357
+ "id": 19713,
3358
3358
  "nodeType": "ParameterList",
3359
3359
  "parameters": [
3360
3360
  {
3361
3361
  "constant": false,
3362
- "id": 19700,
3362
+ "id": 19712,
3363
3363
  "mutability": "mutable",
3364
3364
  "name": "",
3365
3365
  "nameLocation": "-1:-1:-1",
3366
3366
  "nodeType": "VariableDeclaration",
3367
- "scope": 19702,
3367
+ "scope": 19714,
3368
3368
  "src": "6255:4:46",
3369
3369
  "stateVariable": false,
3370
3370
  "storageLocation": "default",
@@ -3373,7 +3373,7 @@
3373
3373
  "typeString": "bool"
3374
3374
  },
3375
3375
  "typeName": {
3376
- "id": 19699,
3376
+ "id": 19711,
3377
3377
  "name": "bool",
3378
3378
  "nodeType": "ElementaryTypeName",
3379
3379
  "src": "6255:4:46",
@@ -3387,7 +3387,7 @@
3387
3387
  ],
3388
3388
  "src": "6254:6:46"
3389
3389
  },
3390
- "scope": 19928,
3390
+ "scope": 19940,
3391
3391
  "src": "6168:93:46",
3392
3392
  "stateMutability": "nonpayable",
3393
3393
  "virtual": false,
@@ -3398,13 +3398,13 @@
3398
3398
  2250
3399
3399
  ],
3400
3400
  "documentation": {
3401
- "id": 19703,
3401
+ "id": 19715,
3402
3402
  "nodeType": "StructuredDocumentation",
3403
3403
  "src": "6440:315:46",
3404
3404
  "text": " @dev Returns the smallest part of the token that is not divisible. This\n means all token operations (creation, movement and destruction) must have\n amounts that are a multiple of this number.\n @custom:note For super token contracts, this value is always 1"
3405
3405
  },
3406
3406
  "functionSelector": "556f0dc7",
3407
- "id": 19710,
3407
+ "id": 19722,
3408
3408
  "implemented": false,
3409
3409
  "kind": "function",
3410
3410
  "modifiers": [],
@@ -3412,11 +3412,11 @@
3412
3412
  "nameLocation": "6769:11:46",
3413
3413
  "nodeType": "FunctionDefinition",
3414
3414
  "overrides": {
3415
- "id": 19706,
3415
+ "id": 19718,
3416
3416
  "nodeType": "OverrideSpecifier",
3417
3417
  "overrides": [
3418
3418
  {
3419
- "id": 19705,
3419
+ "id": 19717,
3420
3420
  "name": "IERC777",
3421
3421
  "nameLocations": [
3422
3422
  "6806:7:46"
@@ -3429,23 +3429,23 @@
3429
3429
  "src": "6797:17:46"
3430
3430
  },
3431
3431
  "parameters": {
3432
- "id": 19704,
3432
+ "id": 19716,
3433
3433
  "nodeType": "ParameterList",
3434
3434
  "parameters": [],
3435
3435
  "src": "6780:2:46"
3436
3436
  },
3437
3437
  "returnParameters": {
3438
- "id": 19709,
3438
+ "id": 19721,
3439
3439
  "nodeType": "ParameterList",
3440
3440
  "parameters": [
3441
3441
  {
3442
3442
  "constant": false,
3443
- "id": 19708,
3443
+ "id": 19720,
3444
3444
  "mutability": "mutable",
3445
3445
  "name": "",
3446
3446
  "nameLocation": "-1:-1:-1",
3447
3447
  "nodeType": "VariableDeclaration",
3448
- "scope": 19710,
3448
+ "scope": 19722,
3449
3449
  "src": "6824:7:46",
3450
3450
  "stateVariable": false,
3451
3451
  "storageLocation": "default",
@@ -3454,7 +3454,7 @@
3454
3454
  "typeString": "uint256"
3455
3455
  },
3456
3456
  "typeName": {
3457
- "id": 19707,
3457
+ "id": 19719,
3458
3458
  "name": "uint256",
3459
3459
  "nodeType": "ElementaryTypeName",
3460
3460
  "src": "6824:7:46",
@@ -3468,7 +3468,7 @@
3468
3468
  ],
3469
3469
  "src": "6823:9:46"
3470
3470
  },
3471
- "scope": 19928,
3471
+ "scope": 19940,
3472
3472
  "src": "6760:73:46",
3473
3473
  "stateMutability": "view",
3474
3474
  "virtual": false,
@@ -3479,13 +3479,13 @@
3479
3479
  2274
3480
3480
  ],
3481
3481
  "documentation": {
3482
- "id": 19711,
3482
+ "id": 19723,
3483
3483
  "nodeType": "StructuredDocumentation",
3484
3484
  "src": "6839:610:46",
3485
3485
  "text": " @dev Moves `amount` tokens from the caller's account to `recipient`.\n @dev If send or receive hooks are registered for the caller and `recipient`,\n the corresponding functions will be called with `data` and empty\n `operatorData`. See {IERC777Sender} and {IERC777Recipient}.\n @custom:emits a {Sent} event.\n @custom:requirements \n - the caller must have at least `amount` tokens.\n - `recipient` cannot be the zero address.\n - if `recipient` is a contract, it must implement the {IERC777Recipient}\n interface."
3486
3486
  },
3487
3487
  "functionSelector": "9bd9bbc6",
3488
- "id": 19722,
3488
+ "id": 19734,
3489
3489
  "implemented": false,
3490
3490
  "kind": "function",
3491
3491
  "modifiers": [],
@@ -3493,11 +3493,11 @@
3493
3493
  "nameLocation": "7463:4:46",
3494
3494
  "nodeType": "FunctionDefinition",
3495
3495
  "overrides": {
3496
- "id": 19720,
3496
+ "id": 19732,
3497
3497
  "nodeType": "OverrideSpecifier",
3498
3498
  "overrides": [
3499
3499
  {
3500
- "id": 19719,
3500
+ "id": 19731,
3501
3501
  "name": "IERC777",
3502
3502
  "nameLocations": [
3503
3503
  "7542:7:46"
@@ -3510,17 +3510,17 @@
3510
3510
  "src": "7533:17:46"
3511
3511
  },
3512
3512
  "parameters": {
3513
- "id": 19718,
3513
+ "id": 19730,
3514
3514
  "nodeType": "ParameterList",
3515
3515
  "parameters": [
3516
3516
  {
3517
3517
  "constant": false,
3518
- "id": 19713,
3518
+ "id": 19725,
3519
3519
  "mutability": "mutable",
3520
3520
  "name": "recipient",
3521
3521
  "nameLocation": "7476:9:46",
3522
3522
  "nodeType": "VariableDeclaration",
3523
- "scope": 19722,
3523
+ "scope": 19734,
3524
3524
  "src": "7468:17:46",
3525
3525
  "stateVariable": false,
3526
3526
  "storageLocation": "default",
@@ -3529,7 +3529,7 @@
3529
3529
  "typeString": "address"
3530
3530
  },
3531
3531
  "typeName": {
3532
- "id": 19712,
3532
+ "id": 19724,
3533
3533
  "name": "address",
3534
3534
  "nodeType": "ElementaryTypeName",
3535
3535
  "src": "7468:7:46",
@@ -3543,12 +3543,12 @@
3543
3543
  },
3544
3544
  {
3545
3545
  "constant": false,
3546
- "id": 19715,
3546
+ "id": 19727,
3547
3547
  "mutability": "mutable",
3548
3548
  "name": "amount",
3549
3549
  "nameLocation": "7495:6:46",
3550
3550
  "nodeType": "VariableDeclaration",
3551
- "scope": 19722,
3551
+ "scope": 19734,
3552
3552
  "src": "7487:14:46",
3553
3553
  "stateVariable": false,
3554
3554
  "storageLocation": "default",
@@ -3557,7 +3557,7 @@
3557
3557
  "typeString": "uint256"
3558
3558
  },
3559
3559
  "typeName": {
3560
- "id": 19714,
3560
+ "id": 19726,
3561
3561
  "name": "uint256",
3562
3562
  "nodeType": "ElementaryTypeName",
3563
3563
  "src": "7487:7:46",
@@ -3570,12 +3570,12 @@
3570
3570
  },
3571
3571
  {
3572
3572
  "constant": false,
3573
- "id": 19717,
3573
+ "id": 19729,
3574
3574
  "mutability": "mutable",
3575
3575
  "name": "data",
3576
3576
  "nameLocation": "7518:4:46",
3577
3577
  "nodeType": "VariableDeclaration",
3578
- "scope": 19722,
3578
+ "scope": 19734,
3579
3579
  "src": "7503:19:46",
3580
3580
  "stateVariable": false,
3581
3581
  "storageLocation": "calldata",
@@ -3584,7 +3584,7 @@
3584
3584
  "typeString": "bytes"
3585
3585
  },
3586
3586
  "typeName": {
3587
- "id": 19716,
3587
+ "id": 19728,
3588
3588
  "name": "bytes",
3589
3589
  "nodeType": "ElementaryTypeName",
3590
3590
  "src": "7503:5:46",
@@ -3599,12 +3599,12 @@
3599
3599
  "src": "7467:56:46"
3600
3600
  },
3601
3601
  "returnParameters": {
3602
- "id": 19721,
3602
+ "id": 19733,
3603
3603
  "nodeType": "ParameterList",
3604
3604
  "parameters": [],
3605
3605
  "src": "7550:0:46"
3606
3606
  },
3607
- "scope": 19928,
3607
+ "scope": 19940,
3608
3608
  "src": "7454:97:46",
3609
3609
  "stateMutability": "nonpayable",
3610
3610
  "virtual": false,
@@ -3615,13 +3615,13 @@
3615
3615
  2282
3616
3616
  ],
3617
3617
  "documentation": {
3618
- "id": 19723,
3618
+ "id": 19735,
3619
3619
  "nodeType": "StructuredDocumentation",
3620
3620
  "src": "7557:414:46",
3621
3621
  "text": " @dev Destroys `amount` tokens from the caller's account, reducing the\n total supply.\n If a send hook is registered for the caller, the corresponding function\n will be called with `data` and empty `operatorData`. See {IERC777Sender}.\n @custom:emits a {Burned} event.\n @custom:requirements \n - the caller must have at least `amount` tokens."
3622
3622
  },
3623
3623
  "functionSelector": "fe9d9303",
3624
- "id": 19732,
3624
+ "id": 19744,
3625
3625
  "implemented": false,
3626
3626
  "kind": "function",
3627
3627
  "modifiers": [],
@@ -3629,11 +3629,11 @@
3629
3629
  "nameLocation": "7985:4:46",
3630
3630
  "nodeType": "FunctionDefinition",
3631
3631
  "overrides": {
3632
- "id": 19730,
3632
+ "id": 19742,
3633
3633
  "nodeType": "OverrideSpecifier",
3634
3634
  "overrides": [
3635
3635
  {
3636
- "id": 19729,
3636
+ "id": 19741,
3637
3637
  "name": "IERC777",
3638
3638
  "nameLocations": [
3639
3639
  "8045:7:46"
@@ -3646,17 +3646,17 @@
3646
3646
  "src": "8036:17:46"
3647
3647
  },
3648
3648
  "parameters": {
3649
- "id": 19728,
3649
+ "id": 19740,
3650
3650
  "nodeType": "ParameterList",
3651
3651
  "parameters": [
3652
3652
  {
3653
3653
  "constant": false,
3654
- "id": 19725,
3654
+ "id": 19737,
3655
3655
  "mutability": "mutable",
3656
3656
  "name": "amount",
3657
3657
  "nameLocation": "7998:6:46",
3658
3658
  "nodeType": "VariableDeclaration",
3659
- "scope": 19732,
3659
+ "scope": 19744,
3660
3660
  "src": "7990:14:46",
3661
3661
  "stateVariable": false,
3662
3662
  "storageLocation": "default",
@@ -3665,7 +3665,7 @@
3665
3665
  "typeString": "uint256"
3666
3666
  },
3667
3667
  "typeName": {
3668
- "id": 19724,
3668
+ "id": 19736,
3669
3669
  "name": "uint256",
3670
3670
  "nodeType": "ElementaryTypeName",
3671
3671
  "src": "7990:7:46",
@@ -3678,12 +3678,12 @@
3678
3678
  },
3679
3679
  {
3680
3680
  "constant": false,
3681
- "id": 19727,
3681
+ "id": 19739,
3682
3682
  "mutability": "mutable",
3683
3683
  "name": "data",
3684
3684
  "nameLocation": "8021:4:46",
3685
3685
  "nodeType": "VariableDeclaration",
3686
- "scope": 19732,
3686
+ "scope": 19744,
3687
3687
  "src": "8006:19:46",
3688
3688
  "stateVariable": false,
3689
3689
  "storageLocation": "calldata",
@@ -3692,7 +3692,7 @@
3692
3692
  "typeString": "bytes"
3693
3693
  },
3694
3694
  "typeName": {
3695
- "id": 19726,
3695
+ "id": 19738,
3696
3696
  "name": "bytes",
3697
3697
  "nodeType": "ElementaryTypeName",
3698
3698
  "src": "8006:5:46",
@@ -3707,12 +3707,12 @@
3707
3707
  "src": "7989:37:46"
3708
3708
  },
3709
3709
  "returnParameters": {
3710
- "id": 19731,
3710
+ "id": 19743,
3711
3711
  "nodeType": "ParameterList",
3712
3712
  "parameters": [],
3713
3713
  "src": "8053:0:46"
3714
3714
  },
3715
- "scope": 19928,
3715
+ "scope": 19940,
3716
3716
  "src": "7976:78:46",
3717
3717
  "stateMutability": "nonpayable",
3718
3718
  "virtual": false,
@@ -3723,13 +3723,13 @@
3723
3723
  2292
3724
3724
  ],
3725
3725
  "documentation": {
3726
- "id": 19733,
3726
+ "id": 19745,
3727
3727
  "nodeType": "StructuredDocumentation",
3728
3728
  "src": "8060:249:46",
3729
3729
  "text": " @dev Returns true if an account is an operator of `tokenHolder`.\n Operators can send and burn tokens on behalf of their owners. All\n accounts are their own operator.\n See {operatorSend} and {operatorBurn}."
3730
3730
  },
3731
3731
  "functionSelector": "d95b6371",
3732
- "id": 19744,
3732
+ "id": 19756,
3733
3733
  "implemented": false,
3734
3734
  "kind": "function",
3735
3735
  "modifiers": [],
@@ -3737,11 +3737,11 @@
3737
3737
  "nameLocation": "8323:13:46",
3738
3738
  "nodeType": "FunctionDefinition",
3739
3739
  "overrides": {
3740
- "id": 19740,
3740
+ "id": 19752,
3741
3741
  "nodeType": "OverrideSpecifier",
3742
3742
  "overrides": [
3743
3743
  {
3744
- "id": 19739,
3744
+ "id": 19751,
3745
3745
  "name": "IERC777",
3746
3746
  "nameLocations": [
3747
3747
  "8394:7:46"
@@ -3754,17 +3754,17 @@
3754
3754
  "src": "8385:17:46"
3755
3755
  },
3756
3756
  "parameters": {
3757
- "id": 19738,
3757
+ "id": 19750,
3758
3758
  "nodeType": "ParameterList",
3759
3759
  "parameters": [
3760
3760
  {
3761
3761
  "constant": false,
3762
- "id": 19735,
3762
+ "id": 19747,
3763
3763
  "mutability": "mutable",
3764
3764
  "name": "operator",
3765
3765
  "nameLocation": "8345:8:46",
3766
3766
  "nodeType": "VariableDeclaration",
3767
- "scope": 19744,
3767
+ "scope": 19756,
3768
3768
  "src": "8337:16:46",
3769
3769
  "stateVariable": false,
3770
3770
  "storageLocation": "default",
@@ -3773,7 +3773,7 @@
3773
3773
  "typeString": "address"
3774
3774
  },
3775
3775
  "typeName": {
3776
- "id": 19734,
3776
+ "id": 19746,
3777
3777
  "name": "address",
3778
3778
  "nodeType": "ElementaryTypeName",
3779
3779
  "src": "8337:7:46",
@@ -3787,12 +3787,12 @@
3787
3787
  },
3788
3788
  {
3789
3789
  "constant": false,
3790
- "id": 19737,
3790
+ "id": 19749,
3791
3791
  "mutability": "mutable",
3792
3792
  "name": "tokenHolder",
3793
3793
  "nameLocation": "8363:11:46",
3794
3794
  "nodeType": "VariableDeclaration",
3795
- "scope": 19744,
3795
+ "scope": 19756,
3796
3796
  "src": "8355:19:46",
3797
3797
  "stateVariable": false,
3798
3798
  "storageLocation": "default",
@@ -3801,7 +3801,7 @@
3801
3801
  "typeString": "address"
3802
3802
  },
3803
3803
  "typeName": {
3804
- "id": 19736,
3804
+ "id": 19748,
3805
3805
  "name": "address",
3806
3806
  "nodeType": "ElementaryTypeName",
3807
3807
  "src": "8355:7:46",
@@ -3817,17 +3817,17 @@
3817
3817
  "src": "8336:39:46"
3818
3818
  },
3819
3819
  "returnParameters": {
3820
- "id": 19743,
3820
+ "id": 19755,
3821
3821
  "nodeType": "ParameterList",
3822
3822
  "parameters": [
3823
3823
  {
3824
3824
  "constant": false,
3825
- "id": 19742,
3825
+ "id": 19754,
3826
3826
  "mutability": "mutable",
3827
3827
  "name": "",
3828
3828
  "nameLocation": "-1:-1:-1",
3829
3829
  "nodeType": "VariableDeclaration",
3830
- "scope": 19744,
3830
+ "scope": 19756,
3831
3831
  "src": "8417:4:46",
3832
3832
  "stateVariable": false,
3833
3833
  "storageLocation": "default",
@@ -3836,7 +3836,7 @@
3836
3836
  "typeString": "bool"
3837
3837
  },
3838
3838
  "typeName": {
3839
- "id": 19741,
3839
+ "id": 19753,
3840
3840
  "name": "bool",
3841
3841
  "nodeType": "ElementaryTypeName",
3842
3842
  "src": "8417:4:46",
@@ -3850,7 +3850,7 @@
3850
3850
  ],
3851
3851
  "src": "8416:6:46"
3852
3852
  },
3853
- "scope": 19928,
3853
+ "scope": 19940,
3854
3854
  "src": "8314:109:46",
3855
3855
  "stateMutability": "view",
3856
3856
  "virtual": false,
@@ -3861,13 +3861,13 @@
3861
3861
  2298
3862
3862
  ],
3863
3863
  "documentation": {
3864
- "id": 19745,
3864
+ "id": 19757,
3865
3865
  "nodeType": "StructuredDocumentation",
3866
3866
  "src": "8429:243:46",
3867
3867
  "text": " @dev Make an account an operator of the caller.\n See {isOperatorFor}.\n @custom:emits an {AuthorizedOperator} event.\n @custom:requirements \n - `operator` cannot be calling address."
3868
3868
  },
3869
3869
  "functionSelector": "959b8c3f",
3870
- "id": 19752,
3870
+ "id": 19764,
3871
3871
  "implemented": false,
3872
3872
  "kind": "function",
3873
3873
  "modifiers": [],
@@ -3875,11 +3875,11 @@
3875
3875
  "nameLocation": "8686:17:46",
3876
3876
  "nodeType": "FunctionDefinition",
3877
3877
  "overrides": {
3878
- "id": 19750,
3878
+ "id": 19762,
3879
3879
  "nodeType": "OverrideSpecifier",
3880
3880
  "overrides": [
3881
3881
  {
3882
- "id": 19749,
3882
+ "id": 19761,
3883
3883
  "name": "IERC777",
3884
3884
  "nameLocations": [
3885
3885
  "8740:7:46"
@@ -3892,17 +3892,17 @@
3892
3892
  "src": "8731:17:46"
3893
3893
  },
3894
3894
  "parameters": {
3895
- "id": 19748,
3895
+ "id": 19760,
3896
3896
  "nodeType": "ParameterList",
3897
3897
  "parameters": [
3898
3898
  {
3899
3899
  "constant": false,
3900
- "id": 19747,
3900
+ "id": 19759,
3901
3901
  "mutability": "mutable",
3902
3902
  "name": "operator",
3903
3903
  "nameLocation": "8712:8:46",
3904
3904
  "nodeType": "VariableDeclaration",
3905
- "scope": 19752,
3905
+ "scope": 19764,
3906
3906
  "src": "8704:16:46",
3907
3907
  "stateVariable": false,
3908
3908
  "storageLocation": "default",
@@ -3911,7 +3911,7 @@
3911
3911
  "typeString": "address"
3912
3912
  },
3913
3913
  "typeName": {
3914
- "id": 19746,
3914
+ "id": 19758,
3915
3915
  "name": "address",
3916
3916
  "nodeType": "ElementaryTypeName",
3917
3917
  "src": "8704:7:46",
@@ -3927,12 +3927,12 @@
3927
3927
  "src": "8703:18:46"
3928
3928
  },
3929
3929
  "returnParameters": {
3930
- "id": 19751,
3930
+ "id": 19763,
3931
3931
  "nodeType": "ParameterList",
3932
3932
  "parameters": [],
3933
3933
  "src": "8748:0:46"
3934
3934
  },
3935
- "scope": 19928,
3935
+ "scope": 19940,
3936
3936
  "src": "8677:72:46",
3937
3937
  "stateMutability": "nonpayable",
3938
3938
  "virtual": false,
@@ -3943,13 +3943,13 @@
3943
3943
  2304
3944
3944
  ],
3945
3945
  "documentation": {
3946
- "id": 19753,
3946
+ "id": 19765,
3947
3947
  "nodeType": "StructuredDocumentation",
3948
3948
  "src": "8755:271:46",
3949
3949
  "text": " @dev Revoke an account's operator status for the caller.\n See {isOperatorFor} and {defaultOperators}.\n @custom:emits a {RevokedOperator} event.\n @custom:requirements \n - `operator` cannot be calling address."
3950
3950
  },
3951
3951
  "functionSelector": "fad8b32a",
3952
- "id": 19760,
3952
+ "id": 19772,
3953
3953
  "implemented": false,
3954
3954
  "kind": "function",
3955
3955
  "modifiers": [],
@@ -3957,11 +3957,11 @@
3957
3957
  "nameLocation": "9040:14:46",
3958
3958
  "nodeType": "FunctionDefinition",
3959
3959
  "overrides": {
3960
- "id": 19758,
3960
+ "id": 19770,
3961
3961
  "nodeType": "OverrideSpecifier",
3962
3962
  "overrides": [
3963
3963
  {
3964
- "id": 19757,
3964
+ "id": 19769,
3965
3965
  "name": "IERC777",
3966
3966
  "nameLocations": [
3967
3967
  "9091:7:46"
@@ -3974,17 +3974,17 @@
3974
3974
  "src": "9082:17:46"
3975
3975
  },
3976
3976
  "parameters": {
3977
- "id": 19756,
3977
+ "id": 19768,
3978
3978
  "nodeType": "ParameterList",
3979
3979
  "parameters": [
3980
3980
  {
3981
3981
  "constant": false,
3982
- "id": 19755,
3982
+ "id": 19767,
3983
3983
  "mutability": "mutable",
3984
3984
  "name": "operator",
3985
3985
  "nameLocation": "9063:8:46",
3986
3986
  "nodeType": "VariableDeclaration",
3987
- "scope": 19760,
3987
+ "scope": 19772,
3988
3988
  "src": "9055:16:46",
3989
3989
  "stateVariable": false,
3990
3990
  "storageLocation": "default",
@@ -3993,7 +3993,7 @@
3993
3993
  "typeString": "address"
3994
3994
  },
3995
3995
  "typeName": {
3996
- "id": 19754,
3996
+ "id": 19766,
3997
3997
  "name": "address",
3998
3998
  "nodeType": "ElementaryTypeName",
3999
3999
  "src": "9055:7:46",
@@ -4009,12 +4009,12 @@
4009
4009
  "src": "9054:18:46"
4010
4010
  },
4011
4011
  "returnParameters": {
4012
- "id": 19759,
4012
+ "id": 19771,
4013
4013
  "nodeType": "ParameterList",
4014
4014
  "parameters": [],
4015
4015
  "src": "9099:0:46"
4016
4016
  },
4017
- "scope": 19928,
4017
+ "scope": 19940,
4018
4018
  "src": "9031:69:46",
4019
4019
  "stateMutability": "nonpayable",
4020
4020
  "virtual": false,
@@ -4025,13 +4025,13 @@
4025
4025
  2311
4026
4026
  ],
4027
4027
  "documentation": {
4028
- "id": 19761,
4028
+ "id": 19773,
4029
4029
  "nodeType": "StructuredDocumentation",
4030
4030
  "src": "9106:338:46",
4031
4031
  "text": " @dev Returns the list of default operators. These accounts are operators\n for all token holders, even if {authorizeOperator} was never called on\n them.\n This list is immutable, but individual holders may revoke these via\n {revokeOperator}, in which case {isOperatorFor} will return false."
4032
4032
  },
4033
4033
  "functionSelector": "06e48538",
4034
- "id": 19769,
4034
+ "id": 19781,
4035
4035
  "implemented": false,
4036
4036
  "kind": "function",
4037
4037
  "modifiers": [],
@@ -4039,11 +4039,11 @@
4039
4039
  "nameLocation": "9458:16:46",
4040
4040
  "nodeType": "FunctionDefinition",
4041
4041
  "overrides": {
4042
- "id": 19764,
4042
+ "id": 19776,
4043
4043
  "nodeType": "OverrideSpecifier",
4044
4044
  "overrides": [
4045
4045
  {
4046
- "id": 19763,
4046
+ "id": 19775,
4047
4047
  "name": "IERC777",
4048
4048
  "nameLocations": [
4049
4049
  "9495:7:46"
@@ -4056,23 +4056,23 @@
4056
4056
  "src": "9486:17:46"
4057
4057
  },
4058
4058
  "parameters": {
4059
- "id": 19762,
4059
+ "id": 19774,
4060
4060
  "nodeType": "ParameterList",
4061
4061
  "parameters": [],
4062
4062
  "src": "9474:2:46"
4063
4063
  },
4064
4064
  "returnParameters": {
4065
- "id": 19768,
4065
+ "id": 19780,
4066
4066
  "nodeType": "ParameterList",
4067
4067
  "parameters": [
4068
4068
  {
4069
4069
  "constant": false,
4070
- "id": 19767,
4070
+ "id": 19779,
4071
4071
  "mutability": "mutable",
4072
4072
  "name": "",
4073
4073
  "nameLocation": "-1:-1:-1",
4074
4074
  "nodeType": "VariableDeclaration",
4075
- "scope": 19769,
4075
+ "scope": 19781,
4076
4076
  "src": "9518:16:46",
4077
4077
  "stateVariable": false,
4078
4078
  "storageLocation": "memory",
@@ -4082,7 +4082,7 @@
4082
4082
  },
4083
4083
  "typeName": {
4084
4084
  "baseType": {
4085
- "id": 19765,
4085
+ "id": 19777,
4086
4086
  "name": "address",
4087
4087
  "nodeType": "ElementaryTypeName",
4088
4088
  "src": "9518:7:46",
@@ -4092,7 +4092,7 @@
4092
4092
  "typeString": "address"
4093
4093
  }
4094
4094
  },
4095
- "id": 19766,
4095
+ "id": 19778,
4096
4096
  "nodeType": "ArrayTypeName",
4097
4097
  "src": "9518:9:46",
4098
4098
  "typeDescriptions": {
@@ -4105,7 +4105,7 @@
4105
4105
  ],
4106
4106
  "src": "9517:18:46"
4107
4107
  },
4108
- "scope": 19928,
4108
+ "scope": 19940,
4109
4109
  "src": "9449:87:46",
4110
4110
  "stateMutability": "view",
4111
4111
  "virtual": false,
@@ -4116,13 +4116,13 @@
4116
4116
  2325
4117
4117
  ],
4118
4118
  "documentation": {
4119
- "id": 19770,
4119
+ "id": 19782,
4120
4120
  "nodeType": "StructuredDocumentation",
4121
4121
  "src": "9542:724:46",
4122
4122
  "text": " @dev Moves `amount` tokens from `sender` to `recipient`. The caller must\n be an operator of `sender`.\n If send or receive hooks are registered for `sender` and `recipient`,\n the corresponding functions will be called with `data` and\n `operatorData`. See {IERC777Sender} and {IERC777Recipient}.\n @custom:emits a {Sent} event.\n @custom:requirements \n - `sender` cannot be the zero address.\n - `sender` must have at least `amount` tokens.\n - the caller must be an operator for `sender`.\n - `recipient` cannot be the zero address.\n - if `recipient` is a contract, it must implement the {IERC777Recipient}\n interface."
4123
4123
  },
4124
4124
  "functionSelector": "62ad1b83",
4125
- "id": 19785,
4125
+ "id": 19797,
4126
4126
  "implemented": false,
4127
4127
  "kind": "function",
4128
4128
  "modifiers": [],
@@ -4130,11 +4130,11 @@
4130
4130
  "nameLocation": "10280:12:46",
4131
4131
  "nodeType": "FunctionDefinition",
4132
4132
  "overrides": {
4133
- "id": 19783,
4133
+ "id": 19795,
4134
4134
  "nodeType": "OverrideSpecifier",
4135
4135
  "overrides": [
4136
4136
  {
4137
- "id": 19782,
4137
+ "id": 19794,
4138
4138
  "name": "IERC777",
4139
4139
  "nameLocations": [
4140
4140
  "10458:7:46"
@@ -4147,17 +4147,17 @@
4147
4147
  "src": "10449:17:46"
4148
4148
  },
4149
4149
  "parameters": {
4150
- "id": 19781,
4150
+ "id": 19793,
4151
4151
  "nodeType": "ParameterList",
4152
4152
  "parameters": [
4153
4153
  {
4154
4154
  "constant": false,
4155
- "id": 19772,
4155
+ "id": 19784,
4156
4156
  "mutability": "mutable",
4157
4157
  "name": "sender",
4158
4158
  "nameLocation": "10310:6:46",
4159
4159
  "nodeType": "VariableDeclaration",
4160
- "scope": 19785,
4160
+ "scope": 19797,
4161
4161
  "src": "10302:14:46",
4162
4162
  "stateVariable": false,
4163
4163
  "storageLocation": "default",
@@ -4166,7 +4166,7 @@
4166
4166
  "typeString": "address"
4167
4167
  },
4168
4168
  "typeName": {
4169
- "id": 19771,
4169
+ "id": 19783,
4170
4170
  "name": "address",
4171
4171
  "nodeType": "ElementaryTypeName",
4172
4172
  "src": "10302:7:46",
@@ -4180,12 +4180,12 @@
4180
4180
  },
4181
4181
  {
4182
4182
  "constant": false,
4183
- "id": 19774,
4183
+ "id": 19786,
4184
4184
  "mutability": "mutable",
4185
4185
  "name": "recipient",
4186
4186
  "nameLocation": "10334:9:46",
4187
4187
  "nodeType": "VariableDeclaration",
4188
- "scope": 19785,
4188
+ "scope": 19797,
4189
4189
  "src": "10326:17:46",
4190
4190
  "stateVariable": false,
4191
4191
  "storageLocation": "default",
@@ -4194,7 +4194,7 @@
4194
4194
  "typeString": "address"
4195
4195
  },
4196
4196
  "typeName": {
4197
- "id": 19773,
4197
+ "id": 19785,
4198
4198
  "name": "address",
4199
4199
  "nodeType": "ElementaryTypeName",
4200
4200
  "src": "10326:7:46",
@@ -4208,12 +4208,12 @@
4208
4208
  },
4209
4209
  {
4210
4210
  "constant": false,
4211
- "id": 19776,
4211
+ "id": 19788,
4212
4212
  "mutability": "mutable",
4213
4213
  "name": "amount",
4214
4214
  "nameLocation": "10361:6:46",
4215
4215
  "nodeType": "VariableDeclaration",
4216
- "scope": 19785,
4216
+ "scope": 19797,
4217
4217
  "src": "10353:14:46",
4218
4218
  "stateVariable": false,
4219
4219
  "storageLocation": "default",
@@ -4222,7 +4222,7 @@
4222
4222
  "typeString": "uint256"
4223
4223
  },
4224
4224
  "typeName": {
4225
- "id": 19775,
4225
+ "id": 19787,
4226
4226
  "name": "uint256",
4227
4227
  "nodeType": "ElementaryTypeName",
4228
4228
  "src": "10353:7:46",
@@ -4235,12 +4235,12 @@
4235
4235
  },
4236
4236
  {
4237
4237
  "constant": false,
4238
- "id": 19778,
4238
+ "id": 19790,
4239
4239
  "mutability": "mutable",
4240
4240
  "name": "data",
4241
4241
  "nameLocation": "10392:4:46",
4242
4242
  "nodeType": "VariableDeclaration",
4243
- "scope": 19785,
4243
+ "scope": 19797,
4244
4244
  "src": "10377:19:46",
4245
4245
  "stateVariable": false,
4246
4246
  "storageLocation": "calldata",
@@ -4249,7 +4249,7 @@
4249
4249
  "typeString": "bytes"
4250
4250
  },
4251
4251
  "typeName": {
4252
- "id": 19777,
4252
+ "id": 19789,
4253
4253
  "name": "bytes",
4254
4254
  "nodeType": "ElementaryTypeName",
4255
4255
  "src": "10377:5:46",
@@ -4262,12 +4262,12 @@
4262
4262
  },
4263
4263
  {
4264
4264
  "constant": false,
4265
- "id": 19780,
4265
+ "id": 19792,
4266
4266
  "mutability": "mutable",
4267
4267
  "name": "operatorData",
4268
4268
  "nameLocation": "10421:12:46",
4269
4269
  "nodeType": "VariableDeclaration",
4270
- "scope": 19785,
4270
+ "scope": 19797,
4271
4271
  "src": "10406:27:46",
4272
4272
  "stateVariable": false,
4273
4273
  "storageLocation": "calldata",
@@ -4276,7 +4276,7 @@
4276
4276
  "typeString": "bytes"
4277
4277
  },
4278
4278
  "typeName": {
4279
- "id": 19779,
4279
+ "id": 19791,
4280
4280
  "name": "bytes",
4281
4281
  "nodeType": "ElementaryTypeName",
4282
4282
  "src": "10406:5:46",
@@ -4291,12 +4291,12 @@
4291
4291
  "src": "10292:147:46"
4292
4292
  },
4293
4293
  "returnParameters": {
4294
- "id": 19784,
4294
+ "id": 19796,
4295
4295
  "nodeType": "ParameterList",
4296
4296
  "parameters": [],
4297
4297
  "src": "10466:0:46"
4298
4298
  },
4299
- "scope": 19928,
4299
+ "scope": 19940,
4300
4300
  "src": "10271:196:46",
4301
4301
  "stateMutability": "nonpayable",
4302
4302
  "virtual": false,
@@ -4307,13 +4307,13 @@
4307
4307
  2337
4308
4308
  ],
4309
4309
  "documentation": {
4310
- "id": 19786,
4310
+ "id": 19798,
4311
4311
  "nodeType": "StructuredDocumentation",
4312
4312
  "src": "10473:542:46",
4313
4313
  "text": " @dev Destroys `amount` tokens from `account`, reducing the total supply.\n The caller must be an operator of `account`.\n If a send hook is registered for `account`, the corresponding function\n will be called with `data` and `operatorData`. See {IERC777Sender}.\n @custom:emits a {Burned} event.\n @custom:requirements \n - `account` cannot be the zero address.\n - `account` must have at least `amount` tokens.\n - the caller must be an operator for `account`."
4314
4314
  },
4315
4315
  "functionSelector": "fc673c4f",
4316
- "id": 19799,
4316
+ "id": 19811,
4317
4317
  "implemented": false,
4318
4318
  "kind": "function",
4319
4319
  "modifiers": [],
@@ -4321,11 +4321,11 @@
4321
4321
  "nameLocation": "11029:12:46",
4322
4322
  "nodeType": "FunctionDefinition",
4323
4323
  "overrides": {
4324
- "id": 19797,
4324
+ "id": 19809,
4325
4325
  "nodeType": "OverrideSpecifier",
4326
4326
  "overrides": [
4327
4327
  {
4328
- "id": 19796,
4328
+ "id": 19808,
4329
4329
  "name": "IERC777",
4330
4330
  "nameLocations": [
4331
4331
  "11181:7:46"
@@ -4338,17 +4338,17 @@
4338
4338
  "src": "11172:17:46"
4339
4339
  },
4340
4340
  "parameters": {
4341
- "id": 19795,
4341
+ "id": 19807,
4342
4342
  "nodeType": "ParameterList",
4343
4343
  "parameters": [
4344
4344
  {
4345
4345
  "constant": false,
4346
- "id": 19788,
4346
+ "id": 19800,
4347
4347
  "mutability": "mutable",
4348
4348
  "name": "account",
4349
4349
  "nameLocation": "11059:7:46",
4350
4350
  "nodeType": "VariableDeclaration",
4351
- "scope": 19799,
4351
+ "scope": 19811,
4352
4352
  "src": "11051:15:46",
4353
4353
  "stateVariable": false,
4354
4354
  "storageLocation": "default",
@@ -4357,7 +4357,7 @@
4357
4357
  "typeString": "address"
4358
4358
  },
4359
4359
  "typeName": {
4360
- "id": 19787,
4360
+ "id": 19799,
4361
4361
  "name": "address",
4362
4362
  "nodeType": "ElementaryTypeName",
4363
4363
  "src": "11051:7:46",
@@ -4371,12 +4371,12 @@
4371
4371
  },
4372
4372
  {
4373
4373
  "constant": false,
4374
- "id": 19790,
4374
+ "id": 19802,
4375
4375
  "mutability": "mutable",
4376
4376
  "name": "amount",
4377
4377
  "nameLocation": "11084:6:46",
4378
4378
  "nodeType": "VariableDeclaration",
4379
- "scope": 19799,
4379
+ "scope": 19811,
4380
4380
  "src": "11076:14:46",
4381
4381
  "stateVariable": false,
4382
4382
  "storageLocation": "default",
@@ -4385,7 +4385,7 @@
4385
4385
  "typeString": "uint256"
4386
4386
  },
4387
4387
  "typeName": {
4388
- "id": 19789,
4388
+ "id": 19801,
4389
4389
  "name": "uint256",
4390
4390
  "nodeType": "ElementaryTypeName",
4391
4391
  "src": "11076:7:46",
@@ -4398,12 +4398,12 @@
4398
4398
  },
4399
4399
  {
4400
4400
  "constant": false,
4401
- "id": 19792,
4401
+ "id": 19804,
4402
4402
  "mutability": "mutable",
4403
4403
  "name": "data",
4404
4404
  "nameLocation": "11115:4:46",
4405
4405
  "nodeType": "VariableDeclaration",
4406
- "scope": 19799,
4406
+ "scope": 19811,
4407
4407
  "src": "11100:19:46",
4408
4408
  "stateVariable": false,
4409
4409
  "storageLocation": "calldata",
@@ -4412,7 +4412,7 @@
4412
4412
  "typeString": "bytes"
4413
4413
  },
4414
4414
  "typeName": {
4415
- "id": 19791,
4415
+ "id": 19803,
4416
4416
  "name": "bytes",
4417
4417
  "nodeType": "ElementaryTypeName",
4418
4418
  "src": "11100:5:46",
@@ -4425,12 +4425,12 @@
4425
4425
  },
4426
4426
  {
4427
4427
  "constant": false,
4428
- "id": 19794,
4428
+ "id": 19806,
4429
4429
  "mutability": "mutable",
4430
4430
  "name": "operatorData",
4431
4431
  "nameLocation": "11144:12:46",
4432
4432
  "nodeType": "VariableDeclaration",
4433
- "scope": 19799,
4433
+ "scope": 19811,
4434
4434
  "src": "11129:27:46",
4435
4435
  "stateVariable": false,
4436
4436
  "storageLocation": "calldata",
@@ -4439,7 +4439,7 @@
4439
4439
  "typeString": "bytes"
4440
4440
  },
4441
4441
  "typeName": {
4442
- "id": 19793,
4442
+ "id": 19805,
4443
4443
  "name": "bytes",
4444
4444
  "nodeType": "ElementaryTypeName",
4445
4445
  "src": "11129:5:46",
@@ -4454,12 +4454,12 @@
4454
4454
  "src": "11041:121:46"
4455
4455
  },
4456
4456
  "returnParameters": {
4457
- "id": 19798,
4457
+ "id": 19810,
4458
4458
  "nodeType": "ParameterList",
4459
4459
  "parameters": [],
4460
4460
  "src": "11189:0:46"
4461
4461
  },
4462
- "scope": 19928,
4462
+ "scope": 19940,
4463
4463
  "src": "11020:170:46",
4464
4464
  "stateMutability": "nonpayable",
4465
4465
  "virtual": false,
@@ -4467,13 +4467,13 @@
4467
4467
  },
4468
4468
  {
4469
4469
  "documentation": {
4470
- "id": 19800,
4470
+ "id": 19812,
4471
4471
  "nodeType": "StructuredDocumentation",
4472
4472
  "src": "11398:107:46",
4473
4473
  "text": " @dev Mint new tokens for the account\n @custom:modifiers \n - onlySelf"
4474
4474
  },
4475
4475
  "functionSelector": "c68d4283",
4476
- "id": 19809,
4476
+ "id": 19821,
4477
4477
  "implemented": false,
4478
4478
  "kind": "function",
4479
4479
  "modifiers": [],
@@ -4481,17 +4481,17 @@
4481
4481
  "nameLocation": "11519:8:46",
4482
4482
  "nodeType": "FunctionDefinition",
4483
4483
  "parameters": {
4484
- "id": 19807,
4484
+ "id": 19819,
4485
4485
  "nodeType": "ParameterList",
4486
4486
  "parameters": [
4487
4487
  {
4488
4488
  "constant": false,
4489
- "id": 19802,
4489
+ "id": 19814,
4490
4490
  "mutability": "mutable",
4491
4491
  "name": "account",
4492
4492
  "nameLocation": "11545:7:46",
4493
4493
  "nodeType": "VariableDeclaration",
4494
- "scope": 19809,
4494
+ "scope": 19821,
4495
4495
  "src": "11537:15:46",
4496
4496
  "stateVariable": false,
4497
4497
  "storageLocation": "default",
@@ -4500,7 +4500,7 @@
4500
4500
  "typeString": "address"
4501
4501
  },
4502
4502
  "typeName": {
4503
- "id": 19801,
4503
+ "id": 19813,
4504
4504
  "name": "address",
4505
4505
  "nodeType": "ElementaryTypeName",
4506
4506
  "src": "11537:7:46",
@@ -4514,12 +4514,12 @@
4514
4514
  },
4515
4515
  {
4516
4516
  "constant": false,
4517
- "id": 19804,
4517
+ "id": 19816,
4518
4518
  "mutability": "mutable",
4519
4519
  "name": "amount",
4520
4520
  "nameLocation": "11570:6:46",
4521
4521
  "nodeType": "VariableDeclaration",
4522
- "scope": 19809,
4522
+ "scope": 19821,
4523
4523
  "src": "11562:14:46",
4524
4524
  "stateVariable": false,
4525
4525
  "storageLocation": "default",
@@ -4528,7 +4528,7 @@
4528
4528
  "typeString": "uint256"
4529
4529
  },
4530
4530
  "typeName": {
4531
- "id": 19803,
4531
+ "id": 19815,
4532
4532
  "name": "uint256",
4533
4533
  "nodeType": "ElementaryTypeName",
4534
4534
  "src": "11562:7:46",
@@ -4541,12 +4541,12 @@
4541
4541
  },
4542
4542
  {
4543
4543
  "constant": false,
4544
- "id": 19806,
4544
+ "id": 19818,
4545
4545
  "mutability": "mutable",
4546
4546
  "name": "userData",
4547
4547
  "nameLocation": "11599:8:46",
4548
4548
  "nodeType": "VariableDeclaration",
4549
- "scope": 19809,
4549
+ "scope": 19821,
4550
4550
  "src": "11586:21:46",
4551
4551
  "stateVariable": false,
4552
4552
  "storageLocation": "memory",
@@ -4555,7 +4555,7 @@
4555
4555
  "typeString": "bytes"
4556
4556
  },
4557
4557
  "typeName": {
4558
- "id": 19805,
4558
+ "id": 19817,
4559
4559
  "name": "bytes",
4560
4560
  "nodeType": "ElementaryTypeName",
4561
4561
  "src": "11586:5:46",
@@ -4570,12 +4570,12 @@
4570
4570
  "src": "11527:86:46"
4571
4571
  },
4572
4572
  "returnParameters": {
4573
- "id": 19808,
4573
+ "id": 19820,
4574
4574
  "nodeType": "ParameterList",
4575
4575
  "parameters": [],
4576
4576
  "src": "11622:0:46"
4577
4577
  },
4578
- "scope": 19928,
4578
+ "scope": 19940,
4579
4579
  "src": "11510:113:46",
4580
4580
  "stateMutability": "nonpayable",
4581
4581
  "virtual": false,
@@ -4583,13 +4583,13 @@
4583
4583
  },
4584
4584
  {
4585
4585
  "documentation": {
4586
- "id": 19810,
4586
+ "id": 19822,
4587
4587
  "nodeType": "StructuredDocumentation",
4588
4588
  "src": "11628:107:46",
4589
4589
  "text": " @dev Burn existing tokens for the account\n @custom:modifiers \n - onlySelf"
4590
4590
  },
4591
4591
  "functionSelector": "9d876741",
4592
- "id": 19819,
4592
+ "id": 19831,
4593
4593
  "implemented": false,
4594
4594
  "kind": "function",
4595
4595
  "modifiers": [],
@@ -4597,17 +4597,17 @@
4597
4597
  "nameLocation": "11748:8:46",
4598
4598
  "nodeType": "FunctionDefinition",
4599
4599
  "parameters": {
4600
- "id": 19817,
4600
+ "id": 19829,
4601
4601
  "nodeType": "ParameterList",
4602
4602
  "parameters": [
4603
4603
  {
4604
4604
  "constant": false,
4605
- "id": 19812,
4605
+ "id": 19824,
4606
4606
  "mutability": "mutable",
4607
4607
  "name": "account",
4608
4608
  "nameLocation": "11773:7:46",
4609
4609
  "nodeType": "VariableDeclaration",
4610
- "scope": 19819,
4610
+ "scope": 19831,
4611
4611
  "src": "11765:15:46",
4612
4612
  "stateVariable": false,
4613
4613
  "storageLocation": "default",
@@ -4616,7 +4616,7 @@
4616
4616
  "typeString": "address"
4617
4617
  },
4618
4618
  "typeName": {
4619
- "id": 19811,
4619
+ "id": 19823,
4620
4620
  "name": "address",
4621
4621
  "nodeType": "ElementaryTypeName",
4622
4622
  "src": "11765:7:46",
@@ -4630,12 +4630,12 @@
4630
4630
  },
4631
4631
  {
4632
4632
  "constant": false,
4633
- "id": 19814,
4633
+ "id": 19826,
4634
4634
  "mutability": "mutable",
4635
4635
  "name": "amount",
4636
4636
  "nameLocation": "11797:6:46",
4637
4637
  "nodeType": "VariableDeclaration",
4638
- "scope": 19819,
4638
+ "scope": 19831,
4639
4639
  "src": "11789:14:46",
4640
4640
  "stateVariable": false,
4641
4641
  "storageLocation": "default",
@@ -4644,7 +4644,7 @@
4644
4644
  "typeString": "uint256"
4645
4645
  },
4646
4646
  "typeName": {
4647
- "id": 19813,
4647
+ "id": 19825,
4648
4648
  "name": "uint256",
4649
4649
  "nodeType": "ElementaryTypeName",
4650
4650
  "src": "11789:7:46",
@@ -4657,12 +4657,12 @@
4657
4657
  },
4658
4658
  {
4659
4659
  "constant": false,
4660
- "id": 19816,
4660
+ "id": 19828,
4661
4661
  "mutability": "mutable",
4662
4662
  "name": "userData",
4663
4663
  "nameLocation": "11825:8:46",
4664
4664
  "nodeType": "VariableDeclaration",
4665
- "scope": 19819,
4665
+ "scope": 19831,
4666
4666
  "src": "11812:21:46",
4667
4667
  "stateVariable": false,
4668
4668
  "storageLocation": "memory",
@@ -4671,7 +4671,7 @@
4671
4671
  "typeString": "bytes"
4672
4672
  },
4673
4673
  "typeName": {
4674
- "id": 19815,
4674
+ "id": 19827,
4675
4675
  "name": "bytes",
4676
4676
  "nodeType": "ElementaryTypeName",
4677
4677
  "src": "11812:5:46",
@@ -4686,12 +4686,12 @@
4686
4686
  "src": "11756:82:46"
4687
4687
  },
4688
4688
  "returnParameters": {
4689
- "id": 19818,
4689
+ "id": 19830,
4690
4690
  "nodeType": "ParameterList",
4691
4691
  "parameters": [],
4692
4692
  "src": "11847:0:46"
4693
4693
  },
4694
- "scope": 19928,
4694
+ "scope": 19940,
4695
4695
  "src": "11739:109:46",
4696
4696
  "stateMutability": "nonpayable",
4697
4697
  "virtual": false,
@@ -4699,13 +4699,13 @@
4699
4699
  },
4700
4700
  {
4701
4701
  "documentation": {
4702
- "id": 19820,
4702
+ "id": 19832,
4703
4703
  "nodeType": "StructuredDocumentation",
4704
4704
  "src": "11853:245:46",
4705
4705
  "text": " @dev Transfer `amount` tokens from the `sender` to `recipient`.\n If `spender` isn't the same as `sender`, checks if `spender` has allowance to\n spend tokens of `sender`.\n @custom:modifiers \n - onlySelf"
4706
4706
  },
4707
4707
  "functionSelector": "41b706be",
4708
- "id": 19831,
4708
+ "id": 19843,
4709
4709
  "implemented": false,
4710
4710
  "kind": "function",
4711
4711
  "modifiers": [],
@@ -4713,17 +4713,17 @@
4713
4713
  "nameLocation": "12111:16:46",
4714
4714
  "nodeType": "FunctionDefinition",
4715
4715
  "parameters": {
4716
- "id": 19829,
4716
+ "id": 19841,
4717
4717
  "nodeType": "ParameterList",
4718
4718
  "parameters": [
4719
4719
  {
4720
4720
  "constant": false,
4721
- "id": 19822,
4721
+ "id": 19834,
4722
4722
  "mutability": "mutable",
4723
4723
  "name": "sender",
4724
4724
  "nameLocation": "12145:6:46",
4725
4725
  "nodeType": "VariableDeclaration",
4726
- "scope": 19831,
4726
+ "scope": 19843,
4727
4727
  "src": "12137:14:46",
4728
4728
  "stateVariable": false,
4729
4729
  "storageLocation": "default",
@@ -4732,7 +4732,7 @@
4732
4732
  "typeString": "address"
4733
4733
  },
4734
4734
  "typeName": {
4735
- "id": 19821,
4735
+ "id": 19833,
4736
4736
  "name": "address",
4737
4737
  "nodeType": "ElementaryTypeName",
4738
4738
  "src": "12137:7:46",
@@ -4746,12 +4746,12 @@
4746
4746
  },
4747
4747
  {
4748
4748
  "constant": false,
4749
- "id": 19824,
4749
+ "id": 19836,
4750
4750
  "mutability": "mutable",
4751
4751
  "name": "spender",
4752
4752
  "nameLocation": "12169:7:46",
4753
4753
  "nodeType": "VariableDeclaration",
4754
- "scope": 19831,
4754
+ "scope": 19843,
4755
4755
  "src": "12161:15:46",
4756
4756
  "stateVariable": false,
4757
4757
  "storageLocation": "default",
@@ -4760,7 +4760,7 @@
4760
4760
  "typeString": "address"
4761
4761
  },
4762
4762
  "typeName": {
4763
- "id": 19823,
4763
+ "id": 19835,
4764
4764
  "name": "address",
4765
4765
  "nodeType": "ElementaryTypeName",
4766
4766
  "src": "12161:7:46",
@@ -4774,12 +4774,12 @@
4774
4774
  },
4775
4775
  {
4776
4776
  "constant": false,
4777
- "id": 19826,
4777
+ "id": 19838,
4778
4778
  "mutability": "mutable",
4779
4779
  "name": "recipient",
4780
4780
  "nameLocation": "12194:9:46",
4781
4781
  "nodeType": "VariableDeclaration",
4782
- "scope": 19831,
4782
+ "scope": 19843,
4783
4783
  "src": "12186:17:46",
4784
4784
  "stateVariable": false,
4785
4785
  "storageLocation": "default",
@@ -4788,7 +4788,7 @@
4788
4788
  "typeString": "address"
4789
4789
  },
4790
4790
  "typeName": {
4791
- "id": 19825,
4791
+ "id": 19837,
4792
4792
  "name": "address",
4793
4793
  "nodeType": "ElementaryTypeName",
4794
4794
  "src": "12186:7:46",
@@ -4802,12 +4802,12 @@
4802
4802
  },
4803
4803
  {
4804
4804
  "constant": false,
4805
- "id": 19828,
4805
+ "id": 19840,
4806
4806
  "mutability": "mutable",
4807
4807
  "name": "amount",
4808
4808
  "nameLocation": "12221:6:46",
4809
4809
  "nodeType": "VariableDeclaration",
4810
- "scope": 19831,
4810
+ "scope": 19843,
4811
4811
  "src": "12213:14:46",
4812
4812
  "stateVariable": false,
4813
4813
  "storageLocation": "default",
@@ -4816,7 +4816,7 @@
4816
4816
  "typeString": "uint256"
4817
4817
  },
4818
4818
  "typeName": {
4819
- "id": 19827,
4819
+ "id": 19839,
4820
4820
  "name": "uint256",
4821
4821
  "nodeType": "ElementaryTypeName",
4822
4822
  "src": "12213:7:46",
@@ -4831,12 +4831,12 @@
4831
4831
  "src": "12127:105:46"
4832
4832
  },
4833
4833
  "returnParameters": {
4834
- "id": 19830,
4834
+ "id": 19842,
4835
4835
  "nodeType": "ParameterList",
4836
4836
  "parameters": [],
4837
4837
  "src": "12241:0:46"
4838
4838
  },
4839
- "scope": 19928,
4839
+ "scope": 19940,
4840
4840
  "src": "12102:140:46",
4841
4841
  "stateMutability": "nonpayable",
4842
4842
  "virtual": false,
@@ -4844,13 +4844,13 @@
4844
4844
  },
4845
4845
  {
4846
4846
  "documentation": {
4847
- "id": 19832,
4847
+ "id": 19844,
4848
4848
  "nodeType": "StructuredDocumentation",
4849
4849
  "src": "12247:145:46",
4850
4850
  "text": " @dev Give `spender`, `amount` allowance to spend the tokens of\n `account`.\n @custom:modifiers \n - onlySelf"
4851
4851
  },
4852
4852
  "functionSelector": "66a12fb6",
4853
- "id": 19841,
4853
+ "id": 19853,
4854
4854
  "implemented": false,
4855
4855
  "kind": "function",
4856
4856
  "modifiers": [],
@@ -4858,17 +4858,17 @@
4858
4858
  "nameLocation": "12405:14:46",
4859
4859
  "nodeType": "FunctionDefinition",
4860
4860
  "parameters": {
4861
- "id": 19839,
4861
+ "id": 19851,
4862
4862
  "nodeType": "ParameterList",
4863
4863
  "parameters": [
4864
4864
  {
4865
4865
  "constant": false,
4866
- "id": 19834,
4866
+ "id": 19846,
4867
4867
  "mutability": "mutable",
4868
4868
  "name": "account",
4869
4869
  "nameLocation": "12437:7:46",
4870
4870
  "nodeType": "VariableDeclaration",
4871
- "scope": 19841,
4871
+ "scope": 19853,
4872
4872
  "src": "12429:15:46",
4873
4873
  "stateVariable": false,
4874
4874
  "storageLocation": "default",
@@ -4877,7 +4877,7 @@
4877
4877
  "typeString": "address"
4878
4878
  },
4879
4879
  "typeName": {
4880
- "id": 19833,
4880
+ "id": 19845,
4881
4881
  "name": "address",
4882
4882
  "nodeType": "ElementaryTypeName",
4883
4883
  "src": "12429:7:46",
@@ -4891,12 +4891,12 @@
4891
4891
  },
4892
4892
  {
4893
4893
  "constant": false,
4894
- "id": 19836,
4894
+ "id": 19848,
4895
4895
  "mutability": "mutable",
4896
4896
  "name": "spender",
4897
4897
  "nameLocation": "12462:7:46",
4898
4898
  "nodeType": "VariableDeclaration",
4899
- "scope": 19841,
4899
+ "scope": 19853,
4900
4900
  "src": "12454:15:46",
4901
4901
  "stateVariable": false,
4902
4902
  "storageLocation": "default",
@@ -4905,7 +4905,7 @@
4905
4905
  "typeString": "address"
4906
4906
  },
4907
4907
  "typeName": {
4908
- "id": 19835,
4908
+ "id": 19847,
4909
4909
  "name": "address",
4910
4910
  "nodeType": "ElementaryTypeName",
4911
4911
  "src": "12454:7:46",
@@ -4919,12 +4919,12 @@
4919
4919
  },
4920
4920
  {
4921
4921
  "constant": false,
4922
- "id": 19838,
4922
+ "id": 19850,
4923
4923
  "mutability": "mutable",
4924
4924
  "name": "amount",
4925
4925
  "nameLocation": "12487:6:46",
4926
4926
  "nodeType": "VariableDeclaration",
4927
- "scope": 19841,
4927
+ "scope": 19853,
4928
4928
  "src": "12479:14:46",
4929
4929
  "stateVariable": false,
4930
4930
  "storageLocation": "default",
@@ -4933,7 +4933,7 @@
4933
4933
  "typeString": "uint256"
4934
4934
  },
4935
4935
  "typeName": {
4936
- "id": 19837,
4936
+ "id": 19849,
4937
4937
  "name": "uint256",
4938
4938
  "nodeType": "ElementaryTypeName",
4939
4939
  "src": "12479:7:46",
@@ -4948,12 +4948,12 @@
4948
4948
  "src": "12419:79:46"
4949
4949
  },
4950
4950
  "returnParameters": {
4951
- "id": 19840,
4951
+ "id": 19852,
4952
4952
  "nodeType": "ParameterList",
4953
4953
  "parameters": [],
4954
4954
  "src": "12507:0:46"
4955
4955
  },
4956
- "scope": 19928,
4956
+ "scope": 19940,
4957
4957
  "src": "12396:112:46",
4958
4958
  "stateMutability": "nonpayable",
4959
4959
  "virtual": false,
@@ -4961,13 +4961,13 @@
4961
4961
  },
4962
4962
  {
4963
4963
  "documentation": {
4964
- "id": 19842,
4964
+ "id": 19854,
4965
4965
  "nodeType": "StructuredDocumentation",
4966
4966
  "src": "12709:87:46",
4967
4967
  "text": " @dev Transfer all available balance from `msg.sender` to `recipient`"
4968
4968
  },
4969
4969
  "functionSelector": "a3a7e7f3",
4970
- "id": 19847,
4970
+ "id": 19859,
4971
4971
  "implemented": false,
4972
4972
  "kind": "function",
4973
4973
  "modifiers": [],
@@ -4975,17 +4975,17 @@
4975
4975
  "nameLocation": "12810:11:46",
4976
4976
  "nodeType": "FunctionDefinition",
4977
4977
  "parameters": {
4978
- "id": 19845,
4978
+ "id": 19857,
4979
4979
  "nodeType": "ParameterList",
4980
4980
  "parameters": [
4981
4981
  {
4982
4982
  "constant": false,
4983
- "id": 19844,
4983
+ "id": 19856,
4984
4984
  "mutability": "mutable",
4985
4985
  "name": "recipient",
4986
4986
  "nameLocation": "12830:9:46",
4987
4987
  "nodeType": "VariableDeclaration",
4988
- "scope": 19847,
4988
+ "scope": 19859,
4989
4989
  "src": "12822:17:46",
4990
4990
  "stateVariable": false,
4991
4991
  "storageLocation": "default",
@@ -4994,7 +4994,7 @@
4994
4994
  "typeString": "address"
4995
4995
  },
4996
4996
  "typeName": {
4997
- "id": 19843,
4997
+ "id": 19855,
4998
4998
  "name": "address",
4999
4999
  "nodeType": "ElementaryTypeName",
5000
5000
  "src": "12822:7:46",
@@ -5010,12 +5010,12 @@
5010
5010
  "src": "12821:19:46"
5011
5011
  },
5012
5012
  "returnParameters": {
5013
- "id": 19846,
5013
+ "id": 19858,
5014
5014
  "nodeType": "ParameterList",
5015
5015
  "parameters": [],
5016
5016
  "src": "12849:0:46"
5017
5017
  },
5018
- "scope": 19928,
5018
+ "scope": 19940,
5019
5019
  "src": "12801:49:46",
5020
5020
  "stateMutability": "nonpayable",
5021
5021
  "virtual": false,
@@ -5023,13 +5023,13 @@
5023
5023
  },
5024
5024
  {
5025
5025
  "documentation": {
5026
- "id": 19848,
5026
+ "id": 19860,
5027
5027
  "nodeType": "StructuredDocumentation",
5028
5028
  "src": "13039:110:46",
5029
5029
  "text": " @dev Return the underlying token contract\n @return tokenAddr Underlying token address"
5030
5030
  },
5031
5031
  "functionSelector": "ee719bc8",
5032
- "id": 19853,
5032
+ "id": 19865,
5033
5033
  "implemented": false,
5034
5034
  "kind": "function",
5035
5035
  "modifiers": [],
@@ -5037,23 +5037,23 @@
5037
5037
  "nameLocation": "13163:18:46",
5038
5038
  "nodeType": "FunctionDefinition",
5039
5039
  "parameters": {
5040
- "id": 19849,
5040
+ "id": 19861,
5041
5041
  "nodeType": "ParameterList",
5042
5042
  "parameters": [],
5043
5043
  "src": "13181:2:46"
5044
5044
  },
5045
5045
  "returnParameters": {
5046
- "id": 19852,
5046
+ "id": 19864,
5047
5047
  "nodeType": "ParameterList",
5048
5048
  "parameters": [
5049
5049
  {
5050
5050
  "constant": false,
5051
- "id": 19851,
5051
+ "id": 19863,
5052
5052
  "mutability": "mutable",
5053
5053
  "name": "tokenAddr",
5054
5054
  "nameLocation": "13214:9:46",
5055
5055
  "nodeType": "VariableDeclaration",
5056
- "scope": 19853,
5056
+ "scope": 19865,
5057
5057
  "src": "13206:17:46",
5058
5058
  "stateVariable": false,
5059
5059
  "storageLocation": "default",
@@ -5062,7 +5062,7 @@
5062
5062
  "typeString": "address"
5063
5063
  },
5064
5064
  "typeName": {
5065
- "id": 19850,
5065
+ "id": 19862,
5066
5066
  "name": "address",
5067
5067
  "nodeType": "ElementaryTypeName",
5068
5068
  "src": "13206:7:46",
@@ -5077,7 +5077,7 @@
5077
5077
  ],
5078
5078
  "src": "13205:19:46"
5079
5079
  },
5080
- "scope": 19928,
5080
+ "scope": 19940,
5081
5081
  "src": "13154:71:46",
5082
5082
  "stateMutability": "view",
5083
5083
  "virtual": false,
@@ -5085,13 +5085,13 @@
5085
5085
  },
5086
5086
  {
5087
5087
  "documentation": {
5088
- "id": 19854,
5088
+ "id": 19866,
5089
5089
  "nodeType": "StructuredDocumentation",
5090
5090
  "src": "13231:262:46",
5091
5091
  "text": " @dev Upgrade ERC20 to SuperToken.\n @param amount Number of tokens to be upgraded (in 18 decimals)\n @custom:note It will use `transferFrom` to get tokens. Before calling this\n function you should `approve` this contract"
5092
5092
  },
5093
5093
  "functionSelector": "45977d03",
5094
- "id": 19859,
5094
+ "id": 19871,
5095
5095
  "implemented": false,
5096
5096
  "kind": "function",
5097
5097
  "modifiers": [],
@@ -5099,17 +5099,17 @@
5099
5099
  "nameLocation": "13507:7:46",
5100
5100
  "nodeType": "FunctionDefinition",
5101
5101
  "parameters": {
5102
- "id": 19857,
5102
+ "id": 19869,
5103
5103
  "nodeType": "ParameterList",
5104
5104
  "parameters": [
5105
5105
  {
5106
5106
  "constant": false,
5107
- "id": 19856,
5107
+ "id": 19868,
5108
5108
  "mutability": "mutable",
5109
5109
  "name": "amount",
5110
5110
  "nameLocation": "13523:6:46",
5111
5111
  "nodeType": "VariableDeclaration",
5112
- "scope": 19859,
5112
+ "scope": 19871,
5113
5113
  "src": "13515:14:46",
5114
5114
  "stateVariable": false,
5115
5115
  "storageLocation": "default",
@@ -5118,7 +5118,7 @@
5118
5118
  "typeString": "uint256"
5119
5119
  },
5120
5120
  "typeName": {
5121
- "id": 19855,
5121
+ "id": 19867,
5122
5122
  "name": "uint256",
5123
5123
  "nodeType": "ElementaryTypeName",
5124
5124
  "src": "13515:7:46",
@@ -5133,12 +5133,12 @@
5133
5133
  "src": "13514:16:46"
5134
5134
  },
5135
5135
  "returnParameters": {
5136
- "id": 19858,
5136
+ "id": 19870,
5137
5137
  "nodeType": "ParameterList",
5138
5138
  "parameters": [],
5139
5139
  "src": "13539:0:46"
5140
5140
  },
5141
- "scope": 19928,
5141
+ "scope": 19940,
5142
5142
  "src": "13498:42:46",
5143
5143
  "stateMutability": "nonpayable",
5144
5144
  "virtual": false,
@@ -5146,13 +5146,13 @@
5146
5146
  },
5147
5147
  {
5148
5148
  "documentation": {
5149
- "id": 19860,
5149
+ "id": 19872,
5150
5150
  "nodeType": "StructuredDocumentation",
5151
5151
  "src": "13546:405:46",
5152
5152
  "text": " @dev Upgrade ERC20 to SuperToken and transfer immediately\n @param to The account to received upgraded tokens\n @param amount Number of tokens to be upgraded (in 18 decimals)\n @param data User data for the TokensRecipient callback\n @custom:note It will use `transferFrom` to get tokens. Before calling this\n function you should `approve` this contract"
5153
5153
  },
5154
5154
  "functionSelector": "5b9d09cc",
5155
- "id": 19869,
5155
+ "id": 19881,
5156
5156
  "implemented": false,
5157
5157
  "kind": "function",
5158
5158
  "modifiers": [],
@@ -5160,17 +5160,17 @@
5160
5160
  "nameLocation": "13965:9:46",
5161
5161
  "nodeType": "FunctionDefinition",
5162
5162
  "parameters": {
5163
- "id": 19867,
5163
+ "id": 19879,
5164
5164
  "nodeType": "ParameterList",
5165
5165
  "parameters": [
5166
5166
  {
5167
5167
  "constant": false,
5168
- "id": 19862,
5168
+ "id": 19874,
5169
5169
  "mutability": "mutable",
5170
5170
  "name": "to",
5171
5171
  "nameLocation": "13983:2:46",
5172
5172
  "nodeType": "VariableDeclaration",
5173
- "scope": 19869,
5173
+ "scope": 19881,
5174
5174
  "src": "13975:10:46",
5175
5175
  "stateVariable": false,
5176
5176
  "storageLocation": "default",
@@ -5179,7 +5179,7 @@
5179
5179
  "typeString": "address"
5180
5180
  },
5181
5181
  "typeName": {
5182
- "id": 19861,
5182
+ "id": 19873,
5183
5183
  "name": "address",
5184
5184
  "nodeType": "ElementaryTypeName",
5185
5185
  "src": "13975:7:46",
@@ -5193,12 +5193,12 @@
5193
5193
  },
5194
5194
  {
5195
5195
  "constant": false,
5196
- "id": 19864,
5196
+ "id": 19876,
5197
5197
  "mutability": "mutable",
5198
5198
  "name": "amount",
5199
5199
  "nameLocation": "13995:6:46",
5200
5200
  "nodeType": "VariableDeclaration",
5201
- "scope": 19869,
5201
+ "scope": 19881,
5202
5202
  "src": "13987:14:46",
5203
5203
  "stateVariable": false,
5204
5204
  "storageLocation": "default",
@@ -5207,7 +5207,7 @@
5207
5207
  "typeString": "uint256"
5208
5208
  },
5209
5209
  "typeName": {
5210
- "id": 19863,
5210
+ "id": 19875,
5211
5211
  "name": "uint256",
5212
5212
  "nodeType": "ElementaryTypeName",
5213
5213
  "src": "13987:7:46",
@@ -5220,12 +5220,12 @@
5220
5220
  },
5221
5221
  {
5222
5222
  "constant": false,
5223
- "id": 19866,
5223
+ "id": 19878,
5224
5224
  "mutability": "mutable",
5225
5225
  "name": "data",
5226
5226
  "nameLocation": "14018:4:46",
5227
5227
  "nodeType": "VariableDeclaration",
5228
- "scope": 19869,
5228
+ "scope": 19881,
5229
5229
  "src": "14003:19:46",
5230
5230
  "stateVariable": false,
5231
5231
  "storageLocation": "calldata",
@@ -5234,7 +5234,7 @@
5234
5234
  "typeString": "bytes"
5235
5235
  },
5236
5236
  "typeName": {
5237
- "id": 19865,
5237
+ "id": 19877,
5238
5238
  "name": "bytes",
5239
5239
  "nodeType": "ElementaryTypeName",
5240
5240
  "src": "14003:5:46",
@@ -5249,12 +5249,12 @@
5249
5249
  "src": "13974:49:46"
5250
5250
  },
5251
5251
  "returnParameters": {
5252
- "id": 19868,
5252
+ "id": 19880,
5253
5253
  "nodeType": "ParameterList",
5254
5254
  "parameters": [],
5255
5255
  "src": "14032:0:46"
5256
5256
  },
5257
- "scope": 19928,
5257
+ "scope": 19940,
5258
5258
  "src": "13956:77:46",
5259
5259
  "stateMutability": "nonpayable",
5260
5260
  "virtual": false,
@@ -5263,29 +5263,29 @@
5263
5263
  {
5264
5264
  "anonymous": false,
5265
5265
  "documentation": {
5266
- "id": 19870,
5266
+ "id": 19882,
5267
5267
  "nodeType": "StructuredDocumentation",
5268
5268
  "src": "14039:166:46",
5269
5269
  "text": " @dev Token upgrade event\n @param account Account where tokens are upgraded to\n @param amount Amount of tokens upgraded (in 18 decimals)"
5270
5270
  },
5271
5271
  "eventSelector": "25ca84076773b0455db53621c459ddc84fe40840e4932a62706a032566f399df",
5272
- "id": 19876,
5272
+ "id": 19888,
5273
5273
  "name": "TokenUpgraded",
5274
5274
  "nameLocation": "14216:13:46",
5275
5275
  "nodeType": "EventDefinition",
5276
5276
  "parameters": {
5277
- "id": 19875,
5277
+ "id": 19887,
5278
5278
  "nodeType": "ParameterList",
5279
5279
  "parameters": [
5280
5280
  {
5281
5281
  "constant": false,
5282
- "id": 19872,
5282
+ "id": 19884,
5283
5283
  "indexed": true,
5284
5284
  "mutability": "mutable",
5285
5285
  "name": "account",
5286
5286
  "nameLocation": "14255:7:46",
5287
5287
  "nodeType": "VariableDeclaration",
5288
- "scope": 19876,
5288
+ "scope": 19888,
5289
5289
  "src": "14239:23:46",
5290
5290
  "stateVariable": false,
5291
5291
  "storageLocation": "default",
@@ -5294,7 +5294,7 @@
5294
5294
  "typeString": "address"
5295
5295
  },
5296
5296
  "typeName": {
5297
- "id": 19871,
5297
+ "id": 19883,
5298
5298
  "name": "address",
5299
5299
  "nodeType": "ElementaryTypeName",
5300
5300
  "src": "14239:7:46",
@@ -5308,13 +5308,13 @@
5308
5308
  },
5309
5309
  {
5310
5310
  "constant": false,
5311
- "id": 19874,
5311
+ "id": 19886,
5312
5312
  "indexed": false,
5313
5313
  "mutability": "mutable",
5314
5314
  "name": "amount",
5315
5315
  "nameLocation": "14280:6:46",
5316
5316
  "nodeType": "VariableDeclaration",
5317
- "scope": 19876,
5317
+ "scope": 19888,
5318
5318
  "src": "14272:14:46",
5319
5319
  "stateVariable": false,
5320
5320
  "storageLocation": "default",
@@ -5323,7 +5323,7 @@
5323
5323
  "typeString": "uint256"
5324
5324
  },
5325
5325
  "typeName": {
5326
- "id": 19873,
5326
+ "id": 19885,
5327
5327
  "name": "uint256",
5328
5328
  "nodeType": "ElementaryTypeName",
5329
5329
  "src": "14272:7:46",
@@ -5341,13 +5341,13 @@
5341
5341
  },
5342
5342
  {
5343
5343
  "documentation": {
5344
- "id": 19877,
5344
+ "id": 19889,
5345
5345
  "nodeType": "StructuredDocumentation",
5346
5346
  "src": "14299:158:46",
5347
5347
  "text": " @dev Downgrade SuperToken to ERC20.\n @dev It will call transfer to send tokens\n @param amount Number of tokens to be downgraded"
5348
5348
  },
5349
5349
  "functionSelector": "11bcc81e",
5350
- "id": 19882,
5350
+ "id": 19894,
5351
5351
  "implemented": false,
5352
5352
  "kind": "function",
5353
5353
  "modifiers": [],
@@ -5355,17 +5355,17 @@
5355
5355
  "nameLocation": "14471:9:46",
5356
5356
  "nodeType": "FunctionDefinition",
5357
5357
  "parameters": {
5358
- "id": 19880,
5358
+ "id": 19892,
5359
5359
  "nodeType": "ParameterList",
5360
5360
  "parameters": [
5361
5361
  {
5362
5362
  "constant": false,
5363
- "id": 19879,
5363
+ "id": 19891,
5364
5364
  "mutability": "mutable",
5365
5365
  "name": "amount",
5366
5366
  "nameLocation": "14489:6:46",
5367
5367
  "nodeType": "VariableDeclaration",
5368
- "scope": 19882,
5368
+ "scope": 19894,
5369
5369
  "src": "14481:14:46",
5370
5370
  "stateVariable": false,
5371
5371
  "storageLocation": "default",
@@ -5374,7 +5374,7 @@
5374
5374
  "typeString": "uint256"
5375
5375
  },
5376
5376
  "typeName": {
5377
- "id": 19878,
5377
+ "id": 19890,
5378
5378
  "name": "uint256",
5379
5379
  "nodeType": "ElementaryTypeName",
5380
5380
  "src": "14481:7:46",
@@ -5389,12 +5389,12 @@
5389
5389
  "src": "14480:16:46"
5390
5390
  },
5391
5391
  "returnParameters": {
5392
- "id": 19881,
5392
+ "id": 19893,
5393
5393
  "nodeType": "ParameterList",
5394
5394
  "parameters": [],
5395
5395
  "src": "14505:0:46"
5396
5396
  },
5397
- "scope": 19928,
5397
+ "scope": 19940,
5398
5398
  "src": "14462:44:46",
5399
5399
  "stateMutability": "nonpayable",
5400
5400
  "virtual": false,
@@ -5403,29 +5403,29 @@
5403
5403
  {
5404
5404
  "anonymous": false,
5405
5405
  "documentation": {
5406
- "id": 19883,
5406
+ "id": 19895,
5407
5407
  "nodeType": "StructuredDocumentation",
5408
5408
  "src": "14512:150:46",
5409
5409
  "text": " @dev Token downgrade event\n @param account Account whose tokens are upgraded\n @param amount Amount of tokens downgraded"
5410
5410
  },
5411
5411
  "eventSelector": "3bc27981aebbb57f9247dc00fde9d6cd91e4b230083fec3238fedbcba1f9ab3d",
5412
- "id": 19889,
5412
+ "id": 19901,
5413
5413
  "name": "TokenDowngraded",
5414
5414
  "nameLocation": "14673:15:46",
5415
5415
  "nodeType": "EventDefinition",
5416
5416
  "parameters": {
5417
- "id": 19888,
5417
+ "id": 19900,
5418
5418
  "nodeType": "ParameterList",
5419
5419
  "parameters": [
5420
5420
  {
5421
5421
  "constant": false,
5422
- "id": 19885,
5422
+ "id": 19897,
5423
5423
  "indexed": true,
5424
5424
  "mutability": "mutable",
5425
5425
  "name": "account",
5426
5426
  "nameLocation": "14714:7:46",
5427
5427
  "nodeType": "VariableDeclaration",
5428
- "scope": 19889,
5428
+ "scope": 19901,
5429
5429
  "src": "14698:23:46",
5430
5430
  "stateVariable": false,
5431
5431
  "storageLocation": "default",
@@ -5434,7 +5434,7 @@
5434
5434
  "typeString": "address"
5435
5435
  },
5436
5436
  "typeName": {
5437
- "id": 19884,
5437
+ "id": 19896,
5438
5438
  "name": "address",
5439
5439
  "nodeType": "ElementaryTypeName",
5440
5440
  "src": "14698:7:46",
@@ -5448,13 +5448,13 @@
5448
5448
  },
5449
5449
  {
5450
5450
  "constant": false,
5451
- "id": 19887,
5451
+ "id": 19899,
5452
5452
  "indexed": false,
5453
5453
  "mutability": "mutable",
5454
5454
  "name": "amount",
5455
5455
  "nameLocation": "14739:6:46",
5456
5456
  "nodeType": "VariableDeclaration",
5457
- "scope": 19889,
5457
+ "scope": 19901,
5458
5458
  "src": "14731:14:46",
5459
5459
  "stateVariable": false,
5460
5460
  "storageLocation": "default",
@@ -5463,7 +5463,7 @@
5463
5463
  "typeString": "uint256"
5464
5464
  },
5465
5465
  "typeName": {
5466
- "id": 19886,
5466
+ "id": 19898,
5467
5467
  "name": "uint256",
5468
5468
  "nodeType": "ElementaryTypeName",
5469
5469
  "src": "14731:7:46",
@@ -5481,13 +5481,13 @@
5481
5481
  },
5482
5482
  {
5483
5483
  "documentation": {
5484
- "id": 19890,
5484
+ "id": 19902,
5485
5485
  "nodeType": "StructuredDocumentation",
5486
5486
  "src": "14941:277:46",
5487
5487
  "text": " @dev Perform ERC20 approve by host contract.\n @param account The account owner to be approved.\n @param spender The spender of account owner's funds.\n @param amount Number of tokens to be approved.\n @custom:modifiers \n - onlyHost"
5488
5488
  },
5489
5489
  "functionSelector": "62aa5287",
5490
- "id": 19899,
5490
+ "id": 19911,
5491
5491
  "implemented": false,
5492
5492
  "kind": "function",
5493
5493
  "modifiers": [],
@@ -5495,17 +5495,17 @@
5495
5495
  "nameLocation": "15232:16:46",
5496
5496
  "nodeType": "FunctionDefinition",
5497
5497
  "parameters": {
5498
- "id": 19897,
5498
+ "id": 19909,
5499
5499
  "nodeType": "ParameterList",
5500
5500
  "parameters": [
5501
5501
  {
5502
5502
  "constant": false,
5503
- "id": 19892,
5503
+ "id": 19904,
5504
5504
  "mutability": "mutable",
5505
5505
  "name": "account",
5506
5506
  "nameLocation": "15266:7:46",
5507
5507
  "nodeType": "VariableDeclaration",
5508
- "scope": 19899,
5508
+ "scope": 19911,
5509
5509
  "src": "15258:15:46",
5510
5510
  "stateVariable": false,
5511
5511
  "storageLocation": "default",
@@ -5514,7 +5514,7 @@
5514
5514
  "typeString": "address"
5515
5515
  },
5516
5516
  "typeName": {
5517
- "id": 19891,
5517
+ "id": 19903,
5518
5518
  "name": "address",
5519
5519
  "nodeType": "ElementaryTypeName",
5520
5520
  "src": "15258:7:46",
@@ -5528,12 +5528,12 @@
5528
5528
  },
5529
5529
  {
5530
5530
  "constant": false,
5531
- "id": 19894,
5531
+ "id": 19906,
5532
5532
  "mutability": "mutable",
5533
5533
  "name": "spender",
5534
5534
  "nameLocation": "15291:7:46",
5535
5535
  "nodeType": "VariableDeclaration",
5536
- "scope": 19899,
5536
+ "scope": 19911,
5537
5537
  "src": "15283:15:46",
5538
5538
  "stateVariable": false,
5539
5539
  "storageLocation": "default",
@@ -5542,7 +5542,7 @@
5542
5542
  "typeString": "address"
5543
5543
  },
5544
5544
  "typeName": {
5545
- "id": 19893,
5545
+ "id": 19905,
5546
5546
  "name": "address",
5547
5547
  "nodeType": "ElementaryTypeName",
5548
5548
  "src": "15283:7:46",
@@ -5556,12 +5556,12 @@
5556
5556
  },
5557
5557
  {
5558
5558
  "constant": false,
5559
- "id": 19896,
5559
+ "id": 19908,
5560
5560
  "mutability": "mutable",
5561
5561
  "name": "amount",
5562
5562
  "nameLocation": "15316:6:46",
5563
5563
  "nodeType": "VariableDeclaration",
5564
- "scope": 19899,
5564
+ "scope": 19911,
5565
5565
  "src": "15308:14:46",
5566
5566
  "stateVariable": false,
5567
5567
  "storageLocation": "default",
@@ -5570,7 +5570,7 @@
5570
5570
  "typeString": "uint256"
5571
5571
  },
5572
5572
  "typeName": {
5573
- "id": 19895,
5573
+ "id": 19907,
5574
5574
  "name": "uint256",
5575
5575
  "nodeType": "ElementaryTypeName",
5576
5576
  "src": "15308:7:46",
@@ -5585,12 +5585,12 @@
5585
5585
  "src": "15248:80:46"
5586
5586
  },
5587
5587
  "returnParameters": {
5588
- "id": 19898,
5588
+ "id": 19910,
5589
5589
  "nodeType": "ParameterList",
5590
5590
  "parameters": [],
5591
5591
  "src": "15337:0:46"
5592
5592
  },
5593
- "scope": 19928,
5593
+ "scope": 19940,
5594
5594
  "src": "15223:115:46",
5595
5595
  "stateMutability": "nonpayable",
5596
5596
  "virtual": false,
@@ -5598,13 +5598,13 @@
5598
5598
  },
5599
5599
  {
5600
5600
  "documentation": {
5601
- "id": 19900,
5601
+ "id": 19912,
5602
5602
  "nodeType": "StructuredDocumentation",
5603
5603
  "src": "15344:344:46",
5604
5604
  "text": " @dev Perform ERC20 transfer from by host contract.\n @param account The account to spend sender's funds.\n @param spender The account where the funds is sent from.\n @param recipient The recipient of thefunds.\n @param amount Number of tokens to be transferred.\n @custom:modifiers \n - onlyHost"
5605
5605
  },
5606
5606
  "functionSelector": "16d055d6",
5607
- "id": 19911,
5607
+ "id": 19923,
5608
5608
  "implemented": false,
5609
5609
  "kind": "function",
5610
5610
  "modifiers": [],
@@ -5612,17 +5612,17 @@
5612
5612
  "nameLocation": "15702:21:46",
5613
5613
  "nodeType": "FunctionDefinition",
5614
5614
  "parameters": {
5615
- "id": 19909,
5615
+ "id": 19921,
5616
5616
  "nodeType": "ParameterList",
5617
5617
  "parameters": [
5618
5618
  {
5619
5619
  "constant": false,
5620
- "id": 19902,
5620
+ "id": 19914,
5621
5621
  "mutability": "mutable",
5622
5622
  "name": "account",
5623
5623
  "nameLocation": "15741:7:46",
5624
5624
  "nodeType": "VariableDeclaration",
5625
- "scope": 19911,
5625
+ "scope": 19923,
5626
5626
  "src": "15733:15:46",
5627
5627
  "stateVariable": false,
5628
5628
  "storageLocation": "default",
@@ -5631,7 +5631,7 @@
5631
5631
  "typeString": "address"
5632
5632
  },
5633
5633
  "typeName": {
5634
- "id": 19901,
5634
+ "id": 19913,
5635
5635
  "name": "address",
5636
5636
  "nodeType": "ElementaryTypeName",
5637
5637
  "src": "15733:7:46",
@@ -5645,12 +5645,12 @@
5645
5645
  },
5646
5646
  {
5647
5647
  "constant": false,
5648
- "id": 19904,
5648
+ "id": 19916,
5649
5649
  "mutability": "mutable",
5650
5650
  "name": "spender",
5651
5651
  "nameLocation": "15766:7:46",
5652
5652
  "nodeType": "VariableDeclaration",
5653
- "scope": 19911,
5653
+ "scope": 19923,
5654
5654
  "src": "15758:15:46",
5655
5655
  "stateVariable": false,
5656
5656
  "storageLocation": "default",
@@ -5659,7 +5659,7 @@
5659
5659
  "typeString": "address"
5660
5660
  },
5661
5661
  "typeName": {
5662
- "id": 19903,
5662
+ "id": 19915,
5663
5663
  "name": "address",
5664
5664
  "nodeType": "ElementaryTypeName",
5665
5665
  "src": "15758:7:46",
@@ -5673,12 +5673,12 @@
5673
5673
  },
5674
5674
  {
5675
5675
  "constant": false,
5676
- "id": 19906,
5676
+ "id": 19918,
5677
5677
  "mutability": "mutable",
5678
5678
  "name": "recipient",
5679
5679
  "nameLocation": "15791:9:46",
5680
5680
  "nodeType": "VariableDeclaration",
5681
- "scope": 19911,
5681
+ "scope": 19923,
5682
5682
  "src": "15783:17:46",
5683
5683
  "stateVariable": false,
5684
5684
  "storageLocation": "default",
@@ -5687,7 +5687,7 @@
5687
5687
  "typeString": "address"
5688
5688
  },
5689
5689
  "typeName": {
5690
- "id": 19905,
5690
+ "id": 19917,
5691
5691
  "name": "address",
5692
5692
  "nodeType": "ElementaryTypeName",
5693
5693
  "src": "15783:7:46",
@@ -5701,12 +5701,12 @@
5701
5701
  },
5702
5702
  {
5703
5703
  "constant": false,
5704
- "id": 19908,
5704
+ "id": 19920,
5705
5705
  "mutability": "mutable",
5706
5706
  "name": "amount",
5707
5707
  "nameLocation": "15818:6:46",
5708
5708
  "nodeType": "VariableDeclaration",
5709
- "scope": 19911,
5709
+ "scope": 19923,
5710
5710
  "src": "15810:14:46",
5711
5711
  "stateVariable": false,
5712
5712
  "storageLocation": "default",
@@ -5715,7 +5715,7 @@
5715
5715
  "typeString": "uint256"
5716
5716
  },
5717
5717
  "typeName": {
5718
- "id": 19907,
5718
+ "id": 19919,
5719
5719
  "name": "uint256",
5720
5720
  "nodeType": "ElementaryTypeName",
5721
5721
  "src": "15810:7:46",
@@ -5730,12 +5730,12 @@
5730
5730
  "src": "15723:107:46"
5731
5731
  },
5732
5732
  "returnParameters": {
5733
- "id": 19910,
5733
+ "id": 19922,
5734
5734
  "nodeType": "ParameterList",
5735
5735
  "parameters": [],
5736
5736
  "src": "15839:0:46"
5737
5737
  },
5738
- "scope": 19928,
5738
+ "scope": 19940,
5739
5739
  "src": "15693:147:46",
5740
5740
  "stateMutability": "nonpayable",
5741
5741
  "virtual": false,
@@ -5743,13 +5743,13 @@
5743
5743
  },
5744
5744
  {
5745
5745
  "documentation": {
5746
- "id": 19912,
5746
+ "id": 19924,
5747
5747
  "nodeType": "StructuredDocumentation",
5748
5748
  "src": "15846:233:46",
5749
5749
  "text": " @dev Upgrade ERC20 to SuperToken by host contract.\n @param account The account to be changed.\n @param amount Number of tokens to be upgraded (in 18 decimals)\n @custom:modifiers \n - onlyHost"
5750
5750
  },
5751
5751
  "functionSelector": "ca789464",
5752
- "id": 19919,
5752
+ "id": 19931,
5753
5753
  "implemented": false,
5754
5754
  "kind": "function",
5755
5755
  "modifiers": [],
@@ -5757,17 +5757,17 @@
5757
5757
  "nameLocation": "16093:16:46",
5758
5758
  "nodeType": "FunctionDefinition",
5759
5759
  "parameters": {
5760
- "id": 19917,
5760
+ "id": 19929,
5761
5761
  "nodeType": "ParameterList",
5762
5762
  "parameters": [
5763
5763
  {
5764
5764
  "constant": false,
5765
- "id": 19914,
5765
+ "id": 19926,
5766
5766
  "mutability": "mutable",
5767
5767
  "name": "account",
5768
5768
  "nameLocation": "16118:7:46",
5769
5769
  "nodeType": "VariableDeclaration",
5770
- "scope": 19919,
5770
+ "scope": 19931,
5771
5771
  "src": "16110:15:46",
5772
5772
  "stateVariable": false,
5773
5773
  "storageLocation": "default",
@@ -5776,7 +5776,7 @@
5776
5776
  "typeString": "address"
5777
5777
  },
5778
5778
  "typeName": {
5779
- "id": 19913,
5779
+ "id": 19925,
5780
5780
  "name": "address",
5781
5781
  "nodeType": "ElementaryTypeName",
5782
5782
  "src": "16110:7:46",
@@ -5790,12 +5790,12 @@
5790
5790
  },
5791
5791
  {
5792
5792
  "constant": false,
5793
- "id": 19916,
5793
+ "id": 19928,
5794
5794
  "mutability": "mutable",
5795
5795
  "name": "amount",
5796
5796
  "nameLocation": "16135:6:46",
5797
5797
  "nodeType": "VariableDeclaration",
5798
- "scope": 19919,
5798
+ "scope": 19931,
5799
5799
  "src": "16127:14:46",
5800
5800
  "stateVariable": false,
5801
5801
  "storageLocation": "default",
@@ -5804,7 +5804,7 @@
5804
5804
  "typeString": "uint256"
5805
5805
  },
5806
5806
  "typeName": {
5807
- "id": 19915,
5807
+ "id": 19927,
5808
5808
  "name": "uint256",
5809
5809
  "nodeType": "ElementaryTypeName",
5810
5810
  "src": "16127:7:46",
@@ -5819,12 +5819,12 @@
5819
5819
  "src": "16109:33:46"
5820
5820
  },
5821
5821
  "returnParameters": {
5822
- "id": 19918,
5822
+ "id": 19930,
5823
5823
  "nodeType": "ParameterList",
5824
5824
  "parameters": [],
5825
5825
  "src": "16151:0:46"
5826
5826
  },
5827
- "scope": 19928,
5827
+ "scope": 19940,
5828
5828
  "src": "16084:68:46",
5829
5829
  "stateMutability": "nonpayable",
5830
5830
  "virtual": false,
@@ -5832,13 +5832,13 @@
5832
5832
  },
5833
5833
  {
5834
5834
  "documentation": {
5835
- "id": 19920,
5835
+ "id": 19932,
5836
5836
  "nodeType": "StructuredDocumentation",
5837
5837
  "src": "16158:237:46",
5838
5838
  "text": " @dev Downgrade ERC20 to SuperToken by host contract.\n @param account The account to be changed.\n @param amount Number of tokens to be downgraded (in 18 decimals)\n @custom:modifiers \n - onlyHost"
5839
5839
  },
5840
5840
  "functionSelector": "245887fc",
5841
- "id": 19927,
5841
+ "id": 19939,
5842
5842
  "implemented": false,
5843
5843
  "kind": "function",
5844
5844
  "modifiers": [],
@@ -5846,17 +5846,17 @@
5846
5846
  "nameLocation": "16409:18:46",
5847
5847
  "nodeType": "FunctionDefinition",
5848
5848
  "parameters": {
5849
- "id": 19925,
5849
+ "id": 19937,
5850
5850
  "nodeType": "ParameterList",
5851
5851
  "parameters": [
5852
5852
  {
5853
5853
  "constant": false,
5854
- "id": 19922,
5854
+ "id": 19934,
5855
5855
  "mutability": "mutable",
5856
5856
  "name": "account",
5857
5857
  "nameLocation": "16436:7:46",
5858
5858
  "nodeType": "VariableDeclaration",
5859
- "scope": 19927,
5859
+ "scope": 19939,
5860
5860
  "src": "16428:15:46",
5861
5861
  "stateVariable": false,
5862
5862
  "storageLocation": "default",
@@ -5865,7 +5865,7 @@
5865
5865
  "typeString": "address"
5866
5866
  },
5867
5867
  "typeName": {
5868
- "id": 19921,
5868
+ "id": 19933,
5869
5869
  "name": "address",
5870
5870
  "nodeType": "ElementaryTypeName",
5871
5871
  "src": "16428:7:46",
@@ -5879,12 +5879,12 @@
5879
5879
  },
5880
5880
  {
5881
5881
  "constant": false,
5882
- "id": 19924,
5882
+ "id": 19936,
5883
5883
  "mutability": "mutable",
5884
5884
  "name": "amount",
5885
5885
  "nameLocation": "16453:6:46",
5886
5886
  "nodeType": "VariableDeclaration",
5887
- "scope": 19927,
5887
+ "scope": 19939,
5888
5888
  "src": "16445:14:46",
5889
5889
  "stateVariable": false,
5890
5890
  "storageLocation": "default",
@@ -5893,7 +5893,7 @@
5893
5893
  "typeString": "uint256"
5894
5894
  },
5895
5895
  "typeName": {
5896
- "id": 19923,
5896
+ "id": 19935,
5897
5897
  "name": "uint256",
5898
5898
  "nodeType": "ElementaryTypeName",
5899
5899
  "src": "16445:7:46",
@@ -5908,26 +5908,26 @@
5908
5908
  "src": "16427:33:46"
5909
5909
  },
5910
5910
  "returnParameters": {
5911
- "id": 19926,
5911
+ "id": 19938,
5912
5912
  "nodeType": "ParameterList",
5913
5913
  "parameters": [],
5914
5914
  "src": "16469:0:46"
5915
5915
  },
5916
- "scope": 19928,
5916
+ "scope": 19940,
5917
5917
  "src": "16400:70:46",
5918
5918
  "stateMutability": "nonpayable",
5919
5919
  "virtual": false,
5920
5920
  "visibility": "external"
5921
5921
  }
5922
5922
  ],
5923
- "scope": 19929,
5923
+ "scope": 19941,
5924
5924
  "src": "525:16475:46",
5925
5925
  "usedErrors": [
5926
- 19565,
5927
- 19567,
5928
- 19569,
5929
- 19571,
5930
- 19573
5926
+ 19577,
5927
+ 19579,
5928
+ 19581,
5929
+ 19583,
5930
+ 19585
5931
5931
  ]
5932
5932
  }
5933
5933
  ],
@@ -5939,7 +5939,7 @@
5939
5939
  },
5940
5940
  "networks": {},
5941
5941
  "schemaVersion": "3.4.9",
5942
- "updatedAt": "2022-09-05T13:33:18.732Z",
5942
+ "updatedAt": "2022-09-21T11:06:18.143Z",
5943
5943
  "devdoc": {
5944
5944
  "author": "Superfluid",
5945
5945
  "events": {