@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.
Files changed (108) hide show
  1. package/build/contracts/AccessControl.json +1 -1
  2. package/build/contracts/AccessControlEnumerable.json +1 -1
  3. package/build/contracts/Address.json +1 -1
  4. package/build/contracts/AgreementBase.json +28 -28
  5. package/build/contracts/AgreementLibrary.json +165 -165
  6. package/build/contracts/BaseRelayRecipient.json +55 -55
  7. package/build/contracts/BatchLiquidator.json +208 -208
  8. package/build/contracts/BatchOperation.json +788 -788
  9. package/build/contracts/CFAv1Forwarder.json +1321 -1321
  10. package/build/contracts/CFAv1Library.json +2279 -2279
  11. package/build/contracts/CallUtils.json +198 -198
  12. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1544 -1544
  13. package/build/contracts/ConstantFlowAgreementV1.json +1702 -1622
  14. package/build/contracts/Context.json +1 -1
  15. package/build/contracts/ContextDefinitions.json +788 -788
  16. package/build/contracts/Create2.json +1 -1
  17. package/build/contracts/CustomSuperTokenBase.json +19 -19
  18. package/build/contracts/ERC165.json +1 -1
  19. package/build/contracts/ERC1820Implementer.json +1 -1
  20. package/build/contracts/ERC1820RegistryCompiled.json +22 -22
  21. package/build/contracts/ERC20.json +1 -1
  22. package/build/contracts/ERC20Burnable.json +1 -1
  23. package/build/contracts/ERC20Pausable.json +1 -1
  24. package/build/contracts/ERC20PresetMinterPauser.json +1 -1
  25. package/build/contracts/ERC20WithTokenInfo.json +23 -23
  26. package/build/contracts/ERC777Helper.json +380 -380
  27. package/build/contracts/ERC777RecipientDrainingGas.json +855 -855
  28. package/build/contracts/ERC777RecipientReverting.json +855 -855
  29. package/build/contracts/EnumerableSet.json +1 -1
  30. package/build/contracts/EventsEmitter.json +43 -43
  31. package/build/contracts/ExclusiveInflowTestApp.json +1544 -1544
  32. package/build/contracts/FixedSizeData.json +200 -200
  33. package/build/contracts/FlowExchangeTestApp.json +1545 -1545
  34. package/build/contracts/FlowOperatorDefinitions.json +788 -788
  35. package/build/contracts/FullUpgradableSuperTokenProxy.json +116 -116
  36. package/build/contracts/IAccessControl.json +1 -1
  37. package/build/contracts/IAccessControlEnumerable.json +1 -1
  38. package/build/contracts/IConstantFlowAgreementV1.json +615 -615
  39. package/build/contracts/IDAv1Library.json +2611 -2611
  40. package/build/contracts/IERC165.json +1 -1
  41. package/build/contracts/IERC1820Implementer.json +1 -1
  42. package/build/contracts/IERC1820Registry.json +1 -1
  43. package/build/contracts/IERC20.json +1 -1
  44. package/build/contracts/IERC20Metadata.json +1 -1
  45. package/build/contracts/IERC20Permit.json +1 -1
  46. package/build/contracts/IERC777.json +1 -1
  47. package/build/contracts/IERC777Recipient.json +1 -1
  48. package/build/contracts/IERC777Sender.json +1 -1
  49. package/build/contracts/IInstantDistributionAgreementV1.json +652 -652
  50. package/build/contracts/IMultiSigWallet.json +24 -24
  51. package/build/contracts/IPureSuperToken.json +47 -47
  52. package/build/contracts/IPureSuperTokenCustom.json +47 -47
  53. package/build/contracts/IRelayRecipient.json +27 -27
  54. package/build/contracts/IResolver.json +38 -38
  55. package/build/contracts/ISETH.json +52 -52
  56. package/build/contracts/ISETHCustom.json +52 -52
  57. package/build/contracts/ISuperAgreement.json +50 -50
  58. package/build/contracts/ISuperApp.json +191 -191
  59. package/build/contracts/ISuperToken.json +544 -544
  60. package/build/contracts/ISuperTokenFactory.json +166 -166
  61. package/build/contracts/ISuperfluid.json +886 -886
  62. package/build/contracts/ISuperfluidGovernance.json +254 -254
  63. package/build/contracts/ISuperfluidToken.json +395 -395
  64. package/build/contracts/ITOGAv1.json +1441 -1441
  65. package/build/contracts/ITOGAv2.json +1441 -1441
  66. package/build/contracts/Initializable.json +1 -1
  67. package/build/contracts/InstantDistributionAgreementV1.json +5894 -5894
  68. package/build/contracts/NonClosableOutflowTestApp.json +1545 -1545
  69. package/build/contracts/Ownable.json +1 -1
  70. package/build/contracts/Pausable.json +1 -1
  71. package/build/contracts/Proxy.json +1 -1
  72. package/build/contracts/PureSuperToken.json +106 -106
  73. package/build/contracts/Resolver.json +98 -98
  74. package/build/contracts/SETHProxy.json +224 -224
  75. package/build/contracts/SafeCast.json +1 -1
  76. package/build/contracts/SafeERC20.json +1 -1
  77. package/build/contracts/SafeMath.json +1 -1
  78. package/build/contracts/SelfDeletingFlowTestApp.json +1544 -1544
  79. package/build/contracts/SlotsBitmapLibrary.json +457 -457
  80. package/build/contracts/StreamRedirector.json +745 -745
  81. package/build/contracts/Strings.json +1 -1
  82. package/build/contracts/SuperAppBase.json +239 -239
  83. package/build/contracts/SuperAppDefinitions.json +788 -788
  84. package/build/contracts/SuperToken.json +2477 -2477
  85. package/build/contracts/SuperTokenFactory.json +774 -774
  86. package/build/contracts/SuperTokenFactoryBase.json +764 -764
  87. package/build/contracts/SuperTokenFactoryHelper.json +767 -767
  88. package/build/contracts/SuperUpgrader.json +437 -437
  89. package/build/contracts/Superfluid.json +5096 -5096
  90. package/build/contracts/SuperfluidErrors.json +788 -788
  91. package/build/contracts/SuperfluidFrameworkDeployer.json +765 -765
  92. package/build/contracts/SuperfluidGovernanceBase.json +2459 -2459
  93. package/build/contracts/SuperfluidGovernanceConfigs.json +788 -788
  94. package/build/contracts/SuperfluidGovernanceII.json +155 -155
  95. package/build/contracts/SuperfluidGovernanceIIProxy.json +135 -135
  96. package/build/contracts/SuperfluidLoader.json +207 -207
  97. package/build/contracts/SuperfluidToken.json +1471 -1471
  98. package/build/contracts/TOGA.json +1457 -1457
  99. package/build/contracts/TestGovernance.json +250 -250
  100. package/build/contracts/TestToken.json +93 -93
  101. package/build/contracts/TokenCustodian.json +214 -214
  102. package/build/contracts/TokenInfo.json +32 -32
  103. package/build/contracts/UUPSProxiable.json +139 -139
  104. package/build/contracts/UUPSProxy.json +81 -81
  105. package/build/contracts/UUPSUtils.json +37 -37
  106. package/build/contracts-sizes.txt +1 -1
  107. package/contracts/agreements/ConstantFlowAgreementV1.sol +4 -0
  108. package/package.json +9 -5
