@superfluid-finance/ethereum-contracts 1.2.1 → 1.2.2-dev.787fef7.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 +18 -18
- package/build/contracts/AgreementLibrary.json +450 -243
- package/build/contracts/BaseRelayRecipient.json +112 -112
- package/build/contracts/BatchLiquidator.json +178 -178
- package/build/contracts/BatchOperation.json +1138 -1138
- package/build/contracts/CFAv1Library.json +2531 -2531
- package/build/contracts/CallUtils.json +478 -478
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +1521 -1521
- package/build/contracts/ConstantFlowAgreementV1.json +19315 -18335
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +1138 -1138
- package/build/contracts/Create2.json +1 -1
- package/build/contracts/CustomSuperTokenBase.json +31 -31
- package/build/contracts/ERC165.json +1 -1
- package/build/contracts/ERC1820Implementer.json +1 -1
- 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 +36 -36
- package/build/contracts/ERC721.json +1 -1
- package/build/contracts/ERC777Helper.json +660 -660
- package/build/contracts/ERC777RecipientDrainingGas.json +855 -855
- package/build/contracts/ERC777RecipientReverting.json +855 -855
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/ExclusiveInflowTestApp.json +1521 -1521
- package/build/contracts/FixedSizeData.json +405 -405
- package/build/contracts/FlowExchangeTestApp.json +1522 -1522
- package/build/contracts/FlowOperatorDefinitions.json +1138 -1138
- package/build/contracts/FullUpgradableSuperTokenProxy.json +113 -113
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +1036 -1036
- package/build/contracts/IDAv1Library.json +4183 -4183
- 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/IERC721.json +1 -1
- package/build/contracts/IERC721Metadata.json +1 -1
- package/build/contracts/IERC721Receiver.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 +1182 -1182
- package/build/contracts/IMaticBridgedNativeSuperToken.json +110 -110
- package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +110 -110
- package/build/contracts/IMultiSigWallet.json +45 -45
- package/build/contracts/IPureSuperToken.json +69 -69
- package/build/contracts/IPureSuperTokenCustom.json +69 -69
- package/build/contracts/IRelayRecipient.json +49 -49
- package/build/contracts/IResolver.json +73 -73
- package/build/contracts/ISETH.json +79 -79
- package/build/contracts/ISETHCustom.json +79 -79
- package/build/contracts/ISuperAgreement.json +88 -88
- package/build/contracts/ISuperApp.json +351 -351
- package/build/contracts/ISuperToken.json +1008 -1008
- package/build/contracts/ISuperTokenFactory.json +280 -280
- package/build/contracts/ISuperfluid.json +1466 -1466
- package/build/contracts/ISuperfluidGovernance.json +404 -404
- package/build/contracts/ISuperfluidToken.json +774 -774
- package/build/contracts/ITOGAv1.json +1431 -1431
- package/build/contracts/ITOGAv2.json +1431 -1431
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +9343 -9343
- package/build/contracts/Int96SafeMath.json +504 -504
- package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +228 -228
- package/build/contracts/NonClosableOutflowTestApp.json +1522 -1522
- 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 +1521 -1521
- package/build/contracts/SlotsBitmapLibrary.json +794 -794
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +394 -394
- package/build/contracts/SuperAppDefinitions.json +1138 -1138
- package/build/contracts/SuperToken.json +2351 -2351
- package/build/contracts/SuperTokenFactory.json +731 -731
- package/build/contracts/SuperTokenFactoryBase.json +721 -721
- package/build/contracts/SuperTokenFactoryHelper.json +724 -724
- package/build/contracts/SuperUpgrader.json +437 -437
- package/build/contracts/Superfluid.json +9812 -10169
- package/build/contracts/SuperfluidFrameworkDeployer.json +535 -535
- package/build/contracts/SuperfluidGovernanceBase.json +3471 -3789
- package/build/contracts/SuperfluidGovernanceConfigs.json +1138 -1138
- package/build/contracts/SuperfluidGovernanceII.json +2097 -2347
- package/build/contracts/SuperfluidGovernanceIIProxy.json +214 -214
- package/build/contracts/SuperfluidLoader.json +207 -207
- package/build/contracts/SuperfluidToken.json +1345 -1345
- package/build/contracts/TOGA.json +1448 -1448
- package/build/contracts/TestGovernance.json +2195 -2445
- package/build/contracts/TestToken.json +94 -94
- package/build/contracts/TokenCustodian.json +214 -214
- package/build/contracts/TokenInfo.json +58 -58
- package/build/contracts/UInt128SafeMath.json +97 -97
- package/build/contracts/UUPSProxiable.json +132 -132
- package/build/contracts/UUPSProxy.json +81 -81
- package/build/contracts/UUPSUtils.json +37 -37
- package/build/contracts-sizes.txt +3 -4
- package/contracts/agreements/AgreementLibrary.sol +1 -0
- package/contracts/agreements/ConstantFlowAgreementV1.sol +71 -35
- package/contracts/agreements/InstantDistributionAgreementV1.sol +3 -2
- package/contracts/gov/SuperfluidGovernanceBase.sol +9 -26
- package/contracts/{agreements → libs}/SlotsBitmapLibrary.sol +1 -3
- package/contracts/mocks/SuperfluidMock.sol +2 -2
- package/contracts/superfluid/Superfluid.sol +5 -10
- package/package.json +2 -1
- package/scripts/gov-create-new-app-registration-key.js +26 -3
|
@@ -4064,7 +4064,7 @@
|
|
|
4064
4064
|
},
|
|
4065
4065
|
"networks": {},
|
|
4066
4066
|
"schemaVersion": "3.4.7",
|
|
4067
|
-
"updatedAt": "2022-
|
|
4067
|
+
"updatedAt": "2022-05-05T19:02:21.861Z",
|
|
4068
4068
|
"devdoc": {
|
|
4069
4069
|
"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.",
|
|
4070
4070
|
"kind": "dev",
|
|
@@ -1744,7 +1744,7 @@
|
|
|
1744
1744
|
},
|
|
1745
1745
|
"networks": {},
|
|
1746
1746
|
"schemaVersion": "3.4.7",
|
|
1747
|
-
"updatedAt": "2022-
|
|
1747
|
+
"updatedAt": "2022-05-05T19:02:21.864Z",
|
|
1748
1748
|
"devdoc": {
|
|
1749
1749
|
"details": "Extension of {AccessControl} that allows enumerating the members of each role.",
|
|
1750
1750
|
"kind": "dev",
|
|
@@ -3970,7 +3970,7 @@
|
|
|
3970
3970
|
},
|
|
3971
3971
|
"networks": {},
|
|
3972
3972
|
"schemaVersion": "3.4.7",
|
|
3973
|
-
"updatedAt": "2022-
|
|
3973
|
+
"updatedAt": "2022-05-05T19:02:21.902Z",
|
|
3974
3974
|
"devdoc": {
|
|
3975
3975
|
"details": "Collection of functions related to the address type",
|
|
3976
3976
|
"kind": "dev",
|
|
@@ -129,10 +129,10 @@
|
|
|
129
129
|
5402
|
|
130
130
|
],
|
|
131
131
|
"ISuperAgreement": [
|
|
132
|
-
|
|
132
|
+
17949
|
|
133
133
|
],
|
|
134
134
|
"UUPSProxiable": [
|
|
135
|
-
|
|
135
|
+
36318
|
|
136
136
|
]
|
|
137
137
|
},
|
|
138
138
|
"id": 5403,
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
"nameLocation": "-1:-1:-1",
|
|
157
157
|
"nodeType": "ImportDirective",
|
|
158
158
|
"scope": 5403,
|
|
159
|
-
"sourceUnit":
|
|
159
|
+
"sourceUnit": 36319,
|
|
160
160
|
"src": "60:67:34",
|
|
161
161
|
"symbolAliases": [
|
|
162
162
|
{
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
"name": "UUPSProxiable",
|
|
166
166
|
"nodeType": "Identifier",
|
|
167
167
|
"overloadedDeclarations": [],
|
|
168
|
-
"referencedDeclaration":
|
|
168
|
+
"referencedDeclaration": 36318,
|
|
169
169
|
"src": "69:13:34",
|
|
170
170
|
"typeDescriptions": {}
|
|
171
171
|
},
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
"nameLocation": "-1:-1:-1",
|
|
182
182
|
"nodeType": "ImportDirective",
|
|
183
183
|
"scope": 5403,
|
|
184
|
-
"sourceUnit":
|
|
184
|
+
"sourceUnit": 17950,
|
|
185
185
|
"src": "128:79:34",
|
|
186
186
|
"symbolAliases": [
|
|
187
187
|
{
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
"name": "ISuperAgreement",
|
|
191
191
|
"nodeType": "Identifier",
|
|
192
192
|
"overloadedDeclarations": [],
|
|
193
|
-
"referencedDeclaration":
|
|
193
|
+
"referencedDeclaration": 17949,
|
|
194
194
|
"src": "137:15:34",
|
|
195
195
|
"typeDescriptions": {}
|
|
196
196
|
},
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
"id": 5354,
|
|
208
208
|
"name": "UUPSProxiable",
|
|
209
209
|
"nodeType": "IdentifierPath",
|
|
210
|
-
"referencedDeclaration":
|
|
210
|
+
"referencedDeclaration": 36318,
|
|
211
211
|
"src": "336:13:34"
|
|
212
212
|
},
|
|
213
213
|
"id": 5355,
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
"id": 5356,
|
|
220
220
|
"name": "ISuperAgreement",
|
|
221
221
|
"nodeType": "IdentifierPath",
|
|
222
|
-
"referencedDeclaration":
|
|
222
|
+
"referencedDeclaration": 17949,
|
|
223
223
|
"src": "355:15:34"
|
|
224
224
|
},
|
|
225
225
|
"id": 5357,
|
|
@@ -240,8 +240,8 @@
|
|
|
240
240
|
"id": 5402,
|
|
241
241
|
"linearizedBaseContracts": [
|
|
242
242
|
5402,
|
|
243
|
-
|
|
244
|
-
|
|
243
|
+
17949,
|
|
244
|
+
36318,
|
|
245
245
|
762
|
|
246
246
|
],
|
|
247
247
|
"name": "AgreementBase",
|
|
@@ -383,7 +383,7 @@
|
|
|
383
383
|
},
|
|
384
384
|
{
|
|
385
385
|
"baseFunctions": [
|
|
386
|
-
|
|
386
|
+
36258
|
|
387
387
|
],
|
|
388
388
|
"body": {
|
|
389
389
|
"id": 5381,
|
|
@@ -421,10 +421,10 @@
|
|
|
421
421
|
"name": "ISuperAgreement",
|
|
422
422
|
"nodeType": "Identifier",
|
|
423
423
|
"overloadedDeclarations": [],
|
|
424
|
-
"referencedDeclaration":
|
|
424
|
+
"referencedDeclaration": 17949,
|
|
425
425
|
"src": "582:15:34",
|
|
426
426
|
"typeDescriptions": {
|
|
427
|
-
"typeIdentifier": "t_type$_t_contract$_ISuperAgreement_$
|
|
427
|
+
"typeIdentifier": "t_type$_t_contract$_ISuperAgreement_$17949_$",
|
|
428
428
|
"typeString": "type(contract ISuperAgreement)"
|
|
429
429
|
}
|
|
430
430
|
},
|
|
@@ -439,7 +439,7 @@
|
|
|
439
439
|
"src": "582:21:34",
|
|
440
440
|
"tryCall": false,
|
|
441
441
|
"typeDescriptions": {
|
|
442
|
-
"typeIdentifier": "t_contract$_ISuperAgreement_$
|
|
442
|
+
"typeIdentifier": "t_contract$_ISuperAgreement_$17949",
|
|
443
443
|
"typeString": "contract ISuperAgreement"
|
|
444
444
|
}
|
|
445
445
|
},
|
|
@@ -450,7 +450,7 @@
|
|
|
450
450
|
"lValueRequested": false,
|
|
451
451
|
"memberName": "agreementType",
|
|
452
452
|
"nodeType": "MemberAccess",
|
|
453
|
-
"referencedDeclaration":
|
|
453
|
+
"referencedDeclaration": 17931,
|
|
454
454
|
"src": "582:35:34",
|
|
455
455
|
"typeDescriptions": {
|
|
456
456
|
"typeIdentifier": "t_function_external_view$__$returns$_t_bytes32_$",
|
|
@@ -541,7 +541,7 @@
|
|
|
541
541
|
},
|
|
542
542
|
{
|
|
543
543
|
"baseFunctions": [
|
|
544
|
-
|
|
544
|
+
36252
|
|
545
545
|
],
|
|
546
546
|
"body": {
|
|
547
547
|
"id": 5400,
|
|
@@ -695,7 +695,7 @@
|
|
|
695
695
|
"name": "_updateCodeAddress",
|
|
696
696
|
"nodeType": "Identifier",
|
|
697
697
|
"overloadedDeclarations": [],
|
|
698
|
-
"referencedDeclaration":
|
|
698
|
+
"referencedDeclaration": 36311,
|
|
699
699
|
"src": "786:18:34",
|
|
700
700
|
"typeDescriptions": {
|
|
701
701
|
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
|
|
@@ -799,7 +799,7 @@
|
|
|
799
799
|
},
|
|
800
800
|
"networks": {},
|
|
801
801
|
"schemaVersion": "3.4.7",
|
|
802
|
-
"updatedAt": "2022-
|
|
802
|
+
"updatedAt": "2022-05-05T19:02:21.918Z",
|
|
803
803
|
"devdoc": {
|
|
804
804
|
"author": "Superfluid",
|
|
805
805
|
"kind": "dev",
|