@superfluid-finance/ethereum-contracts 1.4.1 → 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.
- 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 +28 -28
- package/build/contracts/AgreementLibrary.json +165 -165
- package/build/contracts/BaseRelayRecipient.json +55 -55
- package/build/contracts/BatchLiquidator.json +208 -208
- package/build/contracts/BatchOperation.json +788 -788
- package/build/contracts/CFAv1Forwarder.json +1321 -1321
- package/build/contracts/CFAv1Library.json +2279 -2279
- package/build/contracts/CallUtils.json +198 -198
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +1544 -1544
- package/build/contracts/ConstantFlowAgreementV1.json +1702 -1622
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +788 -788
- package/build/contracts/Create2.json +1 -1
- package/build/contracts/CustomSuperTokenBase.json +19 -19
- package/build/contracts/ERC165.json +1 -1
- package/build/contracts/ERC1820Implementer.json +1 -1
- package/build/contracts/ERC1820RegistryCompiled.json +22 -22
- 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 +23 -23
- package/build/contracts/ERC777Helper.json +380 -380
- package/build/contracts/ERC777RecipientDrainingGas.json +855 -855
- package/build/contracts/ERC777RecipientReverting.json +855 -855
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/EventsEmitter.json +43 -43
- package/build/contracts/ExclusiveInflowTestApp.json +1544 -1544
- package/build/contracts/FixedSizeData.json +200 -200
- package/build/contracts/FlowExchangeTestApp.json +1545 -1545
- package/build/contracts/FlowOperatorDefinitions.json +788 -788
- package/build/contracts/FullUpgradableSuperTokenProxy.json +116 -116
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +615 -615
- package/build/contracts/IDAv1Library.json +2611 -2611
- 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/IERC20Permit.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 +652 -652
- package/build/contracts/IMultiSigWallet.json +24 -24
- package/build/contracts/IPureSuperToken.json +47 -47
- package/build/contracts/IPureSuperTokenCustom.json +47 -47
- package/build/contracts/IRelayRecipient.json +27 -27
- package/build/contracts/IResolver.json +38 -38
- package/build/contracts/ISETH.json +52 -52
- package/build/contracts/ISETHCustom.json +52 -52
- package/build/contracts/ISuperAgreement.json +50 -50
- package/build/contracts/ISuperApp.json +191 -191
- package/build/contracts/ISuperToken.json +544 -544
- package/build/contracts/ISuperTokenFactory.json +166 -166
- package/build/contracts/ISuperfluid.json +886 -886
- package/build/contracts/ISuperfluidGovernance.json +254 -254
- package/build/contracts/ISuperfluidToken.json +395 -395
- package/build/contracts/ITOGAv1.json +1441 -1441
- package/build/contracts/ITOGAv2.json +1441 -1441
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +5894 -5894
- package/build/contracts/NonClosableOutflowTestApp.json +1545 -1545
- 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 +1544 -1544
- package/build/contracts/SlotsBitmapLibrary.json +457 -457
- package/build/contracts/StreamRedirector.json +745 -745
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +239 -239
- package/build/contracts/SuperAppDefinitions.json +788 -788
- package/build/contracts/SuperToken.json +2477 -2477
- package/build/contracts/SuperTokenFactory.json +774 -774
- package/build/contracts/SuperTokenFactoryBase.json +764 -764
- package/build/contracts/SuperTokenFactoryHelper.json +767 -767
- package/build/contracts/SuperUpgrader.json +437 -437
- package/build/contracts/Superfluid.json +5096 -5096
- package/build/contracts/SuperfluidErrors.json +788 -788
- package/build/contracts/SuperfluidFrameworkDeployer.json +765 -765
- package/build/contracts/SuperfluidGovernanceBase.json +2459 -2459
- package/build/contracts/SuperfluidGovernanceConfigs.json +788 -788
- package/build/contracts/SuperfluidGovernanceII.json +155 -155
- package/build/contracts/SuperfluidGovernanceIIProxy.json +135 -135
- package/build/contracts/SuperfluidLoader.json +207 -207
- package/build/contracts/SuperfluidToken.json +1471 -1471
- package/build/contracts/TOGA.json +1457 -1457
- package/build/contracts/TestGovernance.json +250 -250
- package/build/contracts/TestToken.json +93 -93
- package/build/contracts/TokenCustodian.json +214 -214
- package/build/contracts/TokenInfo.json +32 -32
- package/build/contracts/UUPSProxiable.json +139 -139
- package/build/contracts/UUPSProxy.json +81 -81
- package/build/contracts/UUPSUtils.json +37 -37
- package/build/contracts-sizes.txt +1 -1
- package/contracts/agreements/ConstantFlowAgreementV1.sol +4 -0
- package/package.json +9 -5
|
@@ -8082,15 +8082,15 @@
|
|
|
8082
8082
|
1552
|
|
8083
8083
|
],
|
|
8084
8084
|
"TestToken": [
|
|
8085
|
-
|
|
8085
|
+
40375
|
|
8086
8086
|
]
|
|
8087
8087
|
},
|
|
8088
|
-
"id":
|
|
8088
|
+
"id": 40376,
|
|
8089
8089
|
"license": "AGPLv3",
|
|
8090
8090
|
"nodeType": "SourceUnit",
|
|
8091
8091
|
"nodes": [
|
|
8092
8092
|
{
|
|
8093
|
-
"id":
|
|
8093
|
+
"id": 40311,
|
|
8094
8094
|
"literals": [
|
|
8095
8095
|
"solidity",
|
|
8096
8096
|
"0.8",
|
|
@@ -8102,16 +8102,16 @@
|
|
|
8102
8102
|
{
|
|
8103
8103
|
"absolutePath": "@openzeppelin/contracts/token/ERC20/ERC20.sol",
|
|
8104
8104
|
"file": "@openzeppelin/contracts/token/ERC20/ERC20.sol",
|
|
8105
|
-
"id":
|
|
8105
|
+
"id": 40313,
|
|
8106
8106
|
"nameLocation": "-1:-1:-1",
|
|
8107
8107
|
"nodeType": "ImportDirective",
|
|
8108
|
-
"scope":
|
|
8108
|
+
"scope": 40376,
|
|
8109
8109
|
"sourceUnit": 1553,
|
|
8110
8110
|
"src": "60:70:104",
|
|
8111
8111
|
"symbolAliases": [
|
|
8112
8112
|
{
|
|
8113
8113
|
"foreign": {
|
|
8114
|
-
"id":
|
|
8114
|
+
"id": 40312,
|
|
8115
8115
|
"name": "ERC20",
|
|
8116
8116
|
"nodeType": "Identifier",
|
|
8117
8117
|
"overloadedDeclarations": [],
|
|
@@ -8129,7 +8129,7 @@
|
|
|
8129
8129
|
"baseContracts": [
|
|
8130
8130
|
{
|
|
8131
8131
|
"baseName": {
|
|
8132
|
-
"id":
|
|
8132
|
+
"id": 40315,
|
|
8133
8133
|
"name": "ERC20",
|
|
8134
8134
|
"nameLocations": [
|
|
8135
8135
|
"276:5:104"
|
|
@@ -8138,7 +8138,7 @@
|
|
|
8138
8138
|
"referencedDeclaration": 1552,
|
|
8139
8139
|
"src": "276:5:104"
|
|
8140
8140
|
},
|
|
8141
|
-
"id":
|
|
8141
|
+
"id": 40316,
|
|
8142
8142
|
"nodeType": "InheritanceSpecifier",
|
|
8143
8143
|
"src": "276:5:104"
|
|
8144
8144
|
}
|
|
@@ -8147,15 +8147,15 @@
|
|
|
8147
8147
|
"contractDependencies": [],
|
|
8148
8148
|
"contractKind": "contract",
|
|
8149
8149
|
"documentation": {
|
|
8150
|
-
"id":
|
|
8150
|
+
"id": 40314,
|
|
8151
8151
|
"nodeType": "StructuredDocumentation",
|
|
8152
8152
|
"src": "132:121:104",
|
|
8153
8153
|
"text": " @title Test token contract\n @author Superfluid\n @dev Test ERC20 token that allows any one mint new tokens."
|
|
8154
8154
|
},
|
|
8155
8155
|
"fullyImplemented": true,
|
|
8156
|
-
"id":
|
|
8156
|
+
"id": 40375,
|
|
8157
8157
|
"linearizedBaseContracts": [
|
|
8158
|
-
|
|
8158
|
+
40375,
|
|
8159
8159
|
1552,
|
|
8160
8160
|
1736,
|
|
8161
8161
|
1630,
|
|
@@ -8168,12 +8168,12 @@
|
|
|
8168
8168
|
{
|
|
8169
8169
|
"constant": true,
|
|
8170
8170
|
"functionSelector": "02775240",
|
|
8171
|
-
"id":
|
|
8171
|
+
"id": 40319,
|
|
8172
8172
|
"mutability": "constant",
|
|
8173
8173
|
"name": "MINT_LIMIT",
|
|
8174
8174
|
"nameLocation": "313:10:104",
|
|
8175
8175
|
"nodeType": "VariableDeclaration",
|
|
8176
|
-
"scope":
|
|
8176
|
+
"scope": 40375,
|
|
8177
8177
|
"src": "289:47:104",
|
|
8178
8178
|
"stateVariable": true,
|
|
8179
8179
|
"storageLocation": "default",
|
|
@@ -8182,7 +8182,7 @@
|
|
|
8182
8182
|
"typeString": "uint256"
|
|
8183
8183
|
},
|
|
8184
8184
|
"typeName": {
|
|
8185
|
-
"id":
|
|
8185
|
+
"id": 40317,
|
|
8186
8186
|
"name": "uint256",
|
|
8187
8187
|
"nodeType": "ElementaryTypeName",
|
|
8188
8188
|
"src": "289:7:104",
|
|
@@ -8193,7 +8193,7 @@
|
|
|
8193
8193
|
},
|
|
8194
8194
|
"value": {
|
|
8195
8195
|
"hexValue": "31653132",
|
|
8196
|
-
"id":
|
|
8196
|
+
"id": 40318,
|
|
8197
8197
|
"isConstant": false,
|
|
8198
8198
|
"isLValue": false,
|
|
8199
8199
|
"isPure": true,
|
|
@@ -8212,12 +8212,12 @@
|
|
|
8212
8212
|
},
|
|
8213
8213
|
{
|
|
8214
8214
|
"constant": false,
|
|
8215
|
-
"id":
|
|
8215
|
+
"id": 40321,
|
|
8216
8216
|
"mutability": "mutable",
|
|
8217
8217
|
"name": "_decimals",
|
|
8218
8218
|
"nameLocation": "356:9:104",
|
|
8219
8219
|
"nodeType": "VariableDeclaration",
|
|
8220
|
-
"scope":
|
|
8220
|
+
"scope": 40375,
|
|
8221
8221
|
"src": "342:23:104",
|
|
8222
8222
|
"stateVariable": true,
|
|
8223
8223
|
"storageLocation": "default",
|
|
@@ -8226,7 +8226,7 @@
|
|
|
8226
8226
|
"typeString": "uint8"
|
|
8227
8227
|
},
|
|
8228
8228
|
"typeName": {
|
|
8229
|
-
"id":
|
|
8229
|
+
"id": 40320,
|
|
8230
8230
|
"name": "uint8",
|
|
8231
8231
|
"nodeType": "ElementaryTypeName",
|
|
8232
8232
|
"src": "342:5:104",
|
|
@@ -8239,23 +8239,23 @@
|
|
|
8239
8239
|
},
|
|
8240
8240
|
{
|
|
8241
8241
|
"body": {
|
|
8242
|
-
"id":
|
|
8242
|
+
"id": 40338,
|
|
8243
8243
|
"nodeType": "Block",
|
|
8244
8244
|
"src": "478:41:104",
|
|
8245
8245
|
"statements": [
|
|
8246
8246
|
{
|
|
8247
8247
|
"expression": {
|
|
8248
|
-
"id":
|
|
8248
|
+
"id": 40336,
|
|
8249
8249
|
"isConstant": false,
|
|
8250
8250
|
"isLValue": false,
|
|
8251
8251
|
"isPure": false,
|
|
8252
8252
|
"lValueRequested": false,
|
|
8253
8253
|
"leftHandSide": {
|
|
8254
|
-
"id":
|
|
8254
|
+
"id": 40334,
|
|
8255
8255
|
"name": "_decimals",
|
|
8256
8256
|
"nodeType": "Identifier",
|
|
8257
8257
|
"overloadedDeclarations": [],
|
|
8258
|
-
"referencedDeclaration":
|
|
8258
|
+
"referencedDeclaration": 40321,
|
|
8259
8259
|
"src": "488:9:104",
|
|
8260
8260
|
"typeDescriptions": {
|
|
8261
8261
|
"typeIdentifier": "t_uint8",
|
|
@@ -8265,11 +8265,11 @@
|
|
|
8265
8265
|
"nodeType": "Assignment",
|
|
8266
8266
|
"operator": "=",
|
|
8267
8267
|
"rightHandSide": {
|
|
8268
|
-
"id":
|
|
8268
|
+
"id": 40335,
|
|
8269
8269
|
"name": "initDecimals",
|
|
8270
8270
|
"nodeType": "Identifier",
|
|
8271
8271
|
"overloadedDeclarations": [],
|
|
8272
|
-
"referencedDeclaration":
|
|
8272
|
+
"referencedDeclaration": 40327,
|
|
8273
8273
|
"src": "500:12:104",
|
|
8274
8274
|
"typeDescriptions": {
|
|
8275
8275
|
"typeIdentifier": "t_uint8",
|
|
@@ -8282,24 +8282,24 @@
|
|
|
8282
8282
|
"typeString": "uint8"
|
|
8283
8283
|
}
|
|
8284
8284
|
},
|
|
8285
|
-
"id":
|
|
8285
|
+
"id": 40337,
|
|
8286
8286
|
"nodeType": "ExpressionStatement",
|
|
8287
8287
|
"src": "488:24:104"
|
|
8288
8288
|
}
|
|
8289
8289
|
]
|
|
8290
8290
|
},
|
|
8291
|
-
"id":
|
|
8291
|
+
"id": 40339,
|
|
8292
8292
|
"implemented": true,
|
|
8293
8293
|
"kind": "constructor",
|
|
8294
8294
|
"modifiers": [
|
|
8295
8295
|
{
|
|
8296
8296
|
"arguments": [
|
|
8297
8297
|
{
|
|
8298
|
-
"id":
|
|
8298
|
+
"id": 40330,
|
|
8299
8299
|
"name": "name",
|
|
8300
8300
|
"nodeType": "Identifier",
|
|
8301
8301
|
"overloadedDeclarations": [],
|
|
8302
|
-
"referencedDeclaration":
|
|
8302
|
+
"referencedDeclaration": 40323,
|
|
8303
8303
|
"src": "460:4:104",
|
|
8304
8304
|
"typeDescriptions": {
|
|
8305
8305
|
"typeIdentifier": "t_string_memory_ptr",
|
|
@@ -8307,11 +8307,11 @@
|
|
|
8307
8307
|
}
|
|
8308
8308
|
},
|
|
8309
8309
|
{
|
|
8310
|
-
"id":
|
|
8310
|
+
"id": 40331,
|
|
8311
8311
|
"name": "symbol",
|
|
8312
8312
|
"nodeType": "Identifier",
|
|
8313
8313
|
"overloadedDeclarations": [],
|
|
8314
|
-
"referencedDeclaration":
|
|
8314
|
+
"referencedDeclaration": 40325,
|
|
8315
8315
|
"src": "466:6:104",
|
|
8316
8316
|
"typeDescriptions": {
|
|
8317
8317
|
"typeIdentifier": "t_string_memory_ptr",
|
|
@@ -8319,10 +8319,10 @@
|
|
|
8319
8319
|
}
|
|
8320
8320
|
}
|
|
8321
8321
|
],
|
|
8322
|
-
"id":
|
|
8322
|
+
"id": 40332,
|
|
8323
8323
|
"kind": "baseConstructorSpecifier",
|
|
8324
8324
|
"modifierName": {
|
|
8325
|
-
"id":
|
|
8325
|
+
"id": 40329,
|
|
8326
8326
|
"name": "ERC20",
|
|
8327
8327
|
"nameLocations": [
|
|
8328
8328
|
"454:5:104"
|
|
@@ -8339,17 +8339,17 @@
|
|
|
8339
8339
|
"nameLocation": "-1:-1:-1",
|
|
8340
8340
|
"nodeType": "FunctionDefinition",
|
|
8341
8341
|
"parameters": {
|
|
8342
|
-
"id":
|
|
8342
|
+
"id": 40328,
|
|
8343
8343
|
"nodeType": "ParameterList",
|
|
8344
8344
|
"parameters": [
|
|
8345
8345
|
{
|
|
8346
8346
|
"constant": false,
|
|
8347
|
-
"id":
|
|
8347
|
+
"id": 40323,
|
|
8348
8348
|
"mutability": "mutable",
|
|
8349
8349
|
"name": "name",
|
|
8350
8350
|
"nameLocation": "398:4:104",
|
|
8351
8351
|
"nodeType": "VariableDeclaration",
|
|
8352
|
-
"scope":
|
|
8352
|
+
"scope": 40339,
|
|
8353
8353
|
"src": "384:18:104",
|
|
8354
8354
|
"stateVariable": false,
|
|
8355
8355
|
"storageLocation": "memory",
|
|
@@ -8358,7 +8358,7 @@
|
|
|
8358
8358
|
"typeString": "string"
|
|
8359
8359
|
},
|
|
8360
8360
|
"typeName": {
|
|
8361
|
-
"id":
|
|
8361
|
+
"id": 40322,
|
|
8362
8362
|
"name": "string",
|
|
8363
8363
|
"nodeType": "ElementaryTypeName",
|
|
8364
8364
|
"src": "384:6:104",
|
|
@@ -8371,12 +8371,12 @@
|
|
|
8371
8371
|
},
|
|
8372
8372
|
{
|
|
8373
8373
|
"constant": false,
|
|
8374
|
-
"id":
|
|
8374
|
+
"id": 40325,
|
|
8375
8375
|
"mutability": "mutable",
|
|
8376
8376
|
"name": "symbol",
|
|
8377
8377
|
"nameLocation": "418:6:104",
|
|
8378
8378
|
"nodeType": "VariableDeclaration",
|
|
8379
|
-
"scope":
|
|
8379
|
+
"scope": 40339,
|
|
8380
8380
|
"src": "404:20:104",
|
|
8381
8381
|
"stateVariable": false,
|
|
8382
8382
|
"storageLocation": "memory",
|
|
@@ -8385,7 +8385,7 @@
|
|
|
8385
8385
|
"typeString": "string"
|
|
8386
8386
|
},
|
|
8387
8387
|
"typeName": {
|
|
8388
|
-
"id":
|
|
8388
|
+
"id": 40324,
|
|
8389
8389
|
"name": "string",
|
|
8390
8390
|
"nodeType": "ElementaryTypeName",
|
|
8391
8391
|
"src": "404:6:104",
|
|
@@ -8398,12 +8398,12 @@
|
|
|
8398
8398
|
},
|
|
8399
8399
|
{
|
|
8400
8400
|
"constant": false,
|
|
8401
|
-
"id":
|
|
8401
|
+
"id": 40327,
|
|
8402
8402
|
"mutability": "mutable",
|
|
8403
8403
|
"name": "initDecimals",
|
|
8404
8404
|
"nameLocation": "432:12:104",
|
|
8405
8405
|
"nodeType": "VariableDeclaration",
|
|
8406
|
-
"scope":
|
|
8406
|
+
"scope": 40339,
|
|
8407
8407
|
"src": "426:18:104",
|
|
8408
8408
|
"stateVariable": false,
|
|
8409
8409
|
"storageLocation": "default",
|
|
@@ -8412,7 +8412,7 @@
|
|
|
8412
8412
|
"typeString": "uint8"
|
|
8413
8413
|
},
|
|
8414
8414
|
"typeName": {
|
|
8415
|
-
"id":
|
|
8415
|
+
"id": 40326,
|
|
8416
8416
|
"name": "uint8",
|
|
8417
8417
|
"nodeType": "ElementaryTypeName",
|
|
8418
8418
|
"src": "426:5:104",
|
|
@@ -8427,12 +8427,12 @@
|
|
|
8427
8427
|
"src": "383:62:104"
|
|
8428
8428
|
},
|
|
8429
8429
|
"returnParameters": {
|
|
8430
|
-
"id":
|
|
8430
|
+
"id": 40333,
|
|
8431
8431
|
"nodeType": "ParameterList",
|
|
8432
8432
|
"parameters": [],
|
|
8433
8433
|
"src": "478:0:104"
|
|
8434
8434
|
},
|
|
8435
|
-
"scope":
|
|
8435
|
+
"scope": 40375,
|
|
8436
8436
|
"src": "372:147:104",
|
|
8437
8437
|
"stateMutability": "nonpayable",
|
|
8438
8438
|
"virtual": false,
|
|
@@ -8440,7 +8440,7 @@
|
|
|
8440
8440
|
},
|
|
8441
8441
|
{
|
|
8442
8442
|
"body": {
|
|
8443
|
-
"id":
|
|
8443
|
+
"id": 40364,
|
|
8444
8444
|
"nodeType": "Block",
|
|
8445
8445
|
"src": "641:138:104",
|
|
8446
8446
|
"statements": [
|
|
@@ -8452,17 +8452,17 @@
|
|
|
8452
8452
|
"typeIdentifier": "t_uint256",
|
|
8453
8453
|
"typeString": "uint256"
|
|
8454
8454
|
},
|
|
8455
|
-
"id":
|
|
8455
|
+
"id": 40352,
|
|
8456
8456
|
"isConstant": false,
|
|
8457
8457
|
"isLValue": false,
|
|
8458
8458
|
"isPure": false,
|
|
8459
8459
|
"lValueRequested": false,
|
|
8460
8460
|
"leftExpression": {
|
|
8461
|
-
"id":
|
|
8461
|
+
"id": 40350,
|
|
8462
8462
|
"name": "amount",
|
|
8463
8463
|
"nodeType": "Identifier",
|
|
8464
8464
|
"overloadedDeclarations": [],
|
|
8465
|
-
"referencedDeclaration":
|
|
8465
|
+
"referencedDeclaration": 40344,
|
|
8466
8466
|
"src": "658:6:104",
|
|
8467
8467
|
"typeDescriptions": {
|
|
8468
8468
|
"typeIdentifier": "t_uint256",
|
|
@@ -8472,11 +8472,11 @@
|
|
|
8472
8472
|
"nodeType": "BinaryOperation",
|
|
8473
8473
|
"operator": "<=",
|
|
8474
8474
|
"rightExpression": {
|
|
8475
|
-
"id":
|
|
8475
|
+
"id": 40351,
|
|
8476
8476
|
"name": "MINT_LIMIT",
|
|
8477
8477
|
"nodeType": "Identifier",
|
|
8478
8478
|
"overloadedDeclarations": [],
|
|
8479
|
-
"referencedDeclaration":
|
|
8479
|
+
"referencedDeclaration": 40319,
|
|
8480
8480
|
"src": "668:10:104",
|
|
8481
8481
|
"typeDescriptions": {
|
|
8482
8482
|
"typeIdentifier": "t_uint256",
|
|
@@ -8497,7 +8497,7 @@
|
|
|
8497
8497
|
"typeString": "bool"
|
|
8498
8498
|
}
|
|
8499
8499
|
],
|
|
8500
|
-
"id":
|
|
8500
|
+
"id": 40349,
|
|
8501
8501
|
"name": "assert",
|
|
8502
8502
|
"nodeType": "Identifier",
|
|
8503
8503
|
"overloadedDeclarations": [],
|
|
@@ -8508,7 +8508,7 @@
|
|
|
8508
8508
|
"typeString": "function (bool) pure"
|
|
8509
8509
|
}
|
|
8510
8510
|
},
|
|
8511
|
-
"id":
|
|
8511
|
+
"id": 40353,
|
|
8512
8512
|
"isConstant": false,
|
|
8513
8513
|
"isLValue": false,
|
|
8514
8514
|
"isPure": false,
|
|
@@ -8524,7 +8524,7 @@
|
|
|
8524
8524
|
"typeString": "tuple()"
|
|
8525
8525
|
}
|
|
8526
8526
|
},
|
|
8527
|
-
"id":
|
|
8527
|
+
"id": 40354,
|
|
8528
8528
|
"nodeType": "ExpressionStatement",
|
|
8529
8529
|
"src": "651:28:104"
|
|
8530
8530
|
},
|
|
@@ -8532,11 +8532,11 @@
|
|
|
8532
8532
|
"expression": {
|
|
8533
8533
|
"arguments": [
|
|
8534
8534
|
{
|
|
8535
|
-
"id":
|
|
8535
|
+
"id": 40358,
|
|
8536
8536
|
"name": "account",
|
|
8537
8537
|
"nodeType": "Identifier",
|
|
8538
8538
|
"overloadedDeclarations": [],
|
|
8539
|
-
"referencedDeclaration":
|
|
8539
|
+
"referencedDeclaration": 40342,
|
|
8540
8540
|
"src": "735:7:104",
|
|
8541
8541
|
"typeDescriptions": {
|
|
8542
8542
|
"typeIdentifier": "t_address",
|
|
@@ -8544,11 +8544,11 @@
|
|
|
8544
8544
|
}
|
|
8545
8545
|
},
|
|
8546
8546
|
{
|
|
8547
|
-
"id":
|
|
8547
|
+
"id": 40359,
|
|
8548
8548
|
"name": "amount",
|
|
8549
8549
|
"nodeType": "Identifier",
|
|
8550
8550
|
"overloadedDeclarations": [],
|
|
8551
|
-
"referencedDeclaration":
|
|
8551
|
+
"referencedDeclaration": 40344,
|
|
8552
8552
|
"src": "744:6:104",
|
|
8553
8553
|
"typeDescriptions": {
|
|
8554
8554
|
"typeIdentifier": "t_uint256",
|
|
@@ -8568,7 +8568,7 @@
|
|
|
8568
8568
|
}
|
|
8569
8569
|
],
|
|
8570
8570
|
"expression": {
|
|
8571
|
-
"id":
|
|
8571
|
+
"id": 40355,
|
|
8572
8572
|
"name": "ERC20",
|
|
8573
8573
|
"nodeType": "Identifier",
|
|
8574
8574
|
"overloadedDeclarations": [],
|
|
@@ -8579,7 +8579,7 @@
|
|
|
8579
8579
|
"typeString": "type(contract ERC20)"
|
|
8580
8580
|
}
|
|
8581
8581
|
},
|
|
8582
|
-
"id":
|
|
8582
|
+
"id": 40357,
|
|
8583
8583
|
"isConstant": false,
|
|
8584
8584
|
"isLValue": false,
|
|
8585
8585
|
"isPure": false,
|
|
@@ -8594,7 +8594,7 @@
|
|
|
8594
8594
|
"typeString": "function (address,uint256)"
|
|
8595
8595
|
}
|
|
8596
8596
|
},
|
|
8597
|
-
"id":
|
|
8597
|
+
"id": 40360,
|
|
8598
8598
|
"isConstant": false,
|
|
8599
8599
|
"isLValue": false,
|
|
8600
8600
|
"isPure": false,
|
|
@@ -8610,14 +8610,14 @@
|
|
|
8610
8610
|
"typeString": "tuple()"
|
|
8611
8611
|
}
|
|
8612
8612
|
},
|
|
8613
|
-
"id":
|
|
8613
|
+
"id": 40361,
|
|
8614
8614
|
"nodeType": "ExpressionStatement",
|
|
8615
8615
|
"src": "723:28:104"
|
|
8616
8616
|
},
|
|
8617
8617
|
{
|
|
8618
8618
|
"expression": {
|
|
8619
8619
|
"hexValue": "74727565",
|
|
8620
|
-
"id":
|
|
8620
|
+
"id": 40362,
|
|
8621
8621
|
"isConstant": false,
|
|
8622
8622
|
"isLValue": false,
|
|
8623
8623
|
"isPure": true,
|
|
@@ -8631,21 +8631,21 @@
|
|
|
8631
8631
|
},
|
|
8632
8632
|
"value": "true"
|
|
8633
8633
|
},
|
|
8634
|
-
"functionReturnParameters":
|
|
8635
|
-
"id":
|
|
8634
|
+
"functionReturnParameters": 40348,
|
|
8635
|
+
"id": 40363,
|
|
8636
8636
|
"nodeType": "Return",
|
|
8637
8637
|
"src": "761:11:104"
|
|
8638
8638
|
}
|
|
8639
8639
|
]
|
|
8640
8640
|
},
|
|
8641
8641
|
"documentation": {
|
|
8642
|
-
"id":
|
|
8642
|
+
"id": 40340,
|
|
8643
8643
|
"nodeType": "StructuredDocumentation",
|
|
8644
8644
|
"src": "525:42:104",
|
|
8645
8645
|
"text": " @dev See {ERC20-_mint}."
|
|
8646
8646
|
},
|
|
8647
8647
|
"functionSelector": "40c10f19",
|
|
8648
|
-
"id":
|
|
8648
|
+
"id": 40365,
|
|
8649
8649
|
"implemented": true,
|
|
8650
8650
|
"kind": "function",
|
|
8651
8651
|
"modifiers": [],
|
|
@@ -8653,17 +8653,17 @@
|
|
|
8653
8653
|
"nameLocation": "581:4:104",
|
|
8654
8654
|
"nodeType": "FunctionDefinition",
|
|
8655
8655
|
"parameters": {
|
|
8656
|
-
"id":
|
|
8656
|
+
"id": 40345,
|
|
8657
8657
|
"nodeType": "ParameterList",
|
|
8658
8658
|
"parameters": [
|
|
8659
8659
|
{
|
|
8660
8660
|
"constant": false,
|
|
8661
|
-
"id":
|
|
8661
|
+
"id": 40342,
|
|
8662
8662
|
"mutability": "mutable",
|
|
8663
8663
|
"name": "account",
|
|
8664
8664
|
"nameLocation": "594:7:104",
|
|
8665
8665
|
"nodeType": "VariableDeclaration",
|
|
8666
|
-
"scope":
|
|
8666
|
+
"scope": 40365,
|
|
8667
8667
|
"src": "586:15:104",
|
|
8668
8668
|
"stateVariable": false,
|
|
8669
8669
|
"storageLocation": "default",
|
|
@@ -8672,7 +8672,7 @@
|
|
|
8672
8672
|
"typeString": "address"
|
|
8673
8673
|
},
|
|
8674
8674
|
"typeName": {
|
|
8675
|
-
"id":
|
|
8675
|
+
"id": 40341,
|
|
8676
8676
|
"name": "address",
|
|
8677
8677
|
"nodeType": "ElementaryTypeName",
|
|
8678
8678
|
"src": "586:7:104",
|
|
@@ -8686,12 +8686,12 @@
|
|
|
8686
8686
|
},
|
|
8687
8687
|
{
|
|
8688
8688
|
"constant": false,
|
|
8689
|
-
"id":
|
|
8689
|
+
"id": 40344,
|
|
8690
8690
|
"mutability": "mutable",
|
|
8691
8691
|
"name": "amount",
|
|
8692
8692
|
"nameLocation": "611:6:104",
|
|
8693
8693
|
"nodeType": "VariableDeclaration",
|
|
8694
|
-
"scope":
|
|
8694
|
+
"scope": 40365,
|
|
8695
8695
|
"src": "603:14:104",
|
|
8696
8696
|
"stateVariable": false,
|
|
8697
8697
|
"storageLocation": "default",
|
|
@@ -8700,7 +8700,7 @@
|
|
|
8700
8700
|
"typeString": "uint256"
|
|
8701
8701
|
},
|
|
8702
8702
|
"typeName": {
|
|
8703
|
-
"id":
|
|
8703
|
+
"id": 40343,
|
|
8704
8704
|
"name": "uint256",
|
|
8705
8705
|
"nodeType": "ElementaryTypeName",
|
|
8706
8706
|
"src": "603:7:104",
|
|
@@ -8715,17 +8715,17 @@
|
|
|
8715
8715
|
"src": "585:33:104"
|
|
8716
8716
|
},
|
|
8717
8717
|
"returnParameters": {
|
|
8718
|
-
"id":
|
|
8718
|
+
"id": 40348,
|
|
8719
8719
|
"nodeType": "ParameterList",
|
|
8720
8720
|
"parameters": [
|
|
8721
8721
|
{
|
|
8722
8722
|
"constant": false,
|
|
8723
|
-
"id":
|
|
8723
|
+
"id": 40347,
|
|
8724
8724
|
"mutability": "mutable",
|
|
8725
8725
|
"name": "",
|
|
8726
8726
|
"nameLocation": "-1:-1:-1",
|
|
8727
8727
|
"nodeType": "VariableDeclaration",
|
|
8728
|
-
"scope":
|
|
8728
|
+
"scope": 40365,
|
|
8729
8729
|
"src": "635:4:104",
|
|
8730
8730
|
"stateVariable": false,
|
|
8731
8731
|
"storageLocation": "default",
|
|
@@ -8734,7 +8734,7 @@
|
|
|
8734
8734
|
"typeString": "bool"
|
|
8735
8735
|
},
|
|
8736
8736
|
"typeName": {
|
|
8737
|
-
"id":
|
|
8737
|
+
"id": 40346,
|
|
8738
8738
|
"name": "bool",
|
|
8739
8739
|
"nodeType": "ElementaryTypeName",
|
|
8740
8740
|
"src": "635:4:104",
|
|
@@ -8748,7 +8748,7 @@
|
|
|
8748
8748
|
],
|
|
8749
8749
|
"src": "634:6:104"
|
|
8750
8750
|
},
|
|
8751
|
-
"scope":
|
|
8751
|
+
"scope": 40375,
|
|
8752
8752
|
"src": "572:207:104",
|
|
8753
8753
|
"stateMutability": "nonpayable",
|
|
8754
8754
|
"virtual": false,
|
|
@@ -8759,32 +8759,32 @@
|
|
|
8759
8759
|
1041
|
|
8760
8760
|
],
|
|
8761
8761
|
"body": {
|
|
8762
|
-
"id":
|
|
8762
|
+
"id": 40373,
|
|
8763
8763
|
"nodeType": "Block",
|
|
8764
8764
|
"src": "842:33:104",
|
|
8765
8765
|
"statements": [
|
|
8766
8766
|
{
|
|
8767
8767
|
"expression": {
|
|
8768
|
-
"id":
|
|
8768
|
+
"id": 40371,
|
|
8769
8769
|
"name": "_decimals",
|
|
8770
8770
|
"nodeType": "Identifier",
|
|
8771
8771
|
"overloadedDeclarations": [],
|
|
8772
|
-
"referencedDeclaration":
|
|
8772
|
+
"referencedDeclaration": 40321,
|
|
8773
8773
|
"src": "859:9:104",
|
|
8774
8774
|
"typeDescriptions": {
|
|
8775
8775
|
"typeIdentifier": "t_uint8",
|
|
8776
8776
|
"typeString": "uint8"
|
|
8777
8777
|
}
|
|
8778
8778
|
},
|
|
8779
|
-
"functionReturnParameters":
|
|
8780
|
-
"id":
|
|
8779
|
+
"functionReturnParameters": 40370,
|
|
8780
|
+
"id": 40372,
|
|
8781
8781
|
"nodeType": "Return",
|
|
8782
8782
|
"src": "852:16:104"
|
|
8783
8783
|
}
|
|
8784
8784
|
]
|
|
8785
8785
|
},
|
|
8786
8786
|
"functionSelector": "313ce567",
|
|
8787
|
-
"id":
|
|
8787
|
+
"id": 40374,
|
|
8788
8788
|
"implemented": true,
|
|
8789
8789
|
"kind": "function",
|
|
8790
8790
|
"modifiers": [],
|
|
@@ -8792,29 +8792,29 @@
|
|
|
8792
8792
|
"nameLocation": "794:8:104",
|
|
8793
8793
|
"nodeType": "FunctionDefinition",
|
|
8794
8794
|
"overrides": {
|
|
8795
|
-
"id":
|
|
8795
|
+
"id": 40367,
|
|
8796
8796
|
"nodeType": "OverrideSpecifier",
|
|
8797
8797
|
"overrides": [],
|
|
8798
8798
|
"src": "817:8:104"
|
|
8799
8799
|
},
|
|
8800
8800
|
"parameters": {
|
|
8801
|
-
"id":
|
|
8801
|
+
"id": 40366,
|
|
8802
8802
|
"nodeType": "ParameterList",
|
|
8803
8803
|
"parameters": [],
|
|
8804
8804
|
"src": "802:2:104"
|
|
8805
8805
|
},
|
|
8806
8806
|
"returnParameters": {
|
|
8807
|
-
"id":
|
|
8807
|
+
"id": 40370,
|
|
8808
8808
|
"nodeType": "ParameterList",
|
|
8809
8809
|
"parameters": [
|
|
8810
8810
|
{
|
|
8811
8811
|
"constant": false,
|
|
8812
|
-
"id":
|
|
8812
|
+
"id": 40369,
|
|
8813
8813
|
"mutability": "mutable",
|
|
8814
8814
|
"name": "",
|
|
8815
8815
|
"nameLocation": "-1:-1:-1",
|
|
8816
8816
|
"nodeType": "VariableDeclaration",
|
|
8817
|
-
"scope":
|
|
8817
|
+
"scope": 40374,
|
|
8818
8818
|
"src": "835:5:104",
|
|
8819
8819
|
"stateVariable": false,
|
|
8820
8820
|
"storageLocation": "default",
|
|
@@ -8823,7 +8823,7 @@
|
|
|
8823
8823
|
"typeString": "uint8"
|
|
8824
8824
|
},
|
|
8825
8825
|
"typeName": {
|
|
8826
|
-
"id":
|
|
8826
|
+
"id": 40368,
|
|
8827
8827
|
"name": "uint8",
|
|
8828
8828
|
"nodeType": "ElementaryTypeName",
|
|
8829
8829
|
"src": "835:5:104",
|
|
@@ -8837,14 +8837,14 @@
|
|
|
8837
8837
|
],
|
|
8838
8838
|
"src": "834:7:104"
|
|
8839
8839
|
},
|
|
8840
|
-
"scope":
|
|
8840
|
+
"scope": 40375,
|
|
8841
8841
|
"src": "785:90:104",
|
|
8842
8842
|
"stateMutability": "view",
|
|
8843
8843
|
"virtual": false,
|
|
8844
8844
|
"visibility": "public"
|
|
8845
8845
|
}
|
|
8846
8846
|
],
|
|
8847
|
-
"scope":
|
|
8847
|
+
"scope": 40376,
|
|
8848
8848
|
"src": "254:624:104",
|
|
8849
8849
|
"usedErrors": []
|
|
8850
8850
|
}
|
|
@@ -8857,7 +8857,7 @@
|
|
|
8857
8857
|
},
|
|
8858
8858
|
"networks": {},
|
|
8859
8859
|
"schemaVersion": "3.4.9",
|
|
8860
|
-
"updatedAt": "2022-09-
|
|
8860
|
+
"updatedAt": "2022-09-21T11:06:18.648Z",
|
|
8861
8861
|
"devdoc": {
|
|
8862
8862
|
"author": "Superfluid",
|
|
8863
8863
|
"details": "Test ERC20 token that allows any one mint new tokens.",
|