@superfluid-finance/ethereum-contracts 1.7.2-dev.09f3be3.0 → 1.7.2-dev.36bfd5f.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 (173) hide show
  1. package/artifacts/contracts/apps/SuperfluidLoaderLibrary.sol/SuperfluidLoaderLibrary.json +2 -2
  2. package/build/contracts/AccessControl.json +1 -1
  3. package/build/contracts/AccessControlEnumerable.json +1 -1
  4. package/build/contracts/Address.json +1 -1
  5. package/build/contracts/AgreementBase.json +18 -18
  6. package/build/contracts/AgreementLibrary.json +165 -165
  7. package/build/contracts/BaseRelayRecipient.json +57 -57
  8. package/build/contracts/BatchLiquidator.json +382 -382
  9. package/build/contracts/BatchOperation.json +614 -614
  10. package/build/contracts/CFAv1Forwarder.json +1250 -1250
  11. package/build/contracts/CFAv1ForwarderDeployerLibrary.json +2384 -2384
  12. package/build/contracts/CFAv1Library.json +389 -389
  13. package/build/contracts/CallUtils.json +198 -198
  14. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1525 -1525
  15. package/build/contracts/ConstantFlowAgreementV1.json +1087 -1087
  16. package/build/contracts/ConstantInflowNFT.json +402 -402
  17. package/build/contracts/ConstantOutflowNFT.json +661 -661
  18. package/build/contracts/Context.json +1 -1
  19. package/build/contracts/ContextDefinitions.json +614 -614
  20. package/build/contracts/CustomSuperTokenBase.json +19 -19
  21. package/build/contracts/ERC165.json +1 -1
  22. package/build/contracts/ERC1820Implementer.json +1 -1
  23. package/build/contracts/ERC1820RegistryCompiled.json +22 -22
  24. package/build/contracts/ERC20.json +1 -1
  25. package/build/contracts/ERC20WithTokenInfo.json +23 -23
  26. package/build/contracts/ERC777Helper.json +384 -384
  27. package/build/contracts/ERC777RecipientDrainingGas.json +863 -863
  28. package/build/contracts/ERC777RecipientReverting.json +863 -863
  29. package/build/contracts/EnumerableSet.json +1 -1
  30. package/build/contracts/EventsEmitter.json +43 -43
  31. package/build/contracts/ExclusiveInflowTestApp.json +1525 -1525
  32. package/build/contracts/FixedSizeData.json +200 -200
  33. package/build/contracts/FlowExchangeTestApp.json +1526 -1526
  34. package/build/contracts/FlowNFTBase.json +1280 -1280
  35. package/build/contracts/FlowOperatorDefinitions.json +614 -614
  36. package/build/contracts/ForwarderBase.json +190 -190
  37. package/build/contracts/FullUpgradableSuperTokenProxy.json +116 -116
  38. package/build/contracts/IAccessControl.json +1 -1
  39. package/build/contracts/IAccessControlEnumerable.json +1 -1
  40. package/build/contracts/IConstantFlowAgreementV1.json +677 -677
  41. package/build/contracts/IConstantInflowNFT.json +54 -54
  42. package/build/contracts/IConstantOutflowNFT.json +107 -107
  43. package/build/contracts/IDAv1Forwarder.json +912 -912
  44. package/build/contracts/IDAv1ForwarderDeployerLibrary.json +2384 -2384
  45. package/build/contracts/IDAv1Library.json +430 -430
  46. package/build/contracts/IERC165.json +1 -1
  47. package/build/contracts/IERC1820Implementer.json +1 -1
  48. package/build/contracts/IERC1820Registry.json +1 -1
  49. package/build/contracts/IERC20.json +1 -1
  50. package/build/contracts/IERC20Metadata.json +1 -1
  51. package/build/contracts/IERC20Permit.json +1 -1
  52. package/build/contracts/IERC721.json +1 -1
  53. package/build/contracts/IERC721Metadata.json +1 -1
  54. package/build/contracts/IERC777.json +1 -1
  55. package/build/contracts/IERC777Recipient.json +1 -1
  56. package/build/contracts/IERC777Sender.json +1 -1
  57. package/build/contracts/IFlowNFTBase.json +115 -115
  58. package/build/contracts/IInstantDistributionAgreementV1.json +667 -667
  59. package/build/contracts/IMultiSigWallet.json +31 -31
  60. package/build/contracts/IPoolAdminNFT.json +7 -7
  61. package/build/contracts/IPoolMemberNFT.json +7 -7
  62. package/build/contracts/IPureSuperToken.json +62 -62
  63. package/build/contracts/IPureSuperTokenCustom.json +62 -62
  64. package/build/contracts/IRelayRecipient.json +27 -27
  65. package/build/contracts/IResolver.json +38 -38
  66. package/build/contracts/ISETH.json +67 -67
  67. package/build/contracts/ISETHCustom.json +67 -67
  68. package/build/contracts/ISuperAgreement.json +50 -50
  69. package/build/contracts/ISuperApp.json +191 -191
  70. package/build/contracts/ISuperToken.json +695 -695
  71. package/build/contracts/ISuperTokenFactory.json +225 -225
  72. package/build/contracts/ISuperfluid.json +904 -904
  73. package/build/contracts/ISuperfluidGovernance.json +251 -251
  74. package/build/contracts/ISuperfluidToken.json +407 -407
  75. package/build/contracts/ITOGAv1.json +1346 -1346
  76. package/build/contracts/ITOGAv2.json +1346 -1346
  77. package/build/contracts/ITOGAv3.json +1346 -1346
  78. package/build/contracts/Initializable.json +1 -1
  79. package/build/contracts/InstantDistributionAgreementV1.json +594 -594
  80. package/build/contracts/Math.json +1 -1
  81. package/build/contracts/NonClosableOutflowTestApp.json +1526 -1526
  82. package/build/contracts/Ownable.json +1 -1
  83. package/build/contracts/Proxy.json +1 -1
  84. package/build/contracts/ProxyDeployerLibrary.json +2382 -2382
  85. package/build/contracts/PureSuperToken.json +106 -106
  86. package/build/contracts/Resolver.json +98 -98
  87. package/build/contracts/SETHProxy.json +224 -224
  88. package/build/contracts/SafeCast.json +1 -1
  89. package/build/contracts/SafeERC20.json +1 -1
  90. package/build/contracts/SafeGasLibrary.json +51 -51
  91. package/build/contracts/SafeMath.json +1 -1
  92. package/build/contracts/SelfDeletingFlowTestApp.json +1525 -1525
  93. package/build/contracts/SlotsBitmapLibrary.json +457 -457
  94. package/build/contracts/StreamRedirector.json +704 -704
  95. package/build/contracts/Strings.json +1 -1
  96. package/build/contracts/SuperAppBase.json +42 -42
  97. package/build/contracts/SuperAppBaseFlow.json +138 -138
  98. package/build/contracts/SuperAppDefinitions.json +614 -614
  99. package/build/contracts/SuperToken.json +2714 -2714
  100. package/build/contracts/SuperTokenDeployerLibrary.json +2383 -2383
  101. package/build/contracts/SuperTokenFactory.json +1347 -1347
  102. package/build/contracts/SuperTokenFactoryBase.json +1329 -1329
  103. package/build/contracts/SuperTokenV1Library.json +1483 -1483
  104. package/build/contracts/SuperUpgrader.json +439 -439
  105. package/build/contracts/Superfluid.json +5196 -5196
  106. package/build/contracts/SuperfluidCFAv1DeployerLibrary.json +2383 -2383
  107. package/build/contracts/SuperfluidFrameworkDeployer.json +1260 -1260
  108. package/build/contracts/SuperfluidFrameworkDeploymentSteps.json +2382 -2382
  109. package/build/contracts/SuperfluidGovDeployerLibrary.json +2383 -2383
  110. package/build/contracts/SuperfluidGovernanceBase.json +2449 -2449
  111. package/build/contracts/SuperfluidGovernanceConfigs.json +614 -614
  112. package/build/contracts/SuperfluidGovernanceII.json +155 -155
  113. package/build/contracts/SuperfluidGovernanceIIProxy.json +135 -135
  114. package/build/contracts/SuperfluidHostDeployerLibrary.json +2382 -2382
  115. package/build/contracts/SuperfluidIDAv1DeployerLibrary.json +2383 -2383
  116. package/build/contracts/SuperfluidLoader.json +207 -207
  117. package/build/contracts/SuperfluidLoaderDeployerLibrary.json +2384 -2384
  118. package/build/contracts/SuperfluidLoaderLibrary.json +485 -351
  119. package/build/contracts/SuperfluidNFTLogicDeployerLibrary.json +2387 -2387
  120. package/build/contracts/SuperfluidPeripheryDeployerLibrary.json +2385 -2385
  121. package/build/contracts/SuperfluidToken.json +1423 -1423
  122. package/build/contracts/TOGA.json +1360 -1360
  123. package/build/contracts/TestGovernance.json +250 -250
  124. package/build/contracts/TestResolver.json +47 -47
  125. package/build/contracts/TestToken.json +102 -102
  126. package/build/contracts/TokenDeployerLibrary.json +2384 -2384
  127. package/build/contracts/TokenInfo.json +32 -32
  128. package/build/contracts/UUPSProxiable.json +139 -139
  129. package/build/contracts/UUPSProxy.json +81 -81
  130. package/build/contracts/UUPSUtils.json +37 -37
  131. package/build/contracts-sizes.txt +15 -15
  132. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.d.ts +1 -1
  133. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.d.ts.map +1 -1
  134. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.js +1 -1
  135. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.js.map +1 -1
  136. package/contracts/apps/SuperfluidLoaderLibrary.sol +4 -1
  137. package/package.json +3 -4
  138. package/ops-scripts/.eslintrc.js +0 -15
  139. package/ops-scripts/artifacts/ERC1820Registry.json +0 -5
  140. package/ops-scripts/deploy-aux-contracts.js +0 -99
  141. package/ops-scripts/deploy-deterministically.js +0 -169
  142. package/ops-scripts/deploy-erc1820.js +0 -83
  143. package/ops-scripts/deploy-framework.js +0 -895
  144. package/ops-scripts/deploy-mfa.ts +0 -27
  145. package/ops-scripts/deploy-super-token.js +0 -206
  146. package/ops-scripts/deploy-test-environment.js +0 -98
  147. package/ops-scripts/deploy-test-token.js +0 -86
  148. package/ops-scripts/deploy-unlisted-pure-super-token.js +0 -69
  149. package/ops-scripts/deploy-unlisted-super-token.js +0 -68
  150. package/ops-scripts/gov-create-new-app-registration-key.js +0 -75
  151. package/ops-scripts/gov-create-new-factory-registration.js +0 -49
  152. package/ops-scripts/gov-set-3Ps-config.js +0 -67
  153. package/ops-scripts/gov-set-reward-address.js +0 -60
  154. package/ops-scripts/gov-set-token-min-deposit.js +0 -53
  155. package/ops-scripts/gov-set-trusted-forwarder.js +0 -80
  156. package/ops-scripts/gov-transfer-framework-ownership.js +0 -90
  157. package/ops-scripts/gov-upgrade-governance.js +0 -87
  158. package/ops-scripts/gov-upgrade-super-token-logic.js +0 -193
  159. package/ops-scripts/info-inspect-account.js +0 -118
  160. package/ops-scripts/info-list-apps.js +0 -55
  161. package/ops-scripts/info-print-contract-addresses.js +0 -136
  162. package/ops-scripts/info-scan-deployments.js +0 -63
  163. package/ops-scripts/info-show-protocol.js +0 -400
  164. package/ops-scripts/libs/common.js +0 -436
  165. package/ops-scripts/libs/getConfig.js +0 -289
  166. package/ops-scripts/libs/truffleScriptRunnerFactory.js +0 -97
  167. package/ops-scripts/resolver-list-super-token.js +0 -73
  168. package/ops-scripts/resolver-register-token.js +0 -72
  169. package/ops-scripts/resolver-reset-deployment.js +0 -54
  170. package/ops-scripts/resolver-set-key-value.js +0 -69
  171. package/ops-scripts/resolver-unlist-super-token.js +0 -61
  172. package/ops-scripts/tmp-trigger-token-transfer.js +0 -33
  173. package/ops-scripts/validate-nft-addresses.ts +0 -49