@@ -174,27 +174,27 @@
174
174
  "absolutePath": "project:/contracts/interfaces/superfluid/ISuperTokenFactory.sol",
175
175
  "exportedSymbols": {
176
176
  "ERC20WithTokenInfo": [
177
- 20952
177
+ 20959
178
178
  ],
179
179
  "IERC20": [
180
180
  1630
181
181
  ],
182
182
  "ISuperToken": [
183
- 19933
183
+ 19940
184
184
  ],
185
185
  "ISuperTokenFactory": [
186
- 20024
186
+ 20031
187
187
  ],
188
188
  "SuperfluidErrors": [
189
- 19402
189
+ 19409
190
190
  ]
191
191
  },
192
- "id": 20025,
192
+ "id": 20032,
193
193
  "license": "AGPLv3",
194
194
  "nodeType": "SourceUnit",
195
195
  "nodes": [
196
196
  {
197
- "id": 19935,
197
+ "id": 19942,
198
198
  "literals": [
199
199
  "solidity",
200
200
  ">=",
@@ -207,20 +207,20 @@
207
207
  {
208
208
  "absolutePath": "project:/contracts/interfaces/superfluid/ISuperToken.sol",
209
209
  "file": "./ISuperToken.sol",
210
- "id": 19937,
210
+ "id": 19944,
211
211
  "nameLocation": "-1:-1:-1",
212
212
  "nodeType": "ImportDirective",
213
- "scope": 20025,
214
- "sourceUnit": 19934,
213
+ "scope": 20032,
214
+ "sourceUnit": 19941,
215
215
  "src": "62:48:47",
216
216
  "symbolAliases": [
217
217
  {
218
218
  "foreign": {
219
- "id": 19936,
219
+ "id": 19943,
220
220
  "name": "ISuperToken",
221
221
  "nodeType": "Identifier",
222
222
  "overloadedDeclarations": [],
223
- "referencedDeclaration": 19933,
223
+ "referencedDeclaration": 19940,
224
224
  "src": "71:11:47",
225
225
  "typeDescriptions": {}
226
226
  },
@@ -232,16 +232,16 @@
232
232
  {
233
233
  "absolutePath": "project:/contracts/interfaces/tokens/ERC20WithTokenInfo.sol",
234
234
  "file": "../tokens/ERC20WithTokenInfo.sol",
235
- "id": 19940,
235
+ "id": 19947,
236
236
  "nameLocation": "-1:-1:-1",
237
237
  "nodeType": "ImportDirective",
238
- "scope": 20025,
239
- "sourceUnit": 20953,
238
+ "scope": 20032,
239
+ "sourceUnit": 20960,
240
240
  "src": "112:86:47",
241
241
  "symbolAliases": [
242
242
  {
243
243
  "foreign": {
244
- "id": 19938,
244
+ "id": 19945,
245
245
  "name": "IERC20",
246
246
  "nodeType": "Identifier",
247
247
  "overloadedDeclarations": [],
@@ -253,11 +253,11 @@
253
253
  },
254
254
  {
255
255
  "foreign": {
256
- "id": 19939,
256
+ "id": 19946,
257
257
  "name": "ERC20WithTokenInfo",
258
258
  "nodeType": "Identifier",
259
259
  "overloadedDeclarations": [],
260
- "referencedDeclaration": 20952,
260
+ "referencedDeclaration": 20959,
261
261
  "src": "137:18:47",
262
262
  "typeDescriptions": {}
263
263
  },
@@ -269,20 +269,20 @@
269
269
  {
270
270
  "absolutePath": "project:/contracts/interfaces/superfluid/Definitions.sol",
271
271
  "file": "./Definitions.sol",
272
- "id": 19942,
272
+ "id": 19949,
273
273
  "nameLocation": "-1:-1:-1",
274
274
  "nodeType": "ImportDirective",
275
- "scope": 20025,
276
- "sourceUnit": 19403,
275
+ "scope": 20032,
276
+ "sourceUnit": 19410,
277
277
  "src": "199:53:47",
278
278
  "symbolAliases": [
279
279
  {
280
280
  "foreign": {
281
- "id": 19941,
281
+ "id": 19948,
282
282
  "name": "SuperfluidErrors",
283
283
  "nodeType": "Identifier",
284
284
  "overloadedDeclarations": [],
285
- "referencedDeclaration": 19402,
285
+ "referencedDeclaration": 19409,
286
286
  "src": "208:16:47",
287
287
  "typeDescriptions": {}
288
288
  },
@@ -298,15 +298,15 @@
298
298
  "contractDependencies": [],
299
299
  "contractKind": "interface",
300
300
  "documentation": {
301
- "id": 19943,
301
+ "id": 19950,
302
302
  "nodeType": "StructuredDocumentation",
303
303
  "src": "254:69:47",
304
304
  "text": " @title Super token factory interface\n @author Superfluid"
305
305
  },
306
306
  "fullyImplemented": false,
307
- "id": 20024,
307
+ "id": 20031,
308
308
  "linearizedBaseContracts": [
309
- 20024
309
+ 20031
310
310
  ],
311
311
  "name": "ISuperTokenFactory",
312
312
  "nameLocation": "334:18:47",
@@ -314,13 +314,13 @@
314
314
  "nodes": [
315
315
  {
316
316
  "documentation": {
317
- "id": 19944,
317
+ "id": 19951,
318
318
  "nodeType": "StructuredDocumentation",
319
319
  "src": "359:60:47",
320
320
  "text": " @dev Get superfluid host contract address"
321
321
  },
322
322
  "functionSelector": "20bc4425",
323
- "id": 19949,
323
+ "id": 19956,
324
324
  "implemented": false,
325
325
  "kind": "function",
326
326
  "modifiers": [],
@@ -328,23 +328,23 @@
328
328
  "nameLocation": "433:7:47",
329
329
  "nodeType": "FunctionDefinition",
330
330
  "parameters": {
331
- "id": 19945,
331
+ "id": 19952,
332
332
  "nodeType": "ParameterList",
333
333
  "parameters": [],
334
334
  "src": "440:2:47"
335
335
  },
336
336
  "returnParameters": {
337
- "id": 19948,
337
+ "id": 19955,
338
338
  "nodeType": "ParameterList",
339
339
  "parameters": [
340
340
  {
341
341
  "constant": false,
342
- "id": 19947,
342
+ "id": 19954,
343
343
  "mutability": "mutable",
344
344
  "name": "host",
345
345
  "nameLocation": "473:4:47",
346
346
  "nodeType": "VariableDeclaration",
347
- "scope": 19949,
347
+ "scope": 19956,
348
348
  "src": "465:12:47",
349
349
  "stateVariable": false,
350
350
  "storageLocation": "default",
@@ -353,7 +353,7 @@
353
353
  "typeString": "address"
354
354
  },
355
355
  "typeName": {
356
- "id": 19946,
356
+ "id": 19953,
357
357
  "name": "address",
358
358
  "nodeType": "ElementaryTypeName",
359
359
  "src": "465:7:47",
@@ -368,7 +368,7 @@
368
368
  ],
369
369
  "src": "464:14:47"
370
370
  },
371
- "scope": 20024,
371
+ "scope": 20031,
372
372
  "src": "424:55:47",
373
373
  "stateMutability": "view",
374
374
  "virtual": false,
@@ -376,13 +376,13 @@
376
376
  },
377
377
  {
378
378
  "documentation": {
379
- "id": 19950,
379
+ "id": 19957,
380
380
  "nodeType": "StructuredDocumentation",
381
381
  "src": "485:32:47",
382
382
  "text": "@dev Initialize the contract"
383
383
  },
384
384
  "functionSelector": "8129fc1c",
385
- "id": 19953,
385
+ "id": 19960,
386
386
  "implemented": false,
387
387
  "kind": "function",
388
388
  "modifiers": [],
@@ -390,18 +390,18 @@
390
390
  "nameLocation": "531:10:47",
391
391
  "nodeType": "FunctionDefinition",
392
392
  "parameters": {
393
- "id": 19951,
393
+ "id": 19958,
394
394
  "nodeType": "ParameterList",
395
395
  "parameters": [],
396
396
  "src": "541:2:47"
397
397
  },
398
398
  "returnParameters": {
399
- "id": 19952,
399
+ "id": 19959,
400
400
  "nodeType": "ParameterList",
401
401
  "parameters": [],
402
402
  "src": "552:0:47"
403
403
  },
404
- "scope": 20024,
404
+ "scope": 20031,
405
405
  "src": "522:31:47",
406
406
  "stateMutability": "nonpayable",
407
407
  "virtual": false,
@@ -409,13 +409,13 @@
409
409
  },
410
410
  {
411
411
  "documentation": {
412
- "id": 19954,
412
+ "id": 19961,
413
413
  "nodeType": "StructuredDocumentation",
414
414
  "src": "559:77:47",
415
415
  "text": " @dev Get the current super token logic used by the factory"
416
416
  },
417
417
  "functionSelector": "9470a5b2",
418
- "id": 19960,
418
+ "id": 19967,
419
419
  "implemented": false,
420
420
  "kind": "function",
421
421
  "modifiers": [],
@@ -423,47 +423,47 @@
423
423
  "nameLocation": "650:18:47",
424
424
  "nodeType": "FunctionDefinition",
425
425
  "parameters": {
426
- "id": 19955,
426
+ "id": 19962,
427
427
  "nodeType": "ParameterList",
428
428
  "parameters": [],
429
429
  "src": "668:2:47"
430
430
  },
431
431
  "returnParameters": {
432
- "id": 19959,
432
+ "id": 19966,
433
433
  "nodeType": "ParameterList",
434
434
  "parameters": [
435
435
  {
436
436
  "constant": false,
437
- "id": 19958,
437
+ "id": 19965,
438
438
  "mutability": "mutable",
439
439
  "name": "superToken",
440
440
  "nameLocation": "706:10:47",
441
441
  "nodeType": "VariableDeclaration",
442
- "scope": 19960,
442
+ "scope": 19967,
443
443
  "src": "694:22:47",
444
444
  "stateVariable": false,
445
445
  "storageLocation": "default",
446
446
  "typeDescriptions": {
447
- "typeIdentifier": "t_contract$_ISuperToken_$19933",
447
+ "typeIdentifier": "t_contract$_ISuperToken_$19940",
448
448
  "typeString": "contract ISuperToken"
449
449
  },
450
450
  "typeName": {
451
- "id": 19957,
451
+ "id": 19964,
452
452
  "nodeType": "UserDefinedTypeName",
453
453
  "pathNode": {
454
- "id": 19956,
454
+ "id": 19963,
455
455
  "name": "ISuperToken",
456
456
  "nameLocations": [
457
457
  "694:11:47"
458
458
  ],
459
459
  "nodeType": "IdentifierPath",
460
- "referencedDeclaration": 19933,
460
+ "referencedDeclaration": 19940,
461
461
  "src": "694:11:47"
462
462
  },
463
- "referencedDeclaration": 19933,
463
+ "referencedDeclaration": 19940,
464
464
  "src": "694:11:47",
465
465
  "typeDescriptions": {
466
- "typeIdentifier": "t_contract$_ISuperToken_$19933",
466
+ "typeIdentifier": "t_contract$_ISuperToken_$19940",
467
467
  "typeString": "contract ISuperToken"
468
468
  }
469
469
  },
@@ -472,7 +472,7 @@
472
472
  ],
473
473
  "src": "693:24:47"
474
474
  },
475
- "scope": 20024,
475
+ "scope": 20031,
476
476
  "src": "641:77:47",
477
477
  "stateMutability": "view",
478
478
  "virtual": false,
@@ -480,24 +480,24 @@
480
480
  },
481
481
  {
482
482
  "canonicalName": "ISuperTokenFactory.Upgradability",
483
- "id": 19964,
483
+ "id": 19971,
484
484
  "members": [
485
485
  {
486
- "id": 19961,
486
+ "id": 19968,
487
487
  "name": "NON_UPGRADABLE",
488
488
  "nameLocation": "882:14:47",
489
489
  "nodeType": "EnumValue",
490
490
  "src": "882:14:47"
491
491
  },
492
492
  {
493
- "id": 19962,
493
+ "id": 19969,
494
494
  "name": "SEMI_UPGRADABLE",
495
495
  "nameLocation": "976:15:47",
496
496
  "nodeType": "EnumValue",
497
497
  "src": "976:15:47"
498
498
  },
499
499
  {
500
- "id": 19963,
500
+ "id": 19970,
501
501
  "name": "FULL_UPGRADABE",
502
502
  "nameLocation": "1055:14:47",
503
503
  "nodeType": "EnumValue",
@@ -511,13 +511,13 @@
511
511
  },
512
512
  {
513
513
  "documentation": {
514
- "id": 19965,
514
+ "id": 19972,
515
515
  "nodeType": "StructuredDocumentation",
516
516
  "src": "1081:320:47",
517
517
  "text": " @dev Create new super token wrapper for the underlying ERC20 token\n @param underlyingToken Underlying ERC20 token\n @param underlyingDecimals Underlying token decimals\n @param upgradability Upgradability mode\n @param name Super token name\n @param symbol Super token symbol"
518
518
  },
519
519
  "functionSelector": "a6d0c534",
520
- "id": 19983,
520
+ "id": 19990,
521
521
  "implemented": false,
522
522
  "kind": "function",
523
523
  "modifiers": [],
@@ -525,17 +525,17 @@
525
525
  "nameLocation": "1415:18:47",
526
526
  "nodeType": "FunctionDefinition",
527
527
  "parameters": {
528
- "id": 19978,
528
+ "id": 19985,
529
529
  "nodeType": "ParameterList",
530
530
  "parameters": [
531
531
  {
532
532
  "constant": false,
533
- "id": 19968,
533
+ "id": 19975,
534
534
  "mutability": "mutable",
535
535
  "name": "underlyingToken",
536
536
  "nameLocation": "1450:15:47",
537
537
  "nodeType": "VariableDeclaration",
538
- "scope": 19983,
538
+ "scope": 19990,
539
539
  "src": "1443:22:47",
540
540
  "stateVariable": false,
541
541
  "storageLocation": "default",
@@ -544,10 +544,10 @@
544
544
  "typeString": "contract IERC20"
545
545
  },
546
546
  "typeName": {
547
- "id": 19967,
547
+ "id": 19974,
548
548
  "nodeType": "UserDefinedTypeName",
549
549
  "pathNode": {
550
- "id": 19966,
550
+ "id": 19973,
551
551
  "name": "IERC20",
552
552
  "nameLocations": [
553
553
  "1443:6:47"
@@ -567,12 +567,12 @@
567
567
  },
568
568
  {
569
569
  "constant": false,
570
- "id": 19970,
570
+ "id": 19977,
571
571
  "mutability": "mutable",
572
572
  "name": "underlyingDecimals",
573
573
  "nameLocation": "1481:18:47",
574
574
  "nodeType": "VariableDeclaration",
575
- "scope": 19983,
575
+ "scope": 19990,
576
576
  "src": "1475:24:47",
577
577
  "stateVariable": false,
578
578
  "storageLocation": "default",
@@ -581,7 +581,7 @@
581
581
  "typeString": "uint8"
582
582
  },
583
583
  "typeName": {
584
- "id": 19969,
584
+ "id": 19976,
585
585
  "name": "uint8",
586
586
  "nodeType": "ElementaryTypeName",
587
587
  "src": "1475:5:47",
@@ -594,36 +594,36 @@
594
594
  },
595
595
  {
596
596
  "constant": false,
597
- "id": 19973,
597
+ "id": 19980,
598
598
  "mutability": "mutable",
599
599
  "name": "upgradability",
600
600
  "nameLocation": "1523:13:47",
601
601
  "nodeType": "VariableDeclaration",
602
- "scope": 19983,
602
+ "scope": 19990,
603
603
  "src": "1509:27:47",
604
604
  "stateVariable": false,
605
605
  "storageLocation": "default",
606
606
  "typeDescriptions": {
607
- "typeIdentifier": "t_enum$_Upgradability_$19964",
607
+ "typeIdentifier": "t_enum$_Upgradability_$19971",
608
608
  "typeString": "enum ISuperTokenFactory.Upgradability"
609
609
  },
610
610
  "typeName": {
611
- "id": 19972,
611
+ "id": 19979,
612
612
  "nodeType": "UserDefinedTypeName",
613
613
  "pathNode": {
614
- "id": 19971,
614
+ "id": 19978,
615
615
  "name": "Upgradability",
616
616
  "nameLocations": [
617
617
  "1509:13:47"
618
618
  ],
619
619
  "nodeType": "IdentifierPath",
620
- "referencedDeclaration": 19964,
620
+ "referencedDeclaration": 19971,
621
621
  "src": "1509:13:47"
622
622
  },
623
- "referencedDeclaration": 19964,
623
+ "referencedDeclaration": 19971,
624
624
  "src": "1509:13:47",
625
625
  "typeDescriptions": {
626
- "typeIdentifier": "t_enum$_Upgradability_$19964",
626
+ "typeIdentifier": "t_enum$_Upgradability_$19971",
627
627
  "typeString": "enum ISuperTokenFactory.Upgradability"
628
628
  }
629
629
  },
@@ -631,12 +631,12 @@
631
631
  },
632
632
  {
633
633
  "constant": false,
634
- "id": 19975,
634
+ "id": 19982,
635
635
  "mutability": "mutable",
636
636
  "name": "name",
637
637
  "nameLocation": "1562:4:47",
638
638
  "nodeType": "VariableDeclaration",
639
- "scope": 19983,
639
+ "scope": 19990,
640
640
  "src": "1546:20:47",
641
641
  "stateVariable": false,
642
642
  "storageLocation": "calldata",
@@ -645,7 +645,7 @@
645
645
  "typeString": "string"
646
646
  },
647
647
  "typeName": {
648
- "id": 19974,
648
+ "id": 19981,
649
649
  "name": "string",
650
650
  "nodeType": "ElementaryTypeName",
651
651
  "src": "1546:6:47",
@@ -658,12 +658,12 @@
658
658
  },
659
659
  {
660
660
  "constant": false,
661
- "id": 19977,
661
+ "id": 19984,
662
662
  "mutability": "mutable",
663
663
  "name": "symbol",
664
664
  "nameLocation": "1592:6:47",
665
665
  "nodeType": "VariableDeclaration",
666
- "scope": 19983,
666
+ "scope": 19990,
667
667
  "src": "1576:22:47",
668
668
  "stateVariable": false,
669
669
  "storageLocation": "calldata",
@@ -672,7 +672,7 @@
672
672
  "typeString": "string"
673
673
  },
674
674
  "typeName": {
675
- "id": 19976,
675
+ "id": 19983,
676
676
  "name": "string",
677
677
  "nodeType": "ElementaryTypeName",
678
678
  "src": "1576:6:47",
@@ -687,41 +687,41 @@
687
687
  "src": "1433:171:47"
688
688
  },
689
689
  "returnParameters": {
690
- "id": 19982,
690
+ "id": 19989,
691
691
  "nodeType": "ParameterList",
692
692
  "parameters": [
693
693
  {
694
694
  "constant": false,
695
- "id": 19981,
695
+ "id": 19988,
696
696
  "mutability": "mutable",
697
697
  "name": "superToken",
698
698
  "nameLocation": "1651:10:47",
699
699
  "nodeType": "VariableDeclaration",
700
- "scope": 19983,
700
+ "scope": 19990,
701
701
  "src": "1639:22:47",
702
702
  "stateVariable": false,
703
703
  "storageLocation": "default",
704
704
  "typeDescriptions": {
705
- "typeIdentifier": "t_contract$_ISuperToken_$19933",
705
+ "typeIdentifier": "t_contract$_ISuperToken_$19940",
706
706
  "typeString": "contract ISuperToken"
707
707
  },
708
708
  "typeName": {
709
- "id": 19980,
709
+ "id": 19987,
710
710
  "nodeType": "UserDefinedTypeName",
711
711
  "pathNode": {
712
- "id": 19979,
712
+ "id": 19986,
713
713
  "name": "ISuperToken",
714
714
  "nameLocations": [
715
715
  "1639:11:47"
716
716
  ],
717
717
  "nodeType": "IdentifierPath",
718
- "referencedDeclaration": 19933,
718
+ "referencedDeclaration": 19940,
719
719
  "src": "1639:11:47"
720
720
  },
721
- "referencedDeclaration": 19933,
721
+ "referencedDeclaration": 19940,
722
722
  "src": "1639:11:47",
723
723
  "typeDescriptions": {
724
- "typeIdentifier": "t_contract$_ISuperToken_$19933",
724
+ "typeIdentifier": "t_contract$_ISuperToken_$19940",
725
725
  "typeString": "contract ISuperToken"
726
726
  }
727
727
  },
@@ -730,7 +730,7 @@
730
730
  ],
731
731
  "src": "1638:24:47"
732
732
  },
733
- "scope": 20024,
733
+ "scope": 20031,
734
734
  "src": "1406:257:47",
735
735
  "stateMutability": "nonpayable",
736
736
  "virtual": false,
@@ -738,13 +738,13 @@
738
738
  },
739
739
  {
740
740
  "documentation": {
741
- "id": 19984,
741
+ "id": 19991,
742
742
  "nodeType": "StructuredDocumentation",
743
743
  "src": "1669:362:47",
744
744
  "text": " @dev Create new super token wrapper for the underlying ERC20 token with extra token info\n @param underlyingToken Underlying ERC20 token\n @param upgradability Upgradability mode\n @param name Super token name\n @param symbol Super token symbol\n NOTE:\n - It assumes token provide the .decimals() function"
745
745
  },
746
746
  "functionSelector": "431f1481",
747
- "id": 20000,
747
+ "id": 20007,
748
748
  "implemented": false,
749
749
  "kind": "function",
750
750
  "modifiers": [],
@@ -752,41 +752,41 @@
752
752
  "nameLocation": "2045:18:47",
753
753
  "nodeType": "FunctionDefinition",
754
754
  "parameters": {
755
- "id": 19995,
755
+ "id": 20002,
756
756
  "nodeType": "ParameterList",
757
757
  "parameters": [
758
758
  {
759
759
  "constant": false,
760
- "id": 19987,
760
+ "id": 19994,
761
761
  "mutability": "mutable",
762
762
  "name": "underlyingToken",
763
763
  "nameLocation": "2092:15:47",
764
764
  "nodeType": "VariableDeclaration",
765
- "scope": 20000,
765
+ "scope": 20007,
766
766
  "src": "2073:34:47",
767
767
  "stateVariable": false,
768
768
  "storageLocation": "default",
769
769
  "typeDescriptions": {
770
- "typeIdentifier": "t_contract$_ERC20WithTokenInfo_$20952",
770
+ "typeIdentifier": "t_contract$_ERC20WithTokenInfo_$20959",
771
771
  "typeString": "contract ERC20WithTokenInfo"
772
772
  },
773
773
  "typeName": {
774
- "id": 19986,
774
+ "id": 19993,
775
775
  "nodeType": "UserDefinedTypeName",
776
776
  "pathNode": {
777
- "id": 19985,
777
+ "id": 19992,
778
778
  "name": "ERC20WithTokenInfo",
779
779
  "nameLocations": [
780
780
  "2073:18:47"
781
781
  ],
782
782
  "nodeType": "IdentifierPath",
783
- "referencedDeclaration": 20952,
783
+ "referencedDeclaration": 20959,
784
784
  "src": "2073:18:47"
785
785
  },
786
- "referencedDeclaration": 20952,
786
+ "referencedDeclaration": 20959,
787
787
  "src": "2073:18:47",
788
788
  "typeDescriptions": {
789
- "typeIdentifier": "t_contract$_ERC20WithTokenInfo_$20952",
789
+ "typeIdentifier": "t_contract$_ERC20WithTokenInfo_$20959",
790
790
  "typeString": "contract ERC20WithTokenInfo"
791
791
  }
792
792
  },
@@ -794,36 +794,36 @@
794
794
  },
795
795
  {
796
796
  "constant": false,
797
- "id": 19990,
797
+ "id": 19997,
798
798
  "mutability": "mutable",
799
799
  "name": "upgradability",
800
800
  "nameLocation": "2131:13:47",
801
801
  "nodeType": "VariableDeclaration",
802
- "scope": 20000,
802
+ "scope": 20007,
803
803
  "src": "2117:27:47",
804
804
  "stateVariable": false,
805
805
  "storageLocation": "default",
806
806
  "typeDescriptions": {
807
- "typeIdentifier": "t_enum$_Upgradability_$19964",
807
+ "typeIdentifier": "t_enum$_Upgradability_$19971",
808
808
  "typeString": "enum ISuperTokenFactory.Upgradability"
809
809
  },
810
810
  "typeName": {
811
- "id": 19989,
811
+ "id": 19996,
812
812
  "nodeType": "UserDefinedTypeName",
813
813
  "pathNode": {
814
- "id": 19988,
814
+ "id": 19995,
815
815
  "name": "Upgradability",
816
816
  "nameLocations": [
817
817
  "2117:13:47"
818
818
  ],
819
819
  "nodeType": "IdentifierPath",
820
- "referencedDeclaration": 19964,
820
+ "referencedDeclaration": 19971,
821
821
  "src": "2117:13:47"
822
822
  },
823
- "referencedDeclaration": 19964,
823
+ "referencedDeclaration": 19971,
824
824
  "src": "2117:13:47",
825
825
  "typeDescriptions": {
826
- "typeIdentifier": "t_enum$_Upgradability_$19964",
826
+ "typeIdentifier": "t_enum$_Upgradability_$19971",
827
827
  "typeString": "enum ISuperTokenFactory.Upgradability"
828
828
  }
829
829
  },
@@ -831,12 +831,12 @@
831
831
  },
832
832
  {
833
833
  "constant": false,
834
- "id": 19992,
834
+ "id": 19999,
835
835
  "mutability": "mutable",
836
836
  "name": "name",
837
837
  "nameLocation": "2170:4:47",
838
838
  "nodeType": "VariableDeclaration",
839
- "scope": 20000,
839
+ "scope": 20007,
840
840
  "src": "2154:20:47",
841
841
  "stateVariable": false,
842
842
  "storageLocation": "calldata",
@@ -845,7 +845,7 @@
845
845
  "typeString": "string"
846
846
  },
847
847
  "typeName": {
848
- "id": 19991,
848
+ "id": 19998,
849
849
  "name": "string",
850
850
  "nodeType": "ElementaryTypeName",
851
851
  "src": "2154:6:47",
@@ -858,12 +858,12 @@
858
858
  },
859
859
  {
860
860
  "constant": false,
861
- "id": 19994,
861
+ "id": 20001,
862
862
  "mutability": "mutable",
863
863
  "name": "symbol",
864
864
  "nameLocation": "2200:6:47",
865
865
  "nodeType": "VariableDeclaration",
866
- "scope": 20000,
866
+ "scope": 20007,
867
867
  "src": "2184:22:47",
868
868
  "stateVariable": false,
869
869
  "storageLocation": "calldata",
@@ -872,7 +872,7 @@
872
872
  "typeString": "string"
873
873
  },
874
874
  "typeName": {
875
- "id": 19993,
875
+ "id": 20000,
876
876
  "name": "string",
877
877
  "nodeType": "ElementaryTypeName",
878
878
  "src": "2184:6:47",
@@ -887,41 +887,41 @@
887
887
  "src": "2063:149:47"
888
888
  },
889
889
  "returnParameters": {
890
- "id": 19999,
890
+ "id": 20006,
891
891
  "nodeType": "ParameterList",
892
892
  "parameters": [
893
893
  {
894
894
  "constant": false,
895
- "id": 19998,
895
+ "id": 20005,
896
896
  "mutability": "mutable",
897
897
  "name": "superToken",
898
898
  "nameLocation": "2259:10:47",
899
899
  "nodeType": "VariableDeclaration",
900
- "scope": 20000,
900
+ "scope": 20007,
901
901
  "src": "2247:22:47",
902
902
  "stateVariable": false,
903
903
  "storageLocation": "default",
904
904
  "typeDescriptions": {
905
- "typeIdentifier": "t_contract$_ISuperToken_$19933",
905
+ "typeIdentifier": "t_contract$_ISuperToken_$19940",
906
906
  "typeString": "contract ISuperToken"
907
907
  },
908
908
  "typeName": {
909
- "id": 19997,
909
+ "id": 20004,
910
910
  "nodeType": "UserDefinedTypeName",
911
911
  "pathNode": {
912
- "id": 19996,
912
+ "id": 20003,
913
913
  "name": "ISuperToken",
914
914
  "nameLocations": [
915
915
  "2247:11:47"
916
916
  ],
917
917
  "nodeType": "IdentifierPath",
918
- "referencedDeclaration": 19933,
918
+ "referencedDeclaration": 19940,
919
919
  "src": "2247:11:47"
920
920
  },
921
- "referencedDeclaration": 19933,
921
+ "referencedDeclaration": 19940,
922
922
  "src": "2247:11:47",
923
923
  "typeDescriptions": {
924
- "typeIdentifier": "t_contract$_ISuperToken_$19933",
924
+ "typeIdentifier": "t_contract$_ISuperToken_$19940",
925
925
  "typeString": "contract ISuperToken"
926
926
  }
927
927
  },
@@ -930,7 +930,7 @@
930
930
  ],
931
931
  "src": "2246:24:47"
932
932
  },
933
- "scope": 20024,
933
+ "scope": 20031,
934
934
  "src": "2036:235:47",
935
935
  "stateMutability": "nonpayable",
936
936
  "virtual": false,
@@ -938,7 +938,7 @@
938
938
  },
939
939
  {
940
940
  "functionSelector": "d412d344",
941
- "id": 20005,
941
+ "id": 20012,
942
942
  "implemented": false,
943
943
  "kind": "function",
944
944
  "modifiers": [],
@@ -946,17 +946,17 @@
946
946
  "nameLocation": "2286:26:47",
947
947
  "nodeType": "FunctionDefinition",
948
948
  "parameters": {
949
- "id": 20003,
949
+ "id": 20010,
950
950
  "nodeType": "ParameterList",
951
951
  "parameters": [
952
952
  {
953
953
  "constant": false,
954
- "id": 20002,
954
+ "id": 20009,
955
955
  "mutability": "mutable",
956
956
  "name": "customSuperTokenProxy",
957
957
  "nameLocation": "2330:21:47",
958
958
  "nodeType": "VariableDeclaration",
959
- "scope": 20005,
959
+ "scope": 20012,
960
960
  "src": "2322:29:47",
961
961
  "stateVariable": false,
962
962
  "storageLocation": "default",
@@ -965,7 +965,7 @@
965
965
  "typeString": "address"
966
966
  },
967
967
  "typeName": {
968
- "id": 20001,
968
+ "id": 20008,
969
969
  "name": "address",
970
970
  "nodeType": "ElementaryTypeName",
971
971
  "src": "2322:7:47",
@@ -981,12 +981,12 @@
981
981
  "src": "2312:45:47"
982
982
  },
983
983
  "returnParameters": {
984
- "id": 20004,
984
+ "id": 20011,
985
985
  "nodeType": "ParameterList",
986
986
  "parameters": [],
987
987
  "src": "2374:0:47"
988
988
  },
989
- "scope": 20024,
989
+ "scope": 20031,
990
990
  "src": "2277:98:47",
991
991
  "stateMutability": "nonpayable",
992
992
  "virtual": false,
@@ -995,53 +995,53 @@
995
995
  {
996
996
  "anonymous": false,
997
997
  "documentation": {
998
- "id": 20006,
998
+ "id": 20013,
999
999
  "nodeType": "StructuredDocumentation",
1000
1000
  "src": "2381:103:47",
1001
1001
  "text": " @dev Super token logic created event\n @param tokenLogic Token logic address"
1002
1002
  },
1003
1003
  "eventSelector": "c13fb19d60857980e565bf5dae406b8802d3c1cec50c6156b30b12b874029783",
1004
- "id": 20011,
1004
+ "id": 20018,
1005
1005
  "name": "SuperTokenLogicCreated",
1006
1006
  "nameLocation": "2495:22:47",
1007
1007
  "nodeType": "EventDefinition",
1008
1008
  "parameters": {
1009
- "id": 20010,
1009
+ "id": 20017,
1010
1010
  "nodeType": "ParameterList",
1011
1011
  "parameters": [
1012
1012
  {
1013
1013
  "constant": false,
1014
- "id": 20009,
1014
+ "id": 20016,
1015
1015
  "indexed": true,
1016
1016
  "mutability": "mutable",
1017
1017
  "name": "tokenLogic",
1018
1018
  "nameLocation": "2538:10:47",
1019
1019
  "nodeType": "VariableDeclaration",
1020
- "scope": 20011,
1020
+ "scope": 20018,
1021
1021
  "src": "2518:30:47",
1022
1022
  "stateVariable": false,
1023
1023
  "storageLocation": "default",
1024
1024
  "typeDescriptions": {
1025
- "typeIdentifier": "t_contract$_ISuperToken_$19933",
1025
+ "typeIdentifier": "t_contract$_ISuperToken_$19940",
1026
1026
  "typeString": "contract ISuperToken"
1027
1027
  },
1028
1028
  "typeName": {
1029
- "id": 20008,
1029
+ "id": 20015,
1030
1030
  "nodeType": "UserDefinedTypeName",
1031
1031
  "pathNode": {
1032
- "id": 20007,
1032
+ "id": 20014,
1033
1033
  "name": "ISuperToken",
1034
1034
  "nameLocations": [
1035
1035
  "2518:11:47"
1036
1036
  ],
1037
1037
  "nodeType": "IdentifierPath",
1038
- "referencedDeclaration": 19933,
1038
+ "referencedDeclaration": 19940,
1039
1039
  "src": "2518:11:47"
1040
1040
  },
1041
- "referencedDeclaration": 19933,
1041
+ "referencedDeclaration": 19940,
1042
1042
  "src": "2518:11:47",
1043
1043
  "typeDescriptions": {
1044
- "typeIdentifier": "t_contract$_ISuperToken_$19933",
1044
+ "typeIdentifier": "t_contract$_ISuperToken_$19940",
1045
1045
  "typeString": "contract ISuperToken"
1046
1046
  }
1047
1047
  },
@@ -1055,53 +1055,53 @@
1055
1055
  {
1056
1056
  "anonymous": false,
1057
1057
  "documentation": {
1058
- "id": 20012,
1058
+ "id": 20019,
1059
1059
  "nodeType": "StructuredDocumentation",
1060
1060
  "src": "2556:106:47",
1061
1061
  "text": " @dev Super token created event\n @param token Newly created super token address"
1062
1062
  },
1063
1063
  "eventSelector": "b52c6d9d122e8c07769b96d7bb14e66db58ee03fdebaaa2f92547e9c7ef0e65f",
1064
- "id": 20017,
1064
+ "id": 20024,
1065
1065
  "name": "SuperTokenCreated",
1066
1066
  "nameLocation": "2673:17:47",
1067
1067
  "nodeType": "EventDefinition",
1068
1068
  "parameters": {
1069
- "id": 20016,
1069
+ "id": 20023,
1070
1070
  "nodeType": "ParameterList",
1071
1071
  "parameters": [
1072
1072
  {
1073
1073
  "constant": false,
1074
- "id": 20015,
1074
+ "id": 20022,
1075
1075
  "indexed": true,
1076
1076
  "mutability": "mutable",
1077
1077
  "name": "token",
1078
1078
  "nameLocation": "2711:5:47",
1079
1079
  "nodeType": "VariableDeclaration",
1080
- "scope": 20017,
1080
+ "scope": 20024,
1081
1081
  "src": "2691:25:47",
1082
1082
  "stateVariable": false,
1083
1083
  "storageLocation": "default",
1084
1084
  "typeDescriptions": {
1085
- "typeIdentifier": "t_contract$_ISuperToken_$19933",
1085
+ "typeIdentifier": "t_contract$_ISuperToken_$19940",
1086
1086
  "typeString": "contract ISuperToken"
1087
1087
  },
1088
1088
  "typeName": {
1089
- "id": 20014,
1089
+ "id": 20021,
1090
1090
  "nodeType": "UserDefinedTypeName",
1091
1091
  "pathNode": {
1092
- "id": 20013,
1092
+ "id": 20020,
1093
1093
  "name": "ISuperToken",
1094
1094
  "nameLocations": [
1095
1095
  "2691:11:47"
1096
1096
  ],
1097
1097
  "nodeType": "IdentifierPath",
1098
- "referencedDeclaration": 19933,
1098
+ "referencedDeclaration": 19940,
1099
1099
  "src": "2691:11:47"
1100
1100
  },
1101
- "referencedDeclaration": 19933,
1101
+ "referencedDeclaration": 19940,
1102
1102
  "src": "2691:11:47",
1103
1103
  "typeDescriptions": {
1104
- "typeIdentifier": "t_contract$_ISuperToken_$19933",
1104
+ "typeIdentifier": "t_contract$_ISuperToken_$19940",
1105
1105
  "typeString": "contract ISuperToken"
1106
1106
  }
1107
1107
  },
@@ -1115,53 +1115,53 @@
1115
1115
  {
1116
1116
  "anonymous": false,
1117
1117
  "documentation": {
1118
- "id": 20018,
1118
+ "id": 20025,
1119
1119
  "nodeType": "StructuredDocumentation",
1120
1120
  "src": "2724:120:47",
1121
1121
  "text": " @dev Custom super token created event\n @param token Newly created custom super token address"
1122
1122
  },
1123
1123
  "eventSelector": "437790724a6e97b75d23117f28cdd4b1beeafc34f7a0911ef256e9334f4369a5",
1124
- "id": 20023,
1124
+ "id": 20030,
1125
1125
  "name": "CustomSuperTokenCreated",
1126
1126
  "nameLocation": "2855:23:47",
1127
1127
  "nodeType": "EventDefinition",
1128
1128
  "parameters": {
1129
- "id": 20022,
1129
+ "id": 20029,
1130
1130
  "nodeType": "ParameterList",
1131
1131
  "parameters": [
1132
1132
  {
1133
1133
  "constant": false,
1134
- "id": 20021,
1134
+ "id": 20028,
1135
1135
  "indexed": true,
1136
1136
  "mutability": "mutable",
1137
1137
  "name": "token",
1138
1138
  "nameLocation": "2899:5:47",
1139
1139
  "nodeType": "VariableDeclaration",
1140
- "scope": 20023,
1140
+ "scope": 20030,
1141
1141
  "src": "2879:25:47",
1142
1142
  "stateVariable": false,
1143
1143
  "storageLocation": "default",
1144
1144
  "typeDescriptions": {
1145
- "typeIdentifier": "t_contract$_ISuperToken_$19933",
1145
+ "typeIdentifier": "t_contract$_ISuperToken_$19940",
1146
1146
  "typeString": "contract ISuperToken"
1147
1147
  },
1148
1148
  "typeName": {
1149
- "id": 20020,
1149
+ "id": 20027,
1150
1150
  "nodeType": "UserDefinedTypeName",
1151
1151
  "pathNode": {
1152
- "id": 20019,
1152
+ "id": 20026,
1153
1153
  "name": "ISuperToken",
1154
1154
  "nameLocations": [
1155
1155
  "2879:11:47"
1156
1156
  ],
1157
1157
  "nodeType": "IdentifierPath",
1158
- "referencedDeclaration": 19933,
1158
+ "referencedDeclaration": 19940,
1159
1159
  "src": "2879:11:47"
1160
1160
  },
1161
- "referencedDeclaration": 19933,
1161
+ "referencedDeclaration": 19940,
1162
1162
  "src": "2879:11:47",
1163
1163
  "typeDescriptions": {
1164
- "typeIdentifier": "t_contract$_ISuperToken_$19933",
1164
+ "typeIdentifier": "t_contract$_ISuperToken_$19940",
1165
1165
  "typeString": "contract ISuperToken"
1166
1166
  }
1167
1167
  },
@@ -1173,7 +1173,7 @@
1173
1173
  "src": "2849:57:47"
1174
1174
  }
1175
1175
  ],
1176
- "scope": 20025,
1176
+ "scope": 20032,
1177
1177
  "src": "324:2585:47",
1178
1178
  "usedErrors": []
1179
1179
  }
@@ -1186,7 +1186,7 @@
1186
1186
  },
1187
1187
  "networks": {},
1188
1188
  "schemaVersion": "3.4.9",
1189
- "updatedAt": "2022-09-21T07:45:09.403Z",
1189
+ "updatedAt": "2022-09-21T11:06:18.146Z",
1190
1190
  "devdoc": {
1191
1191
  "author": "Superfluid",
1192
1192
  "events": {