@superfluid-finance/ethereum-contracts 1.0.0-dev.0846cd5.0 → 1.0.0-dev.16594f6.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 (121) hide show
  1. package/build/contracts/AccessControl.json +1 -1
  2. package/build/contracts/Address.json +1 -1
  3. package/build/contracts/AgreementBase.json +37 -37
  4. package/build/contracts/AgreementLibrary.json +227 -227
  5. package/build/contracts/BaseRelayRecipient.json +112 -112
  6. package/build/contracts/BatchLiquidator.json +346 -346
  7. package/build/contracts/BatchOperation.json +820 -820
  8. package/build/contracts/CallUtils.json +317 -317
  9. package/build/contracts/ClosingOnUpdateFlowTestApp.json +2664 -2664
  10. package/build/contracts/ConstantFlowAgreementV1.json +867 -867
  11. package/build/contracts/Context.json +1 -1
  12. package/build/contracts/ContextDefinitions.json +820 -820
  13. package/build/contracts/Create2.json +1 -1
  14. package/build/contracts/CustomSuperTokenBase.json +36 -36
  15. package/build/contracts/ERC1820Implementer.json +1 -1
  16. package/build/contracts/ERC20.json +1 -1
  17. package/build/contracts/ERC20WithTokenInfo.json +46 -46
  18. package/build/contracts/ERC777Helper.json +710 -710
  19. package/build/contracts/ERC777RecipientDrainingGas.json +1603 -1603
  20. package/build/contracts/ERC777RecipientReverting.json +1603 -1603
  21. package/build/contracts/EnumerableSet.json +1 -1
  22. package/build/contracts/ExclusiveInflowTestApp.json +2664 -2664
  23. package/build/contracts/FixedSizeData.json +399 -399
  24. package/build/contracts/FlowExchangeTestApp.json +2665 -2665
  25. package/build/contracts/FullUpgradableSuperTokenProxy.json +212 -212
  26. package/build/contracts/IConstantFlowAgreementV1.json +514 -514
  27. package/build/contracts/IERC1820Implementer.json +1 -1
  28. package/build/contracts/IERC1820Registry.json +1 -1
  29. package/build/contracts/IERC20.json +1 -1
  30. package/build/contracts/IERC777.json +1 -1
  31. package/build/contracts/IERC777Recipient.json +1 -1
  32. package/build/contracts/IERC777Sender.json +1 -1
  33. package/build/contracts/IInstantDistributionAgreementV1.json +1120 -1120
  34. package/build/contracts/IMaticBridgedNativeSuperToken.json +132 -132
  35. package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +132 -132
  36. package/build/contracts/IMultiSigWallet.json +45 -45
  37. package/build/contracts/INativeSuperToken.json +122 -122
  38. package/build/contracts/INativeSuperTokenCustom.json +122 -122
  39. package/build/contracts/IRelayRecipient.json +53 -53
  40. package/build/contracts/IResolver.json +59 -59
  41. package/build/contracts/ISETH.json +302 -302
  42. package/build/contracts/ISETHCustom.json +302 -302
  43. package/build/contracts/ISuperAgreement.json +101 -101
  44. package/build/contracts/ISuperApp.json +344 -344
  45. package/build/contracts/ISuperToken.json +985 -985
  46. package/build/contracts/ISuperTokenFactory.json +252 -252
  47. package/build/contracts/ISuperfluid.json +1371 -1371
  48. package/build/contracts/ISuperfluidGovernance.json +371 -352
  49. package/build/contracts/ISuperfluidToken.json +710 -710
  50. package/build/contracts/ITOGAv1.json +2121 -2121
  51. package/build/contracts/IWETH.json +1100 -1100
  52. package/build/contracts/Initializable.json +1 -1
  53. package/build/contracts/InstantDistributionAgreementV1.json +725 -725
  54. package/build/contracts/Int96SafeMath.json +531 -531
  55. package/build/contracts/Math.json +1 -1
  56. package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +440 -440
  57. package/build/contracts/MultiFlowApp.json +3179 -3179
  58. package/build/contracts/NativeSuperTokenProxy.json +209 -209
  59. package/build/contracts/NonClosableOutflowTestApp.json +2665 -2665
  60. package/build/contracts/Ownable.json +1 -1
  61. package/build/contracts/Proxy.json +1 -1
  62. package/build/contracts/SETHProxy.json +1103 -1103
  63. package/build/contracts/SETHReceiveLogic.json +1103 -1103
  64. package/build/contracts/SafeCast.json +1 -1
  65. package/build/contracts/SafeERC20.json +1 -1
  66. package/build/contracts/SafeMath.json +1 -1
  67. package/build/contracts/SelfDeletingFlowTestApp.json +2664 -2664
  68. package/build/contracts/SignedSafeMath.json +1 -1
  69. package/build/contracts/SlotsBitmapLibrary.json +38 -38
  70. package/build/contracts/Strings.json +4735 -4735
  71. package/build/contracts/SuperAppBase.json +55 -55
  72. package/build/contracts/SuperAppDefinitions.json +820 -820
  73. package/build/contracts/SuperToken.json +4575 -4575
  74. package/build/contracts/SuperTokenFactory.json +1243 -1243
  75. package/build/contracts/SuperTokenFactoryBase.json +1239 -1239
  76. package/build/contracts/SuperTokenFactoryHelper.json +1241 -1241
  77. package/build/contracts/SuperUpgrader.json +863 -863
  78. package/build/contracts/Superfluid.json +8792 -8792
  79. package/build/contracts/SuperfluidGovernanceBase.json +4292 -3906
  80. package/build/contracts/SuperfluidGovernanceConfigs.json +820 -820
  81. package/build/contracts/SuperfluidGovernanceII.json +281 -281
  82. package/build/contracts/SuperfluidGovernanceIIProxy.json +255 -255
  83. package/build/contracts/SuperfluidLoader.json +375 -375
  84. package/build/contracts/SuperfluidOwnableGovernance.json +133 -133
  85. package/build/contracts/SuperfluidToken.json +2742 -2742
  86. package/build/contracts/TOGA.json +2127 -2127
  87. package/build/contracts/TestGovernance.json +432 -432
  88. package/build/contracts/TestResolver.json +178 -178
  89. package/build/contracts/TestToken.json +127 -127
  90. package/build/contracts/TokenInfo.json +63 -63
  91. package/build/contracts/UInt128SafeMath.json +183 -183
  92. package/build/contracts/UUPSProxiable.json +230 -230
  93. package/build/contracts/UUPSProxy.json +156 -156
  94. package/build/contracts/UUPSUtils.json +73 -73
  95. package/contracts/gov/SuperfluidGovernanceBase.sol +9 -7
  96. package/contracts/interfaces/superfluid/ISuperfluidGovernance.sol +2 -2
  97. package/package.json +2 -2
  98. package/scripts/deploy-erc1820.js +2 -2
  99. package/scripts/deploy-framework.js +2 -2
  100. package/scripts/deploy-matic-bridged-native-super-token.js +2 -2
  101. package/scripts/deploy-super-token.js +4 -5
  102. package/scripts/deploy-test-environment.js +4 -4
  103. package/scripts/deploy-test-token.js +3 -3
  104. package/scripts/deploy-unlisted-native-super-token.js +2 -2
  105. package/scripts/deploy-unlisted-super-token.js +1 -1
  106. package/scripts/gov-create-new-app-registration-key.js +1 -1
  107. package/scripts/gov-set-reward-address.js +1 -1
  108. package/scripts/gov-transfer-framework-ownership.js +2 -2
  109. package/scripts/gov-upgrade-super-token-logic.js +52 -37
  110. package/scripts/info-inspect-account.js +1 -1
  111. package/scripts/info-list-addresses.js +1 -1
  112. package/scripts/info-list-apps.js +1 -1
  113. package/scripts/info-print-contract-addresses.js +2 -2
  114. package/scripts/info-scan-deployments.js +1 -1
  115. package/scripts/info-show-protocol.js +13 -13
  116. package/scripts/libs/common.js +5 -5
  117. package/scripts/libs/truffleScriptRunnerFactory.js +1 -1
  118. package/scripts/resolver-list-super-token.js +1 -1
  119. package/scripts/resolver-register-token.js +3 -3
  120. package/scripts/resolver-reset-deployment.js +3 -3
  121. package/test/TestEnvironment.js +8 -13
