@superfluid-finance/ethereum-contracts 1.3.2-dev.bf84335.0 → 1.3.2-dev.e55bf9f.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/build/contracts/AccessControl.json +1 -1
  2. package/build/contracts/AccessControlEnumerable.json +1 -1
  3. package/build/contracts/Address.json +1 -1
  4. package/build/contracts/AgreementBase.json +18 -18
  5. package/build/contracts/AgreementLibrary.json +1272 -1183
  6. package/build/contracts/BaseRelayRecipient.json +55 -55
  7. package/build/contracts/BatchLiquidator.json +211 -211
  8. package/build/contracts/BatchOperation.json +599 -599
  9. package/build/contracts/CFAv1Library.json +2282 -2282
  10. package/build/contracts/CallUtils.json +198 -198
  11. package/build/contracts/ClosingOnUpdateFlowTestApp.json +2472 -2472
  12. package/build/contracts/ConstantFlowAgreementV1.json +12931 -13308
  13. package/build/contracts/Context.json +1 -1
  14. package/build/contracts/ContextDefinitions.json +599 -599
  15. package/build/contracts/Create2.json +1 -1
  16. package/build/contracts/CustomSuperTokenBase.json +20 -20
  17. package/build/contracts/ERC165.json +1 -1
  18. package/build/contracts/ERC1820Implementer.json +1 -1
  19. package/build/contracts/ERC1820RegistryCompiled.json +22 -22
  20. package/build/contracts/ERC20.json +1 -1
  21. package/build/contracts/ERC20Burnable.json +1 -1
  22. package/build/contracts/ERC20Pausable.json +1 -1
  23. package/build/contracts/ERC20PresetMinterPauser.json +1 -1
  24. package/build/contracts/ERC20WithTokenInfo.json +23 -23
  25. package/build/contracts/ERC777Helper.json +380 -380
  26. package/build/contracts/ERC777RecipientDrainingGas.json +858 -858
  27. package/build/contracts/ERC777RecipientReverting.json +858 -858
  28. package/build/contracts/EnumerableSet.json +1 -1
  29. package/build/contracts/EventsEmitter.json +43 -43
  30. package/build/contracts/ExclusiveInflowTestApp.json +2473 -2473
  31. package/build/contracts/FixedSizeData.json +200 -200
  32. package/build/contracts/FlowExchangeTestApp.json +2473 -2473
  33. package/build/contracts/FlowOperatorDefinitions.json +599 -599
  34. package/build/contracts/FullUpgradableSuperTokenProxy.json +115 -115
  35. package/build/contracts/IAccessControl.json +1 -1
  36. package/build/contracts/IAccessControlEnumerable.json +1 -1
  37. package/build/contracts/IConstantFlowAgreementV1.json +567 -567
  38. package/build/contracts/IDAv1Library.json +2614 -2614
  39. package/build/contracts/IERC165.json +1 -1
  40. package/build/contracts/IERC1820Implementer.json +1 -1
  41. package/build/contracts/IERC1820Registry.json +1 -1
  42. package/build/contracts/IERC20.json +1 -1
  43. package/build/contracts/IERC20Metadata.json +1 -1
  44. package/build/contracts/IERC20Permit.json +1 -1
  45. package/build/contracts/IERC777.json +1 -1
  46. package/build/contracts/IERC777Recipient.json +1 -1
  47. package/build/contracts/IERC777Sender.json +1 -1
  48. package/build/contracts/IInstantDistributionAgreementV1.json +640 -640
  49. package/build/contracts/IMaticBridgedNativeSuperToken.json +63 -63
  50. package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +63 -63
  51. package/build/contracts/IMultiSigWallet.json +24 -24
  52. package/build/contracts/IPureSuperToken.json +43 -43
  53. package/build/contracts/IPureSuperTokenCustom.json +43 -43
  54. package/build/contracts/IRelayRecipient.json +27 -27
  55. package/build/contracts/IResolver.json +38 -38
  56. package/build/contracts/ISETH.json +48 -48
  57. package/build/contracts/ISETHCustom.json +48 -48
  58. package/build/contracts/ISuperAgreement.json +50 -50
  59. package/build/contracts/ISuperApp.json +192 -192
  60. package/build/contracts/ISuperToken.json +524 -524
  61. package/build/contracts/ISuperTokenFactory.json +161 -161
  62. package/build/contracts/ISuperfluid.json +1145 -1178
  63. package/build/contracts/ISuperfluidGovernance.json +243 -243
  64. package/build/contracts/ISuperfluidToken.json +389 -389
  65. package/build/contracts/ITOGAv1.json +1442 -1442
  66. package/build/contracts/ITOGAv2.json +1442 -1442
  67. package/build/contracts/Initializable.json +1 -1
  68. package/build/contracts/InstantDistributionAgreementV1.json +5820 -5820
  69. package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +231 -231
  70. package/build/contracts/NonClosableOutflowTestApp.json +2473 -2473
  71. package/build/contracts/Ownable.json +1 -1
  72. package/build/contracts/Pausable.json +1 -1
  73. package/build/contracts/Proxy.json +1 -1
  74. package/build/contracts/PureSuperToken.json +109 -109
  75. package/build/contracts/Resolver.json +98 -98
  76. package/build/contracts/SETHProxy.json +227 -227
  77. package/build/contracts/SafeCast.json +1 -1
  78. package/build/contracts/SafeERC20.json +1 -1
  79. package/build/contracts/SafeMath.json +1 -1
  80. package/build/contracts/SelfDeletingFlowTestApp.json +2472 -2472
  81. package/build/contracts/SlotsBitmapLibrary.json +457 -457
  82. package/build/contracts/StreamRedirector.json +748 -748
  83. package/build/contracts/Strings.json +1 -1
  84. package/build/contracts/SuperAppBase.json +240 -240
  85. package/build/contracts/SuperAppDefinitions.json +599 -599
  86. package/build/contracts/SuperToken.json +4732 -4732
  87. package/build/contracts/SuperTokenFactory.json +750 -750
  88. package/build/contracts/SuperTokenFactoryBase.json +738 -738
  89. package/build/contracts/SuperTokenFactoryHelper.json +743 -743
  90. package/build/contracts/SuperUpgrader.json +440 -440
  91. package/build/contracts/Superfluid.json +15366 -16050
  92. package/build/contracts/SuperfluidFrameworkDeployer.json +765 -765
  93. package/build/contracts/SuperfluidGovernanceBase.json +2233 -2233
  94. package/build/contracts/SuperfluidGovernanceConfigs.json +599 -599
  95. package/build/contracts/SuperfluidGovernanceII.json +149 -149
  96. package/build/contracts/SuperfluidGovernanceIIProxy.json +131 -131
  97. package/build/contracts/SuperfluidLoader.json +210 -210
  98. package/build/contracts/SuperfluidToken.json +2420 -2420
  99. package/build/contracts/TOGA.json +1461 -1461
  100. package/build/contracts/TestGovernance.json +248 -248
  101. package/build/contracts/TestToken.json +93 -93
  102. package/build/contracts/TokenCustodian.json +214 -214
  103. package/build/contracts/TokenInfo.json +32 -32
  104. package/build/contracts/UUPSProxiable.json +139 -139
  105. package/build/contracts/UUPSProxy.json +81 -81
  106. package/build/contracts/UUPSUtils.json +37 -37
  107. package/build/contracts-sizes.txt +6 -6
  108. package/contracts/agreements/AgreementLibrary.sol +39 -15
  109. package/contracts/agreements/ConstantFlowAgreementV1.sol +65 -53
  110. package/contracts/interfaces/superfluid/ISuperfluid.sol +29 -23
  111. package/contracts/mocks/AgreementMock.sol +2 -2
  112. package/contracts/mocks/CFAAppMocks.sol +1 -1
  113. package/contracts/mocks/MultiFlowTesterApp.sol +13 -12
  114. package/contracts/mocks/SuperTokenMock.sol +2 -2
  115. package/contracts/mocks/SuperfluidMock.sol +9 -9
  116. package/contracts/superfluid/Superfluid.sol +34 -38
  117. package/contracts/superfluid/SuperfluidToken.sol +14 -14
  118. package/package.json +2 -2
  119. package/scripts/deploy-mfa.ts +27 -0
  120. package/scripts/libs/getConfig.js +14 -0
  121. package/utils/README.md +18 -0
  122. package/utils/mfa-tester.html +687 -0
