@superfluid-finance/ethereum-contracts 1.3.2-dev.bf84335.0 → 1.3.2-dev.ccb1898.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 (122) 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 +1272 -1183
  6. package/build/contracts/BaseRelayRecipient.json +55 -55
  7. package/build/contracts/BatchLiquidator.json +211 -211
  8. package/build/contracts/BatchOperation.json +599 -599
  9. package/build/contracts/CFAv1Library.json +2282 -2282
  10. package/build/contracts/CallUtils.json +198 -198
  11. package/build/contracts/ClosingOnUpdateFlowTestApp.json +2472 -2472
  12. package/build/contracts/ConstantFlowAgreementV1.json +12931 -13308
  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 +20 -20
  17. package/build/contracts/ERC165.json +1 -1
  18. package/build/contracts/ERC1820Implementer.json +1 -1
  19. package/build/contracts/ERC1820RegistryCompiled.json +22 -22
  20. package/build/contracts/ERC20.json +1 -1
  21. package/build/contracts/ERC20Burnable.json +1 -1
  22. package/build/contracts/ERC20Pausable.json +1 -1
  23. package/build/contracts/ERC20PresetMinterPauser.json +1 -1
  24. package/build/contracts/ERC20WithTokenInfo.json +23 -23
  25. package/build/contracts/ERC777Helper.json +380 -380
  26. package/build/contracts/ERC777RecipientDrainingGas.json +858 -858
  27. package/build/contracts/ERC777RecipientReverting.json +858 -858
  28. package/build/contracts/EnumerableSet.json +1 -1
  29. package/build/contracts/EventsEmitter.json +43 -43
  30. package/build/contracts/ExclusiveInflowTestApp.json +2473 -2473
  31. package/build/contracts/FixedSizeData.json +200 -200
  32. package/build/contracts/FlowExchangeTestApp.json +2473 -2473
  33. package/build/contracts/FlowOperatorDefinitions.json +599 -599
  34. package/build/contracts/FullUpgradableSuperTokenProxy.json +115 -115
  35. package/build/contracts/IAccessControl.json +1 -1
  36. package/build/contracts/IAccessControlEnumerable.json +1 -1
  37. package/build/contracts/IConstantFlowAgreementV1.json +567 -567
  38. package/build/contracts/IDAv1Library.json +2614 -2614
  39. package/build/contracts/IERC165.json +1 -1
  40. package/build/contracts/IERC1820Implementer.json +1 -1
  41. package/build/contracts/IERC1820Registry.json +1 -1
  42. package/build/contracts/IERC20.json +1 -1
  43. package/build/contracts/IERC20Metadata.json +1 -1
  44. package/build/contracts/IERC20Permit.json +1 -1
  45. package/build/contracts/IERC777.json +1 -1
  46. package/build/contracts/IERC777Recipient.json +1 -1
  47. package/build/contracts/IERC777Sender.json +1 -1
  48. package/build/contracts/IInstantDistributionAgreementV1.json +640 -640
  49. package/build/contracts/IMaticBridgedNativeSuperToken.json +63 -63
  50. package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +63 -63
  51. package/build/contracts/IMultiSigWallet.json +24 -24
  52. package/build/contracts/IPureSuperToken.json +43 -43
  53. package/build/contracts/IPureSuperTokenCustom.json +43 -43
  54. package/build/contracts/IRelayRecipient.json +27 -27
  55. package/build/contracts/IResolver.json +38 -38
  56. package/build/contracts/ISETH.json +48 -48
  57. package/build/contracts/ISETHCustom.json +48 -48
  58. package/build/contracts/ISuperAgreement.json +50 -50
  59. package/build/contracts/ISuperApp.json +192 -192
  60. package/build/contracts/ISuperToken.json +524 -524
  61. package/build/contracts/ISuperTokenFactory.json +161 -161
  62. package/build/contracts/ISuperfluid.json +1145 -1178
  63. package/build/contracts/ISuperfluidGovernance.json +243 -243
  64. package/build/contracts/ISuperfluidToken.json +389 -389
  65. package/build/contracts/ITOGAv1.json +1442 -1442
  66. package/build/contracts/ITOGAv2.json +1442 -1442
  67. package/build/contracts/Initializable.json +1 -1
  68. package/build/contracts/InstantDistributionAgreementV1.json +5820 -5820
  69. package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +231 -231
  70. package/build/contracts/NonClosableOutflowTestApp.json +2473 -2473
  71. package/build/contracts/Ownable.json +1 -1
  72. package/build/contracts/Pausable.json +1 -1
  73. package/build/contracts/Proxy.json +1 -1
  74. package/build/contracts/PureSuperToken.json +109 -109
  75. package/build/contracts/Resolver.json +98 -98
  76. package/build/contracts/SETHProxy.json +227 -227
  77. package/build/contracts/SafeCast.json +1 -1
  78. package/build/contracts/SafeERC20.json +1 -1
  79. package/build/contracts/SafeMath.json +1 -1
  80. package/build/contracts/SelfDeletingFlowTestApp.json +2472 -2472
  81. package/build/contracts/SlotsBitmapLibrary.json +457 -457
  82. package/build/contracts/StreamRedirector.json +748 -748
  83. package/build/contracts/Strings.json +1 -1
  84. package/build/contracts/SuperAppBase.json +240 -240
  85. package/build/contracts/SuperAppDefinitions.json +599 -599
  86. package/build/contracts/SuperToken.json +4732 -4732
  87. package/build/contracts/SuperTokenFactory.json +750 -750
  88. package/build/contracts/SuperTokenFactoryBase.json +738 -738
  89. package/build/contracts/SuperTokenFactoryHelper.json +743 -743
  90. package/build/contracts/SuperUpgrader.json +440 -440
  91. package/build/contracts/Superfluid.json +15366 -16050
  92. package/build/contracts/SuperfluidFrameworkDeployer.json +765 -765
  93. package/build/contracts/SuperfluidGovernanceBase.json +2233 -2233
  94. package/build/contracts/SuperfluidGovernanceConfigs.json +599 -599
  95. package/build/contracts/SuperfluidGovernanceII.json +149 -149
  96. package/build/contracts/SuperfluidGovernanceIIProxy.json +131 -131
  97. package/build/contracts/SuperfluidLoader.json +210 -210
  98. package/build/contracts/SuperfluidToken.json +2420 -2420
  99. package/build/contracts/TOGA.json +1461 -1461
  100. package/build/contracts/TestGovernance.json +248 -248
  101. package/build/contracts/TestToken.json +93 -93
  102. package/build/contracts/TokenCustodian.json +214 -214
  103. package/build/contracts/TokenInfo.json +32 -32
  104. package/build/contracts/UUPSProxiable.json +139 -139
  105. package/build/contracts/UUPSProxy.json +81 -81
  106. package/build/contracts/UUPSUtils.json +37 -37
  107. package/build/contracts-sizes.txt +6 -6
  108. package/contracts/agreements/AgreementLibrary.sol +39 -15
  109. package/contracts/agreements/ConstantFlowAgreementV1.sol +65 -53
  110. package/contracts/interfaces/superfluid/ISuperfluid.sol +29 -23
  111. package/contracts/mocks/AgreementMock.sol +2 -2
  112. package/contracts/mocks/CFAAppMocks.sol +1 -1
  113. package/contracts/mocks/MultiFlowTesterApp.sol +13 -12
  114. package/contracts/mocks/SuperTokenMock.sol +2 -2
  115. package/contracts/mocks/SuperfluidMock.sol +9 -9
  116. package/contracts/superfluid/Superfluid.sol +34 -38
  117. package/contracts/superfluid/SuperfluidToken.sol +14 -14
  118. package/package.json +2 -2
  119. package/scripts/deploy-mfa.ts +27 -0
  120. package/scripts/libs/getConfig.js +14 -0
  121. package/utils/README.md +18 -0
  122. package/utils/mfa-tester.html +687 -0
