@superfluid-finance/ethereum-contracts 1.2.2-dev.a4c583c.0 → 1.2.2-dev.ec379f7.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 (114) 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 +18 -18
  5. package/build/contracts/AgreementLibrary.json +167 -167
  6. package/build/contracts/BaseRelayRecipient.json +55 -55
  7. package/build/contracts/BatchLiquidator.json +178 -178
  8. package/build/contracts/BatchOperation.json +599 -599
  9. package/build/contracts/CFAv1Library.json +257 -257
  10. package/build/contracts/CallUtils.json +198 -198
  11. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1501 -1501
  12. package/build/contracts/ConstantFlowAgreementV1.json +925 -925
  13. package/build/contracts/Context.json +1 -1
  14. package/build/contracts/ContextDefinitions.json +599 -599
  15. package/build/contracts/Create2.json +1 -1
  16. package/build/contracts/CustomSuperTokenBase.json +19 -19
  17. package/build/contracts/ERC165.json +1 -1
  18. package/build/contracts/ERC1820Implementer.json +1 -1
  19. package/build/contracts/ERC20.json +1 -1
  20. package/build/contracts/ERC20Burnable.json +1 -1
  21. package/build/contracts/ERC20Pausable.json +1 -1
  22. package/build/contracts/ERC20PresetMinterPauser.json +1 -1
  23. package/build/contracts/ERC20WithTokenInfo.json +23 -23
  24. package/build/contracts/ERC721.json +1 -1
  25. package/build/contracts/ERC777Helper.json +380 -380
  26. package/build/contracts/ERC777RecipientDrainingGas.json +855 -855
  27. package/build/contracts/ERC777RecipientReverting.json +855 -855
  28. package/build/contracts/EnumerableSet.json +1 -1
  29. package/build/contracts/ExclusiveInflowTestApp.json +1501 -1501
  30. package/build/contracts/FixedSizeData.json +200 -200
  31. package/build/contracts/FlowExchangeTestApp.json +1502 -1502
  32. package/build/contracts/FlowOperatorDefinitions.json +599 -599
  33. package/build/contracts/FullUpgradableSuperTokenProxy.json +113 -113
  34. package/build/contracts/IAccessControl.json +1 -1
  35. package/build/contracts/IAccessControlEnumerable.json +1 -1
  36. package/build/contracts/IConstantFlowAgreementV1.json +567 -567
  37. package/build/contracts/IDAv1Library.json +398 -398
  38. package/build/contracts/IERC165.json +1 -1
  39. package/build/contracts/IERC1820Implementer.json +1 -1
  40. package/build/contracts/IERC1820Registry.json +1 -1
  41. package/build/contracts/IERC20.json +1 -1
  42. package/build/contracts/IERC20Metadata.json +1 -1
  43. package/build/contracts/IERC721.json +1 -1
  44. package/build/contracts/IERC721Metadata.json +1 -1
  45. package/build/contracts/IERC721Receiver.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 +640 -640
  50. package/build/contracts/IMaticBridgedNativeSuperToken.json +62 -62
  51. package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +62 -62
  52. package/build/contracts/IMultiSigWallet.json +24 -24
  53. package/build/contracts/IPureSuperToken.json +42 -42
  54. package/build/contracts/IPureSuperTokenCustom.json +42 -42
  55. package/build/contracts/IRelayRecipient.json +27 -27
  56. package/build/contracts/IResolver.json +38 -38
  57. package/build/contracts/ISETH.json +47 -47
  58. package/build/contracts/ISETHCustom.json +47 -47
  59. package/build/contracts/ISuperAgreement.json +50 -50
  60. package/build/contracts/ISuperApp.json +191 -191
  61. package/build/contracts/ISuperToken.json +523 -523
  62. package/build/contracts/ISuperTokenFactory.json +160 -160
  63. package/build/contracts/ISuperfluid.json +829 -829
  64. package/build/contracts/ISuperfluidGovernance.json +242 -242
  65. package/build/contracts/ISuperfluidToken.json +389 -389
  66. package/build/contracts/ITOGAv1.json +1431 -1431
  67. package/build/contracts/ITOGAv2.json +1431 -1431
  68. package/build/contracts/Initializable.json +1 -1
  69. package/build/contracts/InstantDistributionAgreementV1.json +577 -577
  70. package/build/contracts/Int96SafeMath.json +281 -281
  71. package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +228 -228
  72. package/build/contracts/NonClosableOutflowTestApp.json +1502 -1502
  73. package/build/contracts/Ownable.json +1 -1
  74. package/build/contracts/Pausable.json +1 -1
  75. package/build/contracts/Proxy.json +1 -1
  76. package/build/contracts/PureSuperToken.json +106 -106
  77. package/build/contracts/Resolver.json +98 -98
  78. package/build/contracts/SETHProxy.json +224 -224
  79. package/build/contracts/SafeCast.json +1 -1
  80. package/build/contracts/SafeERC20.json +1 -1
  81. package/build/contracts/SafeMath.json +1 -1
  82. package/build/contracts/SelfDeletingFlowTestApp.json +1501 -1501
  83. package/build/contracts/SlotsBitmapLibrary.json +441 -441
  84. package/build/contracts/Strings.json +1 -1
  85. package/build/contracts/SuperAppBase.json +42 -42
  86. package/build/contracts/SuperAppDefinitions.json +599 -599
  87. package/build/contracts/SuperToken.json +2350 -2350
  88. package/build/contracts/SuperTokenFactory.json +731 -731
  89. package/build/contracts/SuperTokenFactoryBase.json +721 -721
  90. package/build/contracts/SuperTokenFactoryHelper.json +724 -724
  91. package/build/contracts/SuperUpgrader.json +437 -437
  92. package/build/contracts/Superfluid.json +9812 -10169
  93. package/build/contracts/SuperfluidFrameworkDeployer.json +490 -490
  94. package/build/contracts/SuperfluidGovernanceBase.json +1769 -2087
  95. package/build/contracts/SuperfluidGovernanceConfigs.json +599 -599
  96. package/build/contracts/SuperfluidGovernanceII.json +2015 -2265
  97. package/build/contracts/SuperfluidGovernanceIIProxy.json +131 -131
  98. package/build/contracts/SuperfluidLoader.json +207 -207
  99. package/build/contracts/SuperfluidToken.json +1345 -1345
  100. package/build/contracts/TOGA.json +1448 -1448
  101. package/build/contracts/TestGovernance.json +2192 -2442
  102. package/build/contracts/TestToken.json +94 -94
  103. package/build/contracts/TokenCustodian.json +214 -214
  104. package/build/contracts/TokenInfo.json +32 -32
  105. package/build/contracts/UInt128SafeMath.json +97 -97
  106. package/build/contracts/UUPSProxiable.json +132 -132
  107. package/build/contracts/UUPSProxy.json +81 -81
  108. package/build/contracts/UUPSUtils.json +37 -37
  109. package/build/contracts-sizes.txt +2 -2
  110. package/contracts/gov/SuperfluidGovernanceBase.sol +9 -26
  111. package/contracts/mocks/SuperfluidMock.sol +2 -2
  112. package/contracts/superfluid/Superfluid.sol +5 -10
  113. package/package.json +1 -1
  114. package/scripts/gov-create-new-app-registration-key.js +26 -3