@@ -4190,7 +4190,7 @@
4190
4190
  },
4191
4191
  "networks": {},
4192
4192
  "schemaVersion": "3.4.8",
4193
- "updatedAt": "2022-08-11T12:58:51.497Z",
4193
+ "updatedAt": "2022-08-24T13:23:34.262Z",
4194
4194
  "devdoc": {
4195
4195
  "details": "Contract module that allows children to implement role-based access control mechanisms. This is a lightweight version that doesn't allow enumerating role members except through off-chain means by accessing the contract event logs. Some applications may benefit from on-chain enumerability, for those cases see {AccessControlEnumerable}. Roles are referred to by their `bytes32` identifier. These should be exposed in the external API and be unique. The best way to achieve this is by using `public constant` hash digests: ``` bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\"); ``` Roles can be used to represent a set of permissions. To restrict access to a function call, use {hasRole}: ``` function foo() public { require(hasRole(MY_ROLE, msg.sender)); ... } ``` Roles can be granted and revoked dynamically via the {grantRole} and {revokeRole} functions. Each role has an associated admin role, and only accounts that have a role's admin role can call {grantRole} and {revokeRole}. By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means that only accounts with this role will be able to grant or revoke other roles. More complex role relationships can be created by using {_setRoleAdmin}. WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to grant and revoke this role. Extra precautions should be taken to secure accounts that have been granted it.",
4196
4196
  "kind": "dev",
@@ -1744,7 +1744,7 @@
1744
1744
  },