@@ -7554,7 +7554,7 @@
7554
7554
  },
7555
7555
  "networks": {},
7556
7556
  "schemaVersion": "3.4.3",
7557
- "updatedAt": "2021-11-23T20:43:10.583Z",
7557
+ "updatedAt": "2021-12-01T17:31:54.928Z",
7558
7558
  "devdoc": {
7559
7559
  "details": "Contract module that allows children to implement role-based access control mechanisms. 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.",
7560
7560
  "events": {
@@ -8088,7 +8088,7 @@
8088
8088
  },
8089
8089
  "networks": {},
8090
8090
  "schemaVersion": "3.4.3",
8091
- "updatedAt": "2021-11-23T20:43:10.610Z",
8091
+ "updatedAt": "2021-12-01T17:31:54.960Z",
8092
8092
  "devdoc": {
8093
8093
  "details": "Collection of functions related to the address type",
8094
8094
  "kind": "dev",
@@ -136,10 +136,10 @@
136
136
  3571
137
137
  ],
138
138
  "ISuperAgreement": [
139
- 11921
139
+ 11937
140
140
  ],
141
141
  "UUPSProxiable": [
142
- 29150
142
+ 29167
143
143
  ]
144
144
  },
145
145
  "id": 3572,
@@ -162,7 +162,7 @@
162
162
  "id": 3518,