@@ -541,21 +541,21 @@
541
541
  "absolutePath": "project:/contracts/interfaces/superfluid/IConstantInflowNFT.sol",
542
542
  "exportedSymbols": {
543
543
  "IConstantInflowNFT": [
544
- 23632
544
+ 23643
545
545
  ],
546
546
  "IFlowNFTBase": [
547
- 23760
547
+ 23771
548
548
  ],
549
549
  "ISuperToken": [
550
- 24383
550
+ 24394
551
551
  ]
552
552
  },
553
- "id": 23633,
553
+ "id": 23644,
554
554
  "license": "MIT",
555
555
  "nodeType": "SourceUnit",
556
556
  "nodes": [
557
557
  {
558
- "id": 23609,
558
+ "id": 23620,
559
559
  "literals": [
560
560
  "solidity",
561
561
  ">=",
@@ -568,20 +568,20 @@
568
568
  {
569
569
  "absolutePath": "project:/contracts/interfaces/superfluid/ISuperToken.sol",
570
570
  "file": "./ISuperToken.sol",
571
- "id": 23611,
571
+ "id": 23622,
572
572
  "nameLocation": "-1:-1:-1",
573
573
  "nodeType": "ImportDirective",
574
- "scope": 23633,
575
- "sourceUnit": 24384,
574
+ "scope": 23644,
575
+ "sourceUnit": 24395,
576
576
  "src": "58:48:46",
577
577
  "symbolAliases": [
578
578
  {
579
579
  "foreign": {
580
- "id": 23610,
580
+ "id": 23621,
581
581
  "name": "ISuperToken",
582
582
  "nodeType": "Identifier",
583
583
  "overloadedDeclarations": [],
584
- "referencedDeclaration": 24383,
584
+ "referencedDeclaration": 24394,
585
585
  "src": "67:11:46",
586
586
  "typeDescriptions": {}
587
587
  },
@@ -593,20 +593,20 @@
593
593
  {
594
594
  "absolutePath": "project:/contracts/interfaces/superfluid/IFlowNFTBase.sol",
595
595
  "file": "./IFlowNFTBase.sol",
596
- "id": 23613,
596
+ "id": 23624,
597
597
  "nameLocation": "-1:-1:-1",
598
598
  "nodeType": "ImportDirective",
599
- "scope": 23633,
600
- "sourceUnit": 23761,
599
+ "scope": 23644,
600
+ "sourceUnit": 23772,
601
601
  "src": "107:50:46",
602
602
  "symbolAliases": [
603
603
  {
604
604
  "foreign": {
605
- "id": 23612,
605
+ "id": 23623,
606
606
  "name": "IFlowNFTBase",
607
607
  "nodeType": "Identifier",
608
608
  "overloadedDeclarations": [],
609
- "referencedDeclaration": 23760,
609
+ "referencedDeclaration": 23771,
610
610
  "src": "116:12:46",
611
611
  "typeDescriptions": {}
612
612
  },
@@ -620,16 +620,16 @@
620
620
  "baseContracts": [
621
621
  {
622
622
  "baseName": {
623
- "id": 23614,
623
+ "id": 23625,
624
624
  "name": "IFlowNFTBase",
625
625
  "nameLocations": [
626
626
  "191:12:46"
627
627
  ],
628
628
  "nodeType": "IdentifierPath",
629
- "referencedDeclaration": 23760,
629
+ "referencedDeclaration": 23771,
630
630
  "src": "191:12:46"
631
631
  },
632
- "id": 23615,
632
+ "id": 23626,
633
633
  "nodeType": "InheritanceSpecifier",
634
634
  "src": "191:12:46"
635
635
  }
@@ -638,10 +638,10 @@
638
638
  "contractDependencies": [],
639
639
  "contractKind": "interface",
640
640
  "fullyImplemented": false,
641
- "id": 23632,
641
+ "id": 23643,
642
642
  "linearizedBaseContracts": [
643
- 23632,
644
- 23760,
643
+ 23643,
644
+ 23771,
645
645
  2025,
646
646
  1998,
647
647
  2850
@@ -652,12 +652,12 @@
652
652
  "nodes": [
653
653
  {
654
654
  "errorSelector": "e81ef57a",
655
- "id": 23617,
655
+ "id": 23628,
656
656
  "name": "CIF_NFT_ONLY_CONSTANT_OUTFLOW",
657
657
  "nameLocation": "397:29:46",
658
658
  "nodeType": "ErrorDefinition",
659
659
  "parameters": {
660
- "id": 23616,
660
+ "id": 23627,
661
661
  "nodeType": "ParameterList",
662
662
  "parameters": [],
663
663
  "src": "426:2:46"
@@ -666,13 +666,13 @@
666
666
  },
667
667
  {
668
668
  "documentation": {
669
- "id": 23618,
669
+ "id": 23629,
670
670
  "nodeType": "StructuredDocumentation",
671
671
  "src": "633:333:46",
672
672
  "text": "@notice The mint function emits the \"mint\" `Transfer` event.\n @dev We don't modify storage as this is handled in ConstantOutflowNFT.sol and this function's sole purpose\n is to inform clients that search for events.\n @param to the flow receiver (inflow NFT receiver)\n @param newTokenId the new token id"
673
673
  },
674
674
  "functionSelector": "40c10f19",
675
- "id": 23625,
675
+ "id": 23636,
676
676
  "implemented": false,
677
677
  "kind": "function",
678
678
  "modifiers": [],
@@ -680,17 +680,17 @@
680
680
  "nameLocation": "980:4:46",
681
681
  "nodeType": "FunctionDefinition",
682
682
  "parameters": {
683
- "id": 23623,
683
+ "id": 23634,
684
684
  "nodeType": "ParameterList",
685
685
  "parameters": [
686
686
  {
687
687
  "constant": false,
688
- "id": 23620,
688
+ "id": 23631,
689
689
  "mutability": "mutable",
690
690
  "name": "to",
691
691
  "nameLocation": "993:2:46",
692
692
  "nodeType": "VariableDeclaration",
693
- "scope": 23625,
693
+ "scope": 23636,
694
694
  "src": "985:10:46",
695
695
  "stateVariable": false,
696
696
  "storageLocation": "default",
@@ -699,7 +699,7 @@
699
699
  "typeString": "address"
700
700
  },
701
701
  "typeName": {
702
- "id": 23619,
702
+ "id": 23630,
703
703
  "name": "address",
704
704
  "nodeType": "ElementaryTypeName",
705
705
  "src": "985:7:46",
@@ -713,12 +713,12 @@
713
713
  },
714
714
  {
715
715
  "constant": false,
716
- "id": 23622,
716
+ "id": 23633,
717
717
  "mutability": "mutable",
718
718
  "name": "newTokenId",
719
719
  "nameLocation": "1005:10:46",
720
720
  "nodeType": "VariableDeclaration",
721
- "scope": 23625,
721
+ "scope": 23636,
722
722
  "src": "997:18:46",
723
723
  "stateVariable": false,
724
724
  "storageLocation": "default",
@@ -727,7 +727,7 @@
727
727
  "typeString": "uint256"
728
728
  },
729
729
  "typeName": {
730
- "id": 23621,
730
+ "id": 23632,
731
731
  "name": "uint256",
732
732
  "nodeType": "ElementaryTypeName",
733
733
  "src": "997:7:46",
@@ -742,12 +742,12 @@
742
742
  "src": "984:32:46"
743
743
  },
744
744
  "returnParameters": {
745
- "id": 23624,
745
+ "id": 23635,
746
746
  "nodeType": "ParameterList",
747
747
  "parameters": [],
748
748
  "src": "1025:0:46"
749
749
  },
750
- "scope": 23632,
750
+ "scope": 23643,
751
751
  "src": "971:55:46",
752
752
  "stateMutability": "nonpayable",
753
753
  "virtual": false,
@@ -755,13 +755,13 @@
755
755
  },
756
756
  {
757
757
  "documentation": {
758
- "id": 23626,
758
+ "id": 23637,
759
759
  "nodeType": "StructuredDocumentation",
760
760
  "src": "1032:281:46",
761
761
  "text": "@notice This burn function emits the \"burn\" `Transfer` event.\n @dev We don't modify storage as this is handled in ConstantOutflowNFT.sol and this function's sole purpose\n is to inform clients that search for events.\n @param tokenId desired token id to burn"
762
762
  },
763
763
  "functionSelector": "42966c68",
764
- "id": 23631,
764
+ "id": 23642,
765
765
  "implemented": false,
766
766
  "kind": "function",
767
767
  "modifiers": [],
@@ -769,17 +769,17 @@
769
769
  "nameLocation": "1327:4:46",
770
770
  "nodeType": "FunctionDefinition",
771
771
  "parameters": {
772
- "id": 23629,
772
+ "id": 23640,
773
773
  "nodeType": "ParameterList",
774
774
  "parameters": [
775
775
  {
776
776
  "constant": false,
777
- "id": 23628,
777
+ "id": 23639,
778
778
  "mutability": "mutable",
779
779
  "name": "tokenId",
780
780
  "nameLocation": "1340:7:46",
781
781
  "nodeType": "VariableDeclaration",
782
- "scope": 23631,
782
+ "scope": 23642,
783
783
  "src": "1332:15:46",
784
784
  "stateVariable": false,
785
785
  "storageLocation": "default",
@@ -788,7 +788,7 @@
788
788
  "typeString": "uint256"
789
789
  },
790
790
  "typeName": {
791
- "id": 23627,
791
+ "id": 23638,
792
792
  "name": "uint256",
793
793
  "nodeType": "ElementaryTypeName",
794
794
  "src": "1332:7:46",
@@ -803,31 +803,31 @@
803
803
  "src": "1331:17:46"
804
804
  },
805
805
  "returnParameters": {
806
- "id": 23630,
806
+ "id": 23641,
807
807
  "nodeType": "ParameterList",
808
808
  "parameters": [],
809
809
  "src": "1357:0:46"
810
810
  },
811
- "scope": 23632,
811
+ "scope": 23643,
812
812
  "src": "1318:40:46",
813
813
  "stateMutability": "nonpayable",
814
814
  "virtual": false,
815
815
  "visibility": "external"
816
816
  }
817
817
  ],
818
- "scope": 23633,
818
+ "scope": 23644,
819
819
  "src": "159:1201:46",
820
820
  "usedErrors": [
821
- 23617,
822
- 23705,
823
- 23707,
824
- 23709,
825
- 23711,
826
- 23713,
827
- 23715,
828
- 23717,
829
- 23719,
830
- 23721
821
+ 23628,
822
+ 23716,
823
+ 23718,
824
+ 23720,
825
+ 23722,
826
+ 23724,
827
+ 23726,
828
+ 23728,
829
+ 23730,
830
+ 23732
831
831
  ]
832
832
  }
833
833
  ],
@@ -839,7 +839,7 @@
839
839
  },
840
840
  "networks": {},
841
841
  "schemaVersion": "3.4.13",
842
- "updatedAt": "2023-06-28T11:03:18.836Z",
842
+ "updatedAt": "2023-07-07T14:28:48.649Z",
843
843
  "devdoc": {
844
844
  "events": {
845
845
  "Approval(address,address,uint256)": {