1745
1745
  "networks": {},
1746
1746
  "schemaVersion": "3.4.8",
1747
- "updatedAt": "2022-08-11T12:58:51.508Z",
1747
+ "updatedAt": "2022-08-24T13:23:34.264Z",
1748
1748
  "devdoc": {
1749
1749
  "details": "Extension of {AccessControl} that allows enumerating the members of each role.",
1750
1750
  "kind": "dev",
@@ -3971,7 +3971,7 @@
3971
3971
  },
3972
3972
  "networks": {},
3973
3973
  "schemaVersion": "3.4.8",
3974
- "updatedAt": "2022-08-11T12:58:51.532Z",
3974
+ "updatedAt": "2022-08-24T13:23:34.285Z",
3975
3975
  "devdoc": {
3976
3976
  "details": "Collection of functions related to the address type",
3977
3977
  "kind": "dev",
@@ -149,10 +149,10 @@
149
149
  6063
150
150
  ],
151
151
  "ISuperAgreement": [
152
- 18992
152
+ 19002
153
153
  ],
154
154
  "UUPSProxiable": [
155
- 37025
155
+ 37017
156
156
  ]
157
157
  },
158
158
  "id": 6064,
@@ -176,7 +176,7 @@
176
176
  "nameLocation": "-1:-1:-1",
177
177
  "nodeType": "ImportDirective",
178
178
  "scope": 6064,
179
- "sourceUnit": 37026,
179
+ "sourceUnit": 37018,
180
180
  "src": "60:67:31",
