@superfluid-finance/ethereum-contracts 1.2.2-dev.c9bc19b.0 → 1.2.2-dev.ec379f7.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 (118) 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 +450 -243
  6. package/build/contracts/BaseRelayRecipient.json +112 -112
  7. package/build/contracts/BatchLiquidator.json +178 -178
  8. package/build/contracts/BatchOperation.json +1138 -1138
  9. package/build/contracts/CFAv1Library.json +2531 -2531
  10. package/build/contracts/CallUtils.json +478 -478
  11. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1521 -1521
  12. package/build/contracts/ConstantFlowAgreementV1.json +19314 -18334
  13. package/build/contracts/Context.json +1 -1
  14. package/build/contracts/ContextDefinitions.json +1138 -1138
  15. package/build/contracts/Create2.json +1 -1
  16. package/build/contracts/CustomSuperTokenBase.json +31 -31
  17. package/build/contracts/ERC165.json +1 -1
  18. package/build/contracts/ERC1820Implementer.json +1 -1
  19. package/build/contracts/ERC20.json +1 -1
  20. package/build/contracts/ERC20Burnable.json +1 -1
  21. package/build/contracts/ERC20Pausable.json +1 -1
  22. package/build/contracts/ERC20PresetMinterPauser.json +1 -1
  23. package/build/contracts/ERC20WithTokenInfo.json +36 -36
  24. package/build/contracts/ERC721.json +1 -1
  25. package/build/contracts/ERC777Helper.json +660 -660
  26. package/build/contracts/ERC777RecipientDrainingGas.json +855 -855
  27. package/build/contracts/ERC777RecipientReverting.json +855 -855
  28. package/build/contracts/EnumerableSet.json +1 -1
  29. package/build/contracts/ExclusiveInflowTestApp.json +1521 -1521
  30. package/build/contracts/FixedSizeData.json +405 -405
  31. package/build/contracts/FlowExchangeTestApp.json +1522 -1522
  32. package/build/contracts/FlowOperatorDefinitions.json +1138 -1138
  33. package/build/contracts/FullUpgradableSuperTokenProxy.json +113 -113
  34. package/build/contracts/IAccessControl.json +1 -1
  35. package/build/contracts/IAccessControlEnumerable.json +1 -1
  36. package/build/contracts/IConstantFlowAgreementV1.json +1036 -1036
  37. package/build/contracts/IDAv1Library.json +4183 -4183
  38. package/build/contracts/IERC165.json +1 -1
  39. package/build/contracts/IERC1820Implementer.json +1 -1
  40. package/build/contracts/IERC1820Registry.json +1 -1
  41. package/build/contracts/IERC20.json +1 -1
  42. package/build/contracts/IERC20Metadata.json +1 -1
  43. package/build/contracts/IERC721.json +1 -1
  44. package/build/contracts/IERC721Metadata.json +1 -1
  45. package/build/contracts/IERC721Receiver.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 +1182 -1182
  50. package/build/contracts/IMaticBridgedNativeSuperToken.json +110 -110
  51. package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +110 -110
  52. package/build/contracts/IMultiSigWallet.json +45 -45
  53. package/build/contracts/IPureSuperToken.json +69 -69
  54. package/build/contracts/IPureSuperTokenCustom.json +69 -69
  55. package/build/contracts/IRelayRecipient.json +49 -49
  56. package/build/contracts/IResolver.json +73 -73
  57. package/build/contracts/ISETH.json +79 -79
  58. package/build/contracts/ISETHCustom.json +79 -79
  59. package/build/contracts/ISuperAgreement.json +88 -88
  60. package/build/contracts/ISuperApp.json +351 -351
  61. package/build/contracts/ISuperToken.json +1008 -1008
  62. package/build/contracts/ISuperTokenFactory.json +280 -280
  63. package/build/contracts/ISuperfluid.json +1466 -1466
  64. package/build/contracts/ISuperfluidGovernance.json +404 -404
  65. package/build/contracts/ISuperfluidToken.json +774 -774
  66. package/build/contracts/ITOGAv1.json +1431 -1431
  67. package/build/contracts/ITOGAv2.json +1431 -1431
  68. package/build/contracts/Initializable.json +1 -1
  69. package/build/contracts/InstantDistributionAgreementV1.json +9343 -9343
  70. package/build/contracts/Int96SafeMath.json +504 -504
  71. package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +228 -228
  72. package/build/contracts/NonClosableOutflowTestApp.json +1522 -1522
  73. package/build/contracts/Ownable.json +1 -1
  74. package/build/contracts/Pausable.json +1 -1
  75. package/build/contracts/Proxy.json +1 -1
  76. package/build/contracts/PureSuperToken.json +106 -106
  77. package/build/contracts/Resolver.json +98 -98
  78. package/build/contracts/SETHProxy.json +224 -224
  79. package/build/contracts/SafeCast.json +1 -1
  80. package/build/contracts/SafeERC20.json +1 -1
  81. package/build/contracts/SafeMath.json +1 -1
  82. package/build/contracts/SelfDeletingFlowTestApp.json +1521 -1521
  83. package/build/contracts/SlotsBitmapLibrary.json +794 -794
  84. package/build/contracts/Strings.json +1 -1
  85. package/build/contracts/SuperAppBase.json +394 -394
  86. package/build/contracts/SuperAppDefinitions.json +1138 -1138
  87. package/build/contracts/SuperToken.json +2351 -2351
  88. package/build/contracts/SuperTokenFactory.json +731 -731
  89. package/build/contracts/SuperTokenFactoryBase.json +721 -721
  90. package/build/contracts/SuperTokenFactoryHelper.json +724 -724
  91. package/build/contracts/SuperUpgrader.json +437 -437
  92. package/build/contracts/Superfluid.json +9812 -10169
  93. package/build/contracts/SuperfluidFrameworkDeployer.json +535 -535
  94. package/build/contracts/SuperfluidGovernanceBase.json +3471 -3789
  95. package/build/contracts/SuperfluidGovernanceConfigs.json +1138 -1138
  96. package/build/contracts/SuperfluidGovernanceII.json +2097 -2347
  97. package/build/contracts/SuperfluidGovernanceIIProxy.json +214 -214
  98. package/build/contracts/SuperfluidLoader.json +207 -207
  99. package/build/contracts/SuperfluidToken.json +1345 -1345
  100. package/build/contracts/TOGA.json +1448 -1448
  101. package/build/contracts/TestGovernance.json +2195 -2445
  102. package/build/contracts/TestToken.json +94 -94
  103. package/build/contracts/TokenCustodian.json +214 -214
  104. package/build/contracts/TokenInfo.json +58 -58
  105. package/build/contracts/UInt128SafeMath.json +97 -97
  106. package/build/contracts/UUPSProxiable.json +132 -132
  107. package/build/contracts/UUPSProxy.json +81 -81
  108. package/build/contracts/UUPSUtils.json +37 -37
  109. package/build/contracts-sizes.txt +3 -4
  110. package/contracts/agreements/AgreementLibrary.sol +1 -0
  111. package/contracts/agreements/ConstantFlowAgreementV1.sol +71 -35
  112. package/contracts/agreements/InstantDistributionAgreementV1.sol +3 -2
  113. package/contracts/gov/SuperfluidGovernanceBase.sol +9 -26
  114. package/contracts/{agreements → libs}/SlotsBitmapLibrary.sol +1 -3
  115. package/contracts/mocks/SuperfluidMock.sol +2 -2
  116. package/contracts/superfluid/Superfluid.sol +5 -10
  117. package/package.json +2 -1
  118. 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-05-04T17:16:28.287Z",
4067
+ "updatedAt": "2022-05-06T12:43:05.276Z",
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-05-04T17:16:28.289Z",
1747
+ "updatedAt": "2022-05-06T12:43:05.279Z",
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-05-04T17:16:28.319Z",
3973
+ "updatedAt": "2022-05-06T12:43:05.308Z",
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
- 18193
132
+ 17949
133
133
  ],
134
134
  "UUPSProxiable": [
135
- 36268
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": 36269,
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": 36268,
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": 18194,
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": 18193,
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": 36268,
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": 18193,
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
- 18193,
244
- 36268,
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
- 36208
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": 18193,
424
+ "referencedDeclaration": 17949,
425
425
  "src": "582:15:34",
426
426
  "typeDescriptions": {
427
- "typeIdentifier": "t_type$_t_contract$_ISuperAgreement_$18193_$",
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_$18193",
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": 18175,
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
- 36202
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": 36261,
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-05-04T17:16:28.332Z",
802
+ "updatedAt": "2022-05-06T12:43:05.323Z",
803
803
  "devdoc": {
804
804
  "author": "Superfluid",
805
805
  "kind": "dev",