@@ -6505,15 +6505,15 @@
6505
6505
  1552
6506
6506
  ],
6507
6507
  "TestToken": [
6508
- 39143
6508
+ 39135
6509
6509
  ]
6510
6510
  },
6511
- "id": 39144,
6511
+ "id": 39136,
6512
6512
  "license": "AGPLv3",
6513
6513
  "nodeType": "SourceUnit",
6514
6514
  "nodes": [
6515
6515
  {
6516
- "id": 39079,
6516
+ "id": 39071,
6517
6517
  "literals": [
6518
6518
  "solidity",
6519
6519
  "0.8",
@@ -6525,16 +6525,16 @@
6525
6525
  {
6526
6526
  "absolutePath": "@openzeppelin/contracts/token/ERC20/ERC20.sol",
6527
6527
  "file": "@openzeppelin/contracts/token/ERC20/ERC20.sol",
6528
- "id": 39081,
6528
+ "id": 39073,
6529
6529
  "nameLocation": "-1:-1:-1",
6530
6530
  "nodeType": "ImportDirective",
6531
- "scope": 39144,
6531
+ "scope": 39136,
6532
6532
  "sourceUnit": 1553,
6533
6533
  "src": "60:70:105",
6534
6534
  "symbolAliases": [
6535
6535
  {
6536
6536
  "foreign": {
6537
- "id": 39080,
6537
+ "id": 39072,
6538
6538
  "name": "ERC20",
6539
6539
  "nodeType": "Identifier",
6540
6540
  "overloadedDeclarations": [],
@@ -6552,13 +6552,13 @@
6552
6552
  "baseContracts": [
6553
6553
  {
6554
6554
  "baseName": {
6555
- "id": 39083,
6555
+ "id": 39075,
6556
6556
  "name": "ERC20",
6557
6557
  "nodeType": "IdentifierPath",
6558
6558
  "referencedDeclaration": 1552,
6559
6559
  "src": "276:5:105"
6560
6560
  },
6561
- "id": 39084,
6561
+ "id": 39076,
6562
6562
  "nodeType": "InheritanceSpecifier",
6563
6563
  "src": "276:5:105"
6564
6564
  }
@@ -6567,15 +6567,15 @@
6567
6567
  "contractDependencies": [],
6568
6568
  "contractKind": "contract",
6569
6569
  "documentation": {
6570
- "id": 39082,
6570
+ "id": 39074,
6571
6571
  "nodeType": "StructuredDocumentation",
6572
6572
  "src": "132:121:105",
6573
6573
  "text": " @title Test token contract\n @author Superfluid\n @dev Test ERC20 token that allows any one mint new tokens."
6574
6574
  },
6575
6575
  "fullyImplemented": true,
6576
- "id": 39143,
6576
+ "id": 39135,
6577
6577
  "linearizedBaseContracts": [
6578
- 39143,
6578
+ 39135,
6579
6579
  1552,
6580
6580
  1736,
6581
6581
  1630,
@@ -6588,12 +6588,12 @@
6588
6588
  {
6589
6589
  "constant": true,
6590
6590
  "functionSelector": "02775240",
6591
- "id": 39087,
6591
+ "id": 39079,
6592
6592
  "mutability": "constant",
6593
6593
  "name": "MINT_LIMIT",
6594
6594
  "nameLocation": "313:10:105",
6595
6595
  "nodeType": "VariableDeclaration",
6596
- "scope": 39143,
6596
+ "scope": 39135,
6597
6597
  "src": "289:47:105",
6598
6598
  "stateVariable": true,
6599
6599
  "storageLocation": "default",
@@ -6602,7 +6602,7 @@
6602
6602
  "typeString": "uint256"
6603
6603
  },
6604
6604
  "typeName": {
6605
- "id": 39085,
6605
+ "id": 39077,
6606
6606
  "name": "uint256",
6607
6607
  "nodeType": "ElementaryTypeName",
6608
6608
  "src": "289:7:105",
@@ -6613,7 +6613,7 @@
6613
6613
  },
6614
6614
  "value": {
6615
6615
  "hexValue": "31653132",
6616
- "id": 39086,
6616
+ "id": 39078,
6617
6617
  "isConstant": false,
6618
6618
  "isLValue": false,
6619
6619
  "isPure": true,
@@ -6632,12 +6632,12 @@
6632
6632
  },
6633
6633
  {
6634
6634
  "constant": false,
6635
- "id": 39089,
6635
+ "id": 39081,
6636
6636
  "mutability": "mutable",
6637
6637
  "name": "_decimals",
6638
6638
  "nameLocation": "356:9:105",
6639
6639
  "nodeType": "VariableDeclaration",
6640
- "scope": 39143,
6640
+ "scope": 39135,
6641
6641
  "src": "342:23:105",
6642
6642
  "stateVariable": true,
6643
6643
  "storageLocation": "default",
@@ -6646,7 +6646,7 @@
6646
6646
  "typeString": "uint8"
6647
6647
  },
6648
6648
  "typeName": {
6649
- "id": 39088,
6649
+ "id": 39080,
6650
6650
  "name": "uint8",
6651
6651
  "nodeType": "ElementaryTypeName",
6652
6652
  "src": "342:5:105",
@@ -6659,23 +6659,23 @@
6659
6659
  },
6660
6660
  {
6661
6661
  "body": {
6662
- "id": 39106,
6662
+ "id": 39098,
6663
6663
  "nodeType": "Block",
6664
6664
  "src": "478:41:105",
6665
6665
  "statements": [
6666
6666
  {
6667
6667
  "expression": {
6668
- "id": 39104,
6668
+ "id": 39096,
6669
6669
  "isConstant": false,
6670
6670
  "isLValue": false,
6671
6671
  "isPure": false,
6672
6672
  "lValueRequested": false,
6673
6673
  "leftHandSide": {
6674
- "id": 39102,
6674
+ "id": 39094,
6675
6675
  "name": "_decimals",
6676
6676
  "nodeType": "Identifier",
6677
6677
  "overloadedDeclarations": [],
6678
- "referencedDeclaration": 39089,
6678
+ "referencedDeclaration": 39081,
6679
6679
  "src": "488:9:105",
6680
6680
  "typeDescriptions": {
6681
6681
  "typeIdentifier": "t_uint8",
@@ -6685,11 +6685,11 @@
6685
6685
  "nodeType": "Assignment",
6686
6686
  "operator": "=",
6687
6687
  "rightHandSide": {
6688
- "id": 39103,
6688
+ "id": 39095,
6689
6689
  "name": "initDecimals",
6690
6690
  "nodeType": "Identifier",
6691
6691
  "overloadedDeclarations": [],
6692
- "referencedDeclaration": 39095,
6692
+ "referencedDeclaration": 39087,
6693
6693
  "src": "500:12:105",
6694
6694
  "typeDescriptions": {
6695
6695
  "typeIdentifier": "t_uint8",
@@ -6702,24 +6702,24 @@
6702
6702
  "typeString": "uint8"
6703
6703
  }
6704
6704
  },
6705
- "id": 39105,
6705
+ "id": 39097,
6706
6706
  "nodeType": "ExpressionStatement",
6707
6707
  "src": "488:24:105"
6708
6708
  }
6709
6709
  ]
6710
6710
  },
6711
- "id": 39107,
6711
+ "id": 39099,
6712
6712
  "implemented": true,
6713
6713
  "kind": "constructor",
6714
6714
  "modifiers": [
6715
6715
  {
6716
6716
  "arguments": [
6717
6717
  {
6718
- "id": 39098,
6718
+ "id": 39090,
6719
6719
  "name": "name",
6720
6720
  "nodeType": "Identifier",
6721
6721
  "overloadedDeclarations": [],
6722
- "referencedDeclaration": 39091,
6722
+ "referencedDeclaration": 39083,
6723
6723
  "src": "460:4:105",
6724
6724
  "typeDescriptions": {
6725
6725
  "typeIdentifier": "t_string_memory_ptr",
@@ -6727,11 +6727,11 @@
6727
6727
  }
6728
6728
  },
6729
6729
  {
6730
- "id": 39099,
6730
+ "id": 39091,
6731
6731
  "name": "symbol",
6732
6732
  "nodeType": "Identifier",
6733
6733
  "overloadedDeclarations": [],
6734
- "referencedDeclaration": 39093,
6734
+ "referencedDeclaration": 39085,
6735
6735
  "src": "466:6:105",
6736
6736
  "typeDescriptions": {
6737
6737
  "typeIdentifier": "t_string_memory_ptr",
@@ -6739,10 +6739,10 @@
6739
6739
  }
6740
6740
  }
6741
6741
  ],
6742
- "id": 39100,
6742
+ "id": 39092,
6743
6743
  "kind": "baseConstructorSpecifier",
6744
6744
  "modifierName": {
6745
- "id": 39097,
6745
+ "id": 39089,
6746
6746
  "name": "ERC20",
6747
6747
  "nodeType": "IdentifierPath",
6748
6748
  "referencedDeclaration": 1552,
@@ -6756,17 +6756,17 @@
6756
6756
  "nameLocation": "-1:-1:-1",
6757
6757
  "nodeType": "FunctionDefinition",
6758
6758
  "parameters": {
6759
- "id": 39096,
6759
+ "id": 39088,
6760
6760
  "nodeType": "ParameterList",
6761
6761
  "parameters": [
6762
6762
  {
6763
6763
  "constant": false,
6764
- "id": 39091,
6764
+ "id": 39083,
6765
6765
  "mutability": "mutable",
6766
6766
  "name": "name",
6767
6767
  "nameLocation": "398:4:105",
6768
6768
  "nodeType": "VariableDeclaration",
6769
- "scope": 39107,
6769
+ "scope": 39099,
6770
6770
  "src": "384:18:105",
6771
6771
  "stateVariable": false,
6772
6772
  "storageLocation": "memory",
@@ -6775,7 +6775,7 @@
6775
6775
  "typeString": "string"
6776
6776
  },
6777
6777
  "typeName": {
6778
- "id": 39090,
6778
+ "id": 39082,
6779
6779
  "name": "string",
6780
6780
  "nodeType": "ElementaryTypeName",
6781
6781
  "src": "384:6:105",
@@ -6788,12 +6788,12 @@
6788
6788
  },
6789
6789
  {
6790
6790
  "constant": false,
6791
- "id": 39093,
6791
+ "id": 39085,
6792
6792
  "mutability": "mutable",
6793
6793
  "name": "symbol",
6794
6794
  "nameLocation": "418:6:105",
6795
6795
  "nodeType": "VariableDeclaration",
6796
- "scope": 39107,
6796
+ "scope": 39099,
6797
6797
  "src": "404:20:105",
6798
6798
  "stateVariable": false,
6799
6799
  "storageLocation": "memory",
@@ -6802,7 +6802,7 @@
6802
6802
  "typeString": "string"
6803
6803
  },
6804
6804
  "typeName": {
6805
- "id": 39092,
6805
+ "id": 39084,
6806
6806
  "name": "string",
6807
6807
  "nodeType": "ElementaryTypeName",
6808
6808
  "src": "404:6:105",
@@ -6815,12 +6815,12 @@
6815
6815
  },
6816
6816
  {
6817
6817
  "constant": false,
6818
- "id": 39095,
6818
+ "id": 39087,
6819
6819
  "mutability": "mutable",
6820
6820
  "name": "initDecimals",
6821
6821
  "nameLocation": "432:12:105",
6822
6822
  "nodeType": "VariableDeclaration",
6823
- "scope": 39107,
6823
+ "scope": 39099,
6824
6824
  "src": "426:18:105",
6825
6825
  "stateVariable": false,
6826
6826
  "storageLocation": "default",
@@ -6829,7 +6829,7 @@
6829
6829
  "typeString": "uint8"
6830
6830
  },
6831
6831
  "typeName": {
6832
- "id": 39094,
6832
+ "id": 39086,
6833
6833
  "name": "uint8",
6834
6834
  "nodeType": "ElementaryTypeName",
6835
6835
  "src": "426:5:105",
@@ -6844,12 +6844,12 @@
6844
6844
  "src": "383:62:105"
6845
6845
  },
6846
6846
  "returnParameters": {
6847
- "id": 39101,
6847
+ "id": 39093,
6848
6848
  "nodeType": "ParameterList",
6849
6849
  "parameters": [],
6850
6850
  "src": "478:0:105"
6851
6851
  },
6852
- "scope": 39143,
6852
+ "scope": 39135,
6853
6853
  "src": "372:147:105",
6854
6854
  "stateMutability": "nonpayable",
6855
6855
  "virtual": false,
@@ -6857,7 +6857,7 @@
6857
6857
  },
6858
6858
  {
6859
6859
  "body": {
6860
- "id": 39132,
6860
+ "id": 39124,
6861
6861
  "nodeType": "Block",
6862
6862
  "src": "641:138:105",
6863
6863
  "statements": [
@@ -6869,17 +6869,17 @@
6869
6869
  "typeIdentifier": "t_uint256",
6870
6870
  "typeString": "uint256"
6871
6871
  },
6872
- "id": 39120,
6872
+ "id": 39112,
6873
6873
  "isConstant": false,
6874
6874
  "isLValue": false,
6875
6875
  "isPure": false,
6876
6876
  "lValueRequested": false,
6877
6877
  "leftExpression": {
6878
- "id": 39118,
6878
+ "id": 39110,
6879
6879
  "name": "amount",
6880
6880
  "nodeType": "Identifier",
6881
6881
  "overloadedDeclarations": [],
6882
- "referencedDeclaration": 39112,
6882
+ "referencedDeclaration": 39104,
6883
6883
  "src": "658:6:105",
6884
6884
  "typeDescriptions": {
6885
6885
  "typeIdentifier": "t_uint256",
@@ -6889,11 +6889,11 @@
6889
6889
  "nodeType": "BinaryOperation",
6890
6890
  "operator": "<=",
6891
6891
  "rightExpression": {
6892
- "id": 39119,
6892
+ "id": 39111,
6893
6893
  "name": "MINT_LIMIT",
6894
6894
  "nodeType": "Identifier",
6895
6895
  "overloadedDeclarations": [],
6896
- "referencedDeclaration": 39087,
6896
+ "referencedDeclaration": 39079,
6897
6897
  "src": "668:10:105",
6898
6898
  "typeDescriptions": {
6899
6899
  "typeIdentifier": "t_uint256",
@@ -6914,7 +6914,7 @@
6914
6914
  "typeString": "bool"
6915
6915
  }
6916
6916
  ],
6917
- "id": 39117,
6917
+ "id": 39109,
6918
6918
  "name": "assert",
6919
6919
  "nodeType": "Identifier",
6920
6920
  "overloadedDeclarations": [],
@@ -6925,7 +6925,7 @@
6925
6925
  "typeString": "function (bool) pure"
6926
6926
  }
6927
6927
  },
6928
- "id": 39121,
6928
+ "id": 39113,
6929
6929
  "isConstant": false,
6930
6930
  "isLValue": false,
6931
6931
  "isPure": false,
@@ -6940,7 +6940,7 @@
6940
6940
  "typeString": "tuple()"
6941
6941
  }
6942
6942
  },
6943
- "id": 39122,
6943
+ "id": 39114,
6944
6944
  "nodeType": "ExpressionStatement",
6945
6945
  "src": "651:28:105"
6946
6946
  },
@@ -6948,11 +6948,11 @@
6948
6948
  "expression": {
6949
6949
  "arguments": [
6950
6950
  {
6951
- "id": 39126,
6951
+ "id": 39118,
6952
6952
  "name": "account",
6953
6953
  "nodeType": "Identifier",
6954
6954
  "overloadedDeclarations": [],
6955
- "referencedDeclaration": 39110,
6955
+ "referencedDeclaration": 39102,
6956
6956
  "src": "735:7:105",
6957
6957
  "typeDescriptions": {
6958
6958
  "typeIdentifier": "t_address",
@@ -6960,11 +6960,11 @@
6960
6960
  }
6961
6961
  },
6962
6962
  {
6963
- "id": 39127,
6963
+ "id": 39119,
6964
6964
  "name": "amount",
6965
6965
  "nodeType": "Identifier",
6966
6966
  "overloadedDeclarations": [],
6967
- "referencedDeclaration": 39112,
6967
+ "referencedDeclaration": 39104,
6968
6968
  "src": "744:6:105",
6969
6969
  "typeDescriptions": {
6970
6970
  "typeIdentifier": "t_uint256",
@@ -6984,7 +6984,7 @@
6984
6984
  }
6985
6985
  ],
6986
6986
  "expression": {
6987
- "id": 39123,
6987
+ "id": 39115,
6988
6988
  "name": "ERC20",
6989
6989
  "nodeType": "Identifier",
6990
6990
  "overloadedDeclarations": [],
@@ -6995,7 +6995,7 @@
6995
6995
  "typeString": "type(contract ERC20)"
6996
6996
  }
6997
6997
  },
6998
- "id": 39125,
6998
+ "id": 39117,
6999
6999
  "isConstant": false,
7000
7000
  "isLValue": false,
7001
7001
  "isPure": false,
@@ -7009,7 +7009,7 @@
7009
7009
  "typeString": "function (address,uint256)"
7010
7010
  }
7011
7011
  },
7012
- "id": 39128,
7012
+ "id": 39120,
7013
7013
  "isConstant": false,
7014
7014
  "isLValue": false,
7015
7015
  "isPure": false,
@@ -7024,14 +7024,14 @@
7024
7024
  "typeString": "tuple()"
7025
7025
  }
7026
7026
  },
7027
- "id": 39129,
7027
+ "id": 39121,
7028
7028
  "nodeType": "ExpressionStatement",
7029
7029
  "src": "723:28:105"
7030
7030
  },
7031
7031
  {
7032
7032
  "expression": {
7033
7033
  "hexValue": "74727565",
7034
- "id": 39130,
7034
+ "id": 39122,
7035
7035
  "isConstant": false,
7036
7036
  "isLValue": false,
7037
7037
  "isPure": true,
@@ -7045,21 +7045,21 @@
7045
7045
  },
7046
7046
  "value": "true"
7047
7047
  },
7048
- "functionReturnParameters": 39116,
7049
- "id": 39131,
7048
+ "functionReturnParameters": 39108,
7049
+ "id": 39123,
7050
7050
  "nodeType": "Return",
7051
7051
  "src": "761:11:105"
7052
7052
  }
7053
7053
  ]
7054
7054
  },
7055
7055
  "documentation": {
7056
- "id": 39108,
7056
+ "id": 39100,
7057
7057
  "nodeType": "StructuredDocumentation",
7058
7058
  "src": "525:42:105",
7059
7059
  "text": " @dev See {ERC20-_mint}."
7060
7060
  },
7061
7061
  "functionSelector": "40c10f19",
7062
- "id": 39133,
7062
+ "id": 39125,
7063
7063
  "implemented": true,
7064
7064
  "kind": "function",
7065
7065
  "modifiers": [],
@@ -7067,17 +7067,17 @@
7067
7067
  "nameLocation": "581:4:105",
7068
7068
  "nodeType": "FunctionDefinition",
7069
7069
  "parameters": {
7070
- "id": 39113,
7070
+ "id": 39105,
7071
7071
  "nodeType": "ParameterList",
7072
7072
  "parameters": [
7073
7073
  {
7074
7074
  "constant": false,
7075
- "id": 39110,
7075
+ "id": 39102,
7076
7076
  "mutability": "mutable",
7077
7077
  "name": "account",
7078
7078
  "nameLocation": "594:7:105",
7079
7079
  "nodeType": "VariableDeclaration",
7080
- "scope": 39133,
7080
+ "scope": 39125,
7081
7081
  "src": "586:15:105",
7082
7082
  "stateVariable": false,
7083
7083
  "storageLocation": "default",
@@ -7086,7 +7086,7 @@
7086
7086
  "typeString": "address"
7087
7087
  },
7088
7088
  "typeName": {
7089
- "id": 39109,
7089
+ "id": 39101,
7090
7090
  "name": "address",
7091
7091
  "nodeType": "ElementaryTypeName",
7092
7092
  "src": "586:7:105",
@@ -7100,12 +7100,12 @@
7100
7100
  },
7101
7101
  {
7102
7102
  "constant": false,
7103
- "id": 39112,
7103
+ "id": 39104,
7104
7104
  "mutability": "mutable",
7105
7105
  "name": "amount",
7106
7106
  "nameLocation": "611:6:105",
7107
7107
  "nodeType": "VariableDeclaration",
7108
- "scope": 39133,
7108
+ "scope": 39125,
7109
7109
  "src": "603:14:105",
7110
7110
  "stateVariable": false,
7111
7111
  "storageLocation": "default",
@@ -7114,7 +7114,7 @@
7114
7114
  "typeString": "uint256"
7115
7115
  },
7116
7116
  "typeName": {
7117
- "id": 39111,
7117
+ "id": 39103,
7118
7118
  "name": "uint256",
7119
7119
  "nodeType": "ElementaryTypeName",
7120
7120
  "src": "603:7:105",
@@ -7129,17 +7129,17 @@
7129
7129
  "src": "585:33:105"
7130
7130
  },
7131
7131
  "returnParameters": {
7132
- "id": 39116,
7132
+ "id": 39108,
7133
7133
  "nodeType": "ParameterList",
7134
7134
  "parameters": [
7135
7135
  {
7136
7136
  "constant": false,
7137
- "id": 39115,
7137
+ "id": 39107,
7138
7138
  "mutability": "mutable",
7139
7139
  "name": "",
7140
7140
  "nameLocation": "-1:-1:-1",
7141
7141
  "nodeType": "VariableDeclaration",
7142
- "scope": 39133,
7142
+ "scope": 39125,
7143
7143
  "src": "635:4:105",
7144
7144
  "stateVariable": false,
7145
7145
  "storageLocation": "default",
@@ -7148,7 +7148,7 @@
7148
7148
  "typeString": "bool"
7149
7149
  },
7150
7150
  "typeName": {
7151
- "id": 39114,
7151
+ "id": 39106,
7152
7152
  "name": "bool",
7153
7153
  "nodeType": "ElementaryTypeName",
7154
7154
  "src": "635:4:105",
@@ -7162,7 +7162,7 @@
7162
7162
  ],
7163
7163
  "src": "634:6:105"
7164
7164
  },
7165
- "scope": 39143,
7165
+ "scope": 39135,
7166
7166
  "src": "572:207:105",
7167
7167
  "stateMutability": "nonpayable",
7168
7168
  "virtual": false,
@@ -7173,32 +7173,32 @@
7173
7173
  1041
7174
7174
  ],
7175
7175
  "body": {
7176
- "id": 39141,
7176
+ "id": 39133,
7177
7177
  "nodeType": "Block",
7178
7178
  "src": "842:33:105",
7179
7179
  "statements": [
7180
7180
  {
7181
7181
  "expression": {
7182
- "id": 39139,
7182
+ "id": 39131,
7183
7183
  "name": "_decimals",
7184
7184
  "nodeType": "Identifier",
7185
7185
  "overloadedDeclarations": [],
7186
- "referencedDeclaration": 39089,
7186
+ "referencedDeclaration": 39081,
7187
7187
  "src": "859:9:105",
7188
7188
  "typeDescriptions": {
7189
7189
  "typeIdentifier": "t_uint8",
7190
7190
  "typeString": "uint8"
7191
7191
  }
7192
7192
  },
7193
- "functionReturnParameters": 39138,
7194
- "id": 39140,
7193
+ "functionReturnParameters": 39130,
7194
+ "id": 39132,
7195
7195
  "nodeType": "Return",
7196
7196
  "src": "852:16:105"
7197
7197
  }
7198
7198
  ]
7199
7199
  },
7200
7200
  "functionSelector": "313ce567",
7201
- "id": 39142,
7201
+ "id": 39134,
7202
7202
  "implemented": true,
7203
7203
  "kind": "function",
7204
7204
  "modifiers": [],
@@ -7206,29 +7206,29 @@
7206
7206
  "nameLocation": "794:8:105",
7207
7207
  "nodeType": "FunctionDefinition",
7208
7208
  "overrides": {
7209
- "id": 39135,
7209
+ "id": 39127,
7210
7210
  "nodeType": "OverrideSpecifier",
7211
7211
  "overrides": [],
7212
7212
  "src": "817:8:105"
7213
7213
  },
7214
7214
  "parameters": {
7215
- "id": 39134,
7215
+ "id": 39126,
7216
7216
  "nodeType": "ParameterList",
7217
7217
  "parameters": [],
7218
7218
  "src": "802:2:105"
7219
7219
  },
7220
7220
  "returnParameters": {
7221
- "id": 39138,
7221
+ "id": 39130,
7222
7222
  "nodeType": "ParameterList",
7223
7223
  "parameters": [
7224
7224
  {
7225
7225
  "constant": false,
7226
- "id": 39137,
7226
+ "id": 39129,
7227
7227
  "mutability": "mutable",
7228
7228
  "name": "",
7229
7229
  "nameLocation": "-1:-1:-1",
7230
7230
  "nodeType": "VariableDeclaration",
7231
- "scope": 39142,
7231
+ "scope": 39134,
7232
7232
  "src": "835:5:105",
7233
7233
  "stateVariable": false,
7234
7234
  "storageLocation": "default",
@@ -7237,7 +7237,7 @@
7237
7237
  "typeString": "uint8"
7238
7238
  },
7239
7239
  "typeName": {
7240
- "id": 39136,
7240
+ "id": 39128,
7241
7241
  "name": "uint8",
7242
7242
  "nodeType": "ElementaryTypeName",
7243
7243
  "src": "835:5:105",
@@ -7251,14 +7251,14 @@
7251
7251
  ],
7252
7252
  "src": "834:7:105"
7253
7253
  },
7254
- "scope": 39143,
7254
+ "scope": 39135,
7255
7255
  "src": "785:90:105",
7256
7256
  "stateMutability": "view",
7257
7257
  "virtual": false,
7258
7258
  "visibility": "public"
7259
7259
  }
7260
7260
  ],
7261
- "scope": 39144,
7261
+ "scope": 39136,
7262
7262
  "src": "254:624:105",
7263
7263
  "usedErrors": []
7264
7264
  }
@@ -7271,7 +7271,7 @@
7271
7271
  },
7272
7272
  "networks": {},
7273
7273
  "schemaVersion": "3.4.8",
7274
- "updatedAt": "2022-08-11T12:58:52.151Z",
7274
+ "updatedAt": "2022-08-23T08:53:53.854Z",
7275
7275
  "devdoc": {
7276
7276
  "author": "Superfluid",
7277
7277
  "details": "Test ERC20 token that allows any one mint new tokens.",