181
181
  "symbolAliases": [
182
182
  {
@@ -185,7 +185,7 @@
185
185
  "name": "UUPSProxiable",
186
186
  "nodeType": "Identifier",
187
187
  "overloadedDeclarations": [],
188
- "referencedDeclaration": 37025,
188
+ "referencedDeclaration": 37017,
189
189
  "src": "69:13:31",
190
190
  "typeDescriptions": {}
191
191
  },
@@ -201,7 +201,7 @@
201
201
  "nameLocation": "-1:-1:-1",
202
202
  "nodeType": "ImportDirective",
203
203
  "scope": 6064,
204
- "sourceUnit": 18993,
204
+ "sourceUnit": 19003,
205
205
  "src": "128:79:31",
206
206
  "symbolAliases": [
207
207
  {
@@ -210,7 +210,7 @@
210
210
  "name": "ISuperAgreement",
211
211
  "nodeType": "Identifier",
212
212
  "overloadedDeclarations": [],
213
- "referencedDeclaration": 18992,
213
+ "referencedDeclaration": 19002,
214
214
  "src": "137:15:31",
215
215
  "typeDescriptions": {}
216
216
  },
@@ -227,7 +227,7 @@
227
227
  "id": 6015,
228
228
  "name": "UUPSProxiable",
229
229
  "nodeType": "IdentifierPath",
230
- "referencedDeclaration": 37025,
230
+ "referencedDeclaration": 37017,
231
231
  "src": "336:13:31"
232
232
  },
233
233
  "id": 6016,
@@ -239,7 +239,7 @@
239
239
  "id": 6017,
240
240
  "name": "ISuperAgreement",
241
241
  "nodeType": "IdentifierPath",
242
- "referencedDeclaration": 18992,
242
+ "referencedDeclaration": 19002,
243
243
  "src": "355:15:31"
244
244
  },
245
245
  "id": 6018,
@@ -260,8 +260,8 @@
260
260
  "id": 6063,
261
261
  "linearizedBaseContracts": [
262
262
  6063,
263
- 18992,
264
- 37025,
263
+ 19002,
264
+ 37017,
265
265
  858
266
266
  ],
267
267
  "name": "AgreementBase",
@@ -403,7 +403,7 @@
403
403
  },
404
404
  {
405
405
  "baseFunctions": [
406
- 36965
406
+ 36957
407
407
  ],
408
408
  "body": {
409
409
  "id": 6042,
@@ -441,10 +441,10 @@
441
441
  "name": "ISuperAgreement",
442
442
  "nodeType": "Identifier",
443
443
  "overloadedDeclarations": [],
444
- "referencedDeclaration": 18992,
444
+ "referencedDeclaration": 19002,
445
445
  "src": "582:15:31",
446
446
  "typeDescriptions": {
447
- "typeIdentifier": "t_type$_t_contract$_ISuperAgreement_$18992_$",
447
+ "typeIdentifier": "t_type$_t_contract$_ISuperAgreement_$19002_$",
448
448
  "typeString": "type(contract ISuperAgreement)"
449
449
  }
450
450
  },
@@ -459,7 +459,7 @@
459
459
  "src": "582:21:31",
460
460
  "tryCall": false,
461
461
  "typeDescriptions": {
462
- "typeIdentifier": "t_contract$_ISuperAgreement_$18992",
462
+ "typeIdentifier": "t_contract$_ISuperAgreement_$19002",
463
463
  "typeString": "contract ISuperAgreement"
464
464
  }
465
465
  },
@@ -470,7 +470,7 @@
470
470
  "lValueRequested": false,
471
471
  "memberName": "agreementType",
472
472
  "nodeType": "MemberAccess",
473
- "referencedDeclaration": 18974,
473
+ "referencedDeclaration": 18984,
474
474
  "src": "582:35:31",
475
475
  "typeDescriptions": {
476
476
  "typeIdentifier": "t_function_external_view$__$returns$_t_bytes32_$",
@@ -561,7 +561,7 @@
561
561
  },
562
562
  {
563
563
  "baseFunctions": [
564
- 36953
564
+ 36945
565
565
  ],
566
566
  "body": {
567
567
  "id": 6061,
@@ -715,7 +715,7 @@
715
715
  "name": "_updateCodeAddress",
716
716
  "nodeType": "Identifier",
717
717
  "overloadedDeclarations": [],
718
- "referencedDeclaration": 37018,
718
+ "referencedDeclaration": 37010,
719
719
  "src": "786:18:31",
720
720
  "typeDescriptions": {
721
721
  "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
@@ -819,7 +819,7 @@
819
819
  },
820
820
  "networks": {},
821
821
  "schemaVersion": "3.4.8",
822
- "updatedAt": "2022-08-11T12:58:51.556Z",
822
+ "updatedAt": "2022-08-24T13:23:34.306Z",
823
823
  "devdoc": {
824
824
  "author": "Superfluid",
825
825
  "kind": "dev",