163
163
  "nodeType": "ImportDirective",
164
164
  "scope": 3572,
165
- "sourceUnit": 29151,
165
+ "sourceUnit": 29168,
166
166
  "src": "59:67:22",
167
167
  "symbolAliases": [
168
168
  {
@@ -184,7 +184,7 @@
184
184
  "id": 3520,
185
185
  "nodeType": "ImportDirective",
186
186
  "scope": 3572,
187
- "sourceUnit": 11922,
187
+ "sourceUnit": 11938,
188
188
  "src": "127:79:22",
189
189
  "symbolAliases": [
190
190
  {
@@ -208,10 +208,10 @@
208
208
  "id": 3521,
209
209
  "name": "UUPSProxiable",
210
210
  "nodeType": "UserDefinedTypeName",
211
- "referencedDeclaration": 29150,
211
+ "referencedDeclaration": 29167,
212
212
  "src": "248:13:22",
213
213
  "typeDescriptions": {
214
- "typeIdentifier": "t_contract$_UUPSProxiable_$29150",
214
+ "typeIdentifier": "t_contract$_UUPSProxiable_$29167",
215
215
  "typeString": "contract UUPSProxiable"
216
216
  }
217
217
  },
@@ -224,10 +224,10 @@
224
224
  "id": 3523,
225
225
  "name": "ISuperAgreement",
226
226
  "nodeType": "UserDefinedTypeName",
227
- "referencedDeclaration": 11921,
227
+ "referencedDeclaration": 11937,
228
228
  "src": "267:15:22",
229
229
  "typeDescriptions": {
230
- "typeIdentifier": "t_contract$_ISuperAgreement_$11921",
230
+ "typeIdentifier": "t_contract$_ISuperAgreement_$11937",
231
231
  "typeString": "contract ISuperAgreement"
232
232
  }
233
233
  },
@@ -238,16 +238,16 @@
238
238
  ],
239
239
  "contractDependencies": [
240
240
  1234,
241
- 11921,
242
- 29150
241
+ 11937,
242
+ 29167
243
243
  ],
244
244
  "contractKind": "contract",
245
245
  "fullyImplemented": false,
246
246
  "id": 3571,
247
247
  "linearizedBaseContracts": [
248
248
  3571,
249
- 11921,
250
- 29150,
249
+ 11937,
250
+ 29167,
251
251
  1234
252
252
  ],
253
253
  "name": "AgreementBase",
@@ -282,7 +282,7 @@
282
282
  },