@@ -1642,21 +1642,21 @@
1642
1642
  "absolutePath": "project:/contracts/interfaces/tokens/IMaticBridgedNativeSuperToken.sol",
1643
1643
  "exportedSymbols": {
1644
1644
  "IMaticBridgedNativeSuperToken": [
1645
- 19470
1645
+ 19448
1646
1646
  ],
1647
1647
  "IMaticBridgedNativeSuperTokenCustom": [
1648
- 19464
1648
+ 19442
1649
1649
  ],
1650
1650
  "ISuperToken": [
1651
- 18461
1651
+ 18439
1652
1652
  ]
1653
1653
  },
1654
- "id": 19471,
1654
+ "id": 19449,
1655
1655
  "license": "AGPLv3",
1656
1656
  "nodeType": "SourceUnit",
1657
1657
  "nodes": [
1658
1658
  {
1659
- "id": 19435,
1659
+ "id": 19413,
1660
1660
  "literals": [
1661
1661
  "solidity",
1662
1662
  ">=",
@@ -1669,20 +1669,20 @@
1669
1669
  {
1670
1670
  "absolutePath": "project:/contracts/interfaces/superfluid/ISuperToken.sol",
1671
1671
  "file": "../superfluid/ISuperToken.sol",
1672
- "id": 19437,
1672
+ "id": 19415,
1673
1673
  "nameLocation": "-1:-1:-1",
1674
1674
  "nodeType": "ImportDirective",
1675
- "scope": 19471,
1676
- "sourceUnit": 18462,
1675
+ "scope": 19449,
1676
+ "sourceUnit": 18440,
1677
1677
  "src": "62:60:55",
1678
1678
  "symbolAliases": [
1679
1679
  {
1680
1680
  "foreign": {
1681
- "id": 19436,
1681
+ "id": 19414,
1682
1682
  "name": "ISuperToken",
1683
1683
  "nodeType": "Identifier",
1684
1684
  "overloadedDeclarations": [],
1685
- "referencedDeclaration": 18461,
1685
+ "referencedDeclaration": 18439,
1686
1686
  "src": "71:11:55",
1687
1687
  "typeDescriptions": {}
1688
1688
  },
@@ -1698,15 +1698,15 @@
1698
1698
  "contractDependencies": [],
1699
1699
  "contractKind": "interface",
1700
1700
  "documentation": {
1701
- "id": 19438,
1701
+ "id": 19416,
1702
1702
  "nodeType": "StructuredDocumentation",
1703
1703
  "src": "124:157:55",
1704
1704
  "text": " @title Matic Bridged Native SuperToken Custom interface\n @author Superfluid\n @dev Functionality specific for Matic Bridged Native Super Tokens"
1705
1705
  },
1706
1706
  "fullyImplemented": false,
1707
- "id": 19464,
1707
+ "id": 19442,
1708
1708
  "linearizedBaseContracts": [
1709
- 19464
1709
+ 19442
1710
1710
  ],
1711
1711
  "name": "IMaticBridgedNativeSuperTokenCustom",
1712
1712
  "nameLocation": "292:35:55",
@@ -1714,13 +1714,13 @@
1714
1714
  "nodes": [
1715
1715
  {
1716
1716
  "documentation": {
1717
- "id": 19439,
1717
+ "id": 19417,
1718
1718
  "nodeType": "StructuredDocumentation",
1719
1719
  "src": "334:88:55",
1720
1720
  "text": "@dev triggers minting of tokens to the given user, called by the child chain manager"
1721
1721
  },
1722
1722
  "functionSelector": "cf2c52cb",
1723
- "id": 19446,
1723
+ "id": 19424,
1724
1724
  "implemented": false,
1725
1725
  "kind": "function",
1726
1726
  "modifiers": [],
@@ -1728,17 +1728,17 @@
1728
1728
  "nameLocation": "436:7:55",
1729
1729
  "nodeType": "FunctionDefinition",
1730
1730
  "parameters": {
1731
- "id": 19444,
1731
+ "id": 19422,
1732
1732
  "nodeType": "ParameterList",
1733
1733
  "parameters": [
1734
1734
  {
1735
1735
  "constant": false,
1736
- "id": 19441,
1736
+ "id": 19419,
1737
1737
  "mutability": "mutable",
1738
1738
  "name": "user",
1739
1739
  "nameLocation": "452:4:55",
1740
1740
  "nodeType": "VariableDeclaration",
1741
- "scope": 19446,
1741
+ "scope": 19424,
1742
1742
  "src": "444:12:55",
1743
1743
  "stateVariable": false,
1744
1744
  "storageLocation": "default",
@@ -1747,7 +1747,7 @@
1747
1747
  "typeString": "address"
1748
1748
  },
1749
1749
  "typeName": {
1750
- "id": 19440,
1750
+ "id": 19418,
1751
1751
  "name": "address",
1752
1752
  "nodeType": "ElementaryTypeName",
1753
1753
  "src": "444:7:55",
@@ -1761,12 +1761,12 @@
1761
1761
  },
1762
1762
  {
1763
1763
  "constant": false,
1764
- "id": 19443,
1764
+ "id": 19421,
1765
1765
  "mutability": "mutable",
1766
1766
  "name": "depositData",
1767
1767
  "nameLocation": "473:11:55",
1768
1768
  "nodeType": "VariableDeclaration",
1769
- "scope": 19446,
1769
+ "scope": 19424,
1770
1770
  "src": "458:26:55",
1771
1771
  "stateVariable": false,
1772
1772
  "storageLocation": "calldata",
@@ -1775,7 +1775,7 @@
1775
1775
  "typeString": "bytes"
1776
1776
  },
1777
1777
  "typeName": {
1778
- "id": 19442,
1778
+ "id": 19420,
1779
1779
  "name": "bytes",
1780
1780
  "nodeType": "ElementaryTypeName",
1781
1781
  "src": "458:5:55",
@@ -1790,12 +1790,12 @@
1790
1790
  "src": "443:42:55"
1791
1791
  },
1792
1792
  "returnParameters": {
1793
- "id": 19445,
1793
+ "id": 19423,
1794
1794
  "nodeType": "ParameterList",
1795
1795
  "parameters": [],
1796
1796
  "src": "494:0:55"
1797
1797
  },
1798
- "scope": 19464,
1798
+ "scope": 19442,
1799
1799
  "src": "427:68:55",
1800
1800
  "stateMutability": "nonpayable",
1801
1801
  "virtual": false,
@@ -1803,13 +1803,13 @@
1803
1803
  },
1804
1804
  {
1805
1805
  "documentation": {
1806
- "id": 19447,
1806
+ "id": 19425,
1807
1807
  "nodeType": "StructuredDocumentation",
1808
1808
  "src": "501:74:55",
1809
1809
  "text": "@dev triggers burning of tokens on the child chain and unlocking on L1"
1810
1810
  },
1811
1811
  "functionSelector": "2e1a7d4d",
1812
- "id": 19452,
1812
+ "id": 19430,
1813
1813
  "implemented": false,
1814
1814
  "kind": "function",
1815
1815
  "modifiers": [],
@@ -1817,17 +1817,17 @@
1817
1817
  "nameLocation": "589:8:55",
1818
1818
  "nodeType": "FunctionDefinition",
1819
1819
  "parameters": {
1820
- "id": 19450,
1820
+ "id": 19428,
1821
1821
  "nodeType": "ParameterList",
1822
1822
  "parameters": [
1823
1823
  {
1824
1824
  "constant": false,
1825
- "id": 19449,
1825
+ "id": 19427,
1826
1826
  "mutability": "mutable",
1827
1827
  "name": "amount",
1828
1828
  "nameLocation": "606:6:55",
1829
1829
  "nodeType": "VariableDeclaration",
1830
- "scope": 19452,
1830
+ "scope": 19430,
1831
1831
  "src": "598:14:55",
1832
1832
  "stateVariable": false,
1833
1833
  "storageLocation": "default",
@@ -1836,7 +1836,7 @@
1836
1836
  "typeString": "uint256"
1837
1837
  },
1838
1838
  "typeName": {
1839
- "id": 19448,
1839
+ "id": 19426,
1840
1840
  "name": "uint256",
1841
1841
  "nodeType": "ElementaryTypeName",
1842
1842
  "src": "598:7:55",
@@ -1851,12 +1851,12 @@
1851
1851
  "src": "597:16:55"
1852
1852
  },
1853
1853
  "returnParameters": {
1854
- "id": 19451,
1854
+ "id": 19429,
1855
1855
  "nodeType": "ParameterList",
1856
1856
  "parameters": [],
1857
1857
  "src": "622:0:55"
1858
1858
  },
1859
- "scope": 19464,
1859
+ "scope": 19442,
1860
1860
  "src": "580:43:55",
1861
1861
  "stateMutability": "nonpayable",
1862
1862
  "virtual": false,
@@ -1864,13 +1864,13 @@
1864
1864
  },
1865
1865
  {
1866
1866
  "documentation": {
1867
- "id": 19453,
1867
+ "id": 19431,
1868
1868
  "nodeType": "StructuredDocumentation",
1869
1869
  "src": "629:54:55",
1870
1870
  "text": "@dev governance can change the child chain manager"
1871
1871
  },
1872
1872
  "functionSelector": "445a6797",
1873
- "id": 19458,
1873
+ "id": 19436,
1874
1874
  "implemented": false,
1875
1875
  "kind": "function",
1876
1876
  "modifiers": [],
@@ -1878,17 +1878,17 @@
1878
1878
  "nameLocation": "697:23:55",
1879
1879
  "nodeType": "FunctionDefinition",
1880
1880
  "parameters": {
1881
- "id": 19456,
1881
+ "id": 19434,
1882
1882
  "nodeType": "ParameterList",
1883
1883
  "parameters": [
1884
1884
  {
1885
1885
  "constant": false,
1886
- "id": 19455,
1886
+ "id": 19433,
1887
1887
  "mutability": "mutable",
1888
1888
  "name": "newChildChainManager",
1889
1889
  "nameLocation": "729:20:55",
1890
1890
  "nodeType": "VariableDeclaration",
1891
- "scope": 19458,
1891
+ "scope": 19436,
1892
1892
  "src": "721:28:55",
1893
1893
  "stateVariable": false,
1894
1894
  "storageLocation": "default",
@@ -1897,7 +1897,7 @@
1897
1897
  "typeString": "address"
1898
1898
  },
1899
1899
  "typeName": {
1900
- "id": 19454,
1900
+ "id": 19432,
1901
1901
  "name": "address",
1902
1902
  "nodeType": "ElementaryTypeName",
1903
1903
  "src": "721:7:55",
@@ -1913,12 +1913,12 @@
1913
1913
  "src": "720:30:55"
1914
1914
  },
1915
1915
  "returnParameters": {
1916
- "id": 19457,
1916
+ "id": 19435,
1917
1917
  "nodeType": "ParameterList",
1918
1918
  "parameters": [],
1919
1919
  "src": "759:0:55"
1920
1920
  },
1921
- "scope": 19464,
1921
+ "scope": 19442,
1922
1922
  "src": "688:72:55",
1923
1923
  "stateMutability": "nonpayable",
1924
1924
  "virtual": false,
@@ -1927,29 +1927,29 @@
1927
1927
  {
1928
1928
  "anonymous": false,
1929
1929
  "documentation": {
1930
- "id": 19459,
1930
+ "id": 19437,
1931
1931
  "nodeType": "StructuredDocumentation",
1932
1932
  "src": "766:53:55",
1933
1933
  "text": "@dev emitted when the child chain manager changes"
1934
1934
  },
1935
1935
  "eventSelector": "88ba5221dde9ab86adbd4dee937ed51febc94c1052c203da3aabe4034a9273f5",
1936
- "id": 19463,
1936
+ "id": 19441,
1937
1937
  "name": "ChildChainManagerChanged",
1938
1938
  "nameLocation": "830:24:55",
1939
1939
  "nodeType": "EventDefinition",
1940
1940
  "parameters": {
1941
- "id": 19462,
1941
+ "id": 19440,
1942
1942
  "nodeType": "ParameterList",
1943
1943
  "parameters": [
1944
1944
  {
1945
1945
  "constant": false,
1946
- "id": 19461,
1946
+ "id": 19439,
1947
1947
  "indexed": false,
1948
1948
  "mutability": "mutable",
1949
1949
  "name": "newAddress",
1950
1950
  "nameLocation": "863:10:55",
1951
1951
  "nodeType": "VariableDeclaration",
1952
- "scope": 19463,
1952
+ "scope": 19441,
1953
1953
  "src": "855:18:55",
1954
1954
  "stateVariable": false,
1955
1955
  "storageLocation": "default",
@@ -1958,7 +1958,7 @@
1958
1958
  "typeString": "address"
1959
1959
  },
1960
1960
  "typeName": {
1961
- "id": 19460,
1961
+ "id": 19438,
1962
1962
  "name": "address",
1963
1963
  "nodeType": "ElementaryTypeName",
1964
1964
  "src": "855:7:55",
@@ -1976,7 +1976,7 @@
1976
1976
  "src": "824:51:55"
1977
1977
  }
1978
1978
  ],
1979
- "scope": 19471,
1979
+ "scope": 19449,
1980
1980
  "src": "282:595:55",
1981
1981
  "usedErrors": []
1982
1982
  },
@@ -1985,25 +1985,25 @@
1985
1985
  "baseContracts": [
1986
1986
  {
1987
1987
  "baseName": {
1988
- "id": 19466,
1988
+ "id": 19444,
1989
1989
  "name": "IMaticBridgedNativeSuperTokenCustom",
1990
1990
  "nodeType": "IdentifierPath",
1991
- "referencedDeclaration": 19464,
1991
+ "referencedDeclaration": 19442,
1992
1992
  "src": "1007:35:55"
1993
1993
  },
1994
- "id": 19467,
1994
+ "id": 19445,
1995
1995
  "nodeType": "InheritanceSpecifier",
1996
1996
  "src": "1007:35:55"
1997
1997
  },
1998
1998
  {
1999
1999
  "baseName": {
2000
- "id": 19468,
2000
+ "id": 19446,
2001
2001
  "name": "ISuperToken",
2002
2002
  "nodeType": "IdentifierPath",
2003
- "referencedDeclaration": 18461,
2003
+ "referencedDeclaration": 18439,
2004
2004
  "src": "1044:11:55"
2005
2005
  },
2006
- "id": 19469,
2006
+ "id": 19447,
2007
2007
  "nodeType": "InheritanceSpecifier",
2008
2008
  "src": "1044:11:55"
2009
2009
  }
@@ -2012,27 +2012,27 @@
2012
2012
  "contractDependencies": [],
2013
2013
  "contractKind": "interface",
2014
2014
  "documentation": {
2015
- "id": 19465,
2015
+ "id": 19443,
2016
2016
  "nodeType": "StructuredDocumentation",
2017
2017
  "src": "879:84:55",
2018
2018
  "text": " @dev Matic Bridged Native SuperToken full interface\n @author Superfluid"
2019
2019
  },
2020
2020
  "fullyImplemented": false,
2021
- "id": 19470,
2021
+ "id": 19448,
2022
2022
  "linearizedBaseContracts": [
2023
- 19470,
2024
- 18461,
2023
+ 19448,
2024
+ 18439,
2025
2025
  3172,
2026
2026
  1520,
2027
- 19538,
2028
- 19421,
2029
- 19464
2027
+ 19516,
2028
+ 19399,
2029
+ 19442
2030
2030
  ],
2031
2031
  "name": "IMaticBridgedNativeSuperToken",
2032
2032
  "nameLocation": "974:29:55",
2033
2033
  "nodeType": "ContractDefinition",
2034
2034
  "nodes": [],
2035
- "scope": 19471,
2035
+ "scope": 19449,
2036
2036
  "src": "964:94:55",
2037
2037
  "usedErrors": []
2038
2038
  }
@@ -2045,7 +2045,7 @@
2045
2045
  },
2046
2046
  "networks": {},
2047
2047
  "schemaVersion": "3.4.7",
2048
- "updatedAt": "2022-05-05T13:57:31.273Z",
2048
+ "updatedAt": "2022-05-06T12:43:05.451Z",
2049
2049
  "devdoc": {
2050
2050
  "author": "Superfluid",
2051
2051
  "details": "Matic Bridged Native SuperToken full interface",