@superfluid-finance/ethereum-contracts 1.4.1 → 1.4.2-dev.834d2b3.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 +4 -4
- package/contracts/agreements/ConstantFlowAgreementV1.sol +4 -0
- package/package.json +10 -6
|
@@ -4247,7 +4247,7 @@
|
|
|
4247
4247
|
},
|
|
4248
4248
|
"networks": {},
|
|
4249
4249
|
"schemaVersion": "3.4.9",
|
|
4250
|
-
"updatedAt": "2022-09-
|
|
4250
|
+
"updatedAt": "2022-09-29T11:40:39.602Z",
|
|
4251
4251
|
"devdoc": {
|
|
4252
4252
|
"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.",
|
|
4253
4253
|
"kind": "dev",
|
|
@@ -1777,7 +1777,7 @@
|
|
|
1777
1777
|
},
|
|
1778
1778
|
"networks": {},
|
|
1779
1779
|
"schemaVersion": "3.4.9",
|
|
1780
|
-
"updatedAt": "2022-09-
|
|
1780
|
+
"updatedAt": "2022-09-29T11:40:39.604Z",
|
|
1781
1781
|
"devdoc": {
|
|
1782
1782
|
"details": "Extension of {AccessControl} that allows enumerating the members of each role.",
|
|
1783
1783
|
"kind": "dev",
|
|
@@ -4004,7 +4004,7 @@
|
|
|
4004
4004
|
},
|
|
4005
4005
|
"networks": {},
|
|
4006
4006
|
"schemaVersion": "3.4.9",
|
|
4007
|
-
"updatedAt": "2022-09-
|
|
4007
|
+
"updatedAt": "2022-09-29T11:40:39.627Z",
|
|
4008
4008
|
"devdoc": {
|
|
4009
4009
|
"details": "Collection of functions related to the address type",
|
|
4010
4010
|
"kind": "dev",
|
|
@@ -160,13 +160,13 @@
|
|
|
160
160
|
6069
|
|
161
161
|
],
|
|
162
162
|
"ISuperAgreement": [
|
|
163
|
-
|
|
163
|
+
19438
|
|
164
164
|
],
|
|
165
165
|
"SuperfluidErrors": [
|
|
166
|
-
|
|
166
|
+
19409
|
|
167
167
|
],
|
|
168
168
|
"UUPSProxiable": [
|
|
169
|
-
|
|
169
|
+
37519
|
|
170
170
|
]
|
|
171
171
|
},
|
|
172
172
|
"id": 6070,
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
"nameLocation": "-1:-1:-1",
|
|
191
191
|
"nodeType": "ImportDirective",
|
|
192
192
|
"scope": 6070,
|
|
193
|
-
"sourceUnit":
|
|
193
|
+
"sourceUnit": 37520,
|
|
194
194
|
"src": "60:67:31",
|
|
195
195
|
"symbolAliases": [
|
|
196
196
|
{
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
"name": "UUPSProxiable",
|
|
200
200
|
"nodeType": "Identifier",
|
|
201
201
|
"overloadedDeclarations": [],
|
|
202
|
-
"referencedDeclaration":
|
|
202
|
+
"referencedDeclaration": 37519,
|
|
203
203
|
"src": "69:13:31",
|
|
204
204
|
"typeDescriptions": {}
|
|
205
205
|
},
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
"nameLocation": "-1:-1:-1",
|
|
216
216
|
"nodeType": "ImportDirective",
|
|
217
217
|
"scope": 6070,
|
|
218
|
-
"sourceUnit":
|
|
218
|
+
"sourceUnit": 19439,
|
|
219
219
|
"src": "128:79:31",
|
|
220
220
|
"symbolAliases": [
|
|
221
221
|
{
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
"name": "ISuperAgreement",
|
|
225
225
|
"nodeType": "Identifier",
|
|
226
226
|
"overloadedDeclarations": [],
|
|
227
|
-
"referencedDeclaration":
|
|
227
|
+
"referencedDeclaration": 19438,
|
|
228
228
|
"src": "137:15:31",
|
|
229
229
|
"typeDescriptions": {}
|
|
230
230
|
},
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
"nameLocation": "-1:-1:-1",
|
|
241
241
|
"nodeType": "ImportDirective",
|
|
242
242
|
"scope": 6070,
|
|
243
|
-
"sourceUnit":
|
|
243
|
+
"sourceUnit": 19410,
|
|
244
244
|
"src": "208:76:31",
|
|
245
245
|
"symbolAliases": [
|
|
246
246
|
{
|
|
@@ -249,7 +249,7 @@
|
|
|
249
249
|
"name": "SuperfluidErrors",
|
|
250
250
|
"nodeType": "Identifier",
|
|
251
251
|
"overloadedDeclarations": [],
|
|
252
|
-
"referencedDeclaration":
|
|
252
|
+
"referencedDeclaration": 19409,
|
|
253
253
|
"src": "217:16:31",
|
|
254
254
|
"typeDescriptions": {}
|
|
255
255
|
},
|
|
@@ -269,7 +269,7 @@
|
|
|
269
269
|
"412:13:31"
|
|
270
270
|
],
|
|
271
271
|
"nodeType": "IdentifierPath",
|
|
272
|
-
"referencedDeclaration":
|
|
272
|
+
"referencedDeclaration": 37519,
|
|
273
273
|
"src": "412:13:31"
|
|
274
274
|
},
|
|
275
275
|
"id": 6018,
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
"431:15:31"
|
|
285
285
|
],
|
|
286
286
|
"nodeType": "IdentifierPath",
|
|
287
|
-
"referencedDeclaration":
|
|
287
|
+
"referencedDeclaration": 19438,
|
|
288
288
|
"src": "431:15:31"
|
|
289
289
|
},
|
|
290
290
|
"id": 6020,
|
|
@@ -305,8 +305,8 @@
|
|
|
305
305
|
"id": 6069,
|
|
306
306
|
"linearizedBaseContracts": [
|
|
307
307
|
6069,
|
|
308
|
-
|
|
309
|
-
|
|
308
|
+
19438,
|
|
309
|
+
37519,
|
|
310
310
|
858
|
|
311
311
|
],
|
|
312
312
|
"name": "AgreementBase",
|
|
@@ -448,7 +448,7 @@
|
|
|
448
448
|
},
|
|
449
449
|
{
|
|
450
450
|
"baseFunctions": [
|
|
451
|
-
|
|
451
|
+
37459
|
|
452
452
|
],
|
|
453
453
|
"body": {
|
|
454
454
|
"id": 6044,
|
|
@@ -486,10 +486,10 @@
|
|
|
486
486
|
"name": "ISuperAgreement",
|
|
487
487
|
"nodeType": "Identifier",
|
|
488
488
|
"overloadedDeclarations": [],
|
|
489
|
-
"referencedDeclaration":
|
|
489
|
+
"referencedDeclaration": 19438,
|
|
490
490
|
"src": "658:15:31",
|
|
491
491
|
"typeDescriptions": {
|
|
492
|
-
"typeIdentifier": "t_type$_t_contract$_ISuperAgreement_$
|
|
492
|
+
"typeIdentifier": "t_type$_t_contract$_ISuperAgreement_$19438_$",
|
|
493
493
|
"typeString": "type(contract ISuperAgreement)"
|
|
494
494
|
}
|
|
495
495
|
},
|
|
@@ -505,7 +505,7 @@
|
|
|
505
505
|
"src": "658:21:31",
|
|
506
506
|
"tryCall": false,
|
|
507
507
|
"typeDescriptions": {
|
|
508
|
-
"typeIdentifier": "t_contract$_ISuperAgreement_$
|
|
508
|
+
"typeIdentifier": "t_contract$_ISuperAgreement_$19438",
|
|
509
509
|
"typeString": "contract ISuperAgreement"
|
|
510
510
|
}
|
|
511
511
|
},
|
|
@@ -517,7 +517,7 @@
|
|
|
517
517
|
"memberLocation": "680:13:31",
|
|
518
518
|
"memberName": "agreementType",
|
|
519
519
|
"nodeType": "MemberAccess",
|
|
520
|
-
"referencedDeclaration":
|
|
520
|
+
"referencedDeclaration": 19420,
|
|
521
521
|
"src": "658:35:31",
|
|
522
522
|
"typeDescriptions": {
|
|
523
523
|
"typeIdentifier": "t_function_external_view$__$returns$_t_bytes32_$",
|
|
@@ -609,7 +609,7 @@
|
|
|
609
609
|
},
|
|
610
610
|
{
|
|
611
611
|
"baseFunctions": [
|
|
612
|
-
|
|
612
|
+
37447
|
|
613
613
|
],
|
|
614
614
|
"body": {
|
|
615
615
|
"id": 6067,
|
|
@@ -686,10 +686,10 @@
|
|
|
686
686
|
"name": "SuperfluidErrors",
|
|
687
687
|
"nodeType": "Identifier",
|
|
688
688
|
"overloadedDeclarations": [],
|
|
689
|
-
"referencedDeclaration":
|
|
689
|
+
"referencedDeclaration": 19409,
|
|
690
690
|
"src": "847:16:31",
|
|
691
691
|
"typeDescriptions": {
|
|
692
|
-
"typeIdentifier": "t_type$_t_contract$_SuperfluidErrors_$
|
|
692
|
+
"typeIdentifier": "t_type$_t_contract$_SuperfluidErrors_$19409_$",
|
|
693
693
|
"typeString": "type(library SuperfluidErrors)"
|
|
694
694
|
}
|
|
695
695
|
},
|
|
@@ -701,7 +701,7 @@
|
|
|
701
701
|
"memberLocation": "864:24:31",
|
|
702
702
|
"memberName": "AGREEMENT_BASE_ONLY_HOST",
|
|
703
703
|
"nodeType": "MemberAccess",
|
|
704
|
-
"referencedDeclaration":
|
|
704
|
+
"referencedDeclaration": 19408,
|
|
705
705
|
"src": "847:41:31",
|
|
706
706
|
"typeDescriptions": {
|
|
707
707
|
"typeIdentifier": "t_uint256",
|
|
@@ -721,10 +721,10 @@
|
|
|
721
721
|
"name": "SuperfluidErrors",
|
|
722
722
|
"nodeType": "Identifier",
|
|
723
723
|
"overloadedDeclarations": [],
|
|
724
|
-
"referencedDeclaration":
|
|
724
|
+
"referencedDeclaration": 19409,
|
|
725
725
|
"src": "820:16:31",
|
|
726
726
|
"typeDescriptions": {
|
|
727
|
-
"typeIdentifier": "t_type$_t_contract$_SuperfluidErrors_$
|
|
727
|
+
"typeIdentifier": "t_type$_t_contract$_SuperfluidErrors_$19409_$",
|
|
728
728
|
"typeString": "type(library SuperfluidErrors)"
|
|
729
729
|
}
|
|
730
730
|
},
|
|
@@ -736,7 +736,7 @@
|
|
|
736
736
|
"memberLocation": "837:9:31",
|
|
737
737
|
"memberName": "ONLY_HOST",
|
|
738
738
|
"nodeType": "MemberAccess",
|
|
739
|
-
"referencedDeclaration":
|
|
739
|
+
"referencedDeclaration": 19302,
|
|
740
740
|
"src": "820:26:31",
|
|
741
741
|
"typeDescriptions": {
|
|
742
742
|
"typeIdentifier": "t_function_error_pure$_t_uint256_$returns$__$",
|
|
@@ -791,7 +791,7 @@
|
|
|
791
791
|
"name": "_updateCodeAddress",
|
|
792
792
|
"nodeType": "Identifier",
|
|
793
793
|
"overloadedDeclarations": [],
|
|
794
|
-
"referencedDeclaration":
|
|
794
|
+
"referencedDeclaration": 37512,
|
|
795
795
|
"src": "906:18:31",
|
|
796
796
|
"typeDescriptions": {
|
|
797
797
|
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
|
|
@@ -886,7 +886,7 @@
|
|
|
886
886
|
"scope": 6070,
|
|
887
887
|
"src": "373:573:31",
|
|
888
888
|
"usedErrors": [
|
|
889
|
-
|
|
889
|
+
19302
|
|
890
890
|
]
|
|
891
891
|
}
|
|
892
892
|
],
|
|
@@ -898,7 +898,7 @@
|
|
|
898
898
|
},
|
|
899
899
|
"networks": {},
|
|
900
900
|
"schemaVersion": "3.4.9",
|
|
901
|
-
"updatedAt": "2022-09-
|
|
901
|
+
"updatedAt": "2022-09-29T11:40:39.648Z",
|
|
902
902
|
"devdoc": {
|
|
903
903
|
"author": "Superfluid",
|
|
904
904
|
"kind": "dev",
|