283
283
  {
284
284
  "baseFunctions": [
285
- 11898
285
+ 11914
286
286
  ],
287
287
  "body": {
288
288
  "id": 3537,
@@ -399,7 +399,7 @@
399
399
  },
400
400
  {
401
401
  "baseFunctions": [
402
- 29100
402
+ 29117
403
403
  ],
404
404
  "body": {
405
405
  "id": 3550,
@@ -437,10 +437,10 @@
437
437
  "name": "ISuperAgreement",
438
438
  "nodeType": "Identifier",
439
439
  "overloadedDeclarations": [],
440
- "referencedDeclaration": 11921,
440
+ "referencedDeclaration": 11937,
441
441
  "src": "561:15:22",
442
442
  "typeDescriptions": {
443
- "typeIdentifier": "t_type$_t_contract$_ISuperAgreement_$11921_$",
443
+ "typeIdentifier": "t_type$_t_contract$_ISuperAgreement_$11937_$",
444
444
  "typeString": "type(contract ISuperAgreement)"
445
445
  }
446
446
  },
@@ -455,7 +455,7 @@
455
455
  "src": "561:21:22",
456
456
  "tryCall": false,
457
457
  "typeDescriptions": {
458
- "typeIdentifier": "t_contract$_ISuperAgreement_$11921",
458
+ "typeIdentifier": "t_contract$_ISuperAgreement_$11937",
459
459
  "typeString": "contract ISuperAgreement"
460
460
  }
461
461
  },
@@ -466,7 +466,7 @@
466
466
  "lValueRequested": false,
467
467
  "memberName": "agreementType",
468
468
  "nodeType": "MemberAccess",
469
- "referencedDeclaration": 11904,
469
+ "referencedDeclaration": 11920,
470
470
  "src": "561:35:22",
471
471
  "typeDescriptions": {
472
472
  "typeIdentifier": "t_function_external_view$__$returns$_t_bytes32_$",
@@ -555,7 +555,7 @@
555
555
  },
556
556
  {
557
557
  "baseFunctions": [
558
- 29094
558
+ 29111
559
559
  ],
560
560
  "body": {
561
561
  "id": 3569,
@@ -709,7 +709,7 @@
709
709
  "name": "_updateCodeAddress",
710
710
  "nodeType": "Identifier",
711
711
  "overloadedDeclarations": [],
712
- "referencedDeclaration": 29143,
712
+ "referencedDeclaration": 29160,
713
713
  "src": "765:18:22",
714
714
  "typeDescriptions": {
715
715
  "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
@@ -812,10 +812,10 @@
812
812
  3571
813
813
  ],
814
814
  "ISuperAgreement": [
815
- 11921
815
+ 11937
816
816
  ],
817
817
  "UUPSProxiable": [
818
- 29150
818
+ 29167
819
819
  ]
820
820
  },
821
821
  "license": "AGPLv3"
@@ -835,7 +835,7 @@
835
835
  },
836
836
  {
837
837
  "attributes": {
838
- "SourceUnit": 29151,
838
+ "SourceUnit": 29168,
839
839
  "absolutePath": "project:/contracts/upgradability/UUPSProxiable.sol",
840
840
  "file": "../upgradability/UUPSProxiable.sol",
841
841
  "scope": 3572,
@@ -862,7 +862,7 @@
862
862
  },
863
863
  {
864
864
  "attributes": {
865
- "SourceUnit": 11922,
865
+ "SourceUnit": 11938,
866
866
  "absolutePath": "project:/contracts/interfaces/superfluid/ISuperAgreement.sol",
867
867
  "file": "../interfaces/superfluid/ISuperAgreement.sol",
868
868
  "scope": 3572,
@@ -892,15 +892,15 @@
892
892
  "abstract": true,
893
893
  "contractDependencies": [
894
894
  1234,
895
- 11921,
896
- 29150
895
+ 11937,
896
+ 29167
897
897
  ],
898
898
  "contractKind": "contract",
899
899
  "fullyImplemented": false,
900
900
  "linearizedBaseContracts": [
901
901
  3571,
902
- 11921,
903
- 29150,
902
+ 11937,
903
+ 29167,
904
904
  1234
905
905
  ],
906
906
  "name": "AgreementBase",
@@ -913,7 +913,7 @@
913
913
  {
914
914
  "attributes": {
915
915
  "name": "UUPSProxiable",
916
- "referencedDeclaration": 29150,
916
+ "referencedDeclaration": 29167,
917
917
  "type": "contract UUPSProxiable"
918
918
  },
919
919
  "id": 3521,
@@ -931,7 +931,7 @@
931
931
  {
932
932
  "attributes": {
933
933
  "name": "ISuperAgreement",
934
- "referencedDeclaration": 11921,
934
+ "referencedDeclaration": 11937,
935
935
  "type": "contract ISuperAgreement"
936
936
  },
937
937
  "id": 3523,
@@ -973,7 +973,7 @@
973
973
  {
974
974
  "attributes": {
975
975
  "baseFunctions": [
976
- 11898
976
+ 11914
977
977
  ],
978
978
  "functionSelector": "8129fc1c",
979
979
  "implemented": true,
@@ -1117,7 +1117,7 @@
1117
1117
  {
1118
1118
  "attributes": {
1119
1119
  "baseFunctions": [
1120
- 29100
1120
+ 29117
1121
1121
  ],
1122
1122
  "functionSelector": "52d1902d",
1123
1123
  "implemented": true,
@@ -1222,7 +1222,7 @@
1222
1222
  "isPure": false,
1223
1223
  "lValueRequested": false,
1224
1224
  "member_name": "agreementType",
1225
- "referencedDeclaration": 11904,
1225
+ "referencedDeclaration": 11920,
1226
1226
  "type": "function () view external returns (bytes32)"
1227
1227
  },
1228
1228
  "children": [
@@ -1252,7 +1252,7 @@
1252
1252
  "overloadedDeclarations": [
1253
1253
  null
1254
1254
  ],
1255
- "referencedDeclaration": 11921,
1255
+ "referencedDeclaration": 11937,
1256
1256
  "type": "type(contract ISuperAgreement)",
1257
1257
  "value": "ISuperAgreement"
1258
1258
  },
@@ -1306,7 +1306,7 @@
1306
1306
  {
1307
1307
  "attributes": {
1308
1308
  "baseFunctions": [
1309
- 29094
1309
+ 29111
1310
1310
  ],
1311
1311
  "functionSelector": "46951954",
1312
1312
  "implemented": true,
@@ -1536,7 +1536,7 @@
1536
1536
  "overloadedDeclarations": [
1537
1537
  null
1538
1538
  ],
1539
- "referencedDeclaration": 29143,
1539
+ "referencedDeclaration": 29160,
1540
1540
  "type": "function (address)",
1541
1541
  "value": "_updateCodeAddress"
1542
1542
  },
@@ -1593,7 +1593,7 @@
1593
1593
  },
1594
1594
  "networks": {},
1595
1595
  "schemaVersion": "3.4.3",
1596
- "updatedAt": "2021-11-23T20:43:10.625Z",
1596
+ "updatedAt": "2021-12-01T17:31:54.977Z",
1597
1597
  "devdoc": {
1598
1598
  "kind": "dev",
1599
1599
  "methods": {