@superfluid-finance/ethereum-contracts 1.2.2-dev.c9bc19b.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.
- package/build/contracts/AccessControl.json +1 -1
- package/build/contracts/AccessControlEnumerable.json +1 -1
- package/build/contracts/Address.json +1 -1
- package/build/contracts/AgreementBase.json +18 -18
- package/build/contracts/AgreementLibrary.json +450 -243
- package/build/contracts/BaseRelayRecipient.json +112 -112
- package/build/contracts/BatchLiquidator.json +178 -178
- package/build/contracts/BatchOperation.json +1138 -1138
- package/build/contracts/CFAv1Library.json +2531 -2531
- package/build/contracts/CallUtils.json +478 -478
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +1521 -1521
- package/build/contracts/ConstantFlowAgreementV1.json +19314 -18334
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +1138 -1138
- package/build/contracts/Create2.json +1 -1
- package/build/contracts/CustomSuperTokenBase.json +31 -31
- package/build/contracts/ERC165.json +1 -1
- package/build/contracts/ERC1820Implementer.json +1 -1
- package/build/contracts/ERC20.json +1 -1
- package/build/contracts/ERC20Burnable.json +1 -1
- package/build/contracts/ERC20Pausable.json +1 -1
- package/build/contracts/ERC20PresetMinterPauser.json +1 -1
- package/build/contracts/ERC20WithTokenInfo.json +36 -36
- package/build/contracts/ERC721.json +1 -1
- package/build/contracts/ERC777Helper.json +660 -660
- package/build/contracts/ERC777RecipientDrainingGas.json +855 -855
- package/build/contracts/ERC777RecipientReverting.json +855 -855
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/ExclusiveInflowTestApp.json +1521 -1521
- package/build/contracts/FixedSizeData.json +405 -405
- package/build/contracts/FlowExchangeTestApp.json +1522 -1522
- package/build/contracts/FlowOperatorDefinitions.json +1138 -1138
- package/build/contracts/FullUpgradableSuperTokenProxy.json +113 -113
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +1036 -1036
- package/build/contracts/IDAv1Library.json +4183 -4183
- package/build/contracts/IERC165.json +1 -1
- package/build/contracts/IERC1820Implementer.json +1 -1
- package/build/contracts/IERC1820Registry.json +1 -1
- package/build/contracts/IERC20.json +1 -1
- package/build/contracts/IERC20Metadata.json +1 -1
- package/build/contracts/IERC721.json +1 -1
- package/build/contracts/IERC721Metadata.json +1 -1
- package/build/contracts/IERC721Receiver.json +1 -1
- package/build/contracts/IERC777.json +1 -1
- package/build/contracts/IERC777Recipient.json +1 -1
- package/build/contracts/IERC777Sender.json +1 -1
- package/build/contracts/IInstantDistributionAgreementV1.json +1182 -1182
- package/build/contracts/IMaticBridgedNativeSuperToken.json +110 -110
- package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +110 -110
- package/build/contracts/IMultiSigWallet.json +45 -45
- package/build/contracts/IPureSuperToken.json +69 -69
- package/build/contracts/IPureSuperTokenCustom.json +69 -69
- package/build/contracts/IRelayRecipient.json +49 -49
- package/build/contracts/IResolver.json +73 -73
- package/build/contracts/ISETH.json +79 -79
- package/build/contracts/ISETHCustom.json +79 -79
- package/build/contracts/ISuperAgreement.json +88 -88
- package/build/contracts/ISuperApp.json +351 -351
- package/build/contracts/ISuperToken.json +1008 -1008
- package/build/contracts/ISuperTokenFactory.json +280 -280
- package/build/contracts/ISuperfluid.json +1466 -1466
- package/build/contracts/ISuperfluidGovernance.json +404 -404
- package/build/contracts/ISuperfluidToken.json +774 -774
- package/build/contracts/ITOGAv1.json +1431 -1431
- package/build/contracts/ITOGAv2.json +1431 -1431
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +9343 -9343
- package/build/contracts/Int96SafeMath.json +504 -504
- package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +228 -228
- package/build/contracts/NonClosableOutflowTestApp.json +1522 -1522
- package/build/contracts/Ownable.json +1 -1
- package/build/contracts/Pausable.json +1 -1
- package/build/contracts/Proxy.json +1 -1
- package/build/contracts/PureSuperToken.json +106 -106
- package/build/contracts/Resolver.json +98 -98
- package/build/contracts/SETHProxy.json +224 -224
- package/build/contracts/SafeCast.json +1 -1
- package/build/contracts/SafeERC20.json +1 -1
- package/build/contracts/SafeMath.json +1 -1
- package/build/contracts/SelfDeletingFlowTestApp.json +1521 -1521
- package/build/contracts/SlotsBitmapLibrary.json +794 -794
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +394 -394
- package/build/contracts/SuperAppDefinitions.json +1138 -1138
- package/build/contracts/SuperToken.json +2351 -2351
- package/build/contracts/SuperTokenFactory.json +731 -731
- package/build/contracts/SuperTokenFactoryBase.json +721 -721
- package/build/contracts/SuperTokenFactoryHelper.json +724 -724
- package/build/contracts/SuperUpgrader.json +437 -437
- package/build/contracts/Superfluid.json +9812 -10169
- package/build/contracts/SuperfluidFrameworkDeployer.json +535 -535
- package/build/contracts/SuperfluidGovernanceBase.json +3471 -3789
- package/build/contracts/SuperfluidGovernanceConfigs.json +1138 -1138
- package/build/contracts/SuperfluidGovernanceII.json +2097 -2347
- package/build/contracts/SuperfluidGovernanceIIProxy.json +214 -214
- package/build/contracts/SuperfluidLoader.json +207 -207
- package/build/contracts/SuperfluidToken.json +1345 -1345
- package/build/contracts/TOGA.json +1448 -1448
- package/build/contracts/TestGovernance.json +2195 -2445
- package/build/contracts/TestToken.json +94 -94
- package/build/contracts/TokenCustodian.json +214 -214
- package/build/contracts/TokenInfo.json +58 -58
- package/build/contracts/UInt128SafeMath.json +97 -97
- package/build/contracts/UUPSProxiable.json +132 -132
- package/build/contracts/UUPSProxy.json +81 -81
- package/build/contracts/UUPSUtils.json +37 -37
- package/build/contracts-sizes.txt +3 -4
- package/contracts/agreements/AgreementLibrary.sol +1 -0
- package/contracts/agreements/ConstantFlowAgreementV1.sol +71 -35
- package/contracts/agreements/InstantDistributionAgreementV1.sol +3 -2
- package/contracts/gov/SuperfluidGovernanceBase.sol +9 -26
- package/contracts/{agreements → libs}/SlotsBitmapLibrary.sol +1 -3
- package/contracts/mocks/SuperfluidMock.sol +2 -2
- package/contracts/superfluid/Superfluid.sol +5 -10
- package/package.json +2 -1
- package/scripts/gov-create-new-app-registration-key.js +26 -3
|
@@ -6568,15 +6568,15 @@
|
|
|
6568
6568
|
1442
|
|
6569
6569
|
],
|
|
6570
6570
|
"TestToken": [
|
|
6571
|
-
|
|
6571
|
+
38336
|
|
6572
6572
|
]
|
|
6573
6573
|
},
|
|
6574
|
-
"id":
|
|
6574
|
+
"id": 38337,
|
|
6575
6575
|
"license": "AGPLv3",
|
|
6576
6576
|
"nodeType": "SourceUnit",
|
|
6577
6577
|
"nodes": [
|
|
6578
6578
|
{
|
|
6579
|
-
"id":
|
|
6579
|
+
"id": 38271,
|
|
6580
6580
|
"literals": [
|
|
6581
6581
|
"solidity",
|
|
6582
6582
|
"0.8",
|
|
@@ -6588,16 +6588,16 @@
|
|
|
6588
6588
|
{
|
|
6589
6589
|
"absolutePath": "@openzeppelin/contracts/token/ERC20/ERC20.sol",
|
|
6590
6590
|
"file": "@openzeppelin/contracts/token/ERC20/ERC20.sol",
|
|
6591
|
-
"id":
|
|
6591
|
+
"id": 38273,
|
|
6592
6592
|
"nameLocation": "-1:-1:-1",
|
|
6593
6593
|
"nodeType": "ImportDirective",
|
|
6594
|
-
"scope":
|
|
6594
|
+
"scope": 38337,
|
|
6595
6595
|
"sourceUnit": 1443,
|
|
6596
6596
|
"src": "60:70:108",
|
|
6597
6597
|
"symbolAliases": [
|
|
6598
6598
|
{
|
|
6599
6599
|
"foreign": {
|
|
6600
|
-
"id":
|
|
6600
|
+
"id": 38272,
|
|
6601
6601
|
"name": "ERC20",
|
|
6602
6602
|
"nodeType": "Identifier",
|
|
6603
6603
|
"overloadedDeclarations": [],
|
|
@@ -6615,13 +6615,13 @@
|
|
|
6615
6615
|
"baseContracts": [
|
|
6616
6616
|
{
|
|
6617
6617
|
"baseName": {
|
|
6618
|
-
"id":
|
|
6618
|
+
"id": 38275,
|
|
6619
6619
|
"name": "ERC20",
|
|
6620
6620
|
"nodeType": "IdentifierPath",
|
|
6621
6621
|
"referencedDeclaration": 1442,
|
|
6622
6622
|
"src": "276:5:108"
|
|
6623
6623
|
},
|
|
6624
|
-
"id":
|
|
6624
|
+
"id": 38276,
|
|
6625
6625
|
"nodeType": "InheritanceSpecifier",
|
|
6626
6626
|
"src": "276:5:108"
|
|
6627
6627
|
}
|
|
@@ -6630,15 +6630,15 @@
|
|
|
6630
6630
|
"contractDependencies": [],
|
|
6631
6631
|
"contractKind": "contract",
|
|
6632
6632
|
"documentation": {
|
|
6633
|
-
"id":
|
|
6633
|
+
"id": 38274,
|
|
6634
6634
|
"nodeType": "StructuredDocumentation",
|
|
6635
6635
|
"src": "132:121:108",
|
|
6636
6636
|
"text": " @title Test token contract\n @author Superfluid\n @dev Test ERC20 token that allows any one mint new tokens."
|
|
6637
6637
|
},
|
|
6638
6638
|
"fullyImplemented": true,
|
|
6639
|
-
"id":
|
|
6639
|
+
"id": 38336,
|
|
6640
6640
|
"linearizedBaseContracts": [
|
|
6641
|
-
|
|
6641
|
+
38336,
|
|
6642
6642
|
1442,
|
|
6643
6643
|
1626,
|
|
6644
6644
|
1520,
|
|
@@ -6651,12 +6651,12 @@
|
|
|
6651
6651
|
{
|
|
6652
6652
|
"constant": true,
|
|
6653
6653
|
"functionSelector": "02775240",
|
|
6654
|
-
"id":
|
|
6654
|
+
"id": 38279,
|
|
6655
6655
|
"mutability": "constant",
|
|
6656
6656
|
"name": "MINT_LIMIT",
|
|
6657
6657
|
"nameLocation": "313:10:108",
|
|
6658
6658
|
"nodeType": "VariableDeclaration",
|
|
6659
|
-
"scope":
|
|
6659
|
+
"scope": 38336,
|
|
6660
6660
|
"src": "289:47:108",
|
|
6661
6661
|
"stateVariable": true,
|
|
6662
6662
|
"storageLocation": "default",
|
|
@@ -6665,7 +6665,7 @@
|
|
|
6665
6665
|
"typeString": "uint256"
|
|
6666
6666
|
},
|
|
6667
6667
|
"typeName": {
|
|
6668
|
-
"id":
|
|
6668
|
+
"id": 38277,
|
|
6669
6669
|
"name": "uint256",
|
|
6670
6670
|
"nodeType": "ElementaryTypeName",
|
|
6671
6671
|
"src": "289:7:108",
|
|
@@ -6676,7 +6676,7 @@
|
|
|
6676
6676
|
},
|
|
6677
6677
|
"value": {
|
|
6678
6678
|
"hexValue": "31653132",
|
|
6679
|
-
"id":
|
|
6679
|
+
"id": 38278,
|
|
6680
6680
|
"isConstant": false,
|
|
6681
6681
|
"isLValue": false,
|
|
6682
6682
|
"isPure": true,
|
|
@@ -6695,12 +6695,12 @@
|
|
|
6695
6695
|
},
|
|
6696
6696
|
{
|
|
6697
6697
|
"constant": false,
|
|
6698
|
-
"id":
|
|
6698
|
+
"id": 38281,
|
|
6699
6699
|
"mutability": "mutable",
|
|
6700
6700
|
"name": "_decimals",
|
|
6701
6701
|
"nameLocation": "356:9:108",
|
|
6702
6702
|
"nodeType": "VariableDeclaration",
|
|
6703
|
-
"scope":
|
|
6703
|
+
"scope": 38336,
|
|
6704
6704
|
"src": "342:23:108",
|
|
6705
6705
|
"stateVariable": true,
|
|
6706
6706
|
"storageLocation": "default",
|
|
@@ -6709,7 +6709,7 @@
|
|
|
6709
6709
|
"typeString": "uint8"
|
|
6710
6710
|
},
|
|
6711
6711
|
"typeName": {
|
|
6712
|
-
"id":
|
|
6712
|
+
"id": 38280,
|
|
6713
6713
|
"name": "uint8",
|
|
6714
6714
|
"nodeType": "ElementaryTypeName",
|
|
6715
6715
|
"src": "342:5:108",
|
|
@@ -6722,23 +6722,23 @@
|
|
|
6722
6722
|
},
|
|
6723
6723
|
{
|
|
6724
6724
|
"body": {
|
|
6725
|
-
"id":
|
|
6725
|
+
"id": 38298,
|
|
6726
6726
|
"nodeType": "Block",
|
|
6727
6727
|
"src": "478:41:108",
|
|
6728
6728
|
"statements": [
|
|
6729
6729
|
{
|
|
6730
6730
|
"expression": {
|
|
6731
|
-
"id":
|
|
6731
|
+
"id": 38296,
|
|
6732
6732
|
"isConstant": false,
|
|
6733
6733
|
"isLValue": false,
|
|
6734
6734
|
"isPure": false,
|
|
6735
6735
|
"lValueRequested": false,
|
|
6736
6736
|
"leftHandSide": {
|
|
6737
|
-
"id":
|
|
6737
|
+
"id": 38294,
|
|
6738
6738
|
"name": "_decimals",
|
|
6739
6739
|
"nodeType": "Identifier",
|
|
6740
6740
|
"overloadedDeclarations": [],
|
|
6741
|
-
"referencedDeclaration":
|
|
6741
|
+
"referencedDeclaration": 38281,
|
|
6742
6742
|
"src": "488:9:108",
|
|
6743
6743
|
"typeDescriptions": {
|
|
6744
6744
|
"typeIdentifier": "t_uint8",
|
|
@@ -6748,11 +6748,11 @@
|
|
|
6748
6748
|
"nodeType": "Assignment",
|
|
6749
6749
|
"operator": "=",
|
|
6750
6750
|
"rightHandSide": {
|
|
6751
|
-
"id":
|
|
6751
|
+
"id": 38295,
|
|
6752
6752
|
"name": "initDecimals",
|
|
6753
6753
|
"nodeType": "Identifier",
|
|
6754
6754
|
"overloadedDeclarations": [],
|
|
6755
|
-
"referencedDeclaration":
|
|
6755
|
+
"referencedDeclaration": 38287,
|
|
6756
6756
|
"src": "500:12:108",
|
|
6757
6757
|
"typeDescriptions": {
|
|
6758
6758
|
"typeIdentifier": "t_uint8",
|
|
@@ -6765,24 +6765,24 @@
|
|
|
6765
6765
|
"typeString": "uint8"
|
|
6766
6766
|
}
|
|
6767
6767
|
},
|
|
6768
|
-
"id":
|
|
6768
|
+
"id": 38297,
|
|
6769
6769
|
"nodeType": "ExpressionStatement",
|
|
6770
6770
|
"src": "488:24:108"
|
|
6771
6771
|
}
|
|
6772
6772
|
]
|
|
6773
6773
|
},
|
|
6774
|
-
"id":
|
|
6774
|
+
"id": 38299,
|
|
6775
6775
|
"implemented": true,
|
|
6776
6776
|
"kind": "constructor",
|
|
6777
6777
|
"modifiers": [
|
|
6778
6778
|
{
|
|
6779
6779
|
"arguments": [
|
|
6780
6780
|
{
|
|
6781
|
-
"id":
|
|
6781
|
+
"id": 38290,
|
|
6782
6782
|
"name": "name",
|
|
6783
6783
|
"nodeType": "Identifier",
|
|
6784
6784
|
"overloadedDeclarations": [],
|
|
6785
|
-
"referencedDeclaration":
|
|
6785
|
+
"referencedDeclaration": 38283,
|
|
6786
6786
|
"src": "460:4:108",
|
|
6787
6787
|
"typeDescriptions": {
|
|
6788
6788
|
"typeIdentifier": "t_string_memory_ptr",
|
|
@@ -6790,11 +6790,11 @@
|
|
|
6790
6790
|
}
|
|
6791
6791
|
},
|
|
6792
6792
|
{
|
|
6793
|
-
"id":
|
|
6793
|
+
"id": 38291,
|
|
6794
6794
|
"name": "symbol",
|
|
6795
6795
|
"nodeType": "Identifier",
|
|
6796
6796
|
"overloadedDeclarations": [],
|
|
6797
|
-
"referencedDeclaration":
|
|
6797
|
+
"referencedDeclaration": 38285,
|
|
6798
6798
|
"src": "466:6:108",
|
|
6799
6799
|
"typeDescriptions": {
|
|
6800
6800
|
"typeIdentifier": "t_string_memory_ptr",
|
|
@@ -6802,10 +6802,10 @@
|
|
|
6802
6802
|
}
|
|
6803
6803
|
}
|
|
6804
6804
|
],
|
|
6805
|
-
"id":
|
|
6805
|
+
"id": 38292,
|
|
6806
6806
|
"kind": "baseConstructorSpecifier",
|
|
6807
6807
|
"modifierName": {
|
|
6808
|
-
"id":
|
|
6808
|
+
"id": 38289,
|
|
6809
6809
|
"name": "ERC20",
|
|
6810
6810
|
"nodeType": "IdentifierPath",
|
|
6811
6811
|
"referencedDeclaration": 1442,
|
|
@@ -6819,17 +6819,17 @@
|
|
|
6819
6819
|
"nameLocation": "-1:-1:-1",
|
|
6820
6820
|
"nodeType": "FunctionDefinition",
|
|
6821
6821
|
"parameters": {
|
|
6822
|
-
"id":
|
|
6822
|
+
"id": 38288,
|
|
6823
6823
|
"nodeType": "ParameterList",
|
|
6824
6824
|
"parameters": [
|
|
6825
6825
|
{
|
|
6826
6826
|
"constant": false,
|
|
6827
|
-
"id":
|
|
6827
|
+
"id": 38283,
|
|
6828
6828
|
"mutability": "mutable",
|
|
6829
6829
|
"name": "name",
|
|
6830
6830
|
"nameLocation": "398:4:108",
|
|
6831
6831
|
"nodeType": "VariableDeclaration",
|
|
6832
|
-
"scope":
|
|
6832
|
+
"scope": 38299,
|
|
6833
6833
|
"src": "384:18:108",
|
|
6834
6834
|
"stateVariable": false,
|
|
6835
6835
|
"storageLocation": "memory",
|
|
@@ -6838,7 +6838,7 @@
|
|
|
6838
6838
|
"typeString": "string"
|
|
6839
6839
|
},
|
|
6840
6840
|
"typeName": {
|
|
6841
|
-
"id":
|
|
6841
|
+
"id": 38282,
|
|
6842
6842
|
"name": "string",
|
|
6843
6843
|
"nodeType": "ElementaryTypeName",
|
|
6844
6844
|
"src": "384:6:108",
|
|
@@ -6851,12 +6851,12 @@
|
|
|
6851
6851
|
},
|
|
6852
6852
|
{
|
|
6853
6853
|
"constant": false,
|
|
6854
|
-
"id":
|
|
6854
|
+
"id": 38285,
|
|
6855
6855
|
"mutability": "mutable",
|
|
6856
6856
|
"name": "symbol",
|
|
6857
6857
|
"nameLocation": "418:6:108",
|
|
6858
6858
|
"nodeType": "VariableDeclaration",
|
|
6859
|
-
"scope":
|
|
6859
|
+
"scope": 38299,
|
|
6860
6860
|
"src": "404:20:108",
|
|
6861
6861
|
"stateVariable": false,
|
|
6862
6862
|
"storageLocation": "memory",
|
|
@@ -6865,7 +6865,7 @@
|
|
|
6865
6865
|
"typeString": "string"
|
|
6866
6866
|
},
|
|
6867
6867
|
"typeName": {
|
|
6868
|
-
"id":
|
|
6868
|
+
"id": 38284,
|
|
6869
6869
|
"name": "string",
|
|
6870
6870
|
"nodeType": "ElementaryTypeName",
|
|
6871
6871
|
"src": "404:6:108",
|
|
@@ -6878,12 +6878,12 @@
|
|
|
6878
6878
|
},
|
|
6879
6879
|
{
|
|
6880
6880
|
"constant": false,
|
|
6881
|
-
"id":
|
|
6881
|
+
"id": 38287,
|
|
6882
6882
|
"mutability": "mutable",
|
|
6883
6883
|
"name": "initDecimals",
|
|
6884
6884
|
"nameLocation": "432:12:108",
|
|
6885
6885
|
"nodeType": "VariableDeclaration",
|
|
6886
|
-
"scope":
|
|
6886
|
+
"scope": 38299,
|
|
6887
6887
|
"src": "426:18:108",
|
|
6888
6888
|
"stateVariable": false,
|
|
6889
6889
|
"storageLocation": "default",
|
|
@@ -6892,7 +6892,7 @@
|
|
|
6892
6892
|
"typeString": "uint8"
|
|
6893
6893
|
},
|
|
6894
6894
|
"typeName": {
|
|
6895
|
-
"id":
|
|
6895
|
+
"id": 38286,
|
|
6896
6896
|
"name": "uint8",
|
|
6897
6897
|
"nodeType": "ElementaryTypeName",
|
|
6898
6898
|
"src": "426:5:108",
|
|
@@ -6907,12 +6907,12 @@
|
|
|
6907
6907
|
"src": "383:62:108"
|
|
6908
6908
|
},
|
|
6909
6909
|
"returnParameters": {
|
|
6910
|
-
"id":
|
|
6910
|
+
"id": 38293,
|
|
6911
6911
|
"nodeType": "ParameterList",
|
|
6912
6912
|
"parameters": [],
|
|
6913
6913
|
"src": "478:0:108"
|
|
6914
6914
|
},
|
|
6915
|
-
"scope":
|
|
6915
|
+
"scope": 38336,
|
|
6916
6916
|
"src": "372:147:108",
|
|
6917
6917
|
"stateMutability": "nonpayable",
|
|
6918
6918
|
"virtual": false,
|
|
@@ -6920,7 +6920,7 @@
|
|
|
6920
6920
|
},
|
|
6921
6921
|
{
|
|
6922
6922
|
"body": {
|
|
6923
|
-
"id":
|
|
6923
|
+
"id": 38325,
|
|
6924
6924
|
"nodeType": "Block",
|
|
6925
6925
|
"src": "641:128:108",
|
|
6926
6926
|
"statements": [
|
|
@@ -6932,17 +6932,17 @@
|
|
|
6932
6932
|
"typeIdentifier": "t_uint256",
|
|
6933
6933
|
"typeString": "uint256"
|
|
6934
6934
|
},
|
|
6935
|
-
"id":
|
|
6935
|
+
"id": 38312,
|
|
6936
6936
|
"isConstant": false,
|
|
6937
6937
|
"isLValue": false,
|
|
6938
6938
|
"isPure": false,
|
|
6939
6939
|
"lValueRequested": false,
|
|
6940
6940
|
"leftExpression": {
|
|
6941
|
-
"id":
|
|
6941
|
+
"id": 38310,
|
|
6942
6942
|
"name": "amount",
|
|
6943
6943
|
"nodeType": "Identifier",
|
|
6944
6944
|
"overloadedDeclarations": [],
|
|
6945
|
-
"referencedDeclaration":
|
|
6945
|
+
"referencedDeclaration": 38304,
|
|
6946
6946
|
"src": "659:6:108",
|
|
6947
6947
|
"typeDescriptions": {
|
|
6948
6948
|
"typeIdentifier": "t_uint256",
|
|
@@ -6952,11 +6952,11 @@
|
|
|
6952
6952
|
"nodeType": "BinaryOperation",
|
|
6953
6953
|
"operator": "<=",
|
|
6954
6954
|
"rightExpression": {
|
|
6955
|
-
"id":
|
|
6955
|
+
"id": 38311,
|
|
6956
6956
|
"name": "MINT_LIMIT",
|
|
6957
6957
|
"nodeType": "Identifier",
|
|
6958
6958
|
"overloadedDeclarations": [],
|
|
6959
|
-
"referencedDeclaration":
|
|
6959
|
+
"referencedDeclaration": 38279,
|
|
6960
6960
|
"src": "669:10:108",
|
|
6961
6961
|
"typeDescriptions": {
|
|
6962
6962
|
"typeIdentifier": "t_uint256",
|
|
@@ -6971,7 +6971,7 @@
|
|
|
6971
6971
|
},
|
|
6972
6972
|
{
|
|
6973
6973
|
"hexValue": "446f6e2774206d696e7420746f6f206d616e79",
|
|
6974
|
-
"id":
|
|
6974
|
+
"id": 38313,
|
|
6975
6975
|
"isConstant": false,
|
|
6976
6976
|
"isLValue": false,
|
|
6977
6977
|
"isPure": true,
|
|
@@ -6997,7 +6997,7 @@
|
|
|
6997
6997
|
"typeString": "literal_string \"Don't mint too many\""
|
|
6998
6998
|
}
|
|
6999
6999
|
],
|
|
7000
|
-
"id":
|
|
7000
|
+
"id": 38309,
|
|
7001
7001
|
"name": "require",
|
|
7002
7002
|
"nodeType": "Identifier",
|
|
7003
7003
|
"overloadedDeclarations": [
|
|
@@ -7011,7 +7011,7 @@
|
|
|
7011
7011
|
"typeString": "function (bool,string memory) pure"
|
|
7012
7012
|
}
|
|
7013
7013
|
},
|
|
7014
|
-
"id":
|
|
7014
|
+
"id": 38314,
|
|
7015
7015
|
"isConstant": false,
|
|
7016
7016
|
"isLValue": false,
|
|
7017
7017
|
"isPure": false,
|
|
@@ -7026,7 +7026,7 @@
|
|
|
7026
7026
|
"typeString": "tuple()"
|
|
7027
7027
|
}
|
|
7028
7028
|
},
|
|
7029
|
-
"id":
|
|
7029
|
+
"id": 38315,
|
|
7030
7030
|
"nodeType": "ExpressionStatement",
|
|
7031
7031
|
"src": "651:52:108"
|
|
7032
7032
|
},
|
|
@@ -7034,11 +7034,11 @@
|
|
|
7034
7034
|
"expression": {
|
|
7035
7035
|
"arguments": [
|
|
7036
7036
|
{
|
|
7037
|
-
"id":
|
|
7037
|
+
"id": 38319,
|
|
7038
7038
|
"name": "account",
|
|
7039
7039
|
"nodeType": "Identifier",
|
|
7040
7040
|
"overloadedDeclarations": [],
|
|
7041
|
-
"referencedDeclaration":
|
|
7041
|
+
"referencedDeclaration": 38302,
|
|
7042
7042
|
"src": "725:7:108",
|
|
7043
7043
|
"typeDescriptions": {
|
|
7044
7044
|
"typeIdentifier": "t_address",
|
|
@@ -7046,11 +7046,11 @@
|
|
|
7046
7046
|
}
|
|
7047
7047
|
},
|
|
7048
7048
|
{
|
|
7049
|
-
"id":
|
|
7049
|
+
"id": 38320,
|
|
7050
7050
|
"name": "amount",
|
|
7051
7051
|
"nodeType": "Identifier",
|
|
7052
7052
|
"overloadedDeclarations": [],
|
|
7053
|
-
"referencedDeclaration":
|
|
7053
|
+
"referencedDeclaration": 38304,
|
|
7054
7054
|
"src": "734:6:108",
|
|
7055
7055
|
"typeDescriptions": {
|
|
7056
7056
|
"typeIdentifier": "t_uint256",
|
|
@@ -7070,7 +7070,7 @@
|
|
|
7070
7070
|
}
|
|
7071
7071
|
],
|
|
7072
7072
|
"expression": {
|
|
7073
|
-
"id":
|
|
7073
|
+
"id": 38316,
|
|
7074
7074
|
"name": "ERC20",
|
|
7075
7075
|
"nodeType": "Identifier",
|
|
7076
7076
|
"overloadedDeclarations": [],
|
|
@@ -7081,7 +7081,7 @@
|
|
|
7081
7081
|
"typeString": "type(contract ERC20)"
|
|
7082
7082
|
}
|
|
7083
7083
|
},
|
|
7084
|
-
"id":
|
|
7084
|
+
"id": 38318,
|
|
7085
7085
|
"isConstant": false,
|
|
7086
7086
|
"isLValue": false,
|
|
7087
7087
|
"isPure": false,
|
|
@@ -7095,7 +7095,7 @@
|
|
|
7095
7095
|
"typeString": "function (address,uint256)"
|
|
7096
7096
|
}
|
|
7097
7097
|
},
|
|
7098
|
-
"id":
|
|
7098
|
+
"id": 38321,
|
|
7099
7099
|
"isConstant": false,
|
|
7100
7100
|
"isLValue": false,
|
|
7101
7101
|
"isPure": false,
|
|
@@ -7110,14 +7110,14 @@
|
|
|
7110
7110
|
"typeString": "tuple()"
|
|
7111
7111
|
}
|
|
7112
7112
|
},
|
|
7113
|
-
"id":
|
|
7113
|
+
"id": 38322,
|
|
7114
7114
|
"nodeType": "ExpressionStatement",
|
|
7115
7115
|
"src": "713:28:108"
|
|
7116
7116
|
},
|
|
7117
7117
|
{
|
|
7118
7118
|
"expression": {
|
|
7119
7119
|
"hexValue": "74727565",
|
|
7120
|
-
"id":
|
|
7120
|
+
"id": 38323,
|
|
7121
7121
|
"isConstant": false,
|
|
7122
7122
|
"isLValue": false,
|
|
7123
7123
|
"isPure": true,
|
|
@@ -7131,21 +7131,21 @@
|
|
|
7131
7131
|
},
|
|
7132
7132
|
"value": "true"
|
|
7133
7133
|
},
|
|
7134
|
-
"functionReturnParameters":
|
|
7135
|
-
"id":
|
|
7134
|
+
"functionReturnParameters": 38308,
|
|
7135
|
+
"id": 38324,
|
|
7136
7136
|
"nodeType": "Return",
|
|
7137
7137
|
"src": "751:11:108"
|
|
7138
7138
|
}
|
|
7139
7139
|
]
|
|
7140
7140
|
},
|
|
7141
7141
|
"documentation": {
|
|
7142
|
-
"id":
|
|
7142
|
+
"id": 38300,
|
|
7143
7143
|
"nodeType": "StructuredDocumentation",
|
|
7144
7144
|
"src": "525:42:108",
|
|
7145
7145
|
"text": " @dev See {ERC20-_mint}."
|
|
7146
7146
|
},
|
|
7147
7147
|
"functionSelector": "40c10f19",
|
|
7148
|
-
"id":
|
|
7148
|
+
"id": 38326,
|
|
7149
7149
|
"implemented": true,
|
|
7150
7150
|
"kind": "function",
|
|
7151
7151
|
"modifiers": [],
|
|
@@ -7153,17 +7153,17 @@
|
|
|
7153
7153
|
"nameLocation": "581:4:108",
|
|
7154
7154
|
"nodeType": "FunctionDefinition",
|
|
7155
7155
|
"parameters": {
|
|
7156
|
-
"id":
|
|
7156
|
+
"id": 38305,
|
|
7157
7157
|
"nodeType": "ParameterList",
|
|
7158
7158
|
"parameters": [
|
|
7159
7159
|
{
|
|
7160
7160
|
"constant": false,
|
|
7161
|
-
"id":
|
|
7161
|
+
"id": 38302,
|
|
7162
7162
|
"mutability": "mutable",
|
|
7163
7163
|
"name": "account",
|
|
7164
7164
|
"nameLocation": "594:7:108",
|
|
7165
7165
|
"nodeType": "VariableDeclaration",
|
|
7166
|
-
"scope":
|
|
7166
|
+
"scope": 38326,
|
|
7167
7167
|
"src": "586:15:108",
|
|
7168
7168
|
"stateVariable": false,
|
|
7169
7169
|
"storageLocation": "default",
|
|
@@ -7172,7 +7172,7 @@
|
|
|
7172
7172
|
"typeString": "address"
|
|
7173
7173
|
},
|
|
7174
7174
|
"typeName": {
|
|
7175
|
-
"id":
|
|
7175
|
+
"id": 38301,
|
|
7176
7176
|
"name": "address",
|
|
7177
7177
|
"nodeType": "ElementaryTypeName",
|
|
7178
7178
|
"src": "586:7:108",
|
|
@@ -7186,12 +7186,12 @@
|
|
|
7186
7186
|
},
|
|
7187
7187
|
{
|
|
7188
7188
|
"constant": false,
|
|
7189
|
-
"id":
|
|
7189
|
+
"id": 38304,
|
|
7190
7190
|
"mutability": "mutable",
|
|
7191
7191
|
"name": "amount",
|
|
7192
7192
|
"nameLocation": "611:6:108",
|
|
7193
7193
|
"nodeType": "VariableDeclaration",
|
|
7194
|
-
"scope":
|
|
7194
|
+
"scope": 38326,
|
|
7195
7195
|
"src": "603:14:108",
|
|
7196
7196
|
"stateVariable": false,
|
|
7197
7197
|
"storageLocation": "default",
|
|
@@ -7200,7 +7200,7 @@
|
|
|
7200
7200
|
"typeString": "uint256"
|
|
7201
7201
|
},
|
|
7202
7202
|
"typeName": {
|
|
7203
|
-
"id":
|
|
7203
|
+
"id": 38303,
|
|
7204
7204
|
"name": "uint256",
|
|
7205
7205
|
"nodeType": "ElementaryTypeName",
|
|
7206
7206
|
"src": "603:7:108",
|
|
@@ -7215,17 +7215,17 @@
|
|
|
7215
7215
|
"src": "585:33:108"
|
|
7216
7216
|
},
|
|
7217
7217
|
"returnParameters": {
|
|
7218
|
-
"id":
|
|
7218
|
+
"id": 38308,
|
|
7219
7219
|
"nodeType": "ParameterList",
|
|
7220
7220
|
"parameters": [
|
|
7221
7221
|
{
|
|
7222
7222
|
"constant": false,
|
|
7223
|
-
"id":
|
|
7223
|
+
"id": 38307,
|
|
7224
7224
|
"mutability": "mutable",
|
|
7225
7225
|
"name": "",
|
|
7226
7226
|
"nameLocation": "-1:-1:-1",
|
|
7227
7227
|
"nodeType": "VariableDeclaration",
|
|
7228
|
-
"scope":
|
|
7228
|
+
"scope": 38326,
|
|
7229
7229
|
"src": "635:4:108",
|
|
7230
7230
|
"stateVariable": false,
|
|
7231
7231
|
"storageLocation": "default",
|
|
@@ -7234,7 +7234,7 @@
|
|
|
7234
7234
|
"typeString": "bool"
|
|
7235
7235
|
},
|
|
7236
7236
|
"typeName": {
|
|
7237
|
-
"id":
|
|
7237
|
+
"id": 38306,
|
|
7238
7238
|
"name": "bool",
|
|
7239
7239
|
"nodeType": "ElementaryTypeName",
|
|
7240
7240
|
"src": "635:4:108",
|
|
@@ -7248,7 +7248,7 @@
|
|
|
7248
7248
|
],
|
|
7249
7249
|
"src": "634:6:108"
|
|
7250
7250
|
},
|
|
7251
|
-
"scope":
|
|
7251
|
+
"scope": 38336,
|
|
7252
7252
|
"src": "572:197:108",
|
|
7253
7253
|
"stateMutability": "nonpayable",
|
|
7254
7254
|
"virtual": false,
|
|
@@ -7259,32 +7259,32 @@
|
|
|
7259
7259
|
929
|
|
7260
7260
|
],
|
|
7261
7261
|
"body": {
|
|
7262
|
-
"id":
|
|
7262
|
+
"id": 38334,
|
|
7263
7263
|
"nodeType": "Block",
|
|
7264
7264
|
"src": "832:33:108",
|
|
7265
7265
|
"statements": [
|
|
7266
7266
|
{
|
|
7267
7267
|
"expression": {
|
|
7268
|
-
"id":
|
|
7268
|
+
"id": 38332,
|
|
7269
7269
|
"name": "_decimals",
|
|
7270
7270
|
"nodeType": "Identifier",
|
|
7271
7271
|
"overloadedDeclarations": [],
|
|
7272
|
-
"referencedDeclaration":
|
|
7272
|
+
"referencedDeclaration": 38281,
|
|
7273
7273
|
"src": "849:9:108",
|
|
7274
7274
|
"typeDescriptions": {
|
|
7275
7275
|
"typeIdentifier": "t_uint8",
|
|
7276
7276
|
"typeString": "uint8"
|
|
7277
7277
|
}
|
|
7278
7278
|
},
|
|
7279
|
-
"functionReturnParameters":
|
|
7280
|
-
"id":
|
|
7279
|
+
"functionReturnParameters": 38331,
|
|
7280
|
+
"id": 38333,
|
|
7281
7281
|
"nodeType": "Return",
|
|
7282
7282
|
"src": "842:16:108"
|
|
7283
7283
|
}
|
|
7284
7284
|
]
|
|
7285
7285
|
},
|
|
7286
7286
|
"functionSelector": "313ce567",
|
|
7287
|
-
"id":
|
|
7287
|
+
"id": 38335,
|
|
7288
7288
|
"implemented": true,
|
|
7289
7289
|
"kind": "function",
|
|
7290
7290
|
"modifiers": [],
|
|
@@ -7292,29 +7292,29 @@
|
|
|
7292
7292
|
"nameLocation": "784:8:108",
|
|
7293
7293
|
"nodeType": "FunctionDefinition",
|
|
7294
7294
|
"overrides": {
|
|
7295
|
-
"id":
|
|
7295
|
+
"id": 38328,
|
|
7296
7296
|
"nodeType": "OverrideSpecifier",
|
|
7297
7297
|
"overrides": [],
|
|
7298
7298
|
"src": "807:8:108"
|
|
7299
7299
|
},
|
|
7300
7300
|
"parameters": {
|
|
7301
|
-
"id":
|
|
7301
|
+
"id": 38327,
|
|
7302
7302
|
"nodeType": "ParameterList",
|
|
7303
7303
|
"parameters": [],
|
|
7304
7304
|
"src": "792:2:108"
|
|
7305
7305
|
},
|
|
7306
7306
|
"returnParameters": {
|
|
7307
|
-
"id":
|
|
7307
|
+
"id": 38331,
|
|
7308
7308
|
"nodeType": "ParameterList",
|
|
7309
7309
|
"parameters": [
|
|
7310
7310
|
{
|
|
7311
7311
|
"constant": false,
|
|
7312
|
-
"id":
|
|
7312
|
+
"id": 38330,
|
|
7313
7313
|
"mutability": "mutable",
|
|
7314
7314
|
"name": "",
|
|
7315
7315
|
"nameLocation": "-1:-1:-1",
|
|
7316
7316
|
"nodeType": "VariableDeclaration",
|
|
7317
|
-
"scope":
|
|
7317
|
+
"scope": 38335,
|
|
7318
7318
|
"src": "825:5:108",
|
|
7319
7319
|
"stateVariable": false,
|
|
7320
7320
|
"storageLocation": "default",
|
|
@@ -7323,7 +7323,7 @@
|
|
|
7323
7323
|
"typeString": "uint8"
|
|
7324
7324
|
},
|
|
7325
7325
|
"typeName": {
|
|
7326
|
-
"id":
|
|
7326
|
+
"id": 38329,
|
|
7327
7327
|
"name": "uint8",
|
|
7328
7328
|
"nodeType": "ElementaryTypeName",
|
|
7329
7329
|
"src": "825:5:108",
|
|
@@ -7337,14 +7337,14 @@
|
|
|
7337
7337
|
],
|
|
7338
7338
|
"src": "824:7:108"
|
|
7339
7339
|
},
|
|
7340
|
-
"scope":
|
|
7340
|
+
"scope": 38336,
|
|
7341
7341
|
"src": "775:90:108",
|
|
7342
7342
|
"stateMutability": "view",
|
|
7343
7343
|
"virtual": false,
|
|
7344
7344
|
"visibility": "public"
|
|
7345
7345
|
}
|
|
7346
7346
|
],
|
|
7347
|
-
"scope":
|
|
7347
|
+
"scope": 38337,
|
|
7348
7348
|
"src": "254:614:108",
|
|
7349
7349
|
"usedErrors": []
|
|
7350
7350
|
}
|
|
@@ -7357,7 +7357,7 @@
|
|
|
7357
7357
|
},
|
|
7358
7358
|
"networks": {},
|
|
7359
7359
|
"schemaVersion": "3.4.7",
|
|
7360
|
-
"updatedAt": "2022-05-
|
|
7360
|
+
"updatedAt": "2022-05-06T12:43:05.876Z",
|
|
7361
7361
|
"devdoc": {
|
|
7362
7362
|
"author": "Superfluid",
|
|
7363
7363
|
"details": "Test ERC20 token that allows any one mint new tokens.",
|